.rh-root { --mint: #8FFFD8; --violet: #D9A6FF; --gold: #FFDE8A; --cyan: #7FE7FF; --green: #86EFAC; --amber: #FDBA74; --ice: #A7E8FF;
    --ink: #EEEDF8; --ink-2: #A9A7C6; --line: rgba(190, 170, 255, 0.16);
    position: relative; min-height: 100vh; width: 100%; box-sizing: border-box; padding: 16px clamp(16px, 2.4vw, 40px) 64px; color: var(--ink); font-size: 16px;
    font-family: 'Segoe UI', 'IBM Plex Sans', system-ui, sans-serif;
    background: radial-gradient(60% 40% at 50% 0%, rgba(120, 90, 230, 0.20), transparent 65%), radial-gradient(40% 30% at 0% 40%, rgba(143, 255, 216, 0.06), transparent 70%),
        radial-gradient(40% 30% at 100% 40%, rgba(255, 222, 138, 0.06), transparent 70%), #0B0A1C; }
.rh-root[hidden] { display: none; }
.rh-root *, .rh-root *::before, .rh-root *::after { box-sizing: border-box; }
.rh-root :focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.rh-back, .rh-pillback { font: inherit; font-size: 15px; font-size: max(16px, 15px); color: var(--mint); background: rgba(143, 255, 216, 0.06); border: 1px solid rgba(143, 255, 216, 0.3); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.rh-pillback { margin-bottom: 14px; }
.rh-crown { display: flex; justify-content: center; margin: 8px 0 14px; }
.rh-ribbon { display: flex; align-items: center; gap: 18px; padding: 12px clamp(24px, 6vw, 90px); min-width: min(720px, 100%); justify-content: center; cursor: pointer; font: inherit;
    border-radius: 16px; border: 1px solid rgba(190, 170, 255, 0.35); color: #fff;
    background: linear-gradient(180deg, rgba(40, 34, 92, 0.95), rgba(18, 15, 44, 0.95)); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06); transition: box-shadow .25s, transform .25s; }
.rh-ribbon:hover { transform: translateY(-1px); box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5), 0 0 30px rgba(143, 255, 216, 0.14); }
.rh-ribbon[aria-pressed="true"] { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet), 0 0 34px rgba(217, 166, 255, 0.25); }
.rh-ribbon-line { flex: 1; max-width: 120px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent); }
.rh-r-a, .rh-r-b { font-family: 'Orbitron', 'Rajdhani', sans-serif; font-weight: 900; font-size: clamp(26px, 3.2vw, 40px); font-size: max(16px, clamp(26px, 3.2vw, 40px)); letter-spacing: 0.14em; }
.rh-r-a { color: var(--mint); text-shadow: 0 0 18px rgba(143, 255, 216, 0.45); }
.rh-r-b { color: var(--gold); text-shadow: 0 0 18px rgba(255, 222, 138, 0.45); }
.rh-ribbon b { color: var(--violet); font-size: 20px; text-shadow: 0 0 12px var(--violet); }
.rh-suites { display: flex; justify-content: center; gap: 14px; margin-bottom: 18px; }
.rh-suite { display: inline-flex; align-items: center; gap: 12px; min-width: 230px; justify-content: center; padding: 14px 26px; font: inherit; cursor: pointer;
    font-family: 'Orbitron', 'Rajdhani', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: 0.32em; color: var(--ink-2);
    border-radius: 12px; border: 1px solid var(--line); background: rgba(16, 14, 40, 0.8); transition: color .2s, border-color .2s, box-shadow .2s; }
.rh-suite b { color: var(--gold); letter-spacing: 0; }
.rh-suite[aria-selected="true"] { color: #fff; border-color: rgba(127, 231, 255, 0.7); background: linear-gradient(180deg, rgba(48, 46, 120, 0.9), rgba(24, 22, 64, 0.9));
    box-shadow: 0 0 0 1px rgba(127, 231, 255, 0.35), 0 0 26px rgba(127, 231, 255, 0.18); }
.rh-belt { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(30, 27, 70, 0.92), rgba(15, 13, 36, 0.92)); margin-bottom: 18px; }
.rh-cell { display: flex; flex-direction: column; gap: 3px; padding: 14px 18px; border-right: 1px solid rgba(255, 255, 255, 0.06); min-width: 0; }
.rh-cell:last-child { border-right: 0; }
.rh-cell b { font-size: clamp(24px, 2.2vw, 32px); font-size: max(16px, clamp(24px, 2.2vw, 32px)); font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.05; }
.rh-cell span { font-size: 13px; font-size: max(16px, 13px); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2); }
.rh-cell em { font-style: normal; font-size: 14px; font-size: max(16px, 14px); color: var(--mint); opacity: 0.8; overflow-wrap: anywhere; }
.rh-rooms { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); }
.rh-room { --h: var(--gold); display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; font: inherit; cursor: pointer; color: var(--ink-2); background: transparent; border: 0;
    border-bottom: 2px solid transparent; font-weight: 700; font-size: 15px; font-size: max(16px, 15px); letter-spacing: 0.2em; transition: color .2s, border-color .2s, background .2s; }
.rh-room-glyph { color: var(--h); font-size: 17px; letter-spacing: 0; }
.rh-room b { font-size: 13px; font-size: max(16px, 13px); letter-spacing: 0; padding: 2px 9px; border-radius: 999px; color: #0B0A1C; background: color-mix(in srgb, var(--h) 75%, #fff); font-variant-numeric: tabular-nums; }
.rh-room:hover { color: #fff; }
.rh-room[aria-selected="true"] { color: #fff; border-bottom-color: var(--h); background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--h) 10%, transparent)); }
.rh-say { margin: 12px 0 14px; color: var(--ink-2); font-size: 16px; }
.rh-frame { --c: var(--ice); border-radius: 16px; padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--c) 25%, transparent); background: rgba(18, 16, 42, 0.78); }
.rh-violet { --c: var(--violet); } .rh-amber { --c: var(--amber); } .rh-ice { --c: var(--ice); } .rh-gold { --c: var(--gold); } .rh-cyan { --c: var(--cyan); } .rh-green { --c: var(--green); }
.rh-frame-h, .rh-zone-h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 14px; font-size: max(16px, 14px); font-weight: 800; letter-spacing: 0.3em; color: var(--c); }
.rh-frame-h::before, .rh-zone-h::before { content: ''; width: 8px; height: 8px; transform: rotate(45deg); border-radius: 2px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.rh-frame-h::after, .rh-zone-h::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 45%, transparent), transparent); }
.rh-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.rh-zone { --c: var(--gold); padding: 12px 14px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--c) 28%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--c) 7%, rgba(20, 18, 46, 0.9)), rgba(14, 12, 34, 0.9)); min-width: 0; }
.rh-zone-h { margin-bottom: 10px; }
.rh-pills { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.08); }
.rh-pill { font: inherit; font-size: 15px; font-size: max(16px, 15px); color: var(--ink-2); background: transparent; border: 0; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.rh-pill:hover { color: #fff; }
.rh-pill[aria-pressed="true"] { color: #0B0A1C; font-weight: 700; background: color-mix(in srgb, var(--c) 80%, #fff); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 40%, transparent); }
.rh-input { width: 100%; font: inherit; font-size: 16px; color: #fff; background: rgba(8, 7, 22, 0.8); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; padding: 9px 16px; }
.rh-input:focus { outline: none; border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.rh-findrow { display: flex; gap: 8px; }
.rh-go { font: inherit; font-size: 15px; font-size: max(16px, 15px); font-weight: 700; color: #0B0A1C; background: var(--cyan); border: 0; border-radius: 999px; padding: 0 18px; cursor: pointer; }
.rh-note { margin: 8px 0; color: var(--ink-2); font-size: 15px; font-size: max(16px, 15px); }
.rh-volumes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 14px; }
.rh-volume { --h: var(--gold); display: flex; text-align: left; font: inherit; color: inherit; cursor: pointer; overflow: hidden; border-radius: 16px; padding: 0; min-width: 0;
    border: 1px solid color-mix(in srgb, var(--h) 26%, transparent); background: linear-gradient(180deg, #17153A, #0E0C26); transition: transform .2s, box-shadow .2s, border-color .2s; }
.rh-volume:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--h) 60%, transparent); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 30px color-mix(in srgb, var(--h) 16%, transparent); }
.rh-spine { flex: 0 0 64px; display: flex; align-items: center; justify-content: center; padding: 14px 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--h) 70%, #1a1240), color-mix(in srgb, var(--h) 25%, #120d30)); box-shadow: inset -8px 0 14px rgba(0, 0, 0, 0.35); }
.rh-spine span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 16px; letter-spacing: 0.12em; color: #140f2e;
    max-height: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rh-vol-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; min-width: 0; }
.rh-vol-kicker { font-size: 13px; font-size: max(16px, 13px); letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--h, var(--gold)) 85%, #fff); overflow-wrap: anywhere; }
.rh-vol-title { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: clamp(24px, 2.2vw, 30px); font-size: max(16px, clamp(24px, 2.2vw, 30px)); line-height: 1.1; color: #fff; }
.rh-vol-file { font-family: 'IBM Plex Mono', Consolas, monospace; font-size: 14px; font-size: max(16px, 14px); color: var(--ink-2); overflow-wrap: anywhere; }
.rh-vol-figs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 2px; }
.rh-fig { display: inline-flex; align-items: baseline; gap: 6px; }
.rh-fig b { font-size: 20px; color: #fff; font-variant-numeric: tabular-nums; }
.rh-fig i { font-style: normal; font-size: 14px; font-size: max(16px, 14px); color: var(--ink-2); }
.rh-vol-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rh-tag { font-size: 13px; font-size: max(16px, 13px); padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); color: var(--ink); }
.rh-tag-gold { color: var(--gold); border-color: rgba(255, 222, 138, 0.5); background: rgba(255, 222, 138, 0.08); }
.rh-tag-amber { color: var(--amber); border-color: rgba(253, 186, 116, 0.5); }
.rh-tag-dim { color: var(--ink-2); }
.rh-list { display: flex; flex-direction: column; gap: 4px; }
.rh-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 150px 160px 150px; gap: 12px; align-items: center; text-align: left; font: inherit; color: inherit; cursor: pointer;
    padding: 12px 16px; border-radius: 10px; border: 1px solid transparent; background: rgba(20, 18, 46, 0.6); }
.rh-row:hover { border-color: rgba(255, 222, 138, 0.35); background: rgba(30, 27, 66, 0.8); }
.rh-row-date, .rh-row-n { color: var(--ink-2); font-size: 15px; font-size: max(16px, 15px); font-variant-numeric: tabular-nums; }
.rh-row-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 21px; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rh-row-tag { font-size: 14px; font-size: max(16px, 14px); color: var(--gold); text-align: right; }
.rh-workhead h1 { margin: 2px 0 6px; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: clamp(32px, 3.6vw, 52px); font-size: max(16px, clamp(32px, 3.6vw, 52px)); color: #fff; }
.rh-chapters { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 10px; margin-top: 14px; }
.rh-chapter { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 12px; text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 14px 16px; border-radius: 12px;
    border: 1px solid var(--line); background: linear-gradient(180deg, #17153A, #0E0C26); transition: border-color .2s, transform .2s; }
.rh-chapter:hover { border-color: var(--gold); transform: translateY(-2px); }
.rh-chapter-n { grid-row: span 2; font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 22px; color: var(--gold); }
.rh-chapter-t { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; font-weight: 600; color: #fff; }
.rh-chapter-m { font-size: 14px; font-size: max(16px, 14px); color: var(--ink-2); }
.rh-reading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 460px); gap: 28px; align-items: start; }
.rh-text { max-width: 72ch; }
.rh-passage { --h: rgba(255, 255, 255, 0.12); font-family: var(--bk-serif, 'Source Serif 4', Georgia, serif); font-size: 18px; line-height: 1.75; color: var(--ink); margin: 0 0 14px; padding: 4px 0 4px 16px;
    border-left: 2px solid color-mix(in srgb, var(--h) 50%, transparent); cursor: pointer; transition: background .2s, border-color .2s; }
.rh-passage:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--h) 8%, transparent), transparent 60%); }
.rh-passage.rh-sel { border-left: 3px solid var(--h); background: linear-gradient(90deg, color-mix(in srgb, var(--h) 14%, transparent), transparent 70%); }
.rh-pending { color: var(--ink-2); }
.rh-bench { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
.rh-capgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 10px; }
.rh-cap { display: flex; flex-direction: column; gap: 8px; text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 14px 16px; border-radius: 14px; min-width: 0;
    border: 1px solid rgba(143, 255, 216, 0.16); background: linear-gradient(180deg, #151338, #0D0B24); transition: border-color .2s, transform .2s, box-shadow .2s; }
.rh-cap:hover { border-color: var(--mint); transform: translateY(-2px); box-shadow: 0 0 24px rgba(143, 255, 216, 0.12); }
.rh-cap-top { display: flex; gap: 8px; align-items: center; }
.rh-cap-type { font-size: 13px; font-size: max(16px, 13px); font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mint); }
.rh-cap-stage { font-size: 13px; font-size: max(16px, 13px); color: var(--violet); }
.rh-cap-seal { margin-left: auto; font-size: 13px; font-size: max(16px, 13px); color: var(--mint); }
.rh-cap-seal:not(.rh-seal-intact) { color: var(--amber); }
.rh-cap-text { font-family: var(--bk-serif, 'Source Serif 4', Georgia, serif); font-size: 16px; line-height: 1.55; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rh-cap-id { font-family: 'IBM Plex Mono', Consolas, monospace; font-size: 13px; font-size: max(16px, 13px); color: var(--ink-2); overflow-wrap: anywhere; }
.rh-capsule-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 480px); gap: 24px; align-items: start; }
.rh-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; margin: 0; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(18, 16, 42, 0.78); }
.rh-facts dt { font-size: 14px; font-size: max(16px, 14px); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.rh-facts dd { margin: 0; font-family: 'IBM Plex Mono', Consolas, monospace; font-size: 15px; font-size: max(16px, 15px); color: #fff; overflow-wrap: anywhere; }
.rh-link { font: inherit; font-family: 'IBM Plex Mono', Consolas, monospace; font-size: 15px; font-size: max(16px, 15px); color: var(--cyan); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-align: left; overflow-wrap: anywhere; }
.rh-kids { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.rh-kids h4 { margin: 0 0 4px; font-size: 14px; font-size: max(16px, 14px); letter-spacing: 0.24em; text-transform: uppercase; color: var(--mint); }
.rh-agora { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 12px 16px; border-radius: 12px;
    border: 1px solid rgba(255, 222, 138, 0.45); background: linear-gradient(90deg, rgba(255, 222, 138, 0.12), transparent); }
.rh-agora b { color: var(--gold); font-size: 15px; font-size: max(16px, 15px); letter-spacing: 0.08em; }
.rh-toolgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.rh-toolcard { --h: var(--ice); display: flex; flex-direction: column; gap: 6px; text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 18px; border-radius: 16px; min-width: 0;
    border: 1px solid color-mix(in srgb, var(--h) 30%, transparent); background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--h) 14%, transparent), transparent 60%), #120F2E;
    transition: transform .2s, box-shadow .2s, border-color .2s; }
.rh-toolcard:hover { transform: translateY(-3px); border-color: var(--h); box-shadow: 0 0 26px color-mix(in srgb, var(--h) 22%, transparent); }
.rh-toolglyph { font-size: 28px; color: var(--h); text-shadow: 0 0 14px var(--h); }
.rh-toolcard b { font-size: 19px; color: #fff; }
.rh-toolcard span:last-child { font-size: 15px; font-size: max(16px, 15px); color: var(--ink-2); }
.rh-tool { min-width: 0; }
@media (max-width: 1100px) {
    .rh-bar, .rh-reading, .rh-capsule-grid { grid-template-columns: minmax(0, 1fr); }
    .rh-belt { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rh-row { grid-template-columns: 96px minmax(0, 1fr) 120px; } .rh-row .rh-row-n:nth-of-type(2), .rh-row .rh-row-tag { display: none; }
}
@media (max-width: 600px) { .rh-belt { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rh-suite { min-width: 0; letter-spacing: 0.18em; } }
.rh-lineage { display: flex; flex-direction: column; gap: 0; margin-bottom: 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 222, 138, 0.2); background: rgba(18, 16, 42, 0.78); }
.rh-lineage h4 { margin: 0 0 8px; font-size: 14px; font-size: max(16px, 14px); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.rh-step { position: relative; display: grid; grid-template-columns: 16px 110px minmax(0, 1fr); gap: 10px; align-items: baseline; text-align: left; font: inherit; color: inherit; cursor: pointer;
    padding: 8px 6px 8px 0; background: none; border: 0; border-left: 1px dashed rgba(255, 222, 138, 0.25); margin-left: 7px; padding-left: 14px; animation: rh-step-in .35s ease-out both; animation-delay: calc(var(--d) * 70ms); }
.rh-step i { position: absolute; left: -6px; top: 13px; width: 11px; height: 11px; border-radius: 50%; background: #0B0A1C; border: 2px solid var(--gold); }
.rh-step-type { font-size: 13px; font-size: max(16px, 13px); font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.rh-step-text { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 18px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rh-step:hover .rh-step-text { color: #fff; }
.rh-step-here { cursor: default; }
.rh-step-here i { background: var(--mint); border-color: var(--mint); box-shadow: 0 0 12px var(--mint); }
.rh-step-here .rh-step-type { color: var(--mint); }
@keyframes rh-step-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.rh-find { max-width: 640px; margin: 18px auto 22px; }
.rh-find .rh-input { width: 100%; font-size: 16px; padding: 12px 18px; border-radius: 999px; }
.rh-volume-calm .rh-vol-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rh-volume-calm .rh-vol-title { font-size: 22px; }
.rh-vol-mark { font-size: 20px; color: var(--h); text-shadow: 0 0 12px var(--h); }
.rh-capgrid-calm { gap: 12px; }
.rh-cap-calm { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 120px; }
.rh-cap-calm .rh-cap-text { font-family: var(--bk-serif, 'Source Serif 4', Georgia, serif); font-size: 15px; font-size: max(16px, 15px); line-height: 1.55; color: #e7e0d0; }
.rh-cap-dots { display: flex; gap: 6px; }
.rh-cap-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--h); box-shadow: 0 0 8px var(--h); }
.rh-volume.rh-volume-calm { min-height: 0; height: auto; } .rh-volume-calm .rh-vol-body { padding-block: 26px; }
.ch-stats { --border: #2d3150; --bg-surface: #1b1e30; --bg-base: #131525; --bg-raised: #232742; --text-bright: #f0f3ff; --text-muted: #6b7299;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; margin: 1rem 0 .2rem;
    background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; height: auto; flex: 0 0 auto; }
.ch-stat { background: linear-gradient(180deg, var(--bg-surface), var(--bg-base)); padding: 1rem 1.2rem; display: flex;
    flex-direction: column; gap: .25rem; align-items: flex-start; min-height: 4.4rem; transition: background-color .18s ease; }
.ch-stat:hover { background: linear-gradient(180deg, var(--bg-raised), var(--bg-surface)); }
.ch-stat-n { font-size: 1.7rem; font-weight: 700; color: var(--text-bright); font-variant-numeric: tabular-nums; line-height: 1.1; }
.ch-stat-k { font-size: 1rem; text-transform: uppercase; letter-spacing: .2em; color: var(--text-muted); }
.rh-qpane { display: flex; flex-direction: column; color: var(--text-primary); }
.rh-qpane .ch-stats { margin-top: .4rem; }
.rh-qpane .ch-bar { margin-bottom: 1.2rem; }
.rh-qpane .ch-tabs { margin-top: 1.4rem; }
.ch-toolgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 1.2rem; align-items: start; }
.ch-toolcard { background: linear-gradient(180deg, var(--bg-surface), var(--bg-base)); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.ch-toolcard.is-live { border-color: rgba(143,255,216,.32); }
.ch-toolcard-head { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; padding: 1.2rem 1.3rem; border-bottom: 1px solid var(--border); }
.ch-toolcard-state { text-transform: uppercase; letter-spacing: .18em; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; border: 1px solid; }
@media (max-width: 900px) { .ch-toolgrid { grid-template-columns: 1fr; } }
.rh-q-toolcard { display: block; width: 100%; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.rh-q-toolcard .ch-toolcard-head { border-bottom: 0; }
.rh-q-toolcard:hover, .rh-q-toolcard:focus-visible { transform: translateY(-3px); outline: none; border-color: color-mix(in srgb, var(--h) 60%, transparent);
    box-shadow: 0 10px 26px rgba(0,0,0,.35), 0 0 22px color-mix(in srgb, var(--h) 24%, transparent); }
.rh-q-toolglyph { align-self: center; font-size: 1.9rem; line-height: 1; color: var(--h); width: 2.4rem; text-align: center;
    filter: drop-shadow(0 0 10px color-mix(in srgb, var(--h) 55%, transparent)); }
.rh-q-tooltext { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.rh-q-tooltext b { font-size: 1.2rem; font-weight: 700; color: var(--text-bright); letter-spacing: .02em; }
.rh-q-tooltext span { font-size: 1rem; line-height: 1.45; color: var(--text-secondary); }
.rh-q-ready { align-self: center; font-size: .8rem; font-size: max(16px, .8rem); color: #8FFFD8; border-color: rgba(143,255,216,.5); background: rgba(143,255,216,.06); }
.rh-q-toolopen { margin-top: .9rem; border-color: color-mix(in srgb, var(--h) 40%, transparent); }
.rh-q-toolopen .rh-q-toolbody { padding: 1.3rem 1.4rem 1.5rem; }
.rh-qpane > .ch-back { margin-top: .4rem; }
.rh-q-card { display: block; width: 100%; font: inherit; color: inherit; text-align: left; }
.rh-q-file { color: var(--text-muted); font-size: .95rem; font-size: max(16px, .95rem); margin: -.3rem 0 .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rh-q-excerpt { font-size: 1.05rem; font-weight: 500; line-height: 1.45; color: var(--text-primary); }
.rh-chip-gold { color: #FFDE8A; border-color: rgba(255,222,138,.5); background: rgba(229,162,58,.08); }
.rh-chip-sem { color: #8FFFD8; border-color: rgba(143,255,216,.55); background: rgba(143,255,216,.08); }
.rh-q-row { width: 100%; font: inherit; color: inherit; text-align: left; background: none; border-left: 0; border-right: 0; border-top: 0; }
.rh-q-row .ch-row2-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-card-meta .rh-cap-dots { align-self: center; margin-left: .2rem; }
.rh-q-toolbody .rdr-stack { gap: 16px; }
.rh-q-toolbody .rdr-field > label, .rh-q-toolbody .rdr-label, .rh-q-toolbody .rdr-fieldset > legend {
    font-family: inherit; font-size: .95rem; font-size: max(16px, .95rem); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #9BE8FF; }
.rh-q-toolbody .rdr-input, .rh-q-toolbody .rdr-select, .rh-q-toolbody .rdr-textarea {
    font-size: 16px; padding: .6rem .85rem; border-radius: 10px; background: var(--bg-input); border: 1px solid var(--border-strong); color: var(--text-primary); }
.rh-q-toolbody .rdr-textarea { font-size: 15px; font-size: max(16px, 15px); }
.rh-q-toolbody .rdr-hint, .rh-q-toolbody .rdr-meta { font-size: 15px; font-size: max(16px, 15px); color: var(--text-secondary); }
.rh-q-toolbody .rdr-check { font-family: inherit; font-size: 16px; color: var(--text-primary); }
.rh-q-toolbody .rdr-seg { border-radius: 10px; border-color: rgba(255,255,255,.13); }
.rh-q-toolbody .rdr-seg label { font-family: inherit; font-size: 16px; padding: .5rem 1.05rem; color: rgba(233,238,250,.62); }
.rh-q-toolbody .rdr-seg input:checked + label { background: rgba(143,255,216,.16); color: #8FFFD8; }
.rh-q-toolbody .rdr-drop { padding: 2.2rem 1.5rem; font-size: 17px; border: 1.5px dashed rgba(255,222,138,.45); border-radius: 14px;
    background: rgba(255,222,138,.04); color: var(--text-primary); }
.rh-q-toolbody .rdr-fieldset { border: 1px solid var(--border); border-radius: 14px; padding: .9rem 1.1rem; }
.rh-q-toolbody .fdn-btn.rdr-primary { background: linear-gradient(180deg, rgba(143,255,216,.18), rgba(143,255,216,.08)); border: 1px solid rgba(143,255,216,.55);
    color: #8FFFD8; border-radius: 12px; padding: .7rem 1.6rem; font-weight: 700; font-size: 16px; letter-spacing: .04em; }
.rh-q-toolbody .rdr-out { font-size: 16px; }
.rh-root .rh-q-toolbody .rdr-drop, .rh-root .rh-q-toolbody .rdr-drop span { font-family: inherit; font-size: 17px; }
.rh-root .rh-q-toolbody .fdn-btn.rdr-primary { font-family: inherit; font-size: 16px; }
.rh-root .rh-q-toolbody .rdr-seg { display: inline-flex; align-self: flex-start; width: auto; max-width: 100%; }
.rh-root .rh-q-toolbody .rdr-check { align-self: flex-start; }
.rh-root .rh-q-toolbody .rdr-field { display: flex; flex-direction: column; gap: .45rem; }
.rh-q-reading { margin-top: .6rem; }
.rh-q-reading > .ch-back { align-self: flex-start; }
.rh-q-chapter { margin-top: .6rem; }
.rh-q-passage { --h: #9BE8FF; border-left: 3px solid var(--h); cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease; }
.rh-q-passage header { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: baseline; margin-bottom: .45rem; }
.rh-q-passage .ch-msg-who { color: var(--h); text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: .9rem; font-size: max(16px, .9rem); }
.rh-q-passage .ch-msg-at { color: var(--text-muted); font-size: .9rem; font-size: max(16px, .9rem); }
.rh-q-passage .ch-msg-body { font-size: 1.05rem; line-height: 1.6; color: var(--text-primary); white-space: pre-wrap; }
.rh-q-passage:hover, .rh-q-passage:focus-visible { outline: none; background: color-mix(in srgb, var(--h) 6%, var(--bg-surface)); }
.rh-q-passage.is-standing { box-shadow: inset 2px 0 0 var(--h), 0 0 18px color-mix(in srgb, var(--h) 18%, transparent); }
.rh-q-passage.rh-pending .ch-msg-body { color: var(--text-muted); }
@media (max-width: 1100px) { .rh-q-chapter.rh-reading { grid-template-columns: 1fr; } .rh-q-chapter .rh-bench { position: static; max-height: none; } }
.rp-pot { margin: 14px 0 18px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 222, 138, .25);
    background: radial-gradient(120% 140% at 0% 0%, rgba(255, 222, 138, .08), rgba(12, 14, 22, .9) 60%); color: #EFE6D2; }
.rp-pot-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.rp-pot-head b { font-family: 'Cormorant SC', 'Cormorant Garamond', serif; font-weight: 600; letter-spacing: .16em; font-size: 14px; font-size: max(16px, 14px); }
.rp-pot-mark { color: #FFDE8A; }
.rp-pot-picks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.rp-pot-pick { min-height: 32px; padding: 4px 12px; border-radius: 999px; cursor: pointer; background: transparent; color: #cfc6b0;
    border: 1px solid rgba(239, 230, 210, .22); font-family: 'JetBrains Mono', monospace; font-size: 12px; font-size: max(16px, 12px); }
.rp-pot-pick.rp-pot-quorum { border-color: rgba(143, 255, 216, .4); color: #c9f5e6; }
.rp-pot-pick.is-on { color: #17130A; background: #FFDE8A; border-color: #FFDE8A; }
.rp-pot-pick.rp-pot-quorum.is-on { background: #8FFFD8; border-color: #8FFFD8; }
.rp-pot-meter { position: relative; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; margin-bottom: 10px; }
.rp-pot-meter i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; transition: width .4s ease; }
.rp-pot-read { background: rgba(255, 222, 138, .55); }
.rp-pot-sem { background: #8FFFD8; box-shadow: 0 0 10px rgba(143, 255, 216, .6); }
.rp-pot-figs { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 10px; font-family: 'JetBrains Mono', monospace; font-size: 13px; font-size: max(16px, 13px); }
.rp-pot-fig { display: inline-flex; align-items: center; gap: 6px; }
.rp-pot-fig i { font-style: normal; color: #FFDE8A; }
.rp-pot-fig-sem i { color: #8FFFD8; }
.rp-pot-fig-aside i { color: #FF9DB4; }
.rp-pot-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-pot-say { margin: 8px 0 0; font-size: 13px; font-size: max(16px, 13px); color: #FF9DB4; min-height: 0; }
.rp-pot-say:empty { display: none; }
.bk-pot-slot { margin: 14px 0; }
@media (prefers-reduced-motion: reduce) { .rp-pot-meter i { transition: none; } }
.rp-pot-ver { font-size: max(16px, 0.7em); margin-left: 4px; vertical-align: super; line-height: 0; opacity: 0.7; font-variant-numeric: tabular-nums; }
