:root{--background:#14120f;--surface:#1e1b16;--surface-raised:#26221b;--text:#e8e0d0;--text-quiet:#b3aa98;--accent:#c3372e;--accent-ink:#f5eee0;--secondary:#b98a44;--edge:#7e715a;--line:#3a3428;--bad:#e27f6d;--ok:#8fae7c;--band:#1a1712;--ink-deep:#100e0b;--closing-bg:#221310;--radius:6px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--space-8:72px;--container:1200px;--measure:72ch;font-family:'Public Sans',system-ui,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{background:var(--background);color:var(--text);font-size:17px;line-height:1.6}body{margin:0}img{max-width:100%}h1,h2,h3{font-family:'Cinzel',serif;font-weight:700;letter-spacing:.01em;line-height:1.15;text-wrap:balance}p,li,figcaption{text-wrap:pretty}a{color:var(--secondary);text-decoration-thickness:1px;text-underline-offset:3px}a:hover{color:var(--text)}:focus-visible{outline:2px solid var(--secondary);outline-offset:2px}input,select,textarea{background:var(--surface);color:var(--text);border:1px solid var(--edge);border-radius:var(--radius);padding:var(--space-3) var(--space-4);font:inherit;min-height:44px}input:focus,select:focus,textarea:focus{border-color:var(--secondary)}::placeholder{color:var(--text-quiet)}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:var(--space-3) var(--space-5);border-radius:var(--radius);font-weight:600;border:1px solid transparent;cursor:pointer}.btn-primary{background:var(--accent);color:var(--accent-ink)}.btn-primary[data-applied='true']{background:#8f231c;box-shadow:inset 0 0 0 2px var(--accent-ink)}.btn-primary:hover{background:#7d1f18}.btn-primary:active{background:#641611;transform:translateY(1px)}.btn-primary[aria-disabled='true']{background:var(--surface-raised);color:var(--text-quiet);cursor:not-allowed}.btn-secondary{background:transparent;color:var(--text);border-color:var(--edge)}.btn-secondary:hover{border-color:var(--secondary)}.btn:disabled{opacity:.5;cursor:not-allowed}table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}th{text-align:left;font-weight:600;color:var(--text-quiet)}td,th{padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--line)}.stamp{display:inline-block;font-family:'Cinzel',serif;color:var(--secondary);border:1.5px solid var(--secondary);border-radius:2px;padding:2px 10px;font-size:.8rem}.status-ok{color:#8fae7c}.status-pending{color:var(--secondary)}

/* One shared container; nothing touches the screen edge. */
.container{max-width:var(--container);margin-inline:auto;padding-inline:clamp(16px,4vw,32px)}
.container-narrow{max-width:860px;margin-inline:auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:16px;top:-56px;z-index:60;background:var(--surface-raised);color:var(--text);padding:10px 18px;border:1px solid var(--edge);border-radius:var(--radius);transition:top .15s ease}
.skip-link:focus{top:16px}

/* Chrome: a quiet bar and a darker footer, both fill steps of the one umber. */
header.site{background:var(--surface)}
.site-inner{display:flex;align-items:center;gap:var(--space-5);min-height:64px}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--text);padding:8px 0}
.brand .brand-logo{display:block;border-radius:4px}
.wordmark{font-family:'Cinzel',serif;font-weight:700;letter-spacing:.08em;font-size:.95rem}
nav.main{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;row-gap:2px;gap:var(--space-2)}
nav.main a{color:var(--text-quiet);text-decoration:none;font-weight:600;padding:.6rem .85rem;border-radius:var(--radius);display:inline-flex;align-items:center;min-height:44px;border-bottom:2px solid transparent}
nav.main a:hover{color:var(--text);background:var(--surface-raised)}
nav.main a[aria-current='page']{color:var(--secondary);border-bottom-color:var(--secondary)}
.site-footer{background:var(--ink-deep);padding-block:var(--space-7) var(--space-6)}
.foot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:var(--space-6)}
.foot-col h3{margin:0 0 var(--space-3);font-size:1rem}
.foot-links{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-2)}
.foot-links a{color:var(--text-quiet);text-decoration:none;display:inline-block;padding:6px 0}
.foot-links a:hover{color:var(--text);text-decoration:underline}
.foot-note{margin-top:var(--space-6);color:var(--text-quiet);font-size:.85rem;max-width:80ch}
.foot-note p{margin:0 0 var(--space-2)}
.foot-note p.foot-copy{margin:0}

/* Home hero: official backdrop under the one allowed neutral scrim. */
.hero{position:relative;overflow:hidden}
.bgimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.45}
/* (The old .scrim rule retired with its empty div: the gradient now paints
   from .hero::after, appended below.) */
.hero-inner{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:var(--space-7);align-items:center;padding-block:var(--space-6)}
.hero-copy h1{font-size:clamp(2.1rem,1.3rem + 2.2vw,3rem);margin:0 0 var(--space-4)}
.lede{font-size:1.15rem;color:var(--text-quiet);max-width:60ch;margin:0 0 var(--space-5)}
.cta-row{display:flex;flex-wrap:wrap;gap:var(--space-3)}
.plate{margin:0;border:1.5px solid var(--secondary);border-radius:6px;overflow:hidden;background:var(--surface)}
.plate img{display:block;width:100%;height:auto}
.plate figcaption{padding:8px 12px;font-size:.8rem;color:var(--text-quiet)}

/* Sections: separated by space and tone steps, never by drawn divider lines. */
.section{padding-block:var(--space-7) var(--space-6)}
.section h2{font-size:clamp(1.45rem,1.15rem + .9vw,1.8rem);margin:0 0 var(--space-3)}
.section-lede{color:var(--text-quiet);max-width:72ch;margin:0 0 var(--space-5)}
.facts{padding-block:var(--space-6) var(--space-7)}
.gallery-band{background:var(--band)}

/* The ledger tool: one bounded card, exactly as the comp draws it. */
.toolcard{background:var(--surface);border:1px solid var(--edge);border-radius:6px;padding:20px;animation:settle .2s ease both}
@keyframes settle{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.toolhead{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap;margin:0 0 14px}
.toolhead p{margin:0}
.count{color:var(--text-quiet);font-size:.95rem}
.count strong{color:var(--text)}
.search-row{display:flex;gap:var(--space-3);align-items:center;flex-wrap:wrap}
.search-label{font-weight:600}
.search-input{flex:1 1 260px;min-width:0;background:var(--surface-raised);margin:0}
.search-input[aria-invalid='true']{border-color:var(--bad)}
.result-note{margin:2px 0 10px;color:var(--text-quiet);font-size:.9rem;line-height:1.5}
.clear-btn{background:transparent;color:var(--text-quiet);border:1px solid var(--edge);border-radius:var(--radius);min-height:44px;padding:var(--space-3) var(--space-4);font:inherit;font-weight:600;cursor:pointer}
.clear-btn:hover{color:var(--text);background:var(--surface-raised);border-color:var(--secondary)}
.clear-btn:active{background:#2e2a22}
.hint{color:var(--text-quiet);font-size:.85rem;margin:6px 0 14px}
.field-error{color:var(--bad);font-size:.85rem;margin:6px 0 0}
.empty-note{margin:8px 0 0;padding:10px 14px;font-size:.9rem;color:var(--text);background:var(--surface-raised);border:1px solid var(--edge);border-radius:var(--radius)}
.toolfoot{color:var(--text-quiet);font-size:.85rem;margin:14px 0 0}
table.ledger{font-variant-numeric:tabular-nums}
.ledger th{text-align:left;font-weight:600;color:var(--text-quiet);font-size:.85rem;padding:10px 14px;border-bottom:1px solid var(--line)}
.ledger td{padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:top}
.ledger tbody tr:last-child td{border-bottom:0}
.ledger td.value{color:var(--text)}
.ledger td.fact{font-weight:600}
.row-thumb{display:inline-block;width:72px;height:72px;object-fit:cover;border-radius:4px;margin-right:12px;vertical-align:middle}
.row-mark{margin-right:8px;vertical-align:-2px}
.chip{display:inline-block;border:1px solid var(--secondary);border-radius:2px;color:var(--secondary);font-size:.8rem;padding:1px 8px;white-space:nowrap}
.chip.ok{border-color:var(--ok);color:var(--ok)}
.evid{display:block;font-size:.8rem;color:var(--text-quiet);margin-top:4px}
.evid a{color:var(--secondary)}
.ledger a{text-decoration-thickness:1px;text-underline-offset:3px}
.no-match{display:none;padding:18px 14px;color:var(--text-quiet)}
.no-match.show{display:block}

/* Quick answers, coverage tiles: filled surfaces, no outlines. */
.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-4)}
.quick-card{background:var(--surface);border-radius:6px;padding:var(--space-4) var(--space-5)}
.quick-card h3{margin:0 0 var(--space-2);font-size:1.08rem}
.quick-card p{margin:0;color:var(--text-quiet)}
.quick-thumb{display:block;width:160px;height:90px;object-fit:cover;border-radius:4px;margin-top:var(--space-3)}
.cover-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-4)}
.cover-tile{background:var(--surface);border-radius:6px;padding:var(--space-4) var(--space-5)}
.cover-tile h3{margin:0 0 var(--space-2);font-size:1.08rem}
.cover-tile p{margin:0;color:var(--text-quiet)}

/* Official captures strip. */
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-4)}
.tile{margin:0}
.tile img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:6px}
.tile figcaption{font-size:.8rem;color:var(--text-quiet);margin-top:8px;line-height:1.5}

/* Beginner steps beside the sticky verify column. */
.tips-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,360px);gap:var(--space-7);align-items:start}
.steps{display:grid;gap:var(--space-5);margin-top:var(--space-5)}
.step{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--space-4)}
.step .n{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1.5px solid var(--secondary);border-radius:3px;color:var(--secondary);font-family:'Cinzel',serif;font-weight:700;font-size:.95rem}
.step-body h3{margin:0 0 4px;font-size:1.05rem}
.step-body p{margin:0;color:var(--text-quiet)}
.step-fig{margin:var(--space-3) 0 0}
.step-fig img{display:block;width:320px;max-width:100%;height:auto;border-radius:6px}
.step-fig figcaption{font-size:.8rem;color:var(--text-quiet);margin-top:6px}
.verify-col{background:var(--surface);border-radius:6px;padding:var(--space-5)}
.verify-col h2{font-size:1.3rem;margin:0 0 var(--space-4)}
.verify-list{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-4)}
.verify-list h3{margin:0 0 4px;font-size:1rem}
.verify-list p{margin:0;color:var(--text-quiet);font-size:.95rem}

/* FAQ and the closing band that returns to the ledger. */
.faq-col{max-width:72ch}
.faq-item{margin-top:var(--space-5)}
.faq-item h3{margin:0 0 var(--space-2);font-size:1.08rem}
.faq-item p{margin:0;color:var(--text-quiet)}
.closing{background:var(--closing-bg);padding-block:var(--space-7)}
.closing-inner{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-6)}
.closing-copy{flex:1 1 380px}
.closing-copy h2{margin:0 0 var(--space-2);font-size:clamp(1.45rem,1.15rem + .9vw,1.8rem)}
.closing-copy p{margin:0;color:var(--text-quiet);max-width:60ch}
.btn-invert{background:var(--text);color:#14120f}
.btn-invert:hover{background:#d9d0bd}
.btn-invert:active{background:#c8bfa9}

/* Inner pages: page head, contact grid, reading-column documents. */
.page-head{max-width:72ch;padding-block:var(--space-6) var(--space-5)}
.page-head h1{font-size:clamp(2rem,1.4rem + 1.6vw,2.6rem);margin:0 0 var(--space-3)}
.page-head .lede{margin:0}
.contact-grid{display:grid;grid-template-columns:minmax(0,560px) minmax(0,1fr);gap:var(--space-7);align-items:start;padding-bottom:var(--space-6)}
.form-card{background:var(--surface);border:1px solid var(--edge);border-radius:6px;padding:clamp(18px,3vw,28px);display:grid;gap:var(--space-4)}
.field{display:grid;gap:6px}
.field label{font-weight:600}
.field textarea{min-height:160px;resize:vertical}
.field select{appearance:none;background-image:url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%228%22 viewBox=%220 0 12 8%22%3E%3Cpath d=%22M1 1l5 5 5-5%22 fill=%22none%22 stroke=%22%23b98a44%22 stroke-width=%222%22/%3E%3C/svg%3E');background-repeat:no-repeat;background-position:right 14px center;padding-right:40px}
.hint-sm{margin:0;color:var(--text-quiet);font-size:.85rem}
.form-status{margin:0;color:var(--text-quiet);min-height:1.2em}
.btn-wide{width:100%}
.aside-col h2{font-size:1.3rem;margin:0 0 var(--space-4)}
.aside-list{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-4)}
.aside-list h3{margin:0 0 4px;font-size:1rem}
.aside-list p{margin:0;color:var(--text-quiet);font-size:.95rem}
.aside-fig{margin:var(--space-5) 0 0}
.aside-fig img{display:block;width:160px;height:160px;object-fit:cover;border-radius:6px}
.quiet-list{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-4)}
.quiet-list h3{margin:0 0 4px;font-size:1rem}
.quiet-list p{margin:0;color:var(--text-quiet)}
.doc{max-width:72ch;margin-inline:auto;padding-block:var(--space-6) var(--space-7)}
.doc h1{font-size:clamp(2rem,1.4rem + 1.4vw,2.5rem);margin:0 0 var(--space-3)}
.doc-meta{color:var(--text-quiet);font-size:.9rem;margin:0 0 var(--space-3)}
.doc-lede{color:var(--text-quiet);font-size:1.1rem;margin:0}
.doc-section{margin-top:var(--space-6)}
.doc-section h2{font-size:1.4rem;margin:0 0 var(--space-3)}
.doc-section p{margin:0}
.doc-item{margin-top:var(--space-4)}
.doc-item h3{margin:0 0 4px;font-size:1.02rem}
.doc-end{margin-top:var(--space-6)}
.doc-end a{display:inline-block;padding:12px 0;font-weight:600}

/* The comp's mobile rules: the ledger re-renders as labelled row cards under
   900px; on phones the hero art steps aside so the ledger starts in the
   upper half of the first screen (recorded design decision, 2026-12-02). */
.field input,.field select,.field textarea{max-width:100%;min-width:0}
.contact-grid{min-width:0}

@media (max-width:900px){
  .hero-inner{grid-template-columns:1fr;gap:var(--space-5);padding-block:var(--space-5) 0}
  .plate{max-width:420px}
  .tips-row{grid-template-columns:1fr;gap:var(--space-6)}
  .contact-grid{grid-template-columns:minmax(0,1fr)}
  .contact-grid>*,.form-card,.field{min-width:0}
  .quick-grid,.cover-grid,.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ledger th{display:none}
  .ledger tr{display:block;border-bottom:1px solid var(--line);padding-block:10px}
  .ledger tr:last-child{border-bottom:0}
  .ledger td{display:block;border-bottom:0;padding:2px 0}
  .ledger td.fact{font-weight:600;color:var(--text-quiet);font-size:.85rem}
}
@media (max-width:760px){
  .bgimg,.plate{display:none}
  .quick-grid,.cover-grid,.gallery-grid{grid-template-columns:1fr}
  /* Phones: the hero art steps aside (recorded design decision) and the
     search field + both buttons share one row, so the ledger's first
     control lands inside the first screen. */
  .search-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:var(--space-2)}
  .search-label{grid-column:1/-1}
  .search-input{grid-column:1}
  .search-row .btn-primary{grid-column:2;white-space:nowrap;padding-inline:var(--space-3)}
  .clear-btn{grid-column:3;white-space:nowrap}
  .closing-inner{flex-direction:column;align-items:flex-start}
  .btn-wide{width:100%}
  .hero-copy h1{font-size:1.45rem;margin-bottom:var(--space-2)}
  .site-inner{min-height:52px}
  .hero-inner{padding-block:var(--space-3) 0;gap:var(--space-2)}
  .lede{font-size:.95rem;line-height:1.5;margin-bottom:var(--space-2)}
  .cta-row{gap:var(--space-2)}
  .cta-row .btn{min-height:40px;padding:var(--space-2) var(--space-3);font-size:.95rem}
  .section{padding-block:var(--space-4) var(--space-5)}
  .section h2{margin-bottom:var(--space-2)}
  .section-lede{margin-bottom:var(--space-3)}
  .toolcard{padding:14px}
  .toolhead{margin-bottom:10px}
}
@media (max-width:380px){
  .search-row{grid-template-columns:minmax(0,1fr) auto}
  .search-input{grid-row:2;grid-column:1}
  .clear-btn{grid-row:2;grid-column:2}
  .search-row .btn-primary{grid-row:3;grid-column:1/-1;width:100%}
}
/* --- Self-hosted identity fonts (owner principle P3). The Google-hosted
   woff2 files were blocked in-browser on every page load, so the identity
   fonts never rendered; both variable latin subsets now ship from
   public/fonts and load with font-display: swap. --- */
@font-face{font-family:'Public Sans';src:url('/fonts/public-sans-latin.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'Cinzel';src:url('/fonts/cinzel-latin.woff2') format('woff2');font-weight:400 900;font-style:normal;font-display:swap}

/* --- Home hero: the scrim gradient is the section's own backdrop now, so no
   empty panel div sits on arrival (design-floor A18). --- */
.hero::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,10,8,.78),rgba(20,18,15,.94));pointer-events:none}
.hero-inner{z-index:1}

/* --- Guide & data pages: one reading column; the tool or table sits above
   the prose, exactly as the comp orders them. --- */
.article-page{padding-bottom:var(--space-8)}
.breadcrumb{color:var(--text-quiet);font-size:.85rem;padding-top:var(--space-5);margin:0}
.breadcrumb a{color:var(--secondary)}
.article-hero{max-width:880px;padding-block:var(--space-5)}
.article-hero h1{font-size:clamp(1.9rem,1.3rem + 1.6vw,2.5rem);margin:0 0 var(--space-3)}
.eyebrow{font-family:'Cinzel',serif;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--secondary);font-size:.8rem;margin:0 0 var(--space-2)}
.article-body{max-width:760px}
.detail-grid{display:grid;gap:var(--space-5)}
.detail-grid>*{min-width:0}
.article-section{margin-top:var(--space-6)}
.article-section h2{font-size:1.45rem;margin:0 0 var(--space-3)}
.article-section h3{font-size:1.08rem;margin:0 0 var(--space-2)}
.article-section p{margin:0 0 var(--space-3)}
.article-section p:last-child{margin-bottom:0}

/* Prose sub-lists shared by the guide shells. */
.section-steps,.section-items,.recipe-inputs,.landmark-list,.reverify-list{margin:var(--space-4) 0 0;padding-left:20px;display:grid;gap:var(--space-3)}
.section-steps h3,.section-items h3{margin:0 0 2px;font-size:1.02rem}
.section-steps p,.section-items p{margin:0;color:var(--text-quiet)}
.landmark-list li,.reverify-list li{color:var(--text-quiet)}
.landmark-list strong{color:var(--text)}
.reverify-list a{color:var(--secondary)}
.related-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.related-list a{display:inline-block;padding:8px 14px;border:1px solid var(--edge);border-radius:var(--radius);text-decoration:none;color:var(--text);font-weight:600}
.related-list a:hover{border-color:var(--secondary)}
.faq-list{margin:var(--space-4) 0 0}
.faq-entry{margin-top:var(--space-4)}
.faq-entry dt{font-weight:700;margin-bottom:4px}
.faq-entry dd{margin:0;color:var(--text-quiet)}
/* --- Data tables: hairline rows, scrolling inside their own wrap so phone
   columns keep readable widths. --- */
.table-wrap{overflow-x:auto;border:1px solid var(--edge);border-radius:var(--radius);background:var(--surface)}
.table-note{color:var(--text-quiet);font-size:.95rem;margin:8px 2px 0;line-height:1.5}
.data-table{min-width:640px}
.data-table th,.data-table td{padding:10px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.data-table thead th{background:var(--surface-raised);color:var(--text-quiet);font-size:.85rem;white-space:nowrap}
.data-table tbody tr:last-child td,.data-table tbody tr:last-child th{border-bottom:0}
.data-table tbody tr:hover{background:var(--surface-raised)}
.data-table th[scope='row']{font-weight:600;color:var(--text);white-space:nowrap}
.data-table a{color:var(--secondary)}
.row-meta{display:block;color:var(--text-quiet);font-size:.8rem;margin-top:4px}
.status-chip{display:inline-block;border:1px solid var(--edge);border-radius:2px;font-size:.78rem;padding:1px 8px;color:var(--text-quiet);white-space:nowrap}
.status-working{border-color:var(--ok);color:var(--ok)}
.status-working_partial{border-color:var(--secondary);color:var(--secondary)}
.status-unconfirmed{border-color:var(--edge);color:var(--text-quiet)}
.source-link{color:var(--secondary)}

/* --- Table tools (items, talents): search first, then hint, then the live
   count, then the table — the ledger pattern the home page set. --- */
.table-tool{background:var(--surface);border:1px solid var(--edge);border-radius:var(--radius);padding:18px}
.table-tool .search-row{display:flex;gap:var(--space-3);align-items:flex-end;flex-wrap:wrap;margin:0}
.table-tool .field{gap:4px;flex:1 1 240px;min-width:220px}
.table-tool .field input{background:var(--surface-raised);margin:0;width:100%}
.field-label{font-weight:600;font-size:.9rem}
.field select{min-height:44px}
.tool-hint{color:var(--text-quiet);font-size:.95rem;margin:10px 0 4px;line-height:1.6}
.tool-hint kbd{font-family:inherit;border:1px solid var(--edge);border-bottom-width:2px;border-radius:4px;padding:0 7px;font-size:.8rem;color:var(--text);background:var(--surface-raised)}
.tool-count{color:var(--text-quiet);font-size:.95rem;margin:4px 0 12px}
.tool-count strong{color:var(--text)}
.branch-chips{display:flex;gap:8px;flex-wrap:wrap}

/* Thumb-sized interactive filter chips (map legend, talent families): the
   old .chip span stays the small status stamp; buttons get the 44px target. */
button.chip{cursor:pointer;font:inherit;font-size:.9rem;min-height:44px;padding:8px 14px;background:var(--surface-raised);display:inline-flex;align-items:center;gap:8px}
.chip-on{border-color:var(--secondary);color:var(--text);background:var(--surface-raised)}
.chip-off{border-color:var(--edge);color:var(--text-quiet);background:transparent}
button.chip-off:hover{border-color:var(--secondary);color:var(--text)}
.chip-count{color:var(--text-quiet);font-variant-numeric:tabular-nums}
.dot{display:inline-block;width:10px;height:10px;border-radius:50%;flex:none}

/* --- Maps explorer (parity T8): region tabs, list first, board second; the
   legend sits beside the board on desktop, and under 900px the toggle above
   the list opens it in flow at the bottom of the section — never a fixed
   overlay, so nothing ever paints over the list. --- */
.maps-explorer{display:grid;gap:var(--space-4)}
.region-tabs{display:flex;gap:8px;flex-wrap:wrap}
.region-tab{cursor:pointer;font:inherit;background:var(--surface);border:1px solid var(--edge);border-radius:var(--radius);padding:10px 16px;min-height:48px;display:grid;gap:2px;text-align:left}
.region-tab:hover{border-color:var(--secondary)}
.region-tab-on{border-color:var(--secondary);background:var(--surface-raised)}
.region-name{font-family:'Cinzel',serif;font-weight:700;color:var(--text);font-size:.95rem}
.region-sub{font-size:.8rem;color:var(--text-quiet)}
.explorer-summary{color:var(--text-quiet);margin:0;line-height:1.6}
.legend-panel{background:var(--surface);border:1px solid var(--edge);border-radius:var(--radius);padding:14px;display:grid;gap:10px;align-content:start}
.panel-title-row{display:flex;justify-content:space-between;align-items:center;gap:12px}
.panel-title{margin:0;font-weight:700;color:var(--text)}
.panel-note{margin:0;color:var(--text-quiet);font-size:.85rem;line-height:1.55}
.filter-chips{display:flex;gap:8px;flex-wrap:wrap}
.panel-subtitle{margin:0;font-size:.82rem;font-weight:700;letter-spacing:.03em;color:var(--text-quiet)}
.kind-chips{gap:6px}

/* --- Updates page: the verify loop stamped as data (parity P6) --- */
.verify-loop{background:var(--band);border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px;margin:16px 0}
.verify-loop-title{margin:0 0 8px;font-weight:700;color:var(--text)}
.verify-loop-steps{margin:0;padding-left:20px;display:grid;gap:6px;color:var(--text-quiet);line-height:1.6}
.verify-loop-steps strong{color:var(--text)}
.marker-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.marker-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 10px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:10px 14px}
.marker-row .dot{margin-top:6px}
.marker-label{font-weight:600;color:var(--text)}
.marker-note{grid-column:2;color:var(--text-quiet);font-size:.9rem;line-height:1.5}
.marker-empty{color:var(--text-quiet);padding:12px 14px;border:1px dashed var(--edge);border-radius:var(--radius)}
.map-board{position:relative;aspect-ratio:4/3;background:var(--band);border:1px solid var(--line);border-radius:8px;overflow:hidden}
.board-svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.board-grid line{stroke:var(--line);stroke-width:1;opacity:.45}
.board-land{fill:var(--surface-raised);stroke:var(--line);stroke-width:1.5}
.board-trail{fill:none;stroke:var(--line);stroke-width:2}
.board-trail-a{stroke-dasharray:7 8}
.board-trail-b{stroke-dasharray:3 7;opacity:.8}
.board-compass line{stroke:var(--text-quiet);stroke-width:1.5}
.board-needle{fill:var(--text-quiet)}
.board-tick{fill:var(--text-quiet);font-size:11px}
.board-note{fill:var(--text-quiet);font-size:11px;letter-spacing:.4px}
.board-pin{stroke:var(--ink-deep);stroke-width:2}
.board-pin-core{fill:var(--ink-deep);opacity:.5}
.legend-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border-radius:999px;background:var(--accent);color:var(--accent-ink);border:0;font:inherit;font-weight:700;cursor:pointer}
.legend-toggle:hover{background:#a92d25}
@media (min-width:901px){
  .legend-toggle{display:none}
  .maps-explorer{grid-template-columns:minmax(0,1fr) minmax(300px,360px);grid-template-areas:'tabs tabs' 'summary summary' 'toggle toggle' 'list legend' 'list board'}
  .region-tabs{grid-area:tabs}
  .explorer-summary{grid-area:summary}
  .legend-toggle{grid-area:toggle}
  .marker-list{grid-area:list}
  .legend-panel{grid-area:legend;align-self:start}
  .map-board{grid-area:board;align-self:start}
}
@media (max-width:900px){
  .maps-explorer>*{min-width:0}
  .region-tabs{order:1}
  .explorer-summary{order:2}
  .legend-toggle{order:3}
  .marker-list{order:4}
  .map-board{order:5}
  .legend-panel{order:6;display:none;margin:0}
  .legend-panel.open{display:grid}
}
/* --- Updates page (B1): the missive banner, the diff ledger, the EAC line. --- */
.update-banner{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline;background:var(--closing-bg);border:1px solid var(--secondary);border-radius:var(--radius);padding:12px 16px;margin:var(--space-5) 0 0}
.update-banner strong{font-family:'Cinzel',serif;letter-spacing:.06em}
.banner-line{color:var(--secondary);font-weight:700;font-size:.85rem;letter-spacing:.08em}
.update-banner time{color:var(--text-quiet);font-size:.9rem}
.banner-next{color:var(--text-quiet);font-size:.9rem}
.update-entry{margin-top:var(--space-6);padding-top:0}
.update-entry h2{margin:0 0 4px;font-size:1.3rem}
.update-entry p{max-width:72ch}
.update-meta{color:var(--text-quiet);font-size:.9rem;margin:0 0 var(--space-3)}
.update-entry h3{margin:var(--space-4) 0 var(--space-2);font-size:1.02rem}
.update-sources{margin-top:var(--space-3)}
.eac-line{background:var(--surface);border:1px solid var(--edge);border-radius:var(--radius);padding:12px 16px;margin:0 0 var(--space-2)}
/* --- The returning-player delta: the page remembers the last visit (device
   only) and opens on what changed since it. --- */
.delta-panel{background:var(--band);border:1px solid var(--secondary);border-radius:var(--radius);padding:14px 18px;margin:0 0 var(--space-4)}
.delta-title{margin:0 0 6px;font-weight:700;color:var(--text);font-family:'Cinzel',serif;letter-spacing:.02em}
.delta-note{margin:0;color:var(--text-quiet);line-height:1.6;max-width:72ch}
.delta-list{margin:8px 0 0;padding-left:20px;display:grid;gap:4px;color:var(--text-quiet);line-height:1.6}
.delta-list a{color:var(--secondary)}
.delta-toggle{display:inline-flex;align-items:center;min-height:44px;margin-top:10px;padding:8px 16px;background:var(--surface-raised);border:1px solid var(--edge);border-radius:var(--radius);color:var(--text);font:inherit;font-weight:600;font-size:.95rem;cursor:pointer}
.delta-toggle:hover{border-color:var(--text-quiet)}
.delta-toggle[aria-pressed="true"]{border-color:var(--secondary);color:var(--secondary)}
.delta-chip{display:inline-block;margin-left:10px;padding:2px 8px;border:1px solid var(--secondary);border-radius:999px;color:var(--secondary);font-size:.75rem;font-weight:700;letter-spacing:.05em;white-space:nowrap}
.reverify-new .delta-chip{margin-left:8px}
/* --- Mobile navigation (quality ruler): under 700px the header links sit
   behind a Menu toggle; desktop keeps the inline row and the wrapper
   dissolves so nothing about the old layout changes. --- */
.site-nav{display:contents}
.nav-toggle{display:none;align-items:center;gap:6px;min-height:44px;padding:8px 16px;background:var(--surface-raised);border:1px solid var(--edge);border-radius:var(--radius);color:var(--text);font-weight:600;font-size:.95rem;cursor:pointer;margin-left:auto}
.nav-toggle:hover{color:var(--text);border-color:var(--text-quiet)}
@media (max-width:700px){
  .nav-toggle{display:inline-flex}
  .site-nav{display:none;flex-basis:100%}
  .site-nav.open{display:block}
  nav.main{flex-direction:column;align-items:stretch;justify-content:flex-start;margin-left:-6px}
  nav.main a{min-height:44px;padding:.55rem .75rem;font-size:.95rem;border-bottom:1px solid var(--edge)}
}

/* --- Item detail page (parity T2). --- */
.stat-list{margin:0;display:grid;gap:10px}
.stat-row{display:flex;justify-content:space-between;gap:16px;padding:0}
.stat-row dt{color:var(--text-quiet)}
.stat-row dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums;text-align:right}
.recipe-station{color:var(--text-quiet);font-size:.95rem;margin:0 0 var(--space-2)}
.worth-verdict{background:var(--surface);border:1px solid var(--edge);border-radius:var(--radius);padding:14px 16px;margin:0}

/* --- Ad slots (owner principle P26): quiet, labelled, never overlapping
   content. The sidebar slot is desktop-only so no phone page carries an
   in-body ad; the consent prompt is fixed and dismissible. --- */
.ad-slot{margin-top:var(--space-6);padding:12px;border:1px dashed var(--edge);border-radius:var(--radius);color:var(--text-quiet);font-size:.8rem}
.ad-slot::before{content:'Advertisement';display:block;letter-spacing:.08em;text-transform:uppercase;font-size:.7rem;margin-bottom:8px}
.ad-table-sidebar{display:none}
@media (min-width:1000px){.ad-table-sidebar{display:block}}
.ad-consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:90;background:var(--surface-raised);border:1px solid var(--edge);border-radius:8px;padding:14px 16px;display:grid;gap:10px;box-shadow:0 10px 30px rgba(0,0,0,.5);max-width:520px}
.ad-consent p{margin:0;font-size:.92rem;line-height:1.5}
.ad-consent-actions{display:flex;gap:10px;flex-wrap:wrap}

/* --- Table tools on phones: one column, full-width controls. --- */
@media (max-width:760px){
  .table-tool .search-row{display:flex;flex-direction:column;align-items:stretch}
  .table-tool .field{min-width:0;flex-basis:auto}
  .data-table{min-width:560px}
  .article-hero h1{font-size:1.5rem}
  .update-banner{padding:10px 12px}
  .ad-slot{margin-top:var(--space-5)}
}
/* --- Phones: one short header row above the tool, a tightened hero, and the
   hero picture steps aside (the same official captures sit in the gallery
   band below) so the ledger search clears the fold at 390x844. --- */
@media (max-width:700px){
  .site-inner{flex-wrap:wrap;row-gap:2px;min-height:0;padding-block:6px}
  .brand{padding:4px 0}
  nav.main{flex-basis:100%;margin-left:-6px;justify-content:flex-start;row-gap:0}
  nav.main a{min-height:36px;padding:.25rem .55rem;font-size:.9rem}
  .hero-inner{grid-template-columns:minmax(0,1fr);gap:var(--space-3);padding-block:10px}
  .hero .plate{display:none}
  .hero-copy h1{font-size:1.5rem;margin:0 0 6px}
  .lede{font-size:.92rem;line-height:1.5;margin:0 0 10px}
  .cta-row{gap:8px}
  .section{padding-block:var(--space-4)}
  .section-lede{font-size:.9rem;line-height:1.5;margin-bottom:var(--space-3)}
  .toolcard{padding:16px}
  .toolhead{margin-bottom:10px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}