


.bk-lead { padding: 20px 22px 18px; }
.bk-eyebrow { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted-on-panel, var(--text-muted)); display: flex; align-items: center; gap: 8px; }
.bk-eyebrow .il-info { letter-spacing: 0; }
.bk-lead-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 36px; align-items: start; }
.bk-value { font-family: var(--font-mono); font-size: clamp(38px, 5vw, 58px); font-weight: 500; line-height: 1.1;
  color: var(--text-primary); font-variant-numeric: tabular-nums; margin-top: 2px; }
.bk-cost { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 4px; }
.bk-gain, .bk-gain-pct { font-family: var(--font-mono); font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bk-gain.pos, .bk-gain-pct.pos, .bk-read b.pos { color: var(--good-on-panel, var(--good)); }
.bk-gain.neg, .bk-gain-pct.neg, .bk-read b.neg { color: var(--critical-on-panel, var(--critical)); }
.bk-gain-who { flex-basis: 100%; margin-top: 2px; }
.bk-reads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; align-self: stretch; }
.bk-read { padding: 2px 18px; border-left: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bk-read b { font-family: var(--font-mono); font-size: 28px; font-weight: 500; line-height: 1.2; color: var(--text-primary);
  font-variant-numeric: tabular-nums; }
.bk-read b.warn { color: var(--warning-on-panel, var(--warning)); }
.bk-read span { font-size: 12.5px; line-height: 1.4; color: var(--text-secondary); }
.bk-mix-h { margin: 18px 0 6px; }
.bk-mix { display: flex; gap: 2px; height: 46px; }
.bk-seg { --pf-ground: var(--panel-solid, var(--surface-2)); flex: 1 1 0; min-width: 4px; overflow: hidden; display: flex; flex-direction: column;
  justify-content: center; gap: 1px; padding: 0 8px; text-decoration: none; color: var(--text-primary);
  font-family: var(--font-mono); line-height: 1.15; border-radius: 3px; }
.bk-seg:first-child { border-radius: 6px 3px 3px 6px; }
.bk-seg:last-child { border-radius: 3px 6px 6px 3px; }
.bk-seg b { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.bk-seg span { font-size: 11px; opacity: .85; white-space: nowrap; }
.bk-seg.s0 { background: color-mix(in oklab, var(--series-1) 58%, var(--pf-ground)); }
.bk-seg.s1 { background: color-mix(in oklab, var(--series-1) 48%, var(--pf-ground)); }
.bk-seg.s2 { background: color-mix(in oklab, var(--series-1) 39%, var(--pf-ground)); }
.bk-seg.s3 { background: color-mix(in oklab, var(--series-1) 31%, var(--pf-ground)); }
.bk-seg.s4 { background: color-mix(in oklab, var(--series-1) 24%, var(--pf-ground)); }
.bk-seg.s5 { background: color-mix(in oklab, var(--series-1) 18%, var(--pf-ground)); }
.bk-seg.rest { background: color-mix(in oklab, var(--text-muted) 20%, var(--pf-ground)); }
.bk-seg.w-xs { padding: 0; }
.bk-seg.w-xs > * { display: none; }
.bk-seg.w-s { padding: 0 5px; }
.bk-seg.w-s span { display: none; }
a.bk-seg:hover { outline: 2px solid var(--text-primary); outline-offset: -2px; }
a.bk-seg:focus-visible, .bk-edit > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }


.bk-table td, .bk-table th { vertical-align: middle; }
.bk-name { display: block; font-family: var(--font); font-size: 12.5px; color: var(--text-secondary); max-width: 26ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-wcell { white-space: nowrap; }
.bk-w { display: inline-block; width: 56px; height: 6px; border-radius: 3px; margin-right: 10px; vertical-align: 1px;
  background: color-mix(in oklab, var(--text-muted) 16%, transparent); overflow: hidden; }
.bk-w > i { display: block; height: 100%; border-radius: 3px; background: var(--series-1); }
.bk-table tr.over .bk-wv { color: var(--warning-on-panel, var(--warning)); font-weight: 600; }
.bk-table tr.over .bk-w > i { background: var(--warning); }

.bk-verdict { white-space: nowrap; }
.bk-vwhy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; }


.solo-door { align-items: center; gap: 10px 12px; margin-bottom: 12px; }
.solo-thesis { white-space: normal; min-width: 22ch; max-width: 46ch; line-height: 1.4; color: var(--text-secondary); }
.solo-cash td { color: var(--text-secondary); }
.solo-cash .bk-w > i { background: color-mix(in oklab, var(--text-muted) 55%, transparent); }


.bk-edit { margin: 16px 0; }
.bk-edit > summary { display: flex; align-items: baseline; gap: 12px; cursor: pointer; list-style: none; border-radius: 6px; }
.bk-edit > summary::-webkit-details-marker { display: none; }
.bk-edit > summary h2 { margin: 0; }
.bk-edit > summary::after { content: ""; width: 8px; height: 8px; margin-left: auto; align-self: center; border-right: 1.6px solid var(--text-secondary);
  border-bottom: 1.6px solid var(--text-secondary); transform: rotate(45deg) translateY(-2px); }
.bk-edit[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.bk-edit[open] > summary { margin-bottom: 10px; }
.bk-edit[open] .bk-edit-hint { display: none; }
.bk-edit[data-empty] #holdCount { display: none; }


.bk-track { position: relative; padding: 3px 0; }
.bk-cap { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--text-primary); }
.bk-conc .il-bar-row.over .il-bar-fill { background: var(--warning); }
.bk-conc .il-bar-row.over .bk-conc-v { color: var(--warning-on-panel, var(--warning)); font-weight: 600; }
.bk-cap-note { margin: 10px 0 0; }


#pfIncome .inc-months { height: 116px; gap: 2px; }
#pfIncome .inc-m { gap: 3px; min-width: 0; }
#pfIncome .inc-m i { width: min(100%, 38px); border-radius: 4px 4px 0 0; background: var(--series-1); opacity: .9; }
#pfIncome .inc-m.none i { background: var(--border-strong); opacity: 1; min-height: 1px; height: 1px !important; border-radius: 0; }
.inc-v { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; color: var(--text-primary); font-variant-numeric: tabular-nums; }


.expobar > i + i { margin-left: 2px; }
.expokey { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 3px 22px; }
.expokey li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 12.5px; color: var(--text-secondary); }
.expokey i { width: 10px; height: 10px; border-radius: 2.5px; }
.expokey span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.expokey b { font-family: var(--font-mono); font-weight: 500; font-size: 12px; color: var(--text-primary); font-variant-numeric: tabular-nums; }


.ex-flags { display: grid; gap: 8px; margin: 0 0 14px; }
.ex-flags .callout { margin: 0; }
.ex-tiles { margin: 0 0 14px; }
.ex-table .ex-barcell { width: 34%; min-width: 120px; }
.ex-pos .ex-barcell { width: 18%; }
.ex-table tr.ex-total td { border-top: 2px solid var(--border-strong); }
.ex-barhead { margin: 12px 0 6px; }
.ex-barhead:first-child { margin-top: 2px; }
.ex-more { margin-top: 10px; }
.ex-more > summary { cursor: pointer; min-height: 28px; }
@media (max-width: 640px) {
  .ex-wrap { overflow: visible; }
  .ex-table thead { display: none; }
  .ex-table, .ex-table tbody { display: block; width: 100%; }
  .ex-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; padding: 12px 0;
    border-bottom: 1px solid var(--border); }
  .ex-table td { display: block; padding: 0; border: 0; text-align: left; }
  .ex-table td:first-child, .ex-table .ex-barcell, .ex-table .ex-mix { grid-column: 1 / -1; }
  .ex-table .ex-barcell { width: auto; min-width: 0; }
  .ex-table tr.ex-total { grid-template-columns: 1fr auto; align-items: center; }
  .ex-table tr.ex-total td:first-child { grid-column: auto; }
  .ex-table tr.ex-total .ex-barcell, .ex-table tr.ex-total td:nth-child(3) { display: none; }
  .ex-table td[data-l]::before { content: attr(data-l); display: block; margin-bottom: 2px; font-family: var(--font-mono);
    font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); }
  .ex-more > summary { min-height: 44px; display: flex; align-items: center; }
  .ex-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ex-pos .ex-mix { order: 5; }
}


.jr-caveat { margin: 0 0 12px; max-width: 74ch; }
.jr-caveat > summary { cursor: pointer; min-height: 28px; }
.vpart-tools .jr-note { flex: 1 1 18rem; }
.vpart-tools .jr-note input { width: 100%; }
.jr-list { list-style: none; margin: 0; padding: 0; }
.jr-row { padding: 12px 0; border-top: 1px solid var(--border); }
.jr-row:first-child { border-top: 0; padding-top: 2px; }
.jr-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.jr-what { min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.jr-date { flex: none; font-size: 12.5px; color: var(--text-secondary); white-space: nowrap; }
.jr-meta { margin: 2px 0 0; }
.jr-since { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.jr-chip { display: flex; flex-direction: column; gap: 1px; min-width: 7.5rem; padding: 8px 12px; border-radius: var(--radius-xs);
  border: 1px solid var(--border); }
.jr-chip .eyebrow { margin: 0; }
.jr-chip b { font-size: 1.15rem; font-weight: 500; }
.jr-more { margin-top: 6px; }
.jr-more > summary { cursor: pointer; min-height: 28px; }
.jr-chart { margin-top: 6px; }
@media (max-width: 640px) {
  .vpart-tools .jr-note { flex: 1 1 100%; }
  .jr-since { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jr-more > summary, .jr-caveat > summary { min-height: 44px; display: flex; align-items: center; }
}


.wl-t { font-weight: 700; color: var(--text-primary); text-decoration: none; width: fit-content; }
.wl-t:hover { text-decoration: underline; }
.wl-t:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 3px; }

.wl-sub { margin: .9rem 0 .25rem .8rem; max-width: none; }
.wl-list + .wl-sub { border-top: 1px solid var(--border); padding-top: .7rem; margin-left: 0; padding-left: .8rem; }
.wl-row.wl-unset { grid-template-columns: minmax(0, 1fr) auto auto; padding-block: .4rem; }
.wl-row.wl-unset .wl-id { flex-direction: row; align-items: baseline; gap: .6rem; }
.wl-row.wl-unset .wl-nums { text-align: right; }
.wl-set { color: var(--text-secondary); }

.wl-thesis { grid-column: 1 / -1; margin: -.45rem 0 0; min-width: 0; overflow-wrap: anywhere; line-height: 1.5; }
.wl-thesis:empty { display: none; }
.wl-thesis .pj-out { min-width: 0; margin-right: .2rem; }
@media (max-width: 760px) { .wl-thesis { margin-top: .1rem; } }
@media (max-width: 760px) {
  .wl-row.wl-unset { grid-template-columns: minmax(0, 1fr) auto; }
  .wl-row.wl-unset .wl-id { flex-direction: column; gap: .1rem; }
  .wl-row.wl-unset .wl-nums { grid-column: 1; grid-row: 2; text-align: left; }
  .wl-row.wl-unset .wl-act { grid-column: 2; grid-row: 1 / span 2; }
}


.calw-card { padding: 14px 18px 14px; margin-bottom: 16px; }
.calw-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 12px; }
.calw-title { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted-on-panel, var(--text-muted)); margin-right: auto; }
.calw-field { display: flex; flex-direction: row; align-items: center; gap: 8px; margin: 0; width: auto; }
.calw-field > span { margin: 0; }
.calw-field select { width: auto; }
.calw-host { min-width: 0; }
.calw { position: relative; }
.calw-base { position: absolute; height: 1px; background: var(--border-strong); }
.calw-week { position: absolute; background: color-mix(in oklab, var(--series-1) 10%, transparent); border-radius: 4px 4px 0 0; }
.calw-tick { position: absolute; transform: translateX(-50%); padding-top: 9px; font-family: var(--font-mono); font-size: 10.5px;
  color: var(--text-secondary); white-space: nowrap; }
.calw-tick::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 6px; background: var(--border-strong); }
.calw-tick.now { transform: none; color: var(--text-primary); }
.calw-tick.now::before { left: 0; }
.calw-other { position: absolute; width: 2px; height: 7px; margin-left: -1px; border-radius: 1px;
  background: color-mix(in oklab, var(--text-muted) 70%, transparent); }
.calw-stem { position: absolute; width: 1px; margin-left: -.5px; background: color-mix(in oklab, var(--series-1) 55%, transparent); }
.calw-dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; box-sizing: border-box; }
.calw-dot.held { background: var(--series-1); box-shadow: 0 0 0 2px var(--panel-solid, var(--surface-2)); }
.calw-dot.watched { background: var(--panel-solid, var(--surface-2)); border: 2px solid var(--series-1); }
.calw-m { position: absolute; height: 24px; padding: 0 8px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; line-height: 22px;
  cursor: pointer; white-space: nowrap; border-radius: var(--radius-pill); color: var(--text-primary); }
.calw-m.held { border: 1px solid color-mix(in oklab, var(--series-1) 60%, transparent);
  background: color-mix(in oklab, var(--series-1) 26%, var(--panel-solid, var(--surface-2))); }
.calw-m.watched { border: 1px dashed color-mix(in oklab, var(--series-1) 70%, transparent); background: var(--panel-solid, var(--surface-2)); }
.calw-m:hover { border-color: var(--text-primary); }
.calw-m:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.calw-key { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; }
.calw-key > span { display: inline-flex; align-items: center; gap: 7px; }
.calw-key .calw-dot, .calw-key .calw-other, .calw-key .calw-week { position: static; margin: 0; }
.calw-key .calw-week { width: 16px; height: 10px; border-radius: 2px; background: color-mix(in oklab, var(--series-1) 22%, transparent); }

@media (max-width: 900px) {
  .bk-lead-top { grid-template-columns: minmax(0, 1fr); }
  .bk-read:first-child { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .bk-lead { padding: 16px 14px 14px; }
  .bk-reads { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .bk-read { border-left: 0; padding: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: baseline; }
  .bk-read .bk-eyebrow { grid-column: 1 / -1; }
  .bk-read b { font-size: 22px; }
  .bk-mix { height: 40px; }
  .bk-seg { padding: 0 4px; }
  .bk-seg span, .bk-seg.w-s > * { display: none; }
  .bk-seg b { font-size: 10.5px; }
  .bk-w { width: 40px; margin-right: 6px; }
  .bk-name { max-width: 16ch; }
  .solo-thesis { min-width: 32ch; }
  .bk-edit > summary { flex-wrap: wrap; row-gap: 0; }
  .bk-edit-hint { display: none; }
  .inc-v { font-size: 9px; }
}


.roster-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 14px; }
.roster-bar #cardsStatus { font-size: 12.5px; }
.roster-bar.is-empty .seg, .roster-bar.is-empty #cardsStatus { display: none; }
.roster-bar #loadCards { margin-left: auto; }
.roster-sum { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 28px;
  align-items: center; padding: 14px 52px 14px 18px; }
.roster-figs { display: grid; grid-template-columns: repeat(4, auto); gap: 0; }
.roster-fig { display: flex; flex-direction: column; gap: 2px; padding: 0 18px; border-left: 1px solid var(--border); min-width: 0; }
.roster-fig:first-child { padding-left: 0; border-left: 0; }
.roster-fig b { font-family: var(--font-mono); font-size: 24px; font-weight: 500; line-height: 1.15;
  color: var(--text-primary); font-variant-numeric: tabular-nums; }
.roster-fig b[data-il-dir="bad"] { color: var(--critical-on-panel, var(--critical)); }
.roster-fig span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted-on-panel, var(--text-muted)); white-space: nowrap; }
.roster-mix { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.roster-mix .partymix { display: flex; flex-wrap: wrap; gap: 6px; }
.roster-missing { margin: 0; text-align: left; line-height: 1.45; }
.roster-sum > .il-info { position: absolute; top: 12px; right: 12px; }

#cardsBody .pcard-id span:not(.pcard-tier) { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; line-clamp: 2; line-height: 1.3; font-size: .74rem; margin-top: 1px; }
#cardsBody .pcard-foot span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
@media (max-width: 900px) {
  .roster-sum { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .roster-bar { margin-bottom: 10px; gap: 6px 10px; }
  .roster-bar #cardsStatus { order: 9; flex-basis: 100%; }
  .roster-sum { padding: 12px 44px 12px 14px; gap: 10px; }
  .roster-figs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .roster-fig { padding: 0 8px; }
  .roster-fig b { font-size: 20px; }
  .roster-fig span { font-size: 9.5px; letter-spacing: .06em; white-space: normal; }
  .roster-sum > .il-info { top: 8px; right: 8px; }
  #cardsBody .deck { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  #cardsBody .pcard[data-tier] { padding: 10px 10px 8px; }
  #cardsBody .pcard-top { gap: 8px; }
  #cardsBody .pcard-ovr b { font-size: 1.5rem; }
  #cardsBody .pcard-ovr i, #cardsBody .pcard-id span.pcard-tier { display: none; }
  #cardsBody .pcard-id b { font-size: .92rem; }
  #cardsBody .pcard-id span:not(.pcard-tier) { font-size: .7rem; }
  #cardsBody .pcard-attrs { gap: 3px 6px; margin: 8px 0 6px; }
  #cardsBody .pattr { gap: 3px; }
  #cardsBody .pattr b { font-size: .84rem; min-width: 1.4em; }
  #cardsBody .pattr span { font-size: .54rem; letter-spacing: .06em; }
  #cardsBody .pcard-foot { font-size: .66rem; }
  #cardsBody .pcard-glyph { font-size: 4.4rem; }
}


.vpart-lead { margin: 0 0 12px; max-width: 74ch; }
.vpart-tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; margin: 0 0 16px; }
.vpart-tools .vt-field { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.vpart-tools .vt-field > .eyebrow { margin: 0; }
.vpart-tools #sizeTicker { width: 8.5rem; text-transform: uppercase; }
.vpart-tools select, .vpart-tools input[type=text] { min-height: 42px; box-sizing: border-box; }
.vpart-tools .vt-sep { align-self: stretch; width: 1px; background: var(--border); }

#synergyBody > .il-grid[data-il-grid] { align-items: stretch; }

.vpart-card { margin: 0 0 18px; }
.vpart-card > .il-panel-head { align-items: center; }
.vpart-card .vpart-eyebrow { margin: 0; }
.vpart-card .vpart-eyebrow::after { content: none; }
.vpart-card > .vpart-lead { margin: 0; }
.vpart-card > .vpart-tools { margin: 14px 0 0; }
.vpart-tools .il-info { align-self: center; margin-left: auto; }


.sz-sum { margin: 0 0 10px; color: var(--text-secondary); }
.sz-table .sz-barcell { width: 32%; min-width: 140px; }
.sz-track { position: relative; display: block; height: 8px; border-radius: 4px;
  background: color-mix(in oklab, var(--text-muted) 16%, transparent); }
.sz-held { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--series-1); }
.sz-mark { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1.5px; border-radius: 2px;
  background: var(--text-primary); }

.sz-table tr.over .sz-held { background: var(--warning); }
.sz-table tr.over .sz-w { color: var(--warning-on-panel, var(--warning)); font-weight: 600; }
.sz-gap { white-space: nowrap; }
.sz-cash { display: block; font-size: 12px; color: var(--text-secondary); }
.sz-act { white-space: nowrap; }
.sz-act .sz-word { display: inline-block; min-width: 9ch; margin-right: 10px; font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }
.sz-table .sz-add .sz-word, .sz-table .sz-trim .sz-word { color: var(--text-primary); }
.sz-co { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.sz-co:hover b { text-decoration: underline; }
.sz-co:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sz-breach-h { margin: 14px 0 6px; color: var(--warning-on-panel, var(--warning)); }

@media (max-width: 640px) {
  .vpart-tools .vt-sep { display: none; }
  .vpart-tools .vt-field { flex: 1 1 9rem; }
  .vpart-tools select, .vpart-tools input, .vpart-tools .btn { min-height: 44px; }
  .vpart-tools #sizeTicker { width: 100%; }
  
  .sz-wrap { overflow: visible; }
  .sz-table thead { display: none; }
  .sz-table, .sz-table tbody { display: block; width: 100%; }
  .sz-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; padding: 12px 0;
    border-bottom: 1px solid var(--border); }
  .sz-table td { display: block; padding: 0; border: 0; text-align: left; }
  .sz-table td:first-child, .sz-table .sz-barcell, .sz-table .sz-act { grid-column: 1 / -1; }
  .sz-table .sz-barcell { width: auto; min-width: 0; }
  .sz-table td[data-l]::before { content: attr(data-l); display: block; margin-bottom: 2px; font-family: var(--font-mono);
    font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); }
  .sz-table .sz-act { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .sz-table .sz-act .btn { min-height: 44px; }
}
.sz-why { display: block; margin-top: 2px; font-family: var(--font); font-size: 12px; letter-spacing: 0;
  text-transform: none; color: var(--text-secondary); white-space: normal; }


.hc-sizes { margin-top: -4px; }
.hc-table td { vertical-align: top; }
.hc-table .hc-co { width: 26%; }
.hc-table .hc-exits { min-width: 11rem; }
.hc-toggle { display: flex; align-items: flex-start; gap: 10px; width: 100%; min-height: 44px; padding: 4px 0; background: none;
  border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.hc-toggle:hover .hc-name b { text-decoration: underline; }
.hc-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: 6px; }
.hc-name { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.hc-state { flex: none; min-width: 9ch; margin-top: 2px; padding: 2px 7px; border-radius: 999px; font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; text-align: center;
  border: 1px solid color-mix(in oklab, currentColor 40%, transparent); }
.hc-state[data-status="checked"] { color: var(--good-on-panel, var(--good)); }
.hc-state[data-status="open"] { color: var(--warning-on-panel, var(--warning)); }
.hc-state[data-status="fired"] { color: var(--critical-on-panel, var(--critical));
  background: color-mix(in oklab, var(--critical) 12%, transparent); }
.hc-chev { flex: none; width: 8px; height: 8px; margin: 8px 2px 0 0; border-right: 1.5px solid var(--text-secondary);
  border-bottom: 1.5px solid var(--text-secondary); transform: rotate(45deg); }
.hc-toggle[aria-expanded="true"] .hc-chev { transform: rotate(225deg); margin-top: 12px; }
.hc-table .sz-barcell { width: 16%; min-width: 100px; padding-top: 16px; }
.hc-table .hc-exits, .hc-table .hc-pm, .hc-table .hc-size { white-space: normal; }
.hc-size { min-width: 13rem; }
.hc-size .sz-why { max-width: 30ch; margin-left: auto; }
.hc-fired { color: var(--critical-on-panel, var(--critical)); font-weight: 600; }
.hc-fired[data-sev="warn"] { color: var(--warning-on-panel, var(--warning)); }
.hc-table tr[data-over] .sz-held { background: var(--warning); }
.hc-detail > td { padding: 4px 0 18px; border-top: 0; text-align: left; white-space: normal; }
.hc-dgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hc-dblock { min-width: 0; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: color-mix(in oklab, var(--text-muted) 6%, transparent); }
.hc-dblock > .eyebrow { margin: 0 0 6px; }
.hc-dblock p { margin: 0 0 8px; max-width: 60ch; }
.hc-steps { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 8px; }
.hc-steps div { display: flex; flex-direction: column; }
.hc-steps dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-secondary); }
.hc-steps dd { margin: 0; }
.hc-fire { margin: 0 0 10px; padding-left: 10px; border-left: 2px solid var(--critical); }
.hc-fire[data-sev="warn"] { border-left-color: var(--warning); }
.hc-fire b { color: var(--critical-on-panel, var(--critical)); }
.hc-fire[data-sev="warn"] b { color: var(--warning-on-panel, var(--warning)); }
.hc-fire p { margin: 2px 0 0; }
.hc-rules { margin: 0 0 8px; padding-left: 1.1rem; }
.hc-rules li { margin: 0 0 3px; }
.hc-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--critical-on-panel, var(--critical)); }
.hc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.hc-book { max-width: none; margin: 14px 0 0; padding-top: 10px; border-top: 1px solid var(--border); color: var(--text-secondary); }
.hc-book .eyebrow { margin-right: 8px; }
.hc-unread { margin: 10px 0 0; }
.hc-fold { margin: 14px 0 0; border-top: 1px solid var(--border); }
.hc-fold > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-height: 44px; padding: 12px 0 8px;
  cursor: pointer; list-style: none; }
.hc-fold > summary::-webkit-details-marker { display: none; }
.hc-fold > summary::before { content: ""; align-self: center; width: 7px; height: 7px; margin-right: 2px;
  border-right: 1.5px solid var(--text-secondary); border-bottom: 1.5px solid var(--text-secondary); transform: rotate(-45deg); }
.hc-fold[open] > summary::before { transform: rotate(45deg); }
.hc-fold > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: 6px; }
.hc-fold > summary .eyebrow { margin: 0; color: var(--text-primary); }
.hc-hint { margin: 0 0 8px; }
.hc-new { flex-wrap: wrap; gap: 8px; margin-top: .7rem; }
.hc-new input { max-width: 8rem; text-transform: uppercase; }
@media (max-width: 900px) {
  .hc-dgrid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hc-table .hc-co { width: auto; }
  .hc-table td[data-l]::before { margin-bottom: 2px; }
  .hc-table .hc-size, .hc-table .hc-exits, .hc-table .hc-pm { grid-column: span 1; }
  
  .hc-table .hc-size, .hc-table .hc-exits, .hc-table .hc-pm { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
  .hc-table .hc-exits *, .hc-table .hc-pm * { white-space: normal; }
  .hc-table .hc-size .sz-why { max-width: none; }
  .hc-table .sz-barcell { padding-top: 0; }
  .sz-table tr.hc-detail { display: block; padding: 0 0 12px; }
  .sz-table tr.hc-detail[hidden] { display: none; }
  .hc-detail > td { padding: 0; }
  .hc-acts .btn, .hc-new .btn, .hc-new input { min-height: 44px; }
  .hc-new input { max-width: none; flex: 1 1 6rem; }
}


#sellBody .rr-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
#sellBody .rr-act { margin-left: auto; }
#sellBody .sr-why { margin: 4px 0 10px; }
#sellBody .rrlist + .rrlist { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
@media (max-width: 640px) {
  #sellBody .rr-head .btn, #sellBody .row .btn, #sellBody input { min-height: 44px; }
}
