:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#253243;background:#f5f7fa;font-synthesis:none;--ink:#162434;--muted:#57677b;--line:#e5eaf0;--blue:#4566ed;--green:#147d68;--red:#b74e54;--nav:#142331;--radius:14px}
*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.5}button,input,select{font:inherit}button,a,select,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}a{color:var(--blue)}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #8da4ff;outline-offset:3px}svg{flex-shrink:0}button svg{width:18px;height:18px}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--ink)}.skip-link{position:fixed;top:-80px;left:20px;background:white;padding:12px;z-index:100}.skip-link:focus{top:10px}.boot{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center}.boot-logo{background:var(--blue);color:white;padding:10px 20px;border-radius:16px;font-size:32px;font-weight:700}.boot-logo span{color:#bac9ff}.boot h1{margin:20px 0 5px}.boot p{color:var(--muted)}.loading-bar{width:160px;height:4px;background:#dce3ff;border-radius:5px;overflow:hidden}.loading-bar:after{content:"";display:block;background:var(--blue);width:50%;height:100%;animation:load 1s infinite alternate}@keyframes load{to{transform:translateX(100%)}}.noscript{padding:20px}
.shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--nav);color:#a5b4c5;position:fixed;width:238px;height:100dvh;display:flex;flex-direction:column;padding:28px 18px 20px;z-index:25}.brand{display:flex;align-items:center;gap:11px;color:#fff;font-size:23px;font-weight:680;letter-spacing:-.7px;padding:0 10px;margin-bottom:31px}.brand svg{width:32px;height:32px}.brand .lens{font-weight:350;color:#ccd6e1}.workspace-switch{display:flex;align-items:center;gap:10px;background:#213140;border:1px solid #354451;border-radius:9px;padding:11px;color:#e0e8ee;font-size:14px;margin-bottom:29px}.workspace-mark{height:28px;width:28px;background:#3b5267;display:grid;place-items:center;border-radius:7px;font-size:13px}.workspace-text{flex:1}.sidebar-label{text-transform:uppercase;font-size:12px;font-weight:600;letter-spacing:1.4px;padding:0 13px;margin-bottom:9px;color:#7e91a3}.nav{display:grid;gap:5px}.nav-button{justify-content:flex-start;width:100%;background:none;color:#a8b8c8;padding:12px 14px;border-radius:8px;text-align:left;font-size:14px;font-weight:500;position:relative}.nav-button svg{width:19px;height:19px;opacity:.9}.nav-button:hover{background:#213140;color:#fff}.nav-button.active{background:#2a3d58;color:#fff}.nav-button.active:before{content:"";position:absolute;left:-18px;width:3px;height:24px;background:#819bff;border-radius:0 3px 3px 0}.nav-button .nav-short{display:none}.sidebar-bottom{margin-top:auto;padding-top:38px}.snapshot-card{border:1px solid #354654;background:#1c2d3c;border-radius:10px;padding:15px 13px;margin-bottom:17px}.snapshot-card h3{font-size:14px;color:#e9eff5;margin:0 0 7px}.snapshot-card p{font-size:12px;line-height:1.65;color:#a0b1c2;margin-bottom:11px}.source-link{color:#c2d2f0;display:flex;gap:6px;align-items:center;font-size:12px;text-decoration:none}.source-link svg{width:14px;height:14px}.sidebar-user{display:flex;align-items:center;gap:10px;padding:10px;border-top:1px solid #354451;font-size:13px}.avatar{background:#dbe3fb;color:#4561a5;border:3px solid #fff;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-size:12px;font-weight:650}.sidebar-user .avatar{border:0;width:31px;height:31px;background:#365066;color:#c9ddf0}.sidebar-user small{color:#8da0b3;display:block;font-size:12px}
.workspace{grid-column:2;min-width:0}.topbar{height:76px;padding:0 38px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.breadcrumb{font-size:14px;color:var(--muted);display:flex;align-items:center;gap:12px}.breadcrumb strong{font-weight:500;color:#324259}.breadcrumb .slash{color:#c0c7d0}.top-actions{display:flex;align-items:center;gap:19px}.historical{color:#68778c;display:flex;align-items:center;gap:7px;font-size:12px}.historical svg{width:15px;height:15px}.top-actions .rule{height:24px;border-left:1px solid var(--line)}.icon-button{color:#66768b;background:transparent;width:34px;height:34px;border-radius:8px}.icon-button:hover{background:#edf1fa}.mobile-menu{display:none}.content{padding:33px 38px 24px;max-width:1660px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.eyebrow{text-transform:uppercase;letter-spacing:1.5px;font-size:12px;color:var(--muted);font-weight:650;margin:0 0 6px}.page-heading h1{font-size:30px;line-height:1.25;letter-spacing:-.85px;margin-bottom:7px;font-weight:650}.page-subtitle{color:var(--muted);font-size:14px;margin:0}.heading-buttons{display:flex;gap:10px}.button{padding:10px 15px;border-radius:8px;background:#fff;border:1px solid #dce3ec;color:#42516a;font-size:14px;font-weight:550;min-height:42px;white-space:nowrap;text-decoration:none}.button:hover{background:#f1f4fc;border-color:#c2cfe9}.button.primary{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 3px 6px #4566ed15}.button.primary:hover{background:#3455dc}.button.small{padding:7px 11px;min-height:33px;font-size:13px}.text-button{font-size:13px;background:none;padding:6px;color:#3b57b0;gap:5px}.text-button:hover{text-decoration:underline}.filters{display:flex;align-items:center;gap:12px;margin-bottom:21px;flex-wrap:wrap}.filter{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #dce3ec;border-radius:8px;padding:0 12px;height:43px;min-width:168px}.filter svg{width:16px;height:16px;color:#71809a}.filter label{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}.filter select{appearance:none;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23758496' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right center;border:0;padding:9px 24px 9px 0;color:#354660;font-size:14px;max-width:220px;cursor:pointer;flex:1;min-width:0}.filter select:focus{outline-offset:6px}.comparison-label{font-size:13px;color:#8390a2}.filter-right{margin-left:auto;display:flex;align-items:center;gap:9px}.chip{border-radius:6px;padding:4px 8px;font-size:12px;font-weight:500;background:#eff3f9;color:var(--muted);display:inline-flex;gap:5px;align-items:center}.chip.blue{background:#eef2ff;color:#3b57b0}.chip.green{background:#eaf5f0;color:#1b6959}.chip.amber{background:#fff4e0;color:#92641e}.chip svg{width:13px;height:13px}.insight-banner{display:flex;gap:13px;background:#eef2ff;border:1px solid #dde5ff;border-radius:11px;padding:16px 18px;margin-bottom:24px;align-items:flex-start}.insight-icon{background:#e0e7ff;color:#5271db;border-radius:8px;display:grid;place-items:center;width:32px;height:32px;flex-shrink:0}.insight-icon svg{width:18px;height:18px}.insight-banner p{font-size:14px;color:#536380;margin:0;line-height:1.6}.insight-banner strong{color:#334c8b;font-weight:650}.insight-banner .text-button{margin-left:auto;white-space:nowrap;align-self:center}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.kpi{padding:20px 20px 18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 2px 3px #25355302;overflow:hidden;position:relative}.kpi-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:8px}.kpi-title{font-size:13px;font-weight:500;color:var(--muted);margin:0}.kpi-top svg{width:17px;height:17px;color:#94a3b9}.kpi-value{font-size:29px;color:#1c2d44;font-weight:650;letter-spacing:-1px;line-height:1.25;margin-bottom:10px;white-space:nowrap}.kpi-foot{font-size:12px;color:#8693a6;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.change{color:#217b68;font-size:12px;font-weight:550;display:inline-flex;gap:3px;align-items:center}.change.down{color:#b45159}.change.neutral{color:var(--muted)}.change svg{height:13px;width:13px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 2px 4px #25355302}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;padding:22px 23px 6px;gap:12px}.panel-head h2{font-size:16px;font-weight:630;letter-spacing:-.2px;margin:0 0 4px}.panel-head p{font-size:12px;color:#8391a4;margin:0}.panel-head .icon-button{margin:-6px -7px 0 0}.legend{display:flex;align-items:center;gap:14px;color:#7b899b;font-size:12px;padding-top:2px;flex-wrap:wrap}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:7px;height:7px;background:var(--blue);border-radius:50%;display:inline-block}.legend i.previous{background:#b7c5e8}.legend i.green{background:#4baa99}.chart-row{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:22px;margin-bottom:22px}.line-chart-wrap{position:relative;padding:18px 17px 0 6px}.line-chart{width:100%;height:auto;display:block;overflow:visible}.line-chart .gridline{stroke:#edf0f6;stroke-width:1}.line-chart text{fill:#8a98aa;font-size:12px;font-family:inherit}.line-chart .axis-title{fill:#78869a;font-size:11px}.line-chart .previous-path{stroke:#bccbe9;stroke-width:2.2;stroke-dasharray:5 5;fill:none}.line-chart .current-path{stroke:var(--blue);stroke-width:2.8;fill:none}.chart-dot{cursor:pointer;fill:#fff;stroke:var(--blue);stroke-width:2}.chart-dot:hover,.chart-dot:focus{fill:var(--blue);stroke:#fff;stroke-width:3;outline:none}.chart-point-label{font-size:12px}.chart-foot{padding:11px 23px 17px;display:flex;justify-content:space-between;color:#8c98a9;font-size:12px;gap:10px}.chart-tooltip{position:fixed;background:#182b43;color:#fff;padding:10px 13px;border-radius:8px;z-index:80;font-size:13px;box-shadow:0 8px 26px #21314929;pointer-events:none;max-width:250px}.chart-tooltip small{display:block;color:#b7c8df;font-size:12px;margin-top:3px}.bridge-list{padding:17px 23px 9px}.bridge-item{display:grid;grid-template-columns:113px minmax(30px,1fr) 73px;align-items:center;gap:10px;margin-bottom:17px;font-size:12px}.bridge-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#60718a}.bridge-track{height:8px;background:#f2f4f8;border-radius:2px;position:relative;overflow:hidden}.bridge-fill{height:100%;background:#81a3a7;border-radius:2px;min-width:1px}.bridge-fill.negative{background:#dca1a5}.bridge-amount{font-variant-numeric:tabular-nums;text-align:right;color:#456a68;font-weight:550}.bridge-amount.negative{color:#94424b}.panel-bottom{background:#fbfcfe;border-top:1px solid #eef1f5;padding:12px 23px;color:var(--muted);font-size:12px;display:flex;justify-content:space-between;align-items:center;gap:10px}.bottom-row{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:22px;margin-bottom:23px}.table-wrap{overflow:auto;padding:0 22px 7px}.data-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;white-space:nowrap}.data-table th{font-size:11px;text-transform:uppercase;letter-spacing:.65px;color:#8b98a8;font-weight:600;padding:15px 9px 12px;border-bottom:1px solid var(--line)}.data-table td{padding:14px 9px;border-bottom:1px solid #edf1f6;color:var(--muted)}.data-table tr:last-child td{border-bottom:0}.data-table th:first-child,.data-table td:first-child{padding-left:0}.data-table th:last-child,.data-table td:last-child{text-align:right;padding-right:0}.data-table .strong{color:#33475e;font-weight:550}.data-table .invoice-btn{background:none;padding:0;color:#526ed0;font-size:13px;font-weight:600}.data-table .invoice-btn:hover{text-decoration:underline}.mono{font-family:"Cascadia Code",Consolas,monospace;font-size:.9em}.country-name{display:flex;align-items:center;gap:7px}.country-name .country-symbol{background:#edf2fa;font-size:10px;font-weight:600;width:22px;height:19px;display:grid;place-items:center;border-radius:3px;color:var(--muted)}.market-body{display:flex;align-items:center;gap:24px;padding:23px}.donut{width:135px;height:135px;position:relative;flex-shrink:0}.donut svg{width:100%;height:100%;transform:rotate(-90deg)}.donut-label{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.donut-label strong{font-size:23px;color:#33465f;letter-spacing:-.8px;font-weight:630}.donut-label span{font-size:11px;color:var(--muted)}.market-legend{flex:1;min-width:0;display:grid;gap:13px}.market-legend-row{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}.market-legend-row i{width:7px;height:7px;border-radius:2px}.market-legend-row strong{margin-left:auto;color:#485c77;font-weight:550}.market-note{font-size:12px;color:#7d8c9f;border-top:1px solid #edf1f5;padding:15px 23px;margin:0;line-height:1.7}.footer{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);padding:1px 0 8px;gap:10px}.footer a{color:#3b57b0;text-decoration:underline}.footer .separator{padding:0 8px;color:#c3cbd6}
.section-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:23px}.panel-pad{padding:23px}.panel-pad h2{font-size:17px;margin-bottom:5px}.panel-pad p{font-size:14px;color:var(--muted)}.subheading{font-size:13px;color:#7789a0;margin-bottom:21px}.factor-row{padding:18px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:16px}.factor-row:first-child{padding-top:5px}.factor-row:last-child{border:0}.factor-row h3{font-size:14px;font-weight:550;margin-bottom:4px}.factor-row p{font-size:12px;margin:0}.factor-value{font-size:20px;color:#25816f;font-weight:600;white-space:nowrap}.factor-value.negative{color:#b45560}.factor-total{border-top:1px solid var(--line);display:flex;justify-content:space-between;padding-top:17px;margin-top:9px;font-size:13px}.factor-total strong{font-size:17px}.large-stat{font-size:33px;font-weight:650;letter-spacing:-1px;color:#253950;margin:4px 0 5px}.progress-track{height:8px;background:#eef1f8;border-radius:10px;overflow:hidden;margin:13px 0}.progress-track span{display:block;height:100%;background:var(--blue);border-radius:10px}.inline-stats{display:grid;grid-template-columns:1fr 1fr;gap:23px;padding-top:15px}.inline-stats p{font-size:12px;margin:0}.inline-stats strong{display:block;font-size:22px;color:#425675;margin:3px 0}.callout{border-left:3px solid #9bb0f9;background:#f4f6fe;padding:15px 17px;border-radius:0 8px 8px 0;margin:20px 0 0;color:var(--muted);font-size:13px}.callout.warning{background:#fff9ec;border-color:#e0ba6b;color:#775b2d}.sensitivity-switch{display:flex;padding:4px;background:#f1f4f9;border-radius:8px;margin-bottom:19px;gap:4px}.sensitivity-switch button{padding:8px 13px;border-radius:6px;background:none;color:var(--muted);font-size:13px;flex:1}.sensitivity-switch button.active{background:#fff;color:#405b9a;box-shadow:0 2px 6px #223b6920}.comparison-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px}.comparison-pair small{color:#8995a8;font-size:12px;display:block}.comparison-pair strong{font-size:24px;color:#304862;display:block;font-weight:600}.cohort-scroll{overflow:auto;padding:15px 23px 23px}.cohort-table{width:100%;border-collapse:separate;border-spacing:4px;font-size:12px;white-space:nowrap;min-width:750px}.cohort-table th{font-size:11px;color:#8b98aa;font-weight:550;height:35px;text-align:center}.cohort-table th:first-child{text-align:left;min-width:100px}.cohort-table td{height:35px;text-align:center;border-radius:4px;color:#4a6a97;min-width:43px}.cohort-table td:first-child{text-align:left;color:#5c708a;min-width:100px}.cohort-table .size{color:#8a97a8;background:#f7f9fc;font-variant-numeric:tabular-nums}.cohort-table .unobserved{background:repeating-linear-gradient(135deg,#f8f9fb,#f8f9fb 3px,#f0f3f7 3px,#f0f3f7 4px);color:#aab3c1}.heatmap-legend{display:flex;align-items:center;justify-content:flex-end;gap:7px;font-size:11px;color:#8d99aa;margin-top:10px}.heatmap-legend i{height:10px;width:20px;border-radius:2px}.quality-banner{padding:19px 23px;border-radius:12px;background:#eaf5f1;border:1px solid #d3e9df;display:flex;gap:14px;margin-bottom:22px;align-items:center}.quality-banner svg{color:#2b8b74;width:26px;height:26px}.quality-banner h2{font-size:15px;margin:0 0 3px;color:#337961}.quality-banner p{font-size:13px;margin:0;color:#446e5c}.reconciliation{margin:15px 0 0}.reconciliation .rec-row{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #edf0f6;font-size:13px;color:var(--muted)}.reconciliation .rec-row strong{color:#486078;font-weight:550;white-space:nowrap}.reconciliation .rec-row.total{background:#f2f5fc;padding:12px;margin:8px -12px;border:0;color:#3e5a87;border-radius:7px}.disposition-list{margin-top:20px}.disposition-row{display:grid;grid-template-columns:150px 1fr 65px;align-items:center;gap:13px;font-size:12px;margin-bottom:20px;color:var(--muted)}.disposition-row .progress-track{margin:0;height:7px}.disposition-row .progress-track span{background:#9baee0}.disposition-row strong{font-weight:550;color:#536985;text-align:right}.source-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:15px;font-size:13px}.source-grid dt{color:#91a0b2;font-size:12px;margin-bottom:4px}.source-grid dd{margin:0;color:#526880;overflow-wrap:anywhere}.source-grid .full{grid-column:1/-1}.source-grid .hash{font-size:11px;line-height:1.7}.memo{max-width:1000px;margin:0 auto}.memo-cover{border-top:4px solid var(--blue);padding:36px 40px 30px}.memo-tag{color:var(--muted);font-size:12px;letter-spacing:1.5px;text-transform:uppercase;margin:0 0 13px}.memo-cover h2{font-size:29px;line-height:1.3;letter-spacing:-.8px;margin-bottom:16px;max-width:750px}.memo-meta{display:flex;flex-wrap:wrap;gap:7px 24px;font-size:12px;color:#8794a7;margin-bottom:26px}.memo-intro{font-size:17px;color:#61748c;line-height:1.85;max-width:800px}.memo-section{padding:25px 40px;border-top:1px solid var(--line)}.memo-section h3{font-size:16px;margin-bottom:12px}.memo-section p,.memo-section li{font-size:14px;color:#65768d;line-height:1.85}.memo-section ul{padding-left:20px;margin-bottom:0}.memo-section li{margin-bottom:9px}.memo-findings{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px}.memo-finding{background:#f6f8fc;border:1px solid #e9eef5;border-radius:9px;padding:17px}.memo-finding strong{display:block;font-size:23px;color:#3c5578;margin-bottom:5px;font-weight:600}.memo-finding small{font-size:12px;color:var(--muted)}.empty{padding:50px 25px;text-align:center;color:#8391a5}.empty h2{font-size:19px;color:#51667e}.error-state{max-width:650px;margin:18vh auto;padding:30px;background:#fff;border:1px solid var(--line);border-radius:12px}.error-state h1{font-size:26px}.error-state p{font-size:15px;color:var(--muted);line-height:1.7}
dialog{width:min(880px,calc(100vw - 35px));max-height:88dvh;border:1px solid #dbe3ef;padding:0;border-radius:16px;color:var(--ink);box-shadow:0 25px 100px #152c5140}dialog::backdrop{background:#14233680;backdrop-filter:blur(3px)}.dialog-head{padding:23px 26px 18px;display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:3}.dialog-head h2{font-size:21px;letter-spacing:-.3px;margin:0 0 4px}.dialog-head p{font-size:13px;color:#8a98a9;margin:0}.dialog-content{padding:23px 26px 26px}.dialog-content h3{font-size:16px;margin-bottom:7px}.dialog-content p{font-size:14px;color:#728297;line-height:1.8}.dictionary-search{width:100%;padding:12px 14px;border-radius:8px;border:1px solid #d9e2ef;color:#4e6078;font-size:14px;margin-bottom:15px}.dictionary-item{padding:17px 0;border-bottom:1px solid var(--line)}.dictionary-item h3{font-size:15px;margin-bottom:7px;color:#425c80}.dictionary-item p{font-size:13px;margin-bottom:0}.dictionary-item small{font-size:12px;color:#98a3b3}.dialog-stats{display:flex;gap:30px;flex-wrap:wrap;margin-bottom:19px}.dialog-stats small{font-size:12px;color:#8999af;display:block;margin-bottom:3px}.dialog-stats strong{font-size:16px;color:#506682}.record-note{font-size:12px;color:#8998ab;padding:14px;background:#f5f7fb;border-radius:7px;margin:14px 0}.dialog-table{overflow:auto}.dialog-table .data-table{font-size:12px}.dialog-table .data-table td{white-space:normal;min-width:85px}.dialog-table .data-table td:nth-child(2){min-width:180px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);background:#22384f;color:#fff;padding:12px 20px;border-radius:9px;font-size:13px;box-shadow:0 7px 30px #233a5030;z-index:99;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.print-only{display:none}
@media(min-width:1550px){.content{padding:40px 48px}.topbar{padding:0 48px}.kpi-value{font-size:34px}.chart-row,.bottom-row{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}.bridge-item{grid-template-columns:135px 1fr 85px}.market-body{gap:32px}.donut{width:157px;height:157px}}
@media(max-width:1250px){.shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{width:205px;padding-left:13px;padding-right:13px}.brand{font-size:21px;gap:7px;padding:0 5px}.brand svg{width:28px;height:28px}.content{padding:27px 25px}.topbar{padding:0 25px}.kpi-grid{gap:12px}.kpi{padding:17px}.kpi-value{font-size:25px}.chart-row,.bottom-row{gap:17px;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.market-body{gap:15px;padding:20px}.donut{width:110px;height:110px}.bridge-item{grid-template-columns:90px 1fr 65px}.page-heading h1{font-size:28px}.heading-buttons .button{font-size:13px;padding:9px 12px}.comparison-label{font-size:12px}.panel-head{padding:19px 20px 5px}.bridge-list{padding:17px 20px 9px}.legend{gap:9px}.footer{font-size:10px}}
@media(max-width:1050px){.shell{grid-template-columns:78px minmax(0,1fr)}.sidebar{width:78px;padding:26px 10px 17px;align-items:center}.brand{padding:0;margin-bottom:30px}.brand>span,.workspace-switch,.sidebar-label,.nav-button .nav-label,.sidebar-bottom,.sidebar-user{display:none}.brand svg{width:34px;height:34px}.nav{gap:12px;width:100%}.nav-button{justify-content:center;padding:13px 0}.nav-button svg{width:22px;height:22px}.nav-button.active:before{left:-10px}.content{padding:27px 25px}.kpi-grid{gap:13px}.kpi-value{font-size:26px}.chart-row,.bottom-row{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}.market-body{flex-direction:column;gap:17px}.market-legend{width:100%;grid-template-columns:1fr 1fr;gap:10px 14px}.market-legend-row{font-size:11px}.market-note{padding:12px 20px}.insight-banner .text-button{display:none}.page-subtitle{max-width:500px}.page-heading{align-items:flex-start}.heading-buttons .button span{display:none}.heading-buttons .button{padding:10px}.bridge-item{grid-template-columns:93px 1fr 67px}.chart-foot{font-size:11px}.filter-right .chip{display:none}.cohort-scroll{padding:12px}.section-grid{gap:17px}}
@media(max-width:760px){.topbar{height:63px;padding:0 21px}.breadcrumb{font-size:12px}.top-actions{gap:9px}.top-actions .historical{display:none}.top-actions .rule{display:none}.content{padding:25px 20px}.page-heading h1{font-size:26px}.page-heading{margin-bottom:23px}.page-subtitle{font-size:13px}.eyebrow{font-size:11px}.filters{gap:9px}.filter{min-width:145px;flex:1;padding:0 10px}.filter select{font-size:13px;max-width:none}.filter-right{margin-left:0}.comparison-label{width:100%;order:3;padding-left:3px}.insight-banner{padding:13px;gap:10px}.insight-banner p{font-size:13px}.insight-icon{width:28px;height:28px}.kpi-grid{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.kpi-title{font-size:12px}.kpi-value{font-size:27px}.kpi-foot{font-size:11px}.kpi{padding:16px}.kpi-top{margin-bottom:10px}.chart-row,.bottom-row,.section-grid{grid-template-columns:1fr;gap:18px;margin-bottom:18px}.chart-row .panel-head{padding-top:20px}.bridge-item{grid-template-columns:125px 1fr 80px}.market-body{flex-direction:row;padding:21px;gap:25px}.market-legend{display:grid;grid-template-columns:1fr;gap:14px}.market-legend-row{font-size:12px}.donut{width:135px;height:135px}.panel-head h2{font-size:15px}.chart-foot{font-size:11px}.panel-bottom{font-size:11px;padding:11px 20px}.footer{align-items:flex-start;flex-direction:column;gap:4px;font-size:10px}.memo-cover{padding:27px}.memo-cover h2{font-size:25px}.memo-intro{font-size:15px}.memo-section{padding:23px 27px}.memo-findings{grid-template-columns:1fr;gap:9px}.memo-finding{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 15px}.memo-finding strong{font-size:22px;margin-bottom:0}.source-grid{gap:16px}.source-grid .hash{font-size:10px}.dialog-head,.dialog-content{padding:20px}.quality-banner{padding:15px}.quality-banner p{font-size:12px}.disposition-row{grid-template-columns:140px 1fr 60px}.sensitivity-switch button{font-size:12px;padding:8px}.inline-stats{gap:15px}.comparison-pair strong{font-size:24px}}
@media(max-width:480px){.shell{display:block}.sidebar{position:fixed;bottom:0;top:auto;height:64px;width:100%;padding:0 7px;border-top:1px solid #354451;display:block;background:#142331f7;backdrop-filter:blur(8px)}.brand{display:none}.nav{display:grid;grid-template-columns:repeat(5,1fr);gap:0;height:100%;align-items:center}.nav-button{padding:7px 0 5px;flex-direction:column;gap:3px;border-radius:7px}.nav-button .nav-short{display:block;font-size:9px}.nav-button svg{width:18px;height:18px}.nav-button.active:before{display:none}.workspace{padding-bottom:65px}.topbar{padding:0 17px;height:61px}.content{padding:22px 16px}.top-actions .avatar{display:none}.breadcrumb{gap:8px}.page-heading h1{font-size:25px}.heading-buttons{gap:5px}.heading-buttons .button{padding:8px;min-height:38px}.page-heading{gap:7px}.page-subtitle{font-size:12px;line-height:1.7}.filter{min-width:130px;height:42px}.filter-right{display:none}.kpi{padding:15px 13px}.kpi-value{font-size:26px}.kpi-title{font-size:11px}.kpi-top svg{width:14px;height:14px}.kpi-foot{gap:6px}.kpi-grid{gap:10px}.legend{font-size:11px;gap:8px}.panel-head{padding:19px 17px 5px}.panel-head p{font-size:11px}.panel-head h2{font-size:14px}.chart-foot{padding:10px 17px 16px;font-size:10px}.bridge-list{padding:18px 17px 4px}.bridge-item{grid-template-columns:108px 1fr 70px;font-size:11px}.table-wrap{padding:0 17px 7px}.data-table{font-size:12px}.data-table th{font-size:10px}.data-table td{padding-top:12px;padding-bottom:12px}.data-table .invoice-btn{font-size:12px}.panel-bottom{padding:12px 17px;font-size:11px}.market-body{padding:21px 17px;gap:24px}.market-legend-row{font-size:11px}.donut{width:125px;height:125px}.market-note{font-size:11px;padding:13px 17px}.insight-banner{margin-bottom:18px}.insight-banner p{font-size:12px}.quality-banner h2{font-size:14px}.quality-banner p{font-size:11px}.panel-pad{padding:20px}.panel-pad h2{font-size:16px}.panel-pad p{font-size:13px}.disposition-row{grid-template-columns:127px 1fr 55px;font-size:11px}.source-grid{grid-template-columns:1fr}.source-grid .full{grid-column:auto}.memo-cover,.memo-section{padding:23px 21px}.memo-cover h2{font-size:23px}.memo-intro{font-size:14px}.memo-section p,.memo-section li{font-size:13px}.memo-meta{font-size:11px;gap:6px}.comparison-pair strong{font-size:23px}.dialog-head h2{font-size:19px}dialog{width:calc(100vw - 20px);max-height:91dvh}.dialog-stats{gap:20px}.footer{padding-bottom:10px}.insight-icon{width:25px;height:25px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.workspace-switch svg{width:14px;height:14px;flex-shrink:0}.workspace-text{min-width:0}.workspace-switch{white-space:nowrap}
.historical-lab{display:flex;align-items:flex-start;text-decoration:none;line-height:1.5;margin-top:10px;padding:12px 10px;gap:8px}.historical-lab .nav-label{font-size:13px}.historical-lab small{display:block;font-size:11px;color:#94a9bf;margin-top:4px}.historical-lab svg{margin-top:2px}
.market-shell .sector-filter{min-width:230px}.market-shell .sector-filter select{max-width:280px}.market-shell .market-body .donut-label strong{font-size:19px}.confidence-range{display:flex;justify-content:space-between;gap:12px;padding:15px 17px;border:1px solid #dce4f2;border-radius:8px;background:#f4f7fc;color:#506888;font-size:14px;margin:20px 0}.confidence-range span:nth-child(2){font-size:12px;color:var(--muted)}.market-checks{display:grid;gap:0;margin-top:15px}.market-checks>div{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #eaf0f6;font-size:13px;color:#5b708a}.market-checks>div:last-child{border:0}.market-shell .industry-table td:first-child{white-space:normal}.lab-banner{background:#fff4de;color:#805f28;border:1px solid #ead4a3;border-radius:9px;padding:13px 16px;margin:0 0 20px;font-size:13px;display:flex;justify-content:space-between;gap:12px}.lab-banner a{font-weight:600;color:#6a562c;white-space:nowrap}.market-shell .memo-finding:last-child strong{font-size:19px}
@media(max-width:760px){.market-shell .sector-filter{min-width:165px}.market-shell .filters .filter:last-of-type{flex:1;max-width:none}.currency-note .currency-detail{display:none}.market-shell .currency-note{font-size:11px;align-items:flex-start}.lab-banner{flex-direction:column;font-size:12px}.confidence-range{font-size:13px}.market-shell .page-subtitle{max-width:440px}.market-checks>div{font-size:12px}}
.currency-note{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#607087;margin:-7px 0 17px;padding:0 2px}.currency-note strong{color:#405471;font-weight:650}.currency-note .text-button{font-size:12px;padding:4px;white-space:nowrap}.currency-detail{color:var(--muted)}
.comparison-label,.panel-head p,.data-table th,.dictionary-item small,.kpi-foot,.chart-foot,.legend,.market-note,.subheading,.source-grid dt,.memo-meta,.record-note,.heatmap-legend,.cohort-table th,.cohort-table .size,.dialog-head p,.dialog-stats small,.inline-stats p,.comparison-pair small{color:#607087}
.line-chart text{fill:#607087}.kpi-title,.comparison-label,.source-grid dt{font-size:14px}.data-table{font-size:14px}.data-table th{font-size:12px}.bridge-item{font-size:13px}.cohort-table td{font-size:13px}.dictionary-item small{display:block;line-height:1.7;margin-top:5px;font-size:13px}
@media(max-width:760px){.comparison-label{font-size:12px}.kpi-title{font-size:12px}.data-table{font-size:13px}.bridge-item{font-size:12px}}
@media(max-width:480px){.kpi-title{font-size:11px}.data-table{font-size:12px}.bridge-item{font-size:11px}}
@page {
  size: Letter portrait;
  margin: 0.55in 0.5in;
}

@media print {
  html, body { background: #fff !important; }
  body { color: #111; font-size: 10.5pt; line-height: 1.45; }
  .shell { display: block; min-height: 0; }
  .sidebar, .topbar, .filters, .heading-buttons, #toast, dialog,
  .skip-link, .chart-tooltip, .text-button, .icon-button, .sensitivity-switch {
    display: none !important;
  }
  .workspace { width: 100%; min-width: 0; padding: 0; }
  .content { width: 100%; max-width: none; margin: 0; padding: 0; }
  .page-heading { display: block; margin-bottom: 14pt; break-after: avoid; }
  .page-heading h1 { font-size: 20pt; }
  .page-subtitle, .eyebrow { color: #333; }
  h1, h2, h3, .panel-head { break-after: avoid; page-break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  a { color: inherit; overflow-wrap: anywhere; }
  .panel {
    overflow: visible;
    break-inside: auto;
    page-break-inside: auto;
    border: 1px solid #bbb;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 12pt;
  }
  .chart-row, .bottom-row, .section-grid, .kpi-grid, .memo-findings {
    display: block;
  }
  .chart-row > *, .bottom-row > *, .section-grid > * { margin-bottom: 12pt; }
  .panel-head { padding: 10pt 12pt 6pt; }
  .panel-head p, .chart-foot, .panel-bottom { font-size: 8.5pt; color: #333; }
  .panel-pad { padding: 12pt; }
  .kpi, .memo-finding {
    display: block;
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 7pt;
    padding: 8pt 10pt;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: none;
  }
  .kpi-top { margin-bottom: 5pt; }
  .kpi-value, .memo-finding strong { color: #111; font-size: 18pt; white-space: normal; }
  .kpi-title, .kpi-foot, .memo-finding small { color: #333; font-size: 9pt; }
  .line-chart-wrap, .line-chart { break-inside: avoid; page-break-inside: avoid; }
  .line-chart { width: 100%; max-width: 100%; height: auto; }
  .bridge-list { padding: 10pt 12pt; }
  .bridge-item { font-size: 9pt; }
  .market-body { flex-direction: row; flex-wrap: wrap; }
  .confidence-range { flex-wrap: wrap; }
  .table-wrap, .cohort-scroll { width: 100%; max-width: 100%; overflow: visible; padding: 0 10pt 8pt; }
  .data-table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    white-space: normal;
    font-size: 8.5pt;
  }
  .data-table th, .data-table td {
    padding: 6pt 4pt;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    vertical-align: top;
    line-height: 1.3;
    font-size: inherit;
    color: #222;
  }
  thead { display: table-header-group; }
  tfoot { display: table-footer-group; }
  tr { break-inside: avoid; page-break-inside: avoid; }
  .invoice-btn { display: inline; font: inherit; color: #222 !important; white-space: normal; }
  .country-name { display: block; }
  .country-symbol { display: none !important; }
  .cohort-table { width: 100%; min-width: 0; table-layout: fixed; border-spacing: 2pt; }
  .cohort-table th, .cohort-table td {
    min-width: 0;
    height: auto;
    padding: 3pt 1pt;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 7pt;
    color: #111 !important;
  }
  .cohort-table td { background: #fff !important; border: 1px solid #bbb; }
  .cohort-table th:first-child, .cohort-table td:first-child { width: 15%; min-width: 0; }
  .cohort-table th:nth-child(2), .cohort-table td:nth-child(2) { width: 9%; }
  .memo { width: 100%; max-width: none; margin: 0; }
  .memo-cover, .memo-section { padding: 12pt 14pt; break-inside: auto; page-break-inside: auto; }
  .memo-cover { border-top-width: 2pt; }
  .memo-cover h2 { max-width: none; font-size: 18pt; line-height: 1.3; }
  .memo-tag, .memo-meta { color: #333; font-size: 9pt; }
  .memo-meta { gap: 5pt 12pt; }
  .memo-intro, .memo-section p, .memo-section li { color: #222; font-size: 10.5pt; line-height: 1.5; }
  .memo-section h3 { font-size: 12pt; margin-bottom: 6pt; }
  .memo-findings { margin-top: 12pt; }
  .currency-note { display: block; margin: 0 0 12pt; font-size: 9pt; color: #222; }
  .currency-note .currency-detail { display: inline !important; color: #222; }
  .lab-banner { display: block; color: #111; background: #fff; border: 1px solid #999; break-inside: avoid; }
  .lab-banner a { display: block; color: #222; white-space: normal; }
  .footer { display: block; margin-top: 12pt; padding-top: 6pt; border-top: 1px solid #bbb; font-size: 8pt; color: #333; break-inside: avoid; }
  .footer > span { display: block; }
  .mono, .source-grid .hash, .source-file { overflow-wrap: anywhere; word-break: normal; }
  .source-grid .hash, .source-file .mono { font-size: 8pt; }
  .print-only { display: block; font-size: 8pt; color: #333; }
}
