@font-face{font-family:Inter;src:url(fonts/inter-400.ttf) format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Inter;src:url(fonts/inter-500.ttf) format('truetype');font-weight:500;font-display:swap}@font-face{font-family:Inter;src:url(fonts/inter-600.ttf) format('truetype');font-weight:600;font-display:swap}@font-face{font-family:Inter;src:url(fonts/inter-700.ttf) format('truetype');font-weight:700;font-display:swap}@font-face{font-family:Inter;src:url(fonts/inter-800.ttf) format('truetype');font-weight:800;font-display:swap}
:root{--bg:#f5f6f0;--card:#fff;--green:#164e40;--ink:#20342d;--muted:#829087;--soft:#62736a;--line:#e4e8df;--mint:#e9f0df;--gold:#b68a46;--sidebar:238px;--radius:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:13px/1.6 Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #7598b2;outline-offset:4px}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin:0}svg{display:block}button{background:none;border:0}button svg,.icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}button:disabled{opacity:.5;cursor:default}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip:focus{position:fixed;top:10px;left:10px;z-index:300;background:#fff;padding:12px}[hidden]{display:none!important}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);display:flex;flex-direction:column;background:#fbfcf7;border-right:1px solid var(--line);padding:30px 18px 18px;z-index:50}.wordmark{display:flex;align-items:center;gap:10px;font-size:27px;font-weight:700;letter-spacing:-1.5px;padding:0 9px}.logo-mark{width:31px;height:31px;background:var(--green);border-radius:8px;display:grid;place-items:center}.logo-mark svg{width:25px;height:25px;fill:none;stroke:#d4e8c2;stroke-width:2.3;stroke-linejoin:round}.brand-dot{font-size:9px;align-self:flex-start;letter-spacing:0;margin-left:-6px;padding-top:7px}.workspace{display:flex;gap:9px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:12px 10px;margin:34px 0 32px;background:white}.workspace-icon{width:30px;height:32px;background:var(--mint);color:var(--green);display:grid;place-items:center;border-radius:7px;font-weight:700}.workspace strong{font-size:11px;font-weight:600;display:block}.workspace span:not(.workspace-chevron){font-size:8px;color:var(--soft)}.workspace-chevron{margin-left:auto;color:var(--soft)}.nav-label{font-size:8px;color:var(--muted);letter-spacing:1.8px;padding:0 13px;margin-bottom:12px}.nav-item{display:flex;align-items:center;gap:11px;text-align:left;width:100%;padding:13px 12px;border-radius:8px;font-weight:500;color:var(--soft);font-size:11px;margin-bottom:5px;transition:background .18s,color .18s}.nav-item svg{width:16px;height:16px;stroke-width:1.5;flex-shrink:0}.nav-item.active{background:var(--green);color:white;box-shadow:0 4px 10px #164e4010}.nav-item:hover:not(.active){background:var(--mint);color:var(--green)}.nav-shortcut{margin-left:auto;font-size:8px;opacity:.5}.nav-badge{margin-left:auto;font-size:6px;letter-spacing:1px;background:#e6ecdb;color:var(--green);border-radius:3px;padding:2px 4px}.active .nav-badge{background:#356b55;color:#e8f0dc}.sidebar-bottom{margin-top:auto;padding-top:30px}.data-pulse{display:flex;gap:8px;align-items:flex-start;padding:15px 9px}.data-pulse i,.snapshot-pill i,.app-footer i{width:5px;height:5px;border-radius:50%;background:#87ad76;display:inline-block;margin-top:5px;flex-shrink:0}.data-pulse strong{font-size:9px;display:block;font-weight:500}.data-pulse span{font-size:8px;color:var(--muted)}.source-link{display:flex;justify-content:space-between;width:100%;font-size:9px;color:var(--soft);padding:8px 9px 20px}.profile{border-top:1px solid var(--line);padding-top:18px;display:flex;align-items:center;gap:9px}.avatar{width:31px;height:31px;border-radius:50%;background:#e7e7d8;display:grid;place-items:center;font-size:9px;font-weight:600}.profile strong{font-size:10px;font-weight:500;display:block}.profile div span{color:var(--muted);font-size:8px}
.app{margin-left:var(--sidebar)}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 36px;border-bottom:1px solid var(--line);background:#fbfcf780;gap:1rem}.breadcrumb{font-size:10px;color:var(--muted)}.breadcrumb span{padding:0 12px;color:#b4bcb1}.breadcrumb strong{font-weight:500;color:var(--ink)}.top-actions{display:flex;align-items:center;gap:20px}.snapshot-pill{display:flex;align-items:center;gap:7px;font-size:8px;color:var(--soft)}.snapshot-pill i{margin:0}.icon-button{display:flex;align-items:center;gap:10px;color:var(--soft);padding:4px}.icon-button svg{width:15px;height:15px}kbd{font:9px Inter,sans-serif;background:#e9ece4;border:1px solid #e2e5dc;border-radius:4px;padding:2px 4px}.export-button{display:flex;align-items:center;gap:8px;border:1px solid #d5ddd0;border-radius:7px;padding:8px 13px;font-size:9px;font-weight:500;background:white}.export-button svg{width:13px;height:13px}.export-button:hover{background:var(--mint)}main{max-width:1640px;margin:auto;padding:33px 36px 0;outline:none}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 0 29px}.eyebrow{font-size:8px;letter-spacing:2px;font-weight:500;color:var(--soft);margin-bottom:10px}h1{font-size:clamp(32px,3.1vw,49px);line-height:1.1;letter-spacing:-2.2px;font-weight:500}h1 span{color:#81917b}.page-heading p{font-size:10px;color:var(--soft);margin-top:12px}.page-stamp{display:flex;align-items:center;gap:13px;color:#66795d;font-size:9px;line-height:1.7;margin-right:4px}.stamp-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid #d3deca;border-radius:50%;font-size:24px;font-weight:400;color:var(--green)}.view{display:none}.view.active{display:block;animation:appear .3s ease-out}@keyframes appear{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}
.filterbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:1rem}.filter-left{display:flex;align-items:center;gap:8px}.filter-label{font-size:7px;letter-spacing:1.5px;color:var(--muted);margin-right:6px}.select-wrap{display:inline-flex;position:relative}.select-wrap select{border:1px solid #dbe1d5;padding:8px 29px 8px 11px;background:#fbfcf7;color:#40564a;border-radius:6px;font-size:9px;appearance:none;cursor:pointer;min-height:34px}.select-wrap::after{content:'⌄';position:absolute;right:11px;top:6px;color:var(--soft);pointer-events:none;font-size:13px}.filter-meta{font-size:8px;color:var(--muted)}.revenue-hero{display:grid;grid-template-columns:32% 68%;padding:27px 27px 19px;background:#123f32;color:#fff;border-radius:var(--radius);overflow:hidden;position:relative;isolation:isolate}.revenue-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 10% 0,#39613e80,transparent 65%);z-index:-1}.revenue-summary{padding:5px 12px 8px 1px}.hero-label{color:#c6d7bd;font-size:7px;font-weight:500;letter-spacing:1.2px;display:flex;align-items:center;gap:6px}.status-dot{height:4px;width:4px;background:#bad696;border-radius:50%}.hero-number{display:block;font-size:clamp(36px,4vw,63px);font-weight:400;letter-spacing:-3px;line-height:1.2;margin:17px 0 12px}.hero-change{display:flex;gap:8px;align-items:center;color:#bdcbbd;font-size:8px}.hero-change strong{padding:4px 7px;border-radius:4px;background:#ffffff12;color:#d3e5c0;font-size:9px;font-weight:500}.revenue-summary p{font-size:9px;line-height:1.8;color:#c2d1bf;max-width:225px;margin-top:21px}.hero-sql{font-size:8px;color:#d7e7cd;margin-top:20px;padding:0;border-bottom:1px solid #75977f;padding-bottom:5px;display:flex;gap:17px}.chart-topline{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#dee9d7}.hero-legend{display:flex;gap:13px;color:#bdd0bd;font-size:7px}.hero-legend span::before{content:'';display:inline-block;width:12px;height:2px;background:#c4e6bd;vertical-align:middle;margin-right:5px}.hero-legend span:last-child::before{background:#7a9d88}.hero-plot{height:265px}.hero-chart-foot{font-size:7px;color:#a0b59f;display:block;text-align:right;margin-top:-4px}.metric-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:17px 0 30px;border:1px solid var(--line);background:#fff;border-radius:10px;overflow:hidden}.metric{padding:17px 20px;border-right:1px solid var(--line);min-width:0}.metric:last-child{border:0}.metric-name{font-size:8px;color:var(--soft);display:flex;justify-content:space-between;gap:6px}.metric-icon{font-size:13px;line-height:1;opacity:.5}.metric-value{display:block;font-size:26px;font-weight:500;letter-spacing:-1px;line-height:1.25;margin:7px 0}.metric-note{color:var(--muted);font-size:8px;line-height:1.5}.metric-note .positive{color:#4e805d}.section-label{display:flex;align-items:center;justify-content:space-between;margin:0 0 15px}.section-label h2{font-weight:500;font-size:20px;letter-spacing:-.7px}.section-label>span{font-size:8px;color:var(--muted)}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);min-width:0;overflow:hidden}.card-head{padding:20px 21px 5px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.card-head h3{font-size:12px;letter-spacing:-.25px;font-weight:600}.card-head p{font-size:8px;color:var(--muted);margin-top:5px}.sql-button{border:1px solid var(--line);border-radius:5px;padding:3px 7px;font-size:7px;color:var(--soft);white-space:nowrap;flex-shrink:0}.sql-button:hover{background:var(--mint)}.plot{width:100%;height:310px}.overview-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:18px;margin-bottom:20px}.flow-card{padding:0 10px}.flow-card .card-head{padding-left:11px;padding-right:11px}.flow-plot{height:300px}.card-foot{border-top:1px solid #edf0e9;font-size:8px;color:var(--muted);padding:11px 20px;line-height:1.7;display:flex;gap:7px;align-items:flex-start}.tiny-dot{background:#9ab587;width:4px;height:4px;border-radius:50%;display:inline-block;flex-shrink:0;margin-top:5px}.world-map{width:100%;height:auto;max-height:168px;padding:5px 15px}.world-map>g:first-child{fill:#e9eee3;stroke:#fff;stroke-width:.6}.map-dot{fill:#7a9e72;stroke:white;stroke-width:1;opacity:.9}.map-dot:first-child{fill:var(--green)}.map-rank{padding:0 21px;margin:1px 0 10px;display:grid;grid-template-columns:1fr auto;gap:5px;font-size:8px;align-items:center}.map-rank span:first-child{display:flex;align-items:center;gap:7px}.flag-marker{width:5px;height:5px;border-radius:50%;background:#99b286}.map-rank b{font-weight:500;font-variant-numeric:tabular-nums}.map-credit{font-size:6px;color:#a0aa9d;display:block;padding:4px 21px 11px}.market-card{background:linear-gradient(140deg,#fff,#fbfcf7)}.products-card{margin-bottom:20px}.table-tools{display:flex;gap:10px;align-items:center}.table-tools input{width:145px;border:0;border-bottom:1px solid var(--line);padding:4px 0;font-size:8px;outline:none}.table-scroll{overflow-x:auto;margin-top:14px}.product-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.product-table th{background:#fafbf7;font-size:6px;letter-spacing:.8px;font-weight:500;color:var(--muted);padding:11px 20px;border-top:1px solid #edf0e9;border-bottom:1px solid #edf0e9}.product-table td{font-size:8px;padding:12px 20px;border-bottom:1px solid #f0f2ec;line-height:1.6;font-variant-numeric:tabular-nums}.product-table tr:last-child td{border-bottom:0}.product-name{font-weight:500;max-width:260px;overflow:hidden;text-overflow:ellipsis}.product-sku{display:block;font-size:6px;color:var(--muted);font-weight:400}.product-rank{color:var(--muted);margin-right:10px;font-size:7px}.share-bar{display:inline-block;height:4px;width:70px;background:#eef2e8;border-radius:5px;overflow:hidden;vertical-align:middle;margin-right:8px}.share-bar i{display:block;height:100%;background:#83a57b}.table-more{display:flex;gap:12px;align-items:center;margin:6px auto 10px;font-size:8px;color:var(--soft);padding:7px}.insight-strip{display:flex;gap:13px;align-items:center;border:1px solid #dbe4d2;background:#eaf0e0;border-radius:10px;padding:16px 20px;margin-bottom:10px}.insight-icon{font-size:23px;color:var(--green)}.insight-strip p{font-size:9px;line-height:1.7;flex:1}.insight-strip button{font-size:8px;font-weight:500;white-space:nowrap}.insight-strip button span{margin-left:10px}.app-footer{margin-top:35px;padding:20px 0 24px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;font-size:7px;color:var(--muted)}.app-footer>span:first-child{display:flex;align-items:center;gap:7px}.app-footer i{margin:0}.app-footer button{font-size:7px;padding:0;color:var(--soft)}
/* Customers */
.view-context{display:flex;align-items:center;gap:14px;padding:12px 0 20px}.view-context>span{font-size:8px;color:var(--green);letter-spacing:1px}.view-context p{color:var(--muted);font-size:9px}.view-context .sql-button{margin-left:auto}.segment-controls{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:18px}.segment-chip{display:flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #dce3d6;border-radius:6px;font-size:9px;background:#fbfcf7}.segment-chip i{width:5px;height:5px;display:inline-block;border-radius:50%}.segment-chip.active{background:var(--green);color:white;border-color:var(--green)}.customer-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:18px;margin-bottom:20px}.scatter-plot{height:360px}.segment-card .plot{height:230px}.segment-key{padding:0 22px 14px;display:grid;gap:9px}.segment-key>div{display:flex;gap:7px;align-items:center;font-size:8px}.segment-key i{width:6px;height:6px;border-radius:50%}.segment-key b{margin-left:auto;font-weight:500}.subtle-tag{font-size:6px;letter-spacing:.5px;color:var(--soft);background:#f1f4eb;padding:4px 6px;border-radius:4px;white-space:nowrap}.cohort-card{margin-bottom:20px}.cohort-plot{height:380px}.text-button{font-size:8px;color:var(--green);border-bottom:1px solid #c6d3bd;padding:0 0 2px;white-space:nowrap}.segment-pill{padding:3px 6px;border-radius:4px;background:#eef2e7;color:#5b7959;font-size:7px}
/* Decision lab */
.lab-banner{background:#e8efde;border:1px solid #d7e3cc;border-radius:10px;display:flex;gap:15px;padding:17px 21px;align-items:center;margin-bottom:20px}.lab-spark{font-size:28px;color:var(--green)}.lab-banner strong{font-size:12px;font-weight:500}.lab-banner p{font-size:9px;color:var(--soft);margin-top:3px}.lab-banner>.subtle-tag{margin-left:auto;background:#f7f9f0}.lab-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:20px;align-items:start}.scenario-controls{padding-bottom:17px;position:sticky;top:20px}.scenario-controls .card-head{padding:21px}.preset-tabs{display:flex;margin:0 20px 22px;background:#f3f5ed;padding:4px;border-radius:6px}.preset-tabs button{flex:1;padding:6px 3px;font-size:8px;border-radius:4px}.preset-tabs .active{background:var(--green);color:white}.slider-label{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:0 22px;font-size:9px;margin:0 0 18px}.slider-label output{font-size:10px;color:var(--green);font-weight:600;font-variant-numeric:tabular-nums}.slider-label input{flex-basis:100%;width:100%;height:22px;margin-top:8px;accent-color:var(--green);cursor:pointer}.control-divider{height:1px;background:var(--line);margin:8px 22px 21px}.reset-button{display:block;font-size:8px;margin:3px auto 17px;border-bottom:1px solid var(--line);padding:4px}.control-note{font-size:8px;line-height:1.7;color:var(--muted);margin:0 22px}.lab-results{display:grid;gap:20px}.scenario-result{border-radius:13px;background:var(--green);color:#fff;padding:25px;display:flex;gap:20px;align-items:center;justify-content:space-between}.scenario-result>div>span:first-child{display:block;font-size:7px;letter-spacing:1px;color:#c7d8bc}.scenario-result>div>strong{display:block;font-size:42px;letter-spacing:-2px;font-weight:400;margin:9px 0}.scenario-result p{font-size:8px;color:#cfddc5}.scenario-result-detail{border-left:1px solid #547560;padding-left:24px;min-width:150px}.scenario-result-detail>strong{font-size:24px!important;letter-spacing:-1px!important}.scenario-result-detail>span:last-child{font-size:8px;color:#cfddc5}.surface-plot{height:360px}.unit-label{color:var(--muted);font-size:8px}
/* Model evaluation */
.model-command{display:flex;justify-content:space-between;align-items:center;margin:0 0 25px}.view-kicker{font-size:7px;letter-spacing:1px;color:var(--green)}.model-command h2{font-size:24px;font-weight:500;letter-spacing:-1px;margin:7px 0}.model-command p{font-size:10px;color:var(--soft)}.model-threshold-row{display:flex;align-items:center;gap:22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin-bottom:18px}.model-threshold-row label{font-size:10px;white-space:nowrap}.model-threshold-row strong{font-weight:600;margin-left:10px;color:var(--green)}.model-threshold-row input{flex:1;min-width:70px;accent-color:var(--green)}.model-threshold-row>span{font-size:9px;color:var(--soft)}.model-metric-rail{grid-template-columns:repeat(6,minmax(0,1fr))}.model-metric-rail .metric{padding:15px}.model-metric-rail .metric-value{font-size:23px}.diagnostic-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.matrix{width:calc(100% - 40px);margin:19px 20px 15px;border-spacing:5px;table-layout:fixed;text-align:center}.matrix th{font-size:8px;font-weight:400;color:var(--soft)}.matrix th:first-child{width:20%}.matrix td{padding:17px 3px;border-radius:6px;font-size:8px}.matrix td strong{display:block;font-size:30px;line-height:1.3;letter-spacing:-1px;font-weight:500}.matrix td span{display:block;font-size:7px;margin-top:5px}.matrix .correct{background:#e0edce;color:var(--green)}.matrix .wrong{background:#f5ead8;color:#997441}.matrix-caption{text-align:center;color:var(--muted);font-size:8px;margin:0 15px 17px}.methodology{margin-top:20px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:20px}.methodology summary{cursor:pointer;list-style:none;font-size:10px;display:flex;justify-content:space-between}.methodology summary::-webkit-details-marker{display:none}.methodology>div{font-size:10px;color:var(--soft);line-height:1.9;margin-top:15px;max-width:850px}.methodology dl{display:grid;grid-template-columns:150px 1fr;gap:6px;margin-bottom:16px}.methodology dt{font-weight:500;color:var(--ink)}.methodology dd{margin:0}
/* Transparent data foundations */
.data-intro{margin:5px 0 30px}.data-intro h2{font-size:27px;letter-spacing:-1.1px;font-weight:500}.data-intro p{font-size:11px;color:var(--soft);margin-top:10px;max-width:600px}.lineage{display:flex;align-items:center;background:#eaf0df;border:1px solid #d8e3ce;border-radius:12px;padding:24px;margin-bottom:25px;gap:22px}.lineage>div{flex:1}.lineage>div span{font-size:8px;color:#7e9672;display:block;margin-bottom:9px}.lineage strong{font-size:11px;font-weight:500;display:block}.lineage small{font-size:8px;color:var(--soft);margin-top:6px;display:block}.lineage>i{font-size:20px;font-style:normal;color:#7e9672}.data-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;margin-bottom:22px}.source-copy{font-size:10px;padding:15px 21px 24px;line-height:1.9;color:var(--soft)}.source-copy p{margin-bottom:12px}.source-copy h4{color:var(--ink);margin:18px 0 7px}.source-copy a{color:var(--green);border-bottom:1px solid #c4d6b5}.source-copy ul{padding-left:16px}.source-copy li{margin-bottom:8px}.check-status{font-size:6px;color:var(--green);padding-top:2px}.quality-row{display:flex;justify-content:space-between;gap:20px;padding:14px 20px;border-bottom:1px solid #edf0e9;font-size:9px;color:var(--soft)}.quality-row:last-child{border:0}.quality-row strong{font-weight:500;color:var(--ink);font-variant-numeric:tabular-nums}.sql-layout{display:grid;grid-template-columns:220px 1fr;margin-top:15px;border-top:1px solid var(--line)}#queryList{background:#f8faf4;border-right:1px solid var(--line);padding:15px 10px}.query-button{display:block;text-align:left;width:100%;font:9px/1.5 ui-monospace,monospace;padding:9px 10px;border-radius:5px;color:var(--soft)}.query-button.active{background:#e7efdc;color:var(--green)}.code-file-bar{display:flex;justify-content:space-between;gap:15px;padding:13px 20px;background:#f4f6ef;border-bottom:1px solid #e3e8dd;font:9px ui-monospace,monospace;color:var(--green)}pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:10px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace}#librarySql{background:#102b21;color:#e0e8d5;padding:23px;min-height:360px;max-height:530px;overflow:auto}.sql-keyword{color:#b7d3a3}.sql-string{color:#e5c797}.sql-comment{color:#8caa8d}
/* Query drawer and command navigation */
.drawer-overlay{position:fixed;inset:0;z-index:150}.drawer-backdrop{position:absolute;inset:0;background:#10251c55;backdrop-filter:blur(3px);width:100%}.sql-drawer{position:absolute;inset:0 0 0 auto;width:min(660px,94vw);background:#f7f9f1;padding:35px;overflow:auto;box-shadow:-20px 0 80px #102b2120;animation:drawer .2s ease-out}@keyframes drawer{from{transform:translateX(30px);opacity:.7}to{transform:none;opacity:1}}.drawer-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.drawer-heading h2{font-size:25px;line-height:1.3;letter-spacing:-1px;font-weight:500}.close-button{font-size:26px;padding:0 5px;color:var(--soft);line-height:1}.sql-drawer>p{font-size:11px;color:var(--soft);line-height:1.9;margin:22px 0}.sql-drawer pre{padding:22px;background:#102b21;color:#e0e8d5;border-radius:0 0 8px 8px;font-size:11px;min-height:220px}.sql-drawer .code-file-bar{border-radius:8px 8px 0 0;border:1px solid var(--line)}dialog{width:min(540px,90vw);border:1px solid var(--line);border-radius:14px;padding:0;box-shadow:0 20px 90px #102b2130;color:var(--ink);background:#fbfcf7}dialog::backdrop{background:#102b2155;backdrop-filter:blur(3px)}.command-search{display:flex;gap:12px;padding:18px;border-bottom:1px solid var(--line);align-items:center}.command-search svg{width:17px;height:17px;fill:none;stroke:var(--soft);stroke-width:1.5}.command-search input{flex:1;border:0;background:none;outline:none;min-width:0;font-size:12px}.command-search button{font-size:8px;color:var(--soft);border:1px solid var(--line);border-radius:4px;padding:3px 5px}#commandResults{padding:9px}.command-result{width:100%;display:flex;justify-content:space-between;padding:13px;border-radius:6px;font-size:11px;text-align:left}.command-result:hover,.command-result.selected{background:var(--mint)}.command-hint{font-size:8px;color:var(--muted);padding:12px 20px;border-top:1px solid var(--line)}#toast{position:fixed;bottom:25px;left:calc(50% + 90px);transform:translate(-50%,20px);opacity:0;background:var(--ink);color:#fff;padding:12px 20px;border-radius:8px;font-size:11px;pointer-events:none;z-index:200;transition:.2s}#toast.show{transform:translate(-50%,0);opacity:1}
@media(min-width:1800px){main{padding-top:45px}.hero-number{font-size:70px}.metric-value{font-size:30px}.card-head h3{font-size:14px}.card-head p{font-size:10px}.product-table td{font-size:10px}}
@media(max-width:1200px){:root{--sidebar:205px}.sidebar{padding-left:12px;padding-right:12px}.nav-item{font-size:10px;gap:9px}.wordmark{font-size:24px}.topbar{padding:0 25px}main{padding:27px 25px 0}.hero-number{font-size:43px}.overview-grid{grid-template-columns:1.3fr 1fr}.metric{padding:16px 14px}.card-head{padding-left:16px;padding-right:16px}.lab-layout{grid-template-columns:235px minmax(0,1fr)}.scenario-result{padding:20px}.scenario-result>div>strong{font-size:34px}.scenario-result-detail{padding-left:15px;min-width:125px}.model-metric-rail{grid-template-columns:repeat(3,1fr)}.model-metric-rail .metric:nth-child(3){border-right:0}.model-metric-rail .metric:nth-child(-n+3){border-bottom:1px solid var(--line)}}
@media(max-width:960px){:root{--sidebar:70px}.sidebar{padding:24px 10px 15px;align-items:center}.wordmark{font-size:0;gap:0;padding:0}.logo-mark{width:33px;height:33px}.brand-dot,.workspace,.nav-label,.sidebar-bottom,.nav-shortcut,.nav-badge{display:none}.sidebar nav{margin-top:40px;width:100%}.nav-item{font-size:0;justify-content:center;padding:14px 0}.nav-item svg{width:20px;height:20px}.topbar{height:65px}.snapshot-pill{display:none}.page-stamp{display:none}.revenue-hero{grid-template-columns:35% 65%;padding:22px}.hero-number{font-size:43px}.hero-label{font-size:6px}.overview-grid,.customer-grid{grid-template-columns:1fr}.market-card{display:grid;grid-template-columns:1fr 1fr}.market-card .card-head{grid-column:1/-1}.world-map{max-height:170px}.market-card #marketRanking{padding-top:15px}.map-credit{grid-column:1/-1}.lab-layout{grid-template-columns:220px minmax(0,1fr)}.scenario-result{flex-direction:column;align-items:flex-start}.scenario-result-detail{border-left:0;padding-left:0;border-top:1px solid #547560;padding-top:12px;width:100%}.scenario-result-detail>strong{display:inline-block!important;margin-right:12px!important}.lab-banner .subtle-tag{display:none}.diagnostic-grid{gap:14px}.data-grid{grid-template-columns:1fr}.lineage{gap:12px;padding:20px}.lineage strong{font-size:9px}.lineage small{font-size:7px}.sql-layout{grid-template-columns:180px 1fr}}
@media(max-width:640px){:root{--sidebar:0px}.sidebar{position:relative;width:100%;height:auto;display:block;padding:17px 16px 0;border-right:0;border-bottom:1px solid var(--line)}.wordmark{font-size:24px;gap:9px;width:max-content}.sidebar nav{margin:17px -16px 0;display:flex;width:calc(100% + 32px);overflow-x:auto;padding:0 10px;scrollbar-width:none}.nav-item{font-size:9px;width:auto;flex-shrink:0;gap:6px;white-space:nowrap;padding:12px 9px;border-radius:0;margin-bottom:0;border-bottom:2px solid transparent}.nav-item svg{width:13px;height:13px}.nav-item.active{background:none;box-shadow:none;color:var(--green);border-bottom-color:var(--green)}.app{margin:0}.topbar{height:50px;padding:0 16px}.breadcrumb{font-size:9px}.breadcrumb span{padding:0 7px}.top-actions{gap:12px}.icon-button kbd{display:none}.export-button{padding:6px 8px;font-size:8px}.export-button svg{width:12px;height:12px}main{padding:25px 16px 0}.page-heading{margin-bottom:22px}h1{font-size:34px;letter-spacing:-1.7px}.eyebrow{font-size:7px;letter-spacing:1.5px}.page-heading p{font-size:9px}.filterbar{flex-wrap:wrap;gap:8px}.filter-left{gap:7px;width:100%}.filter-label{display:none}.select-wrap{flex:1}.select-wrap select{width:100%;font-size:10px;padding:10px 25px 10px 10px}.filter-meta{font-size:7px}.revenue-hero{grid-template-columns:1fr;padding:22px 18px 13px}.revenue-summary{padding:0}.hero-number{font-size:58px;letter-spacing:-3px;margin:12px 0 7px}.hero-label{font-size:7px}.hero-change{font-size:8px}.revenue-summary p{max-width:none;font-size:9px;margin-top:14px}.hero-sql{margin:14px 0 21px;font-size:8px}.hero-chart-wrap{border-top:1px solid #ffffff19;padding-top:15px}.chart-topline{font-size:8px}.hero-legend{font-size:6px;gap:8px}.hero-plot{height:210px}.hero-chart-foot{font-size:6px}.metric-rail{grid-template-columns:1fr 1fr;margin:14px 0 24px}.metric{padding:16px}.metric:nth-child(2){border-right:0}.metric:nth-child(-n+2){border-bottom:1px solid var(--line)}.metric-name{font-size:9px}.metric-value{font-size:26px}.metric-note{font-size:8px}.section-label{align-items:flex-start;gap:6px;flex-direction:column;margin-bottom:12px}.section-label h2{font-size:21px}.overview-grid{gap:14px;margin-bottom:14px}.card-head{padding:17px 16px 5px}.card-head h3{font-size:12px}.card-head p{font-size:8px}.flow-card{padding:0 4px}.flow-card .card-head{padding-left:12px;padding-right:12px}.flow-plot{height:270px}.market-card{grid-template-columns:1fr}.market-card #marketRanking{padding-top:0}.world-map{max-height:180px}.map-rank{font-size:10px;margin-bottom:12px}.map-credit{font-size:7px}.products-card .card-head{flex-direction:column;gap:12px}.table-tools{width:100%;justify-content:space-between}.table-tools input{font-size:10px;width:65%;padding:7px 0}.product-table th{font-size:7px;padding:11px 14px}.product-table td{font-size:10px;padding:12px 14px}.product-name{max-width:190px}.product-sku{font-size:7px}.share-bar{width:45px}.table-more{font-size:10px;padding:10px}.insight-strip{align-items:flex-start;flex-wrap:wrap;padding:15px;gap:10px}.insight-strip p{font-size:10px;flex-basis:calc(100% - 40px)}.insight-strip button{font-size:9px;margin-left:32px}.app-footer{flex-direction:column;gap:8px;font-size:7px;margin-top:25px}.app-footer button{font-size:7px}.view-context{flex-wrap:wrap;gap:7px;padding-bottom:15px}.view-context>span{font-size:7px}.view-context p{font-size:8px}.view-context .sql-button{margin-left:0}.segment-controls{gap:5px}.segment-chip{font-size:9px;padding:7px 9px}.customer-grid{gap:14px;margin-bottom:14px}.scatter-plot{height:310px}.subtle-tag{font-size:5px;white-space:normal;max-width:85px}.card-foot{font-size:8px;padding:11px 16px}.cohort-plot{min-width:560px;height:380px}.cohort-card{overflow-x:auto}.cohort-card .card-head,.cohort-card .card-foot{min-width:300px}.segment-key>div{font-size:10px}.segment-card .plot{height:220px}.lab-banner{padding:14px;gap:10px;align-items:flex-start}.lab-banner strong{font-size:11px}.lab-banner p{font-size:9px}.lab-layout{grid-template-columns:1fr;gap:15px}.scenario-controls{position:static}.scenario-controls .card-head{padding:18px}.preset-tabs{margin:0 18px 20px}.preset-tabs button{font-size:10px;padding:8px}.slider-label{font-size:11px;margin-bottom:17px}.slider-label output{font-size:12px}.slider-label input{height:30px}.control-note{font-size:9px}.reset-button{font-size:10px}.lab-results{gap:14px}.scenario-result{padding:20px}.scenario-result>div>strong{font-size:43px}.scenario-result p{font-size:9px}.scenario-result-detail{padding-top:14px}.scenario-result-detail>strong{font-size:25px!important}.surface-plot{height:330px}.model-command{align-items:flex-start;flex-direction:column;gap:15px}.model-command .select-wrap{width:100%}.model-command h2{font-size:25px}.model-command p{font-size:10px}.model-threshold-row{flex-wrap:wrap;gap:12px}.model-threshold-row label{font-size:11px}.model-threshold-row input{min-width:100px}.model-threshold-row>span{width:100%;font-size:9px}.model-metric-rail{grid-template-columns:1fr 1fr}.model-metric-rail .metric:nth-child(3){border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.model-metric-rail .metric:nth-child(4){border-bottom:1px solid var(--line);border-right:0}.model-metric-rail .metric:nth-child(2n){border-right:0}.model-metric-rail .metric-name{font-size:9px}.diagnostic-grid{grid-template-columns:1fr}.matrix th{font-size:9px}.matrix td{padding:22px 3px}.matrix td span{font-size:8px}.matrix-caption{font-size:9px}.methodology{padding:16px}.methodology summary{font-size:11px}.methodology dl{grid-template-columns:1fr;gap:2px}.methodology dd{margin-bottom:8px}.data-intro h2{font-size:24px}.data-intro p{font-size:11px}.lineage{flex-direction:column;align-items:stretch;padding:22px;gap:10px}.lineage>i{transform:rotate(90deg);align-self:center}.lineage>div{display:grid;grid-template-columns:28px 1fr;align-items:center}.lineage>div span{grid-row:1/3;margin:0}.lineage strong{font-size:12px}.lineage small{font-size:9px;margin-top:3px}.source-copy{font-size:11px;padding:13px 16px 20px}.quality-row{font-size:10px;padding:14px 16px}.sql-layout{grid-template-columns:1fr}#queryList{display:flex;overflow-x:auto;padding:10px;border-right:0;border-bottom:1px solid var(--line)}.query-button{white-space:nowrap;width:auto;font-size:9px}#librarySql{font-size:10px;padding:16px}.sql-drawer{padding:24px 18px}.drawer-heading h2{font-size:23px}.sql-drawer pre{font-size:10px;padding:16px}.sql-drawer>p{font-size:11px}.command-search{padding:15px}.command-result{font-size:12px;padding:15px}#toast{left:50%;width:max-content;max-width:90vw;text-align:center;font-size:10px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media print{.sidebar,.topbar,.filterbar,.sql-button,.app-footer,.view:not(.active){display:none!important}.app{margin:0}main{padding:0}.card,.revenue-hero{break-inside:avoid}body{background:white}.view.active{display:block!important}}

/* Comfortable reading sizes at presentation distance. */
@media(min-width:641px){
 .nav-item{font-size:12px}.workspace strong{font-size:12px}.workspace span:not(.workspace-chevron){font-size:9px}.profile strong{font-size:11px}.profile div span{font-size:9px}
 .breadcrumb{font-size:11px}.snapshot-pill{font-size:9px}.export-button{font-size:10px}.page-heading p{font-size:12px}.eyebrow{font-size:9px}
 .select-wrap select{font-size:11px}.filter-meta{font-size:10px}.hero-label{font-size:9px}.hero-change{font-size:10px}.hero-change strong{font-size:11px}.revenue-summary p{font-size:11px;line-height:1.8}.hero-sql{font-size:10px}.chart-topline{font-size:11px}.hero-legend{font-size:9px}.hero-chart-foot{font-size:8px}
 .metric-name{font-size:10px}.metric-note{font-size:10px}.card-head h3{font-size:14px}.card-head p{font-size:10px}.sql-button{font-size:9px}.card-foot{font-size:10px}.map-rank{font-size:10px}.map-credit{font-size:8px}.section-label>span{font-size:10px}
 .product-table td{font-size:10px}.product-table th{font-size:8px}.product-sku{font-size:8px}.table-tools input{font-size:10px}.table-more{font-size:10px}.insight-strip p{font-size:11px}.insight-strip button{font-size:10px}.subtle-tag{font-size:8px}.view-context p{font-size:11px}.segment-chip{font-size:10px}.segment-key>div{font-size:10px}
 .slider-label{font-size:11px}.slider-label output{font-size:12px}.preset-tabs button{font-size:10px}.control-note{font-size:10px}.scenario-result p{font-size:10px}.scenario-result>div>span:first-child{font-size:9px}.scenario-result-detail>span:last-child{font-size:10px}.lab-banner p{font-size:11px}.reset-button{font-size:10px}
 .model-command p{font-size:12px}.model-threshold-row label{font-size:12px}.model-threshold-row>span{font-size:10px}.matrix th{font-size:10px}.matrix td span{font-size:9px}.matrix-caption{font-size:10px}.methodology summary{font-size:12px}.methodology>div{font-size:12px}
 .source-copy{font-size:12px}.quality-row{font-size:11px}.lineage strong{font-size:12px}.lineage small{font-size:10px}.query-button{font-size:10px}.code-file-bar{font-size:10px}#librarySql{font-size:11px}.text-button{font-size:10px}
}
@media(min-width:641px) and (max-width:960px){.nav-item{font-size:0}}

.surface-toggle{display:flex;gap:3px;padding:3px;background:#f2f5ed;border-radius:5px;flex-shrink:0}.surface-toggle button{font-size:9px;padding:5px 7px;border-radius:3px;color:var(--soft)}.surface-toggle button[aria-pressed=true]{background:var(--green);color:white}.surface-card .card-head{flex-wrap:wrap}

#pageEyebrow:empty,#pageSubtitle:empty{display:none}
.partner-plot{height:310px}.forecast-plot{height:330px}.baseline-plot{height:260px}
.affinity-check{padding:6px 22px 22px;font-size:10px;line-height:1.75;color:#3d5148;max-width:70rem}
.affinity-check p{margin:12px 0 0}.affinity-check strong{color:var(--green)}.affinity-caveat{color:var(--muted)}
.model-context{margin:20px 0}
.key{display:inline-block;width:14px;height:3px;margin:0 6px 2px 14px;vertical-align:middle}.key:first-child{margin-left:0}
.key-gold{background:#d2a15a}.key-blue{background:#7598b2}.key-green{background:#164e40}
.card-foot strong{color:var(--green)}

.cluster-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:8px;vertical-align:middle}

.plotline-link{color:var(--green);font-weight:600;text-decoration:underline;text-underline-offset:2px}

#view-overview .revenue-hero+.section-label{margin-top:26px}

.map-wrap{position:relative}
#worldMap{touch-action:pan-x pan-y;cursor:zoom-in;user-select:none}#worldMap.zoomed{touch-action:none;cursor:grab}#worldMap.zoomed:active{cursor:grabbing}
#worldMap .world-map{max-height:210px}
#worldMap .world-map path,#worldMap .world-map g{vector-effect:non-scaling-stroke}
#worldMap .map-dot{vector-effect:non-scaling-stroke}
.map-zoom{position:absolute;right:12px;top:6px;display:flex;flex-direction:column;gap:4px}
.map-zoom button{width:28px;height:28px;border:1px solid #dbe1d5;background:#fbfcf7;color:var(--green);border-radius:6px;font-size:14px;line-height:1;cursor:pointer;display:grid;place-items:center}
.map-zoom button:hover:not(:disabled){background:var(--mint)}.map-zoom button:disabled{opacity:.35;cursor:default}
@media(max-width:640px){.map-zoom button{width:36px;height:36px}}

#view-overview .revenue-hero+.overview-grid{margin-top:22px}

#worldMap .world-map>g:first-child path{fill:#e9eee3;transition:fill .15s,filter .15s}
#worldMap path.has-sales{cursor:pointer}
#worldMap path.is-hot{filter:brightness(.82);stroke:#164e40;stroke-width:1.2}
#worldMap .map-dot{cursor:pointer;fill:#356b55;stroke:#fff;stroke-width:1;opacity:.92;transition:fill .15s}
#worldMap .map-dot.is-hot{fill:#d2a15a;opacity:1;stroke-width:1.6}
.map-tip{position:absolute;z-index:6;pointer-events:none;min-width:160px;background:#fff;border:1px solid #dbe1d5;border-radius:8px;padding:10px 12px;box-shadow:0 10px 28px rgba(22,78,64,.16);font-size:10px;color:#40564a}
.map-tip strong{display:block;font-size:12px;color:#20342d;margin-bottom:6px;font-weight:600}
.map-tip dl{display:grid;grid-template-columns:auto auto;gap:3px 14px;margin:0}.map-tip dt{color:#829087}.map-tip dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;color:#20342d}
.map-tip-none{color:#829087}
.map-rank{cursor:pointer;border-radius:6px;transition:background .15s}.map-rank.is-hot{background:#eef3e8}.map-rank.is-hot span{color:var(--green);font-weight:600}
