/* Acabamento da interface; não estiliza elementos da folha A4. */
.docs-app-body{--accent:#10283d;--primary-light:#f4eddf}
.docs-app-body .docs-content .btn-primary{background:#10283d;color:#fff}
.docs-app-body .docs-content .btn-secondary{background:#fcfbf8;color:#10283d;border-color:#dedbd5}
.docs-app-body .docs-content :is(.sidebar-panel,.editor-toolbar,.auditor-panel){background:#fcfbf8;border-color:#dedbd5}
.docs-app-body .docs-content .sidebar-panel{padding:12px}
.docs-app-body .docs-content :is(.tool-btn,.btn):not(.a4-sheet *){border-radius:8px;font-weight:600}
.docs-app-body .docs-content .tool-btn:not(.a4-sheet *){color:#10283d;border-color:#dedbd5;background:#fcfbf8}
.docs-app-body .docs-content .tool-btn:not(.a4-sheet *):hover{background:#f4eddf}
.docs-app-body .docs-content :is(.tool-select,.input-field,.form-control,.form-select):not(.a4-sheet *){color:#18212b;border:1px solid #dedbd5;border-radius:8px;min-height:34px;padding:5px 8px;font-size:14px;background:#fcfbf8}
.docs-app-body .docs-content>.docs-operational-page .docs-operational-table{width:100%;border-collapse:collapse;font-size:12px;background:#fffefa88}
.docs-operational-page .docs-table-scroll{overflow-x:auto;border:1px solid #ded4c3;border-radius:12px}
.docs-operational-page .docs-operational-table :is(th,td){padding:6px 10px;border-bottom:1px solid #e5ddcf;color:#10283d;line-height:1.3}
.docs-operational-page .docs-operational-table th{background:#f4eddf;font-size:11px;font-weight:600;text-align:left}
.docs-operational-page .docs-operational-table tr:last-child td{border-bottom:0}
.docs-operational-page .docs-category{display:inline-block;padding:3px 7px;border:1px solid #ded4c3;border-radius:12px;background:#f4eddf;color:#10283d;font-size:11px}
.docs-operational-page .card{background:#fcfbf8;border:1px solid #dedbd5;border-radius:12px;padding:12px;margin-top:14px}
.docs-operational-page .tool-btn{display:inline-flex;font-size:12px;line-height:20px;min-height:28px;padding:3px 8px}
@media(max-width:700px){.docs-operational-page .docs-page-toolbar{flex-wrap:wrap}.docs-operational-page .docs-page-toolbar input{order:2;flex:1 1 100%;min-width:0;max-width:none}.docs-operational-page .docs-page-toolbar select{flex:1;min-width:140px;max-width:none}}
@media(max-width:700px){.docs-operational-table{min-width:600px}.docs-app-body .docs-content :is(.tool-select,.input-field,.form-control,.form-select):not(.a4-sheet *){min-height:40px}}
@media(forced-colors:active){.docs-app-body .docs-content :is(.sidebar-panel,.editor-toolbar,.auditor-panel,.tool-btn,.btn,.tool-select,.input-field,.form-control,.form-select):not(.a4-sheet *){background:Canvas;color:CanvasText;border-color:CanvasText}.docs-operational-page .docs-operational-table :is(th,td),.docs-operational-page .docs-category{background:Canvas;color:CanvasText;border-color:CanvasText}}
.docs-cadastro-page{width:100%;min-width:0}.docs-cadastro-page .calc-table-scroll{width:100%;overflow-x:auto;border:1px solid var(--border-color);border-radius:12px}.docs-cadastro-page .data-table{width:100%;border-collapse:collapse;font-size:13px}.docs-cadastro-page .data-table :is(th,td){text-align:left;padding:8px 10px;border-bottom:1px solid var(--border-color)}.docs-cadastro-page .data-table th{background:#f4eddf}.registro-icons{white-space:nowrap}.pj-icon-button{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;width:32px;height:32px;padding:4px;border:0;background:transparent;color:inherit;cursor:pointer}.pj-icon-button svg{width:24px;height:24px}.calc-pagination{display:flex;align-items:center;gap:12px;margin-top:12px}.vinculados-heading{display:flex;align-items:center;gap:14px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid var(--border-color)}.vinculados-heading>a{display:grid;place-items:center;flex:none;width:42px;height:42px;color:inherit}.vinculados-heading h1,.docs-page-heading h1{font-size:30px;line-height:1.2}.docs-page-toolbar{display:flex;align-items:center;gap:12px;margin:12px 0}.docs-page-toolbar input{flex:1;max-width:600px;width:100%}.docs-page-toolbar select{max-width:180px}.docs-operational-page .registro-icons .pj-icon-button{padding:4px;min-height:32px}.docs-operational-page .registro-icons{white-space:nowrap}
@media(forced-colors:active){.docs-cadastro-page .data-table th{background:Canvas;color:CanvasText}}
.pj-calculo-consulta{width:min(1000px,calc(100vw - 24px));max-height:90dvh;margin:auto;padding:20px;border:1px solid var(--border-color);background:var(--bg-card);color:var(--text-main);overflow:auto}.pj-calculo-consulta::backdrop{background:#10283d66}.pj-calculo-consulta section{margin:16px 0}.pj-calculo-consulta table{width:100%;border-collapse:collapse}.pj-calculo-consulta :is(th,td){border:1px solid var(--border-color);padding:5px}.pj-calculo-consulta>button{position:sticky;top:0}.docs-page-toolbar [hidden],[data-modelo-nome][hidden]{display:none}

/* Títulos e histórico: o editor conserva sua preparação e seus estilos. */
.docs-content:not([data-editor-page]) :is(.docs-page-heading,.calc-heading,.vinculados-heading,.identity-page>header) { margin:0 0 12px; padding:0; background:none; border:0; border-radius:0; box-shadow:none; text-align:left; }
.docs-content:not([data-editor-page]) :is(.docs-page-heading,.calc-heading,.vinculados-heading,.identity-page>header) h1 { font:600 30px/1.1 "Aptos","Segoe UI",sans-serif; letter-spacing:-.5px; text-transform:none; }
.docs-content:not([data-editor-page]) :is(.docs-page-heading,.calc-heading,.vinculados-heading,.identity-page>header) p { margin:5px 0 0; line-height:1.4; }
.docs-history-page .docs-history-table { table-layout:fixed; min-width:640px; color:#10283D; font-size:12px; line-height:1.4; background:#FCFBF8; }
.docs-history-page .docs-history-table :is(th,td) { padding:6px 9px; border-bottom:1px solid #DFD1BD; overflow-wrap:anywhere; }
.docs-history-page .docs-history-table th { background:#F2EDE5; font-size:11px; font-weight:700; }
.docs-history-table :is(th,td):first-child { width:130px; }.docs-history-table :is(th,td):nth-child(2) { width:120px; }.docs-history-table :is(th,td):nth-child(3) { width:100px; }.docs-history-table :is(th,td):last-child { width:64px; text-align:center; }
.docs-history-description { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.docs-history-description:is(:hover,:focus) { white-space:normal; }
.docs-history-page .pj-icon-button { border:1px solid #DFD1BD; background:#F6F3EC; border-radius:50%; color:#10283D; width:30px; height:30px; }
.docs-history-page .pj-icon-button svg { width:20px; height:20px; }
@media(forced-colors:active) { .docs-history-page .docs-history-table,.docs-history-page .docs-history-table :is(th,td),.docs-history-page .pj-icon-button { background:Canvas; color:CanvasText; border-color:CanvasText; } }

.docs-back-navigation { margin-bottom:8px; }.docs-back-navigation a { display:inline-flex; align-items:center; color:inherit; }
