.query-form{gap:18px}.query-update-column{width:min(100%,820px)}.query-panel-compact{padding:16px 20px}.query-panel-compact h2{margin-bottom:6px}.query-panel-compact .muted{margin-bottom:2px;max-width:980px}.query-panel-compact .query-form{gap:10px}.query-panel-compact .query-period-row{grid-template-columns:repeat(2,minmax(220px,260px));gap:14px;justify-content:start}.query-panel-compact .query-date-field input[type=date]{width:260px;max-width:100%;min-height:46px}.query-panel-compact .check-row{margin:0;padding:8px 12px;justify-content:flex-start}.query-panel-compact .query-submit-button{justify-self:start;min-width:260px;min-height:46px;padding-inline:24px}.cte-reconciliation-panel,.manual-import-panel{margin-top:18px}.query-small-field{width:min(180px,100%)}.query-small-field input{min-height:46px}.reconciliation-access-key-field{width:min(460px,100%)}.reconciliation-access-key-report{display:grid;grid-gap:10px;gap:10px}.reconciliation-access-key-report p{margin:0}.reconciliation-access-key-report__meta{display:flex;flex-wrap:wrap;gap:10px}.reconciliation-access-key-report__details{display:grid;grid-gap:4px;gap:4px;color:#5f7796;font-size:.92rem}.manual-import-form .muted{margin:-2px 0 0}.manual-import-report{display:grid;grid-gap:16px;gap:16px;margin-top:8px;padding-top:14px;border-top:1px solid rgba(75,96,124,.1)}.manual-import-report__header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.manual-import-report__header h3{margin:0 0 4px}.manual-import-report__actions{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.manual-import-report__cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));grid-gap:12px;gap:12px}.manual-import-report__toolbar{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;flex-wrap:wrap}.manual-import-report__filters{display:inline-flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.manual-import-report__filter{display:grid;grid-gap:8px;gap:8px;min-width:180px}.manual-import-report__filter span{font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#5f7796}.metric-mini-card{display:grid;grid-gap:8px;gap:8px;padding:16px;border-radius:18px;background:rgba(78,143,225,.05);border:1px solid rgba(75,96,124,.08)}.metric-mini-card--button{text-align:left;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}.metric-mini-card--button:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(85,106,132,.12)}.metric-mini-card--button.is-active{border-color:rgba(31,94,255,.3);background:rgba(31,94,255,.08)}.metric-mini-card span{font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#57708d}.metric-mini-card strong{font-size:1.75rem;line-height:1}.manual-import-report__table-wrap{overflow-x:auto;max-height:520px;border-radius:18px;border:1px solid rgba(75,96,124,.08)}.manual-import-report__table{width:100%;border-collapse:collapse}.manual-import-report__table thead th{position:-webkit-sticky;position:sticky;top:0;z-index:2;background:rgba(244,248,253,.98);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.manual-import-report__table td,.manual-import-report__table th{padding:12px 14px;border-bottom:1px solid rgba(75,96,124,.08);text-align:left;vertical-align:top}.manual-import-report__table th{font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:#5f7796}.manual-import-report__table .mono{font-family:JetBrains Mono,Fira Code,monospace;font-size:.84rem;word-break:break-all}.manual-import-report__empty{text-align:center!important;color:#6f839d}.manual-import-report__pagination{margin-top:0}.manual-import-report__feedback{margin:0}.cte-reconciliation-report{display:grid;grid-gap:14px;gap:14px;margin-top:10px;padding-top:14px;border-top:1px solid rgba(75,96,124,.1)}.cte-reconciliation-report__cards{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.cte-reconciliation-report__actions{justify-content:flex-start}.reconciliation-warning-list{margin:8px 0 0 18px;padding:0;display:grid;grid-gap:6px;gap:6px}.manual-import-acervo-hint{display:flex;align-items:center;gap:12px;margin:14px 0 4px}.status-pill{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;font-size:.78rem;font-weight:800;white-space:nowrap}.status-pill--imported,.status-pill--updated{background:rgba(15,118,110,.12);color:#0f8e88}.status-pill--already_exists{background:rgba(46,124,255,.12);color:#1d4ed8}.status-pill--unsupported_key{background:rgba(245,158,11,.18);color:#a16207}.status-pill--error{background:rgba(180,35,24,.12);color:#b42318}.dashboard-filter-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;grid-gap:12px;gap:12px;margin:18px 0 20px;align-items:end}.dashboard-filter-actions{display:inline-flex;align-items:center;gap:10px;justify-content:flex-end;flex-wrap:wrap}.button-inline{text-decoration:none}.context-back-link{display:inline-flex;align-items:center;gap:10px;white-space:nowrap}.context-back-link--highlight{position:relative;border-color:rgba(63,227,212,.26);background:linear-gradient(135deg,rgba(34,54,82,.98),rgba(23,37,58,.98));box-shadow:0 14px 28px rgba(5,10,18,.26),inset 0 0 0 1px rgba(63,227,212,.08);animation:context-back-link-pulse 1.4s ease .15s 2}.context-back-link__icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:rgba(63,227,212,.12);color:#7ff0e6;font-size:.95rem;line-height:1}@keyframes context-back-link-pulse{0%{box-shadow:0 14px 28px rgba(5,10,18,.26),inset 0 0 0 1px rgba(63,227,212,.08),0 0 0 0 rgba(63,227,212,.26)}50%{box-shadow:0 16px 30px rgba(5,10,18,.3),inset 0 0 0 1px rgba(63,227,212,.14),0 0 0 10px rgba(63,227,212,.06)}to{box-shadow:0 14px 28px rgba(5,10,18,.26),inset 0 0 0 1px rgba(63,227,212,.08),0 0 0 0 rgba(63,227,212,0)}}.context-item-restored{position:relative;animation:context-item-pulse 2.2s ease}@keyframes context-item-pulse{0%{box-shadow:0 0 0 0 rgba(78,143,225,.34),inset 0 0 0 1px rgba(78,143,225,.28)}45%{box-shadow:0 0 0 8px rgba(78,143,225,.1),inset 0 0 0 1px rgba(78,143,225,.36)}to{box-shadow:0 0 0 0 rgba(78,143,225,0),inset 0 0 0 1px rgba(78,143,225,0)}}.filter-checkbox-field{display:flex;align-items:center;grid-column:1/-1}.checkbox-inline{display:inline-flex;align-items:center;gap:10px;min-height:46px;font-weight:700;color:inherit}.checkbox-inline input[type=checkbox]{width:18px;height:18px;margin:0}.dashboard-filter-shell{padding:18px;border-radius:20px;background:linear-gradient(180deg,rgba(78,143,225,.04),rgba(255,255,255,.9));border:1px solid rgba(75,96,124,.08)}html[data-theme=dark] .dashboard-filter-shell{background:linear-gradient(180deg,rgba(20,31,47,.96),rgba(17,27,41,.9));border-color:rgba(151,177,211,.12)}html[data-theme=dark] .context-item-restored{animation-name:context-item-pulse-dark}@keyframes context-item-pulse-dark{0%{box-shadow:0 0 0 0 rgba(63,227,212,.2),inset 0 0 0 1px rgba(63,227,212,.24)}45%{box-shadow:0 0 0 8px rgba(63,227,212,.08),inset 0 0 0 1px rgba(63,227,212,.3)}to{box-shadow:0 0 0 0 rgba(63,227,212,0),inset 0 0 0 1px rgba(63,227,212,0)}}html[data-theme=dark] .cte-reconciliation-report,html[data-theme=dark] .manual-import-report{border-top-color:rgba(151,177,211,.12)}html[data-theme=dark] .reconciliation-access-key-report__details{color:#a9bad0}html[data-theme=dark] .metric-mini-card{background:rgba(20,31,47,.82);border-color:rgba(151,177,211,.12)}html[data-theme=dark] .metric-mini-card--button:hover{box-shadow:0 14px 28px rgba(5,10,18,.3)}html[data-theme=dark] .metric-mini-card--button.is-active{border-color:rgba(46,124,255,.34);background:rgba(46,124,255,.14)}html[data-theme=dark] .manual-import-report__empty,html[data-theme=dark] .manual-import-report__filter span,html[data-theme=dark] .manual-import-report__table th,html[data-theme=dark] .metric-mini-card span{color:#96acc8}html[data-theme=dark] .manual-import-report__table-wrap{border-color:rgba(151,177,211,.12)}html[data-theme=dark] .manual-import-report__table td,html[data-theme=dark] .manual-import-report__table th{border-bottom-color:rgba(151,177,211,.08)}html[data-theme=dark] .manual-import-report__table thead th{background:rgba(18,29,44,.96)}html[data-theme=dark] .status-pill--imported,html[data-theme=dark] .status-pill--updated{background:rgba(32,211,193,.16);color:#6fe7da}html[data-theme=dark] .status-pill--already_exists{background:rgba(46,124,255,.18);color:#8fb8ff}html[data-theme=dark] .status-pill--unsupported_key{background:rgba(245,158,11,.2);color:#f4c15d}html[data-theme=dark] .status-pill--error{background:rgba(180,35,24,.18);color:#ff9f97}html[data-theme=dark] .section-count-pill{background:rgba(27,41,61,.94)}.filter-actions{justify-content:flex-end}.section-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.section-heading-actions{display:inline-flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.section-heading-actions-only{justify-content:flex-end;align-items:center;margin-bottom:8px}.section-heading-actions-only>:first-child{display:none}.section-heading h2{margin-bottom:0}.section-count-pill{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:rgba(78,143,225,.08);color:#4f6680;font-weight:700}html[data-theme=dark] .section-count-pill{background:rgba(78,143,225,.16);color:#e0ebf8}.doc-table.modern{gap:14px}.doc-row.modern{grid-template-columns:1.2fr 1fr 1fr .8fr auto;background:#fbfdff;border-color:rgba(75,96,124,.08)}.doc-main-title{margin-top:10px}.insight-list{display:grid;grid-gap:12px;gap:12px;margin-top:18px}.insight-item{display:grid;grid-gap:6px;gap:6px;padding:16px;border-radius:18px;background:linear-gradient(135deg,rgba(78,143,225,.08),rgba(32,211,193,.08))}.insight-item span{font-size:.84rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#57708d}.insight-item strong{font-size:1rem}.query-card.modern{background:#fbfdff}html[data-theme=dark] .query-card.modern{background:rgba(16,25,38,.92);border-color:rgba(151,177,211,.14)}.pagination-bar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:18px;padding-top:18px;border-top:1px solid rgba(75,96,124,.08)}.pagination-actions,.pagination-nav{display:inline-flex;gap:10px;align-items:center}.pagination-nav{flex-wrap:wrap;justify-content:flex-end}.pagination-pages{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.pagination-control,.pagination-page{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 14px;border-radius:14px;background:rgba(255,255,255,.9);border:1px solid rgba(75,96,124,.1);color:var(--text);font-weight:700;font:inherit;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease}.pagination-control:hover,.pagination-page:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(85,106,132,.14)}.pagination-page.is-active{background:#1f5eff;border-color:#1f5eff;color:#ffffff;box-shadow:0 14px 28px rgba(31,94,255,.24)}.pagination-ellipsis{display:inline-flex;align-items:center;justify-content:center;min-width:28px;color:#7b8da4;font-weight:700}html[data-theme=dark] .pagination-control,html[data-theme=dark] .pagination-page{background:rgba(20,31,47,.92);border-color:rgba(151,177,211,.14);color:#edf4fb}html[data-theme=dark] .query-status{color:#edf3fb}html[data-theme=dark] .query-status.partial{background:rgba(245,158,11,.22);color:#f4c15d}html[data-theme=dark] .query-card.modern{background:linear-gradient(180deg,rgba(18,29,44,.98),rgba(14,22,34,.96))}html[data-theme=dark] .pagination-control:hover,html[data-theme=dark] .pagination-page:hover{box-shadow:0 14px 28px rgba(5,10,18,.32)}html[data-theme=dark] .pagination-page.is-active{background:#2e7cff;border-color:#2e7cff;color:#ffffff;box-shadow:0 14px 28px rgba(46,124,255,.3)}html[data-theme=dark] .pagination-ellipsis{color:#b9cadf}html[data-theme=dark] .pagination-control.is-disabled,html[data-theme=dark] .pagination-page.is-disabled{background:rgba(14,22,34,.88);border-color:rgba(151,177,211,.08);color:#70839a}.is-disabled{pointer-events:none;opacity:.45}.query-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.query-status{display:inline-flex;align-items:center;justify-content:center;min-width:84px;padding:6px 10px;border-radius:999px;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.query-status.success{background:rgba(32,211,193,.14);color:#0f8e88}.query-status.partial{background:rgba(245,158,11,.18);color:#a16207}.query-status.error{background:rgba(180,35,24,.12);color:#b42318}.query-status.empty{background:rgba(95,119,150,.14);color:#486581}.floating-menu{position:static}.floating-menu-button{width:52px;height:52px;border-radius:16px;background:rgba(255,255,255,.14);box-shadow:none}.floating-menu-panel{position:absolute;top:76px;left:24px;width:280px;z-index:55;margin-top:0}.pending-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:14px;gap:14px;margin:18px 0 20px}.pending-category-grid{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:-4px}.pending-category-card{min-height:132px}.pending-summary-card{display:grid;grid-gap:8px;gap:8px;padding:18px;border-radius:20px;background:linear-gradient(135deg,rgba(78,143,225,.08),rgba(32,211,193,.08));border:1px solid rgba(75,96,124,.1);box-shadow:inset 0 4px 0 var(--pending-accent,#20d3c1)}.pending-summary-link{display:grid;grid-gap:8px;gap:8px;text-decoration:none;color:inherit;transition:transform .18s ease}.pending-summary-link:hover{transform:translateY(-1px)}.pending-summary-card.is-active{border-color:rgba(31,94,255,.22);box-shadow:inset 0 4px 0 var(--pending-accent,#20d3c1),0 18px 30px rgba(31,94,255,.12)}.pending-summary-actions{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:4px}.pending-item-actions>*,.pending-summary-action,.pending-summary-actions>*,.pending-toolbar-action{display:inline-flex;align-items:center;justify-content:center}.pending-summary-action,.pending-toolbar-action{min-height:36px;border-radius:14px;font-size:.8rem;font-weight:800;letter-spacing:.02em;line-height:1;text-align:center;white-space:nowrap}.pending-toolbar-action{min-width:118px;padding:0 16px}.pending-summary-action{min-width:62px;padding:0 14px;justify-content:center;background:transparent;box-shadow:none}.pending-summary-action--csv,.pending-summary-action--pdf{border:1px solid rgba(75,96,124,.16);color:#23344d}.pending-summary-action:hover{transform:translateY(-1px);background:rgba(255,255,255,.28)}.pending-summary-card strong{font-size:2rem;line-height:1}.pending-summary-value{font-size:.94rem;font-weight:800;color:#2f486a}.pending-summary-card small{color:#61748c}.pending-summary-kicker{font-size:.8rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.pending-summary-card.severity-high{--pending-accent:#d94432;border-top:4px solid #d94432;background:linear-gradient(135deg,rgba(217,68,50,.1),rgba(217,68,50,.03))}.pending-summary-card.severity-medium{--pending-accent:#f59e0b;border-top:4px solid #f59e0b;background:linear-gradient(135deg,rgba(245,158,11,.1),rgba(245,158,11,.03))}.pending-summary-card.severity-low{--pending-accent:#2e7cff;border-top:4px solid #2e7cff;background:linear-gradient(135deg,rgba(46,124,255,.1),rgba(46,124,255,.03))}.pending-summary-card.severity-info{--pending-accent:#20d3c1;border-top:4px solid #20d3c1;background:linear-gradient(135deg,rgba(32,211,193,.1),rgba(32,211,193,.03))}.pending-filter-grid{grid-template-columns:repeat(9,minmax(0,1fr)) auto}.pending-list{display:grid;grid-gap:14px;gap:14px}.pending-filter-summary{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap;margin:-2px 0 18px}.pending-filter-summary__chips{display:flex;flex-wrap:wrap;gap:8px}.pending-filter-chip{padding:6px 12px;border-radius:999px;background:rgba(78,143,225,.08);border:1px solid rgba(75,96,124,.1);color:#4f6680;font-size:.82rem;font-weight:700}.pending-filter-chip,.pending-filter-summary__clear{display:inline-flex;align-items:center;min-height:34px}.pending-filter-summary__clear{color:#57708d;font-weight:800;text-decoration:none}.pending-filter-summary__clear:hover{color:#1f5eff}.pending-item{display:grid;grid-gap:16px;gap:16px;padding:20px;border-radius:24px;border:1px solid rgba(75,96,124,.1);background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,251,255,.94))}.pending-item.severity-high{box-shadow:inset 3px 0 0 #d94432}.pending-item.severity-medium{box-shadow:inset 3px 0 0 #f59e0b}.pending-item.severity-low{box-shadow:inset 3px 0 0 #2e7cff}.pending-item.severity-info{box-shadow:inset 3px 0 0 #20d3c1}.pending-item-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.pending-item-head h3{margin:10px 0 4px}.pending-item-reason{margin-top:6px;max-width:72ch}.pending-item-status{display:grid;grid-gap:8px;gap:8px;justify-items:end;text-align:right}.pending-item-status small{color:#6d84a3;font-size:.86rem;font-weight:700}.pending-severity-chip{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.pending-severity-chip.severity-high{background:rgba(217,68,50,.14);color:#b42318}.pending-severity-chip.severity-medium{background:rgba(245,158,11,.18);color:#a16207}.pending-severity-chip.severity-low{background:rgba(46,124,255,.14);color:#1d4ed8}.pending-severity-chip.severity-info{background:rgba(32,211,193,.14);color:#0f8e88}.pending-item-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:14px;gap:14px}.pending-item-foot small,.pending-item-grid span{display:block;margin-bottom:6px;font-size:.8rem;font-weight:800;color:#5f7796;letter-spacing:.04em;text-transform:uppercase}.pending-item-grid strong{color:var(--text)}.pending-item-foot{display:flex;justify-content:space-between;gap:14px;align-items:center}.pending-item-meta{display:grid;grid-gap:10px;gap:10px;justify-items:start}.pending-item-actions{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}.pending-item-action{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-radius:16px;font-size:.92rem;font-weight:800;letter-spacing:.01em;line-height:1;text-align:center;white-space:nowrap;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}.pending-item-action:hover{transform:translateY(-1px)}.pending-item-action--primary{background:linear-gradient(180deg,rgba(46,124,255,.16),rgba(46,124,255,.1));border-color:rgba(46,124,255,.2);box-shadow:0 10px 22px rgba(46,124,255,.12)}.pending-item-action--secondary{background:linear-gradient(180deg,rgba(78,143,225,.08),rgba(78,143,225,.04));border-color:rgba(75,96,124,.12);box-shadow:none}.pending-item-badges{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}html[data-theme=dark] .pending-item,html[data-theme=dark] .pending-summary-card{background:linear-gradient(180deg,rgba(17,27,41,.94),rgba(14,23,36,.92));border-color:rgba(151,177,211,.14)}html[data-theme=dark] .pending-summary-card.is-active{border-color:rgba(120,164,255,.28);box-shadow:inset 0 4px 0 var(--pending-accent,#20d3c1),0 18px 30px rgba(5,10,18,.34)}html[data-theme=dark] .pending-summary-card.severity-high{background:linear-gradient(135deg,rgba(64,24,29,.98),rgba(28,18,23,.98))}html[data-theme=dark] .pending-summary-card.severity-medium{background:linear-gradient(135deg,rgba(58,43,20,.98),rgba(29,24,15,.98))}html[data-theme=dark] .pending-summary-card.severity-low{background:linear-gradient(135deg,rgba(22,39,67,.98),rgba(17,28,46,.98))}html[data-theme=dark] .pending-summary-card.severity-info{background:linear-gradient(135deg,rgba(18,57,64,.92),rgba(27,41,61,.98))}html[data-theme=dark] .pending-item-foot small,html[data-theme=dark] .pending-item-grid span,html[data-theme=dark] .pending-summary-card small{color:#96acc8}html[data-theme=dark] .pending-filter-chip{background:rgba(27,41,61,.9);border-color:rgba(151,177,211,.12);color:#d8e5f5}html[data-theme=dark] .pending-filter-summary__clear{color:#a9bad0}html[data-theme=dark] .pending-filter-summary__clear:hover{color:#9fc1ff}html[data-theme=dark] .pending-item-reason,html[data-theme=dark] .pending-item-status small{color:#9db2cc}html[data-theme=dark] .pending-item-action{border-color:rgba(151,177,211,.18)}html[data-theme=dark] .pending-summary-action,html[data-theme=dark] .pending-toolbar-action{box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}html[data-theme=dark] .pending-summary-action--csv,html[data-theme=dark] .pending-summary-action--pdf{border-color:rgba(151,177,211,.16);color:#eef5ff}html[data-theme=dark] .pending-summary-action--csv:hover,html[data-theme=dark] .pending-summary-action--pdf:hover{border-color:rgba(120,164,255,.28);background:rgba(27,41,61,.88)}html[data-theme=dark] .pending-item-action:hover,html[data-theme=dark] .pending-summary-action:hover{box-shadow:0 12px 24px rgba(5,10,18,.32)}html[data-theme=dark] .pending-item-action--primary{background:linear-gradient(180deg,rgba(46,124,255,.22),rgba(46,124,255,.12));border-color:rgba(120,164,255,.26);color:#eef5ff}html[data-theme=dark] .pending-item-action--secondary{background:linear-gradient(180deg,rgba(27,41,61,.96),rgba(20,31,47,.94));border-color:rgba(151,177,211,.16);color:#dce8f7}html[data-theme=dark] .pending-summary-value{color:#d9e7f6}.health-overview-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:14px;gap:14px;margin:18px 0}.health-overview-card{min-height:124px}.health-recommendation-panel{margin:0 0 20px}.health-recommendation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.health-recommendation-card{display:grid;grid-gap:8px;gap:8px;padding:16px 18px;border-radius:18px;border:1px solid rgba(75,96,124,.12);background:linear-gradient(180deg,rgba(252,254,255,.98),rgba(244,249,255,.96))}.health-recommendation-card.variant-attention{box-shadow:inset 3px 0 0 #d94432}.health-recommendation-card.variant-warning{box-shadow:inset 3px 0 0 #f59e0b}.health-recommendation-card.variant-info{box-shadow:inset 3px 0 0 #4e8fe1}.health-recommendation-card strong{color:#203250}.health-recommendation-card p{margin:0;color:#58708e}.health-diagnostic-grid{display:grid;grid-template-columns:1.2fr .8fr;grid-gap:16px;gap:16px;margin:0 0 20px}.health-diagnostic-panel{padding:18px}.health-diagnostic-panel .section-heading.compact{margin-bottom:12px}.health-diagnostic-panel .section-heading.compact h3{margin:0;font-size:1.02rem}.health-type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.health-type-card{display:grid;grid-gap:8px;gap:8px;padding:16px;border-radius:18px;border:1px solid rgba(75,96,124,.1);background:linear-gradient(180deg,rgba(252,254,255,.98),rgba(244,249,255,.96))}.health-type-card--nfe{box-shadow:inset 3px 0 0 #4e8fe1}.health-type-card--cte{box-shadow:inset 3px 0 0 #20d3c1}.health-type-card--mdfe{box-shadow:inset 3px 0 0 #8b5cf6}.health-type-kicker{font-size:.8rem;font-weight:800;color:#57708d;letter-spacing:.04em;text-transform:uppercase}.health-type-card strong{font-size:1.8rem;line-height:1}.health-type-card small{color:#5f7796}.health-type-meta{display:grid;grid-gap:4px;gap:4px;color:#5f7796;font-size:.88rem}.health-type-meta strong{font-size:inherit;color:#203250}.health-type-issue{display:grid;grid-gap:8px;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid rgba(91,120,158,.16)}.health-type-issue>span:first-child{font-size:.78rem;font-weight:800;color:#5f7796;letter-spacing:.04em;text-transform:uppercase}.health-type-issue p{margin:0;color:#28415f}.health-type-issue small{color:#6a819e}.health-issue-list{display:grid;grid-gap:12px;gap:12px}.health-issue-card{display:grid;grid-gap:10px;gap:10px;padding:16px;border-radius:18px;border:1px solid rgba(75,96,124,.1);background:linear-gradient(180deg,rgba(252,254,255,.98),rgba(246,250,255,.95))}.health-issue-card.status-error{box-shadow:inset 3px 0 0 #d94432}.health-issue-card.status-partial{box-shadow:inset 3px 0 0 #f59e0b}.health-issue-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.health-issue-card p{margin:0;color:#58708e}.health-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:16px;gap:16px;margin:20px 0}.health-summary-card{min-height:174px;padding:20px;border-radius:20px;border:1px solid rgba(75,96,124,.12);border-top:4px solid transparent;background:linear-gradient(180deg,rgba(252,254,255,.98),rgba(242,248,255,.95));transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}.health-summary-card,.health-summary-card-link{display:grid;grid-gap:10px;gap:10px;color:inherit;text-decoration:none}.health-summary-card-link{align-content:space-between;min-height:100%;width:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:left;cursor:pointer}.health-summary-card-link:focus-visible,.health-summary-card-link:hover{background:transparent;box-shadow:none}.health-summary-card:hover{transform:translateY(-2px);box-shadow:0 20px 36px rgba(31,57,91,.12)}.health-summary-card.is-active{border-color:rgba(31,94,255,.2);box-shadow:0 20px 34px rgba(31,94,255,.14)}.health-summary-card.status-success{border-top-color:#20d3c1;background:radial-gradient(circle at top right,rgba(32,211,193,.16),transparent 42%),linear-gradient(180deg,rgba(252,254,255,.98),rgba(242,248,255,.95))}.health-summary-card.status-partial{border-top-color:#f59e0b;background:radial-gradient(circle at top right,rgba(245,158,11,.16),transparent 42%),linear-gradient(180deg,rgba(252,254,255,.98),rgba(242,248,255,.95))}.health-summary-card.status-error{border-top-color:#d94432;background:radial-gradient(circle at top right,rgba(217,68,50,.16),transparent 42%),linear-gradient(180deg,rgba(252,254,255,.98),rgba(242,248,255,.95))}.health-summary-card.status-empty{border-top-color:#4e8fe1;background:radial-gradient(circle at top right,rgba(78,143,225,.16),transparent 42%),linear-gradient(180deg,rgba(252,254,255,.98),rgba(242,248,255,.95))}.health-summary-kicker{font-size:.8rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#57708d}.health-summary-card strong{font-size:2.05rem;line-height:1}.health-summary-value{font-size:1rem;font-weight:800;color:#203250}.health-summary-card small{color:#5f7796}.health-summary-card .pending-summary-actions{margin-top:auto}.health-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr)) auto}.health-list{gap:14px}.health-item{display:grid;grid-gap:14px;gap:14px;padding:18px 20px;border-radius:22px;border:1px solid rgba(75,96,124,.12);background:linear-gradient(180deg,rgba(252,254,255,.98),rgba(246,250,255,.94))}.health-item.status-success{box-shadow:inset 3px 0 0 #20d3c1}.health-item.status-partial{box-shadow:inset 3px 0 0 #f59e0b}.health-item.status-error{box-shadow:inset 3px 0 0 #d94432}.health-item.status-empty{box-shadow:inset 3px 0 0 #4e8fe1}.health-item-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.health-item-head h3{margin:10px 0 0}.health-item-duration{font-size:1rem;color:#203250}.health-item-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:14px;gap:14px}.health-item-detail span,.health-item-grid span{display:block;margin-bottom:6px;font-size:.8rem;font-weight:800;color:#5f7796;letter-spacing:.04em;text-transform:uppercase}.health-item-grid strong{color:var(--text)}.health-item-detail{margin:0;color:#58708e}html[data-theme=dark] .query-status.empty{background:rgba(78,143,225,.16);color:#a9cbff}html[data-theme=dark] .health-diagnostic-panel,html[data-theme=dark] .health-issue-card,html[data-theme=dark] .health-item,html[data-theme=dark] .health-recommendation-card,html[data-theme=dark] .health-summary-card,html[data-theme=dark] .health-type-card{background:linear-gradient(180deg,rgba(17,27,41,.94),rgba(14,23,36,.92));border-color:rgba(151,177,211,.14)}html[data-theme=dark] .health-summary-card.is-active{border-color:rgba(120,164,255,.28);box-shadow:inset 0 4px 0 var(--health-accent,#20d3c1),0 18px 30px rgba(5,10,18,.34)}html[data-theme=dark] .health-summary-card.status-success{--health-accent:#20d3c1;background:linear-gradient(135deg,rgba(18,57,64,.92),rgba(17,28,46,.98))}html[data-theme=dark] .health-summary-card.status-partial{--health-accent:#f59e0b;background:linear-gradient(135deg,rgba(58,43,20,.98),rgba(29,24,15,.98))}html[data-theme=dark] .health-summary-card.status-error{--health-accent:#d94432;background:linear-gradient(135deg,rgba(64,24,29,.98),rgba(28,18,23,.98))}html[data-theme=dark] .health-summary-card.status-empty{--health-accent:#4e8fe1;background:linear-gradient(135deg,rgba(22,39,67,.98),rgba(17,28,46,.98))}html[data-theme=dark] .health-issue-card p,html[data-theme=dark] .health-item-detail,html[data-theme=dark] .health-item-detail span,html[data-theme=dark] .health-item-grid span,html[data-theme=dark] .health-recommendation-card p,html[data-theme=dark] .health-summary-card small,html[data-theme=dark] .health-summary-kicker,html[data-theme=dark] .health-type-card small,html[data-theme=dark] .health-type-issue small,html[data-theme=dark] .health-type-issue>span:first-child,html[data-theme=dark] .health-type-kicker,html[data-theme=dark] .health-type-meta{color:#9db2cc}html[data-theme=dark] .health-item-duration,html[data-theme=dark] .health-recommendation-card strong,html[data-theme=dark] .health-summary-value,html[data-theme=dark] .health-type-issue p,html[data-theme=dark] .health-type-meta strong{color:#e4efff}html[data-theme=dark] .health-type-issue{border-top-color:rgba(151,177,211,.14)}@media (max-width:1180px){.health-card-grid,.health-diagnostic-grid,.health-recommendation-grid,.health-type-grid{grid-template-columns:1fr}}.logistics-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:16px;gap:16px;margin:20px 0 22px}.logistics-summary-card{min-height:184px;padding:20px;border-radius:20px;border:1px solid rgba(75,96,124,.12);border-top:4px solid transparent;background:linear-gradient(180deg,rgba(252,254,255,.98),rgba(242,248,255,.95));transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease;overflow:hidden;position:relative}.logistics-summary-card,.logistics-summary-card-link{display:grid;grid-gap:10px;gap:10px;text-decoration:none;color:inherit}.logistics-summary-card-link{align-content:space-between;min-height:100%;width:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:left;cursor:pointer}.logistics-summary-card-link:focus-visible,.logistics-summary-card-link:hover{background:transparent;box-shadow:none}.logistics-summary-card:hover{transform:translateY(-2px);box-shadow:0 20px 36px rgba(31,57,91,.12)}.logistics-summary-card.is-active{border-color:rgba(31,94,255,.2);box-shadow:0 20px 34px rgba(31,94,255,.14)}.logistics-summary-card--remetente{border-top-color:#20d3c1;background:radial-gradient(circle at top right,rgba(32,211,193,.16),transparent 42%),linear-gradient(180deg,rgba(252,254,255,.98),rgba(242,248,255,.95))}.logistics-summary-card--destinatario{border-top-color:#4e8fe1;background:radial-gradient(circle at top right,rgba(78,143,225,.16),transparent 42%),linear-gradient(180deg,rgba(252,254,255,.98),rgba(242,248,255,.95))}.logistics-summary-card--tomador{border-top-color:#8b5cf6;background:radial-gradient(circle at top right,rgba(139,92,246,.16),transparent 42%),linear-gradient(180deg,rgba(252,254,255,.98),rgba(242,248,255,.95))}.logistics-summary-card--mdfe{border-top-color:#f59e0b;background:radial-gradient(circle at top right,rgba(245,158,11,.16),transparent 42%),linear-gradient(180deg,rgba(252,254,255,.98),rgba(242,248,255,.95))}.logistics-summary-kicker{font-size:.8rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#5f7695}.logistics-summary-card strong{font-size:2.2rem;line-height:.95}.logistics-summary-value{font-size:.98rem;font-weight:800;color:#2f486a}.logistics-summary-card small{color:#61748c;max-width:28ch;line-height:1.45}.logistics-summary-card .pending-summary-actions{margin-top:4px}.logistics-overview-strip{display:grid;grid-template-columns:repeat(2,minmax(0,260px));grid-gap:16px;gap:16px;margin-top:20px}.logistics-overview-card{background:radial-gradient(circle at top right,rgba(78,143,225,.12),transparent 40%),linear-gradient(135deg,rgba(78,143,225,.08),rgba(32,211,193,.08))}.logistics-filter-grid{grid-template-columns:repeat(6,minmax(0,1fr)) auto;margin-top:22px}.logistics-list{display:grid;grid-gap:16px;gap:16px}.logistics-item{display:grid;grid-gap:18px;gap:18px;padding:22px;border-radius:24px;border:1px solid rgba(75,96,124,.1);background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(247,251,255,.95)),linear-gradient(90deg,rgba(78,143,225,.04),transparent 35%)}.logistics-item--cte{box-shadow:inset 3px 0 0 #20d3c1,0 10px 28px rgba(31,57,91,.06)}.logistics-item--mdfe{box-shadow:inset 3px 0 0 #8b5cf6,0 10px 28px rgba(31,57,91,.06)}.logistics-item-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.logistics-item-heading{display:grid;grid-gap:8px;gap:8px;min-width:0}.logistics-item-head h3{margin:0;font-size:1.35rem;line-height:1.2}.logistics-item-badges{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.logistics-role-chip,.logistics-type-pill{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 12px;border-radius:999px;font-size:.8rem;font-weight:800}.logistics-type-pill--cte{background:rgba(32,211,193,.14);color:#0f8e88}.logistics-type-pill--mdfe{background:rgba(139,92,246,.14);color:#6d28d9}.logistics-role-chip{background:rgba(78,143,225,.1);color:#49617f}.logistics-item-status{max-width:320px;min-width:240px;padding:6px 0 6px 16px;border-left:3px solid rgba(78,143,225,.42);background:transparent;text-align:right}.logistics-item-status strong{font-size:1rem}.logistics-item-status small{display:block;margin-top:6px;line-height:1.5}.logistics-item-grid{row-gap:16px}.logistics-item-grid>div{padding-top:10px;border-top:1px solid rgba(75,96,124,.08)}.logistics-item-foot{padding-top:4px;border-top:1px solid rgba(75,96,124,.08)}html[data-theme=dark] .logistics-item,html[data-theme=dark] .logistics-summary-card{border-color:rgba(151,177,211,.12)}html[data-theme=dark] .logistics-summary-card{background:radial-gradient(circle at top right,rgba(78,143,225,.12),transparent 42%),linear-gradient(180deg,rgba(19,30,46,.96),rgba(13,22,34,.94))}html[data-theme=dark] .logistics-overview-strip .metric-modal-stat{background:linear-gradient(180deg,rgba(18,29,44,.98),rgba(15,24,38,.96));border-color:rgba(151,177,211,.14)}html[data-theme=dark] .logistics-summary-card.is-active{box-shadow:0 18px 30px rgba(4,11,22,.34)}html[data-theme=dark] .logistics-item{background:linear-gradient(180deg,rgba(19,30,46,.96),rgba(13,22,34,.94)),linear-gradient(90deg,rgba(78,143,225,.08),transparent 35%)}html[data-theme=dark] .logistics-role-chip,html[data-theme=dark] .logistics-summary-card small{color:#9eb3cb}html[data-theme=dark] .logistics-summary-value{color:#d9e7f6}html[data-theme=dark] .logistics-type-pill--cte{background:rgba(32,211,193,.18);color:#8df0e7}html[data-theme=dark] .logistics-type-pill--mdfe{background:rgba(139,92,246,.18);color:#cfb8ff}html[data-theme=dark] .logistics-summary-kicker{color:#c9d9ea}html[data-theme=dark] .logistics-summary-card:hover{box-shadow:0 24px 40px rgba(4,11,22,.34)}html[data-theme=dark] .logistics-item-status{border-left-color:rgba(78,143,225,.4);background:transparent}html[data-theme=dark] .logistics-item-foot,html[data-theme=dark] .logistics-item-grid>div{border-top-color:rgba(151,177,211,.1)}.logistics-report-modal .metric-modal-headline h3{margin-bottom:6px}.logistics-report-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.logistics-report-modal .rescue-report-row{border-radius:20px}.logistics-report-modal .rescue-report-row-head{align-items:center}.logistics-report-modal .rescue-report-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px}.logistics-report-modal .rescue-report-grid>div{min-width:0}html[data-theme=dark] .logistics-report-modal .rescue-report-row{background:linear-gradient(180deg,rgba(19,30,46,.96),rgba(13,22,34,.94));border-color:rgba(151,177,211,.12)}@media (max-width:1080px){.section-heading-actions{width:100%;justify-content:flex-start}.logistics-card-grid,.logistics-filter-grid,.logistics-overview-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.logistics-item-head{grid-template-columns:1fr;display:grid}.logistics-item-status{min-width:0;max-width:none}.logistics-report-modal .rescue-report-grid,.logistics-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.logistics-card-grid,.logistics-filter-grid,.logistics-overview-strip,.logistics-report-modal .rescue-report-grid,.logistics-report-summary{grid-template-columns:1fr}}.system-access-note{margin:10px 0 18px}.system-filters{display:grid;grid-gap:12px;gap:12px;margin-bottom:16px}.system-filter-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(160px,.7fr) minmax(160px,.7fr) auto;grid-gap:14px;gap:14px;align-items:end}.system-filter-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end;min-height:44px}.system-filter-actions .button-ghost,.system-filter-actions .button-secondary{min-width:132px}.system-access-shell{display:grid;grid-gap:18px;gap:18px}.system-collapse-trigger{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;width:100%;padding:0;border:0;background:transparent;text-align:left;color:inherit;cursor:pointer}.system-collapse-copy{display:grid;grid-gap:10px;gap:10px}.system-collapse-copy h2{margin:0}.system-collapse-copy .muted{margin:0;max-width:72ch}.system-collapse-action{display:inline-flex;align-items:center;gap:10px;align-self:center;min-height:46px;padding:0 14px;border-radius:999px;border:1px solid rgba(75,96,124,.1);background:rgba(78,143,225,.05);font-weight:800;white-space:nowrap}.system-collapse-label{font-size:.9rem}.system-collapse-icon{width:18px;height:18px;transition:transform .18s ease}.system-collapse-icon.expanded{transform:rotate(180deg)}.system-access-collapsible{display:grid;grid-gap:18px;gap:18px}.system-access-table{display:grid;grid-gap:12px;gap:12px}.system-access-head{grid-template-columns:minmax(0,1.55fr) minmax(140px,.85fr) minmax(140px,.95fr) minmax(160px,.9fr) minmax(0,1.45fr);padding:0 18px;color:#57708d;font-size:.8rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.system-access-body,.system-access-head{display:grid;grid-gap:12px;gap:12px}.system-user-row{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(140px,.85fr) minmax(140px,.95fr) minmax(160px,.9fr) minmax(0,1.45fr);grid-gap:12px;gap:12px;align-items:center;padding:18px;border-radius:22px;border:1px solid rgba(75,96,124,.1);background:linear-gradient(180deg,rgba(252,254,255,.98),rgba(246,250,255,.95));overflow:visible}.system-user-row.is-inactive{opacity:.86;background:linear-gradient(180deg,rgba(250,245,245,.98),rgba(245,241,241,.95))}.system-user-actions-cell,.system-user-meta-cell,.system-user-name-cell{min-width:0}.system-user-name-cell{display:grid;grid-gap:6px;gap:6px}.system-user-name-cell strong{color:#203250;font-size:1rem}.system-user-meta-cell small,.system-user-name-cell small{color:#5f7796}.system-user-role-cell select{width:100%;min-height:44px;padding:10px 12px;border-radius:14px;border:1px solid rgba(75,96,124,.12);background:rgba(255,255,255,.92);color:var(--text)}.system-user-active-cell{display:flex;align-items:center}.system-inline-check{min-height:44px;width:100%;padding:10px 12px;border-radius:14px;border:1px solid rgba(75,96,124,.08);background:rgba(78,143,225,.04);justify-content:flex-start}.system-user-meta-cell{display:grid;grid-gap:6px;gap:6px}.system-user-actions-cell{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-start;align-items:center;overflow:visible}.system-action-icon-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;padding:0;border-radius:18px;border:1px solid rgba(75,96,124,.14);background:rgba(255,255,255,.92);color:#23344d;box-shadow:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease,color .18s ease}.system-action-icon-button:focus-visible,.system-action-icon-button:hover{transform:translateY(-1px);border-color:rgba(78,143,225,.24);background:rgba(248,251,255,.98);box-shadow:0 14px 24px rgba(31,57,91,.12)}.system-action-icon-button--primary{border-color:rgba(46,124,255,.2);background:linear-gradient(135deg,rgba(31,94,255,.12),rgba(46,124,255,.2));color:#1d4ed8}.system-action-icon-button__icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px}.system-action-icon-button__icon svg{width:20px;height:20px}.system-action-icon-button__tooltip{position:absolute;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%) translateY(4px);opacity:0;pointer-events:none;padding:10px 14px;border-radius:14px;background:rgba(255,255,255,.98);color:#203250;font-size:.88rem;font-weight:700;line-height:1.1;white-space:nowrap;box-shadow:0 18px 30px rgba(31,57,91,.18);transition:opacity .16s ease,transform .16s ease;z-index:8}.system-action-icon-button:focus-visible .system-action-icon-button__tooltip,.system-action-icon-button:hover .system-action-icon-button__tooltip{opacity:1;transform:translateX(-50%) translateY(0)}.system-action-icon-button:disabled{opacity:.58;pointer-events:none}.system-user-row-feedback{grid-column:1/-1;margin-top:2px}.system-drawer{width:min(680px,100%)}.system-drawer .form-grid{gap:14px}.system-view-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;margin-top:16px}.system-view-check{min-height:52px;padding:12px 14px;border-radius:16px;border:1px solid rgba(75,96,124,.1);background:linear-gradient(180deg,rgba(252,254,255,.98),rgba(246,250,255,.95));justify-content:flex-start;gap:10px;font-weight:700}.system-view-hint{margin:12px 0 0}html[data-theme=dark] .system-access-head{color:#9cb2cc}html[data-theme=dark] .system-collapse-action{border-color:rgba(151,177,211,.14);background:rgba(20,31,47,.92);color:#e4edf7}html[data-theme=dark] .system-user-row{border-color:rgba(151,177,211,.12);background:linear-gradient(180deg,rgba(18,29,44,.96),rgba(14,22,34,.94))}html[data-theme=dark] .system-user-row.is-inactive{background:linear-gradient(180deg,rgba(47,26,31,.72),rgba(26,20,24,.82))}html[data-theme=dark] .system-user-name-cell strong{color:#eef4fb}html[data-theme=dark] .system-access-note,html[data-theme=dark] .system-user-meta-cell small,html[data-theme=dark] .system-user-name-cell small{color:#9cb2cc}html[data-theme=dark] .system-filter-actions .pending-filter-summary__clear{color:#a9bad0}html[data-theme=dark] .system-filter-actions .pending-filter-summary__clear:hover{color:#9fc1ff}html[data-theme=dark] .system-action-icon-button,html[data-theme=dark] .system-inline-check,html[data-theme=dark] .system-user-role-cell select{border-color:rgba(151,177,211,.14);background:rgba(20,31,47,.92);color:#e4edf7}html[data-theme=dark] .system-action-icon-button:focus-visible,html[data-theme=dark] .system-action-icon-button:hover{border-color:rgba(120,164,255,.26);background:rgba(24,37,57,.98);box-shadow:0 16px 28px rgba(4,11,22,.3)}html[data-theme=dark] .system-action-icon-button--primary{border-color:rgba(120,164,255,.22);background:linear-gradient(135deg,rgba(31,94,255,.2),rgba(46,124,255,.14));color:#d9e7ff}html[data-theme=dark] .system-action-icon-button__tooltip{background:rgba(236,243,251,.98);color:#203250;box-shadow:0 18px 32px rgba(4,11,22,.42)}html[data-theme=dark] .system-view-check{border-color:rgba(151,177,211,.14);background:linear-gradient(180deg,rgba(18,29,44,.96),rgba(14,22,34,.94));color:#e4edf7}@media (max-width:1180px){.system-filter-grid{grid-template-columns:1fr 1fr}.system-filter-actions{grid-column:1/-1;justify-content:flex-start}.system-access-head{display:none}.system-user-row{grid-template-columns:repeat(2,minmax(0,1fr))}.system-user-actions-cell,.system-user-row-feedback{grid-column:1/-1}}@media (max-width:720px){.system-collapse-trigger{flex-direction:column;align-items:flex-start}.system-filter-grid,.system-user-row,.system-view-grid{grid-template-columns:1fr}.system-user-actions-cell,.system-user-active-cell,.system-user-meta-cell,.system-user-role-cell{grid-column:1}.system-user-actions-cell .button-ghost,.system-user-actions-cell .button-secondary{width:100%}.system-action-icon-button{width:48px;height:48px}.system-action-icon-button__tooltip{left:50%;top:calc(100% + 10px);bottom:auto;transform:translateX(-50%) translateY(-4px)}.system-action-icon-button:focus-visible .system-action-icon-button__tooltip,.system-action-icon-button:hover .system-action-icon-button__tooltip{transform:translateX(-50%) translateY(0)}}.rescue-panel{background:rgba(255,255,255,.94)}html[data-theme=dark] .rescue-panel{background:linear-gradient(180deg,rgba(17,27,41,.96),rgba(13,22,35,.94));border-color:rgba(151,177,211,.14)}html[data-theme=dark] .rescue-panel h2,html[data-theme=dark] .rescue-panel strong{color:#eef4fb}html[data-theme=dark] .rescue-panel .muted,html[data-theme=dark] .rescue-panel small{color:#d0deed}html[data-theme=dark] .rescue-panel .field label,html[data-theme=dark] .rescue-panel .rescue-metric-card span,html[data-theme=dark] .rescue-panel .rescue-report-grid small{color:#d8e4f2}html[data-theme=dark] .rescue-panel .dashboard-filter-shell{background:linear-gradient(180deg,rgba(19,30,46,.98),rgba(15,24,38,.96));border-color:rgba(151,177,211,.14)}html[data-theme=dark] .rescue-panel .button-secondary{background:linear-gradient(135deg,rgba(31,44,66,.98),rgba(24,36,55,.98));color:#eef4fb;border:1px solid rgba(151,177,211,.14)}html[data-theme=dark] .rescue-actions .button.is-disabled{background:rgba(27,41,61,.82);color:#97abc4;border:1px solid rgba(151,177,211,.12)}.rescue-form{display:grid;grid-template-columns:minmax(220px,320px) auto;grid-gap:12px;gap:12px;align-items:end;margin-top:18px}.rescue-metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:16px;gap:16px;margin-top:22px}.rescue-metric-card{--rescue-accent:#20d3c1;display:grid;grid-gap:8px;gap:8px;padding:18px;border-radius:20px;border:1px solid rgba(75,96,124,.08);border-top:4px solid transparent;background:linear-gradient(135deg,rgba(78,143,225,.08),rgba(32,211,193,.08));box-shadow:inset 0 4px 0 var(--rescue-accent)}.rescue-metric-nfe{--rescue-accent:#4c8fe5;border-top-color:#4c8fe5;background:linear-gradient(135deg,rgba(76,143,229,.1),rgba(76,143,229,.03))}.rescue-metric-cte{--rescue-accent:#3ac779;border-top-color:#3ac779;background:linear-gradient(135deg,rgba(58,199,121,.1),rgba(58,199,121,.03))}.rescue-metric-mdfe{--rescue-accent:#8f78ff;border-top-color:#8f78ff;background:linear-gradient(135deg,rgba(143,120,255,.1),rgba(143,120,255,.03))}.rescue-metric-all,.rescue-metric-card.accent{--rescue-accent:#16a394;border-top-color:#16a394;background:linear-gradient(135deg,rgba(15,118,110,.12),rgba(78,143,225,.12))}.rescue-metric-button{width:100%;text-align:left;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.rescue-metric-button:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(85,106,132,.12),inset 0 4px 0 var(--rescue-accent)}html[data-theme=dark] .rescue-metric-card{border-color:rgba(151,177,211,.12);background:linear-gradient(135deg,rgba(20,31,47,.98),rgba(17,27,41,.98))}html[data-theme=dark] .rescue-metric-nfe{--rescue-accent:#4c8fe5;border-top-color:#4c8fe5;background:linear-gradient(135deg,rgba(24,36,57,.98),rgba(18,29,45,.98))}html[data-theme=dark] .rescue-metric-cte{--rescue-accent:#3ac779;border-top-color:#3ac779;background:linear-gradient(135deg,rgba(21,40,31,.98),rgba(15,30,24,.98))}html[data-theme=dark] .rescue-metric-mdfe{--rescue-accent:#8f78ff;border-top-color:#8f78ff;background:linear-gradient(135deg,rgba(30,24,49,.98),rgba(19,21,38,.98))}html[data-theme=dark] .rescue-metric-all,html[data-theme=dark] .rescue-metric-card.accent{--rescue-accent:#20d3c1;border-top-color:#20d3c1;background:linear-gradient(135deg,rgba(18,57,64,.92),rgba(27,41,61,.98))}html[data-theme=dark] .rescue-metric-button:hover{box-shadow:0 18px 34px rgba(5,10,18,.34),inset 0 4px 0 var(--rescue-accent)}.rescue-metric-card span{font-size:.82rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#58708b}html[data-theme=dark] .rescue-metric-card span{color:#9fb3ca}.rescue-metric-card strong{font-size:2rem;color:#31465d}html[data-theme=dark] .rescue-metric-card strong{color:#edf3fb}.rescue-metric-card small{color:#6d7b8d}html[data-theme=dark] .rescue-metric-card small{color:#d7e4f2}.rescue-actions{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;margin-top:22px}.button.is-disabled{opacity:.55;pointer-events:none}.rescue-report-modal{width:min(1080px,100%)}.rescue-report-head{align-items:flex-start;padding-right:82px}.rescue-report-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.rescue-report-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px;margin-top:18px}.rescue-report-list{display:grid;grid-gap:14px;gap:14px;margin-top:22px}.rescue-report-row{display:grid;grid-gap:14px;gap:14px;padding:18px;border-radius:20px;border:1px solid rgba(75,96,124,.1);background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,251,255,.94))}html[data-theme=dark] .rescue-report-row{border-color:rgba(151,177,211,.14);background:linear-gradient(180deg,rgba(18,29,44,.98),rgba(15,24,38,.96))}html[data-theme=dark] .rescue-report-modal .section-count-pill,html[data-theme=dark] .rescue-report-type{color:#eef7ff}html[data-theme=dark] .rescue-report-grid small{color:#d3e1ef}html[data-theme=dark] .rescue-report-grid strong,html[data-theme=dark] .rescue-report-row-head strong{color:#eef4fb}.rescue-report-row-head{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.rescue-report-row-head strong{color:var(--text)}.rescue-report-type{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border-radius:999px;background:rgba(32,211,193,.12);color:#0f8e88;font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}html[data-theme=dark] .rescue-report-type{background:rgba(32,211,193,.18);color:#9df8ee}html[data-theme=dark] .rescue-report-actions .button-secondary{background:linear-gradient(135deg,rgba(31,44,66,.98),rgba(24,36,55,.98));color:#eef4fb}html[data-theme=dark] .rescue-report-modal .pagination-control,html[data-theme=dark] .rescue-report-modal .pagination-page{background:rgba(18,29,44,.96)}.rescue-report-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:14px 18px;gap:14px 18px}.rescue-report-grid>div{display:grid;grid-gap:4px;gap:4px}.rescue-report-grid small{color:var(--muted);font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em}.rescue-report-grid strong{color:var(--text);line-height:1.4;word-break:break-word}.rescue-report-recipient{grid-column:1/-1}.rescue-report-pagination{margin-top:22px}@media (max-width:960px){.rescue-report-grid,.rescue-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.rescue-report-head{padding-right:0}.rescue-report-grid,.rescue-report-summary{grid-template-columns:1fr}}.document-group-list{display:grid;grid-gap:16px;gap:16px}.document-group-card{border:1px solid rgba(75,96,124,.08);border-radius:24px;background:#f2f7fc;overflow:hidden;position:relative}html[data-theme=dark] .document-group-card{background:linear-gradient(180deg,rgba(17,27,41,.98),rgba(13,21,33,.96));border-color:rgba(151,177,211,.14)}html[data-theme=dark] .document-group-summary,html[data-theme=dark] .document-timeline-body{color:#eef4fb}html[data-theme=dark] .document-group-status small{color:#c1d0e1}.document-group-card:before{content:"";display:block;height:4px;background:linear-gradient(90deg,#5a9ff0,#2f74d0)}.document-group-card-cte:before{background:linear-gradient(90deg,#57d98f,#1f9d57)}.document-group-card-mdfe:before{background:linear-gradient(90deg,#9b7bff,#7c4dff)}.document-group-summary{list-style:none;cursor:pointer;padding:18px 18px 16px}.document-group-summary::-webkit-details-marker{display:none}.document-group-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.document-group-title-wrap{display:flex;gap:14px;align-items:flex-start}.document-group-title{display:block;font-size:1.08rem;margin-bottom:6px}.document-group-key{display:block;color:#6e7f94;margin-top:4px;word-break:break-all}html[data-theme=dark] .document-group-status small,html[data-theme=dark] .document-group-title{color:#eef4fb}html[data-theme=dark] .document-group-key,html[data-theme=dark] .document-meta-block span,html[data-theme=dark] .document-meta-tag,html[data-theme=dark] .document-timeline-bottom small,html[data-theme=dark] .document-timeline-kind,html[data-theme=dark] .document-timeline-schema{color:#c4d3e3}.document-group-status{display:grid;justify-items:end;grid-gap:8px;gap:8px;text-align:right}.group-status-badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;font-size:.76rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.group-status-badge.success{background:rgba(32,211,193,.14);color:#0f8e88}.group-status-badge.warning{background:rgba(255,183,77,.16);color:#a86008}.group-status-badge.danger{background:rgba(180,35,24,.12);color:#b42318}.document-group-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid rgba(75,96,124,.08)}.document-meta-block,.document-meta-tags{display:grid;grid-gap:6px;gap:6px}.document-meta-block span{font-size:.76rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#667a90}.document-meta-block strong{color:#31465d}html[data-theme=dark] .document-bar-group strong,html[data-theme=dark] .document-meta-block strong,html[data-theme=dark] .document-timeline-bottom strong,html[data-theme=dark] .document-timeline-top strong{color:#eef4fb}.document-meta-tags{align-content:start;justify-items:end}.document-meta-tag{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:rgba(78,143,225,.09);color:#3469b2;font-size:.78rem;font-weight:700}html[data-theme=dark] .document-meta-tag{background:rgba(78,143,225,.18);color:#deebfb}html[data-theme=dark] .document-preview-button{box-shadow:0 12px 24px rgba(15,159,180,.2)}html[data-theme=dark] .document-download-button{box-shadow:0 12px 24px rgba(21,88,223,.2)}html[data-theme=dark] .group-status-badge.success{background:rgba(32,211,193,.18);color:#7df0e5}html[data-theme=dark] .group-status-badge.warning{background:rgba(255,183,77,.18);color:#ffc980}html[data-theme=dark] .group-status-badge.danger{background:rgba(180,35,24,.2);color:#ff9c95}.company-pill-nfe{background:rgba(90,159,240,.12);color:#2f74d0}.company-pill-cte{background:rgba(58,199,121,.14);color:#1f9d57}.company-pill-mdfe{background:rgba(124,77,255,.14);color:#6d43de}html[data-theme=dark] .company-pill-nfe{background:rgba(76,143,229,.18);color:#8fc3ff}html[data-theme=dark] .company-pill-cte{background:rgba(58,199,121,.2);color:#8fe2b2}html[data-theme=dark] .company-pill-mdfe{background:rgba(143,120,255,.2);color:#c7b6ff}.document-timeline{display:grid;grid-gap:0;gap:0;padding:0 18px 18px}.document-timeline-item{display:grid;grid-template-columns:18px minmax(0,1fr);grid-gap:12px;gap:12px;padding-top:16px;border-top:1px dashed rgba(75,96,124,.12)}html[data-theme=dark] .document-group-meta,html[data-theme=dark] .document-timeline-item{border-top-color:rgba(151,177,211,.12)}.document-timeline-marker{width:12px;height:12px;margin-top:6px;border-radius:999px;background:linear-gradient(180deg,#5a9ff0,#20d3c1);box-shadow:0 0 0 4px rgba(90,159,240,.12)}.document-timeline-marker-cte{background:linear-gradient(180deg,#57d98f,#1f9d57);box-shadow:0 0 0 4px rgba(58,199,121,.16)}.document-timeline-marker-mdfe{background:linear-gradient(180deg,#9b7bff,#7c4dff);box-shadow:0 0 0 4px rgba(124,77,255,.16)}.document-timeline-body{display:grid;grid-gap:12px;gap:12px}.document-timeline-bottom,.document-timeline-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.document-timeline-type{display:inline-flex;align-items:center;gap:6px;margin-bottom:6px;padding:5px 9px;border-radius:999px;background:rgba(15,118,110,.09);color:#0f766e;font-size:.74rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.document-timeline-type-icon{font-size:.72rem;line-height:1}.document-timeline-type-nfe{background:rgba(90,159,240,.12);color:#2f74d0}.document-timeline-type-cte{background:rgba(58,199,121,.14);color:#1f9d57}.document-timeline-type-mdfe{background:rgba(124,77,255,.14);color:#6d43de}.document-timeline-type-kind-principal{box-shadow:inset 0 0 0 1px rgba(15,118,110,.08)}.document-timeline-type-kind-resumo{background:rgba(255,183,77,.16);color:#a86008}.document-timeline-type-kind-evento{background:rgba(32,211,193,.14);color:#0f8e88}.document-timeline-type-kind-tecnico{background:rgba(112,126,147,.14);color:#53657b}.document-timeline-kind{display:block;margin-bottom:6px;color:#6e7f94;font-size:.78rem;font-weight:700}.document-timeline-kind-principal{color:#2c5d95}.document-timeline-kind-resumo{color:#a86008}.document-timeline-kind-evento{color:#0f8e88}.document-timeline-kind-tecnico{color:#53657b}html[data-theme=dark] .document-timeline-kind-principal{color:#8fc3ff}html[data-theme=dark] .document-timeline-kind-resumo{color:#ffc06b}html[data-theme=dark] .document-timeline-kind-evento{color:#5ce7d7}html[data-theme=dark] .document-timeline-kind-tecnico{color:#aab9cb}html[data-theme=dark] .document-timeline-type-nfe{background:rgba(76,143,229,.2);color:#9fc9ff}html[data-theme=dark] .document-timeline-type-cte{background:rgba(58,199,121,.22);color:#98e7bc}html[data-theme=dark] .document-timeline-type-mdfe{background:rgba(143,120,255,.22);color:#d0c0ff}html[data-theme=dark] .document-timeline-type-kind-resumo{background:rgba(255,183,77,.22);color:#ffd08a}html[data-theme=dark] .document-timeline-type-kind-evento{background:rgba(32,211,193,.22);color:#9df8ee}html[data-theme=dark] .document-timeline-type-kind-tecnico{background:rgba(112,126,147,.22);color:#c7d5e4}html[data-theme=dark] .document-download-button,html[data-theme=dark] .document-preview-button{box-shadow:none}.document-timeline-side{display:grid;grid-gap:6px;gap:6px;text-align:right}.document-timeline-bottom{flex-wrap:wrap;padding-bottom:2px}.document-timeline-bottom small{color:#6e7f94}.document-action-group{margin-left:auto;display:inline-flex;align-items:center;gap:12px}.document-timeline-schema{display:inline-flex;justify-content:flex-end;margin-top:2px;color:#6e7f94}.document-download{margin-left:auto}.document-download-button,.document-preview-button{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:999px;border:0;background:linear-gradient(180deg,#17d3de,#1558df);color:white;box-shadow:0 14px 28px rgba(21,88,223,.28);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.document-preview-button{background:linear-gradient(180deg,#3ddcc7,#0f9fb4);box-shadow:0 14px 28px rgba(15,159,180,.24)}.document-preview-button-nfe{background:linear-gradient(180deg,#71b5ff,#2968d8);box-shadow:0 14px 28px rgba(41,104,216,.24)}.document-preview-button-cte{background:linear-gradient(180deg,#57d98f,#1f9d57);box-shadow:0 14px 28px rgba(31,157,87,.24)}.document-preview-button-mdfe{background:linear-gradient(180deg,#b69dff,#7c4dff);box-shadow:0 14px 28px rgba(124,77,255,.24)}.document-download-button:hover,.document-preview-button:hover{transform:translateY(-1px);filter:saturate(1.05)}.document-preview-button:hover{box-shadow:0 18px 34px rgba(15,159,180,.3)}.document-preview-button-nfe:hover{box-shadow:0 18px 34px rgba(41,104,216,.32)}.document-preview-button-cte:hover{box-shadow:0 18px 34px rgba(31,157,87,.3)}.document-preview-button-mdfe:hover{box-shadow:0 18px 34px rgba(124,77,255,.3)}.document-download-button:hover{box-shadow:0 18px 34px rgba(21,88,223,.34)}.document-download-icon,.document-preview-icon{position:relative;width:14px;height:17px;display:inline-flex;align-items:center;justify-content:center;color:white}.document-preview-icon{width:auto;height:auto;font-size:.56rem;font-weight:800;letter-spacing:.08em}.download-arrow{position:absolute;top:-2px;font-size:.92rem;line-height:1;font-weight:700}.download-line{position:absolute;bottom:0;width:13px;height:3px;border-radius:999px;background:white}.document-download-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media (max-width:980px){.auth-grid,.dashboard-app,.dashboard-grid,.dashboard-panels,.metric-grid,.toolbar-grid{grid-template-columns:1fr}.dashboard-sidebar{display:none}.session-header-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{position:static}.company-switch-form,.dashboard-filter-grid,.doc-row,.doc-row.modern,.metric-modal-summary,.pending-card-grid,.pending-item-grid,.rescue-form,.rescue-metric-grid,.toolbar-period-form{grid-template-columns:1fr}.document-group-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.document-group-head,.document-timeline-bottom,.document-timeline-top,.pending-item-foot,.pending-item-head{flex-direction:column;align-items:stretch}.document-group-status,.document-meta-tags,.document-timeline-side,.pending-item-badges,.pending-item-status{justify-items:start;text-align:left}.document-download{margin-left:0}}@media (max-width:720px){.three-columns,.two-columns{grid-template-columns:1fr}.drawer-company-card-head,.drawer-section-head,.floating-drawer-head,.session-header-main{flex-direction:column;align-items:stretch}.session-header-grid{grid-template-columns:1fr}.floating-menu{position:relative}.floating-menu-panel{left:0;right:auto;top:68px;bottom:auto}.floating-drawer-backdrop{padding:14px;align-items:flex-end}.dashboard-body,.dashboard-topbar{padding-left:14px;padding-right:14px}.panel-inner,.section{padding:18px}.dashboard-topbar,.dashboard-topbar-left,.dashboard-topbar-right,.metric-modal-head,.rescue-actions,.section-heading,.session-modal-head,.toolbar-period-head{flex-direction:column;align-items:stretch}.document-group-meta,.session-modal-grid{grid-template-columns:1fr}.document-group-title-wrap{flex-direction:column}.metric-toggle{width:100%;justify-content:space-between}.metric-toggle button{flex:1 1}.app-loading-card{padding:22px 18px;gap:22px;border-radius:24px}.app-loading-grid{grid-template-columns:1fr}.app-loading-panel{min-height:132px}.app-loading-title{width:100%}.app-loading-line-short{width:82%}}