/* Fort Union Minerals */
:root {
  --bg: #efece4; --paper: #f7f4ec; --ink: #14171a; --muted: #5c6168;
  --subtle: #8a8478; --line: #d4cfc3; --slate: #3a4d5c; --field: #1a1e22;
  --field-fg: #efece4; --field-muted: #9aa1a8;
  --display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.5; }
img { max-width: 100%; display: block; outline: 1px solid rgb(20 23 26 / 0.1); outline-offset: -1px; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.025em; text-wrap: balance; line-height: 1.15; }
p { text-wrap: pretty; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }
header.site { position: sticky; top: 0; z-index: 40; background: color-mix(in oklab, var(--bg) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; font-family: var(--display); font-size: 1.125rem; }
.mark { width: 1.75rem; height: 1.75rem; flex: none; }
.menu-btn { width: 2.75rem; height: 2.75rem; border: 0; background: none; display: grid; place-items: center; color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; height: 2.75rem; padding: 0 1rem; border-radius: 0.375rem; border: 0; font-size: 0.875rem; font-weight: 500; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--field-fg); border: 1px solid color-mix(in oklab, var(--field-muted) 30%, transparent); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: 0 0 0 1px rgb(20 23 26 / 0.08); }
.btn-lg { height: 3rem; padding: 0 1.25rem; }
.hero { position: relative; min-height: 88vh; background: var(--field); overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; outline: none; }
.hero .veil { position: absolute; inset: 0; background: linear-gradient(to top, var(--field), color-mix(in oklab, var(--field) 55%, transparent) 40%, color-mix(in oklab, var(--field) 25%, transparent)); }
.hero .copy { position: relative; min-height: 88vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 7rem 0 4rem; }
.kicker { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }
.hero .kicker { color: color-mix(in oklab, var(--paper) 80%, transparent); }
.hero h1 { margin: 1rem 0 0; max-width: 48rem; font-size: clamp(2.75rem, 7vw, 4.5rem); color: var(--paper); }
.hero .lede { margin: 1.25rem 0 0; max-width: 36rem; font-size: 1.125rem; line-height: 1.65; color: color-mix(in oklab, var(--paper) 80%, transparent); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats .grid { display: grid; gap: 2rem; padding: 2.5rem 0; }
@media (min-width: 768px) { .stats .grid { grid-template-columns: repeat(3, 1fr); } }
.stats .num { font-family: var(--display); font-size: 2.25rem; font-variant-numeric: tabular-nums; }
.stats .lbl { margin: 0.25rem 0 0; font-size: 0.875rem; color: var(--muted); }
.section { padding: 5rem 0; }
.section h2 { margin: 0.75rem 0 0; font-size: clamp(1.75rem, 4vw, 2.25rem); }
.cards { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .cards.three { grid-template-columns: repeat(3, 1fr); } .cards.two { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--paper); border-radius: 0.75rem; padding: 1.5rem; box-shadow: 0 0 0 1px rgb(20 23 26 / 0.06); }
.card h2, .card h3 { margin: 0; font-size: 1.5rem; }
.card p { margin: 0.75rem 0 0; font-size: 0.9rem; color: var(--muted); line-height: 1.65; }
.ink { background: var(--field); color: var(--field-fg); }
.ink .kicker { color: var(--field-muted); }
.ink p { color: var(--field-muted); }
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }
.photo { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 0.75rem; }
.photo.r43 { aspect-ratio: 4/3; }
.steps { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps.four { grid-template-columns: repeat(4, 1fr); } }
.n { font-family: var(--display); font-size: 0.875rem; font-variant-numeric: tabular-nums; color: var(--subtle); }
.muted { color: var(--muted); line-height: 1.65; }
.paper { background: var(--paper); }
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 4rem 0; }
.page-head h1 { margin: 0.75rem 0 0; max-width: 48rem; font-size: clamp(2.25rem, 5vw, 3rem); }
.page-head p { margin: 1.25rem 0 0; max-width: 40rem; font-size: 1.125rem; color: var(--muted); line-height: 1.65; }
.stack-row { display: grid; gap: 0.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .stack-row { grid-template-columns: 1fr 2fr; gap: 2rem; } }
.tier { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--subtle); }
dl.faq { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
dl.faq > div { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
dt { font-family: var(--display); font-size: 1.25rem; font-weight: 500; }
dd { margin: 0.75rem 0 0; color: var(--muted); line-height: 1.65; }
form.offer { background: var(--paper); border-radius: 0.75rem; padding: 1.25rem; box-shadow: 0 0 0 1px rgb(20 23 26 / 0.06); }
@media (min-width: 640px) { form.offer { padding: 2rem; } }
.fields { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } }
.span2 { grid-column: 1 / -1; }
label.lbl { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.4rem; }
input, select, textarea { width: 100%; height: 2.75rem; padding: 0 0.75rem; border: 0; border-radius: 0.375rem; background: var(--paper); color: var(--ink); font: inherit; box-shadow: 0 0 0 1px rgb(20 23 26 / 0.08); }
textarea { height: auto; min-height: 7rem; padding: 0.65rem 0.75rem; }
.hint { margin: 0.35rem 0 0; font-size: 0.75rem; color: var(--subtle); }
.form-foot { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .form-foot { flex-direction: row; align-items: center; justify-content: space-between; } }
footer.site { background: var(--field); color: var(--field-fg); }
footer .grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; }
@media (min-width: 768px) { footer .grid { grid-template-columns: 5fr 3fr 4fr; } }
footer h2 { margin: 0; font-size: 1.5rem; }
footer p, footer li { color: var(--field-muted); font-size: 0.875rem; line-height: 1.65; }
footer ul { list-style: none; margin: 0.75rem 0 0; padding: 0; }
footer a:hover { color: var(--paper); }
.legal { border-top: 1px solid color-mix(in oklab, var(--field-fg) 10%, transparent); }
.legal .wrap { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem 1.25rem; font-size: 0.75rem; color: var(--field-muted); }
@media (min-width: 768px) { .legal .wrap { flex-direction: row; justify-content: space-between; } }
.cta-band { position: relative; overflow: hidden; background: var(--field); }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; outline: none; }
.cta-band .veil { position: absolute; inset: 0; background: color-mix(in oklab, var(--field) 60%, transparent); }
.cta-band .copy { position: relative; padding: 6rem 0; }
.cta-band h2 { max-width: 36rem; font-size: clamp(1.75rem, 4vw, 3rem); color: var(--paper); }
.cta-band p { max-width: 28rem; color: color-mix(in oklab, var(--paper) 80%, transparent); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---- news, resources and directory pages ---- */
.lede { max-width: 44rem; font-size: 1.125rem; color: var(--muted); line-height: 1.65; margin: 1.25rem 0 0; }
.rss-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.5rem; font-size: .9rem; font-weight: 500; border-bottom: 1px solid var(--ink); }
.feed { max-width: 48rem; }
.feed-item { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.feed-item:first-child { padding-top: 0; }
.feed-item h2, .feed-item h3 { margin: .5rem 0 0; font-size: 1.5rem; }
.feed-item h2 a:hover, .feed-item h3 a:hover { text-decoration: underline; }
.feed-item p { margin: .9rem 0 0; color: var(--muted); line-height: 1.7; }
.meta { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.meta .tag { color: var(--slate); font-weight: 600; }
.why { border-left: 3px solid var(--slate); padding: .15rem 0 .15rem 1rem; margin-top: 1.1rem; color: var(--ink); line-height: 1.65; }
.why strong { font-weight: 600; }
.src { margin-top: 1rem; font-size: .875rem; color: var(--muted); }
.src a, .prose a, .note a { text-decoration: underline; text-underline-offset: 2px; }
.highlights { margin: 1.25rem 0 0; padding-left: 1.25rem; color: var(--muted); line-height: 1.7; }
.highlights li { margin: .35rem 0; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; font-size: .9rem; font-weight: 500; flex-wrap: wrap; }
.note { margin-top: 2.5rem; font-size: .8rem; color: var(--subtle); line-height: 1.6; max-width: 48rem; }
.crumbs { font-size: .8rem; color: var(--subtle); margin: 0 0 .75rem; }
.crumbs a { text-decoration: underline; text-underline-offset: 2px; }
.res-group { margin-top: 3rem; }
.res-group:first-child { margin-top: 0; }
.res-group h2 { font-size: 1.5rem; margin: 0; }
.res-list { list-style: none; margin: 1rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.res-list li { display: grid; gap: .25rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .res-list li { grid-template-columns: 1fr 1.6fr; gap: 2rem; } }
.res-list a.t { font-family: var(--display); font-size: 1.15rem; text-decoration: underline; text-underline-offset: 3px; }
.res-list .d { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.dir-grid { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 768px) { .dir-grid { grid-template-columns: repeat(2, 1fr); } }
.dir-card { background: var(--paper); border-radius: .75rem; padding: 1.5rem; box-shadow: 0 0 0 1px rgb(20 23 26 / .06); display: flex; flex-direction: column; }
.dir-card h2, .dir-card h3 { margin: 1rem 0 0; font-size: 1.35rem; }
.dir-card .rank { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.dir-card p { margin: .6rem 0 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.logo-tile { display: flex; align-items: center; height: 4.75rem; padding: .75rem 1rem; border-radius: .5rem; background: #fff; box-shadow: inset 0 0 0 1px rgb(20 23 26 / .08); }
.logo-tile.dark { background: #14171a; box-shadow: none; }
.logo-tile img { max-height: 3.25rem; max-width: 100%; width: auto; height: auto; outline: none; }
.logo-tile .wordmark { font-family: var(--display); font-size: 1.5rem; letter-spacing: -.02em; color: var(--ink); }
.logo-tile.dark .wordmark { color: #efece4; }
.contact { margin: 1rem 0 0; padding: 0; font-size: .9rem; display: grid; gap: .35rem; }
.contact div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .5rem; }
.contact dt { font-family: var(--sans); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); font-weight: 500; padding-top: .15rem; }
.contact dd { margin: 0; color: var(--ink); line-height: 1.5; overflow-wrap: anywhere; }
.contact a { text-decoration: underline; text-underline-offset: 2px; }
.oplink { text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.oplink:hover { text-decoration-style: solid; }
.op-wrap { max-width: 52rem; }
.op-history { margin-top: 2.5rem; }
.op-history h3 { font-size: 1.3rem; margin: 2rem 0 0; }
.op-history p { margin: .9rem 0 0; color: var(--muted); line-height: 1.75; }
.op-h2 { font-size: 1.75rem; margin: 3rem 0 0; }
.op-h3 { font-size: 1.2rem; margin: 2rem 0 0; }
.op-history .op-h2:first-child { margin-top: 0; }
sup.fn { font-size: .7em; line-height: 0; margin-left: .1em; }
sup.fn a { text-decoration: none; color: var(--slate); font-weight: 600; }
.op-sources { margin: 1rem 0 0; padding-left: 1.5rem; color: var(--muted); line-height: 1.65; font-size: .95rem; }
.op-sources li { margin: .6rem 0; padding-left: .25rem; overflow-wrap: anywhere; }
.op-sources li:target { background: color-mix(in oklab, var(--slate) 10%, transparent); }
.op-sources a { text-decoration: underline; text-underline-offset: 2px; color: var(--ink); }
.badge { display: inline-block; margin-top: .9rem; padding: .15rem .55rem; border-radius: 999px; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; background: color-mix(in oklab, var(--slate) 12%, transparent); color: var(--slate); font-weight: 600; align-self: flex-start; }

/* ---- sidebar menu ---- */
:root { --side-w: 18.5rem; }
.side { position: fixed; z-index: 60; top: 0; bottom: 0; left: 0; width: var(--side-w); max-width: 88vw; display: flex; flex-direction: column; background: var(--paper); border-right: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain; }
.side-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1rem 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.side-close { display: none; width: 2.75rem; height: 2.75rem; border: 0; background: none; place-items: center; color: var(--ink); border-radius: .375rem; }
.side nav { flex: 1; padding: .75rem .75rem 1rem; }
.tree, .tree ul { list-style: none; margin: 0; padding: 0; }
.tree > li + li { margin-top: .125rem; }
.tree a, .tree .gbtn { display: flex; align-items: center; min-height: 2.5rem; padding: .35rem .75rem; border-radius: .375rem; color: var(--muted); font-size: .95rem; font-weight: 500; line-height: 1.3; }
.tree > li > a, .tree > li > .row > a, .tree .gbtn { color: var(--ink); }
.tree a:hover, .tree .gbtn:hover, .tree .tg:hover { background: color-mix(in oklab, var(--slate) 9%, transparent); color: var(--ink); }
.tree a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.tree .g.has-current > .row > a { font-weight: 600; }
.tree .g.has-current > .row > a[aria-current="page"] { font-weight: 500; }
.tree a:focus-visible, .tree button:focus-visible, .menu-btn:focus-visible, .side-close:focus-visible, .side-foot a:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; }
.row { display: flex; align-items: stretch; }
.row > a { flex: 1; min-width: 0; }
.tg { flex: none; width: 2.5rem; min-height: 2.5rem; border: 0; background: none; color: var(--muted); display: grid; place-items: center; border-radius: .375rem; }
.gbtn { width: 100%; border: 0; background: none; justify-content: space-between; text-align: left; font-family: inherit; }
.tree svg { transition: transform .15s ease; flex: none; }
.tree .g.open > .row svg { transform: rotate(180deg); }
.sub { margin: .125rem 0 .375rem .95rem !important; padding-left: .5rem !important; border-left: 1px solid var(--line); }
.sub a { min-height: 2.25rem; font-size: .9rem; font-weight: 400; padding: .25rem .65rem; }
.sub .sub a { font-size: .86rem; min-height: 2.1rem; }
.sub .row > a { font-weight: 500; }
.sub .tg { min-height: 2.25rem; }
.js .g:not(.open) > .sub { display: none; }
.side-foot { padding: 1rem 1.25rem 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .8rem; color: var(--subtle); }
.side-foot .btn { width: 100%; margin-bottom: .5rem; color: var(--paper); }
.side-rss { text-decoration: underline; text-underline-offset: 2px; }
.scrim { position: fixed; inset: 0; z-index: 50; background: rgb(20 23 26 / .5); }
[id] { scroll-margin-top: 5rem; }
@media (min-width: 1024px) {
  body { padding-left: var(--side-w); }
  header.site { display: none; }
  .scrim { display: none; }
  [id] { scroll-margin-top: 1.5rem; }
}
@media (max-width: 1023.98px) {
  .side { width: 22rem; transform: translateX(-100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; box-shadow: none; }
  .side-close { display: grid; }
  html.nav-open .side { transform: none; visibility: visible; transition: transform .25s ease; box-shadow: 0 0 40px rgb(0 0 0 / .25); }
  html.nav-open { overflow: hidden; }
  .tree a, .tree .gbtn { min-height: 2.75rem; }
  .tg { min-height: 2.75rem; width: 2.75rem; }
  .sub a { min-height: 2.6rem; }
  .menu-btn { margin-right: -.6rem; }
  html:not(.js) .menu-btn, html:not(.js) .side-close { display: none; }
  html:not(.js) .side { position: static; transform: none; visibility: visible; width: auto; max-width: none; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { .side, .tree svg { transition: none !important; } }

/* ---- mobile / touch / readability (v7) ---- */
:root { --subtle: #6b665b; }                      /* was #8a8478 (3.1:1); now 4.8:1 on --bg for AA */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img { height: auto; }
main { overflow-wrap: break-word; }
.hero, .hero .copy { min-height: 88vh; min-height: 88svh; }
.wrap { padding-left: max(1.25rem, env(safe-area-inset-left)); padding-right: max(1.25rem, env(safe-area-inset-right)); }
@media (min-width: 640px) { .wrap { padding-left: max(1.5rem, env(safe-area-inset-left)); padding-right: max(1.5rem, env(safe-area-inset-right)); } }
/* v6 bug: `footer .grid` / `.stats .grid` set padding:Npx 0 and zeroed the .wrap gutters, so footer text touched the screen edge on phones */
footer .grid, .stats .grid, .legal .wrap { padding-left: max(1.25rem, env(safe-area-inset-left)); padding-right: max(1.25rem, env(safe-area-inset-right)); }
@media (min-width: 640px) { footer .grid, .stats .grid, .legal .wrap { padding-left: max(1.5rem, env(safe-area-inset-left)); padding-right: max(1.5rem, env(safe-area-inset-right)); } }
.side { padding-left: env(safe-area-inset-left); padding-bottom: env(safe-area-inset-bottom); }
a.visually-hidden[href^="#"]:focus { position: fixed; top: .5rem; left: .5rem; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; padding: .75rem 1rem; background: var(--ink); color: var(--paper); border-radius: .375rem; z-index: 100; font-weight: 500; }
.brand { min-height: 2.75rem; }
footer li a { display: inline-flex; align-items: center; min-height: 1.75rem; }
.contact a { display: inline-block; padding: .2rem 0; }
.pager a, .rss-link { display: inline-flex; align-items: center; min-height: 1.75rem; }
.crumbs a { display: inline-block; padding: .15rem 0; }
.res-list a.t { display: inline-block; padding: .2rem 0; }
.fields .span2 textarea, form.offer textarea { font-size: 1rem; }
@media (max-width: 1023.98px) {
  footer li a, .pager a, .rss-link, .legal a { min-height: 2.75rem; }
  .crumbs a { padding: .6rem 0; }
  .contact a { padding: .7rem 0; }
  .res-list a.t { padding: .6rem 0; }
  .feed-item h2 a, .feed-item h3 a, .dir-card h2 a, .dir-card h3 a, .card h2 a, .card h3 a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .side-rss { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .card h3 a, .dir-card h3 a { display: inline-flex; }
  sup.fn a { position: relative; padding: 0 .3rem; }
  sup.fn a::after { content: ""; position: absolute; inset: -.7rem 0; }
}
@media (max-width: 767.98px) {
  /* body copy is never below 16px on phones; uppercase micro-labels never below 14px */
  main p, main li, main dd, main .card p, main .dir-card p, main .feed-item p, main .res-list .d, main .src, main .note,
  main .pager, main .highlights li, main .why, main .op-sources, main .stats .lbl, main .lbl, main .hint,
  main .page-head p, footer p, footer li, .legal .wrap, .side-foot { font-size: 1rem; }
  main .kicker, main .meta, main .rank, main .tier, main .crumbs, main .contact dt, main .badge, main .n, main time, main .tag { font-size: .875rem; }
  .btn { height: auto; min-height: 2.75rem; padding: .5rem 1.1rem; font-size: 1rem; line-height: 1.25; text-align: center; }
  .btn-lg { min-height: 3rem; }
  .contact div { grid-template-columns: 1fr; gap: .1rem; }
  main .form-foot .hint { font-size: 1rem !important; }
  main .dir-card .rank { font-size: .875rem; }
  main p.lede { font-size: 1.125rem; }
  #offerFallback a { display: inline-block; padding: .7rem 0; }
  .hero .actions .btn { flex: 1 1 100%; }
  .section { padding: 3.5rem 0; }
  .page-head { padding: 3rem 0; }
  .cta-band .copy { padding: 4rem 0; }
  .hero .copy { padding: 5.5rem 0 3rem; }
}
@media (max-height: 480px) and (orientation: landscape) {
  .hero, .hero .copy { min-height: 0; }
  .hero .copy { padding: 4rem 0 2.5rem; }
}


/* ---- royalty estimator (v10) ---- */
.est-wrap { max-width: 52rem; }
.est-wrap h2 { font-size: 1.75rem; margin: 3rem 0 0; }
.est-wrap h2:first-child { margin-top: 0; }
.est-wrap p, .est-wrap li { line-height: 1.7; }
.est-wrap p { margin: .9rem 0 0; color: var(--muted); }
.est-wrap ul.est-list, .est-wrap ol.est-list { margin: .9rem 0 0; padding-left: 1.4rem; color: var(--muted); }
.est-wrap .est-list li { margin: .45rem 0; padding-left: .2rem; }
.est-wrap a { text-decoration: underline; text-underline-offset: 2px; }
.est-form { margin-top: 1.25rem; max-width: none; }
.est-form fieldset { border: 1px solid var(--line); border-radius: .5rem; margin: 1.25rem 0 0; padding: 1rem 1rem 1.15rem; min-width: 0; }
.est-form legend { font-family: var(--display); font-size: 1.15rem; padding: 0 .4rem; color: var(--ink); }
.est-form label.lbl { display: block; font-size: 1rem; font-weight: 500; color: var(--ink); margin: 0 0 .3rem; }
.est-form input[type="text"], .est-form select { width: 100%; font-size: 1rem; min-height: 2.75rem; }
.est-form .fields { margin-top: .9rem; align-items: start; }
.est-form .est-hint { display: block; margin: .3rem 0 0; font-size: 1rem; line-height: 1.5; color: var(--muted); }
.est-form .est-err { display: block; margin: .3rem 0 0; font-size: 1rem; line-height: 1.45; color: #9a2d1f; font-weight: 500; }
.est-form [aria-invalid="true"] { border-color: #9a2d1f; outline-color: #9a2d1f; }
.est-form [hidden], .est-result [hidden], .est-wrap [hidden] { display: none !important; }
.est-choice { display: flex; align-items: center; gap: .65rem; min-height: 2.75rem; margin: 0; font-size: 1rem; color: var(--ink); cursor: pointer; }
.est-choice input { flex: none; width: 1.35rem; height: 1.35rem; min-height: 0; margin: 0; padding: 0; accent-color: var(--slate); }
.est-choice span { line-height: 1.35; }
.est-modes { display: grid; gap: .1rem; margin-top: .5rem; }
.est-form .est-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; align-items: center; }
.est-form .est-actions .btn, .est-result .btn { min-height: 2.75rem; }
.est-form .btn-line, .est-result .btn-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.est-form .btn-line:hover, .est-result .btn-line:hover { background: color-mix(in oklab, var(--ink) 8%, transparent); }
.est-result { margin-top: 1rem; border: 2px solid var(--ink); border-radius: .5rem; padding: 1rem 1rem 1.25rem; background: var(--paper); }
.est-result:focus { outline: none; }
.est-result > h2 { margin: 0 0 .5rem; }
#est-status { margin: 0; color: var(--ink); font-size: 1.05rem; line-height: 1.5; }
.est-big { margin: .75rem 0 0; display: grid; gap: .6rem; }
.est-big div { display: grid; gap: .1rem; }
.est-big .k { font-size: .9375rem; color: var(--muted); letter-spacing: .02em; }
.est-big .v { font-family: var(--display); font-size: 2rem; line-height: 1.1; color: var(--ink); overflow-wrap: anywhere; }
.est-grp { margin-top: 1.25rem; }
.est-grp h3 { font-size: 1.05rem; margin: 0 0 .25rem; color: var(--ink); }
.est-dl { margin: 0; padding: 0; }
.est-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .15rem .75rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.est-row dt, .est-rates dt, .est-faq dt { font-family: var(--sans); font-size: 1rem; font-weight: 500; }
.est-row dt { flex: 1 1 14rem; min-width: 0; margin: 0; color: var(--ink); line-height: 1.4; }
.est-row dd { flex: 0 1 auto; margin: 0; font-weight: 600; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; margin-left: auto; }
.est-how { display: block; font-size: 1rem; color: var(--muted); line-height: 1.4; overflow-wrap: anywhere; }
.est-sum { background: color-mix(in oklab, var(--slate) 7%, transparent); padding-left: .5rem; padding-right: .5rem; }
.est-note { margin: 1rem 0 0; font-size: 1rem; color: var(--muted); }
.est-tools { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; align-items: center; }
.est-msg { font-size: 1rem; color: var(--muted); margin: .6rem 0 0; min-height: 1.5rem; }
.est-stale { margin-top: .9rem; padding: .75rem 1rem; border: 1px solid #9a2d1f; border-radius: .375rem; color: #9a2d1f; font-size: 1rem; line-height: 1.5; }
.nojs-only { margin-top: 1rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--paper); }
.nojs-only p { margin: 0; color: var(--ink); }
.js .nojs-only { display: none; }
html:not(.js) .js-only { display: none; }
.est-table-wrap { margin-top: 1rem; }
.est-rates { margin: 1rem 0 0; padding: 0; display: grid; gap: .9rem; }
.est-rates > div { border: 1px solid var(--line); border-radius: .5rem; padding: .9rem 1rem; background: var(--paper); }
.est-rates dt { font-weight: 600; color: var(--ink); margin: 0; }
.est-rates dd { margin: .3rem 0 0; color: var(--muted); line-height: 1.55; overflow-wrap: anywhere; }
.est-rates dd b { color: var(--ink); font-weight: 600; }
.est-check { list-style: none; margin: 1rem 0 0; padding: 0; }
.est-check li { margin: 0; padding: .3rem 0; border-top: 1px solid var(--line); }
.est-check label { display: flex; align-items: flex-start; gap: .75rem; min-height: 2.75rem; padding: .35rem 0; color: var(--ink); cursor: pointer; line-height: 1.5; }
.est-check input { flex: none; width: 1.35rem; height: 1.35rem; min-height: 0; margin: .15rem 0 0; padding: 0; accent-color: var(--slate); }
.est-check .cite { display: block; font-size: 1rem; color: var(--muted); }
.est-check .cmp { display: block; font-size: 1rem; color: var(--muted); }
.est-faq { margin: 1rem 0 0; }
.est-faq div { border-top: 1px solid var(--line); padding: 1rem 0; }
.est-faq dt { font-size: 1.05rem; font-weight: 600; color: var(--ink); margin: 0; }
.est-faq dd { margin: .45rem 0 0; color: var(--muted); line-height: 1.7; }
.est-ex { border-left: 3px solid var(--slate); padding: .1rem 0 .1rem 1rem; margin-top: 1rem; }
.est-ex p { margin-top: .5rem; }
.est-disc { margin-top: 3rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--paper); }
.est-disc h2 { margin: 0; font-size: 1.35rem; }
.est-related { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .25rem; }
.est-related a { display: inline-flex; align-items: center; min-height: 2.75rem; }
@media (min-width: 640px) {
  .est-form fieldset { padding: 1.1rem 1.25rem 1.3rem; }
  .est-big { grid-template-columns: 1fr 1fr; }
  .est-big .v { font-size: 2.4rem; }
  .est-modes { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (min-width: 1024px) { .est-result { padding: 1.25rem 1.5rem 1.5rem; } }
@media print {
  header.site, .side, .scrim, footer.site, .crumbs, nav.crumbs, a.visually-hidden, .est-noprint, .est-tools, .est-form { display: none !important; }
  body { padding-left: 0 !important; background: #fff !important; color: #000 !important; }
  .est-result { border: 1px solid #000; break-inside: avoid-page; }
  .est-wrap h2, .est-wrap p, .est-wrap li { color: #000; }
  .est-wrap a { color: #000; text-decoration: none; }
  .est-wrap a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; word-break: break-all; }
}

/* ---- v8: self-hosted fonts, breadcrumbs, 404 ---- */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/fonts/fraunces-latin.9ff7c034.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/sourcesans3-latin.bbd678a9.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/sourcesans3-italic-latin.d82c94b8.woff2) format("woff2"); }

.crumbs { font-size: .875rem; color: var(--subtle); margin: 0 0 .75rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 .5rem; }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--subtle); }
.crumbs a { text-decoration: underline; text-underline-offset: 2px; padding: .35rem 0; }
.crumbs [aria-current] { color: var(--muted); overflow-wrap: anywhere; }
.crumbs-bar { padding-top: 1.25rem; }
.crumbs-bar .crumbs { margin-bottom: 0; }
picture { display: contents; }
