/* Same visual language as the approved disclosure dashboard; no data transforms. */
html:is(#mint-dashboard,html):is(#mint-reader,html):has(main.southbound-page) {
  & body {background:#edf7f1!important;color:#243c30!important;font-family:-apple-system,BlinkMacSystemFont,"PingFang TC",sans-serif!important;}
  & body main.southbound-page {max-width:1480px!important;margin:auto!important;padding:84px 24px 24px!important;font-variant-numeric:tabular-nums;}
  & .site-top-nav {background:#f9fcfa!important;color:#20362b!important;border-bottom:1px solid #e0eae3!important;}
  & .site-top-nav :is(a,button,summary,span) {color:#20362b!important;}
  & main.southbound-page .editorial-hero {width:100%!important;margin:0!important;padding:12px 0 18px!important;min-height:0!important;background:transparent!important;border:0!important;}
  & .editorial-hero h1 {font:650 40px/1.2 -apple-system,BlinkMacSystemFont,"PingFang TC",sans-serif!important;letter-spacing:-.035em!important;margin:0 0 8px!important;}
  & .editorial-hero h1::after {content:'SOUTHBOUND TRACKER';display:block;font-size:11px;letter-spacing:.12em;font-weight:500;color:#748078;margin-top:8px;}
  & .editorial-hero .eyebrow {display:none!important;}
  & .editorial-hero p {font-size:12px!important;color:#6a7a70!important;}
  & main.southbound-page :is(h2,h3) {font-family:inherit!important;letter-spacing:-.02em!important;}
  & main.southbound-page h2 {font-size:22px!important;line-height:1.35!important;}
  & main.southbound-page h3 {font-size:17px!important;}
  & main.southbound-page :is(.topic-watch,.sb-flow-card,.southbound-quiet,.southbound-behaviour,.decision-chart-card,.southbound-turnover-section,.southbound-extra-estimates) {background:white!important;border:1px solid #deebe3!important;border-radius:12px!important;padding:18px!important;margin:14px 0!important;box-shadow:none!important;min-width:0!important;}
  & .topic-watch > header {margin:0 0 12px!important;}
  & .topic-watch-grid {display:grid!important;grid-template-columns:1fr!important;gap:0!important;overflow:visible!important;}
  & .topic-watch-card {display:grid!important;grid-template-columns:32px minmax(120px,1fr) minmax(160px,1fr) 220px!important;gap:0 12px!important;align-items:center!important;min-width:0!important;width:100%!important;padding:6px 0!important;border:0!important;border-bottom:1px solid #e7eee9!important;background:transparent!important;}
  & .topic-watch-card h3 {margin:0!important;}
  & .topic-watch-rank {grid-column:1!important;grid-row:1/3!important;white-space:nowrap!important;width:36px!important;min-width:36px!important;height:30px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:6px!important;font-size:11px!important;}
  & body main.southbound-page {background:#edf7f1!important;}
  & .topic-watch-card h3 {grid-column:2!important;grid-row:1!important;}
  & .topic-watch-card > p {grid-column:3!important;grid-row:1/3!important;font-size:13px!important;margin:0!important;}
  & .topic-watch-card .reading-mini-bars {display:none!important;}
  & .topic-watch-card .topic-mini-chart {grid-column:4!important;grid-row:1/3!important;}
  & .topic-watch-card footer {display:none!important;}
  & .topic-watch-card h3 {grid-row:1/3!important;font-size:15px!important;}
  & .topic-watch-card .topic-mini-chart {display:grid!important;grid-template-columns:auto 100px!important;column-gap:10px!important;align-items:center!important;}
  & .topic-watch-card .topic-chart-price {margin:0!important;}
  & .topic-watch-card .topic-chart-price strong {font-size:14px!important;}
  & .topic-watch-card .topic-mini-chart small {grid-column:1/3!important;font-size:10px!important;text-align:right!important;line-height:1.2!important;margin:0!important;}
  & .topic-watch > header h2 {font-size:19px!important;}
  & .topic-watch > header > div > span {display:none!important;}
  & .topic-watch-card h3 {display:flex!important;align-items:center!important;gap:10px!important;}
  & .sb-company-logo {width:48px!important;height:30px!important;object-fit:contain!important;flex:none;}
  & .sb-company-code {display:block!important;font-size:10px!important;font-weight:400!important;color:#78877e!important;margin-top:3px!important;}
  & .site-top-nav :is(a,button,summary,span) {-webkit-text-fill-color:#20362b!important;opacity:1!important;}
  & .topic-watch-card .topic-watch-reason {font-size:12px!important;line-height:1.5!important;margin:0!important;}
  & .topic-mini-chart {margin:0!important;padding:0!important;}
  & .topic-mini-chart svg {height:38px!important;min-height:0!important;width:100%!important;}
  & .reading-page-nav {margin:8px 0!important;padding:8px 0!important;background:transparent!important;gap:8px 20px!important;}
  & .reading-page-nav a {font-size:13px!important;padding:4px 0!important;background:transparent!important;}
  & :is(.sb-overview-grid,.sb-summary-layout,.sb-today-stocks,.sb-total-pane,.sb-today-panel) {background:transparent!important;box-shadow:none!important;}
  & .sb-unified .sb-overview-grid {padding:0!important;border:0!important;gap:20px!important;}
  & .sb-unified .sb-overview-grid {grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;align-items:start!important;}
  & .sb-unified .sb-today-panel .sb-flow-heading > div:first-child {grid-template-columns:1fr auto!important;}
  & .sb-unified .sb-today-panel .sb-flow-heading .sb-total-value {grid-column:2!important;grid-row:1/4!important;font-size:30px!important;margin:0!important;}
  & .sb-unified .sb-today-panel .sb-today-stocks {padding:10px 0 0!important;border:0!important;border-top:1px solid #e3ece6!important;border-radius:0!important;margin:8px 0 0!important;}
  & .sb-unified .sb-flow-heading h2 {font-size:20px!important;}
  & .sb-unified .sb-window-total {display:flex!important;justify-content:space-between!important;align-items:center!important;padding:0!important;margin:0!important;border:0!important;}
  & .sb-unified .sb-window-total span {font-size:11px!important;}
  & .sb-unified .sb-window-total b {font-size:18px!important;}
  & .sb-unified :is(.sb-daily-chart,.sb-flow-chart) {height:175px!important;min-height:0!important;}
  & .sb-unified .sb-chart-block {padding-top:6px!important;}
  & .sb-unified .sb-chart-block h4 {font-size:12px!important;}
  & .sb-stock-heading {font-size:12px!important;margin-bottom:7px!important;}
  & .sb-summary-foot {margin-top:8px!important;padding-top:0!important;}
  & .sb-stock-lane .sb-stock-cards {display:grid!important;grid-template-columns:1fr!important;max-height:420px!important;overflow:auto!important;gap:0!important;}
  & .sb-stock-cards a {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px 10px!important;padding:9px 0!important;border:0!important;border-bottom:1px solid #e6eee8!important;background:transparent!important;border-radius:0!important;}
  & .sb-stock-cards b {font-size:14px!important;}
  & .sb-stock-cards strong {font-size:17px!important;color:#267047!important;}
  & .sb-stock-lane.sell strong {color:#b34a5a!important;}
  & .sb-stock-cards small {font-size:11px!important;}
  & :is(.quiet-rail,.behaviour-rail) {gap:8px!important;}
  & :is(.quiet-rail,.behaviour-rail) button {padding:10px 12px!important;background:#f7fbf8!important;border:1px solid #deebe3!important;border-radius:8px!important;}
  & :is(.quiet-rail,.behaviour-rail) button[aria-pressed=true] {background:#e1f1e7!important;color:#246a43!important;border-color:#8fbba0!important;}
  & .behaviour-rail button[aria-pressed=true] span {color:#246a43!important;}
  & :is(.quiet-detail,.behaviour-detail) {padding:12px 0!important;gap:16px!important;}
  & :is(.quiet-detail,.behaviour-detail) p {font-size:13px!important;line-height:1.55!important;margin:6px 0!important;}
  & main.southbound-page table {border-collapse:collapse!important;width:100%!important;}
  & main.southbound-page :is(th,td) {padding:9px 12px!important;font-size:13px!important;border-bottom:1px solid #e3ece6!important;}
  & main.southbound-page th {background:#edf7f1!important;color:#536a5c!important;font-weight:550!important;}
  & main.southbound-page tbody tr:hover {background:#f0f8f3!important;}
  & .sb-turnover-scroll {overflow-x:auto;max-width:100%;}
  & main.southbound-page .sb-turnover-table {min-width:360px!important;}
  & main.southbound-page .sb-turnover-table :is(th,td) {padding:6px 8px!important;font-size:13px!important;line-height:20px!important;height:auto!important;min-height:0!important;text-align:right!important;white-space:nowrap!important;}
  & main.southbound-page .sb-turnover-table tr {height:auto!important;min-height:0!important;}
  & .sb-unified .sb-summary-foot {min-height:0!important;margin:8px 0 0!important;}
  & .sb-unified .sb-summary-foot details {margin:0!important;padding:0!important;}
  & .sb-unified .sb-summary-foot summary {min-height:0!important;margin:0!important;padding:6px 0!important;}
  & .sb-unified .sb-window-total span {display:none!important;}
  & main.southbound-page .sb-turnover-table tr > :first-child {text-align:left!important;}
  & main.southbound-page .sb-turnover-table tbody th {background:transparent!important;color:#243c30!important;font-weight:500!important;}
  & .sb-turnover-table a {color:inherit!important;text-decoration:none;display:block;}
  & .sb-turnover-table small {color:#76847b;font-size:10px;}
  & .sb-turnover-table td.buy {color:#267047!important;font-weight:600!important;}
  & .sb-turnover-table td.sell {color:#b34a5a!important;font-weight:600!important;}
  & main.southbound-page summary {font-size:12px!important;padding:7px 0!important;cursor:pointer;}
  & main.southbound-page :is(button,a,select):focus-visible {outline:2px solid #458163!important;outline-offset:3px!important;}
  & main.southbound-page [hidden] {display:none!important;}
}
/* Three aligned summaries, followed by a single linked ranking/trend workspace. */
html:is(#mint-dashboard,html):is(#mint-reader,html):has(main.southbound-page){
  & .sb-unified .sb-overview-grid.sb-top-three {grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(0,1fr)!important;gap:16px!important;}
  & body main.southbound-page .sb-top-three .topic-watch {margin:0!important;padding:0 16px 0 0!important;border:0!important;border-right:1px solid #e1eae4!important;border-radius:0!important;}
  & .sb-top-three .topic-watch header {align-items:center!important;}
  & .sb-top-three .topic-watch header > a {font-size:11px!important;}
  & .sb-top-three .topic-watch-card {grid-template-columns:30px minmax(0,1fr) 86px!important;padding:9px 0!important;gap:4px 6px!important;}
  & .sb-top-three .topic-watch-card h3 {grid-column:2!important;grid-row:1!important;font-size:13px!important;gap:6px!important;}
  & .sb-top-three .topic-watch-rank {grid-row:1/3!important;width:28px!important;min-width:28px!important;}
  & .sb-top-three .sb-company-logo {width:34px!important;height:26px!important;}
  & .sb-top-three .topic-watch-card .topic-mini-chart {grid-column:3!important;grid-row:1/3!important;display:block!important;}
  & .sb-top-three .topic-mini-chart svg {height:28px!important;}
  & .sb-top-three .topic-chart-price strong {font-size:12px!important;}
  & .sb-top-three .topic-mini-chart small {font-size:9px!important;}
  & .sb-top-three .topic-watch-card > p {grid-column:2/4!important;grid-row:3!important;display:flex!important;flex-wrap:wrap!important;gap:1px 8px!important;font-size:11px!important;line-height:1.5!important;}
  & .sb-top-three .topic-watch-card > p b {font-weight:550!important;color:#2b6c48!important;}
  & .sb-top-three .topic-watch-note {font-size:10px!important;line-height:1.5!important;margin:8px 0 0!important;}
  & .sb-top-three .sb-today-panel {padding-right:16px!important;}
  & .sb-top-three .sb-flow-heading h2 {font-size:18px!important;}
  & .sb-top-three .sb-today-panel .sb-flow-heading .sb-total-value {font-size:24px!important;}
  & .sb-top-three .sb-turnover-table {min-width:0!important;}
  & .sb-top-three .sb-turnover-table :is(th,td) {padding:5px 4px!important;font-size:11px!important;}
  & body main.southbound-page .sb-top-three .sb-turnover-table small {display:inline!important;font-size:9px!important;}
  & .sb-top-three .sb-trend-pane .sb-daily-chart,& .sb-top-three .sb-trend-pane .sb-flow-chart {height:185px!important;}
  & #southbound-quiet .quiet-workspace {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)!important;gap:24px!important;align-items:start!important;}
  & #southbound-quiet .quiet-rail {display:grid!important;grid-template-columns:1fr!important;gap:0!important;padding:0 8px 0 0!important;max-height:400px!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable;overscroll-behavior:contain;}
  & #southbound-quiet .quiet-rail button {display:grid!important;grid-template-columns:110px minmax(0,1fr) 50px!important;align-items:center!important;gap:10px!important;padding:8px!important;margin:0!important;border:0!important;border-bottom:1px solid #e1eae4!important;border-radius:0!important;background:transparent!important;min-width:0!important;width:100%!important;cursor:pointer;}
  & #southbound-quiet .quiet-rail button[aria-pressed=true] {background:#edf7f1!important;box-shadow:inset 3px 0 #39805a!important;}
  & #southbound-quiet .quiet-rail b {font-size:13px!important;line-height:1.4!important;}
  & #southbound-quiet .quiet-rail b small {display:block!important;font-size:10px!important;color:#7b887f!important;}
  & #southbound-quiet .quiet-rail strong {font-size:13px!important;margin:0!important;text-align:right!important;color:#286e49!important;}
  & #southbound-quiet .quiet-rail .quiet-rank-bar {display:block!important;height:10px!important;background:transparent!important;}
  & #southbound-quiet .quiet-period-note {display:block!important;font-size:11px!important;color:#748479!important;margin:4px 0 10px!important;}
  & .quiet-rank-bar i {display:block;height:100%;background:#77b393;border-radius:2px;}
  & #southbound-quiet .quiet-detail {display:flex!important;flex-direction:column!important;margin:0!important;padding:14px 18px!important;background:#f7fbf8!important;border:1px solid #e1eae4!important;border-radius:8px!important;gap:10px!important;min-width:0!important;}
  & #southbound-quiet .quiet-detail > div,& #southbound-quiet .quiet-detail figure {width:100%!important;}
  & #southbound-quiet .quiet-detail h3 {font-size:20px!important;margin:0 0 8px!important;}
  & #southbound-quiet .quiet-detail .signal-number {font-size:20px!important;}
  & #southbound-quiet .quiet-detail svg {min-width:0!important;min-height:0!important;width:100%!important;}
  & .behaviour-workspace {display:grid!important;grid-template-columns:minmax(0,1fr) 280px!important;gap:24px!important;align-items:start!important;}
  & .behaviour-stage,& .behaviour-controls {min-width:0!important;}
  & .behaviour-controls {border-left:1px solid #e1eae4!important;padding-left:20px!important;}
  & .behaviour-controls .behaviour-tabs {display:grid!important;grid-template-columns:1fr!important;gap:4px!important;overflow:visible!important;background:transparent!important;padding:0!important;}
  & .behaviour-controls .behaviour-tabs button {margin:0!important;padding:8px 12px!important;min-height:34px!important;font-size:13px!important;white-space:normal!important;border-radius:6px!important;text-align:left!important;}
  & .behaviour-company-picker {display:grid;gap:7px;font-size:12px;color:#62786b;width:100%;}
  & .behaviour-company-picker select {width:100%;min-width:0;padding:9px 8px;border:1px solid #cddfd3;border-radius:6px;background:white;color:#244a36;font:inherit;font-size:13px;}
  & .behaviour-controls .behaviour-rail {display:grid!important;grid-template-columns:1fr!important;max-height:280px!important;overflow-y:auto!important;gap:0!important;padding:0!important;}
  & .behaviour-controls .behaviour-rail button {display:flex!important;justify-content:space-between!important;gap:10px!important;align-items:center!important;border:0!important;border-bottom:1px solid #e3ece6!important;border-radius:0!important;padding:10px 8px!important;width:100%!important;background:transparent!important;}
  & .behaviour-controls .behaviour-rail button[aria-pressed=true] {background:#edf7f1!important;box-shadow:inset 3px 0 #39805a!important;}
  & .behaviour-controls .behaviour-rail b,& .behaviour-controls .behaviour-rail span {font-size:13px!important;margin:0!important;}
  & .behaviour-controls .behaviour-rail small {font-size:10px!important;color:#748479!important;}
  & .behaviour-stage .behaviour-detail {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;}
  & .behaviour-stage .behaviour-detail h3 {font-size:20px!important;margin:0!important;}
  & .behaviour-stage .behaviour-detail > p {margin:0!important;font-size:13px!important;}
  & .behaviour-stage .behaviour-charts {display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  & .behaviour-stage .behaviour-charts figure {margin:0!important;padding:12px!important;background:#f7fbf8!important;border:1px solid #e1eae4!important;border-radius:8px!important;}
  & .behaviour-stage .behaviour-charts svg {width:100%!important;min-width:0!important;height:170px!important;max-height:none!important;}
  & .behaviour-stage .behaviour-charts figure:only-child svg {height:270px!important;}
}
@media(max-width:1100px){html:is(#mint-dashboard,html):is(#mint-reader,html):has(main.southbound-page){
  & .sb-unified .sb-overview-grid.sb-top-three {grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;}
  & .sb-top-three .topic-watch {grid-column:1/-1!important;border-right:0!important;padding-right:0!important;}
}}
@media(max-width:700px){html:is(#mint-dashboard,html):is(#mint-reader,html):has(main.southbound-page){
  & .sb-unified .sb-overview-grid.sb-top-three,& #southbound-quiet .quiet-workspace,& .behaviour-workspace {grid-template-columns:minmax(0,1fr)!important;}
  & .behaviour-controls {border:0!important;padding:0!important;grid-row:1!important;}
  & #southbound-quiet .quiet-rail {max-height:300px!important;}
  & .behaviour-stage .behaviour-charts figure:only-child svg {height:190px!important;}
  & .behaviour-controls .behaviour-rail {max-height:200px!important;}
  & .sb-top-three .sb-today-panel {padding-right:0!important;}
  & #southbound-quiet .quiet-detail {padding:12px!important;}
}}
@media(max-width:800px){html:is(#mint-dashboard,html):is(#mint-reader,html):has(main.southbound-page){
  & body main.southbound-page {padding:76px 12px 16px!important;}
  & .editorial-hero h1 {font-size:32px!important;}
  & .topic-watch-card {grid-template-columns:30px minmax(0,1fr) 100px!important;gap:6px!important;}
  & .topic-watch-card .topic-watch-reason {grid-column:2/4!important;}
  & .topic-watch-card > p {grid-column:2!important;grid-row:2!important;font-size:11px!important;}
  & .topic-watch-card .topic-mini-chart {grid-column:3!important;grid-row:1/4!important;}
  & .topic-watch-card h3 {grid-row:1!important;}
  & .topic-watch-card h3 {font-size:13px!important;gap:6px!important;}
  & .sb-company-logo {width:32px!important;height:24px!important;}
  & .topic-watch-card .topic-mini-chart {display:block!important;}
  & .topic-watch-card .topic-mini-chart small {display:block!important;}
  & .topic-watch-card footer {grid-column:2!important;grid-row:3!important;}
  & .sb-unified .sb-overview-grid {grid-template-columns:minmax(0,1fr)!important;}
  & .sb-unified .sb-today-panel {padding-right:0!important;border-right:0!important;}
}}
