:root {
  color-scheme: light;
  scrollbar-gutter: stable;
  --paper: #f5f5eb;
  --sheet: #fffefa;
  --ink: #162922;
  --muted: #4e5d55;
  --rule: #cdd4c7;
  --edge: #9ca89d;
  --forest: #17352c;
  --forest-line: #4e6c5c;
  --cream: #fff8e6;
  --yellow: #ffd553;
  --deep: #22533c;
  --error: #9c3829;
  --sand: #f3eabe;
  --sage: #e3ebdc;
  --display: 'Franklin Gothic Demi', 'Arial Narrow', 'Segoe UI', sans-serif;
  --body: 'Segoe UI', Tahoma, sans-serif;
  --mono: 'Cascadia Mono', Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
[data-pending-planner-example] #ledger { visibility: hidden; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); }
main { flex: 1; min-width: 0; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }
section[id], li[id], #quick-glossary, .ledger-statement { scroll-margin-top: 24px; }
img { display: block; max-width: 100%; height: auto; }
figure, dl, dd { margin: 0; }
p { margin: 0 0 .85em; }
h1, h2, h3 { margin: 0; line-height: 1.12; overflow-wrap: break-word; }
h1, h2 { font-family: var(--display); letter-spacing: -.035em; font-weight: 700; }
h2 { font-size: clamp(25px, 2.55vw, 37px); }
h3 { font-size: clamp(18px, 1.8vw, 23px); letter-spacing: -.025em; }
.wrap { width: min(1224px, calc(100% - 96px)); margin-inline: auto; }
.icon { width: 1.2em; height: 1.2em; vertical-align: -.23em; flex: none; }
.eyebrow { color: var(--deep); font: 700 .73rem/1.45 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 9; background: var(--yellow); padding: 10px 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; gap: .6em; padding: 10px 17px; border: 1px solid transparent; border-radius: 3px; font-weight: 700; line-height: 1.2; text-decoration: none; }
.button.primary { background: var(--yellow); color: #23301d; border-color: #a68227; }
.button.primary:hover { background: #ffe485; }
.button.secondary { border-color: var(--edge); background: transparent; color: var(--ink); }
.button.secondary:hover { border-color: var(--deep); background: var(--sand); }
.button.small { font-size: .9rem; min-height: 44px; }
.under-link, .text-button { color: var(--deep); font-weight: 700; }
.text-button { border: 0; padding: 8px 0; background: none; text-decoration: underline; text-underline-offset: .23em; font-size: .875rem; }
.text-button:hover, .under-link:hover { color: var(--ink); }

.site-header { background: var(--forest); color: var(--sheet); border-bottom: 1px solid #10281e; }
.header-inner { width: min(1224px, calc(100% - 96px)); margin-inline: auto; min-height: 67px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 10px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; color: var(--ink); background: var(--yellow); border-radius: 3px; }
.brand-mark .icon { width: 23px; height: 23px; }
.brand strong { display: block; font: 700 1.32rem/1 var(--display); letter-spacing: -.025em; }
.brand small { display: block; color: #d5dfd3; margin-top: 3px; font-size: .7rem; }
.header-inner nav { align-self: stretch; display: flex; align-items: stretch; gap: 4px; }
.header-inner nav a { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 8px clamp(9px, 1.2vw, 19px); border-bottom: 3px solid transparent; color: #dbe5db; font-size: .88rem; font-weight: 650; text-decoration: none; }
.header-inner nav a:hover, .header-inner nav a[aria-current] { color: var(--yellow); }
.header-inner nav a[aria-current] { border-bottom-color: var(--yellow); }
.button.header-play { justify-self: end; min-height: 39px; border-color: #8fa696; font-size: .84rem; }
.button.header-play:hover { border-color: var(--yellow); color: var(--yellow); }
.home-header { background: #102e27; color: var(--cream); border-color: #547366; }
.home-header .header-inner { min-height: 76px; }
.home-header .brand-mark { background: #ecbd74; color: #2d2119; border-radius: 0; }
.home-header .brand small { color: #d6ddcd; }
.home-header .header-inner nav a { color: #e2eadc; }
.home-header .header-inner nav a:hover, .home-header .header-inner nav a[aria-current] { color: #f4cc89; border-bottom-color: #f4cc89; }
.home-header .masthead-play > span { color: #d6ddcd; }
.masthead-play { justify-self: end; display: flex; align-items: center; gap: 10px; }
.masthead-play > span { color: var(--muted); font-size: .73rem; }
.masthead-play .header-play { min-height: 36px; background: var(--yellow); border-color: #a68227; border-radius: 0; color: var(--ink); padding: 7px 10px; white-space: nowrap; }
.masthead-play .header-play:hover { background: #ffe485; color: var(--ink); border-color: var(--ink); }
.site-footer { margin-top: auto; background: var(--forest); color: var(--cream); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; padding-block: 23px; font-size: .86rem; }
.footer-inner p { margin: 0; color: #d0dad0; }
.footer-brand { text-decoration: none; font: 700 1.11rem var(--display); }
.footer-brand .icon { color: var(--yellow); }

.inner-wrap { padding-block: clamp(22px, 3vw, 40px) clamp(42px, 5.5vw, 72px); }
.home-content { padding-bottom: clamp(42px, 5.5vw, 72px); }
.front-desk { position: relative; isolation: isolate; background: #17362e; border-bottom: 6px solid #592e23; }
.desk-scene { position: absolute; display: block; z-index: -2; inset: 0; max-height: 980px; }
.desk-scene img { width: 100%; height: 100%; object-fit: cover; object-position: center 49%; }
.front-desk::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgb(28 22 18 / .9), rgb(28 22 18 / .37) 45%, transparent 86%), linear-gradient(90deg, rgb(19 44 36 / .2), rgb(19 44 36 / .12) 46%, rgb(15 34 28 / .55)); }
.home-dictionary { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.22fr); align-items: center; gap: clamp(26px, 5vw, 74px); min-height: clamp(622px, 49vw, 734px); padding-block: clamp(35px, 4.7vw, 68px); }
.dictionary-intro { display: flex; flex-direction: column; align-items: start; justify-content: end; align-self: stretch; gap: 29px; color: #fff6df; padding-block: 16px 4px; }
.dictionary-intro .eyebrow { width: fit-content; margin-bottom: 12px; padding: 6px 9px; background: #183c31; color: #ffdfaa; }
.dictionary-intro h1 { max-width: 10ch; font: 400 clamp(44px, 6.3vw, 92px)/.91 Georgia, serif; letter-spacing: -.068em; text-shadow: 0 2px 16px #190f09; }
.desk-description { max-width: 29ch; margin: 14px 0 0; color: #fff6df; font-size: clamp(.92rem, 1.28vw, 1.13rem); text-shadow: 0 2px 9px #190f09; }
.room-plate { position: relative; display: inline-grid; flex: none; grid-template-columns: auto auto; align-items: center; gap: 1px 7px; padding: 7px 11px; border: 1px solid #edbb71; border-radius: 4px; background: #743c29; color: #ffedc7; box-shadow: inset 0 0 0 3px #512b22, 0 4px 9px #21140b55; font-family: var(--mono); text-decoration: none; }
.room-plate span:not(.sr-only) { font-size: .64rem; font-weight: 650; text-transform: uppercase; letter-spacing: .11em; }
.room-plate strong { grid-row: 2; font: 400 clamp(22px, 2.45vw, 36px)/.85 Georgia, serif; }
.room-plate .icon { grid-column: 2; grid-row: 1 / 3; align-self: end; }
.room-plate:hover { background: #93523a; }
.front-desk :focus-visible { outline-color: #ffc77d; }
.room-status { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 2px 6px; color: var(--muted); font-size: .76rem; }
.room-status > span[lang] { font-size: .71rem; }
.room-status.occupied { color: var(--deep); }
.status-dot { width: 7px; height: 7px; flex: none; border: 1px solid currentColor; border-radius: 50%; }
.occupied .status-dot { background: currentColor; }

.glossary-card { min-width: 0; }
.front-desk .glossary-card { --book-binding: 34%; position: relative; isolation: isolate; padding: clamp(15px, 2.05vw, 29px); border: 1px solid #9b6340; border-radius: 7px 3px 5px 7px; background: linear-gradient(90deg, #f1e3c2 0%, #fcf2d9 calc(var(--book-binding) - 1%), #e4d1a5 var(--book-binding), #fff4d9 calc(var(--book-binding) + .8%), #fff4d9 98%, #e7d4ac); color: #223229; box-shadow: 0 3px 0 #e5d0a3, 0 6px 0 #b7a77e, 0 9px 0 #e3cfa6, 0 13px 0 3px #523328, 0 19px 30px #140c09aa; }
.front-desk .glossary-card::after { content: ''; position: absolute; z-index: 1; pointer-events: none; inset: 1px 2px 1px var(--book-binding); border-radius: 0 4px 4px 0; opacity: 0; }
.front-desk .glossary-card :focus-visible { outline-color: #295747; }
.front-desk .glossary-quick-heading h2 { font: 400 clamp(27px, 3.2vw, 44px)/1 Georgia, serif; letter-spacing: -.042em; }
.front-desk .glossary-quick-heading p { color: #544937; }
.front-desk .search-field { background: #fff9ed; border: 1px solid #427064; box-shadow: 2px 2px 0 #29483d; }
.front-desk .dictionary-head { background: #244d40; color: #fff4de; }
.front-desk .definition { border-color: #c6b68f; }
.front-desk .term-pick { color: #214a3b; }
.front-desk .definition:is(:focus-within, [data-picked]) { background-color: #edd8998c; }
.front-desk .definition [data-translation] { position: relative; width: fit-content; max-width: 100%; }
.front-desk .definition [data-translation]::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; border-radius: 50%; background: #92462f; transform: scaleX(0) rotate(-1deg); transform-origin: left; }
.front-desk .definition:is(:focus-within, [data-picked]) [data-translation]::after { transform: scaleX(1) rotate(-1deg); }
.front-desk .definition:is(:focus-within, [data-picked]) .term-usage { color: #67422e; }
.glossary-card:has(#quick-glossary:target) .search-field { border-color: var(--deep); }
.glossary-page-heading { display: none; }
.glossary-quick-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 3px 10px; }
.glossary-quick-heading h2 { font-size: clamp(23px, 2.1vw, 30px); }
.glossary-quick-heading p { margin: 0; color: var(--muted); font: 600 .75rem/1.4 var(--mono); }
.lookup { margin: 12px 0 16px; }
.search-field { display: flex; align-items: center; gap: 9px; border: 1px solid var(--forest); background: var(--sheet); padding-inline: 12px; color: var(--deep); }
.search-field:focus-within { outline: 2px solid var(--deep); outline-offset: 2px; }
.search-field input { min-width: 0; width: 100%; min-height: 49px; border: 0; background: transparent; outline: none; color: var(--ink); }
.search-field input::-webkit-search-cancel-button { display: none; }
#clear-search { min-height: 44px; flex-shrink: 0; }
.lookup-meta { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 5px; border-top: 1px solid var(--rule); color: var(--muted); font-size: .78rem; }
.definition { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 4px 12px; padding-block: 10px; border-top: 1px solid var(--rule); }
.definition dt { color: var(--forest); font-weight: 700; overflow-wrap: anywhere; }
.definition dd { line-height: 1.42; overflow-wrap: anywhere; }
.definition small { display: block; color: var(--muted); font-size: .75rem; margin-top: 3px; }
.glossary-card .dictionary-head, .glossary-card .definition { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 8px 12px; padding-inline: 11px; }
.dictionary-head { display: grid; padding-block: 7px; background: var(--sage); color: var(--forest); font: 700 .72rem/1.4 var(--mono); text-transform: uppercase; }
.glossary-card .definition { align-items: center; padding-block: 6px; }
.glossary-card [data-translation] { font-weight: 650; }
.term-usage { display: block; color: var(--muted); font-size: .82rem; }
.term-pick { min-height: 44px; max-width: 100%; padding: 1px 0; border: 0; color: inherit; background: none; font-weight: inherit; text-align: left; text-decoration: underline dotted var(--edge); text-underline-offset: .23em; overflow-wrap: anywhere; }
.term-pick:hover { text-decoration: underline solid; }
.term-pick:disabled { text-decoration: none; cursor: auto; }
.glossary-toggle { min-height: 42px; }
#no-terms { margin: 10px 0; }
.glossary-view .home-content, .glossary-view .dictionary-intro, .glossary-view .glossary-quick-heading, .glossary-view .desk-scene, .glossary-view .front-desk::before, .glossary-view .glossary-card::after { display: none; }
.glossary-view .front-desk { background: none; border: 0; }
.glossary-view .home-dictionary { display: block; min-height: 0; max-width: 960px; margin-inline: auto; padding-bottom: 55px; }
.glossary-view .front-desk .glossary-card { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.glossary-page-heading > a { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 19px; color: var(--deep); font-size: .89rem; font-weight: 700; }
.glossary-page-heading > a .icon { transform: rotate(180deg); }
.glossary-view .glossary-page-heading { display: block; padding-bottom: 22px; border-bottom: 1px dashed var(--edge); }
.glossary-page-heading h2 { font-size: clamp(34px, 5vw, 66px); }
.glossary-page-heading p:last-child { margin: 10px 0 0; color: var(--muted); }
.glossary-view .search-field { max-width: 480px; }
.glossary-view .dictionary-head, .glossary-view .definition { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); padding-inline: clamp(8px, 1.5vw, 18px); }
.glossary-view .dictionary-head { background: var(--forest); color: var(--cream); }
.glossary-view .definition:nth-child(even) { background: #f3f0e6; }

.home-collection { margin-top: clamp(21px, 3.7vw, 53px); border: 1px solid #613829; background: #6e3d2d; }
.collection-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 8px 25px; padding: clamp(15px, 2.2vw, 31px); background: #6e3d2d; color: var(--cream); }
.collection-heading .eyebrow { color: #f8d6a6; margin-bottom: 5px; }
.collection-heading h2 { font: 400 clamp(31px, 3.8vw, 56px)/1.03 Georgia, serif; letter-spacing: -.051em; }
.collection-heading > p { max-width: 47ch; margin: 0; color: #ffecce; }
.collection-switch { display: flex; flex-wrap: wrap; gap: 1px; padding-inline: clamp(11px, 2.05vw, 29px); }
.collection-switch a { display: inline-flex; align-items: center; min-height: 44px; padding: 5px 13px; border: 1px solid #987254; border-bottom: 0; background: #4b3024; color: #fff2d7; text-decoration: none; font-size: .82rem; font-weight: 750; }
.collection-switch a:hover, .collection-switch a[aria-current] { background: #f5dd9f; color: #37261c; }
.collection-switch a:focus-visible { outline-color: #ffd68b; outline-offset: -4px; }
.collection-body { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 1px; padding: 0 clamp(11px, 2.05vw, 29px) clamp(14px, 2.05vw, 29px); background: repeating-linear-gradient(3deg, transparent 0 12px, #854b37 13px, transparent 15px 32px), #65392b; }
.collection-evidence { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; padding: clamp(12px, 1.6vw, 22px); background: #f4e4c4; }
.collection-proof { min-width: 0; border-top: 3px solid #bba47d; padding-top: 7px; }
.collection-proof:is(:target, :focus-within), .home-collection[data-stage="before"] #collection-before, .home-collection[data-stage="after"] #collection-after { border-color: #8a4231; }
.collection-evidence h3 { margin-bottom: 8px; font: 700 .75rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.collection-evidence .game-capture { padding: 5px; background: #fff8e8; }
.collection-evidence .game-capture img { max-width: 396px; }
.collection-statement { min-width: 0; position: relative; padding: clamp(12px, 1.9vw, 25px); background: #fff4d9; }
.collection-receipt-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px 13px; margin-bottom: 10px; }
.receipt-stamp { display: inline-block; padding: 3px 6px; border: 2px solid currentColor; color: #90402d; font: 700 .69rem/1.1 var(--mono); letter-spacing: .09em; text-transform: uppercase; transform: rotate(-7deg); }
.collection-statement dl { border-top: 2px solid var(--forest); }
.collection-statement dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; padding-block: 7px; border-bottom: 1px solid var(--edge); }
.collection-statement dt { font-size: .89rem; font-weight: 700; }
.collection-statement dt small { display: block; color: var(--muted); font-size: .75rem; font-weight: 400; }
.collection-statement dd { white-space: nowrap; font: 700 clamp(.82rem, 1.13vw, 1rem)/1.4 var(--mono); }
.collection-statement p { margin: 10px 0 7px; color: var(--muted); font-size: .87rem; }
.collection-statement .under-link { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding-block: 8px; font-size: .86rem; }
.home-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--edge); }
.home-next a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 15px 18px; color: var(--forest); font-weight: 700; text-decoration: none; }
.home-next a + a { border-inline-start: 1px solid var(--edge); }
.home-next a:hover { background: var(--sage); text-decoration: underline; }
.home-next small { display: block; color: var(--muted); font-size: .83rem; font-weight: 400; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 20px; }
.section-head p { color: var(--muted); margin: 6px 0 0; }
.quick-card, .upgrade, .teaching-example, .field-note, .home-faq { margin-top: clamp(29px, 3.8vw, 56px); }
.quick-card, .upgrade { padding-top: clamp(18px, 2vw, 27px); border-top: 1px solid var(--edge); }
.editorial-section { padding-block: clamp(19px, 2.4vw, 34px); border-top: 1px solid var(--edge); }
.editorial-section h2 { margin: 0 0 12px; }
.editorial-section h3 { margin: 0 0 8px; }
.editorial-section p, .editorial-section ol { max-width: 75ch; }
.editorial-section :is(p, ol):last-child { margin-bottom: 0; }
.editorial-section ol { padding-inline-start: 1.3em; }
.editorial-section ol li + li { margin-top: 7px; }
.editorial-section a { color: var(--deep); }
.guide-index { margin-top: clamp(27px, 3.8vw, 51px); }
.guide-index ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(16px, 3vw, 42px); list-style: none; padding: 0; margin: 0; }
.guide-index li { border-top: 1px solid var(--rule); }
.guide-index li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 66px; padding: 9px 3px; text-decoration: none; }
.guide-index li a:hover strong { text-decoration: underline; }
.guide-index li a span span { display: block; color: var(--muted); font-size: .875rem; }
.editorial-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: 12px clamp(14px, 2.5vw, 32px); margin-block: 15px; }
.editorial-split img { width: 100%; }
.collection-figures .game-capture { max-width: 396px; }
.vacancy-figure { align-items: center; margin-block: 24px; }
.vacancy-figure figcaption { color: var(--muted); font-size: .78rem; }
.evidence-table { margin: 16px 0; border-collapse: collapse; background: var(--sheet); table-layout: fixed; width: 100%; font-size: .9rem; font-variant-numeric: tabular-nums; }
.evidence-table caption { color: var(--muted); text-align: left; padding-bottom: 6px; font-size: .83rem; }
.evidence-table th, .evidence-table td { padding: 9px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
.evidence-table th:first-child { width: 34%; }
.evidence-table tbody th > a { display: block; }
.evidence-table thead { background: var(--forest); color: var(--cream); }
.evidence-table tbody tr:nth-child(even) { background: var(--paper); }
.planner-topics { display: flex; flex-wrap: wrap; gap: 5px 14px; align-items: center; color: var(--deep); font-size: .88rem; font-weight: 700; }
.field-note, .article-ledger, .teaching-example { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; gap: clamp(18px, 3vw, 38px); padding-block: clamp(17px, 2.25vw, 32px); border-top: 1px solid var(--edge); }
.field-note h2, .teaching-example h2 { margin-bottom: 12px; }
.game-capture { min-width: 0; padding: 6px; border: 1px solid var(--rule); background: var(--sheet); }
.game-capture a { display: block; }
.game-capture img { width: 100%; }
.game-capture figcaption, .teaching-example figcaption { color: var(--muted); font-size: .78rem; line-height: 1.45; padding: 8px 3px 1px; }
.screenshot-viewer { width: max-content; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--edge); background: var(--sheet); color: var(--ink); overscroll-behavior: contain; }
.screenshot-viewer::backdrop { background: rgb(10 24 18 / .78); }
.screenshot-viewer form { display: flex; justify-content: flex-end; padding: 8px; }
.screenshot-viewer img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 88px); object-fit: contain; }
html:has(.screenshot-viewer[open]) { overflow: hidden; }
.field-note .game-capture { width: 100%; max-width: 420px; justify-self: end; }
.home-faq > div { display: grid; grid-template-columns: minmax(0, .44fr) minmax(0, 1fr); gap: 5px 23px; padding: 14px 0; border-top: 1px solid var(--rule); }
.home-faq h2, .home-faq h3 { font: 700 1.1rem/1.25 var(--display); }
.home-faq p { margin: 0; color: var(--muted); font-size: .91rem; }

.page-intro { padding-bottom: 17px; border-bottom: 1px solid var(--edge); }
.page-intro h1 { margin: 7px 0 9px; font-size: clamp(31px, 3.7vw, 53px); line-height: 1.04; }
.page-intro .eyebrow { margin: 0; }
.crumb-separator { margin-inline: 7px; opacity: .65; }
.intro-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 19px; }
.intro-row p { margin: 0; color: var(--muted); }
.register-guide .article-intro { display: flex; justify-content: space-between; align-items: end; gap: 15px; padding: clamp(16px, 3.6vw, 47px); background: linear-gradient(90deg, #133a2e 13%, #173b2eee 52%, #17382d55), var(--article-scene, url('/assets/reception-standard.webp')) 50% 43% / cover, #173b2e; border-color: #534431; color: #fff3d9; }
.register-guide .article-intro h1, .register-guide .chapter h2, .accounts-guide .planner-intro h1 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.046em; }
.register-guide .article-intro .eyebrow { color: #ecd5a5; }
.register-guide .article-intro p { color: #fff3d9; }
.register-guide .article-intro :focus-visible { outline-color: #ffd584; }
.register-guide .chapter-heading .eyebrow { display: inline-block; padding: 4px 8px; background: #733e2d; color: #fff1d6; }
.register-guide .chapter { border-color: #a88a6c; }
.register-guide .chapter .game-capture { border-color: #b8a782; background: #fff7e3; }
.accounts-guide .planner-intro { padding: clamp(15px, 2.65vw, 38px); border: 1px solid #a18b6b; border-top: 5px double #83503b; background: repeating-linear-gradient(0deg, transparent 0 23px, #ead9b6 24px, transparent 25px), #fff3d7; }
.accounts-guide .preset-bar a { border-radius: 4px 4px 0 0; border-color: #b29c76; background: #f6ecd4; }
.accounts-guide .preset-bar a[aria-current] { background: #f3d488; }
.accounts-guide .ledger-form { background: #fff9ec; border-color: #b5a280; }
.accounts-guide .ledger-statement { border-block: 4px double #b8935c; box-shadow: 4px 5px 0 #bdad9047; }
.article-layout { margin-top: clamp(23px, 3.2vw, 46px); display: grid; grid-template-columns: minmax(164px, .22fr) minmax(0, 1fr); gap: clamp(19px, 3.7vw, 53px); align-items: start; }
.article-rail { position: sticky; top: 20px; border-top: 2px solid var(--deep); }
.article-rail .eyebrow { margin: 12px 0 6px; }
.article-rail a { display: flex; align-items: center; gap: 8px; min-height: 44px; border-bottom: 1px solid var(--rule); font-size: .88rem; font-weight: 700; text-decoration: none; line-height: 1.25; }
.article-rail a span { font: 700 .69rem var(--mono); color: var(--deep); }
.article-rail a:hover { color: var(--deep); }
.register-guide .article-rail a { border-inline-start: 3px solid #c7aa85; background: #f8edd4; padding-inline: 6px; }
.register-guide .article-rail a:is(:hover, :focus-visible) { background: #ecd7a6; border-inline-start-color: #7b4833; color: #38291f; }
.article-start { border-left: 3px solid #a68227; padding: 3px 13px; margin: 0 0 22px; color: var(--muted); font-size: .89rem; }
.chapter { display: grid; grid-template-columns: minmax(0, 1.23fr) minmax(0, .77fr); grid-template-areas: 'heading heading' 'steps image'; gap: 14px clamp(14px, 2vw, 30px); align-items: start; padding-block: clamp(15px, 2.1vw, 26px); border-top: 1px solid var(--edge); }
.chapter-heading { grid-area: heading; }
.chapter-heading .eyebrow { margin: 0 0 5px; }
.chapter .game-capture { grid-area: image; }
.step-list { grid-area: steps; padding: 0; margin: 0; list-style: none; }
.step { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 11px; padding-block: 13px; border-top: 1px solid var(--rule); }
.step-index { display: grid; place-items: center; align-self: start; width: 32px; height: 32px; border: 1px solid var(--edge); background: var(--sheet); color: var(--deep); font: 700 .74rem var(--mono); }
.step-label { display: inline-block; max-width: 100%; background: var(--sage); color: var(--forest); padding: 3px 6px; margin-bottom: 5px; border-radius: 3px; font: 700 .76rem/1.3 var(--mono); overflow-wrap: anywhere; }
.step-copy h3 { margin-bottom: 6px; }
.step-copy p { margin-bottom: 4px; }
.related-terms summary { color: var(--deep); font-size: .82rem; font-weight: 700; cursor: pointer; padding-block: 8px; }
.related-terms summary > .icon { display: none; }
.related-terms .definition { font-size: .85rem; }
.recruitment-note { margin-top: 25px; }
.article-ledger { margin-top: 16px; }
.status-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-block: 12px; }
.article-ledger table { width: 100%; background: var(--sheet); border-collapse: collapse; font-size: .86rem; }
.article-ledger th, .article-ledger td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
.article-ledger th:not(:first-child), .article-ledger td { text-align: right; }
.article-ledger thead { background: var(--forest); color: var(--cream); }
.article-ledger tbody tr:last-child td, .article-ledger tbody tr:last-child th { border-bottom: 0; }
.article-figures > p:not(.eyebrow) { margin: 13px 0; color: var(--muted); }
.article-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 15px; }

.planner-block { margin-top: 12px; }
.preset-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 18px; padding: 5px 0; }
.preset-bar nav { display: flex; flex-wrap: wrap; gap: 5px; }
.preset-bar a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; background: var(--paper); border: 1px solid var(--rule); border-radius: 4px; font-size: .84rem; font-weight: 700; text-decoration: none; }
.preset-bar a:hover { border-color: var(--deep); }
.preset-bar a[aria-current] { background: var(--yellow); border-color: #a68227; color: var(--ink); }
.preset-note { color: var(--muted); font-size: .85rem; padding-block: 6px; margin-bottom: 11px; }
.preset-note a { color: var(--deep); }
.ledger { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, .92fr); align-items: start; gap: 16px; }
.ledger-form { padding: clamp(13px, 2vw, 24px); background: var(--sheet); border: 1px solid var(--edge); min-width: 0; }
.form-subhead { margin-bottom: 14px; }
.form-subhead :is(h2, h3) { margin-top: 5px; font: 700 clamp(1.4rem, 2.4vw, 2.02rem)/1.1 var(--display); letter-spacing: -.04em; }
.form-subhead p { margin: 5px 0 0; color: var(--muted); font-size: .85rem; }
.ledger fieldset { min-width: 0; margin: 0 0 13px; padding: 10px 12px 12px; border: 1px solid var(--rule); border-radius: 5px; }
.ledger legend { padding: 0 5px; color: var(--forest); font-size: .89rem; font-weight: 700; }
.ledger-form .button.secondary { margin-bottom: 15px; }
.ledger-form .remove-row { display: block; margin: -5px 0 2px auto; min-height: 38px; }
.number-grid { display: grid; gap: 8px 10px; align-items: start; }
.number-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.number-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.number-field { display: grid; gap: 5px; min-width: 0; }
.number-field > span { min-height: 2.6em; color: var(--muted); font-size: .79rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.number-field input { min-width: 0; width: 100%; height: 44px; padding: 7px; border: 1px solid var(--edge); border-radius: 3px; background: #fffefa; color: var(--ink); font: 500 .92rem var(--mono); }
.number-field input[aria-invalid] { outline: 2px solid var(--error); outline-offset: -2px; background: #fff0e9; }
.number-field input[aria-invalid]:focus-visible { outline-offset: 2px; }
.field-error, .result-error { color: var(--error); font-size: .82rem; font-weight: 700; }
.field-error { overflow-wrap: anywhere; }

.ledger-statement { color: var(--cream); background: var(--forest); border: 1px solid var(--forest); min-width: 0; }
.receipt-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px clamp(15px, 2.05vw, 26px); border-bottom: 1px solid var(--forest-line); color: #dfe8d6; font: 700 .79rem/1.4 var(--mono); }
.receipt-heading .icon { color: var(--yellow); }
.receipt-heading > span:last-child { padding: 2px 6px; color: var(--forest); background: var(--cream); border-radius: 3px; }
.ledger-statement [data-rent-result], .ledger-statement .result-error { padding: 0 clamp(15px, 2.05vw, 26px) 18px; }
.net-metric { display: grid; gap: 3px; padding-block: 12px 14px; }
.net-metric span { font-size: .91rem; }
.net-metric strong { color: #e0edcb; font: 700 clamp(1.85rem, 3.35vw, 3.35rem)/1.02 var(--mono); letter-spacing: -.055em; overflow-wrap: anywhere; }
.net-metric .negative { color: #ffb78e; }
.statement > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 14px; padding-block: 7px; border-top: 1px solid var(--forest-line); color: #e5ecdf; font-size: .86rem; }
.statement dd { font-family: var(--mono); overflow-wrap: anywhere; }
.occupancy-meter { padding-top: 9px; border-top: 1px solid var(--forest-line); font-size: .84rem; }
.occupancy-meter > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 8px; }
.occupancy-meter strong { font: 700 .82rem/1.55 var(--mono); overflow-wrap: anywhere; }
.occupancy-meter meter { display: block; width: 100%; height: 14px; margin-top: 2px; }
.occupancy-meter meter::-webkit-meter-bar { background: #385a49; border: 0; box-shadow: none; border-radius: 2px; }
.occupancy-meter meter::-webkit-meter-optimum-value { background: var(--yellow); border-radius: 2px; }
.occupancy-meter meter::-moz-meter-bar { background: var(--yellow); }
.occupancy-note { margin-top: 5px; color: var(--cream); font-size: .85rem; overflow-wrap: anywhere; }
.occupancy-note > span { display: block; }
.margin-list { padding: 0; margin: 6px 0 0; list-style: none; }
.margin-list li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 9px; padding-block: 3px; font-size: .82rem; }
.ledger-statement .result-error { color: #ffb78e; margin: 13px 0 0; }
.planner-foot { grid-column: 1 / -1; display: grid; grid-template-columns: .33fr 1fr; gap: 8px 20px; border-bottom: 1px solid var(--rule); padding: 13px 9px 17px; }
.planner-foot h2 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.planner-foot p { margin-bottom: 6px; color: var(--muted); font-size: .9rem; }
.ledger noscript { grid-column: 1 / -1; }
.number-crosswalk > div { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 5px 14px; padding: 12px 0; border-top: 1px solid #b6c5b0; }
.number-crosswalk dt { font-weight: 700; }
.number-crosswalk dd { font-size: .92rem; }
.teaching-example img { border: 1px solid var(--rule); }
.upgrade-layout { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, .92fr); gap: 13px 16px; }
.upgrade-form, .upgrade-output { border: 1px solid var(--edge); padding: clamp(13px, 2vw, 26px); }
.upgrade-form { background: var(--sheet); }
.quote-note { padding-block: 13px; }
.upgrade-form .text-button { margin-top: 9px; }
.upgrade-output { background: var(--sand); }
.upgrade-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.upgrade-metrics > div { display: grid; gap: 5px; align-content: start; }
.upgrade-metrics strong { font: 700 clamp(1.8rem, 3vw, 2.7rem)/1 var(--mono); letter-spacing: -.05em; overflow-wrap: anywhere; }
.upgrade-metrics span { font-size: .83rem; line-height: 1.4; }
.upgrade-result p { margin: 10px 0 0; border-top: 1px dashed var(--edge); padding-top: 9px; }
.upgrade-output .result-error { margin: 0; }
.quote-note h3 { margin: 4px 0 8px; }
.quote-note p { color: var(--muted); }
.upgrade-layout .game-capture { align-self: start; width: 100%; max-width: 340px; justify-self: end; }

@media (prefers-reduced-motion: no-preference) {
  .button, .header-inner nav a, .home-next a { transition: background-color .16s ease, color .16s ease, border-color .16s ease; }
  .front-desk .glossary-card::after { background: linear-gradient(90deg, #ecdbb4 0, #fbeed1 12%, #e9d3a4 100%); transform-origin: left center; animation: register-open .93s .05s both; }
  .front-desk .glossary-card:focus-within::after { animation: none; }
  .dictionary-intro .room-plate { transform-origin: 50% 6%; animation: plate-swing .92s .19s both; }
  .front-desk .definition { transition: background-color .16s ease; }
  .front-desk .definition [data-translation]::after { transition: transform .28s cubic-bezier(.17,.77,.35,1); }
  .collection-statement { transform: translateY(var(--receipt-travel, 0px)); }
  .home-collection.has-motion:not(.is-stamped) .receipt-stamp { opacity: 0; }
  .home-collection.is-stamped .receipt-stamp { animation: mark-received .43s both; }
  .collection-proof { transition: border-color .18s ease; }
}
@media (hover: hover) {
  .front-desk .definition:hover { background-color: #edd8998c; }
  .front-desk .definition:hover [data-translation]::after { transform: scaleX(1) rotate(-1deg); }
  .front-desk .definition:hover .term-usage { color: #67422e; }
}
@media (min-width: 651px) and (prefers-reduced-motion: no-preference) {
  #collection-after { transform: translateY(var(--proof-travel, 0px)); }
}
@keyframes register-open {
  0% { opacity: .9; transform: perspective(970px) rotateY(-102deg) skewY(-1deg); box-shadow: 14px 10px 20px #22130c66; }
  63% { opacity: .43; }
  100% { opacity: 0; transform: perspective(970px) rotateY(0deg); box-shadow: 0 0 0 transparent; }
}
@keyframes plate-swing {
  0% { transform: rotate(-7deg); }
  35% { transform: rotate(5deg); }
  66% { transform: rotate(-2.5deg); }
  100% { transform: rotate(0); }
}
@keyframes mark-received {
  0% { opacity: 0; transform: rotate(-13deg) scale(1.35); }
  63% { opacity: .94; transform: rotate(-7deg) scale(.96); }
  100% { opacity: 1; transform: rotate(-7deg) scale(1); }
}
@media (min-width: 851px) and (min-height: 750px) {
  .ledger-full .ledger-statement { position: sticky; top: 20px; }
}
@media (min-width: 851px) {
  .glossary-card .definition:has(.term-usage) [data-translation] { display: block; }
  .glossary-card .term-usage, .glossary-card .term-usage + small { display: inline; }
  .glossary-card .term-usage + small::before { content: ' · '; }
}
@media (max-width: 1100px) {
  .header-inner, .wrap { width: calc(100% - 64px); }
  .chapter { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .article-ledger { grid-template-columns: 1fr; }
  .article-ledger .game-capture { max-width: 480px; }
}
@media (max-width: 850px) {
  .header-inner, .wrap { width: calc(100% - 44px); }
  .header-inner { gap: 5px 12px; }
  .masthead-play { flex-direction: column; align-items: flex-end; gap: 0; }
  .dictionary-intro h1 { letter-spacing: -.055em; }
  .article-layout { grid-template-columns: 1fr; gap: 14px; }
  .article-rail { position: static; display: flex; align-items: center; flex-wrap: wrap; gap: 0 12px; padding-top: 5px; }
  .article-rail a { min-height: 40px; }
  .article-rail .eyebrow { margin: 6px 0; }
  .ledger { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .number-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .number-grid.four .number-field > span { min-height: 0; }
}
@media (max-width: 650px) {
  .header-inner, .wrap { width: calc(100% - 32px); }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; padding-top: 9px; }
  .header-inner nav { grid-row: 2; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 5px; }
  .header-inner nav a { padding-inline: 3px; font-size: .8rem; text-align: center; line-height: 1.2; }
  .brand-mark { width: 35px; height: 35px; }
  .brand strong { font-size: 1.2rem; }
  .brand small { font-size: .65rem; }
  .button.header-play { padding: 7px 8px; font-size: .73rem; }
  .inner-wrap { padding-top: 16px; }
  .home-dictionary, .collection-heading, .collection-body, .collection-evidence, .home-next,
  .field-note, .teaching-example, .home-faq > div, .ledger, .upgrade-layout { grid-template-columns: minmax(0, 1fr); }
  .guide-index ul, .editorial-split { grid-template-columns: minmax(0, 1fr); }
  .evidence-table { font-size: .79rem; }
  .evidence-table th, .evidence-table td { padding: 6px 4px; }
  .home-header .masthead-play .header-play { min-height: 40px; }
  .masthead-play > span { font-size: .68rem; }
  .desk-scene { max-height: 790px; }
  .desk-scene img { object-position: 68% 50%; }
  .front-desk::before { background: linear-gradient(0deg, #251b16 1%, #251b1680 50%, #17362e38 74%, #142f2773); }
  .home-dictionary { gap: 18px; padding-block: 34px 29px; min-height: 0; }
  .dictionary-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; padding-block: 0; }
  .dictionary-intro h1 { max-width: none; font-size: clamp(39px, 10.4vw, 58px); }
  .dictionary-intro .eyebrow { margin-bottom: 7px; padding: 3px 5px; font-size: .62rem; }
  .desk-description { margin-top: 7px; font-size: .83rem; }
  .room-plate { padding-inline: 7px; min-height: 45px; }
  .front-desk .glossary-card { --book-binding: 40%; padding: 12px; }
  .glossary-quick-heading p { font-size: .69rem; }
  .lookup { margin-block: 8px 11px; }
  .glossary-card .dictionary-head, .glossary-card .definition { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); padding-inline: 7px; }
  .term-usage { font-size: .75rem; }
  .home-collection { margin-top: 22px; }
  .collection-heading > p { font-size: .89rem; }
  .collection-evidence { gap: 14px; }
  .collection-evidence figcaption { font-size: .81rem; }
  .collection-statement { padding: 16px 13px; }
  .register-guide .article-intro { --article-scene: url('/assets/reception-portrait.webp'); gap: 8px; align-items: start; }
  .register-guide .article-rail a { min-height: 44px; }
  .home-next a { padding-inline: 6px; }
  .home-next a + a { border-inline-start: 0; border-top: 1px solid var(--edge); }
  .page-intro h1 { font-size: clamp(30px, 8.8vw, 44px); }
  .article-rail .eyebrow { width: 100%; margin-bottom: 1px; }
  .chapter { grid-template-columns: 1fr; grid-template-areas: 'heading' 'steps' 'image'; }
  .chapter .game-capture { max-width: 420px; }
  .step { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; }
  .step-index { width: 28px; height: 28px; }
  .article-ledger th, .article-ledger td { padding: 6px 4px; font-size: .75rem; }
  .field-note .game-capture, .upgrade-layout .game-capture { justify-self: start; }
  .planner-foot { grid-template-columns: 1fr; }
  .upgrade-layout .game-capture { grid-row: auto; }
  .number-crosswalk > div { grid-template-columns: 1fr; }
}
@media (max-width: 365px) {
  .number-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .number-grid.three .number-field > span { min-height: 0; }
}
