:root{--primary:#0a5bef;--primary-dark:#0344d8;--danger:#d9483a;--danger-bg:#fdecea;--mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;--sans:"Inter",system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body,html{padding:0;margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);-webkit-font-smoothing:antialiased}::selection{background:var(--primary);color:#fff}button,input,select{font-family:inherit}.shell{max-width:1180px;margin:0 auto;padding:28px 24px 64px}.masthead{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:18px}.masthead h1{font-family:var(--mono);font-size:15px;letter-spacing:.02em;text-transform:uppercase;color:var(--navy);margin:0;font-weight:600}.masthead .brand{color:var(--primary)}.masthead .subtitle{font-size:12px;color:var(--text-muted);font-family:var(--mono)}.receipt{background:var(--card);border:1px solid var(--border);border-radius:10px 10px 0 0;padding:22px 26px 26px;box-shadow:0 1px 2px rgba(16,24,40,.04)}.receipt-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:20px;gap:20px}@media (max-width:780px){.receipt-grid{grid-template-columns:repeat(2,1fr)}}.stat-label{font-family:var(--mono);font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);margin-bottom:6px}.stat-value{font-family:var(--mono);font-size:26px;font-weight:600;color:var(--primary);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;line-height:1.1}.stat-value.dim{color:var(--navy)}.stat-note{font-family:var(--mono);font-size:10px;color:var(--text-muted);margin-top:4px}.perforation{height:3px;background:linear-gradient(90deg,var(--primary),var(--navy));border-radius:0 0 2px 2px}.panel{background:var(--card);border:1px solid var(--border);border-top:none;padding:18px 26px;margin-bottom:24px;box-shadow:0 1px 2px rgba(16,24,40,.04)}.filters{display:grid;grid-template-columns:repeat(6,1fr);grid-gap:12px;gap:12px;align-items:end}@media (max-width:900px){.filters{grid-template-columns:repeat(2,1fr)}}.field label{display:block;font-family:var(--mono);font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);margin-bottom:5px}.field input,.field select{width:100%;background:var(--bg);border:1px solid var(--border);color:var(--text);padding:8px 9px;font-size:13px;border-radius:6px;outline:none}.field input:focus,.field select:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(10,91,239,.12)}.filter-actions{display:flex;align-items:center;gap:10px;margin-top:14px}.btn{font-family:var(--mono);font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;padding:8px 16px;border-radius:6px;border:1px solid var(--border);background:var(--card);color:var(--text);cursor:pointer;transition:border-color .15s ease,color .15s ease,background .15s ease}.btn:hover{border-color:var(--primary);color:var(--primary-dark)}.btn:disabled{opacity:.45;cursor:default}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:600}.btn.primary:hover{color:#fff;background:var(--primary-dark);border-color:var(--primary-dark)}.table-wrap{border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--card)}table{width:100%;border-collapse:collapse;font-size:12.5px}thead th{text-align:left;font-family:var(--mono);font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);background:#fafbfd;padding:10px 12px;white-space:nowrap}tbody td,thead th{border-bottom:1px solid var(--border)}tbody td{padding:9px 12px;color:var(--text);white-space:normal;word-break:break-word;vertical-align:top}tbody tr:hover{background:#f2f6fd}tbody tr:last-child td{border-bottom:none}.num{font-family:var(--mono);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;text-align:right}.num,.tag{white-space:nowrap}.tag{font-family:var(--mono);font-size:10.5px;color:var(--primary-dark)}.empty-state{padding:48px 20px;text-align:center;font-size:12.5px}.empty-state,.pager{color:var(--text-muted);font-family:var(--mono)}.pager{display:flex;align-items:center;justify-content:space-between;margin-top:14px;font-size:11.5px}.pager .btn{padding:6px 12px}.error-banner{border:1px solid var(--danger);background:var(--danger-bg);color:var(--danger);font-family:var(--mono);font-size:12px;padding:10px 14px;border-radius:6px;margin-bottom:18px}.loading-tick{color:var(--text-muted);font-family:var(--mono);font-size:11.5px}.nl-panel{background:var(--card);border:1px solid var(--border);border-top:none;padding:14px 26px;margin-bottom:16px}.nl-bar{display:flex;gap:10px}.nl-input{flex:1 1;background:var(--bg);border:1px solid var(--border);color:var(--text);padding:9px 12px;font-size:13px;border-radius:6px;outline:none}.nl-input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(10,91,239,.12)}.nl-note{margin-top:8px;font-family:var(--mono);font-size:11.5px;color:var(--primary-dark)}.insight-panel{background:var(--card);border:1px solid var(--border);border-radius:10px;padding:16px 22px;margin-bottom:20px}.insight-header{display:flex;align-items:center;justify-content:space-between}.insight-title{font-family:var(--mono);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--navy);font-weight:600}.insight-body{margin-top:12px;font-size:13.5px;line-height:1.6;color:var(--text);white-space:pre-wrap}.insight-placeholder{margin-top:12px;font-size:12.5px;color:var(--text-muted);font-family:var(--mono)}.app-shell{display:flex;min-height:100vh}.sidebar{width:200px;flex-shrink:0;background:var(--sidebar-bg);padding:20px 12px;display:flex;flex-direction:column}.sidebar-brand{font-family:var(--mono);font-size:13px;font-weight:600;color:#fff;padding:0 8px;margin-bottom:22px;letter-spacing:.05em}.sidebar-nav{display:flex;flex-direction:column;gap:4px}.sidebar-link{display:block;padding:9px 10px;border-radius:6px;color:#b5d4f4;font-size:12.5px;text-decoration:none}.sidebar-link:hover{background:hsla(0,0%,100%,.08);color:#fff}.sidebar-link.active{background:hsla(0,0%,100%,.14);color:#fff;font-weight:500}.app-main{flex:1 1;min-width:0}.sidebar-user{margin-top:auto;padding:14px 4px 2px;border-top:1px solid hsla(0,0%,100%,.12)}.sidebar-user-info{display:flex;align-items:center;gap:9px;min-width:0}.sidebar-avatar{width:32px;height:32px;flex:0 0 32px;border-radius:50%;object-fit:cover;background:#fff}.sidebar-avatar-fallback{display:flex;align-items:center;justify-content:center;background:#dbeafe;color:var(--primary-dark);font-family:var(--mono);font-size:11px;font-weight:600}.sidebar-user-text{min-width:0}.sidebar-user-name{color:#fff;font-size:11.5px;font-weight:600}.sidebar-user-email,.sidebar-user-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user-email{color:#91b7df;font-family:var(--mono);font-size:9px;margin-top:2px}.sidebar-logout{width:100%;margin-top:11px;padding:7px 9px;border:1px solid hsla(0,0%,100%,.16);border-radius:6px;background:hsla(0,0%,100%,.05);color:#d8e8f8;font-size:11px;cursor:pointer;text-align:left}.sidebar-logout:hover{background:hsla(0,0%,100%,.1);color:#fff}.sidebar-logout:disabled{opacity:.55;cursor:default}.section-label{font-family:var(--mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);margin:20px 0 10px}.section-label:first-of-type{margin-top:0}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:12px;gap:12px}@media (max-width:780px){.kpi-grid{grid-template-columns:repeat(2,1fr)}}.kpi-card{position:relative;background:var(--card);border:1px solid var(--border);border-radius:10px;padding:14px 16px;overflow:visible}.kpi-label{font-size:11px;color:var(--text-muted);margin-bottom:6px}.kpi-value{font-family:var(--mono);font-size:22px;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.kpi-value.navy{color:var(--navy)}.kpi-value.danger{color:var(--danger)}.kpi-note{font-size:10.5px;color:var(--text-muted);margin-top:2px}.kpi-info-icon{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;font-size:13px;color:#94a0b3;line-height:1;cursor:help}.kpi-tooltip{z-index:1000;top:calc(100% + 10px);left:12px;width:320px;max-width:calc(100vw - 32px);padding:14px 15px;border:1px solid #dbe3ef;border-radius:9px;color:var(--text);box-shadow:0 12px 32px rgba(16,24,40,.16);pointer-events:none}.kpi-tooltip,.kpi-tooltip:before{position:absolute;background:#fff}.kpi-tooltip:before{content:"";top:-6px;left:20px;width:10px;height:10px;border-left:1px solid #dbe3ef;border-top:1px solid #dbe3ef;transform:rotate(45deg)}.kpi-tooltip-title{margin-bottom:10px;font-size:11px;font-weight:600;color:var(--navy);letter-spacing:.02em}.kpi-tooltip-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:22px}.kpi-tooltip-label{display:flex;align-items:center;gap:7px;min-width:0;font-size:11px;color:#536176}.kpi-tooltip-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%}.kpi-tooltip-value{flex:0 0 auto;font-family:var(--mono);font-size:10.5px;color:#26364e;white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.kpi-tooltip-def{font-size:11px;line-height:1.55;color:#66758b}.kpi-grid>.kpi-card:nth-child(4) .kpi-tooltip,.kpi-grid>.kpi-card:nth-child(6) .kpi-tooltip{left:auto;right:12px}.kpi-grid>.kpi-card:nth-child(4) .kpi-tooltip:before,.kpi-grid>.kpi-card:nth-child(6) .kpi-tooltip:before{left:auto;right:20px}.chart-card{background:var(--card);border:1px solid var(--border);border-radius:10px;padding:16px 18px;margin-bottom:8px}.chart-label{font-size:11px;color:var(--text-muted);margin-bottom:8px}.quality-list{display:flex;flex-direction:column;gap:8px}.quality-item{background:var(--card);border-left-style:solid;border-radius:8px;border:1px solid var(--border);border-left-width:3px;overflow:hidden}.quality-item-row{padding:10px 14px;display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer}.quality-item-left{display:flex;align-items:flex-start;gap:12px}.quality-number{flex:0 0 auto;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:var(--mono);font-size:11px;font-weight:700;margin-top:1px}.quality-number.severity-high{background:#fcebeb;color:#791f1f}.quality-number.severity-medium{background:#faeeda;color:#633806}.quality-number.severity-low{background:#f1efe8;color:#444441}.quality-item-row:hover{background:#fafbfd}.quality-detail{padding:0 14px 14px}.quality-item.severity-high{border-left-color:var(--danger)}.quality-item.severity-medium{border-left-color:#ef9f27}.quality-item.severity-low{border-left-color:var(--text-muted)}.quality-title{font-size:13px;font-weight:500;color:var(--text)}.quality-desc{font-size:11.5px;color:var(--text-muted);margin-top:2px}.quality-badge{font-family:var(--mono);font-size:11px;font-weight:600;padding:4px 10px;border-radius:6px;white-space:nowrap}.quality-badge.severity-high{background:#fcebeb;color:#791f1f}.quality-badge.severity-medium{background:#faeeda;color:#633806}.quality-badge.severity-low{background:#f1efe8;color:#444441}.note-banner{border-radius:0 8px 8px 0;padding:8px 14px;margin-bottom:20px;font-size:11.5px;border-left:3px solid #ef9f27;background:#faeeda;color:#633806}.hour-bars{display:flex;align-items:flex-end;gap:3px;height:140px}.hour-bar-col{flex:1 1;display:flex;flex-direction:column;align-items:center;height:100%;justify-content:flex-end}.hour-bar{width:100%;background:var(--primary);border-radius:3px 3px 0 0}.hour-bar-label{font-family:var(--mono);font-size:9px;color:var(--text-muted);margin-top:4px}.chart-tooltip{position:absolute;transform:translate(-50%,-130%);background:#fff;border:1px solid var(--border);border-radius:6px;padding:5px 9px;font-size:11px;color:var(--text);white-space:nowrap;pointer-events:none;box-shadow:0 2px 8px rgba(16,24,40,.1);z-index:1001}.chart-tooltip strong{color:var(--navy)}.flag-danger{color:var(--danger)!important;font-weight:600}.conn-legend{display:flex;gap:16px;margin-bottom:14px;font-size:11px;color:var(--text-muted)}.conn-legend span{display:flex;align-items:center;gap:4px}.legend-dot{display:inline-block;width:9px;height:9px;border-radius:2px}.conn-row{margin-bottom:12px}.conn-row-label{font-size:11.5px;color:var(--text);margin-bottom:4px}.conn-row-track{display:flex;height:16px;border-radius:4px;overflow:hidden;background:var(--bg)}.conn-row-segment{height:100%}.date-range-picker{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;background:var(--card);border:1px solid var(--border);border-radius:10px;padding:10px 16px;margin-bottom:16px}.date-range-inputs{display:flex;align-items:center;gap:8px}.date-range-inputs input{background:var(--bg);border:1px solid var(--border);color:var(--text);padding:6px 9px;font-size:12.5px;border-radius:6px;outline:none}.date-range-inputs input:focus{border-color:var(--primary)}.date-range-sep{font-size:11.5px;color:var(--text-muted)}.date-range-presets{display:flex;gap:6px}.date-range-presets .btn{padding:6px 12px}.refresh-panel{display:flex;align-items:center;gap:10px;background:var(--card);border:1px solid var(--border);border-radius:10px;padding:10px 16px;margin-bottom:16px;font-size:12px}.refresh-label{color:var(--text-muted);white-space:nowrap}.refresh-panel input[type=date]{background:var(--bg);border:1px solid var(--border);color:var(--text);padding:6px 9px;font-size:12.5px;border-radius:6px;outline:none}.refresh-msg{color:var(--primary-dark);font-size:11.5px}.trntype-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:var(--card);border:1px solid var(--border);border-radius:10px;padding:10px 16px;margin-bottom:16px}.trntype-filter-label{font-size:11px;color:var(--text-muted);margin-right:2px}.trntype-pill{display:flex;align-items:center;gap:6px;font-family:var(--mono);font-size:11px;color:var(--text);background:#fff;border:1px solid var(--border);border-radius:16px;padding:6px 14px;cursor:pointer}.trntype-pill.active,.trntype-pill:hover{border-color:var(--primary)}.trntype-pill.active{background:var(--primary);color:#fff;font-weight:600}.trntype-pill-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.tds-select{background:#fff;border:1px solid var(--border);border-radius:6px;padding:6px 10px;font-family:var(--mono);font-size:11px;color:var(--text)}.page-skeleton{max-width:1180px;margin:0 auto;padding:28px 24px 64px}.page-skeleton-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.page-skeleton-kpis{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:12px;gap:12px;margin-bottom:16px}.skeleton-block{position:relative;overflow:hidden;background:#e8edf5;border-radius:8px}.skeleton-block:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,#f8fafc,transparent);animation:skeleton-shimmer 1.35s ease-in-out infinite}.skeleton-title{width:210px;height:24px;border-radius:6px}.skeleton-control{width:150px;height:34px;border-radius:7px}.skeleton-kpi{height:88px;border-radius:10px}.skeleton-panel{width:100%;height:180px;margin-bottom:16px}.skeleton-panel,.skeleton-table{border:1px solid #e5eaf3;border-radius:10px}.skeleton-table{overflow:hidden;background:#fff}.skeleton-table-head{width:100%;height:40px;border-radius:0;border-bottom:1px solid #e5eaf3}.skeleton-table-row{display:grid;grid-template-columns:1.2fr 1.4fr 1fr .8fr;grid-gap:16px;gap:16px;padding:13px 14px;border-bottom:1px solid #e5eaf3}.skeleton-table-row:last-child{border-bottom:none}.skeleton-table-row .skeleton-block{height:13px;border-radius:5px}.overview-skeleton-source{width:310px;height:14px;border-radius:5px}.overview-skeleton-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}.overview-skeleton-filter-wide{width:210px;height:34px}.overview-skeleton-filter{width:82px;height:30px;border-radius:999px}.overview-skeleton-select{width:112px;height:34px}.overview-skeleton-kpi{height:94px;padding:14px 16px}.overview-skeleton-kpi-label{width:105px;height:12px;margin-bottom:12px}.overview-skeleton-kpi-value{width:125px;height:23px;margin-bottom:8px}.overview-skeleton-kpi-note{width:95px;height:10px}.overview-skeleton-chart{margin-top:18px}.overview-skeleton-chart-label{width:155px;height:12px;margin-bottom:16px}.overview-skeleton-chart-body{width:100%;height:160px;border-radius:6px}@keyframes skeleton-shimmer{to{transform:translateX(100%)}}@media (prefers-reduced-motion:reduce){.skeleton-block:after{animation:none}}@media (max-width:780px){.page-skeleton{padding:20px 16px 48px}.page-skeleton-kpis{grid-template-columns:repeat(2,1fr)}.skeleton-table-row{grid-template-columns:1.2fr 1fr}.skeleton-table-row .skeleton-block:nth-child(n+3){display:none}.overview-skeleton-source{width:190px}.overview-skeleton-filters{gap:7px}.overview-skeleton-filter-wide{width:150px}}:root{--sidebar-bg:#062a63;--sidebar-text:#fff;--sidebar-muted:#b5d4f4;--sidebar-border:hsla(0,0%,100%,.12);--sidebar-active:hsla(0,0%,100%,.14);--sidebar-button-bg:hsla(0,0%,100%,.05);--sidebar-button-border:hsla(0,0%,100%,.16);--bg:#f5f7fb;--card:#fff;--border:#e5eaf3;--text:#1f2937;--text-muted:#6b7280;--navy:#1e3a8a;--table-head:#fafbfd;--table-hover:#f2f6fd;--input-bg:#f5f7fb;--tooltip-bg:#fff;--tooltip-border:#dbe3ef}html[data-theme=light]{--sidebar-bg:#fff;--sidebar-text:#111827;--sidebar-muted:#52627a;--sidebar-border:#e5eaf3;--sidebar-active:#edf3ff;--sidebar-button-bg:#f5f7fb;--sidebar-button-border:#dbe3ef;--bg:#f5f7fb;--card:#fff;--border:#e5eaf3;--text:#1f2937;--text-muted:#6b7280;--navy:#1e3a8a;--table-head:#fafbfd;--table-hover:#f2f6fd;--input-bg:#f5f7fb;--tooltip-bg:#fff;--tooltip-border:#dbe3ef}html[data-theme=dark]{--sidebar-bg:#0b1220;--sidebar-text:#eaf2ff;--sidebar-muted:#9eacc2;--sidebar-border:#25324a;--sidebar-active:#172641;--sidebar-button-bg:#111a2b;--sidebar-button-border:#30405c;--bg:#0b1220;--card:#111a2b;--border:#2a3953;--text:#e8eef8;--text-muted:#9aa9bf;--navy:#a9c5ff;--table-head:#162238;--table-hover:#182842;--input-bg:#0e1728;--tooltip-bg:#162238;--tooltip-border:#30405c}@media (prefers-color-scheme:light){html[data-theme=system]{--sidebar-bg:#fff;--sidebar-text:#111827;--sidebar-muted:#52627a;--sidebar-border:#e5eaf3;--sidebar-active:#edf3ff;--sidebar-button-bg:#f5f7fb;--sidebar-button-border:#dbe3ef;--bg:#f5f7fb;--card:#fff;--border:#e5eaf3;--text:#1f2937;--text-muted:#6b7280;--navy:#1e3a8a;--table-head:#fafbfd;--table-hover:#f2f6fd;--input-bg:#f5f7fb;--tooltip-bg:#fff;--tooltip-border:#dbe3ef}}@media (prefers-color-scheme:dark){html[data-theme=system]{--sidebar-bg:#0b1220;--sidebar-text:#eaf2ff;--sidebar-muted:#9eacc2;--sidebar-border:#25324a;--sidebar-active:#172641;--sidebar-button-bg:#111a2b;--sidebar-button-border:#30405c;--bg:#0b1220;--card:#111a2b;--border:#2a3953;--text:#e8eef8;--text-muted:#9aa9bf;--navy:#a9c5ff;--table-head:#162238;--table-hover:#182842;--input-bg:#0e1728;--tooltip-bg:#162238;--tooltip-border:#30405c}}html[data-theme=dark] .app-main,html[data-theme=dark] .app-shell,html[data-theme=dark] body,html[data-theme=system] .app-main,html[data-theme=system] .app-shell,html[data-theme=system] body{background:var(--bg);color:var(--text)}.sidebar{background:var(--sidebar-bg)!important;color:var(--sidebar-text);border-right:1px solid var(--sidebar-border)}.sidebar-arranet-logo{display:block;width:132px;height:auto;margin:0 8px 30px;color:var(--sidebar-text)}.sidebar-arranet-logo img{display:block;width:100%;height:auto;max-height:34px;object-fit:contain;object-position:left center}html[data-theme=dark] .sidebar-arranet-logo img,html[data-theme=system] .sidebar-arranet-logo img{filter:brightness(0) invert(1)}html[data-theme=light] .sidebar-arranet-logo img{filter:brightness(0)}@media (prefers-color-scheme:light){html[data-theme=system] .sidebar-arranet-logo img{filter:brightness(0)}}@media (prefers-color-scheme:dark){html[data-theme=system] .sidebar-arranet-logo img{filter:brightness(0) invert(1)}}.sidebar-link{color:var(--sidebar-muted)!important}.sidebar-link.active,.sidebar-link:hover{background:var(--sidebar-active)!important;color:var(--sidebar-text)!important}.sidebar-user{border-top-color:var(--sidebar-border)!important;padding-top:16px!important}.theme-control{margin:0 0 20px}.theme-control-label{display:block;margin:0 4px 8px;color:var(--sidebar-muted);font-family:var(--mono);font-size:9.5px;letter-spacing:.06em;text-transform:uppercase}.theme-options{display:flex;gap:5px;flex-wrap:wrap}.theme-option{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:28px;padding:5px 8px;border:1px solid var(--sidebar-button-border);border-radius:7px;background:var(--sidebar-button-bg);color:var(--sidebar-muted);font-size:10px;line-height:1;cursor:pointer;transition:.15s ease}.theme-option.active,.theme-option:hover{background:var(--sidebar-active);color:var(--sidebar-text);border-color:var(--sidebar-border)}.theme-icon{font-size:11px;line-height:1}.sidebar-user-info{padding:0 4px}.sidebar-avatar-fallback{background:#dbeafe!important;color:#0344d8!important}.sidebar-user-name{color:var(--sidebar-text)!important}.sidebar-logout,.sidebar-user-email{color:var(--sidebar-muted)!important}.sidebar-logout{margin-top:12px!important;border-color:var(--sidebar-button-border)!important;background:var(--sidebar-button-bg)!important}.sidebar-logout:hover{background:var(--sidebar-active)!important;color:var(--sidebar-text)!important}html[data-theme=dark] .masthead h1,html[data-theme=system] .masthead h1{color:var(--navy)!important}html[data-theme=dark] .chart-label,html[data-theme=dark] .empty-state,html[data-theme=dark] .field label,html[data-theme=dark] .kpi-label,html[data-theme=dark] .kpi-note,html[data-theme=dark] .loading-tick,html[data-theme=dark] .masthead .subtitle,html[data-theme=dark] .pager,html[data-theme=dark] .quality-desc,html[data-theme=dark] .section-label,html[data-theme=dark] .stat-label,html[data-theme=dark] .stat-note,html[data-theme=dark] .trntype-filter-label,html[data-theme=system] .chart-label,html[data-theme=system] .empty-state,html[data-theme=system] .field label,html[data-theme=system] .kpi-label,html[data-theme=system] .kpi-note,html[data-theme=system] .loading-tick,html[data-theme=system] .masthead .subtitle,html[data-theme=system] .pager,html[data-theme=system] .quality-desc,html[data-theme=system] .section-label,html[data-theme=system] .stat-label,html[data-theme=system] .stat-note,html[data-theme=system] .trntype-filter-label{color:var(--text-muted)!important}html[data-theme=dark] .chart-card,html[data-theme=dark] .insight-panel,html[data-theme=dark] .kpi-card,html[data-theme=dark] .nl-panel,html[data-theme=dark] .panel,html[data-theme=dark] .quality-item,html[data-theme=dark] .receipt,html[data-theme=dark] .table-wrap,html[data-theme=system] .chart-card,html[data-theme=system] .insight-panel,html[data-theme=system] .kpi-card,html[data-theme=system] .nl-panel,html[data-theme=system] .panel,html[data-theme=system] .quality-item,html[data-theme=system] .receipt,html[data-theme=system] .table-wrap{background:var(--card)!important;border-color:var(--border)!important;color:var(--text)!important;box-shadow:0 1px 2px rgba(0,0,0,.22)}html[data-theme=dark] .insight-title,html[data-theme=dark] .kpi-value.navy,html[data-theme=dark] .stat-value,html[data-theme=system] .insight-title,html[data-theme=system] .kpi-value.navy,html[data-theme=system] .stat-value{color:var(--navy)!important}html[data-theme=dark] .kpi-value.danger,html[data-theme=system] .kpi-value.danger{color:#ff8f87!important}html[data-theme=dark] .insight-body,html[data-theme=dark] .quality-title,html[data-theme=system] .insight-body,html[data-theme=system] .quality-title{color:var(--text)!important}html[data-theme=dark] .field input,html[data-theme=dark] .field select,html[data-theme=dark] .nl-input,html[data-theme=dark] .tds-select,html[data-theme=system] .field input,html[data-theme=system] .field select,html[data-theme=system] .nl-input,html[data-theme=system] .tds-select{background:var(--input-bg)!important;color:var(--text)!important;border-color:var(--border)!important}html[data-theme=dark] .nl-input::placeholder,html[data-theme=dark] input::placeholder,html[data-theme=system] .nl-input::placeholder,html[data-theme=system] input::placeholder{color:#71819a!important}html[data-theme=dark] .btn,html[data-theme=system] .btn{background:var(--card)!important;color:var(--text)!important;border-color:var(--border)!important}html[data-theme=dark] .btn:hover,html[data-theme=system] .btn:hover{color:#c1d5ff!important;border-color:#5076b8!important}html[data-theme=dark] .btn.primary,html[data-theme=system] .btn.primary{background:var(--primary)!important;color:#fff!important;border-color:var(--primary)!important}html[data-theme=dark] thead th,html[data-theme=system] thead th{background:var(--table-head)!important;color:var(--text-muted)!important;border-color:var(--border)!important}html[data-theme=dark] tbody td,html[data-theme=system] tbody td{color:var(--text)!important;border-color:var(--border)!important}html[data-theme=dark] tbody tr:hover,html[data-theme=system] tbody tr:hover{background:var(--table-hover)!important}html[data-theme=dark] .nl-note,html[data-theme=dark] .tag,html[data-theme=system] .nl-note,html[data-theme=system] .tag{color:#8db3ff!important}html[data-theme=dark] .trntype-pill,html[data-theme=system] .trntype-pill{background:var(--card)!important;color:var(--text-muted)!important;border-color:var(--border)!important}html[data-theme=dark] .trntype-pill.active,html[data-theme=dark] .trntype-pill:hover,html[data-theme=system] .trntype-pill.active,html[data-theme=system] .trntype-pill:hover{background:#19315b!important;color:#dbe8ff!important;border-color:#41669f!important}html[data-theme=dark] .kpi-tooltip,html[data-theme=system] .kpi-tooltip{background:var(--tooltip-bg)!important;border-color:var(--tooltip-border)!important;color:var(--text)!important;box-shadow:0 14px 36px rgba(0,0,0,.42)}html[data-theme=dark] .kpi-tooltip:before,html[data-theme=system] .kpi-tooltip:before{background:var(--tooltip-bg)!important;border-left-color:var(--tooltip-border)!important;border-top-color:var(--tooltip-border)!important}html[data-theme=dark] .kpi-tooltip-title,html[data-theme=system] .kpi-tooltip-title{color:var(--navy)!important}html[data-theme=dark] .kpi-tooltip-def,html[data-theme=dark] .kpi-tooltip-label,html[data-theme=system] .kpi-tooltip-def,html[data-theme=system] .kpi-tooltip-label{color:#aab8cc!important}html[data-theme=dark] .kpi-tooltip-value,html[data-theme=system] .kpi-tooltip-value{color:#e1eafa!important}html[data-theme=dark] .quality-item-row:hover,html[data-theme=system] .quality-item-row:hover{background:#162238!important}html[data-theme=dark] .note-banner,html[data-theme=system] .note-banner{background:#332a17!important;color:#f0c978!important;border-left-color:#d99b32!important}html[data-theme=dark] .error-banner,html[data-theme=system] .error-banner{background:#351c22!important;color:#ff9b9b!important;border-color:#8f3f4c!important}html[data-theme=dark] .quality-badge.severity-high,html[data-theme=dark] .quality-number.severity-high,html[data-theme=system] .quality-badge.severity-high,html[data-theme=system] .quality-number.severity-high{background:#48232a!important;color:#ffb0b0!important}html[data-theme=dark] .quality-badge.severity-medium,html[data-theme=dark] .quality-number.severity-medium,html[data-theme=system] .quality-badge.severity-medium,html[data-theme=system] .quality-number.severity-medium{background:#45351c!important;color:#f3ca77!important}html[data-theme=dark] .quality-badge.severity-low,html[data-theme=dark] .quality-number.severity-low,html[data-theme=system] .quality-badge.severity-low,html[data-theme=system] .quality-number.severity-low{background:#293241!important;color:#b9c5d6!important}html[data-theme=dark] .skeleton-block,html[data-theme=system] .skeleton-block{background:#1a263a!important}html[data-theme=dark] .skeleton-block:after,html[data-theme=system] .skeleton-block:after{background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.07),transparent)!important}html[data-theme=dark] .skeleton-panel,html[data-theme=dark] .skeleton-table,html[data-theme=system] .skeleton-panel,html[data-theme=system] .skeleton-table{border-color:var(--border)!important;background:var(--card)!important}@media (max-width:560px){.theme-options{gap:4px}.theme-option{padding:4px 7px}}html[data-theme=dark] .payment-status-header,html[data-theme=system] .payment-status-header{background:var(--card)!important;border-color:var(--border)!important;color:var(--text)!important}html[data-theme=dark] .payment-status-label,html[data-theme=dark] .payment-status-title,html[data-theme=system] .payment-status-label,html[data-theme=system] .payment-status-title{color:var(--text-muted)!important}html[data-theme=dark] .payment-status-value,html[data-theme=system] .payment-status-value{color:var(--text)!important}html[data-theme=dark] .payment-status-value.alert,html[data-theme=system] .payment-status-value.alert{color:#ff8f87!important}html[data-theme=dark] .payment-status-table,html[data-theme=system] .payment-status-table{color:var(--text)!important;background:var(--card)!important}html[data-theme=dark] .payment-status-table tbody tr,html[data-theme=system] .payment-status-table tbody tr{background:transparent!important}html[data-theme=dark] .payment-status-table tbody tr:hover,html[data-theme=system] .payment-status-table tbody tr:hover{background:var(--table-hover)!important}html[data-theme=dark] .payment-status-table tbody td,html[data-theme=system] .payment-status-table tbody td{background:transparent!important;color:var(--text)!important;border-color:var(--border)!important}html[data-theme=dark] .payment-status-table thead th,html[data-theme=system] .payment-status-table thead th{background:var(--table-head)!important;color:var(--text-muted)!important;border-color:var(--border)!important}html[data-theme=dark] .payment-hint,html[data-theme=dark] .payment-status-header .empty,html[data-theme=system] .payment-hint,html[data-theme=system] .payment-status-header .empty{color:var(--text-muted)!important}html[data-theme=dark] .payment-arrears,html[data-theme=system] .payment-arrears{background:#351c22!important;border-color:#8f3f4c!important;color:#ffb0b0!important}html[data-theme=dark] .payment-arrears strong,html[data-theme=system] .payment-arrears strong{color:#ff9b9b!important}html[data-theme=dark] .payment-arrears .payment-hint,html[data-theme=system] .payment-arrears .payment-hint{color:#d99aa4!important}.ingest-panel{background:var(--card);border:1px solid var(--border);border-radius:10px;padding:20px 22px}.ingest-drop{border:1.5px dashed var(--border);border-radius:8px;padding:32px 24px;text-align:center;margin-bottom:16px;cursor:pointer;transition:border-color .15s ease,background .15s ease}.ingest-drop.drag-over,.ingest-drop:hover{border-color:var(--primary)}.ingest-drop.drag-over{background:#f2f6fd}.ingest-drop-icon{font-size:22px;color:var(--primary);margin-bottom:6px}.ingest-drop-title{font-size:13px;color:var(--text);font-weight:500;margin-bottom:4px}.ingest-drop-hint{font-size:11.5px;color:var(--text-muted)}.ingest-preview-stats{display:flex;gap:32px}.ingest-summary{background:var(--card);border:1px solid var(--border);border-radius:10px;overflow:hidden}.ingest-summary-row{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--border)}.ingest-summary-row:last-child{border-bottom:none}.ingest-summary-label{font-size:13px;color:var(--text)}.ingest-summary-figures{display:flex;align-items:baseline;gap:10px;font-family:var(--mono);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ingest-summary-trx{font-size:13px;font-weight:600;color:var(--primary)}.ingest-summary-amount,.ingest-summary-empty{font-size:12px;color:var(--text-muted)}.ingest-summary-empty{font-style:italic}.ingest-summary-total-row{background:var(--bg)}.ingest-summary-total-row .ingest-summary-amount,.ingest-summary-total-row .ingest-summary-label,.ingest-summary-total-row .ingest-summary-trx{font-weight:600;color:var(--navy)}.ingest-confirm,.ingest-done{margin-top:8px}.progress-track{height:8px;background:var(--bg);border:1px solid var(--border);border-radius:4px;overflow:hidden;margin-top:8px}.progress-fill{height:100%;background:var(--primary);transition:width .2s ease}html[data-theme=dark] .ingest-drop.drag-over,html[data-theme=system] .ingest-drop.drag-over{background:var(--table-hover)}html[data-theme=dark] .ingest-panel,html[data-theme=dark] .ingest-summary,html[data-theme=system] .ingest-panel,html[data-theme=system] .ingest-summary{background:var(--card);border-color:var(--border);color:var(--text)}@media (max-width:700px){.ingest-preview-stats{flex-wrap:wrap;gap:18px}.ingest-summary-row{gap:12px}.ingest-summary-figures{flex-wrap:wrap;justify-content:flex-end}}