/* Published daily ladder: readable structure, explicit favorite state, shared stock typography. */
.review-ladder-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 14px}
.review-ladder-stats{display:flex;align-items:baseline;gap:7px;margin:0;color:var(--btmp-text-muted);font-size:12px}
.review-ladder-stats>span{margin-left:12px}
.review-ladder-stats strong{font-size:18px;font-weight:500;color:var(--btmp-text);font-variant-numeric:tabular-nums}
.review-ladder-actions{display:flex;gap:6px;flex-wrap:wrap}
.review-ladder-actions button{padding:5px 9px;font-size:12px;min-height:30px;border-color:var(--btmp-line);background:var(--btmp-surface);color:var(--btmp-text-muted)}
.review-ladder-actions button:hover{background:var(--btmp-surface-muted);color:var(--btmp-text)}
.review-next-day-legend{gap:5px 14px;margin-bottom:14px}
.review-next-day-legend [hidden],.bh-ladder-table tr[hidden]{display:none}
.review-next-day-legend u{text-underline-offset:3px}
.review-ladder-frame{position:relative;isolation:isolate;border:1px solid var(--btmp-line-soft);border-radius:8px;overflow:hidden}
.review-ladder-frame::before,.review-ladder-frame::after{content:"";position:absolute;top:0;bottom:0;width:18px;pointer-events:none;z-index:4;opacity:0;transition:opacity .15s}
.review-ladder-frame::before{left:64px;background:linear-gradient(to right,color-mix(in srgb,var(--btmp-text) 10%,transparent),transparent)}
.review-ladder-frame::after{right:0;background:linear-gradient(to left,color-mix(in srgb,var(--btmp-text) 12%,transparent),transparent)}
.review-ladder-frame.has-left-content::before,.review-ladder-frame.has-right-content::after{opacity:1}
.bh-ladder-table-wrap{overflow:auto;max-height:68vh;max-height:min(720px,68vh);scrollbar-width:thin;scrollbar-color:var(--btmp-line) transparent;scroll-padding-top:45px}
.bh-ladder-table{border-collapse:separate;border-spacing:0}
.bh-ladder-table th,.bh-ladder-table td{padding:10px 8px;min-width:158px}
.bh-ladder-table th:first-child{min-width:64px;width:64px;box-sizing:border-box;z-index:2;border-right:1px solid var(--btmp-line-soft);padding-left:13px}
.bh-ladder-table thead th{position:sticky;top:0;z-index:3;background:var(--btmp-surface-muted);box-shadow:0 1px 0 var(--btmp-line);white-space:nowrap}
.bh-ladder-table thead th:first-child{z-index:5}
.bh-ladder-table thead th:not(:first-child){white-space:normal;max-width:220px;line-height:1.6}
.bh-ladder-table tbody th small{display:block;font-size:11px;font-weight:400;color:var(--btmp-text-muted);margin-top:5px}
.bh-ladder-table tbody tr:last-child>th,.bh-ladder-table tbody tr:last-child>td{border-bottom:0}
.bh-ladder-table .review-first-board>th,.bh-ladder-table .review-first-board>td{border-top:2px solid var(--btmp-line);padding-top:13px}
.review-stock{gap:2px;min-height:32px;line-height:28px;padding:1px 3px 1px 6px;border:1px solid transparent;border-radius:5px;margin:1px 0}
.review-stock a.bh-ladder-stock{font-size:14px;font-weight:400;min-width:4em;flex:0 0 auto}
.review-stock.is-favorite{background:color-mix(in srgb,var(--btmp-favorite) 10%,var(--btmp-surface));border-color:color-mix(in srgb,var(--btmp-favorite) 36%,transparent)}
.review-star{display:inline-flex;align-items:center;justify-content:center;flex:none;border:0;background:transparent;padding:0;min-width:27px;min-height:28px;line-height:1;border-radius:4px;color:var(--btmp-text-muted)}
.review-star{font-size:18px}
.review-star[aria-pressed="true"]{color:var(--btmp-favorite)}
.review-star:hover{background:var(--btmp-surface-muted);color:var(--btmp-text)}
.review-star[aria-pressed="true"]:hover{color:var(--btmp-favorite)}
.review-star[aria-busy="true"]{opacity:.5}
.review-star:disabled{cursor:wait}
.review-star:disabled:not([aria-busy]){cursor:not-allowed}
.review-stock-info{max-height:calc(100dvh - 16px);overflow:hidden;box-sizing:border-box;width:max-content;max-width:min(340px,calc(100vw - 16px));overflow-wrap:anywhere;white-space:pre-line}
.review-broken{padding:12px 0 0;margin-top:18px;border-top:1px solid var(--btmp-line);scroll-margin-top:76px}
.review-broken>summary{cursor:pointer;color:var(--btmp-text);font-size:13px;font-weight:500;padding:4px 0}
.review-broken>summary small{margin-left:12px;font-weight:400;color:var(--btmp-text-muted)}
.review-broken-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin-top:14px}
.review-broken-groups section+section{border-left:1px solid var(--btmp-line-soft);padding-left:24px}
.review-broken-groups h3{font-size:13px;margin:0 0 9px;color:var(--btmp-text);font-weight:500}
.review-broken-groups h3 small{margin-left:5px;color:var(--btmp-text-muted);font-weight:400}
.review-broken-groups p{display:flex;gap:4px 10px;flex-wrap:wrap;margin:6px 0;line-height:1.9}
.review-broken-theme{flex-basis:100%;font-size:11px;color:var(--btmp-text-muted)}
.review-broken-groups a{font-size:14px;font-weight:400;color:var(--btmp-text)}
.review-favorite-date{display:block;color:var(--btmp-text-muted);font-size:11px;margin-top:4px;font-variant-numeric:tabular-nums}
@media (pointer:coarse){.review-star{min-width:36px;min-height:40px}.review-stock{gap:1px}.bh-ladder-table th,.bh-ladder-table td{min-width:182px}}
@media (max-width:600px){.review-ladder-hint{display:none}.review-ladder-toolbar{gap:9px}.review-ladder-actions{width:100%;justify-content:space-between}.review-ladder-actions button{min-height:36px}.review-broken-groups{grid-template-columns:1fr}.review-broken-groups section+section{border-left:0;border-top:1px solid var(--btmp-line-soft);padding:14px 0 0}.bh-ladder-table-wrap{max-height:65vh}.review-next-day-legend{font-size:11px;gap:6px 11px}}
@media (prefers-reduced-motion:reduce){.review-ladder-frame::before,.review-ladder-frame::after{transition:none}}
