.industry-local-footer { color:var(--muted); font-size:12px; line-height:1.7; }
.industry-local-board.sector-momentum { height:auto; overflow:visible; grid-template-columns:repeat(5,minmax(0,1fr)); grid-auto-rows:auto; gap:8px; }
.industry-local-board.sector-momentum.is-heatmap { height:var(--industry-compact-height,308px); overflow:hidden; grid-template-columns:repeat(10,minmax(0,1fr)); grid-template-rows:repeat(5,minmax(0,1fr)); grid-auto-flow:dense; grid-auto-rows:calc(var(--industry-compact-height,308px)/5); align-content:start; gap:0; }
.industry-local-board.is-heatmap .industry-local-tile { min-height:0; max-height:100%; overflow:hidden; box-sizing:border-box; }
.industry-local-board.is-heatmap .industry-local-tile:hover { transform:none; }
.industry-local-board.is-heatmap .momentum-heatmap-symbols { flex-shrink:1; min-height:0; }
.industry-local-board .industry-local-tile { padding:5px 4px; gap:2px; }
.industry-local-board.is-expanded .industry-local-tile { grid-column:auto; grid-row:auto; padding:12px 8px; }
.industry-local-board .momentum-heatmap-title h3 { font-size:16px; }
.industry-local-board .momentum-heatmap-title span { font-size:11px; }
.industry-local-board .momentum-heatmap-tile strong { font-size:14px; font-weight:500; }
.industry-local-board .momentum-heatmap-tile strong em { font-size:12px; }
.industry-local-board .momentum-heatmap-tile small { font-size:11px; line-height:1.4; white-space:normal; }
.industry-local-board .heatmap-size-lead h3 { font-size:22px; }
.industry-local-board .heatmap-size-lead strong { font-size:18px; }
.industry-local-board .heatmap-size-lead small { font-size:13px; }
.industry-local-board .heatmap-size-standard h3 { font-size:14px; }
.industry-local-board .heatmap-size-standard strong { font-size:11px; }
.industry-local-board .heatmap-size-standard small { font-size:10px; }
.industry-local-board .momentum-heatmap-symbols a.stock-symbol-link { color:#fff; border:0; text-decoration:none; opacity:1; }
.industry-local-board .momentum-heatmap-symbols a.industry-held-company { color:#fff0cf; }
.industry-local-board .momentum-heatmap-symbols a:hover { text-decoration:underline; }
.industry-local-footer[hidden] { display:none; }
.industry-local-line,.industry-local-position { font-size:12px; }
.industry-local-position { opacity:.9; }
.industry-local-footer { margin:8px 0 0; }
.industry-local-footer summary { cursor:pointer; display:inline; }
.industry-local-footer details { margin-top:3px; }
.industry-local-footer p { margin:6px 0; }
.industry-local-detail { border-top:1px solid #ffffff55; padding-top:6px; font-size:12px; line-height:1.7; }
.industry-local-board.sector-momentum.is-expanded { height:auto; max-height:none; overflow:visible; grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr)); grid-template-rows:none; grid-auto-rows:max-content; gap:8px; align-items:stretch; align-content:start; }
.industry-expanded-card { min-width:0; height:auto; overflow:visible; grid-template-rows:24px minmax(72px,max-content) auto; align-content:start; gap:8px; padding:12px; text-shadow:none; }
.industry-expanded-card .sector-tile-title h3 { font-size:16px; line-height:24px; white-space:normal; overflow:visible; margin:0; }
.industry-expanded-card .sector-tile-title span { font-size:12px; }
.industry-expanded-gauges { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin:0; align-items:stretch; }
.industry-expanded-gauges .mini-gauge { min-width:0; min-height:0; padding:6px 3px; }
.industry-expanded-gauges .mini-gauge span { font-size:12px; line-height:16px; white-space:normal; }
.industry-expanded-gauges .mini-gauge strong { font-size:16px; line-height:20px; }
.industry-expanded-fields { display:grid; grid-template-rows:repeat(4,24px) auto; align-content:start; gap:3px; margin:8px 0 0; min-width:0; font-size:12px; line-height:1.5; }
.industry-expanded-fields>div { display:grid; grid-template-columns:7em minmax(0,1fr); align-items:baseline; gap:6px; }
.industry-expanded-fields dt { margin:0; color:var(--muted); font-weight:400; }
.industry-expanded-fields dd { margin:0; min-width:0; white-space:normal; overflow:visible; overflow-wrap:anywhere; }
.industry-expanded-fields a.stock-symbol-link { display:inline; color:inherit; font-size:12px; font-weight:500; text-decoration:underline; text-underline-offset:3px; }
.industry-expanded-held { background:#fff0cf; color:#634621; border-radius:3px; }
.industry-expanded-unranked { margin:0; color:var(--muted); font-size:12px; line-height:1.5; }
@media(max-width:1000px) { .industry-local-board.sector-momentum.is-heatmap {grid-template-columns:repeat(6,minmax(0,1fr));overflow-y:auto;scrollbar-gutter:stable;} .industry-local-board .heatmap-size-standard {grid-column:span 2;} }
@media(max-width:760px) { .industry-local-board.sector-momentum,.industry-local-board.sector-momentum.is-heatmap {grid-template-columns:repeat(2,minmax(0,1fr));} .industry-local-board .industry-local-tile {grid-column:auto;grid-row:auto;} }

/* Match the US board height while retaining five compact rows. */
.industry-local-board.is-heatmap .industry-local-tile { padding:2px 4px; gap:1px; }
.industry-local-board.is-heatmap .momentum-heatmap-title h3 { font-size:14px; line-height:18px; }
.industry-local-board.is-heatmap .momentum-heatmap-title span { font-size:9px; }
.industry-local-board.is-heatmap .momentum-heatmap-tile strong { font-size:12px; line-height:14px; }
.industry-local-board.is-heatmap .momentum-heatmap-tile small { font-size:10px; line-height:11px; }
.industry-local-board.is-heatmap .heatmap-size-lead h3 { font-size:17px; line-height:22px; }
.industry-local-board.is-heatmap .heatmap-size-lead strong { font-size:15px; line-height:18px; }
.industry-local-board.is-heatmap .heatmap-size-lead small { font-size:11px; line-height:14px; }
.industry-local-board.is-heatmap .heatmap-size-standard h3 { font-size:13px; line-height:16px; }
.industry-local-board.is-heatmap .heatmap-size-standard strong { font-size:11px; line-height:13px; }
.industry-local-board.is-heatmap .heatmap-size-standard small { font-size:9.5px; line-height:11px; }
@media(max-width:1100px) { .industry-local-board { --industry-compact-height:392px; } }
@media(max-width:860px) { .industry-local-board { --industry-compact-height:308px; } }
@media(max-width:720px) { .industry-local-board { --industry-compact-height:412px; } }

.us-board-trial-controls {display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;}
.us-board-trial-controls button {border:1px solid #f4cabc;border-radius:16px;background:#fff;padding:5px 10px;color:#826e65;font:700 12px inherit;cursor:pointer;}
.us-board-trial-controls button.active {color:#ff662c;border-color:#ff662c;background:#fff5ee;}
.us-board-trial-controls small {color:#8a7870;font-size:11px;}
.momentum-board-split .industry-local-board.is-expanded {grid-template-columns:repeat(2,minmax(0,1fr));}
.momentum-board-split .industry-expanded-card {color:#201714;background:#fffaf7;border:1px solid #f1d5cb;border-top:3px solid #ff662c;border-radius:8px;}
.momentum-board-split .industry-expanded-gauges .mini-gauge {background:white;border:1px solid #f1d5cb;border-radius:8px;}
@media(max-width:760px){.momentum-board-split .industry-local-board.is-expanded {grid-template-columns:1fr;} .us-board-trial-controls{align-items:flex-start;flex-direction:column;}}

/* Restore the existing US typography inside both half-width panes. */
.momentum-board-split .industry-local-board.is-heatmap .momentum-heatmap-title h3 {line-height:1.15;font-weight:700;white-space:nowrap;}
.momentum-board-split .industry-local-board.is-heatmap .momentum-heatmap-title span {font-size:8px;font-weight:400;}
.momentum-board-split .industry-local-board.is-heatmap .momentum-heatmap-tile strong {line-height:1;font-weight:400;white-space:nowrap;}
.momentum-board-split .industry-local-board.is-heatmap .momentum-heatmap-tile strong em {font-size:.72em;font-weight:400;line-height:1;}
.momentum-board-split .industry-local-board.is-heatmap .momentum-heatmap-tile small {line-height:1;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.momentum-board-split .industry-local-board.is-heatmap .momentum-heatmap-symbols a {font-size:inherit;font-weight:inherit;}
.momentum-board-split .industry-expanded-card {padding:10px 8px;gap:5px;grid-template-rows:auto auto auto;}
.momentum-board-split .industry-expanded-card .sector-tile-title h3 {font-size:16px;line-height:1.2;font-weight:950;}
.momentum-board-split .industry-expanded-card .sector-tile-title span {font-size:12px;line-height:1;}
.momentum-board-split .industry-expanded-gauges {gap:4px;}
.momentum-board-split .industry-expanded-gauges .mini-gauge {min-height:50px;padding:4px 2px 3px;}
.momentum-board-split .industry-expanded-gauges .mini-gauge span {font-size:9px;line-height:1.2;font-weight:400;}
.momentum-board-split .industry-expanded-gauges .mini-gauge strong {font-size:11px;line-height:1.2;font-weight:500;}
.momentum-board-split .industry-expanded-fields {font-size:11px;line-height:1.4;grid-template-rows:none;gap:4px;margin-top:4px;}
.momentum-board-split .industry-expanded-fields>div {grid-template-columns:6.5em minmax(0,1fr);gap:4px;}
.momentum-board-split .industry-expanded-fields a.stock-symbol-link {font-size:11px;font-weight:500;}
.momentum-board-split .industry-expanded-unranked {font-size:10px;line-height:1.4;}
/* Trial details must grow beyond the legacy fixed 204px tile height. */
.momentum-board-pane .sector-momentum.industry-local-board.is-expanded .industry-expanded-card {
  height:auto; min-height:0; max-height:none; overflow:visible;
  align-content:start; grid-template-rows:auto auto auto;
}
