/* Room 303 handbook — extends the shared Eleodes desert system. */
.handbook-page { --hb-line: #d9cdac; --hb-muted: #5a5a64; }
.handbook-page [hidden] { display: none !important; }
.hb-wrap { width: min(1200px, 90%); margin-inline: auto; }
.hb-skip { position: fixed; top: -100px; left: 20px; z-index: 2001; padding: 12px 20px; background: var(--ink-900); color: white; }
.hb-skip:focus { top: 12px; }
.handbook-page :focus-visible { outline: 3px solid var(--iris-500); outline-offset: 5px; }
.handbook-page button, .handbook-page input { font: inherit; }
.handbook-page button { cursor: pointer; }
.handbook-page main a:not(.hb-primary):hover { text-decoration: underline; text-underline-offset: 4px; }
.hb-kicker, .hb-meta, .hb-number, .hb-specimen figcaption > span { font: 11px/1.7 var(--font-mono); letter-spacing: .12em; }
.hb-kicker { color: var(--iris-500); margin-bottom: 15px; }
.hb-hero { padding-top: 132px; }
.hb-meta { display: flex; justify-content: space-between; gap: 15px; padding-block: 10px 20px; border-bottom: 1px solid var(--hb-line); color: var(--hb-muted); }
.hb-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 50px; padding-block: 42px 35px; }
.hb-hero h1 { font: 600 clamp(62px, 7.7vw, 105px)/.96 var(--font-display); letter-spacing: -.055em; }
.hb-hero h1 em { font-style: normal; color: var(--iris-500); }
.hb-intro { font-size: clamp(17px, 1.9vw, 22px); line-height: 1.6; margin-top: 24px; color: var(--ink-700); }
.hb-primary { display: inline-flex; gap: 44px; justify-content: space-between; align-items: center; background: var(--iris-500); color: white; padding: 15px 23px; border-radius: 6px; margin-top: 27px; font-weight: 700; }
.hb-primary:hover { background: #4942bb; }
.hb-primary span { font-size: 25px; }
.hb-specimen { position: relative; isolation: isolate; min-width: 0; align-self: stretch; display: grid; align-content: center; }
.hb-specimen img { width: 100%; height: 335px; object-fit: contain; position: relative; }
.hb-orbit { position: absolute; width: 82%; aspect-ratio: 1; border: 1px solid #d6c8a3; border-radius: 50%; top: 20px; left: 9%; background: radial-gradient(circle, #eadfc1 0, #f3eddc 65%, transparent 66%); z-index: -1; }
.hb-orbit::before, .hb-orbit::after { content: ''; position: absolute; background: #d6c8a3; }
.hb-orbit::before { width: 114%; height: 1px; top: 50%; left: -7%; }
.hb-orbit::after { width: 1px; height: 114%; left: 50%; top: -7%; }
.hb-specimen figcaption { display: flex; flex-direction: column; align-items: center; gap: 5px; margin-top: 13px; }
.hb-specimen figcaption > span { color: var(--hb-muted); font-size: 9px; }
.hb-specimen figcaption b { font-size: 13px; font-weight: 500; }
.hb-hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--hb-line); padding-block: 18px 28px; font-size: 12px; color: var(--hb-muted); }
.hb-hero-foot a { color: var(--iris-500); }
.hb-finder { background: var(--ink-900); color: var(--sand-50); padding-block: 42px 46px; scroll-margin-top: 100px; }
.hb-finder .hb-kicker { color: #aaa5ff; }
.hb-finder-title { display: flex; justify-content: space-between; gap: 25px; align-items: end; margin-bottom: 25px; }
.hb-finder h2 { font-size: clamp(29px, 3.4vw, 43px); letter-spacing: -.03em; line-height: 1.12; }
.hb-finder-title > p { font-size: 14px; color: #c4c0b9; }
.hb-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hb-choices a { border: 1px solid #57545b; border-radius: 5px; min-height: 58px; padding: 16px 18px; display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 15px; }
.hb-choices a:hover, .hb-choices a[aria-current="true"] { background: #302c4f; border-color: #aaa5ff; text-decoration: none !important; }
.hb-choices a span { color: #bbb5ff; }
.hb-finder :focus-visible { outline-color: #bbb5ff; }
.hb-route-answer { border-left: 3px solid var(--amber-300); margin-top: 24px; padding: 5px 0 5px 24px; max-width: 790px; }
.hb-route-answer .hb-kicker { color: var(--amber-300); margin-bottom: 6px; }
.hb-route-answer h3 { font-size: 25px; margin-bottom: 8px; }
.hb-route-answer p { color: #e4dece; }
.hb-route-answer a { display: inline-block; margin-top: 14px; color: #c1bbff; font-weight: 700; }
.hb-reading { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding-top: 54px; }
.hb-sidebar-inner { position: sticky; top: 113px; }
.hb-sidebar nav { display: grid; }
.hb-sidebar nav a { display: grid; grid-template-columns: 22px 1fr; gap: 9px; padding: 10px 0; border-bottom: 1px solid var(--hb-line); line-height: 1.4; font-size: 12px; color: var(--ink-700); }
.hb-sidebar nav a span { font: 10px/1.7 var(--font-mono); color: var(--iris-500); }
.hb-back { display: block; font-size: 12px; margin-top: 17px; color: var(--hb-muted); }
.hb-content { min-width: 0; }
.hb-search { padding-bottom: 15px; }
.hb-search label { display: block; font-weight: 700; margin-bottom: 9px; }
.hb-search-row { display: flex; gap: 8px; }
.hb-search input { flex: 1; min-width: 0; border: 1px solid #918978; background: #fffdf7; border-radius: 4px; padding: 13px 15px; color: var(--ink-900); }
.hb-search button { border: 1px solid #918978; border-radius: 4px; padding: 12px; background: transparent; color: var(--ink-700); }
.hb-search [role="status"] { font-size: 12px; color: var(--hb-muted); margin-top: 8px; }
.hb-session-note, .hb-note, .hb-bottom-note { font-size: 13px; color: var(--hb-muted); line-height: 1.75; }
.hb-session-note { padding-bottom: 10px; }
.hb-section { padding-block: 38px 42px; border-top: 1px solid var(--hb-line); scroll-margin-top: 105px; }
.hb-section-heading { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 12px; margin-bottom: 27px; }
.hb-number { color: var(--iris-500); padding-top: 7px; }
.hb-section h2 { font-size: clamp(27px, 3vw, 37px); line-height: 1.12; letter-spacing: -.035em; }
.hb-section-heading p { color: var(--hb-muted); font-size: 15px; margin-top: 10px; }
.hb-section h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.02em; margin-bottom: 12px; }
.hb-section p + p { margin-top: 12px; }
.hb-section p, .hb-ladder { font-size: 15px; line-height: 1.8; }
.hb-two { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.hb-reset { background: var(--sand-100); padding: 24px; border-top: 3px solid var(--amber-500); align-self: start; }
.hb-reset .hb-big-number { font: 72px/1 var(--font-display); letter-spacing: -.06em; margin: 7px 0 19px; }
.hb-big-number span { font: 16px var(--font-body); letter-spacing: normal; }
.hb-checklist { margin-bottom: 16px; }
.hb-check-status { font: 11px/1.7 var(--font-mono) !important; color: var(--hb-muted); margin-bottom: 9px; }
.hb-checklist label { display: flex; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--hb-line); cursor: pointer; font-size: 14px; line-height: 1.65; }
.hb-checklist input { margin-top: 4px; width: 19px; height: 19px; flex: 0 0 19px; accent-color: var(--iris-500); }
.hb-checklist input:checked + span { color: var(--hb-muted); text-decoration: line-through; }
.hb-text-button { border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--iris-500); margin-top: 17px; min-height: 34px; font-size: 12px !important; }
.hb-bottom-note { margin-top: 24px; }
.hb-process { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; counter-reset: work; margin-bottom: 25px; }
.hb-process li { counter-increment: work; padding: 14px 16px; border-left: 1px solid var(--hb-line); }
.hb-process li::before { content: '0' counter(work); display: block; font: 11px var(--font-mono); color: var(--iris-500); margin-bottom: 13px; }
.hb-process b { display: block; font-size: 19px; margin-bottom: 7px; }
.hb-process span { display: block; font-size: 13px; line-height: 1.7; color: var(--hb-muted); }
.hb-section details { border-bottom: 1px solid var(--hb-line); }
.hb-section summary { cursor: pointer; font-weight: 700; padding: 18px 5px; font-size: 15px; }
.hb-section details > div { padding: 0 5px 22px; }
.hb-section details[open] summary { color: var(--iris-500); }
.hb-callout { border-left: 3px solid var(--iris-500); padding: 7px 0 7px 20px; margin-top: 27px; }
.hb-callout h3 { font-size: 17px; margin-bottom: 7px; }
.hb-callout a { display: inline-block; margin-top: 10px; color: var(--iris-500); font-size: 14px; font-weight: 700; }
.hb-ladder { padding-left: 24px; }
.hb-ladder li { padding-left: 4px; margin-bottom: 12px; }
.hb-ladder li::marker { color: var(--iris-500); font-family: var(--font-mono); }
.hb-section blockquote { margin-top: 18px; padding: 17px 20px; background: var(--sand-100); font-size: 17px; border-radius: 3px; }
.hb-submission { margin-block: 25px; }
.hb-submission article { border-top: 2px solid var(--hb-line); padding-top: 20px; }
.hb-stamp-key { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hb-stamp-key p { font-size: 13px; }
.hb-stamp-key h3 { font-size: 17px; margin-top: 18px; }
.hb-stamp { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 10px; border: 2px solid #526654; color: #344f38; border-radius: 5px; font: 10px/1.5 var(--font-mono); letter-spacing: .04em; transform: rotate(-3deg); }
.hb-stamp-extra { color: var(--iris-500); border-color: var(--iris-500); transform: rotate(2deg); }
.hb-stamp-absence { color: #874322; border-color: #ad623e; transform: rotate(-2deg); }
.hb-example { margin-block: 27px 16px; padding: 25px; background: var(--sand-100); }
.hb-gate { border-top: 1px solid var(--hb-line); margin-top: 22px; padding-top: 20px; }
.hb-gate fieldset { border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hb-gate legend { font-size: 12px; margin-bottom: 13px; color: var(--hb-muted); }
.hb-gate label { position: relative; cursor: pointer; }
.hb-gate input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.hb-gate input + span { display: grid; place-items: center; width: 48px; height: 48px; background: var(--sand-50); border: 1px dashed #827862; border-radius: 4px; font: 14px var(--font-mono); }
.hb-gate input:checked + span { background: var(--iris-500); color: white; border-color: var(--iris-500); border-style: solid; }
.hb-gate input:focus-visible + span { outline: 3px solid var(--iris-500); outline-offset: 4px; }
.hb-gate-result { margin-top: 17px; font-weight: 700; }
.hb-gate-result[data-complete="true"] { color: #344f38; }
.hb-values { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 20px; }
.hb-values article { border-left: 1px solid var(--hb-line); padding-left: 18px; }
.hb-values p { font-size: 14px; }
.hb-downloads { display: grid; margin-top: 25px; }
.hb-downloads a { padding: 16px 0; color: var(--iris-500); border-bottom: 1px solid var(--hb-line); font-size: 14px; }
.hb-email { display: inline-block; font-size: clamp(16px, 2.1vw, 23px); color: var(--iris-500); overflow-wrap: anywhere; margin-bottom: 17px; }
.hb-footer { border-top: 1px solid var(--hb-line); padding-block: 28px 40px; display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; align-items: center; font-size: 12px; }
.hb-footer b { font: 600 24px var(--font-display); }
.hb-footer a { color: var(--iris-500); }
.hb-no-results { padding-block: 30px; }
.hb-no-results h2 { font-size: 27px; }
.hb-no-results a { text-decoration: underline; }
.hb-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1050px) { .hb-reading { gap: 30px; grid-template-columns: 185px minmax(0,1fr); }.hb-two { gap: 20px; }.hb-hero-grid { gap: 20px; }.hb-stamp-key { gap: 14px; }.hb-process { grid-template-columns: 1fr 1fr; row-gap: 20px; } }
@media (max-width: 760px) { .hb-hero { padding-top: 112px; }.hb-hero-grid { grid-template-columns: 1fr .65fr; gap: 5px; }.hb-hero h1 { font-size: clamp(50px, 8vw, 67px); }.hb-specimen img { height: 240px; }.hb-orbit { top: 55px; }.hb-specimen figcaption b { font-size: 11px; }.hb-specimen figcaption > span { font-size: 8px; }.hb-primary { gap: 22px; font-size: 14px; }.hb-reading { display: block; }.hb-sidebar { margin-bottom: 25px; }.hb-sidebar-inner { position: static; }.hb-sidebar nav { grid-template-columns: 1fr 1fr; gap: 0 20px; }.hb-sidebar nav a { padding-block: 12px; }.hb-back { display: none; }.hb-choices { grid-template-columns: 1fr 1fr; }.hb-finder-title > p { display: none; }.hb-meta { font-size: 9px; }.hb-two { gap: 22px; }.hb-stamp-key { gap: 20px; } }
@media (max-width: 500px) { .hb-hero-grid { grid-template-columns: 1fr; padding-top: 27px; position: relative; }.hb-hero h1 { font-size: 66px; }.hb-specimen { display: none; }.hb-intro { font-size: 17px; }.hb-meta { flex-wrap: wrap; gap: 5px 15px; }.hb-hero-foot { font-size: 11px; }.hb-finder { padding-block: 31px; }.hb-choices a { font-size: 13px; padding: 13px; }.hb-reading { padding-top: 30px; }.hb-two, .hb-stamp-key { grid-template-columns: 1fr; }.hb-stamp-key article { display: grid; grid-template-columns: 135px 1fr; gap: 0 18px; }.hb-stamp-key h3 { margin-top: 0; }.hb-stamp-key p { grid-column: 2; }.hb-stamp { grid-row: 1 / 3; align-self: center; justify-self: start; }.hb-section { padding-block: 29px; }.hb-section-heading { grid-template-columns: 24px minmax(0,1fr); gap: 8px; }.hb-section h2 { font-size: 28px; }.hb-section-heading p { font-size: 14px; }.hb-example { padding: 20px; }.hb-gate fieldset { gap: 8px; }.hb-gate input + span { width: 40px; height: 44px; }.hb-values { gap: 20px 15px; }.hb-values h3 { font-size: 18px; }.hb-search input { font-size: 14px; padding-inline: 10px; }.hb-footer { flex-direction: column; align-items: start; gap: 10px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.handbook-page *, .handbook-page *::before, .handbook-page *::after { animation: none !important; transition: none !important; } }
@media print { @page { margin: 16mm; }.handbook-page { background: white; color: black; font-size: 10pt; }.handbook-page [data-nav], .hb-skip, .hb-sidebar, .hb-search, .hb-finder, .hb-specimen, .hb-primary, .hb-session-note, .hb-no-results, .hb-text-button, .hb-gate, .hb-footer { display: none !important; }.hb-wrap { width: 100%; }.hb-hero { padding: 0; }.hb-hero-grid { display: block; padding-block: 18px; }.hb-hero h1 { font-size: 45pt; }.hb-intro { font-size: 12pt; }.hb-reading { display: block; padding-top: 0; }.handbook-page [data-topic][hidden] { display: block !important; }.hb-section { padding-block: 20px; }.hb-section h2 { font-size: 20pt; }.hb-section h3 { font-size: 12pt; }.hb-section p, .hb-ladder, .hb-checklist label { font-size: 10pt; }.hb-section-heading { break-after: avoid; }.hb-section details, .hb-reset, .hb-callout, .hb-example { break-inside: avoid; }.hb-section details::details-content { content-visibility: visible; }.hb-section details > div { display: block !important; }.hb-section summary { list-style: none; }.hb-stamp-key { display: block; }.hb-stamp-key article { margin-top: 14px; }.hb-stamp { transform: none; }.hb-checklist input:checked + span { text-decoration: none; color: black; }.hb-check-status { display: none; }.hb-email { font-size: 13pt; }.hb-hero-foot a { display: none; } }
