/* estate-flowers / rehearse.css: themable with variables. Set them on :root or on #rehearse. Every class is rh-*. */
#chooser, #stage { --a: var(--rh-accent, #0D7377); --a-soft: var(--rh-accent-soft, #e7f3f3); --ink: var(--rh-ink, #23293A); --mut: var(--rh-muted, #5A6478); --bd: var(--rh-border, #E2E5EC); --bg: var(--rh-surface, #fff); --ok: var(--rh-ok, #1f6b45); --ok-s: var(--rh-ok-soft, #e4f2ea); --warn: var(--rh-warn, #7a4a1c); --warn-s: var(--rh-warn-soft, #fbf3ec); --no: var(--rh-no, #8a3b2e); --no-s: var(--rh-no-soft, #f8e7e2); --r: var(--rh-radius, 12px); --disp: var(--rh-display, inherit); color: var(--ink); }
.rh-tiles, #scenario-grid { display: grid; grid-template-columns: 1fr; gap: 14px; } @media (min-width: 680px) { #scenario-grid { grid-template-columns: 1fr 1fr; } }
.rh-tile { display: block; text-align: left; width: 100%; font: inherit; color: inherit; cursor: pointer; border: 1px solid var(--bd); border-radius: var(--r); padding: 16px 18px; background: var(--bg); min-height: 44px; }
.rh-tile:hover { border-color: var(--a); } .rh-tile h3 { font-family: var(--disp); font-size: 1.05rem; margin: 2px 0 4px; } .rh-tile p { font-size: .9rem; color: var(--mut); line-height: 1.5; margin: 0; }
.rh-nk { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--a); }
.rh-btn { font: inherit; font-size: 14px; font-weight: 700; color: #fff; background: var(--a); border: 1px solid var(--a); border-radius: 100px; padding: 10px 22px; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; } .rh-btn:hover { filter: brightness(.9); }
.rh-btn.rh-ghost { background: var(--bg); color: var(--a); } .rh-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.rh-btn:focus-visible, .rh-tile:focus-visible, #stage textarea:focus-visible, #stage summary:focus-visible, .rh-opt input:focus-visible { outline: 3px solid var(--a); outline-offset: 2px; }
.rh-head h2 { font-family: var(--disp); font-size: 1.5rem; margin: 0; } .rh-who { font-size: 13px; color: var(--a); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 4px 0 0; } .rh-set { margin: 10px 0 0; color: var(--mut); }
.rh-opt { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--mut); margin-top: 14px; min-height: 44px; }
.rh-log { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; max-height: 420px; overflow-y: auto; padding: 4px; }
.rh-b { border-radius: 14px; padding: 12px 16px; max-width: 88%; } .rh-b p { margin: 2px 0 0; } .rh-n { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rh-p { background: var(--warn-s); align-self: flex-start; border: 1px solid var(--bd); } .rh-p .rh-n { color: var(--warn); } .rh-d { background: var(--a-soft); align-self: flex-end; border: 1px solid var(--bd); } .rh-d .rh-n { color: var(--a); }
.rh-scene { align-self: center; color: var(--mut); font-style: italic; font-size: 14px; padding: 2px 8px; max-width: 100%; } .rh-scene .rh-n { display: none; }
.rh-box { margin-top: 16px; border-top: 1px solid var(--bd); padding-top: 16px; } .rh-box label, .rh-lab { display: block; font-weight: 600; margin: 12px 0 8px; }
#stage textarea { width: 100%; font: inherit; font-size: 16px; line-height: 1.6; padding: 12px 14px; border: 1px solid var(--bd); border-radius: 10px; background: var(--bg); color: var(--ink); resize: vertical; }
.rh-count { font-size: 12.5px; font-weight: 700; color: var(--mut); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 6px; } .rh-hint { font-size: 13px; color: var(--mut); margin: 8px 0 0; } .rh-msg { font-size: 14px; color: var(--no); margin-top: 8px; min-height: 1em; }
.rh-fb { border: 1px solid var(--bd); border-radius: var(--r); padding: 18px 20px; background: var(--bg); } .rh-fb > * + * { margin-top: 12px; }
.rh-met { border-color: #9fcdb4; background: var(--ok-s); } .rh-partly { border-color: #e3c7a8; background: var(--warn-s); } .rh-missed { border-color: #d9a597; background: var(--no-s); }
.rh-pill { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 100px; padding: 3px 12px; background: var(--bg); border: 1px solid currentColor; margin: 0; } .rh-met .rh-pill { color: var(--ok); } .rh-partly .rh-pill { color: var(--warn); } .rh-missed .rh-pill { color: var(--no); }
.rh-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; } .rh-list .y { color: var(--ok); } .rh-list .n { color: var(--no); } .rh-note { font-size: 13.5px; color: var(--mut); }
#stage details { border: 1px solid var(--bd); border-radius: 10px; background: var(--bg); } #stage details > summary { cursor: pointer; padding: 12px 16px; font-weight: 600; min-height: 44px; display: flex; align-items: center; } #stage details[open] > summary { border-bottom: 1px solid var(--bd); } #stage details > div { padding: 12px 16px; color: var(--mut); }
.rh-debrief h3 { font-family: var(--disp); font-size: 1.3rem; margin: 0 0 8px; } .rh-debrief > * + * { margin-top: 12px; } .rh-tbl { overflow-x: auto; } .rh-tbl table { border-collapse: collapse; width: 100%; font-size: 14.5px; } .rh-tbl th, .rh-tbl td { border: 1px solid var(--bd); padding: 8px 10px; text-align: left; vertical-align: top; } .rh-tbl th { background: var(--a-soft); }
@media print { .rh-row, #chooser { display: none !important; } .rh-log { max-height: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
