:root{color-scheme:dark;--bg:#0b131b;--panel:#101d27;--line:#253845;--text:#e5eef4;--muted:#8da7b9;--mint:#64d8b5}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.6 "Noto Sans KR",system-ui,sans-serif}button,input,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #84f0cd;outline-offset:4px}.site-header{display:flex;align-items:center;gap:24px;padding:18px 32px;border-bottom:1px solid var(--line)}.site-header img{width:205px;display:block}.site-header span{color:var(--muted);font-size:13px}.site-header b{margin-left:auto;color:#7ea399;font-size:10px;letter-spacing:2px}.site-nav{display:flex;gap:10px;padding:10px 32px;background:#0e1a23;border-bottom:1px solid var(--line)}.site-nav a{padding:8px 18px;color:var(--muted);font-weight:600}.site-nav [aria-current]{color:#b2f0db;background:#1d4037;border:1px solid #3c6c5d;border-radius:8px}main{max-width:1536px;margin:auto;padding:30px 32px}.title-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font-size:10px;letter-spacing:2.5px;color:var(--mint);margin:0 0 7px;font-weight:700}h1{font-size:27px;letter-spacing:-1px;margin:0}h2{font-size:17px;letter-spacing:-.4px;margin:0}.intro{color:var(--muted);margin:7px 0 0;font-size:13px}.preview-badge{padding:5px 12px;border:1px solid #5b5035;color:#dec794;background:#302b20;border-radius:20px;font-size:12px;white-space:nowrap}.demo-notice{display:flex;gap:10px;align-items:center;background:#172521;border:1px solid #344e43;border-radius:9px;padding:10px 14px;margin:22px 0;color:#acbfb3;font-size:12px}.demo-notice p{margin:0}.demo-notice strong{color:#d4e2d8;font-weight:500;margin-right:8px}.controls{display:flex;justify-content:space-between;gap:20px;align-items:end;padding:4px 0 22px}.market-tabs{display:flex;gap:4px;background:#12202b;border:1px solid var(--line);padding:4px;border-radius:10px}.market-tabs button{border:0;color:var(--muted);background:transparent;padding:9px 26px;border-radius:7px;font-weight:600;white-space:nowrap}.market-tabs [aria-pressed=true]{background:#254c41;color:#b4f4dd}.selectors{display:flex;gap:12px}label{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:11px}select,input{background:#111f2a;color:#d6e5ee;border:1px solid #2d4353;padding:8px 12px;border-radius:7px;min-height:38px;font-size:12px}input{width:195px}.summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:22px}.summary article{background:linear-gradient(120deg,#142430,#101d27);border:1px solid var(--line);border-radius:10px;padding:18px 20px}.summary span,.summary small{display:block;color:var(--muted);font-size:11px}.summary strong{display:block;margin:7px 0;font-size:27px;font-weight:600;letter-spacing:-1px;font-variant-numeric:tabular-nums}.summary article:nth-child(3) strong{color:var(--mint)}.summary small{font-size:10px}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px;align-items:start}.map-panel,.detail-panel,.table-panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-head{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:20px}.panel-head p{font-size:11px;color:var(--muted);margin:4px 0 0}.panel-head h2 span{font-size:10px;font-weight:400;color:var(--muted);border:1px solid var(--line);border-radius:4px;padding:1px 5px;vertical-align:middle;margin-left:6px}.metric-label{flex-shrink:0}.legend{display:flex;gap:4px;align-items:center;padding:0 20px 15px;color:var(--muted);font-size:10px}.legend i{width:22px;height:7px;border-radius:2px}.legend span:first-child{margin-right:4px}.legend span{margin-left:4px}.legend small{margin-left:auto;font-size:10px}.treemap{position:relative;height:495px;margin:0 12px;background:#0c161f;border-radius:6px}.tile{position:absolute;border:1px solid #ffffff16;border-radius:5px;color:white;padding:12px;overflow:hidden;text-align:left;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;transition:background .2s,box-shadow .2s}.tile:hover{filter:brightness(1.14);z-index:1}.tile.selected{outline:2px solid #b6f0dc;outline-offset:-3px;box-shadow:inset 0 0 0 5px #0c19182b}.tile .tile-name{font-size:16px;font-weight:700;text-align:center;word-break:keep-all}.tile .tile-symbol{font-size:10px;opacity:.65}.tile .tile-growth{font-size:25px;font-weight:700;letter-spacing:-.5px;margin-top:4px;white-space:nowrap}.tile .tile-revenue{font-size:11px;opacity:.78;white-space:nowrap}.tile.compact{padding:5px;gap:0}.tile.compact .tile-name{font-size:12px}.tile.compact .tile-growth{font-size:17px}.tile.compact .tile-symbol,.tile.compact .tile-revenue{display:none}.map-note{display:flex;justify-content:space-between;gap:10px;padding:12px 18px;font-size:10px;color:var(--muted)}.detail-panel{padding:21px}.detail-eyebrow{font-size:10px;color:var(--mint);letter-spacing:1px}.company-heading{display:flex;align-items:center;gap:12px;margin:16px 0}.company-avatar{width:43px;height:43px;border-radius:12px;background:#233c47;border:1px solid #3c5966;display:grid;place-items:center;font-weight:700;color:#c6dce8}.company-heading h2{font-size:21px}.company-heading p{font-size:11px;color:var(--muted);margin:2px 0}.detail-period{display:flex;justify-content:space-between;font-size:11px;padding:10px 0 15px;color:var(--muted);border-bottom:1px solid var(--line)}.facts{margin:12px 0 22px}.facts div{display:flex;justify-content:space-between;align-items:center;padding:8px 0}.facts dt{color:var(--muted);font-size:12px}.facts dd{margin:0;font-size:16px;font-weight:600}.positive{color:#70dbb9}.negative{color:#f298a5}.neutral{color:var(--muted)}.detail-chart-title{display:flex;justify-content:space-between;font-size:12px;margin-top:18px}.detail-chart-title small{font-size:10px;color:var(--muted)}.bars{height:120px;display:flex;align-items:end;gap:13px;margin:16px 0 9px;border-bottom:1px solid #35505e;padding:0 6px}.bar-column{flex:1;display:flex;align-items:center;flex-direction:column;justify-content:end;height:100%;min-width:0}.bar-column b{font-size:10px;color:#b9cbd7;font-weight:500;margin-bottom:5px}.bar-column i{width:100%;max-width:43px;display:block;background:#335465;border-radius:4px 4px 0 0}.bar-column:last-child i{background:#5bc4a4}.bar-labels{display:flex;justify-content:space-around;color:var(--muted);font-size:9px}.detail-note{font-size:11px;color:var(--muted);padding:12px;background:#0c1821;border-radius:7px;margin-top:20px;line-height:1.8}.detail-note strong{color:#c5d7e1;font-weight:500}.source-caption{font-size:10px;color:#bbaa81;margin:16px 0 0}.table-panel{margin-top:22px}table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}th{color:var(--muted);background:#0e1a24;font-weight:500;font-size:10px}th,td{padding:13px 19px;text-align:right;border-top:1px solid #243743}th:first-child,td:first-child,th:nth-child(2),td:nth-child(2){text-align:left}td button{background:none;border:0;padding:0;color:var(--text);font-weight:600}td small{color:var(--muted);font-size:10px;margin-left:8px}tbody tr:hover{background:#1a2c37}.table-scroll{overflow:auto}.guide{border:1px solid var(--line);border-radius:10px;margin:20px 0;padding:15px 18px;font-size:12px;color:var(--muted)}summary{cursor:pointer;color:#c8dae6}.guide p{font-size:11px;line-height:1.9}footer{border-top:1px solid var(--line);padding:24px 0 6px;margin-top:30px;color:#688396;font-size:11px}footer span{padding:0 8px}.empty{height:100%;display:grid;place-items:center;color:var(--muted);padding:30px;text-align:center}@media(min-width:1500px){.treemap{height:560px}}@media(max-width:1100px){.content-grid{grid-template-columns:minmax(0,1fr) 280px}.controls{align-items:start;flex-direction:column}.selectors{width:100%}.search-label{flex:1}.search-label input{width:100%}.tile .tile-name{font-size:14px}.tile .tile-growth{font-size:21px}}@media(max-width:760px){.site-header{padding:14px 16px;gap:10px}.site-header img{width:155px}.site-header span{display:none}.site-header b{font-size:8px;letter-spacing:1px}.site-nav{padding:8px 10px;gap:2px}.site-nav a{padding:8px 12px;font-size:12px}main{padding:22px 14px}.title-row{gap:10px}h1{font-size:23px}.intro{font-size:11px}.preview-badge{font-size:10px;padding:4px 8px}.demo-notice{align-items:start;font-size:11px;margin:18px 0}.demo-notice strong{display:block}.controls{gap:15px;padding-bottom:18px}.market-tabs{width:100%}.market-tabs button{flex:1}.selectors{display:grid;grid-template-columns:1fr 1fr;gap:10px}.selectors label{min-width:0}.search-label{grid-column:1/-1}.summary{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px}.summary article{padding:13px}.summary strong{font-size:23px}.summary small{font-size:9px}.content-grid{grid-template-columns:1fr;gap:16px}.panel-head{padding:16px;gap:10px}.panel-head h2{font-size:15px}.panel-head p{font-size:10px}.metric-label{max-width:125px}.metric-label select{font-size:11px;padding:8px}.legend{padding:0 12px 12px;font-size:9px}.legend small{font-size:8px}.legend i{width:16px}.treemap{height:580px;margin:0 8px}.tile{padding:7px}.tile .tile-name{font-size:12px}.tile .tile-growth{font-size:20px}.tile .tile-revenue{font-size:9px}.tile .tile-symbol{font-size:9px}.tile.compact .tile-growth{font-size:15px}.map-note{font-size:9px;padding:12px;flex-wrap:wrap}.detail-panel{padding:20px;scroll-margin-top:16px}.facts div{padding:8px 0}.bars{height:130px}.table-panel .panel-head{align-items:start}th,td{padding:12px}.table-panel .panel-head select{max-width:140px}footer{line-height:2}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.site-header img{height:48px;object-fit:cover}.tile .tile-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tile.tiny .tile-name{font-size:10px}.tile.tiny .tile-growth,.tile.tiny .tile-revenue,.tile.tiny .tile-symbol{display:none}@media(max-width:760px){.site-header img{height:38px}}

/* Keep the right advertising rail separate from company information. */
main.earnings-layout{max-width:1680px;display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:28px}.earnings-workspace{min-width:0}.earnings-ad-rail{padding-top:6px}.earnings-ad-sticky{position:sticky;top:20px;width:160px}.earnings-ad-sticky>span{display:block;text-align:center;font-size:10px;color:#74818d;margin-bottom:8px}.earnings-ad-slot{width:160px;height:600px;border:1px solid #23313c;border-radius:8px;background:#101922;display:grid;place-items:center;font-size:12px;color:#687985}.content-grid{grid-template-columns:minmax(0,1fr)}.detail-panel{display:grid;grid-template-columns:220px minmax(200px,1fr) minmax(220px,1fr);column-gap:24px;align-items:start}.detail-eyebrow{grid-column:1}.company-heading{grid-column:1;grid-row:2}.detail-period{grid-column:1;grid-row:3}.facts{grid-column:2;grid-row:1/5;margin:0}.detail-chart-title{grid-column:3;grid-row:1;margin-top:0}.bars{grid-column:3;grid-row:2/4}.bar-labels{grid-column:3;grid-row:4}.detail-note{grid-column:1/3;grid-row:5;margin-top:12px}.source-caption{grid-column:3;grid-row:5}.treemap{height:540px}.controls{align-items:start;flex-direction:column}.selectors{width:100%}.search-label{flex:1}.search-label input{width:100%}
@media(max-width:1100px){main.earnings-layout{gap:18px;padding:24px 20px}.detail-panel{grid-template-columns:1fr 1fr}.detail-eyebrow,.company-heading,.detail-period{grid-column:1}.facts{grid-column:2}.detail-chart-title{grid-column:1/-1;grid-row:5;margin-top:20px}.bars{grid-column:1/-1;grid-row:6}.bar-labels{grid-column:1/-1;grid-row:7}.detail-note{grid-column:1/-1;grid-row:8}.source-caption{grid-column:1/-1;grid-row:9}}
@media(max-width:760px){main.earnings-layout{display:block;padding:22px 14px}.earnings-ad-rail{margin:20px 0}.earnings-ad-sticky{position:static;width:100%}.earnings-ad-slot{width:100%;height:100px}.detail-panel{display:block}.treemap{height:580px}}

.delivery-status{display:flex;gap:12px;align-items:center;min-height:48px;color:#a5bcc7;font-size:13px}.pagination{display:flex;justify-content:center;align-items:center;gap:16px;padding:18px}.pagination button,.delivery-status button{background:#172b34;color:#cce2e7;border:1px solid #3a5763;border-radius:6px;padding:8px 16px}button:disabled{opacity:.4;cursor:default}

/* Same inset arrow and text clearance for every native select. */
select,.metric-label select{appearance:none;-webkit-appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23b4ceda' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;background-size:12px 8px}
.map-navigation{display:flex;align-items:center;gap:14px;padding:0 20px 16px;min-height:48px}.map-navigation button{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;border:1px solid #36535f;background:#142630;border-radius:7px;color:#c9e3e7;padding:9px 13px;font-size:12px}.map-navigation button:hover:not(:disabled){background:#203c45}.map-navigation>span{color:#8eaab9;font-size:12px;overflow-wrap:anywhere}
@media(max-width:760px){.map-navigation{padding:0 12px 14px;gap:10px}.map-navigation>span{font-size:11px}.metric-label{max-width:145px}.metric-label select{padding-right:34px}}

.selectors{flex-wrap:wrap}.classification-note{color:#93acb8;font-size:12px;line-height:1.7;margin:18px 0}.selectors select{max-width:100%}@media(max-width:760px){.selectors .search-label{grid-column:auto}.selectors input{min-width:0}}

.detail-panel.is-empty{display:flex;align-items:center;justify-content:center;min-height:88px;padding:20px 24px}.detail-panel.is-empty>.empty{display:block;width:100%;height:auto;padding:0;line-height:1.7;text-align:center;word-break:keep-all}@media(max-width:760px){.detail-panel.is-empty{min-height:76px;padding:16px 20px}.detail-panel.is-empty>.empty{font-size:12px}}

/* Keep filter columns stable when market-specific option labels change. */
.controls .selectors{display:grid;grid-template-columns:repeat(3,minmax(0,180px)) minmax(180px,1fr);gap:12px;width:100%}
.controls .selectors>label{min-width:0;width:100%}
.controls .selectors select,.controls .selectors input{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
@media(max-width:1100px){.controls .selectors{grid-template-columns:repeat(3,minmax(0,1fr))}.controls .selectors .search-label{grid-column:1/-1}}
@media(max-width:760px){.controls .selectors{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.controls .selectors .search-label{grid-column:auto}}

.controls .selectors{grid-template-columns:repeat(3,minmax(0,180px)) minmax(180px,1fr)}@media(max-width:1100px){.controls .selectors{grid-template-columns:repeat(2,minmax(0,1fr))}.controls .selectors .search-label{grid-column:1/-1}}

.excluded-panel td{white-space:normal;overflow-wrap:anywhere}.excluded-panel td:first-child{width:32%}.excluded-panel td:last-child{min-width:70px}.detail-panel a{color:#83d9c3}.excluded-panel a{color:#83d9c3}

.detail-panel:not(.is-empty){grid-template-columns:minmax(200px,1fr) minmax(260px,2fr)}.detail-panel .source-caption{grid-column:1/-1;grid-row:5;margin:12px 0 0}.detail-links{grid-column:1/-1;grid-row:6;margin:10px 0 0}@media(max-width:760px){.detail-panel:not(.is-empty){display:flex;flex-direction:column;gap:12px}.detail-panel .facts{width:100%}}

.controls .selectors .single-period{cursor:default;color:var(--text);background:#12202b;border:1px solid var(--line);border-radius:6px;padding:9px 12px;font:inherit;font-size:12px;height:38px;}
.earnings-history{grid-column:1/-1;min-width:0;border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.earnings-history h3{margin:0 0 8px;font-size:17px}.history-note{font-size:12px;color:var(--muted)}.history-controls{display:flex;gap:6px;margin:14px 0}.history-controls button,.history-quarters button{background:#142632;color:var(--muted);border:1px solid var(--line);border-radius:6px;padding:7px 12px}.history-controls [aria-pressed=true],.history-quarters [aria-pressed=true]{background:#234a40;color:#bcf5e4;border-color:#579582}.history-plot{overflow-x:auto}.history-plot svg{display:block;width:100%;min-width:660px}.history-quarters{display:flex;gap:5px;min-width:660px;justify-content:space-between}.history-quarters button{font-size:10px;padding:5px}.history-info{margin-top:15px;padding:14px;border-radius:8px;background:#142630;font-size:13px}.history-info p{margin:6px 0}.history-info a{color:#83d9c3;margin-right:16px}.history-note{line-height:1.7}@media(max-width:760px){.history-controls button{flex:1;padding:8px}.history-info{line-height:1.8}.earnings-history{width:100%}}
/* Compact company detail with four-quarter paired financials. */
.detail-panel:not(.is-empty){display:grid;grid-template-columns:minmax(160px,1fr) minmax(210px,1.25fr) minmax(310px,2fr);gap:20px 24px;align-items:start}.detail-identity{grid-column:1;grid-row:1}.detail-identity h2{font-size:23px;margin:18px 0 8px}.detail-identity p{font-size:12px;color:var(--muted);margin:5px 0}.detail-identity .detail-period{margin-top:25px}.detail-identity a{display:inline-block;margin-top:12px;font-size:12px}.detail-panel .facts{grid-column:2;grid-row:1;width:100%}.detail-panel .facts dd{font-size:18px}.detail-panel .earnings-history{grid-column:3;grid-row:1;border:0;margin:0;padding:0;min-width:0}.detail-evidence{grid-column:1/-1;font-size:11px;border-top:1px solid var(--line);padding-top:10px;color:var(--muted)}.detail-evidence p{line-height:1.8}.history-header{display:flex;justify-content:space-between;align-items:center;font-size:13px}.history-header button{background:transparent;color:var(--text);border:1px solid var(--line);border-radius:5px;font-size:20px;width:29px;height:28px;line-height:20px;margin-left:5px}.history-header button:disabled{opacity:.3;cursor:default}.history-legend{display:flex;gap:12px;font-size:11px;margin:8px 0 0}.history-legend span:first-child{color:#7ea5b6}.history-legend span:nth-child(2){color:#5cc5a6}.history-legend small{margin-left:auto;color:var(--muted)}.earnings-history>svg{width:100%;display:block;max-height:205px}.history-values{width:100%;table-layout:fixed;font-size:11px;border-collapse:collapse}.history-values th,.history-values td{padding:5px 2px!important;text-align:right!important;white-space:nowrap;border:0;font-size:11px}.history-values th:first-child{width:52px;text-align:left!important;color:var(--muted)}.history-values thead th{font-weight:400;color:var(--muted)}@media(max-width:1100px){.detail-panel:not(.is-empty){grid-template-columns:minmax(160px,1fr) minmax(200px,1fr)}.detail-panel .earnings-history{grid-column:1/-1;grid-row:2}.detail-panel .earnings-history>svg{max-height:220px}.detail-evidence{grid-row:3}}@media(max-width:760px){.detail-panel:not(.is-empty){display:grid;grid-template-columns:1fr;gap:18px}.detail-identity{grid-column:1;grid-row:auto}.detail-identity h2{margin:8px 0}.detail-identity .detail-period{margin-top:10px}.detail-panel .facts{grid-column:1;grid-row:auto}.detail-panel .earnings-history{grid-column:1;grid-row:auto}.detail-evidence{grid-column:1;grid-row:auto}.history-values th,.history-values td{font-size:10px}}
/* Shared 12/20/20/20/20/8 grid aligns values with the SVG quarter centers. */
.detail-panel .earnings-history>svg{height:auto;max-height:none;width:100%;aspect-ratio:500/160}.history-values th,.history-values td{text-align:center!important;white-space:nowrap}.history-values th:first-child{width:auto;text-align:left!important}.history-legend .margin-legend{color:#d9949d}.history-values thead th{padding-bottom:8px!important}.history-legend{gap:10px;flex-wrap:wrap}
/* Right-align financial values within each quarter column. */
.history-values tbody td:not(:last-child){text-align:right!important;padding-right:10px!important;font-variant-numeric:tabular-nums}
@media(max-width:760px){.history-values tbody td:not(:last-child){padding-right:4px!important}}
.controls .selectors{grid-template-columns:120px 155px minmax(140px,180px) minmax(140px,180px) minmax(160px,1fr)}@media(max-width:1100px){.controls .selectors{grid-template-columns:repeat(2,minmax(0,1fr))}.controls .selectors .search-label{grid-column:1/-1}}

#companyRows tr.selected{background:#193a35}#companyRows tr.selected button{color:#8ce8ca}.map-navigation{flex-wrap:wrap}
/* Small tiles stay inside their assigned rectangle, including borders/padding. */
.treemap{overflow:hidden;isolation:isolate}
.treemap .tile{min-width:0;min-height:0;padding:min(10px,1%);contain:paint}
.treemap .tile.compact{padding:3px}
.treemap .tile.micro{padding:0;border:0}
.treemap .tile.micro>*{display:none}
.treemap .tile>*{max-width:100%;flex-shrink:1;min-height:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.treemap .tile-bundle{border:1px dashed #8ba6b780;background-image:linear-gradient(135deg,#91b6c40b,transparent)!important}
.treemap .tile-bundle .tile-name{color:#e0eef5}
.treemap .tile-bundle .tile-growth{font-size:12px;font-weight:500;color:#afc7d4}
.map-focus-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 12px 10px;padding:9px 12px;border-radius:7px;background:#1b303b;color:#b9d1de;font-size:12px}
.map-focus-bar[hidden]{display:none}
.map-focus-bar span{flex:1;min-width:130px}
.map-focus-bar button,.map-bundle-shortcut button{border:1px solid #45606c;border-radius:5px;background:#203944;color:#d3e8ef;padding:6px 10px;cursor:pointer;font-size:12px}
.map-bundle-shortcut:empty{display:none}
.map-bundle-shortcut{display:flex;justify-content:flex-end;margin:8px 12px 0}
.treemap .tile:focus-visible,.map-focus-bar button:focus-visible,.map-bundle-shortcut button:focus-visible{outline:2px solid #b6f0dc;outline-offset:-3px}
@media(prefers-reduced-motion:reduce){.treemap .tile{transition:none}}
/* A region is a viewport focus, not another classification level. */
.treemap .tile .tile-name{white-space:normal;overflow-wrap:anywhere;line-height:1.35}
.treemap .tile .tile-growth{line-height:1.25}
.treemap .tile .tile-symbol,.treemap .tile .tile-revenue{line-height:1.4}
.treemap .tile.minimal-label:after{content:'· · ·';font-size:10px;line-height:1;color:#d1e6e7}
.map-mini-map{flex:0 0 128px;display:flex;flex-direction:column;gap:4px}
.map-mini-map svg{display:block;width:128px;height:58px;background:#0e202b;border-radius:4px}
.map-mini-map .mini-cell{fill:#365966;stroke:#142934;stroke-width:2}
.map-mini-map .mini-selected{fill:#83dec34d;stroke:#b1ffe7;stroke-width:3;vector-effect:non-scaling-stroke}
.map-focus-bar .map-mini-map span{font-size:10px;min-width:0;color:#a8c3d1;line-height:1.4}
.map-focus-bar>#mapFocusLabel{line-height:1.7}
@media(max-width:600px){.map-mini-map{flex-basis:100px}.map-mini-map svg{width:100px;height:52px}.map-focus-bar>#mapFocusLabel{flex-basis:calc(100% - 120px);min-width:0}.map-focus-bar>button{flex:1}}
.treemap .tile .tile-growth{line-height:1.6}
/* Inline affordance only: all underlying tiles remain directly selectable. *//* Classification depth lives in the frame; tile colours still encode earnings. */
.map-panel{--depth-bg:#10212d;--depth-surface:#162e3d;--depth-edge:#365c73;--depth-ink:#add9f0;background:var(--depth-bg);border-color:var(--depth-edge)}
.map-panel[data-depth="2"]{--depth-bg:#1b1b2c;--depth-surface:#29273e;--depth-edge:#555075;--depth-ink:#d3c7f2}
.map-panel[data-depth="3"]{--depth-bg:#102620;--depth-surface:#193c32;--depth-edge:#3e695a;--depth-ink:#b0e7cd}
.map-context{margin:0 14px 16px;padding:14px 16px;background:var(--depth-surface);border:1px solid var(--depth-edge);border-left:3px solid var(--depth-ink);border-radius:8px}
.map-context-heading{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px}
.map-depth{flex-shrink:0;font-size:12px;font-weight:650;color:var(--depth-ink);padding:4px 9px;border:1px solid var(--depth-edge);border-radius:5px;background:#08141b38}
.map-context #mapLocation{font-size:17px;font-weight:650;line-height:1.6;color:#e9f1f6;overflow-wrap:anywhere;min-width:0}
.map-context p{font-size:12px;line-height:1.6;color:var(--depth-ink);margin:8px 0 0}
.map-panel .map-focus-bar{background:var(--depth-surface);border:1px dashed var(--depth-edge)}
@media(max-width:600px){.map-context{margin:0 10px 12px;padding:11px 12px}.map-context-heading{gap:8px}.map-context #mapLocation{font-size:15px;flex-basis:100%}.map-depth{font-size:11px}.map-context p{font-size:11px}}
.map-unit-line{display:flex;justify-content:flex-end;margin:0 14px 8px;color:var(--depth-ink);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.map-unit-line span{padding:3px 9px;border-radius:4px;background:var(--depth-surface);border:1px solid var(--depth-edge)}

.earnings-refresh-notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:1000;display:flex;align-items:center;gap:16px;width:max-content;max-width:calc(100vw - 32px);padding:14px 18px;background:#173c36;color:#e5fff6;border:1px solid #64b9a2;border-radius:12px;box-shadow:0 8px 28px #0006;font-size:14px}.earnings-refresh-notice button{flex-shrink:0;padding:8px 12px;border-radius:7px;border:1px solid #83d3bf;background:#245c50;color:#fff}@media(max-width:600px){.earnings-refresh-notice{align-items:stretch;flex-direction:column;gap:10px;bottom:12px}}

/* Compact mobile comparison rows, retaining every metric and selection action. */
.mobile-metric-label{display:none}
@media(max-width:720px){
 .table-panel>.panel-head{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .table-panel>.panel-head>label{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;width:100%;font-size:11px}
 .table-panel>.panel-head>label select{width:155px;max-width:none}
 .table-panel>.panel-head p{line-height:1.7;margin-bottom:0}
 .table-panel>.table-scroll{overflow:visible;padding:0 12px}
 .table-panel>.table-scroll>table{display:block;white-space:normal}
 .table-panel>.table-scroll>table>thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%)}
 #companyRows{display:block}
 #companyRows tr[data-symbol]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 10px;padding:14px 10px;margin:0;border:0;border-top:1px solid #29404c;border-radius:0}
 #companyRows tr.selected{background:#1d3d37;box-shadow:inset 3px 0 #73d7b5}
 #companyRows td{min-width:0;padding:0;border:0;text-align:right;font-size:13px;font-variant-numeric:tabular-nums;line-height:1.6;overflow-wrap:anywhere}
 #companyRows td:first-child{grid-column:1/-1;grid-row:1;text-align:left;display:flex;align-items:baseline;justify-content:space-between;gap:8px}
 #companyRows td:first-child button{text-align:left;white-space:normal;line-height:1.5;font-size:14px;min-height:32px;flex:1}
 #companyRows td:first-child small{flex-shrink:0;margin:0;font-size:10px}
 #companyRows td:nth-child(2){grid-column:1/-1;grid-row:2;text-align:left;color:var(--muted);font-size:10px;margin-bottom:6px}
 #companyRows tr.same-sector td:nth-child(2){display:none}
 #companyRows td:nth-child(3){grid-column:1;grid-row:3}
 #companyRows td:nth-child(4){grid-column:1;grid-row:4;font-size:11px}
 #companyRows td:nth-child(5){grid-column:2;grid-row:3}
 #companyRows td:nth-child(6){grid-column:2;grid-row:4;font-size:11px}
 #companyRows td:nth-child(7){grid-column:3;grid-row:3/5}
 #companyRows .mobile-metric-label{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-bottom:2px}
 #companyRows tr:not([data-symbol]){display:block;padding:16px 0}
 #companyRows tr:not([data-symbol]) td{display:block;text-align:center;color:var(--muted)}
 .table-panel .pagination{justify-content:center;gap:18px}.table-panel .pagination button{min-height:40px}
}

/* Keep the color scale and revenue unit close to the map. */
.map-panel{padding-bottom:12px}
.map-context{margin-bottom:10px}
.map-display-key{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:0 14px 8px}
.map-display-key .legend{padding:0;min-height:27px;align-items:center;flex-shrink:0}
.map-display-key .map-unit-line{margin:0;align-items:center;gap:10px;flex-wrap:wrap;margin-left:auto}
.map-unit-line small{font-size:10px;font-weight:400;color:var(--muted)}
.table-panel .panel-head .comparison-context{font-size:13px;font-weight:600;color:#b6dfd4;margin:5px 0 7px;overflow-wrap:anywhere}
.comparison-context[hidden]{display:none}
@media(max-width:600px){.map-display-key{margin:0 10px 8px;gap:4px 10px}.map-display-key .map-unit-line{gap:6px}.map-unit-line small{font-size:9px}.map-display-key .map-unit-line span{font-size:11px}.table-panel .panel-head .comparison-context{font-size:12px}}

/* Summary follows the current hierarchy; bundle zoom leaves it unchanged. */
.context-stats{display:flex;flex-wrap:wrap;gap:8px 24px;margin:12px 0 0;padding:11px 0 0;border-top:1px solid var(--depth-edge)}
.context-stats>div{display:flex;align-items:baseline;gap:7px;min-width:0}
.context-stats dt{font-size:12px;color:#afc3cf;white-space:nowrap}
.context-stats dd{margin:0;color:#edf5f8;font-size:15px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
.context-stats #improved{color:#79ddbc}
.context-stats #revenueUnit{font-size:12px;font-weight:500}
@media(max-width:720px){.context-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;margin-top:10px;padding-top:10px}.context-stats>div{gap:5px;flex-wrap:wrap}.context-stats dt{font-size:10px}.context-stats dd{font-size:12px}.context-stats #revenueUnit{font-size:10px}}

.map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 14px 12px}
.map-toolbar .map-navigation{padding:0;min-height:0;gap:8px;flex-wrap:nowrap}
.map-toolbar .metric-label{margin-left:auto;display:flex;flex-direction:row;align-items:center;gap:8px;max-width:none;white-space:nowrap}
@media(max-width:600px){.map-toolbar{margin:0 10px 10px;gap:6px;align-items:flex-end}.map-toolbar .map-navigation{gap:5px}.map-toolbar .map-navigation button{padding:9px 7px;font-size:11px;gap:4px;min-height:38px}.map-toolbar .metric-label{flex-direction:column;align-items:flex-end;gap:3px;font-size:10px}.map-toolbar .metric-label select{font-size:11px;padding-left:8px;padding-right:27px;background-position:right 8px center;max-width:125px}}

#companyRows tr[data-symbol]{cursor:pointer}

.map-panel>.map-display-key{margin-top:10px;margin-bottom:0}

.context-stats #margin.positive{color:#70dbb9}.context-stats #margin.negative{color:#f298a5}.context-stats #margin.neutral{color:var(--muted)}

@media(max-width:720px){.map-unit-line small,.metric-label .metric-caption{display:none}}

@media(max-width:720px){.earnings-ad-rail{display:none!important}}

@media(max-width:720px){.desktop-page-note,#previousPage,#nextPage{display:none}.pagination{flex-wrap:wrap}.pagination #loadMore:not([hidden]){display:block;min-height:42px;min-width:150px}}

/* Match the mobile comparison-more control used by the other service pages. */
@media(max-width:720px){
 .pagination:has(#loadMore:not([hidden])){display:block;padding:0 14px 14px}
 .pagination:has(#loadMore:not([hidden])) #pageLabel{display:none}
 .pagination #loadMore:not([hidden]){display:block;width:100%;min-height:42px;margin:14px 0 0;padding:10px 8px;font-family:Inter,"Malgun Gothic",system-ui,sans-serif;font-size:12px;line-height:1.55;font-weight:400;text-align:center;border:1px solid #243240;border-radius:6px;background:#182735;color:#e6edf3}
 .pagination #loadMore:hover:not(:disabled){background:#263b4d}
 .pagination #loadMore:disabled{opacity:.35;cursor:default}
}

/* Mobile grouping measures these compact labels, with 44px touch targets. */
@media(max-width:720px){.treemap .tile.mobile-readable{padding:4px}.treemap .tile.mobile-readable .tile-name{font-size:12px;line-height:1.35}.treemap .tile.mobile-readable.name-only .tile-symbol,.treemap .tile.mobile-readable.name-only .tile-growth,.treemap .tile.mobile-readable.name-only .tile-revenue{display:none}}

.treemap-help{line-height:1.7;word-break:keep-all}.treemap-help-key{margin-left:6px}@media(max-width:720px){.treemap-help-key{display:block;margin-left:0}}
