/* T-060 state hub layout v2 (T-061 Option B, picked 2026-11-30). CSS only; CSP style-src 'self'; scoped to body.hubv2. */
.hubv2 main.frame{overflow-wrap:anywhere}
.hubv2 .hub-collapse{margin:14px 0;border:1px solid var(--line);background:var(--white)}
.hubv2 .hub-collapse>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:10px;padding:8px 14px;list-style:none;font-weight:700;background:var(--mist)}
.hubv2 .hub-collapse>summary::-webkit-details-marker{display:none}
.hubv2 .hub-collapse>summary::before{content:"+";font-family:var(--mono);font-weight:700;width:1.2em;flex:none;color:var(--electric)}
.hubv2 .hub-collapse[open]>summary::before{content:"\2212"}
.hubv2 .hub-collapse>summary:focus-visible{outline:3px solid var(--electric);outline-offset:2px}
.hubv2 .hub-collapse>summary h2,.hubv2 .hub-collapse>summary h3{margin:0;font-size:17px;display:inline}
.hubv2 .hub-collapse>:not(summary){margin-left:14px;margin-right:14px}
.hubv2 .hub-collapse.hub-rest{border-left:6px solid var(--electric)}
.hubv2 .hub-collapse.hub-rest>.restofstate{border:0;padding:4px 0 10px;margin-top:0}
.hubv2 .hub-collapse.hub-training>.hub-traininggrp>.training{margin:10px 0;border:0;padding:0;background:transparent}
.hubv2 .hub-collapse>.collegelink,.hubv2 .hub-collapse>.related{margin-top:6px;margin-bottom:10px}
.hubv2 .hub-collapse>.related{border:0;background:transparent;padding:0}
.hubv2 .hub-local{margin:22px 0 10px}
.hubv2 .hub-localnote{border:1px solid var(--ink);border-left:6px solid var(--lime);background:var(--white);padding:10px 14px;margin:0;font-weight:600}
.hubv2 .hub-cityslot:empty{display:none}
.hubv2 .restitem{border-top:1px solid var(--line);padding-top:8px;margin-top:8px}
.hubv2 .restitem h4{margin:2px 0 4px}
.hubv2 .tradefacts{min-width:0}.hubv2 .tradefact{min-width:0}
.hubv2 table td,.hubv2 table th{overflow-wrap:anywhere}
.hubv2 .tablewrap{max-width:100%}
@media print{.hubv2 .hub-collapse>summary::before{content:""}}
/* Sticky side jump nav + trade summary cards + trade accordions. */
.hubv2 main.frame{max-width:1180px}
.hubv2 .hub-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:start;margin-top:18px}
.hubv2 .hub-side{position:sticky;top:12px}
.hubv2 .hub-side .tradejump{flex-direction:column;flex-wrap:nowrap;margin:0;border:0;padding:0}
.hubv2 .hub-side .tradejump a{display:block}
.hubv2 .hub-body{min-width:0}
/* comparison table rendered as one card per trade at every width */
.hubv2 table.tradecmp thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.hubv2 table.tradecmp{display:block;border:0}
.hubv2 table.tradecmp caption{display:block;text-align:left;margin-bottom:8px}
.hubv2 table.tradecmp tbody{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.hubv2 table.tradecmp tr{display:flex;flex-direction:column;border:1px solid var(--line);border-top:4px solid var(--electric);background:var(--white);margin:0}
.hubv2 table.tradecmp th,.hubv2 table.tradecmp td{display:block;width:auto;border:0;text-align:left;white-space:normal}
.hubv2 table.tradecmp td{border-top:1px solid var(--line)}
.hubv2 table.tradecmp td::before{content:attr(data-label);display:block;font-family:var(--mono);font-size:12px;font-weight:600;color:var(--graphite);margin-bottom:2px}
.hubv2 table.tradecmp th[scope=row]{background:var(--ink);color:var(--white)}
.hubv2 table.tradecmp th[scope=row] a{color:var(--lime)}
.hubv2 .tablewrap:has(.tradecmp){overflow:visible}
.hubv2 .hub-trade{scroll-margin-top:12px}
.hubv2 .hub-trade>summary h2{font-size:19px}
.hubv2 .hub-trade>.tradesection>h2{display:none}
.hubv2 .hub-trade[open]{border-color:var(--ink)}
@media (max-width:860px){
  .hubv2 .hub-layout{display:block}
  .hubv2 .hub-side{position:sticky;top:0;z-index:5;background:var(--white);border-bottom:2px solid var(--ink);margin-bottom:12px}
  .hubv2 .hub-side .tradejump{flex-direction:row;flex-wrap:wrap;gap:6px;padding:8px 0}
  .hubv2 .hub-side .tradejump a{flex:none;white-space:nowrap;padding:8px 9px;font-size:13px}
  .hubv2 .hub-trade{scroll-margin-top:120px}
}
@media print{.hubv2 .hub-side{position:static}}
