:root{--ink:#17253a;--muted:#65758b;--blue:#225dd7;--blue-dark:#1745ac;--navy:#112a4b;--bg:#f5f7fb;--border:#dfe6f0;--white:#fff;--teal:#067f6d;--red:#b53948;--amber:#a66b0f;--shadow:0 5px 22px rgba(24,48,82,.052)}
*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink)}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}button:focus-visible,input:focus-visible,select:focus-visible,.drop-zone:focus-visible{outline:3px solid #8fb2ff;outline-offset:2px}header{height:76px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,2.7vw,50px);gap:14px}.brand{display:flex;align-items:center;gap:12px}.brand-symbol{width:42px;height:42px;border-radius:12px;background:#eaf0fe;display:grid;place-items:center}.brand-symbol svg{width:26px}.brand-name{font-size:17px;font-weight:800;letter-spacing:-.45px}.brand-detail{color:var(--muted);font-size:12px;margin-top:3px}.header-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.local-tag,.v-tag{display:flex;align-items:center;gap:6px;border:1px solid #d3e7dc;color:#1a7855;background:#f2fbf5;border-radius:99px;padding:7px 11px;font-size:12px;font-weight:650}.v-tag{border-color:#e2e7f1;background:#f6f8fb;color:#718094}.dot{width:7px;height:7px;background:#32a979;border-radius:100%}.shell{max-width:1700px;margin:0 auto;padding:30px clamp(16px,2.7vw,50px) 50px}.intro{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{color:var(--blue);font-size:11px;font-weight:800;letter-spacing:1.7px;text-transform:uppercase}.intro h1{font-size:clamp(25px,2.4vw,36px);letter-spacing:-1.35px;margin:9px 0 8px;line-height:1.12;font-weight:800}.subtitle{color:var(--muted);font-size:14px;line-height:1.55;margin:0}.intro-badge{background:#eaf1ff;color:#1e58cd;padding:10px 14px;border-radius:12px;font-size:12px;font-weight:650;border:1px solid #dbe7fc;white-space:nowrap}.upload-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;padding:18px;background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);margin-bottom:23px}.drop-zone{display:flex;gap:16px;align-items:center;min-height:82px;padding:14px 19px;border:1.5px dashed #aabfe0;background:#f9fbff;border-radius:12px;transition:.18s;cursor:pointer}.drop-zone:hover,.drop-zone.dragging{border-color:#477cdf;background:#eff5ff}.upload-icon{flex:0 0 48px;width:48px;height:48px;display:grid;place-items:center;background:#eaf0ff;color:#3265d3;border-radius:11px}.upload-title{font-size:14px;font-weight:750;margin:0 0 5px}.upload-sub{font-size:12px;color:var(--muted);margin:0;line-height:1.5}.upload-commands{display:flex;gap:10px;align-items:center}.btn{border-radius:9px;padding:11px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:760;white-space:nowrap;border:1px solid transparent;min-height:40px}.btn-primary{background:var(--blue);color:white;box-shadow:0 2px 6px rgba(34,93,215,.15)}.btn-primary:hover:not(:disabled){background:var(--blue-dark)}.btn-secondary{background:#fff;border-color:#d7dfeb;color:#32455d}.btn-secondary:hover:not(:disabled){background:#f5f8fd}.btn-ghost{background:#eef3fb;border-color:transparent;color:#2859a8}.btn svg{width:15px;height:15px}.notice{padding:13px 16px;margin-bottom:20px;border:1px solid #cfe0fa;border-radius:11px;background:#f0f6ff;color:#29558a;font-size:12px;line-height:1.5}.notice.warning{border-color:#f3d9aa;background:#fffbf1;color:#885a10}.notice.error{border-color:#f2bcc5;background:#fff5f5;color:#963745}.notice.success{border-color:#c9e9dc;background:#f4fcf8;color:#177557}.progress-holder{margin:-12px 0 20px}.progress-row{display:flex;justify-content:space-between;color:#45617e;font-size:12px;margin-bottom:8px}.progress-track{background:#e4eafa;border-radius:99px;height:7px;overflow:hidden}.progress-fill{background:#4474dd;width:0;height:100%;transition:width .2s}.workspace{display:grid;grid-template-columns:315px minmax(0,1fr);gap:22px;align-items:start}.panel{border:1px solid var(--border);background:#fff;border-radius:16px;box-shadow:var(--shadow)}.sidebar{overflow:hidden;position:sticky;top:16px}.sidebar-top{padding:20px;border-bottom:1px solid var(--border)}.panel-heading{font-size:14px;font-weight:800;letter-spacing:-.15px;margin:0}.heading-sub{margin-top:5px;font-size:12px;color:var(--muted)}.search-wrap{margin-top:17px;position:relative}.search-wrap svg{width:16px;height:16px;position:absolute;top:12px;left:12px;color:#8190a7}.search-wrap input{width:100%;height:41px;padding:0 12px 0 37px;border:1px solid #d6deea;border-radius:9px;color:var(--ink);font-size:12px;outline:none;background:#fbfcfe}.roster{max-height:600px;overflow:auto;padding:8px}.person{width:100%;border:1px solid transparent;background:transparent;text-align:left;padding:12px 11px;border-radius:10px;margin-bottom:3px;display:flex;align-items:center;gap:10px}.person:hover{background:#f6f8fd}.person.active{background:#edf3ff;border-color:#d1e0ff}.avatar{width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:#e8edf7;color:#385a87;font-weight:750;display:grid;place-items:center;font-size:12px}.person.active .avatar{background:#d8e5ff;color:#2259c8}.person-main{min-width:0;flex:1}.person-name{font-size:12px;font-weight:730;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.person-info{color:#77869a;margin-top:4px;font-size:11px}.person-amount{color:#0a806e;font-weight:750;font-size:11px;margin-top:4px}.roster-empty{padding:30px 18px;color:var(--muted);font-size:12px;text-align:center;line-height:1.6}.sidebar-foot{border-top:1px solid var(--border);padding:14px 18px;font-size:11px;color:#718096;background:#fafcff}.main-panel{min-height:525px;padding:25px}.empty-state{min-height:448px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 24px}.empty-image{width:84px;height:84px;background:#ecf2ff;display:grid;place-items:center;border-radius:25px;margin-bottom:21px;color:#3268d0}.empty-image svg{width:36px;height:36px}.empty-state h2{font-size:19px;letter-spacing:-.6px;margin:0 0 7px}.empty-state p{color:var(--muted);font-size:13px;line-height:1.6;max-width:440px;margin:0}.employee-top{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:22px}.small-overline{color:#6882b2;font-size:10px;font-weight:820;letter-spacing:1.3px;text-transform:uppercase;margin-bottom:7px}.employee-title{font-size:24px;line-height:1.2;font-weight:820;letter-spacing:-.7px;margin:0 0 11px}.employee-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.meta-pill{font-size:11px;padding:6px 9px;border-radius:7px;background:#f3f6fb;color:#586a83;border:1px solid #e9edf4}.employee-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.kpi{border:1px solid #e2e8f1;background:#fcfdff;border-radius:12px;padding:15px 16px;min-width:0}.kpi-top{font-size:11px;color:var(--muted);font-weight:650;margin-bottom:11px}.kpi-value{font-size:clamp(17px,1.65vw,24px);font-weight:815;letter-spacing:-.7px;white-space:nowrap}.kpi-bottom{font-size:11px;color:#8b98a9;margin-top:7px}.kpi.emph{background:#f2fbf8;border-color:#d3eae2}.kpi.emph .kpi-value{color:#087b68}.tabs{display:flex;gap:22px;border-bottom:1px solid var(--border);margin:8px 0 18px;overflow-x:auto}.tab{background:none;border:0;border-bottom:3px solid transparent;padding:12px 2px;font-size:12px;font-weight:750;color:#738198;white-space:nowrap}.tab.active{color:var(--blue);border-color:var(--blue)}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.table-label{font-size:13px;font-weight:800}.table-count{font-size:11px;color:#7d8da2;margin-left:6px}.table-filters{display:flex;gap:9px;flex-wrap:wrap}select,.mini-search{border:1px solid #dce3ed;border-radius:8px;padding:9px 10px;background:white;color:#50617a;font-size:11px;min-height:35px;max-width:215px}.table-scroll{width:100%;overflow-x:auto;border:1px solid #e2e8f1;border-radius:10px}.data-table{border-collapse:collapse;width:100%;min-width:850px;font-size:11px;line-height:1.35}.data-table th{padding:13px 12px;text-align:left;font-size:10px;letter-spacing:.18px;font-weight:800;background:#f4f7fb;color:#566a83;white-space:nowrap;border-bottom:1px solid #e2e8f1}.data-table td{padding:12px;border-bottom:1px solid #edf1f6;vertical-align:top}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fbfcff}.data-table .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.data-table .code{font-weight:800;color:#315f9f}.data-table .origin{min-width:145px}.positive{color:#087f6e;font-weight:750}.negative{color:#b6384c;font-weight:750}.flag{display:inline-block;font-weight:750;font-size:10px;padding:4px 7px;border-radius:6px}.flag.yes{background:#e6f7ee;color:#13744a}.flag.no{background:#fff1ed;color:#bd5944}.flag.na{background:#f1f3f7;color:#8993a1}.info-bar{display:flex;align-items:center;gap:9px;background:#f6f9ff;color:#587196;padding:12px 13px;font-size:11px;line-height:1.5;border-radius:9px;margin-top:13px}.table-footer{padding:14px 13px;background:#f8fafd;border-top:1px solid #e1e8f3;display:flex;justify-content:space-between;gap:10px;color:#566b84;font-size:12px;font-weight:720}.section-note{background:#f4f8ff;border:1px solid #e1eaff;padding:13px 15px;border-radius:9px;color:#5c7190;font-size:12px;line-height:1.55;margin:5px 0 19px}.section-heading{font-size:14px;margin:18px 0 10px;font-weight:800}.audit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:17px}.audit-stat{border:1px solid #e2e8f1;border-radius:10px;padding:15px}.audit-stat b{font-size:24px;letter-spacing:-.5px;display:block;margin:5px 0}.audit-stat span{font-size:11px;color:#7b8ba1}.audit-row{display:flex;justify-content:space-between;gap:13px;padding:12px 2px;border-bottom:1px solid #e9edf4;font-size:12px;line-height:1.5}.audit-row .status-good{color:#137e61;font-weight:800}.audit-row .status-warn{color:#a0660c;font-weight:800}.audit-row .status-bad{color:#b8384f;font-weight:800}.audit-text{color:#64768d}.note-block{margin:20px 0 0;padding:14px;background:#fffbf2;border:1px solid #f1e5ca;border-radius:9px;color:#8f6d2c;font-size:11px;line-height:1.6}.footer{font-size:11px;color:#8290a4;display:flex;justify-content:space-between;gap:18px;margin-top:23px;line-height:1.5}.hidden{display:none!important}@media(max-width:1180px){.workspace{grid-template-columns:260px minmax(0,1fr)}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-top{flex-wrap:wrap}}@media(max-width:800px){header{height:auto;padding:15px 18px}.header-meta{display:none}.shell{padding:23px 14px}.intro{display:block}.intro-badge{display:none}.upload-panel{grid-template-columns:1fr}.upload-commands{justify-content:stretch}.upload-commands .btn{flex:1}.workspace{grid-template-columns:1fr}.sidebar{position:static}.roster{max-height:270px}.main-panel{padding:17px}.employee-title{font-size:21px}.audit-grid{grid-template-columns:1fr}.footer{display:block}}@media(max-width:460px){.kpis{grid-template-columns:1fr 1fr;gap:9px}.kpi{padding:12px}.kpi-value{font-size:17px}.employee-actions{width:100%;justify-content:stretch}.employee-actions .btn{flex:1}.drop-zone{padding:11px}.upload-icon{display:none}}@media print{body{background:white}header,.intro,.upload-panel,.sidebar,.employee-actions,.tabs,.table-filters,.footer,.notice,.progress-holder,.info-bar,.print-hide{display:none!important}.shell{padding:0;max-width:none}.workspace{display:block}.main-panel{border:0;box-shadow:none;padding:0}.table-scroll{overflow:visible}.data-table{min-width:0;font-size:8px}.data-table th,.data-table td{padding:6px}.kpi{break-inside:avoid}.data-table tr{break-inside:avoid}@page{size:A3 landscape;margin:12mm}}
/* Constrain wide tables to a scrollable viewport on narrow devices. */
.workspace,.sidebar,.main-panel,.table-scroll{min-width:0}
@media(max-width:800px){.workspace{grid-template-columns:minmax(0,1fr)}.table-scroll{max-width:100%}.table-toolbar{align-items:flex-start}.table-filters{max-width:100%}}

/* v1.1: mostrar linhas não pagas sem contá-las */
.data-table tbody tr.unpaid-row{background:#fff7f4}
.data-table tbody tr.unpaid-row td:not(:first-child){color:#6e6f7f}
.data-table tbody tr.unpaid-row td .flag.no{font-weight:800}

/* v1.2 — controles de seleção, tabelas e painel WIDE */
.data-table th{background:#245aa8;color:#fff;border-bottom:1px solid #1a4889;position:sticky;top:0;z-index:2}
.data-table tbody tr:nth-child(even):not(.unpaid-row){background:#f7faff}
.data-table tbody tr:hover{background:#edf4ff!important}
.table-scroll{max-height:580px;overflow:auto}
.selected-kpi{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(105deg,#ebf3ff,#f9fcff);border-color:#bfd6ff}
.selected-amount{font-size:clamp(23px,2.5vw,34px);font-weight:850;color:#154b9e;letter-spacing:-1px}
.selected-codes{display:flex;flex-wrap:wrap;gap:6px;max-width:51%;justify-content:flex-end}
.code-pill{font-size:12px;font-weight:800;background:#e0eaff;color:#24569e;border:1px solid #c9dafa;border-radius:6px;padding:6px 10px}
.code-pill.extra{color:#8a4d0c;background:#fff1dc;border-color:#f4d3a0}
.extras-panel{border:1px solid #d8e5f7;border-radius:12px;padding:16px 19px;background:#fbfdff;margin:0 0 19px}
.extras-head{display:flex;justify-content:space-between;align-items:center;gap:18px}
.extras-head b{font-size:13px;color:#264769}
.extras-head p{font-size:11px;color:#7890a5;margin:5px 0 0;line-height:1.5}
.toggle-control{display:flex;align-items:center;gap:9px;cursor:pointer;white-space:nowrap}
.toggle-control input{position:absolute;width:1px;height:1px;opacity:0}
.toggle-track{display:inline-block;width:46px;height:26px;background:#a4b2c5;border-radius:99px;position:relative;transition:background .2s}
.toggle-track:before{content:'';position:absolute;width:20px;height:20px;background:white;top:3px;left:3px;border-radius:50%;box-shadow:0 1px 4px #0002;transition:transform .2s}
.toggle-control input:checked+.toggle-track{background:#2463c6}
.toggle-control input:checked+.toggle-track:before{transform:translateX(20px)}
.toggle-control input:focus-visible+.toggle-track{outline:3px solid #90b9fd;outline-offset:2px}
.toggle-word{font-size:11px;font-weight:700;color:#4d6685}
.extras-editor{margin-top:15px;padding-top:14px;border-top:1px dashed #d5e2f2}
.extras-input{display:flex;gap:10px}
.extras-input input{min-width:110px;max-width:430px;flex:1;padding:10px 13px;border:1px solid #cdd9eb;border-radius:9px;font-size:12px;background:white}
.extra-chip-list{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:11px}
.extra-chip{background:#fff2dd;border:1px solid #f0d0a0;border-radius:7px;color:#925508;font-weight:750;padding:7px 10px;font-size:12px}
.extra-chip span{margin-left:6px}
.extra-empty{font-size:11px;color:#8a9eb4}
.selected-breakdown{margin-bottom:18px;max-height:380px}
.data-table tfoot td{background:#deebfe;color:#174586;font-size:11px;font-weight:850;padding:12px}
.employee-actions .btn{padding:9px 12px;font-size:11px}
@media(max-width:800px){.selected-kpi,.extras-head{flex-direction:column;align-items:flex-start}.selected-codes{max-width:100%;justify-content:flex-start}.toggle-control{align-self:flex-start}}
@media(max-width:470px){.extras-input{flex-wrap:wrap}.extras-input .btn{width:100%}.employee-actions .btn{flex-basis:46%}}
/* v1.3 — central única de exportação, seleção discreta e auditoria 141 */
.card-tools{display:flex;align-items:center;gap:18px;justify-content:flex-end;position:relative;flex-wrap:wrap}
.info-button{list-style:none;display:grid;place-items:center;height:30px;width:30px;border:1.5px solid #2462b7;border-radius:50%;font:800 16px/1 Georgia,serif;color:#2157a4;background:white;cursor:pointer;user-select:none}
.info-button::-webkit-details-marker{display:none}
.selection-popover{position:relative}
.selection-popover-body{position:absolute;z-index:30;top:42px;right:-45px;width:min(345px,85vw);background:#fff;border:1px solid #c8d6e9;box-shadow:0 18px 42px #1239632c;border-radius:12px;padding:18px;text-align:left;color:#31435d}
.selection-popover-body:before{content:'';position:absolute;top:-8px;right:53px;width:14px;height:14px;background:white;border-top:1px solid #c8d6e9;border-left:1px solid #c8d6e9;transform:rotate(45deg)}
.selection-popover-body b{font-size:13px}.selection-popover-body p{color:#63778f;font-size:11px;line-height:1.5;margin:7px 0 13px}
.code-choice-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.code-choice{min-height:39px;background:#f7f9fd;border:1px solid #d7e1f0;border-radius:7px;color:#77879d;font-weight:800;display:flex;align-items:center;justify-content:space-around;font-size:12px}
.code-choice.on{background:#e7f0ff;color:#1954a4;border-color:#91b8ed}.code-choice span{font-size:15px}
.code-choice:focus-visible,.info-button:focus-visible{outline:3px solid #84b8ff;outline-offset:2px}
.selection-popover-footer{font-size:10px;color:#718398;margin-top:13px;text-align:right}
.selected-kpi{align-items:center}.selected-kpi .card-tools{margin-left:auto}
.selected-kpi .toggle-word{font-size:12px}.selected-kpi .toggle-control{padding:7px 10px;background:#fff;border:1px solid #d0deef;border-radius:25px}
.extras-panel.compact{margin-top:-8px}.extras-panel.compact .extras-editor{border-top:0;padding-top:3px;margin-top:7px}
.extra-suggestion{font-size:11px;line-height:2;color:#5c7391;margin:14px 0 0}
.subtle-add{font-size:11px;font-weight:730;color:#245aa8;background:#eaf2ff;border:1px solid #c5dafa;border-radius:6px;padding:5px 8px;margin:2px;white-space:nowrap}
.subtle-add:hover{background:#daeaff}
.audit-141{border:1px solid #cbdcf4;border-radius:12px;overflow:hidden;margin:18px 0;background:#fff}
.audit-141-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;background:#edf4ff;padding:16px 18px}
.audit-141-head h3{font-size:16px;margin:3px 0 6px;color:#173e75}.audit-141-head span{font-size:11px;color:#617b9d;line-height:1.5}
.audit-141-state{white-space:nowrap;border-radius:40px;padding:7px 10px;font-weight:800!important}
.audit-141-state.good{color:#10705b;background:#dff7ee}.audit-141-state.bad{color:#ac3349;background:#ffe5ec}.audit-141-state.warn{color:#87550f;background:#fff3da}
.audit-141-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:16px 18px}
.audit-141-metrics div{border:1px solid #e2ebf6;padding:12px 13px;border-radius:9px;background:#fcfdff}
.audit-141-metrics span{display:block;font-size:10px;color:#697e97;margin-bottom:8px}
.audit-141-metrics strong{color:#214c88;font-size:clamp(13px,1.4vw,19px)}
.audit-141-hint{margin:0 18px 12px;color:#718398;font-size:10.5px}
.audit-141 .table-scroll{margin:0 15px 15px;width:auto;max-height:390px}
.modal-overlay{position:fixed;inset:0;background:#081d3a8c;display:grid;place-items:center;z-index:1000;padding:22px}
.download-dialog{width:min(580px,100%);background:#fff;border-radius:17px;box-shadow:0 30px 90px #07193966;overflow:hidden;max-height:95vh;overflow-y:auto}
.modal-top{background:#f1f6ff;display:flex;justify-content:space-between;align-items:flex-start;padding:25px 25px 20px;gap:14px;border-bottom:1px solid #dfe9f8}
.modal-top h2{font-size:21px;letter-spacing:-.5px;margin:4px 0 6px}.modal-top p{font-size:12px;color:#71849e;margin:0;line-height:1.5}
.modal-close{width:34px;height:34px;border:1px solid #d6e2f3;border-radius:9px;background:#fff;font-size:23px;line-height:1;color:#627995}
.download-options{display:grid;gap:10px;padding:22px 24px}
.download-option{border:1px solid #dce6f4;background:#fff;display:flex;gap:13px;align-items:center;border-radius:12px;padding:13px;text-align:left;width:100%;color:#1c3355}
.download-option:hover,.download-option:focus-visible{background:#f1f7ff;border-color:#83abdf}
.download-option>span:nth-child(2){flex:1;min-width:0}.download-option b{font-size:13px;display:block;margin-bottom:5px}.download-option small{font-size:11px;color:#74869f;line-height:1.4;display:block}
.download-icon{background:#235fae;color:white;border-radius:9px;width:51px;height:47px;display:grid;place-items:center;font-size:12px;font-weight:850;flex-shrink:0}
.download-icon.excel{background:#157654}.download-arrow{font-size:24px;color:#366fb8}.modal-footer-note{border-top:1px solid #edf0f6;font-size:10.5px;color:#7085a1;padding:13px 24px;background:#fbfcfe;line-height:1.5}
@media(max-width:1050px){.audit-141-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.selected-kpi{align-items:stretch}.selected-kpi .card-tools{width:100%;margin-left:0;justify-content:space-between}.selection-popover-body{right:auto;left:0}.selection-popover-body:before{left:9px;right:auto}.audit-141-head{flex-wrap:wrap}.audit-141-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* v1.4 — densidade WIDE e resultado em primeiro plano */
.shell{max-width:none;width:100%;padding:18px clamp(13px,1.4vw,27px) 34px}
.intro{margin-bottom:13px;align-items:center}.intro h1{font-size:clamp(21px,1.8vw,29px);margin:5px 0}.intro .subtitle{font-size:12px}
.upload-panel{padding:10px 13px;margin-bottom:12px;gap:12px}.drop-zone{min-height:64px;padding:8px 12px}.upload-icon{width:40px;height:40px;flex-basis:40px}.upload-title{margin-bottom:2px}
.workspace{grid-template-columns:minmax(205px,235px) minmax(0,1fr);gap:12px}.sidebar-top{padding:14px}.roster{max-height:calc(100vh - 280px)}.person{padding:9px 8px;gap:7px}.avatar{width:30px;height:30px;flex-basis:30px}.sidebar-foot{padding:11px}
.main-panel{padding:17px;min-height:480px}.employee-top{margin-bottom:12px;align-items:center}.employee-title{font-size:22px;margin-bottom:7px}.kpis{gap:9px;margin-bottom:11px}.kpi{padding:12px 13px}.kpi-top{margin-bottom:6px}.kpi-value{font-size:clamp(16px,1.6vw,24px)}.kpi-bottom{font-size:10px;margin-top:4px}
.selection-strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;border:1px solid #cbdcf5;background:#f4f8ff;border-radius:10px;gap:10px;padding:9px 14px;margin-bottom:14px;position:relative}
.selection-strip-total{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap}.selection-strip-total span{font-size:11px;font-weight:750;color:#4c6890}.selection-strip-total b{font-size:19px;color:#1e54a5;font-weight:850}.selection-strip-total small{font-size:10px;color:#7e90a7}
.selection-strip-controls{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-left:auto}.selection-strip .toggle-control{display:inline-flex;align-items:center;padding:5px 8px;border:1px solid #d4e0f0;border-radius:40px;background:white;gap:7px}.selection-strip .toggle-track{width:36px;height:20px}.selection-strip .toggle-track:before{height:14px;width:14px;top:3px;left:3px}.selection-strip .toggle-control input:checked+.toggle-track:before{transform:translateX(16px)}.selection-strip .toggle-word{font-size:10.5px}.selection-strip .info-button{height:27px;width:27px;font-size:14px}
.selection-strip .selection-popover-body{right:0;top:39px;width:min(390px,88vw)}.selection-strip .selection-popover-body:before{right:7px}.selection-strip .extras-editor.inside{flex-basis:100%;margin:1px 0 0;padding:8px 0 1px;border-top:1px dashed #d8e3f2}.selection-strip .extra-chip-list{margin-top:7px}.selection-strip .extras-input input{padding:7px 10px}.selection-strip .extras-input .btn{min-height:34px;padding:7px 12px}.selection-strip .extra-chip{padding:4px 7px;font-size:10px}.pending-hint{margin-top:11px;padding:9px;background:#fff8eb;border:1px solid #f4ddb8;border-radius:7px;font-size:10px;line-height:1.5;color:#785618}
.all-person{border-bottom:1px solid #e1e8f4!important;margin-bottom:6px}.all-avatar{font-size:18px;background:#dfeaff;color:#2854a5}.employee-cell{max-width:220px;min-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.data-table{min-width:950px}.data-table td{padding:9px 10px}.data-table th{padding:10px}.table-scroll{max-height:calc(100vh - 350px);min-height:140px}.tabs{margin:4px 0 12px;gap:19px}.tab{padding:10px 1px}.table-toolbar{margin-bottom:10px}.section-note{padding:9px 11px;margin-bottom:10px}.info-bar{font-size:10px}
@media(max-width:920px){.workspace{grid-template-columns:210px minmax(0,1fr)}.selection-strip{align-items:flex-start}.selection-strip-controls{margin-left:0}}
@media(max-width:750px){.workspace{grid-template-columns:1fr}.roster{max-height:250px}.upload-panel{grid-template-columns:1fr}.upload-commands{justify-content:flex-end}.intro-badge{display:none}.selection-strip{display:block}.selection-strip-controls{margin-top:9px}.selection-strip .selection-popover-body{right:auto;left:0}.shell{padding:12px}}
@media(max-width:460px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-actions .btn{font-size:10px}.selection-strip-total b{width:100%}.upload-commands{flex-wrap:wrap}.selection-strip .toggle-word{font-size:9.5px}}

/* v1.4.1 — detalhamento compacto das verbas extras efetivamente incluídas */
.extras-contributions{border-top:1px dashed #d2dff1;display:flex;align-items:center;flex-wrap:wrap;gap:6px;flex-basis:100%;padding:7px 0 1px;font-size:10.5px;color:#486381}
.extras-contributions>span:first-child{font-weight:750;margin-right:5px;color:#265696}
.extras-contributions .extra-contribution{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:7px;border:1px solid #c8d9ef;background:#fff;font-variant-numeric:tabular-nums;color:#24517c}
.extras-contributions .extra-contribution b{color:#1a4f9a}
.extras-contributions .extra-contribution em{font-size:9px;color:#9a5e29;font-style:normal}

/* v1.4.4 - prioridade para o resumo vinculado a 141, em página WIDE. */
.summary141-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 15px}
.summary141-heading h3{font-size:clamp(17px,1.45vw,23px);color:#173c73;letter-spacing:-.45px;margin:5px 0}
.summary141-heading p{font-size:11.5px;line-height:1.6;color:#6b7e98;margin:2px 0}
.summary-badge{font-size:10px;background:#e5efff;color:#2057a4;border-radius:20px;font-weight:750;padding:7px 11px;white-space:nowrap}
.summary141-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
.summary141-kpis>div{padding:13px 15px;border:1px solid #d9e5f5;background:#f9fbff;border-radius:10px}
.summary141-kpis>div.primary{background:#eaf2ff;border-color:#a4c5f4}
.summary141-kpis span{font-size:10.5px;display:block;color:#66809f;margin-bottom:7px;font-weight:700}
.summary141-kpis b{display:block;font-size:clamp(15px,1.55vw,23px);color:#174b90;font-variant-numeric:tabular-nums}
.summary141-table{max-height:calc(100vh - 340px)}
.summary141-table table{min-width:970px}
.summary141-table tfoot{background:#e7f0fe;position:sticky;bottom:0;color:#144882}
.summary141-table tfoot td{font-weight:800;border-top:2px solid #aac8ec}
.summary141-empty{text-align:center;padding:25px!important;color:#7589a2}
.summary141-reconcile{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}
.summary141-reconcile>div{border:1px solid #e0e9f5;padding:11px 12px;border-radius:9px}
.summary141-reconcile span{font-size:10px;color:#6b7e98;display:block;margin-bottom:5px}
.summary141-reconcile strong{font-size:14px;color:#204a80}
.summary141-disclaimer{color:#8290a4;font-size:10px;margin:10px 2px}
@media(max-width:900px){.summary141-kpis,.summary141-reconcile{grid-template-columns:repeat(2,minmax(0,1fr))}.summary141-heading{flex-wrap:wrap}}
@media(max-width:440px){.summary141-heading h3{font-size:18px}}

/* v1.4.5: composição mensal do resumo 141 */
.summary141-monthly-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:27px 0 12px;border-top:1px solid #e2e9f4;padding-top:21px}
.summary141-monthly-head h3{color:#143c79;margin:3px 0 6px;font-weight:820;letter-spacing:-.5px;font-size:19px}
.summary141-monthly-head p{margin:0;color:#6c7c93;font-size:12px;line-height:1.6}
.summary141-monthly-table{border:1px solid #dce5f1;border-radius:10px;max-height:670px;overflow:auto}
.summary141-monthly-table thead th{position:sticky;top:0;z-index:2;background:#245eaf!important;color:#fff!important}
.summary141-monthly-table tbody tr.monthly-unpaid{background:#fff9f4;color:#7b6a61}
.monthly-status{display:inline-flex;padding:3px 8px;border-radius:6px;font-size:11px;font-weight:800}
.monthly-status.paid{color:#147753;background:#e9f7f1}.monthly-status.unpaid{color:#b45d36;background:#fff0e5}
.summary141-monthly-check{font-size:11px;color:#61738e;margin:9px 0 18px}
@media(max-width:840px){.summary141-monthly-head{align-items:flex-start;flex-direction:column}}

/* v1.4.6 — resumo mensal e conferência assistida */
.summary141-monthly-summary{border:1px solid #d8e5f6;border-radius:10px;max-height:min(570px,65vh);overflow:auto}
.summary141-monthly-summary thead th{position:sticky;top:0;z-index:2;color:#fff;background:#205aa7!important}
.summary141-monthly-summary tfoot{background:#eaf2ff;position:sticky;bottom:0;font-weight:780;color:#163f72}
.manual-total-panel{margin:12px 0 16px;border:1px solid #c9daef;border-radius:10px;background:#f8fbff;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.manual-total-panel b{font-size:12px;color:#18467d}.manual-total-panel p{font-size:11px;line-height:1.6;color:#5d7490;max-width:630px;margin:4px 0 0}
.manual-total-entry{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:10px;font-weight:700;color:#30547a}
.manual-total-entry input{width:155px;background:white;border:1px solid #bfcfe3;border-radius:7px;padding:9px 11px;color:#122f56;font-size:13px}
.manual-total-entry .btn{min-height:35px;padding:7px 14px}
@media(max-width:750px){.manual-total-entry{width:100%}.manual-total-entry input{flex:1;min-width:120px}}
/* Conferência de diferença: atenção ao resultado, sem alterar os dados. */
.difference-review{margin:22px 0 18px;border:1px solid #c9d9ee;border-left:4px solid #2462b5;border-radius:13px;background:#fbfdff;padding:18px 20px;color:#203b61}
.difference-review-top{display:flex;justify-content:space-between;align-items:center;gap:22px}
.difference-review-top h3{font-size:19px;margin:5px 0 8px;color:#103e7e}
.difference-review-top p{font-size:13px;line-height:1.6;margin:0;max-width:880px}
.difference-review-amount{font-size:23px;color:#a83d32;font-weight:800;white-space:nowrap}
.difference-review-stats{display:flex;gap:14px;flex-wrap:wrap;margin:15px 0;font-size:12px;color:#476584}
.difference-review-stats span{border:1px solid #d5e3f4;border-radius:7px;background:#fff;padding:8px 10px}
.difference-review-details{background:#fff;border:1px solid #d9e5f3;border-radius:10px;margin:10px 0;overflow:hidden}
.difference-review-details summary{cursor:pointer;font-size:13px;font-weight:700;color:#194a8b;padding:13px 15px}
.difference-review-details .table-scroll{max-height:360px;overflow:auto}
.difference-review-details table{min-width:700px}
.difference-review .review-raw{white-space:normal;min-width:320px;word-break:break-word}
.difference-review .review-note{font-size:12px;line-height:1.6;color:#506986;margin:10px 0}
@media(max-width:750px){.difference-review-top{align-items:flex-start;flex-direction:column}.difference-review-amount{font-size:20px}}

/* Interface compacta — navegação e ações agrupadas no topo. */
.appbar{
  position:sticky;top:0;z-index:60;height:66px;min-height:66px;
  padding:0 clamp(14px,1.35vw,30px);gap:16px;
  background:#fff;border-bottom:1px solid #e1e8f2;
  box-shadow:0 2px 12px rgba(17,42,75,.035)
}
.appbar .brand{flex:0 0 auto;min-width:0;gap:10px}
.appbar .brand-symbol{width:37px;height:37px;border-radius:10px;background:#ecf3ff;color:#2560c6}
.appbar .brand-symbol svg{width:24px;height:24px}
.appbar .brand-name{font-size:15px;font-weight:790;letter-spacing:-.45px;white-space:nowrap}
.appbar .brand-detail{margin-top:2px;font-size:11px;letter-spacing:.08px}
.appbar-actions{display:flex;align-items:center;gap:7px;justify-content:flex-end;min-width:0;flex:1}
.file-control{height:42px;max-width:395px;min-width:165px;width:min(34vw,395px);display:flex;align-items:center;gap:9px;padding:4px 4px 4px 12px;border:1px solid #dce5f1;background:#f9fbff;border-radius:11px;transition:border-color .15s,background .15s;min-width:0}
.file-control.dragging{border-color:#2563d7;background:#e8f2ff;box-shadow:0 0 0 3px #2563d71c}
.file-symbol{width:17px;height:17px;flex-shrink:0;color:#7791ae}
.file-name{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;font-weight:620;color:#5d7088}
.toolbar-button{height:38px;width:38px;flex:0 0 38px;display:inline-flex;align-items:center;justify-content:center;padding:0;background:#fff;color:#576c86;border:1px solid transparent;border-radius:9px;transition:background .15s,color .15s,border-color .15s;box-shadow:none}
.toolbar-button svg{width:19px;height:19px}
.toolbar-button:hover:not(:disabled){background:#edf3fb;color:#215ab8;border-color:#dae6f5}
.toolbar-button:disabled{opacity:.34}
.toolbar-primary{height:33px;width:33px;flex-basis:33px;background:#2463d5;border-color:#2463d5;color:#fff;border-radius:8px}
.toolbar-primary:hover:not(:disabled){background:#1a50bc;color:#fff;border-color:#1a50bc}
.toolbar-export{background:#eef4ff;border-color:#dce9ff;color:#225bc2}
.toolbar-export:hover:not(:disabled){background:#dfebff;color:#174ca8;border-color:#c8dbff}
.toolbar-divider{display:block;height:23px;width:1px;background:#dee5ee;margin:0 3px}
.shell{max-width:none;margin:0 auto;padding:13px clamp(12px,1.35vw,30px) 20px}
.workspace{grid-template-columns:clamp(235px,19vw,290px) minmax(0,1fr);gap:12px}
.sidebar{top:80px}.roster{max-height:calc(100vh - 240px)}
.main-panel{padding:16px;min-height:calc(100vh - 130px)}
.employee-top{margin-bottom:11px}.employee-title{font-size:21px}
.summary141-heading{margin:1px 0 11px}
.footer{margin:12px 2px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10.5px;color:#8794a8;line-height:1.4}
.footer-version{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:4px 10px;border:1px solid #e1e7f0;border-radius:999px;background:#fff;color:#8896aa;font-size:10px;font-weight:620;letter-spacing:.1px}
@media(min-width:1280px){.summary141-table{max-height:calc(100vh - 285px)}.table-scroll{max-height:calc(100vh - 290px)}}
@media(max-width:1050px){.appbar .brand-detail{display:none}.appbar .brand-name{font-size:13px}.file-control{width:min(32vw,310px)}.workspace{grid-template-columns:225px minmax(0,1fr)}}
@media(max-width:750px){
 .appbar{height:auto;min-height:62px;display:flex;flex-wrap:wrap;padding:9px 12px;gap:8px}
 .appbar .brand{flex:1;min-width:180px}
 .appbar-actions{flex:1 1 100%;justify-content:stretch;gap:5px}
 .file-control{flex:1;max-width:none;width:auto;min-width:0}
 .toolbar-divider{margin:0 1px}
 .shell{padding:11px 10px 18px}
 .workspace{grid-template-columns:1fr}
 .sidebar{position:static}.roster{max-height:240px}
 .main-panel{min-height:450px;padding:13px}
 .footer{display:flex;align-items:center}
}
@media(max-width:400px){.appbar .brand-symbol{height:32px;width:32px}.appbar .brand-name{font-size:12.5px}.toolbar-button{width:35px;flex-basis:35px}.toolbar-primary{width:32px;flex-basis:32px}.file-symbol{display:none}.file-control{padding-left:8px}.toolbar-divider{display:none}}
@media print{.appbar{display:none!important}.shell{padding:0!important}.footer{display:none!important}}

/* 1.5.1 — abas visualmente identificáveis, com ícones e seleção de alto contraste. */
.main-panel .tabs{
  display:flex;align-items:center;gap:6px;padding:6px;margin:7px 0 13px;
  border:1px solid #dce6f3;border-radius:12px;background:#f3f7fc;
  overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#cad8eb transparent;
}
.main-panel .tabs .tab{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  flex:0 0 auto;min-height:40px;padding:8px 11px;
  border:1px solid #e0e7f1;border-radius:8px;
  background:#fff;color:#2e4d77;font-size:12px;font-weight:800;
  white-space:nowrap;letter-spacing:-.08px;
  box-shadow:0 1px 2px rgba(20,45,84,.03);
  transition:background .16s,border-color .16s,color .16s,box-shadow .16s;
}
.main-panel .tabs .tab svg{width:17px;height:17px;flex:0 0 17px;opacity:.83}
.main-panel .tabs .tab .tab-title{font-weight:800}
.main-panel .tabs .tab .tab-count{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:23px;min-height:21px;padding:2px 6px;
  border-radius:7px;background:#eef3fb;color:#49698c;
  font-size:10.5px;font-weight:850;font-variant-numeric:tabular-nums;
}
.main-panel .tabs .tab:hover:not(.active){background:#e9f2ff;border-color:#acc7ed;color:#164d99}
.main-panel .tabs .tab.active{
  background:#205bc0;border-color:#205bc0;color:#fff;
  box-shadow:0 2px 7px rgba(31,84,181,.18);
}
.main-panel .tabs .tab.active svg{opacity:1}
.main-panel .tabs .tab.active .tab-count{background:rgba(255,255,255,.2);color:#fff}
.main-panel .tabs .tab:focus-visible{outline:3px solid #8fb8ff;outline-offset:2px}

/* Download: ação principal da barra, somente ícone, com destaque moderado. */
.appbar-actions .toolbar-export{
  width:42px;height:42px;flex:0 0 42px;border-radius:10px;
  color:#fff;background:#225ec9;border:1px solid #225ec9;
  box-shadow:0 3px 11px rgba(27,83,180,.23);
}
.appbar-actions .toolbar-export svg{width:21px;height:21px;stroke-width:2.15}
.appbar-actions .toolbar-export:hover:not(:disabled){
  color:#fff;background:#194ea9;border-color:#194ea9;
  box-shadow:0 4px 13px rgba(21,68,155,.28);
}
.appbar-actions .toolbar-export:disabled{
  opacity:.47;background:#edf3ff;color:#3968b5;
  border-color:#d6e3f7;box-shadow:none;
}
.appbar-actions .toolbar-export:focus-visible{outline:3px solid #90baff;outline-offset:2px}
@media(max-width:750px){
  .main-panel .tabs{margin-top:5px;gap:5px;padding:5px}
  .main-panel .tabs .tab{min-height:39px;padding:7px 9px;font-size:11.5px}
}
@media(max-width:400px){
  .appbar-actions .toolbar-export{width:39px;height:39px;flex-basis:39px}
}
@media print{.main-panel .tabs{display:none!important}}


/* 1.5.2 — exportação PNG do resumo mensal 141 */
.download-icon.png{background:#eef5ff;color:#1f5cc0;border:1px solid #d5e5ff}
.summary141-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.summary-action-button{height:38px;width:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cfe0ff;border-radius:10px;background:#eff5ff;color:#1f5cc0;box-shadow:0 1px 3px rgba(28,74,158,.08);transition:background .15s,border-color .15s,color .15s,box-shadow .15s}
.summary-action-button:hover{background:#dfeafe;border-color:#bfd5ff;color:#15479d;box-shadow:0 2px 8px rgba(28,74,158,.12)}
.summary-action-button svg{width:18px;height:18px}
.summary-action-button:focus-visible{outline:3px solid #8fb8ff;outline-offset:2px}
@media(max-width:840px){.summary141-head-actions{width:100%;justify-content:flex-start}}

/* v1.5.3 — mesmo botão de imagem nos dois resumos. */
.summary141-heading .summary141-head-actions{flex:0 0 auto}
@media(max-width:760px){.summary141-heading .summary141-head-actions{width:100%;justify-content:flex-start}}

/* v1.5.7 — Importação orientada na página inicial; barra superior sem upload. */
.import-panel{
  background:#fff;border:1px solid #d9e4f2;border-radius:15px;
  box-shadow:0 2px 12px rgba(18,50,97,.035);
  margin-bottom:13px;padding:19px 22px 17px;overflow:hidden;
}
.import-head{display:flex;align-items:start;justify-content:space-between;gap:18px;margin-bottom:15px}
.import-eyebrow{font-size:10px;color:#3470bd;font-weight:850;letter-spacing:1.2px;margin-bottom:7px}
.import-head h1{font-size:clamp(18px,1.65vw,24px);line-height:1.25;color:#183657;letter-spacing:-.65px;margin:0 0 5px;font-weight:830}
.import-head p{font-size:12.5px;line-height:1.55;color:#61748d;margin:0;max-width:770px}
.import-local-tag{flex-shrink:0;display:flex;gap:7px;align-items:center;border:1px solid #c6e4d6;background:#f0faf5;color:#176545;border-radius:100px;font-size:11px;font-weight:770;padding:8px 11px;white-space:nowrap}
.import-local-tag svg{height:16px;width:16px}
.import-content{display:grid;grid-template-columns:minmax(340px,1.07fr) minmax(300px,0.93fr);gap:19px;align-items:stretch}
.import-primary-col{min-width:0;display:flex;flex-direction:column}
.import-drop{min-height:101px;border:1.5px dashed #9ab8e2;border-radius:13px;background:#f6faff;display:flex;align-items:center;gap:14px;padding:15px 16px;cursor:pointer;transition:background .2s,border-color .2s,box-shadow .2s}
.import-drop:hover,.import-drop.dragging{background:#edf5ff;border-color:#2867cb;box-shadow:0 0 0 3px #2f6dc714}
.import-drop-symbol{width:55px;height:55px;flex:0 0 55px;background:#e6efff;color:#225ac3;border-radius:13px;display:grid;place-items:center}
.import-drop-symbol svg{width:30px;height:30px}
.import-drop-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}
.import-file-name{color:#1c3b64;font-size:14px;font-weight:820;overflow-wrap:anywhere;line-height:1.4}
.import-drop-copy span:not(.import-file-name){font-size:11.5px;color:#677e9c;line-height:1.5}
.import-picker{flex:0 0 auto;font-size:12px;min-height:41px;background:#235dca;border-color:#235dca;padding:10px 15px}
.import-help{font-size:11px;color:#71839b;line-height:1.5;margin:9px 1px 12px}
.import-help b{color:#526a86}
.import-retention{display:flex;align-items:flex-start;gap:9px;padding:11px 13px;background:#f1faf5;border:1px solid #d8ede1;border-radius:10px;color:#326650;font-size:11.4px;line-height:1.55;margin-top:auto}
.import-retention svg{height:18px;width:18px;flex:0 0 18px;margin-top:1px;color:#2b865c}
.import-retention b{color:#175d3a}
.import-guide{padding:14px 16px;border:1px solid #e3eaf5;border-radius:12px;background:#fbfcff}
.import-guide h2{font-size:12.5px;font-weight:830;color:#29486b;margin:0 0 12px}
.import-steps{padding:0;margin:0;list-style:none;display:grid;gap:11px}
.import-steps li{display:flex;align-items:flex-start;gap:10px}
.import-step-num{width:23px;height:23px;flex:0 0 23px;display:grid;place-items:center;border-radius:7px;background:#e7efff;color:#215bbd;font-size:11px;font-weight:850}
.import-steps li b{display:block;color:#395574;font-size:11.5px;margin-top:1px;margin-bottom:3px}
.import-steps li small{display:block;color:#7285a0;font-size:11px;line-height:1.48}
.import-cdn-note{font-size:10.7px;color:#60748e;line-height:1.55;margin:12px 0 0;border-top:1px solid #e2eaf6;padding-top:10px}
.import-cdn-note b{color:#385b85}
.import-panel.is-loading .import-drop{opacity:.78;cursor:progress}
@media(max-width:1080px){
 .import-content{grid-template-columns:1fr}
 .import-guide{display:block}
 .import-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 .import-steps li small{font-size:10.5px}
}
@media(max-width:750px){
 .appbar{flex-wrap:nowrap;min-height:60px}
 .appbar .brand{flex:1;min-width:0}
 .appbar-actions{flex:0 0 auto;justify-content:flex-end}
 .import-panel{padding:15px 13px;margin-bottom:12px;border-radius:13px}
 .import-head{gap:8px;flex-wrap:wrap;margin-bottom:13px}
 .import-head h1{font-size:19px}
 .import-head p{font-size:12px}
 .import-local-tag{padding:5px 9px;font-size:10px}
 .import-drop{flex-wrap:wrap;padding:12px;gap:10px}
 .import-drop-symbol{width:42px;height:42px;flex-basis:42px}
 .import-drop-symbol svg{width:24px;height:24px}
 .import-drop-copy{flex-basis:calc(100% - 55px)}
 .import-picker{width:100%}
 .import-steps{grid-template-columns:1fr;gap:10px}
 .import-guide{padding:12px}
}
@media print{.import-panel{display:none!important}}


/* v1.5.8 — painel de importação exclusivo antes da consulta e informações em modal */
.document-info-button{background:#f1f6ff;border:1px solid #d6e5fc;color:#225fc2}
.document-info-button:hover:not(:disabled){background:#e5f0ff;border-color:#bcd3f5}
.info-glyph{display:inline-grid;place-items:center;font-family:Georgia,serif;font-size:19px;font-weight:800;font-style:italic;width:22px;height:22px;line-height:1}
.document-info-dialog{width:min(610px,calc(100vw - 24px));max-height:min(90vh,900px);overflow-y:auto;background:#fff;border:1px solid #dce6f5;border-radius:17px;box-shadow:0 24px 76px #182b4566;display:flex;flex-direction:column}
.document-info-top{padding:21px 23px 16px;border-bottom:1px solid #e8eef7}
.document-info-body{padding:20px 23px 17px;overflow-y:auto}
.document-info-file{display:flex;align-items:center;gap:12px;padding:13px;border-radius:12px;background:#f3f8ff;border:1px solid #dbe7f7;min-width:0}
.document-info-file-icon{font-size:11px;font-weight:850;color:#fff;background:#245fbb;display:grid;place-items:center;width:45px;height:46px;border-radius:10px;flex-shrink:0}
.document-info-file-details{min-width:0;display:flex;flex-direction:column;gap:4px}
.document-info-file-details span{font-size:10px;font-weight:700;color:#607a9b}
.document-info-file-details strong{font-size:13px;color:#183f70;overflow-wrap:anywhere}
.document-info-file-details small{font-size:10.5px;color:#6983a0}
.document-info-section{margin-top:19px}
.document-info-section h3{font-size:13px;color:#193d68;line-height:1.4;margin:0 0 10px}
.document-info-section ol{margin:0;padding-left:20px;color:#4c6481;line-height:1.7;font-size:11.8px}
.document-info-section li+li{margin-top:5px}
.document-info-section p{font-size:11.7px;line-height:1.65;color:#516c88;margin:7px 0}
.document-info-section strong{color:#275279}
.document-privacy-section{padding:14px 15px;border-radius:11px;background:#f5fbf7;border:1px solid #dcefe5}
.document-privacy-section h3{color:#226347}
.document-info-footer{border-top:1px solid #e8eef7;padding:14px 23px;display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap;background:#fbfdff}
.document-info-footer span{font-size:11px;line-height:1.4;color:#6f829d}
.document-info-footer .btn{min-width:133px}
/* Sem espaço desperdiçado por painéis de resultado vazios antes do PDF. */
.workspace.hidden{display:none!important}
@media(max-width:550px){
 .document-info-top{padding:16px 16px 13px}
 .document-info-body{padding:16px}
 .document-info-footer{padding:14px 16px}
 .document-info-footer .btn{width:100%}
}
@media print{.document-info-button,.document-info-dialog{display:none!important}}

/* CENTRAL DE DOWNLOADS 1.5.9 */
.download-dialog-v159{width:min(940px,calc(100vw - 26px));max-height:92vh;display:flex;flex-direction:column;overflow:hidden;background:#fff;border-radius:16px;border:1px solid #d9e5f4;box-shadow:0 25px 76px #20375755}
.downloads-top{flex-shrink:0;padding:20px 24px 17px;border-bottom:1px solid #e6edf8;display:flex;gap:20px;align-items:flex-start;justify-content:space-between}
.downloads-top h2{font-size:22px;margin:5px 0 6px;color:#102a4b}
.downloads-top p{max-width:700px;color:#647c9c;font-size:12px;line-height:1.55;margin:0}
.downloads-content{overflow-y:auto;padding:20px 24px 23px;overscroll-behavior:contain}
.downloads-privacy{display:flex;gap:10px;padding:11px 13px;background:#f1faf6;border:1px solid #cfe9db;border-radius:10px;color:#2e6e54;font-size:11.5px;line-height:1.45}
.downloads-privacy>span:first-child{font-weight:800;font-size:16px}
.downloads-section{margin-top:20px}
.downloads-section+.downloads-section{padding-top:18px;border-top:1px solid #e4ebf5}
.downloads-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px}
.downloads-section-heading>div{display:flex;align-items:center;gap:10px;min-width:0}
.downloads-section-heading h3{font-size:14px;margin:0;color:#132f50;line-height:1.35}
.downloads-number{display:grid;place-items:center;width:30px;height:30px;background:#e9f1ff;border-radius:9px;color:#2560bc;font-size:12px;font-weight:850;flex-shrink:0}
.download-count{font-size:11px;border:1px solid #dce7f4;border-radius:100px;padding:7px 10px;color:#325b88;white-space:nowrap}
.downloads-section-help{font-size:11.5px;color:#5d7592;line-height:1.65;margin:4px 0 14px}
.downloads-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.downloads-card{min-width:0;padding:15px 12px;background:#fbfdff;border:1px solid #d9e4f2;border-radius:12px;text-align:left;display:flex;gap:10px;align-items:flex-start;cursor:pointer;color:#18365c;position:relative;transition:background .16s,border-color .16s}
.downloads-card:hover,.downloads-card:focus-visible{background:#eff5ff;border-color:#8bb5ee}
.downloads-card-text{min-width:0;display:flex;flex-direction:column;gap:6px;padding-right:1px}
.downloads-card-text>b{font-size:12.5px;line-height:1.3;color:#163b70}
.downloads-card-text small{font-size:11px;line-height:1.48;color:#647c9a}
.downloads-format{font-weight:800;font-size:10px;border-radius:7px;min-width:45px;text-align:center;padding:10px 4px;background:#e5edff;color:#275db9}
.downloads-format.excel{color:#087c53;background:#e4f7ed}
.downloads-format.pdf{color:#b04a39;background:#fff0ec}
.downloads-card-action{position:absolute;bottom:10px;right:9px;color:#2b64bc;font-weight:800;font-size:10px}
.downloads-small-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.downloads-small-grid .download-option{margin:0;min-height:83px;border-radius:10px;min-width:0}
.downloads-small-grid .download-option b{font-size:11.8px}
.downloads-small-grid .download-option small{font-size:10.6px}
.downloads-bottom-note{background:#f5f8fc;border:1px solid #e1eaf3;border-radius:9px;padding:12px;color:#5a718d;font-size:11px;line-height:1.6;margin-top:20px}
.download-batch-progress{background:#f5f9ff;border:1px solid #aac7ef;border-radius:10px;margin-top:13px;padding:12px}
.download-batch-progress.hidden{display:none!important}
.download-batch-line{display:flex;justify-content:space-between;gap:10px;font-size:11.5px;color:#1e528b}
.download-batch-track{height:8px;border-radius:10px;background:#d7e4f7;margin:9px 0;overflow:hidden}
.download-batch-track>span{display:block;width:0;height:100%;background:#2461be;transition:width .2s}
.download-batch-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10.5px;color:#67809b}
.download-batch-foot button{font-size:11px;padding:7px 10px}
.downloads-content button:disabled{opacity:.48;cursor:not-allowed}
@media(max-width:760px){.downloads-grid{grid-template-columns:1fr}.downloads-small-grid{grid-template-columns:1fr}.downloads-content{padding:15px}.downloads-top{padding:16px}.download-batch-foot{flex-wrap:wrap}.downloads-section-heading{align-items:flex-start}.downloads-card{min-height:95px}}

/* 1.5.13 — botão de acesso ao manual de uso */
.toolbar-button{text-decoration:none}
.toolbar-manual{background:#f5f8ff;border-color:#dbe6f8;color:#2158b3}
.toolbar-manual:hover{background:#e8f0ff;border-color:#c9d8f4;color:#174a98}
.toolbar-manual svg{width:19px;height:19px}

/* 1.5.15 — Manual de uso integrado, com cabeçalho único na própria página do guia. */
body.manual-is-open{overflow:hidden}
.manual-overlay{position:fixed;inset:0;z-index:200;display:flex;flex-direction:column;background:#f4f7fb}
.manual-overlay-frame{flex:1;min-height:0;width:100%;display:block;border:0;background:#f4f7fb}
@media print{.manual-overlay{display:none!important}}

/* v1.5.17 — confirmação temporária de download: 3 segundos, sem alterar o layout */
.download-toast{
  position:fixed;z-index:5000;top:82px;right:20px;width:min(460px,calc(100vw - 30px));
  display:flex;align-items:flex-start;gap:11px;padding:13px 17px;
  border-radius:13px;border:1px solid #bfe6d1;background:#f3fcf7;color:#185c3e;
  box-shadow:0 12px 36px rgba(17,45,78,.18);font-size:12px;font-weight:650;line-height:1.45;
  pointer-events:none;overflow-wrap:anywhere;
}
.download-toast-icon{width:24px;height:24px;flex:0 0 24px;border-radius:50%;display:grid;place-items:center;background:#d8f5e5;color:#177a4d}
.download-toast-icon svg{width:15px;height:15px}
.download-toast-message{min-width:0;padding-top:2px}
.download-toast.warning{border-color:#f1d7a2;background:#fffaf0;color:#82580b}
.download-toast.warning .download-toast-icon{background:#ffedc2;color:#946108}
.download-toast.error{border-color:#f0bfc9;background:#fff4f5;color:#973e4e}
.download-toast.error .download-toast-icon{background:#ffe0e5;color:#b64f5c}
@media(max-width:750px){.download-toast{top:14px;right:15px;left:15px;width:auto}}
@media print{.download-toast{display:none!important}}
