:root:is(#hkex-editorial,.hkex-editorial) body main.sb-summary-ready>.southbound-stats{display:none!important}
:root:is(#hkex-editorial,.hkex-editorial) body main.sb-summary-ready .reading-page-nav a[href="#southbound-year-flows"]:not(:first-child){display:none!important}
:root:is(#hkex-editorial,.hkex-editorial) body main.sb-summary-ready:not(.sb-show-active)>.southbound-turnover-section{display:none!important}
.sb-summary-layout{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,2fr);gap:30px;align-items:stretch}
.sb-today-stocks{margin:18px 0 26px;border-top:1px solid #d7e1d5;padding-top:18px}
.sb-stock-heading{display:flex;justify-content:space-between;gap:12px;color:#536d5c;font-size:15px}
.sb-stock-lane{margin-top:14px}.sb-stock-lane h3 span{font-size:14px;color:#677b6c;font-weight:400;margin-left:6px}
.sb-today-stocks{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 20px}
.sb-stock-heading,.sb-count-help{grid-column:1/-1}
.sb-stock-lane{min-width:0}
.sb-stock-lane .sb-stock-cards{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:8px}
.sb-stock-lane .sb-stock-cards a{flex:0 0 calc((100% - 20px)/3);box-sizing:border-box;scroll-snap-align:start}
.sb-unified .sb-flow-heading>div:first-child{width:100%;display:grid;grid-template-columns:1fr auto;align-items:center}
.sb-unified .sb-flow-heading .sb-total-value{grid-column:2;grid-row:1/4}
@media(max-width:800px){
  .sb-today-stocks{gap:0 10px}
  .sb-stock-lane .sb-stock-cards a{flex-basis:100%;padding:14px 10px}
  .sb-stock-lane .sb-stock-cards strong{font-size:21px}
  .sb-unified .sb-flow-heading .sb-total-value{font-size:34px}
  :root:is(#hkex-editorial,.hkex-editorial) body .sb-unified .sb-flow-heading h2{font-size:22px!important}
}
.sb-stock-cards{display:grid;grid-template-columns:repeat(var(--stock-count),minmax(0,1fr));gap:10px}
.sb-stock-cards a{min-width:0;display:flex;flex-direction:column;gap:10px;padding:17px 14px;border:1px solid #d6e1d5;border-top:3px solid #38815b;border-radius:9px;background:linear-gradient(145deg,#fff,#f0f6ef);text-decoration:none;color:#293e30}
.sb-stock-cards b{font-size:18px;line-height:1.45;font-weight:550}
.sb-stock-cards strong{font-size:24px;font-weight:550;color:#38815b}
.sb-stock-cards small{font-size:12px;color:#627769}
.sb-stock-lane.sell a{border-top-color:#b85550;background:linear-gradient(145deg,#fff,#faf1ee)}
.sb-stock-lane.sell strong{color:#b85550}
.sb-count-help{font-size:14px;color:#617466;margin-top:12px;line-height:1.7}.sb-count-help summary{cursor:pointer}
:root:is(#hkex-editorial,.hkex-editorial) body .sb-unified .sb-flow-heading h2{font-size:28px!important}
.sb-unified .sb-flow-heading .sb-total-value{font-size:52px;line-height:1.35}
.sb-unified .sb-summary-layout{background:#f1f5ed;border:1px solid #dce4d8;border-radius:12px;padding:20px;grid-template-columns:minmax(190px,.6fr) minmax(0,2fr)}
.sb-unified .sb-window-total{border-top:0;padding-top:10px}
.sb-unified .sb-window-total b{font-size:36px;display:block;margin-top:10px}
.sb-stock-cards a:focus-visible{outline:2px solid #397aab;outline-offset:2px}
.sb-total-pane{padding:18px 24px 18px 0;border-right:1px solid #dce3d8}
.sb-total-pane>span,.sb-total-pair span,.sb-window-total span{display:block;color:#65776a;font-size:14px}
:root:is(#hkex-editorial,.hkex-editorial) body .sb-unified h3{font-size:20px!important;font-weight:500!important;margin:8px 0!important}
.sb-total-value{display:block;font-size:clamp(36px,3.2vw,50px);font-weight:550;color:#38815b;line-height:1.5}
.sb-total-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}
.sb-total-pair b{font-size:22px;font-weight:500;color:#334b3b}
.sb-window-total{border-top:1px solid #dce3d8;padding-top:20px}.sb-window-total b{font-size:28px;color:#38815b;font-weight:500}
.sb-unified .negative{color:#b85550}
.sb-trend-pane{min-width:0}.sb-trend-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.sb-mode{display:flex;gap:5px}.sb-mode button,.sb-active-toggle{font:inherit;padding:8px 12px;border:1px solid #d5dfd0;border-radius:7px;background:#fff;color:#3b5643;cursor:pointer;min-height:40px}
.sb-mode button[aria-pressed=true]{background:#315c43;color:#fff}
:root:is(#hkex-editorial,.hkex-editorial) body .sb-unified .sb-flow-chart{height:300px!important;min-height:0!important;width:100%!important}
.sb-selected{font-size:14px;line-height:1.6;min-height:24px;color:#5b7061}
.sb-summary-foot{display:flex;gap:18px;align-items:flex-start;border-top:1px solid #dce3d8;padding-top:14px;margin-top:14px}
.sb-summary-foot details{flex:1;font-size:14px;line-height:1.8}.sb-summary-foot summary{cursor:pointer;padding:9px 0}
.sb-data-sources{margin:72px auto 20px;padding:34px 0 10px;border-top:1px solid #dce3d8;max-width:1380px}
.sb-data-sources>span{font-size:14px;color:#38815b;font-weight:600}.sb-data-sources h2{margin:7px 0 8px;font-size:32px;letter-spacing:0;font-weight:550;color:#243b2b}.sb-data-sources>p{margin:0;max-width:680px;color:#617466;line-height:1.7}
.sb-data-sources>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:28px;border-top:1px solid #dce3d8;border-bottom:1px solid #dce3d8}
.sb-data-sources a{position:relative;display:grid;gap:6px;padding:20px 44px 20px 0;color:#293e30;text-decoration:none}.sb-data-sources a+a{padding-left:22px;border-left:1px solid #dce3d8}.sb-data-sources a small,.sb-data-sources a time{font-size:13px;color:#687b6d}.sb-data-sources a b{font-size:17px;font-weight:550}.sb-data-sources a i{position:absolute;right:16px;top:50%;translate:0 -50%;font-style:normal;color:#38815b;font-size:18px}.sb-data-sources a:hover b,.sb-data-sources a:focus-visible b{text-decoration:underline}.sb-data-sources a:focus-visible{outline:2px solid #397aab;outline-offset:3px}
.sb-top-stock-search{position:absolute;right:0;bottom:18px;width:min(430px,42%);margin:0}.sb-top-stock-search>label{display:block;margin-bottom:6px;font-size:13px;font-weight:600;color:#476553}.sb-top-stock-search>div{display:flex;align-items:center;gap:7px}.sb-top-stock-search input{min-width:0;flex:1;height:42px;border:1px solid #c9d7ca;border-radius:8px;background:rgba(255,255,255,.88);padding:0 12px;font:inherit;color:#293e30}.sb-top-stock-search button{height:42px;border:0;border-radius:8px;background:#315c43;color:#fff;padding:0 17px;font:inherit;font-weight:550;cursor:pointer}.sb-top-stock-search input:focus-visible,.sb-top-stock-search button:focus-visible{outline:2px solid #397aab;outline-offset:2px}
.sb-unified button:focus-visible{outline:2px solid #397aab;outline-offset:2px}
.sb-overview-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px;align-items:stretch}
.sb-market-panel{min-width:0}
.sb-overview-grid .sb-today-stocks{display:block;min-width:0;margin:0;padding:20px;border:1px solid #dce4d8;border-radius:12px;background:#f5f7f1}
.sb-overview-grid .sb-summary-layout{display:flex;flex-direction:column;gap:12px;padding:16px}
.sb-overview-grid .sb-total-pane{border:0;padding:0}
.sb-overview-grid .sb-window-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0}
.sb-overview-grid .sb-window-total b{font-size:26px;margin:0}
.sb-overview-grid .sb-stock-lane[hidden]{display:none!important}
.sb-overview-grid .sb-stock-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:auto;max-height:425px;align-content:start}
.sb-overview-grid .sb-stock-cards a{padding:14px;gap:5px}
.sb-unified .sb-flow-heading{margin-bottom:6px}
.sb-unified .sb-overview-grid{grid-template-columns:minmax(340px,.9fr) minmax(0,1.1fr);gap:20px;padding:20px;border:1px solid #dce4d8;border-radius:12px;background:#f1f5ed}
.sb-unified .sb-today-panel{min-width:0;padding-right:20px;border-right:1px solid #dce3d8}
.sb-unified .sb-today-panel .sb-flow-heading>div:first-child{grid-template-columns:1fr}
.sb-unified .sb-today-panel .sb-flow-heading .sb-total-value{grid-column:1;grid-row:auto;margin-top:2px;font-size:48px}
.sb-unified .sb-today-panel .sb-flow-tabs{display:none}
.sb-unified .sb-today-panel .sb-total-pane{padding:0;border:0}
.sb-unified .sb-today-panel .sb-window-total{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding-top:12px}
.sb-unified .sb-today-panel .sb-window-total b{margin:0;font-size:30px}
.sb-unified .sb-today-panel .sb-today-stocks{display:block;margin:18px 0 0;padding-top:16px}
.sb-flow-lanes{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.sb-flow-list{display:grid;gap:7px}
.sb-flow-list a{display:grid;grid-template-columns:minmax(0,1fr) 74px;gap:4px 10px;align-items:center;color:#293e30;text-decoration:none}
.sb-flow-list a:hover .sb-flow-name,.sb-flow-list a:focus-visible .sb-flow-name{text-decoration:underline}
.sb-flow-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.sb-flow-list strong{font-size:14px;text-align:right;color:#38815b;font-weight:600}
.sb-stock-lane.sell .sb-flow-list strong{color:#b85550}
.sb-flow-bar{grid-column:1/-1;height:5px;border-radius:99px;background:#dfe7df;overflow:hidden}
.sb-flow-bar i{display:block;height:100%;border-radius:inherit;background:#38815b}
.sb-stock-lane.sell .sb-flow-bar i{background:#b85550}
.sb-unified .sb-overview-grid>.sb-trend-pane{min-width:0;display:flex;flex-direction:column;gap:10px}
.sb-chart-block{min-width:0;padding-top:10px;border-top:1px solid #dce3d8}
.sb-chart-block:first-of-type{padding-top:0;border-top:0}
.sb-chart-block h4{margin:0 0 3px;font-size:15px;font-weight:550;color:#3c5544}
.sb-unified .sb-overview-grid>.sb-trend-pane .sb-daily-chart,
.sb-unified .sb-overview-grid>.sb-trend-pane .sb-flow-chart{flex:none;width:100%!important;min-height:0!important}
.sb-unified .sb-overview-grid>.sb-trend-pane .sb-flow-tabs{display:flex}
@media(min-width:801px){
  :root:is(#hkex-editorial,.hkex-editorial) body .sb-unified .sb-overview-grid>.sb-trend-pane .sb-daily-chart{height:210px!important}
  :root:is(#hkex-editorial,.hkex-editorial) body .sb-unified .sb-overview-grid>.sb-trend-pane .sb-flow-chart{height:240px!important}
}
@media(min-width:1100px){
  .sb-unified .sb-overview-grid{grid-template-columns:minmax(360px,420px) minmax(0,1fr)}
}
@media(min-width:801px) and (max-width:1099px){
  .sb-unified .sb-overview-grid{grid-template-columns:1fr}
  .sb-unified .sb-today-panel{padding:0 0 18px;border-right:0;border-bottom:1px solid #dce3d8}
  :root:is(#hkex-editorial,.hkex-editorial) body .sb-unified .sb-overview-grid>.sb-trend-pane .sb-daily-chart{height:210px!important}
  :root:is(#hkex-editorial,.hkex-editorial) body .sb-unified .sb-overview-grid>.sb-trend-pane .sb-flow-chart{height:240px!important}
}
@media(max-width:800px){
  .sb-unified .sb-overview-grid{grid-template-columns:1fr;padding:14px}
  .sb-unified .sb-today-panel{padding:0 0 16px;border-right:0;border-bottom:1px solid #dce3d8}
  .sb-unified .sb-today-panel .sb-flow-heading .sb-total-value{font-size:42px}
  .sb-unified .sb-today-panel .sb-window-total b{font-size:26px;white-space:nowrap}
  .sb-flow-lanes{gap:12px}
  .sb-flow-list a{grid-template-columns:minmax(0,1fr) 62px}
  .sb-flow-name,.sb-flow-list strong{font-size:13px}
  :root:is(#hkex-editorial,.hkex-editorial) body .sb-unified .sb-overview-grid>.sb-trend-pane .sb-daily-chart{height:190px!important}
  :root:is(#hkex-editorial,.hkex-editorial) body .sb-unified .sb-overview-grid>.sb-trend-pane .sb-flow-chart{height:220px!important}
}
@media(max-width:800px){
  .sb-overview-grid{grid-template-columns:1fr;gap:16px}
  .sb-unified .sb-flow-heading .sb-total-value{font-size:34px}
  :root:is(#hkex-editorial,.hkex-editorial) body .sb-unified .sb-flow-heading h2{font-size:22px!important}
  .sb-stock-cards{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:6px}
  .sb-stock-cards a{flex:0 0 175px;scroll-snap-align:start}
  .sb-stock-heading{flex-wrap:wrap}
  .sb-unified .sb-summary-layout{grid-template-columns:1fr;padding:14px}
  .sb-summary-layout{grid-template-columns:1fr;gap:14px}
  .sb-total-pane{border-right:0;border-bottom:1px solid #dce3d8;padding:4px 0 18px}
  .sb-total-pair{margin:10px 0}.sb-window-total{padding-top:10px}
  .sb-trend-head{flex-wrap:wrap}.sb-summary-foot{flex-wrap:wrap}
  .sb-summary-foot details{min-width:100%}
  .sb-data-sources{margin-top:48px;padding-top:26px}.sb-data-sources h2{font-size:27px}.sb-data-sources>div{grid-template-columns:1fr}.sb-data-sources a{padding:17px 42px 17px 0}.sb-data-sources a+a{padding-left:0;border-left:0;border-top:1px solid #dce3d8}
  .sb-top-stock-search{position:static;width:100%;margin:18px 0 4px}
}
