.re-host {
  /* Action swatches sampled from the GTO Wizard solution chart, 24 Sep 2026. */
  --re-action-fold: #3d7cb8;
  --re-action-call: #5ab966;
  --re-action-raise: #f03c3c;
  --re-action-jam: #7d1f1f;
  --re-action-composite: #69717b;
  --re-action-other: #343b43;
  --re-open: var(--re-action-raise);
  --re-fold: var(--re-action-fold);
  --re-accent: #efba62;
}
.re-workspace { width: 100%; }
.re-seat-range-popover.re-band-popover { width: min(370px, calc(100% - 24px)); }
.re-band-brushes { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 7px; }
.re-band-brushes button { flex: 1 1 29%; min-height: 36px; padding: 5px; border: 2px solid transparent; font-size: .68rem; font-weight: 750; }
.re-band-brushes button.active { border-color: #fff; box-shadow: 0 0 0 1px #0b1510; }
.re-band-help { margin: 4px 0 8px; font-size: .65rem; color: var(--muted); }
.re-band-cell[data-frequency-band], .re-band-brushes [data-frequency-band] { background: var(--band-color); color: var(--band-text, #fff); }
[data-frequency-band="0"] { --band-color: #263239; }
[data-frequency-band="25"] { --band-color: #3e506d; }
[data-frequency-band="50"] { --band-color: #625284; }
[data-frequency-band="75"] { --band-color: #95658e; }
[data-frequency-band="100"] { --band-color: #dfbcea; --band-text: #201326; }
.re-band-cell .re-cell-frequency { color: inherit; font-size: clamp(.35rem, .7vw, .54rem); white-space: nowrap; }
.re-band-popover .re-mini-range .re-cell-hand { font-size: .64rem; }
.re-band-popover .re-mini-range .re-cell { min-height: 24px; }
.re-band-ev { border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin: 12px 0; }
.re-band-ev p { margin-bottom: 0; color: var(--muted); font-size: .8rem; }
.re-question-workspace { max-width: 980px; margin: 0 auto; }
.re-question-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; justify-content: space-between; margin-bottom: 12px; }
.re-solution-links { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; }
.re-solution-links a { color: var(--green); font-size: .72rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.re-solution-links a:hover, .re-solution-links a:focus-visible { color: #b5f1c9; }
.re-question-top .re-question-progress, .re-topline .re-save-status { margin-left: auto; }
.re-question-progress { display: flex; align-items: center; gap: 10px; }
.re-question-progress > span { color: var(--muted); font-size: .75rem; font-weight: 700; }
.re-question-progress button { min-width: 120px; padding: 8px 12px; }
.re-question-layout { display: grid; grid-template-columns: minmax(170px, 190px) minmax(0, 1fr); align-items: start; gap: 14px; }
.re-observing .re-question-layout { grid-template-columns: minmax(0, 1fr); }
.re-question-layout.re-range-tracker-layout { grid-template-columns: minmax(230px, 250px) minmax(0, 1fr); }
.re-tracker-workspace { max-width: 1180px; }
.re-tracker-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 0 10px; }
.re-tracker-heading .eyebrow { margin: 0 0 3px; font-size: .6rem; }
.re-tracker-heading h2 { margin: 0; font-size: 1.25rem; }
.re-tracker-heading > p { max-width: 440px; margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.4; text-align: right; }
.re-tracker-arena { display: block; }
.re-range-side { display: flex; flex-direction: column; gap: 8px; }
.re-player-range-card { padding: 7px; border: 1px solid #31483a; border-radius: 10px; background: #0c1711; }
.re-player-range-card.is-current { border-color: var(--amber); box-shadow: 0 0 0 1px rgba(239,186,98,.18); }
.re-player-range-card.is-editable { border-color: var(--green); box-shadow: 0 0 0 2px rgba(103,215,154,.16); }
.re-player-range-card > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.re-player-range-card > header div { display: flex; align-items: baseline; gap: 6px; }
.re-player-range-card > header strong { font-size: .72rem; }
.re-player-range-card > header span { color: var(--muted); font-size: .45rem; font-weight: 800; letter-spacing: .08em; }
.re-player-range-card > header em { color: #caddd2; font-size: .58rem; font-style: normal; }
.re-player-range-card:not(.is-editable) .re-cell:disabled { opacity: .82; }
.re-player-range-card.is-current > header span { color: var(--amber); }
.re-player-range-card.is-editable > header span { color: var(--green); }
.re-mini-range { gap: 1px; }
.re-mini-range .re-cell { aspect-ratio: 1 / 1; border-radius: 1px; }
.re-mini-range .re-cell-hand { font-size: clamp(.31rem, .62vw, .47rem); line-height: 1; }
.re-mini-range .re-cell-frequency { margin-top: 0; font-size: clamp(.25rem, .45vw, .36rem); line-height: 1; }
.re-mini-range .re-cell.is-edited::after { border-top-width: 4px; border-left-width: 4px; }
.re-mini-range .re-cell-comparison { font-size: .27rem; }
.re-cell-comparison small { font-size: inherit; line-height: inherit; }
.re-arena-center { position: relative; width: 100%; height: calc(100dvh - 150px); min-height: 500px; max-height: 650px; overflow: hidden; border: 1px solid #314b3b; border-radius: 16px; background: radial-gradient(circle at center, rgba(103,215,154,.05), transparent 68%); }
.re-poker-table-arena { position: absolute; left: 50%; top: 50%; width: min(760px, calc(100% - 30px)); height: min(460px, calc(100% - 36px)); margin: 0; transform: translate(-50%,-50%); }
.re-poker-table-arena .re-table-seat { width: 92px; padding: 6px 7px; }
.re-poker-table-arena .re-seat-name strong { font-size: .66rem; }
.re-poker-table-arena .re-table-seat > span:not(.re-seat-name), .re-poker-table-arena .re-table-seat small { font-size: .52rem; }
.re-poker-table-arena .re-table-felt { inset: 19% 16%; }
.re-seat-range-popover { position: absolute; z-index: 8; width: min(245px, 30%); padding: 9px; border: 1px solid #54735f; border-radius: 12px; background: rgba(8,20,13,.97); box-shadow: 0 18px 45px rgba(0,0,0,.52); }
.re-seat-range-popover.is-current { border-color: var(--amber); }
.re-seat-range-popover.is-editable { border-color: var(--green); box-shadow: 0 0 0 2px rgba(103,215,154,.17), 0 18px 45px rgba(0,0,0,.52); }
.re-seat-range-popover.has-answer { width: min(360px, calc(100% - 24px)); padding: 12px; }
.re-seat-range-popover.has-answer > header strong { font-size: .78rem; }
.re-seat-range-popover.has-answer > header span { color: var(--green); font-size: .55rem; }
.re-seat-range-popover.has-answer .re-mini-range { container-type: inline-size; gap: 2px; }
.re-seat-range-popover.has-answer .re-mini-range .re-cell { min-height: 22px; border-radius: 2px; }
.re-seat-range-popover.has-answer .re-mini-range .re-cell-hand { flex: none; font-size: clamp(.45rem, 2.8cqw, .62rem); white-space: nowrap; }
.re-seat-range-popover.has-answer .re-mini-range .re-cell-comparison { flex: none; font-size: clamp(.34rem, 2.1cqw, .48rem); line-height: 1.05; white-space: nowrap; }
.re-seat-range-popover.has-answer .re-mini-range .re-cell.is-category-answered { cursor: pointer; }
.re-seat-range-popover > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.re-seat-range-popover > header div { display: flex; min-width: 0; flex-direction: column; }
.re-seat-range-popover > header strong { overflow: hidden; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.re-seat-range-popover > header span { color: var(--muted); font-size: .48rem; font-weight: 850; letter-spacing: .09em; }
.re-seat-range-popover > header em { flex: none; color: var(--text); font-size: .65rem; font-style: normal; }
.re-seat-range-popover .re-mini-range { gap: 1px; }
.re-seat-range-popover footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; margin-top: 7px; padding-top: 7px; border-top: 1px solid var(--line); }
.re-seat-range-popover footer > div:first-child { display: flex; flex-direction: column; min-width: 0; }
.re-seat-range-popover footer span { color: var(--green); font-size: .58rem; font-weight: 850; }
.re-seat-range-popover footer strong { font-size: .64rem; }
.re-seat-range-popover footer small { overflow: hidden; color: var(--muted); font-size: .49rem; text-overflow: ellipsis; white-space: nowrap; }
.re-seat-range-popover footer small b { font: inherit; }
.re-seat-range-popover footer > div:last-child { display: flex; gap: 4px; flex: none; }
.re-seat-range-popover footer button { padding: 5px 7px; font-size: .55rem; }
.re-seat-range-popover.has-answer footer { min-height: 45px; }
.re-seat-range-popover.has-answer .re-answer-inspector span { font-size: .72rem; }
.re-seat-range-popover.has-answer .re-answer-inspector strong { font-size: .76rem; }
.re-seat-range-popover.has-answer .re-answer-inspector small { overflow: visible; font-size: .61rem; text-overflow: clip; white-space: normal; }
.re-popover-utg { left: 2%; top: 2%; }
.re-popover-hj { right: 2%; top: 2%; }
.re-popover-co { right: 1%; top: 50%; transform: translateY(-50%); }
.re-popover-btn { right: 2%; bottom: 2%; }
.re-popover-sb { left: 2%; bottom: 2%; }
.re-popover-bb { left: 1%; top: 50%; transform: translateY(-50%); }
.re-arena-state { position: absolute; z-index: 6; left: 50%; bottom: 10px; width: max-content; max-width: 330px; margin: 0; padding: 8px 11px; border: 1px solid #4e765a; border-radius: 9px; background: rgba(7,19,12,.92); text-align: center; transform: translateX(-50%); }
.re-arena-state span, .re-arena-state strong { display: block; }
.re-arena-state span { color: var(--green); font-size: .53rem; font-weight: 850; letter-spacing: .1em; }
.re-arena-state strong { margin-top: 3px; color: var(--muted); font-size: .62rem; line-height: 1.3; }
.re-arena-state.is-pending span { color: var(--amber); }
.re-question-main { min-width: 0; }
.re-situation { position: sticky; top: 12px; padding: 13px; border: 1px solid #3e604a; border-radius: 14px; background: linear-gradient(150deg, #162b20, #0e1b14); }
.re-situation-title > span { display: block; margin-bottom: 4px; color: var(--green); font-size: .61rem; font-weight: 800; letter-spacing: .13em; }
.re-situation-title > strong { font-size: 1rem; }
.re-spot-facts { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0 15px; }
.re-spot-facts span { padding: 3px 6px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); background: rgba(255,255,255,.025); font-size: .63rem; }
.re-range-change { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 6px; margin: -3px 0 14px; padding: 8px 9px; border: 1px solid #3f5e49; border-radius: 8px; background: rgba(103,215,154,.055); }
.re-range-change span { color: var(--muted); font-size: .62rem; }
.re-range-change strong { color: var(--text); font-size: .72rem; }
.re-range-change:has(small) { grid-template-columns: 1fr; }
.re-range-change small { color: var(--muted); font-size: .7rem; line-height: 1.45; }
.re-action-order { position: relative; display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
.re-action-order::before { content: ''; position: absolute; top: 17px; bottom: 17px; left: 13px; width: 1px; background: #41614b; }
.re-action-order li { position: relative; display: grid; grid-template-columns: 27px 1fr; align-items: center; gap: 9px; min-height: 49px; }
.re-action-number { z-index: 1; display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #486a53; border-radius: 50%; color: var(--muted); background: #12231a; font-size: .64rem; font-weight: 800; }
.re-action-order li.is-hero .re-action-number { border-color: var(--green); color: #07150d; background: var(--green); }
.re-action-order li.is-hero strong { color: var(--green); }
.re-action-order strong, .re-action-order small { display: block; }
.re-action-order strong { font-size: .75rem; }
.re-action-order small { margin-top: 2px; color: var(--muted); font-size: .62rem; line-height: 1.35; }
.re-players-behind { margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); }
.re-players-behind span, .re-players-behind strong { display: block; }
.re-players-behind span { margin-bottom: 5px; color: var(--muted); font-size: .61rem; }
.re-players-behind strong { color: #d5e2db; font-size: .69rem; letter-spacing: .01em; }
.re-players-behind i { margin: 0 2px; color: var(--faint); font-style: normal; font-weight: 400; }
.re-flow-checkpoint { margin-top: 12px; padding: 10px; border: 1px solid #4e765a; border-radius: 9px; background: rgba(103,215,154,.07); }
.re-flow-checkpoint span, .re-flow-checkpoint strong, .re-flow-checkpoint small { display: block; }
.re-flow-checkpoint span { color: var(--green); font-size: .56rem; font-weight: 800; letter-spacing: .11em; }
.re-flow-checkpoint strong { margin-top: 3px; font-size: .78rem; }
.re-flow-checkpoint small { margin-top: 4px; color: var(--muted); font-size: .6rem; line-height: 1.4; }
.re-poker-table { position: relative; margin: 12px auto 0; }
.re-poker-table-large { width: min(100%, 600px); height: min(330px, calc(100dvh - 310px)); min-height: 270px; }
.re-poker-table-compact { width: 100%; height: 185px; margin-top: 10px; }
.re-poker-table-side { width: 100%; height: 220px; margin-top: 10px; }
.re-table-felt { position: absolute; inset: 16% 15%; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px solid #527b60; border-radius: 50%; background: radial-gradient(ellipse at 50% 45%, #1e6845, #12442f 68%, #0c3021); box-shadow: inset 0 0 0 7px rgba(5,18,11,.25), 0 10px 25px rgba(0,0,0,.25); }
.re-table-felt::after { content: ''; position: absolute; inset: 9px; border: 1px solid rgba(220,246,231,.13); border-radius: inherit; }
.re-pot-display { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 9px 15px 8px; border: 1px solid rgba(210,242,222,.16); border-radius: 12px; background: rgba(6,28,17,.27); box-shadow: 0 8px 24px rgba(1,12,7,.2); }
.re-pot-display > span { color: #a8cdb7; font-size: .53rem; font-weight: 850; letter-spacing: .14em; }
.re-pot-chips { display: flex; align-items: center; gap: 7px; }
.re-pot-chips > strong { color: #f3fbf7; font-size: .82rem; }
.re-chip-stack { position: relative; display: inline-block; width: 20px; height: 16px; flex: none; }
.re-chip-stack i { position: absolute; left: 1px; width: 17px; height: 7px; border: 2px dashed rgba(255,255,255,.8); border-radius: 50%; background: #3f8b62; box-shadow: inset 0 0 0 2px rgba(0,0,0,.15), 0 2px 2px rgba(0,0,0,.26); }
.re-chip-stack i:nth-child(1) { bottom: 0; }
.re-chip-stack i:nth-child(2) { bottom: 4px; }
.re-chip-stack i:nth-child(3) { bottom: 8px; }
.re-chip-stack.is-red i { background: #b94e4e; }
.re-chip-stack.is-blue i { background: #447bb6; }
.re-chip-stack.is-green i { background: #3f9564; }
.re-table-wager { position: absolute; z-index: 3; display: flex; align-items: center; gap: 4px; min-width: max-content; padding: 3px 6px 3px 4px; border: 1px solid rgba(221,240,229,.2); border-radius: 999px; background: rgba(8,25,16,.82); box-shadow: 0 4px 10px rgba(0,0,0,.25); transform: translate(-50%,-50%); pointer-events: none; }
.re-table-wager .re-chip-stack { width: 15px; height: 13px; }
.re-table-wager .re-chip-stack i { width: 13px; height: 5px; border-width: 1px; }
.re-table-wager .re-chip-stack i:nth-child(2) { bottom: 3px; }
.re-table-wager .re-chip-stack i:nth-child(3) { bottom: 6px; }
.re-table-wager strong { color: #f4faf6; font-size: .54rem; line-height: 1; }
.wager-utg { left: 36%; top: 28%; }
.wager-hj { left: 64%; top: 28%; }
.wager-co { left: 79%; top: 50%; }
.wager-btn { left: 64%; top: 72%; }
.wager-sb { left: 36%; top: 72%; }
.wager-bb { left: 21%; top: 50%; }
.re-table-seat { position: absolute; z-index: 1; width: 110px; padding: 7px 8px; border: 1px solid #456351; border-radius: 9px; color: var(--text); background: #101f18; box-shadow: 0 5px 14px rgba(0,0,0,.26); text-align: left; transform: translate(-50%,-50%); cursor: pointer; font: inherit; }
.re-table-seat.has-acted { border-color: #58916b; background: #14291e; }
.re-table-seat.is-to-act { border-color: var(--amber); box-shadow: 0 0 0 2px rgba(239,186,98,.2), 0 5px 14px rgba(0,0,0,.26); }
.re-table-seat.is-viewed { outline: 2px solid var(--green); outline-offset: 2px; }
.re-seat-name { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.re-seat-name strong { font-size: .72rem; }
.re-table-seat > span:not(.re-seat-name) { display: block; color: #d9e7df; font-size: .64rem; }
.re-seat-stack { display: flex !important; align-items: center; gap: 3px; white-space: nowrap; }
.re-seat-stack > i { display: inline-block; width: 7px; height: 7px; flex: none; border: 1px dashed rgba(255,255,255,.72); border-radius: 50%; background: #3f9564; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.re-seat-stack > b { color: #759181; font-weight: 400; }
.re-table-seat small { display: block; overflow: hidden; margin-top: 2px; color: var(--muted); font-size: .58rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.re-table-seat.is-to-act small { color: var(--amber); font-weight: 750; }
.re-dealer { display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; color: #1a160d; background: var(--amber); font-size: .55rem; font-style: normal; font-weight: 900; }
.seat-utg { left: 27%; top: 10%; }
.seat-hj { left: 73%; top: 10%; }
.seat-co { left: 94%; top: 50%; }
.seat-btn { left: 73%; top: 90%; }
.seat-sb { left: 27%; top: 90%; }
.seat-bb { left: 6%; top: 50%; }
.re-poker-table-compact .re-table-seat { width: 60px; padding: 4px 5px; border-radius: 6px; }
.re-poker-table-compact .re-seat-name strong { font-size: .58rem; }
.re-poker-table-compact .re-table-seat > span, .re-poker-table-compact .re-table-seat small { font-size: .49rem; }
.re-poker-table-compact .re-dealer { width: 13px; height: 13px; font-size: .45rem; }
.re-poker-table-compact .re-table-felt { inset: 20% 17%; }
.re-poker-table-compact .re-table-felt span { font-size: .45rem; }
.re-poker-table-compact .re-table-felt strong { font-size: .65rem; }
.re-poker-table-side .re-table-seat { width: 76px; padding: 5px 6px; }
.re-poker-table-side .re-seat-name strong { font-size: .62rem; }
.re-poker-table-side .re-table-seat > span:not(.re-seat-name), .re-poker-table-side .re-table-seat small { font-size: .5rem; }
.re-poker-table-side .re-dealer { width: 14px; height: 14px; font-size: .47rem; }
.re-poker-table-side .re-table-felt { inset: 19% 18%; }
.re-poker-table-side .re-table-felt span { font-size: .47rem; }
.re-poker-table-side .re-table-felt strong { font-size: .68rem; }
.re-watch-stage { min-height: 390px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 26px; border: 1px solid #496754; border-radius: 15px; text-align: center; background: radial-gradient(circle at center, rgba(103,215,154,.08), transparent 62%); }
.re-watch-stage > span { color: var(--green); font-size: .62rem; font-weight: 800; letter-spacing: .14em; }
.re-watch-stage h2 { margin: 8px 0 7px; font-size: 1.45rem; }
.re-watch-stage p { max-width: 420px; margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.re-watch-stage .re-poker-table + p { margin-top: 20px; }
.re-question-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.re-question-heading h2 { margin: 0; font-size: 1.45rem; }
.re-question-heading > div { display: flex; align-items: center; gap: 9px; }
.re-question-heading .re-question-title { display: block; min-width: 0; }
.re-question-heading .re-question-meta { flex: none; }
.re-question-heading > div > strong { color: var(--text); font-size: .76rem; }
.re-question-heading > div > span { color: var(--muted); font-size: .72rem; }
.re-checkpoint-prompt { max-width: 330px; margin: 3px 0 0; color: var(--muted); font-size: .66rem; line-height: 1.35; }
.re-question-reviewed { padding: 4px 8px; border: 1px solid #4e7a5d; border-radius: 999px; color: var(--green) !important; background: rgba(103,215,154,.08); }
.re-question-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.re-question-toolbar .re-brushes button { min-width: 48px; min-height: 39px; }
.re-question-toolbar .re-toolbar-hand { min-width: 225px; }
.re-question-toolbar .re-toolbar-actions button { padding: 8px 9px; }
.re-prune-instruction { min-width: 180px; }
.re-prune-instruction strong, .re-prune-instruction span { display: block; }
.re-prune-instruction strong { font-size: .78rem; }
.re-prune-instruction span { margin-top: 2px; color: var(--muted); font-size: .64rem; }
.re-prune-selected { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 7px; padding-left: 12px; border-left: 1px solid var(--line); }
.re-prune-selected > span { grid-column: 1 / -1; color: var(--muted); font-size: .58rem; }
.re-prune-selected strong { font-size: .92rem; }
.re-prune-selected em { padding: 2px 6px; border-radius: 999px; font-size: .58rem; font-style: normal; font-weight: 800; }
.re-prune-selected em.is-kept { color: var(--green); background: rgba(103,215,154,.1); }
.re-prune-selected em.is-removed { color: #acd4f2; background: rgba(83,141,183,.16); }
.re-prune-count { display: flex; align-items: baseline; gap: 5px; color: var(--muted); font-size: .61rem; }
.re-prune-count strong { color: var(--text); font-size: 1rem; }
.re-range-readonly { justify-content: space-between; }
.re-range-readonly > button { flex: none; }
.re-question-matrix { width: min(100%, 430px, calc(100dvh - 360px)); margin-inline: auto; padding: 12px; border: 1px solid #44614d; border-radius: 15px; background: linear-gradient(145deg, #14271c, #101b16); }
.re-adaptation-matrices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 14px; }
.re-source-action-board, .re-adaptation-target { min-width: 0; }
.re-source-action-board h3, .re-adaptation-target h3 { margin: 0; font-size: .8rem; }
.re-source-action-board > p, .re-adaptation-target > p { margin: 4px 0 9px; color: var(--muted); font-size: .65rem; line-height: 1.35; }
.re-action-adaptation .re-source-action-board > p:first-of-type, .re-action-adaptation .re-adaptation-target > p { min-height: 2.7em; }
.re-source-action-board .re-action-legend { margin: 0 0 8px; }
.re-adaptation-matrices .re-question-matrix { width: 100%; padding: 9px; }
.re-source-action-cell { cursor: default; }
.re-source-action-cell:hover { filter: none; }
.re-source-action-board > .re-source-action-detail { min-height: 2.7em; margin: 9px 0 0; color: #d5ebdc; font-size: .68rem; line-height: 1.4; }
@media (max-width: 1080px) { .re-adaptation-matrices { grid-template-columns: minmax(0,1fr); } .re-adaptation-matrices .re-question-matrix { max-width: 430px; margin-left: 0; } }
.re-question-result { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; padding: 11px 13px; border: 1px solid #4d745b; border-radius: 11px; background: rgba(103,215,154,.08); }
.re-question-result > div:first-child { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; gap: 4px; }
.re-question-result > div:first-child > span { line-height: 1.45; text-align: left; }
.re-question-result strong { color: var(--green); font-size: .86rem; }
.re-question-result span { color: var(--muted); font-size: .7rem; text-align: right; }
.re-category-action-detail { display: grid; min-width: 245px; max-width: 350px; flex: 0 1 350px; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 8px; row-gap: 2px; padding-left: 14px; border-left: 1px solid rgba(131,181,150,.28); }
.re-category-action-detail > span { color: #87a493; font-size: .55rem; font-weight: 800; letter-spacing: .08em; text-align: left; }
.re-category-action-detail > strong { color: #f2f8f4; font-size: .92rem; }
.re-category-action-detail > em { grid-column: 1 / -1; color: #d5ebdc; font-size: .78rem; font-style: normal; font-weight: 750; line-height: 1.35; }
.re-category-action-detail > small { grid-column: 1 / -1; color: #a9bdb1; font-size: .63rem; line-height: 1.35; }
.re-action-toolbar { flex-wrap: wrap; }
.re-action-toolbar .re-brushes { flex-wrap: wrap; }
.re-action-toolbar .re-brushes button { min-height: 37px; white-space: normal; }
.re-action-legend { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0 12px; }
.re-action-legend span { padding: 3px 7px; border-radius: 5px; color: #fff; font-size: .65rem; font-weight: 700; }
.re-action-legend .is-fold { background: var(--re-action-fold); }
.re-action-legend .is-call { background: var(--re-action-call); }
.re-action-legend .is-raise { background: var(--re-action-raise); }
.re-action-legend .is-jam { background: var(--re-action-jam); }
.re-action-tree-note { margin: -4px 0 12px; color: #b5c7bc; font-size: .69rem; line-height: 1.4; }
.re-action-layout { display: grid; grid-template-columns: minmax(0,430px) minmax(220px,1fr); align-items: start; gap: 15px; }
.re-action-layout .re-question-matrix { width: 100%; }
.re-action-adaptation .re-action-layout { grid-template-columns: minmax(0,1fr); }
.re-action-adaptation .re-adaptation-target .re-action-legend { margin: 0 0 8px; }
.re-action-adaptation .re-action-tree-note { margin: 2px 0 9px; }
.re-action-adaptation .re-action-inspector { margin-top: 2px; }
.re-action-adaptation .re-adaptation-target .re-question-matrix { border-color: #67d79a; box-shadow: 0 0 0 1px rgba(103,215,154,.15); }
.re-action-review-boards { margin-top: 10px; }
.re-answer-summary { margin: 10px 0 12px; padding: 13px; border: 1px solid #4d745b; border-radius: 11px; background: rgba(103,215,154,.07); }
.re-answer-summary h3, .re-build-answer-list h3 { margin: 0; font-size: .88rem; }
.re-answer-summary p, .re-build-answer-list > p { margin: 5px 0 10px; color: var(--muted); font-size: .68rem; line-height: 1.4; }
.re-answer-highlights { display: grid; gap: 6px; }
.re-answer-highlights button { display: grid; grid-template-columns: 38px minmax(0,1fr) minmax(0,1fr) auto; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 7px; color: var(--text); background: var(--surface); font: inherit; font-size: .68rem; text-align: left; cursor: pointer; }
.re-answer-highlights button em { color: var(--amber); font-style: normal; font-weight: 750; white-space: nowrap; }
.re-build-answer-list { margin-top: 16px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #0d1913; }
.re-build-answer-table-wrap { overflow-x: auto; }
.re-build-answer-list table { width: 100%; border-collapse: collapse; font-size: .7rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
.re-build-answer-list th, .re-build-answer-list td { padding: 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.re-build-answer-list th:first-child { width: 52px; }
.re-build-answer-list th:last-child, .re-build-answer-list td:last-child { width: 80px; text-align: right; white-space: nowrap; }
.re-build-answer-list tr.has-ev-loss { background: rgba(244,189,102,.08); }
.re-build-answer-list button { padding: 2px 5px; border: 1px solid var(--line); border-radius: 5px; color: var(--text); background: var(--surface); font: inherit; cursor: pointer; }
@media (max-width: 600px) { .re-answer-highlights button { grid-template-columns: 38px minmax(0,1fr); } .re-answer-highlights button em { grid-column: 2; } .re-build-answer-list table { min-width: 600px; } }
.re-review-comparison { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; margin-top: 10px; }
.re-review-comparison .re-chart-switch { flex-wrap: wrap; }
.re-review-comparison > p { margin: 0; color: var(--muted); font-size: .67rem; line-height: 1.4; }
.re-review-board { min-width: 0; }
.re-review-board h3 { margin: 0; font-size: .84rem; }
.re-review-board > p { min-height: 2.7em; margin: 4px 0 9px; color: var(--muted); font-size: .65rem; line-height: 1.35; }
.re-action-review-boards .re-source-action-board h3 { font-size: .84rem; }
.re-action-review-boards .re-source-action-board > p:first-of-type { min-height: 2.7em; }
.re-action-review-boards .re-review-board .re-action-legend { margin: 0 0 8px; }
.re-action-review-boards .re-review-board:last-child .re-question-matrix { border-color: #67d79a; box-shadow: 0 0 0 1px rgba(103,215,154,.15); }
.re-action-review-detail { max-width: 776px; margin-top: 14px; }
.re-action-review-list { margin-top: 16px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #0d1913; }
.re-action-review-list h3 { margin: 0; font-size: .88rem; }
.re-action-review-list > p { margin: 5px 0 12px; color: var(--muted); font-size: .67rem; line-height: 1.4; }
.re-action-review-list > div { display: grid; gap: 5px; }
.re-action-review-row { display: grid; width: 100%; grid-template-columns: 38px repeat(3,minmax(0,1fr)); align-items: start; gap: 5px 9px; padding: 8px; border: 1px solid var(--line); border-left: 3px solid #5a8067; border-radius: 7px; color: var(--text); background: var(--surface); font: inherit; text-align: left; cursor: pointer; }
.re-action-review-row.is-missed { border-left-color: var(--amber); }
.re-action-review-row.is-selected { box-shadow: inset 0 0 0 1px var(--re-accent); }
.re-action-review-row > strong { font-size: .76rem; }
.re-action-review-row > span { min-width: 0; color: #d7e8dd; font-size: .65rem; line-height: 1.35; }
.re-action-review-row small { display: block; margin-bottom: 2px; color: var(--muted); font-size: .58rem; }
.re-action-review-row > em { grid-column: 2 / -1; color: var(--muted); font-size: .62rem; font-style: normal; }
.re-review-source { max-width: 440px; margin-top: 14px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; }
.re-review-source > summary { color: var(--muted); font-size: .7rem; cursor: pointer; }
.re-review-source .re-source-action-board { margin-top: 11px; }
@media (max-width: 600px) { .re-action-review-row { grid-template-columns: 34px minmax(0,1fr); } .re-action-review-row > span, .re-action-review-row > em { grid-column: 2; } }
.re-action-cell .re-cell-hand, .re-action-cell .re-cell-frequency { text-shadow: 0 1px 3px #122219, 0 0 3px #122219; }
.re-action-cell .re-cell-frequency.is-ev { font-size: clamp(.34rem,.57vw,.54rem); font-variant-numeric: tabular-nums; letter-spacing: -.035em; white-space: nowrap; }
.re-action-inspector { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.re-action-inspector-title { display: flex; align-items: baseline; gap: 9px; margin-bottom: 12px; }
.re-action-inspector-title span { color: var(--muted); font-size: .6rem; font-weight: 750; letter-spacing: .07em; }
.re-action-inspector-title strong { font-size: 1.2rem; }
.re-action-source-mix { margin: -4px 0 12px; color: #c7d9d0; font-size: .65rem; line-height: 1.4; }
.re-action-inputs { display: grid; gap: 8px; }
.re-action-inputs label, .re-action-fold { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--text); font-size: .72rem; }
.re-action-inputs label span { display: flex; align-items: center; gap: 3px; }
.re-action-inputs input { width: 65px; min-height: 34px; padding: 5px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: var(--surface-2); font: inherit; text-align: right; }
.re-action-fold { padding-top: 8px; border-top: 1px solid var(--line); }
.re-action-inspector > small { display: block; margin-top: 11px; color: var(--muted); font-size: .65rem; line-height: 1.4; }
.re-action-comparison { display: grid; gap: 9px; }
.re-action-comparison div { display: grid; gap: 3px; }
.re-action-comparison span { color: var(--muted); font-size: .64rem; }
.re-action-comparison strong { color: var(--text); font-size: .74rem; line-height: 1.4; }
@media (max-width: 1100px) { .re-action-layout { grid-template-columns: minmax(0,1fr); } .re-action-layout .re-question-matrix { max-width: 430px; } }
.re-change-review { padding: 16px; border: 1px solid #45614f; border-radius: 15px; background: linear-gradient(145deg, #122219, #0d1913); }
.re-change-review > header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 13px; }
.re-change-review > header h3 { margin: 3px 0 0; font-size: 1.05rem; }
.re-change-review > header p { max-width: 530px; margin: 0; color: var(--muted); font-size: .74rem; line-height: 1.45; text-align: right; }
.re-change-review > header p strong { color: var(--text); }
.re-change-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 13px; }
.re-change-legend > span { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .66rem; }
.re-change-legend i { width: 8px; height: 8px; border-radius: 50%; background: #58665d; }
.re-change-legend strong { color: var(--text); font-weight: 650; }
.re-change-legend b { color: var(--faint); font-weight: 600; }
.re-change-legend .is-entered i { background: #5ec98a; }
.re-change-legend .is-left i { background: #e57a70; }
.re-change-legend .is-increased i { background: #77b5dd; }
.re-change-legend .is-decreased i { background: #d2a860; }
.re-change-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.re-change-group:only-child { grid-column: 1 / -1; }
.re-change-group { --change-color: #91a399; padding: 11px; border: 1px solid var(--line); border-radius: 11px; background: rgba(9,17,14,.38); }
.re-change-group.is-entered, .re-change-item.is-entered { --change-color: #5ec98a; }
.re-change-group.is-left, .re-change-item.is-left { --change-color: #e57a70; }
.re-change-group.is-increased, .re-change-item.is-increased { --change-color: #77b5dd; }
.re-change-group.is-decreased, .re-change-item.is-decreased { --change-color: #d2a860; }
.re-change-group > header { display: grid; grid-template-columns: 9px minmax(0,1fr) auto; align-items: start; gap: 8px; margin-bottom: 9px; }
.re-change-group > header > i { width: 9px; height: 9px; margin-top: 4px; border-radius: 50%; background: var(--change-color); }
.re-change-group > header strong, .re-change-group > header small { display: block; }
.re-change-group > header strong { color: var(--text); font-size: .78rem; }
.re-change-group > header small { margin-top: 2px; color: var(--muted); font-size: .65rem; line-height: 1.35; }
.re-change-group > header > b { display: grid; min-width: 23px; height: 23px; padding: 0 6px; place-items: center; border: 1px solid var(--change-color); border-radius: 999px; color: var(--change-color); font-size: .66rem; }
.re-change-items { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 6px; }
.re-change-item { --change-color: #91a399; min-width: 0; display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 2px 7px; padding: 8px 9px; border: 1px solid #33483b; border-left: 3px solid var(--change-color); border-radius: 8px; background: #14221b; color: var(--text); cursor: pointer; text-align: left; }
.re-change-item:hover { border-color: var(--change-color); background: #192b21; }
.re-change-item > strong { color: #fff; font-size: .8rem; }
.re-change-item > span { display: flex; align-items: center; gap: 5px; min-width: 0; color: #dce8e1; font-size: .7rem; white-space: nowrap; }
.re-change-item > span i { color: var(--muted); font-style: normal; }
.re-change-item > em { color: var(--change-color); font-size: .66rem; font-style: normal; font-weight: 850; white-space: nowrap; }
.re-change-item > small { grid-column: 2 / 4; color: #b7c9bf; font-size: .61rem; font-weight: 700; }
.re-change-item.is-missed { border-color: #a85d55; box-shadow: inset 0 0 0 1px rgba(255,170,160,.22); }
.re-change-item.is-missed > small { color: #ffb8b0; }
.re-change-item.is-selected { outline: 2px solid #f0d27a; outline-offset: 1px; }
.re-change-unchanged, .re-change-map { margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(9,17,14,.28); }
.re-change-unchanged > summary, .re-change-map > summary { padding: 10px 12px; color: var(--muted); cursor: pointer; font-size: .72rem; font-weight: 800; }
.re-change-unchanged[open], .re-change-map[open] { padding: 0 11px 11px; }
.re-change-unchanged[open] > summary, .re-change-map[open] > summary { margin-inline: -11px; color: var(--text); }
.re-change-unchanged .re-change-item { opacity: .68; }
.re-change-map > p { margin: 0 0 10px; color: var(--muted); font-size: .7rem; }
.re-change-grid { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 3px; }
.re-change-cell { position: relative; aspect-ratio: 1 / 1.02; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; padding: 2px; border: 1px solid rgba(255,255,255,.08); border-radius: 4px; color: #f1f7f3; background: #26342c; overflow: hidden; cursor: pointer; }
.re-change-cell strong { font-size: clamp(.54rem, 1vw, .75rem); line-height: 1; }
.re-change-route { display: flex; align-items: center; justify-content: center; gap: 2px; width: 100%; font-size: clamp(.4rem, .67vw, .55rem); color: #dae5df; line-height: 1; white-space: nowrap; }
.re-change-route b { font-weight: 650; }
.re-change-route i { color: #9eb0a6; font-style: normal; }
.re-change-cell em { margin-top: 2px; font-size: clamp(.39rem, .62vw, .52rem); font-style: normal; font-weight: 800; letter-spacing: .01em; }
.re-change-answer { display: block; max-width: 100%; color: #ffd0ca; font-size: clamp(.35rem, .5vw, .45rem); line-height: 1.05; white-space: nowrap; }
.re-change-answer.is-correct { color: #c9e7d4; opacity: .72; }
.re-change-cell.is-entered { background: linear-gradient(145deg, #215b3b, #173c2a); border-color: #4b9a69; }
.re-change-cell.is-left { background: linear-gradient(145deg, #64312d, #42231f); border-color: #a4564f; }
.re-change-cell.is-increased { background: linear-gradient(145deg, #234a63, #193448); border-color: #4e7e9d; }
.re-change-cell.is-decreased { background: linear-gradient(145deg, #604820, #403117); border-color: #947039; }
.re-change-cell.is-unchanged { background: #1b2821; color: #a9b8b0; opacity: .52; }
.re-change-cell.is-outside { background: #111b15; color: #526159; opacity: .22; }
.re-change-cell.is-missed::after { content: ''; position: absolute; inset: 0; border: 2px solid #ffaaa0; border-radius: 3px; pointer-events: none; }
.re-change-cell.is-selected { z-index: 1; box-shadow: inset 0 0 0 2px #f0d27a; opacity: 1; }
.re-change-cell:hover { filter: brightness(1.15); opacity: 1; }
.re-question-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.re-question-actions button { min-width: 130px; }
.re-topline { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.re-back { padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: .88rem; }
.re-back:hover { color: var(--text); }
.re-save-status { color: var(--muted); font-size: .77rem; }
.re-save-status.is-saved { color: var(--green); }
.re-save-status.is-error { color: var(--red); }
.re-header h2 { max-width: 850px; }
.re-header > p:last-child { color: var(--muted); max-width: 800px; margin: 12px 0 22px; }
.re-conditions { display: flex; flex-wrap: wrap; gap: 10px; }
.re-condition { border: 1px solid #3f5d49; border-radius: 12px; padding: 12px 17px; background: linear-gradient(110deg, #193325, #12261d); min-width: 160px; }
.re-condition > span { display: block; color: var(--muted); font-size: .73rem; margin-bottom: 3px; }
.re-condition strong { font-size: 1.1rem; }
.re-arrow { margin: 0 10px; color: var(--green); }
.re-same { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 15px; margin: 12px 0 25px; color: var(--muted); font-size: .75rem; }
.re-same strong { font-weight: 650; color: var(--faint); }
.re-same > span { position: relative; }
.re-same > span + span::before { content: '·'; position: absolute; left: -9px; color: var(--faint); }
.re-limitations { margin: -12px 0 23px; color: var(--muted); font-size: .74rem; max-width: 880px; }
.re-limitations summary { cursor: pointer; width: max-content; }
.re-limitations p { margin: 10px 0 0; line-height: 1.6; }
.re-category-step { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: 20px 0 12px; padding: 18px 20px; border: 1px solid #41654e; border-radius: 15px; background: linear-gradient(120deg, #183123, #101d16); }
.re-category-copy { min-width: 0; }
.re-category-copy .eyebrow { margin: 0 0 5px; font-size: .65rem; }
.re-category-copy h3 { margin: 0; font-size: 1.15rem; }
.re-category-copy > span { display: block; margin-top: 5px; max-width: 650px; color: var(--muted); font-size: .78rem; }
.re-category-nav { display: flex; align-items: center; gap: 11px; flex: none; }
.re-category-nav > .secondary { padding: 8px 10px; font-size: .72rem; }
.re-category-dots { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.re-category-dots button { width: 29px; height: 29px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-2); color: var(--muted); cursor: pointer; font-size: .7rem; font-weight: 750; }
.re-category-dots button:hover { border-color: #5f8970; color: var(--text); }
.re-category-dots button.active { border-color: var(--green); background: var(--green-dark); color: var(--green); box-shadow: 0 0 0 1px rgba(103,215,154,.18); }
.re-toolbar { padding: 17px 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.re-brush-label strong, .re-brush-label > span { display: block; }
.re-brush-label strong { font-size: .9rem; }
.re-brush-label > span { margin-top: 3px; color: var(--muted); font-size: .75rem; }
.re-brushes { display: flex; gap: 5px; }
.re-brushes button { min-width: 49px; min-height: 48px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: var(--surface-2); font-weight: 700; font-size: .79rem; cursor: pointer; }
.re-brushes button:first-child { min-width: 67px; font-size: .75rem; }
.re-brushes button small { display: block; color: var(--muted); font-size: .63rem; font-weight: 500; }
.re-brushes button.active { background: #194c33; border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.re-action-toolbar .re-brushes button[data-mix-brush='fold'].active { background: var(--re-action-fold); border-color: var(--re-action-fold); box-shadow: 0 0 0 1px var(--re-action-fold); }
.re-action-toolbar .re-brushes button[data-mix-brush='call'].active { background: var(--re-action-call); border-color: var(--re-action-call); box-shadow: 0 0 0 1px var(--re-action-call); }
.re-action-toolbar .re-brushes button[data-mix-brush='raise'].active { background: var(--re-action-raise); border-color: var(--re-action-raise); box-shadow: 0 0 0 1px var(--re-action-raise); }
.re-action-toolbar .re-brushes button[data-mix-brush='jam'].active { background: var(--re-action-jam); border-color: var(--re-action-jam); box-shadow: 0 0 0 1px var(--re-action-jam); }
.re-brushes button[data-brush='0'].active { background: var(--re-fold); border-color: var(--re-fold); box-shadow: 0 0 0 1px var(--re-fold); }
.re-brushes button[data-brush='100'].active { background: var(--re-open); border-color: var(--re-open); box-shadow: 0 0 0 1px var(--re-open); }
.re-toolbar-hand { min-width: 245px; display: grid; grid-template-columns: auto minmax(120px,1fr); align-items: center; column-gap: 10px; padding-left: 16px; border-left: 1px solid var(--line); }
.re-toolbar-hand-title { display: flex; flex-direction: column; }
.re-toolbar-hand-title span { color: var(--muted); font-size: .65rem; }
.re-toolbar-hand-title strong { font-size: 1.15rem; line-height: 1.1; }
.re-toolbar-frequency { display: flex; align-items: center; gap: 6px; }
.re-toolbar-frequency input[type='range'] { min-width: 70px; width: 100%; accent-color: var(--green); }
.re-toolbar-frequency input[type='number'] { width: 60px; padding: 5px 6px; border: 1px solid #486553; border-radius: 7px; background: #0d1c14; color: var(--text); }
.re-toolbar-frequency > span { white-space: nowrap; color: var(--muted); font-size: .66rem; }
.re-toolbar-hand > small { grid-column: 2; margin-top: 2px; color: var(--faint); font-size: .63rem; }
.re-toolbar-actions { display: flex; gap: 7px; margin-left: auto; }
.re-toolbar-actions button { font-size: .75rem; padding: 9px 11px; }
.re-workspace button:disabled { cursor: default; opacity: .4; }
.re-workspace button:focus-visible, .re-workspace input:focus-visible, .re-workspace textarea:focus-visible, .re-workspace summary:focus-visible { outline: 2px solid var(--re-accent); outline-offset: 3px; }
.re-chart-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0 10px; }
.re-family-tabs, .re-chart-switch { display: flex; align-items: center; gap: 4px; }
.re-family-tabs button, .re-chart-switch button { padding: 5px 9px; border: 1px solid transparent; border-radius: 7px; color: var(--muted); background: transparent; cursor: pointer; font-size: .75rem; }
.re-family-tabs button.active, .re-chart-switch button.active { color: var(--text); background: var(--surface-3); border-color: var(--line); }
.re-active-category { padding: 5px 9px; border: 1px solid #436b50; border-radius: 7px; color: var(--green); background: rgba(103,215,154,.07); font-size: .72rem; font-weight: 700; }
.re-legend { display: flex; gap: 13px; font-size: .67rem; color: var(--muted); }
.re-legend span { display: flex; align-items: center; gap: 5px; }
.re-legend span::before { content: ''; width: 10px; height: 10px; border-radius: 2px; background: var(--re-open); border: 1px solid rgba(255,255,255,.25); }
.re-legend .re-fold-key::before { background: var(--re-fold); }
.re-legend .re-edit-key::before { background: transparent; border-color: var(--re-accent); }
.re-chart-pair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.re-chart-pair.re-chart-single { grid-template-columns: minmax(0, 1fr); max-width: 660px; margin: 0 auto; }
.re-chart-card { padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: #0d1913; }
.re-answer-card { border-color: #44614d; background: linear-gradient(145deg, #14271c, #101b16); }
.re-chart-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 50px; margin-bottom: 14px; }
.re-kicker { color: var(--muted); font-size: .62rem; letter-spacing: .1em; font-weight: 700; }
.re-chart-heading h3 { font-size: .95rem; margin: 2px 0 0; }
.re-readonly { font-size: .65rem; color: var(--faint); border: 1px solid var(--line); border-radius: 5px; padding: 3px 6px; }
.re-range-grid { display: grid; grid-template-columns: repeat(13, minmax(0,1fr)); gap: 3px; }
.re-range-grid.has-brush { touch-action: none; }
.re-range-grid.is-prunable { touch-action: none; }
.re-range-grid.is-prunable .re-cell:not(:disabled) { cursor: crosshair; }
.re-range-grid.is-prunable .re-cell.is-removed:not(:disabled) { cursor: pointer; }
.re-range-grid.is-prunable .re-cell.is-removed:not(:disabled):hover { box-shadow: inset 0 0 0 2px #77b5dd; filter: brightness(1.25); }
.re-host.re-painting, .re-host.re-painting * { cursor: crosshair !important; user-select: none; -webkit-user-select: none; }
.re-cell { position: relative; aspect-ratio: 1 / 1.02; border: 1px solid rgba(255,255,255,.055); border-radius: 3px; color: #eef7f4; background: linear-gradient(to right, var(--re-open) 0, var(--re-open) var(--re-frequency), var(--re-fold) var(--re-frequency), var(--re-fold) 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 0; cursor: pointer; transition: opacity 120ms; user-select: none; -webkit-user-select: none; overflow: hidden; }
.has-brush .re-cell { cursor: crosshair; }
.re-cell-hand { font-size: clamp(.55rem, 1.15vw, .8rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.18; }
.re-cell-frequency { font-size: clamp(.47rem, .84vw, .62rem); color: #c7d9d0; line-height: 1.1; margin-top: 2px; }
.re-cell-comparison { display: flex; flex-direction: column; gap: 0; margin-top: 1px; color: #d4e3dc; font-size: clamp(.4rem, .65vw, .52rem); line-height: 1.08; }
.re-cell.is-category-answered { cursor: default; }
.re-cell.is-category-wrong { border-color: var(--amber); box-shadow: inset 0 0 0 1px rgba(239,186,98,.35); }
.re-cell.is-edited::after { content: ''; position: absolute; right: 0; top: 0; width: 0; height: 0; border-top: 6px solid var(--re-accent); border-left: 6px solid transparent; }
.re-cell.needs-work { border-bottom: 2px solid var(--red); }
.re-cell.is-selected { z-index: 1; box-shadow: inset 0 0 0 2px var(--re-accent); }
.re-cell:hover { filter: brightness(1.2); }
.re-cell.is-muted { opacity: .25; }
.re-cell.is-selected.is-muted, .re-cell.is-muted:hover { opacity: 1; }
.re-workspace .re-cell.is-outside-step { background: #506158; opacity: .09; cursor: default; filter: none; }
.re-workspace .re-cell.is-outside-step:hover { opacity: .16; filter: none; }
.re-action-adaptation .re-adaptation-target .re-cell.is-outside-step:not(:disabled) { cursor: pointer; }
.re-chart-foot { color: var(--muted); font-size: .72rem; margin: 12px 0 0; }
.re-chart-hint { margin: 10px 0 20px; color: var(--faint); font-size: .74rem; }
.re-hand-detail { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.re-selected-title { display: flex; flex-direction: column; min-width: 103px; }
.re-selected-title > strong { font-size: 1.75rem; line-height: 1.3; letter-spacing: -.03em; }
.re-selected-title > span:last-child { color: var(--faint); font-size: .66rem; }
.re-selected-values { display: flex; flex-wrap: wrap; gap: 15px 26px; }
.re-selected-values > div { display: flex; flex-direction: column; }
.re-selected-values span { font-size: .7rem; color: var(--muted); }
.re-selected-values strong { font-size: 1.2rem; font-weight: 700; }
.re-selected-values small { color: var(--muted); font-weight: 400; font-size: .7rem; }
.re-frequency-control { margin-left: auto; min-width: 260px; max-width: 330px; flex: 1; }
.re-frequency-control label { display: block; font-size: .73rem; color: var(--muted); margin-bottom: 5px; }
.re-frequency-inputs { display: flex; align-items: center; gap: 7px; }
.re-frequency-inputs input[type='range'] { min-width: 90px; width: 100%; accent-color: var(--green); cursor: pointer; }
.re-frequency-inputs input[type='number'] { width: 71px; flex: none; border: 1px solid #486553; border-radius: 7px; background: #0d1c14; color: var(--text); padding: 5px 7px; }
.re-frequency-inputs > span { color: var(--muted); font-size: .8rem; }
.re-frequency-note { display: block; color: var(--faint); font-size: .68rem; margin-top: 4px; }
.re-reason { margin: 8px 0 0; border-top: 1px solid var(--line); }
.re-reason > summary { display: flex; align-items: center; gap: 8px; width: max-content; padding: 13px 0; color: var(--muted); cursor: pointer; font-size: .78rem; font-weight: 700; }
.re-reason > summary span { padding: 2px 6px; border: 1px solid var(--line); border-radius: 999px; color: var(--faint); font-size: .6rem; font-weight: 600; }
.re-reason-body { padding: 1px 0 14px; }
.re-reason-body > label { font-weight: 700; font-size: .9rem; }
.re-reason-body > p { margin: 5px 0 9px; font-size: .76rem; color: var(--muted); max-width: 750px; }
.re-reason textarea { width: 100%; min-height: 100px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); resize: vertical; font-size: .88rem; line-height: 1.6; }
.re-reason textarea::placeholder { color: var(--faint); }
.re-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding: 20px 0 5px; border-top: 1px solid var(--line); }
.re-footer > div:first-child { display: flex; flex-direction: column; gap: 5px; }
.re-footer strong { font-size: .86rem; }
.re-footer span { color: var(--muted); font-size: .74rem; max-width: 500px; }
.re-footer-actions { display: flex; gap: 8px; flex-shrink: 0; }
.re-footer-actions button { font-size: .84rem; }
.re-error { padding: 13px 16px; border: 1px solid #955950; border-radius: 9px; color: #ffc8bf; background: #341e1b; margin: 15px 0; font-size: .85rem; }
.re-error[hidden] { display: none; }
.re-loading { padding: 80px 25px; border: 1px dashed var(--line); border-radius: 15px; color: var(--muted); text-align: center; }
.re-load-error strong { display: block; color: var(--red); font-size: 1.1rem; margin-bottom: 8px; }
.re-result-overview, .re-feedback { margin: 26px 0; padding: 22px; background: linear-gradient(135deg, #183123, #101d16); border: 1px solid #41654e; border-radius: 17px; }
.re-feedback-intro { color: var(--muted); font-size: .8rem; margin: 7px 0 18px; }
.re-feedback-heading { display: flex; gap: 20px; justify-content: space-between; align-items: start; }
.re-feedback-heading .eyebrow { font-size: .67rem; margin-bottom: 6px; }
.re-feedback-heading h3 { font-size: 1.25rem; letter-spacing: -.025em; }
.re-next-due { color: var(--muted); font-size: .73rem; display: flex; flex-direction: column; flex: none; text-align: right; }
.re-next-due strong { color: var(--text); font-size: 1rem; }
.re-score-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; margin: 20px 0 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(5,16,10,.25); }
.re-score-grid > div { padding: 16px 20px; }
.re-score-grid > div + div { border-left: 1px solid var(--line); }
.re-score-grid span { display: block; color: var(--muted); font-size: .76rem; }
.re-score-grid strong { display: block; color: var(--text); font-size: 2.1rem; letter-spacing: -.04em; line-height: 1.35; }
.re-score-grid .re-score-main strong { color: var(--green); }
.re-score-grid.re-ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.re-score-grid small { margin-left: 4px; color: var(--faint); font-size: .85rem; font-weight: 500; letter-spacing: 0; }
.re-score-grid p { color: var(--faint); font-size: .72rem; margin: 0; }
.re-scoring-note { font-size: .75rem; color: var(--muted); margin: 13px 0 23px; }
.re-scoring-note summary { cursor: pointer; width: max-content; }
.re-scoring-note p { max-width: 860px; line-height: 1.65; margin: 10px 0 0; }
.re-feedback-filters { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 13px; }
.re-feedback-filters button { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted); padding: 6px 9px; font-size: .7rem; cursor: pointer; }
.re-feedback-filters button.active { border-color: #669378; color: var(--text); background: #234632; }
.re-feedback-filters button span { margin-left: 4px; color: var(--green); }
.re-differences { max-height: 345px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.re-difference-head, .re-difference-row { display: grid; grid-template-columns: .6fr .7fr .7fr .7fr 2fr; gap: 8px; align-items: center; width: 100%; padding: 9px 13px; text-align: left; }
.re-build-differences .re-difference-head, .re-build-differences .re-difference-row { grid-template-columns: .6fr .7fr .7fr 2fr; }
.re-difference-head { position: sticky; top: 0; z-index: 1; background: #21382a; color: var(--muted); font-size: .66rem; }
.re-difference-row { background: rgba(16,31,22,.8); border: 0; border-top: 1px solid var(--line); color: var(--text); cursor: pointer; font-size: .76rem; }
.re-difference-row > span:last-child { color: var(--muted); font-size: .72rem; }
.re-difference-row:hover { background: #284532; }
.re-no-differences { margin: 0; padding: 20px; color: var(--muted); font-size: .85rem; }
.re-teaching { margin-top: 26px; }
.re-teaching h3 { margin-bottom: 15px; }
.re-teaching article { padding: 18px 0; border-top: 1px solid var(--line); }
.re-teaching h4 { margin: 0 0 9px; font-size: .96rem; }
.re-teaching p { color: #c9dad0; font-size: .85rem; line-height: 1.75; margin: 9px 0; white-space: pre-line; max-width: 870px; }
.re-teaching a { font-size: .78rem; color: var(--blue); text-decoration: none; }
.re-teaching a:hover { text-decoration: underline; }
.re-example-hands { display: flex; flex-wrap: wrap; gap: 6px; }
.re-example-hands button { padding: 3px 8px; border: 1px solid #4a7059; border-radius: 5px; background: #254631; color: var(--text); font-size: .74rem; cursor: pointer; }
.re-saved-reason { padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: rgba(9,20,13,.55); margin-top: 20px; }
.re-saved-reason h4 { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .86rem; margin: 0 0 10px; }
.re-saved-reason h4 span { color: var(--faint); font-weight: 400; font-size: .74rem; }
.re-saved-reason p { font-size: .86rem; color: var(--muted); white-space: pre-wrap; margin: 0; }
.re-related-reports { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: .79rem; align-items: baseline; }
.re-related-reports strong { font-weight: 600; color: var(--muted); }
.re-related-reports a { color: var(--blue); text-decoration: none; }
.re-related-reports a:hover { text-decoration: underline; }
.re-hand-feedback { display: flex; flex-direction: column; margin-left: auto; max-width: 380px; gap: 3px; }
.re-hand-feedback strong { color: var(--amber); font-size: .86rem; }
.re-hand-feedback.is-correct strong { color: var(--green); }
.re-hand-feedback span { color: var(--muted); font-size: .73rem; }
.re-hand-feedback details { margin-top: 5px; color: var(--muted); font-size: .73rem; }
.re-hand-feedback details summary { cursor: pointer; }
.re-hand-feedback details span { display: block; margin-top: 5px; }
@media (min-width: 1500px) { .re-cell-hand { font-size: .8rem; } }
@media (max-width: 1020px) {
  .re-toolbar-actions { margin-left: 0; }
  .re-toolbar-hand { min-width: 230px; padding-left: 0; border-left: 0; }
  .re-chart-card { padding: 11px; }
  .re-range-grid { gap: 2px; }
  .re-cell-hand { font-size: .67rem; }
  .re-cell-frequency { font-size: .53rem; }
  .re-frequency-control { min-width: 210px; }
}
@media (max-width: 780px) {
  .re-question-layout { gap: 12px; }
  .re-situation { display: block; }
  .re-action-order { display: flex; margin-top: 10px; }
  .re-action-order::before { top: 17px; bottom: 17px; left: 13px; right: auto; width: 1px; height: auto; }
  .re-range-change { display: grid; }
  .re-players-behind { margin-top: 10px; padding: 10px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .re-question-toolbar { align-items: stretch; flex-direction: column; }
  .re-question-toolbar .re-brushes { width: 100%; }
  .re-question-toolbar .re-brushes button { flex: 1; min-width: 0; }
  .re-question-toolbar .re-toolbar-actions { width: 100%; }
  .re-question-result { align-items: start; flex-direction: column; gap: 3px; }
  .re-question-result span { text-align: left; }
  .re-category-action-detail { width: 100%; min-width: 0; max-width: none; margin-top: 5px; padding: 8px 0 0; border-top: 1px solid rgba(131,181,150,.28); border-left: 0; }
  .re-change-review > header { align-items: start; flex-direction: column; gap: 5px; }
  .re-change-review > header p { text-align: left; }
  .re-change-groups { grid-template-columns: 1fr; }
  .re-category-step { align-items: start; flex-direction: column; }
  .re-category-nav { width: 100%; justify-content: space-between; }
  .re-chart-pair { grid-template-columns: 1fr; gap: 14px; }
  .re-chart-card { padding: 15px; }
  .re-cell { aspect-ratio: 1.1 / 1; }
  .re-cell-hand { font-size: clamp(.65rem, 2.5vw, .92rem); }
  .re-cell-frequency { font-size: clamp(.5rem, 1.9vw, .7rem); }
  .re-range-grid { gap: 3px; }
  .re-chart-tools { align-items: start; flex-direction: column; gap: 10px; }
  .re-hand-detail { gap: 18px; }
  .re-frequency-control { max-width: none; min-width: 240px; margin-left: 0; }
  .re-toolbar-hand { width: 100%; grid-template-columns: 70px minmax(0,1fr); }
  .re-footer { align-items: start; flex-direction: column; }
  .re-footer-actions { align-self: stretch; }
  .re-footer-actions .primary { flex: 1; }
  .re-score-grid > div { padding: 13px 12px; }
  .re-score-grid strong { font-size: 1.8rem; }
  .re-result-overview, .re-feedback { padding: 17px; }
  .re-poker-table-arena { width: calc(100% - 18px); height: calc(100% - 26px); }
  .re-poker-table-arena .re-table-seat { width: 76px; padding: 4px 5px; }
  .re-poker-table-arena .re-seat-name strong { font-size: .58rem; }
  .re-poker-table-arena .re-table-seat > span:not(.re-seat-name), .re-poker-table-arena .re-table-seat small { font-size: .45rem; }
}
@media (max-width: 460px) {
  .re-category-step { padding: 14px; }
  .re-category-nav { align-items: start; flex-direction: column-reverse; }
  .re-category-dots { width: 100%; justify-content: space-between; }
  .re-category-dots button { width: 27px; height: 27px; }
  .re-topline { gap: 8px; }
  .re-save-status { font-size: .67rem; }
  .re-toolbar { padding: 13px; gap: 12px; }
  .re-brushes { width: 100%; gap: 4px; }
  .re-brushes button { min-width: 0; flex: 1; padding: 5px 3px; font-size: .73rem; }
  .re-brushes button:first-child { min-width: 54px; }
  .re-toolbar-actions button { padding: 8px 9px; font-size: .7rem; }
  .re-chart-card { padding: 10px; }
  .re-chart-heading h3 { font-size: .85rem; }
  .re-range-grid { gap: 2px; }
  .re-cell-hand { font-size: .6rem; }
  .re-cell-frequency { font-size: .49rem; margin-top: 1px; }
  .re-cell.is-selected { box-shadow: inset 0 0 0 1px var(--re-accent); }
  .re-selected-title { min-width: 78px; }
  .re-selected-values { gap: 10px 15px; }
  .re-selected-values strong { font-size: 1.05rem; }
  .re-frequency-control { min-width: 200px; }
  .re-score-grid { grid-template-columns: 1fr 1fr; }
  .re-score-grid .re-score-main { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .re-score-grid > div:nth-child(2) { border-left: 0; }
  .re-score-grid.re-ev-grid { grid-template-columns: 1fr; }
  .re-score-grid.re-ev-grid > div + div { border-left: 0; }
  .re-feedback-heading h3 { font-size: 1.05rem; }
  .re-next-due { font-size: .65rem; }
  .re-difference-head, .re-difference-row { grid-template-columns: 34px 42px 42px 42px minmax(75px,1fr); padding: 8px; gap: 4px; font-size: .68rem; }
  .re-difference-row > span:last-child { font-size: .62rem; }
}
@media (max-width: 650px) {
  .re-question-layout { grid-template-columns: 1fr; }
  .re-question-layout.re-range-tracker-layout { grid-template-columns: 1fr; }
  .re-situation { position: static; }
  .re-question-progress > span { display: none; }
  .re-question-progress button { min-width: 105px; }
  .re-tracker-heading { align-items: start; flex-direction: column; gap: 4px; }
  .re-tracker-heading > p { text-align: left; }
  .re-arena-center { min-height: 530px; }
  .re-seat-range-popover { width: min(220px, 48%); }
}
@media (prefers-reduced-motion: reduce) { .re-cell { transition: none; } }
.re-action-cell.has-ev-loss { outline: 1px solid #f4bd66; outline-offset: -2px; }
.re-ev-feedback { margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.re-ev-feedback h3 { margin: 0 0 8px; }
.re-ev-feedback p { color: var(--muted); font-size: .8rem; line-height: 1.5; }
.re-ev-table-wrap { overflow-x: auto; }
.re-ev-feedback table { width: 100%; border-collapse: collapse; font-size: .8rem; font-variant-numeric: tabular-nums; }
.re-ev-feedback th, .re-ev-feedback td { padding: 9px 8px; text-align: right; border-bottom: 1px solid var(--line); }
.re-ev-feedback th:first-child { text-align: left; }
.re-ev-feedback button { padding: 5px 8px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 5px; cursor: pointer; }
.re-ev-feedback button:focus-visible { outline: 2px solid var(--re-accent); }
.re-membership-score, .re-membership-errors { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 14px 0; }
.re-membership-score > div { display: flex; flex-direction: column; gap: 5px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; }
.re-membership-score strong { font-size: 1.2rem; }
.re-membership-score small { color: var(--muted); }
.re-membership-errors h4 { margin: 0 0 8px; }
.re-membership-hands { display: flex; flex-wrap: wrap; gap: 6px; }
.re-membership-hands button { display: flex; gap: 7px; align-items: center; padding: 6px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: var(--surface); cursor: pointer; }
.re-membership-hands span { font-size: .7rem; color: var(--muted); }
@media (max-width: 650px) { .re-membership-score, .re-membership-errors { grid-template-columns: 1fr; } }
.re-seat-range-popover footer { flex-wrap: wrap; }
.re-tracker-feedback { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.re-tracker-feedback h3 { margin: 0 0 8px; }
.re-tracker-feedback p { line-height: 1.5; font-size: .85rem; color: var(--muted); }
.re-tracker-feedback .re-zero-reference { border-left: 3px solid var(--amber); padding-left: 12px; }
.re-tracker-comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 14px; margin-top: 16px; }
.re-tracker-compare-board { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #0c1711; }
.re-tracker-compare-board > header { min-height: 80px; }
.re-tracker-compare-board h4 { margin: 0 0 4px; font-size: .9rem; }
.re-tracker-compare-board > header p { margin: 0; font-size: .7rem; }
.re-tracker-compare-grid { container-type: inline-size; --re-open: var(--re-action-composite); --re-fold: var(--re-action-other); }
.re-tracker-compare-grid .re-cell { min-height: 26px; aspect-ratio: 1 / 1; }
.re-tracker-compare-grid .re-cell-hand { flex: none; font-size: clamp(.45rem,2.7cqw,.8rem); white-space: nowrap; }
.re-tracker-compare-grid .re-cell-frequency { flex: none; font-size: clamp(.34rem,2.1cqw,.6rem); white-space: nowrap; }
.re-tracker-selected { margin-top: 14px; }
.re-tracker-selected > strong { font-size: .85rem; }
@media (max-width: 800px) { .re-tracker-comparison { grid-template-columns: minmax(0,1fr); } }
.re-seat-range-popover > p { font-size: .75rem; line-height: 1.5; }
.re-varied-tracker .re-poker-table-arena { position: absolute; margin: 0; }
@media (max-width: 650px) {
  .re-varied-tracker .re-question-progress { width: 100%; justify-content: space-between; }
  .re-varied-tracker .re-question-progress > span { display: block; }
  .re-varied-tracker .re-arena-center { display: flex; flex-direction: column; height: auto; min-height: 0; max-height: none; padding: 8px; }
  .re-varied-tracker .re-poker-table-arena { position: relative; flex: none; left: auto; top: auto; width: calc(100% - 42px); height: 330px; margin: 0 auto; transform: none; }
  .re-varied-tracker .re-seat-range-popover { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: 100%; transform: none; }
  .re-varied-tracker .re-mini-range { container-type: inline-size; }
  .re-varied-tracker .re-mini-range .re-cell-hand { font-size: clamp(.5rem,2.7cqw,.7rem); }
  .re-varied-tracker .re-mini-range .re-cell-frequency { font-size: clamp(.4rem,2.1cqw,.55rem); }
  .re-varied-tracker .re-arena-state { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: 100%; margin-top: 8px; transform: none; }
}

@media (max-width: 700px) {
  .re-seat-range-popover.re-band-popover { position: relative; inset: auto; transform: none; width: 100%; margin: 0; }
  .re-tracker-arena:has(.re-band-popover) .re-arena-center { display: flex; flex-direction: column; height: auto; min-height: 0; max-height: none; overflow: visible; padding: 8px; }
  .re-tracker-arena:has(.re-band-popover) .re-poker-table-arena { position: relative; flex: none; left: auto; top: auto; width: calc(100% - 42px); height: 330px; margin: 0 auto; transform: none; }
  .re-tracker-arena:has(.re-band-popover) .re-arena-state { position: static; width: 100%; transform: none; margin: 10px auto; }
  .re-tracker-workspace .re-question-progress { width: 100%; justify-content: space-between; }
  .re-tracker-workspace .re-question-progress > span { display: block; }
}
/* Opponent changes use the existing action editor and EV feedback. */
.re-transform-workspace { max-width: 1120px; }
.re-transform-workspace .re-question-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
.rt-scene { border: 1px solid #34493c; border-radius: 16px; overflow: hidden; background: #101c16; }
.rt-scene-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid #2b3b31; }
.rt-kicker { font-size: .62rem; letter-spacing: .16em; color: #a6b7ac; }
.rt-scene-heading h2 { margin: 5px 0 0; font-size: 1.2rem; }
.rt-scene-heading h2 span { color: #b7c8be; font-weight: 400; }
.rt-scene-heading > p { margin: 0; display: grid; gap: 5px; text-align: right; color: #a6b7ac; font-size: .72rem; }
.rt-scene-heading > p strong { color: #e4eee7; font-weight: 500; }
.rt-scene-body { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; padding: 14px 24px 20px; }
.rt-table-panel { min-width: 0; }
.rt-table { position: relative; height: 240px; max-width: 520px; margin: 0 auto; }
.rt-felt { position: absolute; inset: 43px 32px; border: 5px solid #2c4335; border-radius: 50%; background: radial-gradient(ellipse at center,#203e2e,#162d21); box-shadow: 0 0 0 1px #425a48, inset 0 0 25px #0b1a12; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; text-align: center; padding: 20px 55px; }
.rt-felt > span { color: #94ad9c; font-size: .55rem; letter-spacing: .14em; }
.rt-felt > strong { font-size: .87rem; line-height: 1.3; }
.rt-felt > small { color: #bacbc0; font-size: .65rem; }
.rt-seat { position: absolute; width: 108px; min-height: 49px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 7px 4px; border: 1px solid #3b4f42; border-radius: 9px; background: #17251c; box-shadow: 0 4px 12px #0003; }
.rt-seat > strong { font-size: .77rem; }
.rt-seat > span { font-size: .61rem; color: #bbc7bf; }
.rt-seat > small { font-size: .55rem; color: #f0c479; }
.rt-seat i { display: inline-flex; align-items: center; justify-content: center; margin-left: 5px; width: 13px; height: 13px; border-radius: 50%; font-size: .5rem; font-style: normal; background: #c4cec6; color: #17221b; }
.rt-seat-utg { top: 4px; left: 22%; transform: translateX(-50%); }
.rt-seat-hj { top: 4px; right: 22%; transform: translateX(50%); }
.rt-seat-co { top: 50%; right: 0; transform: translateY(-50%); }
.rt-seat-btn { bottom: 4px; right: 22%; transform: translateX(50%); }
.rt-seat-sb { bottom: 4px; left: 22%; transform: translateX(-50%); }
.rt-seat-bb { top: 50%; left: 0; transform: translateY(-50%); }
.rt-seat.is-you { border: 2px solid #8dd7a5; background: #20442f; }
.rt-seat.is-you > span { color: #c5f6d6; font-weight: 700; }
.rt-seat.is-changed { border-color: #dca953; background: #372c1b; }
.rt-seat.is-folded { opacity: .55; }
.rt-change-panel { min-width: 0; }
.rt-starting { display: flex; gap: 6px 12px; flex-wrap: wrap; align-items: baseline; padding: 0 0 12px; font-size: .7rem; color: #aabcb0; }
.rt-starting strong { font-weight: 500; color: #dae5dd; }
.rt-change-card { padding: 15px 16px; border: 1px solid #75603a; border-radius: 12px; background: #24251a; }
.rt-change-card + .rt-change-card { margin-top: 10px; }
.rt-change-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .8rem; color: #f1c67f; }
.rt-change-label > span { border: 1px solid #685735; border-radius: 20px; padding: 4px 8px; font-size: .62rem; white-space: nowrap; }
.rt-policy { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px 14px; margin: 17px 0; }
.rt-policy > strong { font-size: 1.4rem; color: #fff0d2; }
.rt-policy > span { grid-column: 1; font-size: .85rem; }
.rt-policy > b { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 1.45rem; color: #f1c67f; text-align: right; }
.rt-policy > b small { display: block; font-size: .59rem; font-weight: 400; color: #c7bea8; }
.rt-conditional { border-top: 1px solid #544a32; padding-top: 12px; }
.rt-conditional > small, .rt-history > small { display: block; margin-bottom: 7px; font-size: .61rem; color: #c8bfa9; }
.rt-path { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .64rem; line-height: 1.6; }
.rt-path > span { border-radius: 4px; padding: 2px 6px; background: #ffffff08; }
.rt-path > b { color: #89988d; font-weight: 400; }
.rt-path-changed { color: #f1c67f; }
.rt-history { padding: 6px 0 0; }
.rt-rule { font-size: .86rem; line-height: 1.55; margin: 14px 0; }
.rt-rule-note { font-size: .68rem; color: #c8bfa9; line-height: 1.5; }
.rt-plain-changes > div { display: grid; gap: 8px; padding: 14px 0; }
.rt-plain-changes small { color: #a6b7ac; }
.rt-plain-changes strong { font-size: 1.1rem; }
.rt-plain-changes strong span { color: #eaba68; padding: 0 8px; }
.rt-task { display: flex; gap: 12px; padding: 16px 24px; border-top: 1px solid #34493c; background: #1b3023; }
.rt-task > span { color: #92d4a8; font-size: 1.4rem; }
.rt-task strong { font-size: .91rem; color: #e1f4e7; }
.rt-task p { font-size: .73rem; line-height: 1.5; margin: 5px 0 0; color: #b5c7bb; }
.rt-details { padding: 12px 24px; font-size: .7rem; color: #b4c2b9; }
.rt-details summary { cursor: pointer; width: fit-content; }
.rt-details summary:focus-visible { outline: 2px solid #92d4a8; outline-offset: 4px; }
.rt-details p { line-height: 1.6; max-width: 850px; }
@media (max-width: 800px) {
  .rt-scene-body { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 10px 16px 16px; }
  .rt-scene-heading { padding: 16px; align-items: start; }
  .rt-scene-heading h2 { font-size: 1.08rem; }
  .rt-scene-heading h2 span { display: block; margin-top: 4px; font-size: .8rem; }
  .rt-scene-heading > p { font-size: .61rem; }
  .rt-task, .rt-details { padding: 13px 16px; }
}
@media (max-width: 430px) {
  .rt-table { height: 218px; }
  .rt-seat { width: 83px; }
  .rt-seat > span { font-size: .55rem; }
  .rt-seat > small { font-size: .49rem; }
  .rt-felt { inset: 40px 21px; padding: 16px 57px; }
  .rt-felt > strong { font-size: .71rem; }
  .rt-policy > strong { font-size: 1.25rem; }
}
.re-transform-menu { max-width: 960px; margin: 0 auto; padding: 24px; }
.re-transform-menu h2 { margin: 16px 0 12px; }
.re-transform-menu > p { max-width: 760px; line-height: 1.6; }
.re-transform-start { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 24px 0; }
.re-transform-challenges { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 10px; margin-top: 16px; }
.re-transform-challenges button { display: grid; gap: 8px; text-align: left; padding: 16px; }
.re-transform-challenges button span { font-weight: normal; opacity: .75; }
.re-transform-condition, .re-transform-change { display: grid; gap: 6px; margin: 12px 0; padding: 12px; border: 1px solid var(--line, #344046); border-radius: 8px; }
.re-transform-condition p { margin: 0; line-height: 1.5; }
.re-transform-timing { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--accent, #97d9ad); }
.re-transform-situation h3 { margin: 20px 0 8px; font-size: .95rem; }
.re-transform-scope { font-size: .8rem; line-height: 1.5; opacity: .8; }
.re-transform-original { margin: 12px 0; padding: 12px; border: 1px solid var(--line, #344046); border-radius: 8px; }
.re-transform-original .re-range-grid { max-width: 600px; margin: 14px 0; }
.re-transform-original summary { cursor: pointer; }
.re-transform-recap { display: grid; gap: 12px; margin: 20px 0; }
.re-transform-recap > div { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--line, #344046); border-radius: 8px; }
.re-transform-workspace .re-question-heading { align-items: start; flex-wrap: wrap; }
.re-transform-workspace .re-question-meta { flex-wrap: wrap; max-width: 100%; }
@media (max-width: 650px) {
  .re-transform-menu { padding: 16px; }
  .re-transform-workspace .re-question-progress { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .re-transform-workspace .re-question-progress > span { display: block; }
}
