:root{color-scheme:light dark;--brand-primary: #0f172a;--brand-secondary: #059669;--brand-accent: #d97706;--mandant-accent: #059669;--surface-canvas: #f8fafc;--surface-card: #ffffff;--surface-elevated: #f1f5f9;--surface-header: var(--brand-primary);--text-main: #0f172a;--text-muted: #475569;--text-on-brand: #f8fafc;--border-subtle: #cbd5e1;--border-strong: #94a3b8;--brand-secondary-soft: color-mix(in oklab, var(--brand-secondary) 14%, var(--surface-card));--brand-secondary-solid: color-mix(in oklab, var(--brand-secondary) 72%, black);--brand-secondary-hover: color-mix(in oklab, var(--brand-secondary) 56%, black);--brand-secondary-fg: color-mix(in oklab, var(--brand-secondary) 72%, black);--brand-accent-soft: color-mix(in oklab, var(--brand-accent) 16%, var(--surface-card));--brand-accent-solid: color-mix(in oklab, var(--brand-accent) 65%, black);--brand-accent-hover: color-mix(in oklab, var(--brand-accent) 52%, black);--mandant-tint: color-mix(in oklab, var(--mandant-accent) 12%, var(--surface-card));--status-ok-fg: #065f46;--status-ok-bg: #d1fae5;--status-warn-fg: #92400e;--status-warn-bg: #fef3c7;--status-err-fg: #991b1b;--status-err-bg: #fee2e2;--status-info-fg: #1e40af;--status-info-bg: #dbeafe;--radius-sm: 6px;--radius-md: 10px;--radius-lg: 14px;--shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);--shadow-md: 0 6px 18px rgba(15, 23, 42, .1)}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--surface-canvas: #0b1120;--surface-card: #111827;--surface-elevated: #1e293b;--text-main: #f1f5f9;--text-muted: #94a3b8;--border-subtle: #334155;--border-strong: #475569;--brand-secondary-fg: color-mix(in oklab, var(--brand-secondary) 68%, white);--status-ok-fg: #6ee7b7;--status-ok-bg: #064e3b;--status-warn-fg: #fcd34d;--status-warn-bg: #78350f;--status-err-fg: #fca5a5;--status-err-bg: #7f1d1d;--status-info-fg: #93c5fd;--status-info-bg: #1e3a8a}}:root[data-theme=dark]{color-scheme:dark;--surface-canvas: #0b1120;--surface-card: #111827;--surface-elevated: #1e293b;--text-main: #f1f5f9;--text-muted: #94a3b8;--border-subtle: #334155;--border-strong: #475569;--brand-secondary-fg: color-mix(in oklab, var(--brand-secondary) 68%, white);--status-ok-fg: #6ee7b7;--status-ok-bg: #064e3b;--status-warn-fg: #fcd34d;--status-warn-bg: #78350f;--status-err-fg: #fca5a5;--status-err-bg: #7f1d1d;--status-info-fg: #93c5fd;--status-info-bg: #1e3a8a}:root[data-theme=light]{color-scheme:light}@supports (color: light-dark(white,black)){:root:not([data-theme=light]):not([data-theme=dark]){--surface-canvas: light-dark(#f8fafc, #0b1120);--surface-card: light-dark(#ffffff, #111827);--surface-elevated: light-dark(#f1f5f9, #1e293b);--text-main: light-dark(#0f172a, #f1f5f9);--text-muted: light-dark(#475569, #94a3b8);--border-subtle: light-dark(#cbd5e1, #334155);--brand-secondary-fg: light-dark( color-mix(in oklab, var(--brand-secondary) 72%, black), color-mix(in oklab, var(--brand-secondary) 68%, white) )}}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;height:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.45;background:var(--surface-canvas);color:var(--text-main)}.num,td.num,th.num{font-variant-numeric:tabular-nums;text-align:right;font-family:ui-monospace,Cascadia Mono,SFMono-Regular,Consolas,monospace}td.num,th.num{white-space:nowrap}.card{min-inline-size:0;background:var(--surface-card);border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:1rem 1.25rem;box-shadow:var(--shadow-sm)}.btn{display:inline-flex;align-items:center;gap:.45rem;padding:.48rem .9rem;border-radius:var(--radius-sm);border:1px solid var(--border-subtle);background:var(--surface-card);color:var(--text-main);font-weight:600;font-size:.875rem;cursor:pointer;transition:background .12s ease,border-color .12s ease}.btn:hover:not(:disabled){background:var(--surface-elevated)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--brand-secondary-solid);border-color:var(--brand-secondary-solid);color:#fff}.btn-primary:hover:not(:disabled){background:var(--brand-secondary-hover);border-color:var(--brand-secondary-hover)}.btn-accent{background:var(--brand-accent-solid);border-color:var(--brand-accent-solid);color:#fff}.btn-accent:hover:not(:disabled){background:var(--brand-accent-hover);border-color:var(--brand-accent-hover)}.btn-danger{background:var(--status-err-bg);border-color:var(--status-err-fg);color:var(--status-err-fg)}input,select,textarea{padding:.45rem .65rem;border:1px solid var(--border-subtle);border-radius:var(--radius-sm);background:var(--surface-card);color:var(--text-main);font:inherit}input:focus,select:focus,textarea:focus{outline:2px solid var(--brand-secondary);outline-offset:1px;border-color:var(--brand-secondary)}:is(input,select,textarea):user-invalid{border-color:var(--status-err-fg);background:var(--status-err-bg)}dialog{padding:0;border:1px solid var(--border-strong);border-radius:var(--radius-lg);background:var(--surface-card);color:var(--text-main);width:min(860px,94vw);max-height:88vh;box-shadow:var(--shadow-md)}dialog:modal{overscroll-behavior:contain}dialog::backdrop{overflow:hidden;overscroll-behavior:contain;background:#0f172a94}.dialog-surface{display:grid;gap:1rem;padding:1.25rem 1.4rem}.dialog-hdr{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding-bottom:.65rem;border-bottom:1px solid var(--border-subtle)}.dialog-hdr h2{margin:0;font-size:1.1rem}.dialog-ftr{display:flex;justify-content:flex-end;gap:.55rem;flex-wrap:wrap;padding-top:.75rem;border-top:1px solid var(--border-subtle)}@property --fade-start{syntax: "<length>"; inherits: false; initial-value: 0px;}@property --fade-end{syntax: "<length>"; inherits: false; initial-value: 0px;}.tab-strip{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;gap:.2rem;border-bottom:1px solid var(--border-subtle);scroll-snap-type:inline proximity;--fade-size: 2.25rem;--fade-dir: right;--fade-start-pos: 0;--fade-end-pos: 100%;scroll-padding-inline:var(--fade-size);mask:linear-gradient(black,black) no-clip subtract,linear-gradient(to var(--fade-dir),black,transparent) var(--fade-start-pos) 0 / var(--fade-start) 100% no-repeat no-clip,linear-gradient(to var(--fade-dir),transparent,black) var(--fade-end-pos) 0 / var(--fade-end) 100% no-repeat no-clip;animation:reveal-fade-start linear both,hide-fade-end linear both;animation-timeline:scroll(self inline);animation-range:0 var(--fade-size),calc(100% - var(--fade-size)) 100%;transition:--fade-start .2s,--fade-end .2s}.tab-strip::-webkit-scrollbar{display:none}.tab-strip:dir(rtl){--fade-dir: left;--fade-start-pos: 100%;--fade-end-pos: 0}.tab-strip.more-start{--fade-start: var(--fade-size)}.tab-strip.more-end{--fade-end: var(--fade-size)}@keyframes reveal-fade-start{to{--fade-start: var(--fade-size)}}@keyframes hide-fade-end{0%{--fade-end: var(--fade-size)}}.tab-strip [role=tab]{flex:none;position:relative;scroll-snap-align:start;display:inline-flex;align-items:center;gap:.35rem;padding:.55rem .72rem;border:none;background:transparent;color:var(--text-muted);font:inherit;font-weight:600;font-size:.82rem;white-space:nowrap;cursor:pointer}.tab-strip [role=tab]:hover{color:var(--text-main);background:var(--surface-elevated)}.tab-strip [role=tab]:focus-visible{outline:2px solid var(--brand-secondary);outline-offset:-2px}.tab-strip [role=tab][aria-selected=true]{color:var(--brand-secondary-fg)}.tab-strip [role=tab][aria-selected=true]:after{content:"";position:absolute;inset:auto 0 0;border-block-end:3px solid var(--brand-secondary-fg)}.visually-hidden:where(:not(:focus-within,:active)){position:absolute!important;clip-path:inset(50%)!important;overflow:hidden!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;border:0!important;white-space:nowrap!important}.table-wrapper{container-type:inline-size;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;max-inline-size:100%;max-height:68vh;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-card)}.table-wrapper:focus-visible{outline:2px solid var(--brand-secondary);outline-offset:2px}table.fin-table{width:100%;border-collapse:collapse;font-size:.85rem}table.fin-table thead{position:sticky;inset-block-start:0;z-index:2;background:var(--surface-elevated)}table.fin-table thead th{background:var(--surface-elevated);color:var(--text-main);font-weight:700;text-align:left;padding:.55rem .75rem;border-bottom:2px solid var(--border-subtle);white-space:nowrap}table.fin-table thead tr:has(+tr.col-filter-row) th{border-bottom:1px solid var(--border-subtle)}table.fin-table thead tr.col-filter-row th{background:var(--surface-card);padding:.3rem .45rem;border-bottom:2px solid var(--border-subtle);font-weight:500;vertical-align:middle}.col-filter{width:100%;min-width:3.2rem;box-sizing:border-box;padding:.25rem .42rem;font-size:.75rem;font-family:inherit;color:var(--text-main);background:var(--surface-elevated);border:1px solid var(--border-subtle);border-radius:5px}th.num .col-filter{text-align:right}.col-filter:focus{outline:2px solid var(--brand-secondary);outline-offset:-1px;background:var(--surface-card)}.col-filter::placeholder{color:var(--text-muted)}.btn-col-reset{padding:.2rem .45rem;font-size:.75rem;line-height:1.1;border-radius:5px;border:1px solid var(--border-subtle);background:var(--surface-elevated);color:var(--text-muted);cursor:pointer}.btn-col-reset:hover{color:var(--text-main);border-color:var(--border-strong)}dialog.dialog-sm{width:min(520px,94vw)}dialog.dialog-xl{width:min(1160px,96vw)}dialog .table-wrapper{max-height:55vh;overflow:auto}table.fin-table thead th.num{text-align:right}table.fin-table tbody td{padding:.5rem .75rem;border-bottom:1px solid var(--border-subtle);vertical-align:middle}table.fin-table tbody tr:hover{background:var(--brand-secondary-soft)}.badge{display:inline-flex;align-items:center;gap:.3rem;padding:.18rem .55rem;border-radius:999px;font-size:.75rem;font-weight:700;white-space:nowrap}.badge-ok{background:var(--status-ok-bg);color:var(--status-ok-fg)}.badge-warn{background:var(--status-warn-bg);color:var(--status-warn-fg)}.badge-err{background:var(--status-err-bg);color:var(--status-err-fg)}.badge-info{background:var(--status-info-bg);color:var(--status-info-fg)}kbd{display:inline-block;padding:.1rem .38rem;font-size:.72rem;font-family:ui-monospace,monospace;border:1px solid var(--border-subtle);border-radius:4px;background:var(--surface-elevated)}table.fin-table thead th .sort-btn{display:inline-flex;align-items:center;gap:.35rem;padding:0;margin:0;border:none;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer;text-align:inherit;width:100%}table.fin-table thead th.num .sort-btn{justify-content:flex-end}table.fin-table thead th .sort-btn:hover{color:var(--brand-secondary-fg)}table.fin-table thead th .sort-btn:focus-visible{outline:2px solid var(--brand-secondary);outline-offset:2px;border-radius:3px}.sort-indicator,.sort-ind{font-size:.72rem;opacity:.55;flex-shrink:0}th[aria-sort=ascending] .sort-indicator,th[aria-sort=descending] .sort-indicator,th[aria-sort=ascending] .sort-ind,th[aria-sort=descending] .sort-ind{opacity:1;color:var(--brand-secondary-fg)}.report-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:.65rem;padding:.65rem .85rem;background:var(--surface-elevated);border:1px solid var(--border-subtle);border-radius:var(--radius-md);margin-bottom:.75rem}.report-toolbar-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.6rem}.toolbar-field{display:flex;flex-direction:column;gap:.2rem;font-size:.76rem;font-weight:600;color:var(--text-muted)}.toolbar-field select,.toolbar-field input{font-size:.84rem;padding:.35rem .5rem}.mode-pills{display:inline-flex;border:1px solid var(--border-subtle);border-radius:var(--radius-sm);overflow:hidden;background:var(--surface-card)}.mode-pills button{border:none;background:transparent;color:var(--text-muted);padding:.36rem .65rem;font-size:.78rem;font-weight:600;cursor:pointer}.mode-pills button.active{background:var(--brand-secondary-solid);color:#fff}.quick-presets{display:inline-flex;gap:.3rem;flex-wrap:wrap}.btn-xs{padding:.25rem .52rem;font-size:.75rem}.export-btn-group{display:inline-flex;gap:.4rem;align-items:center;flex-wrap:wrap}.btn-export{font-size:.8rem;padding:.36rem .68rem;font-weight:600}.filter-strip{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.55rem;margin-bottom:.65rem}.period-closed-badge{align-self:center}
