

#view-themes .vh, #view-sectors .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }


#view-themes .th-bar { display: flex; align-items: flex-start; gap: 10px 14px; margin: 0 0 14px; }
#view-themes .th-bar[hidden] { display: none; }
#view-themes .th-tabs { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 auto; min-width: 0; }
#view-themes .th-tab { font: inherit; font-size: 13px; line-height: 1.2; min-height: 32px; padding: 4px 12px; cursor: pointer;
  border-radius: var(--radius-pill); border: 1px solid var(--border); background: color-mix(in oklab, var(--surface-1) 55%, transparent);
  color: var(--text-secondary); }
#view-themes .th-tab:hover { color: var(--text-primary); border-color: var(--border-strong); }

#view-themes .th-tab[aria-pressed="true"] { color: color-mix(in oklab, var(--brand) 84%, var(--text-primary)); border-color: var(--brand); font-weight: 600;
  background: color-mix(in oklab, var(--brand) 9%, var(--surface-1)); cursor: default; }
#view-themes .th-tab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
#view-themes .th-tab-own { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); margin-left: 4px; }
#view-themes .th-pick { display: none; }
#view-themes .th-bar-end { display: flex; align-items: center; gap: 8px; flex: none; min-height: 32px; }
#view-themes .th-bar-end .btn[disabled] { opacity: .55; cursor: default; }


#view-themes .th-quiet { margin: 0 2px 16px; font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); max-width: 75ch; }
#view-themes .th-quiet b { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted); margin-right: 4px; }
#view-themes .th-wait-line { display: inline-block; width: min(26ch, 70%); margin: 0; vertical-align: middle; }


#view-themes .th-brief { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 8px 44px; align-items: start; }
#view-themes .th-desc { margin: 0 0 14px; font-size: 15.5px; line-height: 1.45; color: var(--text-primary); max-width: 52ch; }
#view-themes .th-eyebrow { margin: 0 0 6px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted); }
#view-themes .th-thesis { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--text-secondary); max-width: 62ch; }
#view-themes .th-weights { list-style: none; margin: 0; padding: 0; }
#view-themes .th-w { display: grid; grid-template-columns: minmax(0, 1fr) minmax(70px, 34%) 4ch; column-gap: 12px; align-items: center;
  padding: 6px 0; border-top: 1px solid var(--border); }
#view-themes .th-w:first-child { border-top: 0; padding-top: 2px; }
#view-themes .th-w-l { font-size: 13px; line-height: 1.3; color: var(--text-primary); min-width: 0; }
#view-themes .th-w-l small { display: block; font-size: 11.5px; color: var(--text-muted); }
#view-themes .th-w-b { display: block; height: 8px; border-radius: 4px; overflow: hidden;
  background: color-mix(in oklab, var(--text-muted) 16%, transparent); }
#view-themes .th-w-b > i { display: block; height: 100%; border-radius: 4px; background: var(--series-1); }
#view-themes .th-w-v { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--text-primary);
  font-variant-numeric: tabular-nums; text-align: right; }
#view-themes .th-caveat { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-muted); max-width: 62ch; }
#view-themes .th-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); max-width: 75ch; }
#view-themes .th-note.th-note-lead { margin: 0 0 12px; }
#view-themes .th-note .th-hard { margin: 0 2px 0 0; }
#view-themes .th-field tr.th-pending .th-t { color: var(--text-secondary); }


#view-themes .th-field { font-size: 13px; }
#view-themes .th-field thead th { white-space: normal; line-height: 1.25; vertical-align: bottom; padding: 8px 7px; }
#view-themes .th-field td { padding: 9px 7px; vertical-align: middle; }
#view-themes .th-field td.th-rank { font-family: var(--font-mono); font-weight: 600; color: var(--text-secondary);
  font-variant-numeric: tabular-nums; width: 2.4em; }
#view-themes .th-field td.th-co { white-space: normal; width: 100%; max-width: 0; }
#view-themes .th-co1 { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
#view-themes .th-t { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--text-primary); flex: none; }
#view-themes button.th-t { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline;
  text-decoration-color: color-mix(in oklab, var(--brand) 60%, transparent); text-underline-offset: 3px; }
#view-themes button.th-t:hover { color: var(--brand); }
#view-themes button.th-t:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
#view-themes .th-hard { color: var(--text-muted); font-size: 11px; margin-left: -3px; flex: none; }
#view-themes .th-n { color: var(--text-secondary); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#view-themes .th-role { display: block; font-size: 12px; line-height: 1.35; color: var(--text-muted); margin-top: 1px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#view-themes .th-field td.th-f, #view-themes .th-field td.th-score { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
#view-themes .th-field td.th-f { color: var(--text-primary); }
#view-themes .th-exp { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
#view-themes .th-pips { display: inline-flex; gap: 2px; }
#view-themes .th-pips i { display: block; width: 6px; height: 11px; border-radius: 1.5px;
  background: color-mix(in oklab, var(--text-muted) 26%, transparent); }
#view-themes .th-pips i.on { background: var(--series-1); }
#view-themes .th-exp-w { font-size: 12px; color: var(--text-secondary); }
#view-themes .th-field .verdict { font-size: 11.5px; padding: 3px 9px; white-space: nowrap; }
#view-themes .th-field td.th-err { color: var(--text-muted); font-size: 12px; white-space: normal; font-family: var(--font); }
#view-themes .th-field tr.th-dead .th-t { color: var(--text-secondary); }
#view-themes .th-all { display: none; }


#view-themes .themeheat thead th.th-dim { white-space: normal; text-align: center; line-height: 1.25; vertical-align: bottom; padding: 8px 6px; }
#view-themes .themeheat th.th-dim small { display: block; }
#view-themes .themeheat tbody td:first-child { width: 30%; max-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#view-themes .themeheat tbody td:first-child b { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; }
#view-themes .themeheat td.th-cell { font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  #view-themes .th-brief { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
}
@media (max-width: 700px) {
  #view-themes .th-bar { align-items: flex-end; }
  #view-themes .th-tabs { display: none; }
  #view-themes .th-pick { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; min-width: 0; }
  #view-themes .th-pick-l { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
  #view-themes .th-pick select { width: 100%; min-height: 44px; }
  #view-themes .th-bar-end { min-height: 44px; }
  #view-themes .th-bar-end .btn { min-height: 44px; }

  
  #view-themes .th-wrap { overflow: visible; }
  #view-themes .th-field, #view-themes .th-field tbody { display: block; }
  #view-themes .th-field thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #view-themes .th-field tbody tr { display: grid; grid-template-columns: 24px repeat(5, minmax(0, 1fr)); gap: 7px 6px;
    align-items: center; padding: 12px 0; border-top: 1px solid var(--border); border-left: 0; }
  #view-themes .th-field tbody tr:first-child { border-top: 0; }
  #view-themes .th-field tbody td { display: block; padding: 0; border: 0; width: auto; max-width: none; }
  #view-themes .th-field td.th-rank { grid-column: 1; grid-row: 1; align-self: start; width: auto; }
  #view-themes .th-field td.th-co { grid-column: 2 / 6; grid-row: 1; min-width: 0; width: auto; max-width: none; }
  #view-themes .th-field td.th-score { grid-column: 6; grid-row: 1; justify-self: end; align-self: start; }
  #view-themes .th-field td.th-x { grid-column: 2 / 4; grid-row: 2; }
  #view-themes .th-field td.th-v { grid-column: 4 / 7; grid-row: 2; justify-self: end; }
  #view-themes .th-field td.th-f { grid-row: 3; text-align: left; font-size: 12.5px; }
  #view-themes .th-field td.th-f:nth-child(5) { grid-column: 2; }
  #view-themes .th-field td.th-f:nth-child(6) { grid-column: 3; }
  #view-themes .th-field td.th-f:nth-child(7) { grid-column: 4; }
  #view-themes .th-field td.th-f:nth-child(8) { grid-column: 5; }
  #view-themes .th-field td.th-f:nth-child(9) { grid-column: 6; }
  #view-themes .th-field td.th-f::before { content: attr(data-l); display: block; font-size: 9px; line-height: 1.5;
    text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
  #view-themes .th-field td.th-err { grid-column: 2 / 7; grid-row: 3; }
  #view-themes .th-role { white-space: normal; }
  #view-themes .th-field:not([data-all]) tbody tr.th-late { display: none; }
  #view-themes .th-all:not([hidden]) { display: inline-flex; margin-top: 12px; min-height: 44px; align-items: center; }

  
  #view-themes .themeheat thead th.th-dim { padding: 6px 1px; }
  #view-themes .themeheat .th-hl { display: inline-block; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
  #view-themes .themeheat th.th-dim small { font-size: 9px; margin-top: 3px; }
  #view-themes .themeheat td.th-cell { min-width: 0; padding: 7px 2px; font-size: 12px; }
  #view-themes .themeheat tbody td { padding: 7px 3px; }
  #view-themes .themeheat tbody td:first-child { width: 24%; padding-left: 0; }
  #view-themes .themeheat tbody td:first-child b { font-size: 11px; }
  #view-themes .themeheat .chip { min-width: 2.1rem; padding-left: .3rem; padding-right: .3rem; }
}



#view-sectors .sc-bar { margin: 0 2px 16px; }
#view-sectors .sc-bar .row { align-items: flex-end; gap: 10px 12px; }
#view-sectors .sc-bar .il-info { align-self: center; }
#view-sectors .sc-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); max-width: 80ch; }
#view-sectors .sc-key { margin: 0 0 8px; font-size: 12.5px; color: var(--text-secondary); }
#view-sectors .sc-key b { font-weight: 600; color: var(--text-primary); }
#view-sectors .sc-all { display: none; }


#view-sectors .sc-groups { font-size: 12.5px; }
#view-sectors .sc-groups thead th { white-space: normal; line-height: 1.25; vertical-align: bottom; padding: 8px 6px; }
#view-sectors .sc-groups td { padding: 8px 6px; vertical-align: middle; }
#view-sectors .sc-groups td.sc-g { white-space: normal; width: 100%; max-width: 0; line-height: 1.3; }
#view-sectors .sc-name { font: inherit; font-weight: 600; color: var(--text-primary); background: none; border: 0; padding: 0;
  cursor: pointer; text-align: left; white-space: normal; }
#view-sectors .sc-name:hover { color: var(--brand); }
#view-sectors .sc-name:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
#view-sectors .sc-n { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); white-space: nowrap; }

#view-sectors a.sc-open { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 35%, transparent);
  text-underline-offset: 2px; }
#view-sectors a.sc-open:hover { text-decoration-color: var(--brand); }
#view-sectors .sc-screen { background: none; border: 0; padding: 0; cursor: pointer; }
#view-sectors .sc-screen:hover { color: var(--brand); }
#view-sectors .sc-screen:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
#view-sectors .sc-s { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
#view-sectors .sc-track { position: relative; display: block; width: 72px; height: 8px; border-radius: 4px;
  background: color-mix(in oklab, var(--text-muted) 16%, transparent); }
#view-sectors .sc-track > i { display: block; height: 100%; border-radius: 4px; background: var(--series-1); }
#view-sectors .sc-track > u { position: absolute; left: 70%; top: -3px; bottom: -3px; width: 1.5px; background: var(--text-secondary); }
#view-sectors .sc-groups td.sc-f { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text-primary); }
#view-sectors .sc-groups td.sc-pick { white-space: nowrap; }
#view-sectors .sc-pick b { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--text-primary); }
#view-sectors .sc-pick span { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); }


#view-sectors .sc-bench { font-size: 12.5px; }
#view-sectors .sc-bench thead th { white-space: normal; line-height: 1.25; vertical-align: bottom; padding: 8px 8px; }
#view-sectors .sc-bench td { padding: 8px 6px; vertical-align: middle; }
#view-sectors .sc-bench td.sc-b-g { white-space: normal; width: 100%; max-width: 0; line-height: 1.3; }
#view-sectors .sc-b-g b { display: block; font-weight: 600; color: var(--text-primary); }
#view-sectors .sc-b-meta { display: block; font-size: 11.5px; color: var(--text-muted); }
#view-sectors .sc-thin { color: var(--warning); }
#view-sectors .sc-bench td.sc-b-c { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
#view-sectors .sc-b-3 { display: inline-grid; grid-template-columns: 5.5ch 7.4ch 6ch; column-gap: 4px; align-items: baseline; text-align: right; }
#view-sectors .sc-b-3 b { font-weight: 600; color: var(--text-primary); }
#view-sectors .sc-b-vs { font-family: var(--font); font-size: 12px; color: var(--text-muted); }
#view-sectors .sc-b-3 .bmk-gap { font-family: var(--font-mono); font-weight: 600; }

@media (max-width: 1100px) {
  
  #view-sectors .sc-b-3 { grid-template-columns: 5.5ch 7.4ch; }
  #view-sectors .sc-b-3 .bmk-gap { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  #view-sectors .sc-wrap { overflow: visible; }
  #view-sectors .sc-groups, #view-sectors .sc-groups tbody, #view-sectors .sc-bench, #view-sectors .sc-bench tbody { display: block; }
  #view-sectors .sc-groups thead, #view-sectors .sc-bench thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #view-sectors .sc-groups tbody tr, #view-sectors .sc-bench tbody tr { display: grid; gap: 8px 8px; padding: 12px 0;
    border-top: 1px solid var(--border); border-left: 0; }
  #view-sectors .sc-groups tbody tr:first-child, #view-sectors .sc-bench tbody tr:first-child { border-top: 0; }
  #view-sectors .sc-groups tbody td, #view-sectors .sc-bench tbody td { display: block; padding: 0; border: 0; }
  #view-sectors .sc-groups:not([data-all]) tbody tr.sc-late, #view-sectors .sc-bench:not([data-all]) tbody tr.sc-late { display: none; }
  #view-sectors .sc-all:not([hidden]) { display: inline-flex; margin-top: 12px; min-height: 44px; align-items: center; }

  
  #view-sectors .sc-groups tbody tr { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  #view-sectors .sc-groups td.sc-g { grid-column: 1 / 3; width: auto; max-width: none; font-size: 13.5px; }
  #view-sectors .sc-screen { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; vertical-align: middle; }
  #view-sectors .sc-groups td.sc-score { justify-self: end; }
  #view-sectors .sc-track { width: 44px; }
  #view-sectors .sc-groups td.sc-f, #view-sectors .sc-groups td.sc-pick { text-align: left; }
  #view-sectors .sc-groups td[data-l]::before, #view-sectors .sc-bench td[data-l]::before { content: attr(data-l); display: block;
    font-family: var(--font-mono); font-size: 9px; font-weight: 400; line-height: 1.5; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }

  
  #view-sectors .sc-bench tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #view-sectors .sc-bench td.sc-b-g { grid-column: 1 / -1; width: auto; max-width: none; font-size: 13.5px; }
  #view-sectors .sc-bench td.sc-b-c { text-align: left; }
  #view-sectors .sc-bench td.sc-b-none { display: none; }
  #view-sectors .sc-b-3 { text-align: left; grid-template-columns: auto auto; justify-content: start; column-gap: 6px; }
}


#view-flows [hidden] { display: none; }
#view-flows .fl-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; min-width: 0; }
#view-flows .fl-tab { font: inherit; font-size: 13px; line-height: 1.2; min-height: 32px; padding: 4px 12px; cursor: pointer;
  border-radius: var(--radius-pill); border: 1px solid var(--border); background: color-mix(in oklab, var(--surface-1) 55%, transparent);
  color: var(--text-secondary); }
#view-flows .fl-tab:hover { color: var(--text-primary); border-color: var(--border-strong); }

#view-flows .fl-tab[aria-pressed="true"] { color: color-mix(in oklab, var(--brand) 84%, var(--text-primary)); border-color: var(--brand); font-weight: 600;
  background: color-mix(in oklab, var(--brand) 9%, var(--surface-1)); cursor: default; }
#view-flows .fl-tab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
#view-flows .fl-sk-tab { display: inline-block; width: 84px; height: 32px; border-radius: var(--radius-pill); }


#view-flows .fl-ledger { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; padding: 14px 18px; margin-bottom: 8px; }
#view-flows .fl-fig { padding: 2px 16px; border-left: 1px solid var(--border); min-width: 0; }
#view-flows .fl-fig:first-child { border-left: 0; padding-left: 0; }
#view-flows .fl-fig-l { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
#view-flows .fl-fig-v { font-family: var(--font-mono); font-size: 30px; font-weight: 500; line-height: 1.2; color: var(--text-primary);
  font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#view-flows .fl-fig-n { font-size: 12.5px; color: var(--text-secondary); line-height: 1.35; min-width: 0; }
#view-flows .fl-ret { display: block; font-family: var(--font-mono); font-size: 15px; font-variant-numeric: tabular-nums; }
#view-flows .fl-nm { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#view-flows .fl-sk { display: block; width: 5ch; height: 22px; margin: 5px 0; }
#view-flows .fl-quiet { margin: 0 2px 16px; font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); max-width: 75ch; }


#etfTable td.num, #etfTable th:not(.left) { text-align: right; font-variant-numeric: tabular-nums; }
#etfTable td.num { font-family: var(--font-mono); }
#etfTable .etf-fund { max-width: 14rem; }
#etfTable .etf-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


#view-flows .fl-input { margin: 4px 0 0; max-width: 46rem; }
#view-flows .fl-input .field { margin: 0 0 6px; }
#view-flows .fl-input-row { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
#view-flows .fl-input-row input { flex: 1 1 280px; min-width: 0; }
#view-flows .fl-fold { margin: .8rem 0 0; font-size: 13px; color: var(--text-secondary); }
#view-flows .fl-fold summary { cursor: pointer; color: var(--text-primary); }
#view-flows .fl-fold summary:focus-visible, #view-flows .fl-note summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
#view-flows .fl-fold p { margin: .5rem 0 0; max-width: 72ch; }

#view-flows .fl-note { margin: 1.2rem 0 0; padding: .1rem 0 .1rem .9rem; max-width: 72ch;
  border-left: 2px solid var(--brand); color: var(--text-secondary); font-size: 13px; }
#view-flows .fl-note summary { cursor: pointer; }
#view-flows .fl-note b { color: var(--text-primary); }
#view-flows .fl-note p { margin: .5rem 0 0; }

@media (max-width: 900px) {
  #view-flows .fl-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; padding: 14px 16px; }
  #view-flows .fl-fig:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 600px) {
  #view-flows .fl-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  #view-flows .fl-tab { min-height: 44px; padding: 4px 14px; flex: 0 0 auto; white-space: nowrap; }
  #view-flows .fl-sk-tab { height: 44px; flex: 0 0 auto; }
  #view-flows .fl-fig-v { font-size: 24px; }
  #etfTable .fl-opt { display: none; }
  #etfTable .etf-fund { max-width: 11rem; }
  #view-flows .fl-input-row .btn { min-height: 44px; }
}


#view-expectations .ex-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 12px 2px 18px; }
#view-expectations .ex-strip[hidden], #view-expectations .ex-strip [hidden] { display: none; }
#view-expectations .ex-strip .small { line-height: 1.5; }


@media (max-width: 599.98px) {
  #view-expectations .sc-opt { display: none; }
  #view-expectations td.sc-co, #part-gate td.sc-co { white-space: normal; text-align: left; min-width: 0; }
  #view-expectations th.sc-coh, #part-gate th.sc-coh { text-align: left; }
  #view-expectations .sc-co b, #part-gate .sc-co b { display: block; font-family: var(--font-mono); font-weight: 600; font-size: 12.5px; }
  #view-expectations .sc-co .small, #part-gate .sc-co .small { display: -webkit-box; -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; line-height: 1.3; }
}


#part-changes .ch-list { display: grid; gap: 6px; }
#part-changes .ch-line { align-items: flex-start; color: inherit; text-decoration: none; }
#part-changes .ch-main { flex: 1 1 auto; min-width: 0; display: grid; gap: 3px; }
#part-changes .ch-side { flex: none; text-align: right; }
#part-changes .ch-kinds { display: flex; flex-wrap: wrap; gap: 4px; }
#part-changes .ch-tag { font-family: var(--font-mono); font-size: 11px; line-height: 1.5; padding: 0 7px;
  border: 1px solid var(--border); border-radius: var(--radius-pill); color: var(--text-secondary); }
#part-changes .ch-model { border-style: dashed; }
#part-changes .ch-note { margin: 0 0 8px; max-width: 72ch; }
#part-changes .ch-summary { margin: 0 0 10px; max-width: 72ch; line-height: 1.5; }


.th-build-note { margin: 0 0 14px; max-width: 72ch; line-height: 1.6; }
.th-build-head { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0 16px; }
.th-build-rows { font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; min-height: 9rem; resize: vertical; }
.th-build-rows::placeholder { font-family: var(--font-mono); }
.th-build-count { margin: -4px 0 8px; min-height: 1.4em; }
.th-build-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 6px; }
.th-build-actions .small { min-width: 0; }
@media (max-width: 640px) {
  .th-build-head { grid-template-columns: minmax(0, 1fr); }
  .th-build-actions .btn { min-height: 44px; }
}

details.doc.th-build, details.doc.th-build[open] { border-bottom: 0; padding-bottom: 0; }


#industryBody .chip-lede { margin: 0 0 14px; max-width: 75ch; line-height: 1.5; }
#industryBody .chip-board { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
#industryBody .chip-cell { min-width: 0; gap: 4px; padding-top: 2px; }
#industryBody .chip-label { line-height: 1.35; color: var(--text-secondary); min-height: 5.5em; }
#industryBody .chip-val { font-family: var(--font-mono); font-size: 22px; font-weight: 600; line-height: 1.1;
  color: var(--text-primary); font-variant-numeric: tabular-nums; }
#industryBody .chip-chg { color: var(--text-secondary); font-variant-numeric: tabular-nums; }
#industryBody .chip-spark { display: block; width: 100%; height: 30px; margin: 4px 0 2px; }
#industryBody .chip-date { font-size: 11px; }
#industryBody .chip-src { font-size: 11px; line-height: 1.4; margin-top: 2px; }
#industryBody .chip-gone { line-height: 1.4; }
#industryBody .chip-sub { margin: 22px 0 6px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  font-family: var(--font-mono); font-weight: 500; color: var(--text-muted); }
#industryBody .chip-rows { list-style: none; margin: 0; padding: 0; }
#industryBody .chip-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 6px 16px; align-items: center; padding: 9px 0; border-top: 1px solid var(--grid); }
#industryBody .chip-row:first-child { border-top: 0; }
#industryBody .chip-row > div { min-width: 0; }
#industryBody .chip-fig { font-size: 15px; font-weight: 600; color: var(--text-primary); font-variant-numeric: tabular-nums; }
#industryBody .chip-who { text-decoration: none; }
#industryBody .chip-who:hover b { text-decoration: underline; }
#industryBody .chip-c2 { display: flex; flex-direction: column; gap: 4px; }
#industryBody .chip-track { position: relative; display: block; height: 4px; border-radius: 2px;
  background: color-mix(in oklab, var(--series-1) 18%, transparent); }
#industryBody .chip-track i { position: absolute; top: -3px; width: 2px; height: 10px; margin-left: -1px;
  border-radius: 1px; background: var(--series-1); }
@media (max-width: 1100px) {
  #industryBody .chip-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  #industryBody .chip-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #industryBody .chip-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 12px 0; }
  #industryBody .chip-c0 { grid-column: 1 / -1; }
  #industryBody .chip-c2 { grid-column: 1 / -1; order: 3; }
  #industryBody .chip-who { display: inline-block; min-height: 24px; }
}
.chip-link { margin: .5rem 0 0; }
