/* Agent Licenses. Guidebook look: deep teal hero band with white answer cards, Manrope
   for headings, system sans body, amber for money and calls to action, soft layered cards.
   Graphics are inline SVG and CSS only: no images, no icon font. */
:root {
  --bg:#f4f8f8; --card:#ffffff; --bg-2:#e9f0f1; --line:#d5dfe3; --line-2:#e4ebee; --ink:#13212a; --ink-2:#465661; --ink-3:#74838e;
  --teal:#0d5f63; --teal-2:#0a494c; --teal-3:#1d8a84; --teal-deep:#08393c; --teal-soft:#dcefed; --mint:#2fbf9f; --mint-soft:#c9efe4;
  --amber:#c2600a; --amber-2:#f5a524; --amber-soft:#fff1de; --ok:#1f8a5b;
  --max:74rem; --display:"Manrope", "Segoe UI", Inter, -apple-system, sans-serif; --body:"Segoe UI", Inter, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --shadow:0 1px 2px rgba(19,33,42,.05), 0 6px 18px -10px rgba(19,33,42,.20);
  --shadow-lg:0 2px 4px rgba(19,33,42,.06), 0 18px 40px -16px rgba(8,57,60,.38);
  --ease:cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); font: 17px/1.62 var(--body); -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); overflow-x: hidden; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-2); }
:focus-visible { outline: 3px solid var(--amber-2); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5rem; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4vw, 3.05rem); font-weight: 800; max-width: 24ch; text-wrap: balance; }
h2 { font-size: 1.5rem; font-weight: 800; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-2); display: flex; align-items: center; gap: .7rem; text-wrap: balance; }
h2 .n { flex: none; width: 2.1rem; height: 2.1rem; border-radius: 11px; background: linear-gradient(145deg, var(--teal-3), var(--teal-2)); color: #fff; font-size: .95rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px -4px rgba(13,95,99,.6), inset 0 1px 0 rgba(255,255,255,.18); }
h2 > .ic { flex: none; width: 2.3rem; height: 2.3rem; padding: .45rem; border-radius: 12px; background: var(--teal-soft); color: var(--teal); box-shadow: inset 0 0 0 1px rgba(13,95,99,.08); }
h3 { font-size: 1.1rem; font-weight: 700; margin-top: 1.4rem; }
p { margin: .5rem 0 .9rem; max-width: 68ch; }
strong { font-weight: 700; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.4rem; }
.ic { width: 1.25rem; height: 1.25rem; flex: none; }

/* header */
.top { background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-2); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.5rem; padding-top: .7rem; padding-bottom: .7rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.logo svg { color: var(--teal); }
.top nav { margin-left: auto; display: flex; gap: .25rem; font-size: .92rem; }
.top nav a { color: var(--ink-2); text-decoration: none; padding: .4rem .75rem; border-radius: 999px; font-weight: 650; white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease); }
.top nav a:hover { color: var(--teal-2); background: var(--teal-soft); }
.top nav a[aria-current="page"] { color: var(--teal-2); background: var(--teal-soft); box-shadow: inset 0 0 0 1px rgba(13,95,99,.12); }

/* hero band */
.hero { background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 52%, var(--teal-3) 100%); color: #fff; padding: 2.4rem 0 2.6rem; position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.075) 1px, transparent 1.3px); background-size: 20px 20px; -webkit-mask-image: linear-gradient(115deg, transparent 15%, #000 70%); mask-image: linear-gradient(115deg, transparent 15%, #000 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; right: -12rem; top: -12rem; width: 34rem; height: 34rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,191,159,.33), transparent 70%); pointer-events: none; z-index: -1; }
.hero .wrap { position: relative; }
.hero .crumbs { color: rgba(255,255,255,.75); margin: 0 0 .9rem; }
.hero .crumbs a { color: inherit; }
.hero .kicker { color: var(--mint); }
.hero h1 { color: #fff; }
.hero .lede { color: rgba(255,255,255,.88); font-size: 1.15rem; max-width: 60ch; }
.hero .checked { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #fff; }
.hero .checked i { background: var(--mint); box-shadow: 0 0 0 3px rgba(47,191,159,.25); }
.hero .fig { border-bottom-color: rgba(255,255,255,.45); }
.kicker { font-family: var(--display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 800; margin: 0 0 .6rem; }
.checked { display: inline-flex; align-items: center; gap: .55rem; font-size: .82rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: .32rem .95rem .32rem .75rem; color: var(--ink-2); margin: .2rem 0 1rem; }
.checked i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--ok); flex: none; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
/* a state's own outline, drawn faintly behind its guide's hero (decorative) */
.st-outline { position: absolute; z-index: -1; right: max(1.4rem, calc((100% - var(--max)) / 2 + 1.4rem)); top: 1.6rem; height: min(15rem, 62%); width: min(26rem, 34%); fill: rgba(255,255,255,.05); stroke: rgba(47,191,159,.6); stroke-width: 1.5; stroke-linejoin: round; filter: drop-shadow(0 0 18px rgba(47,191,159,.25)); pointer-events: none; }
.exam-art { stroke-width: 1.4; }
.exam-art text { fill: rgba(255,255,255,.45); stroke: none; font: 700 12px var(--display); text-anchor: middle; }
.exam-art circle { fill: none; }
.exam-art circle.on { fill: rgba(47,191,159,.55); }
.exam-art .seal { fill: rgba(245,165,36,.18); stroke: var(--amber-2); }
.exam-art .tick { stroke: var(--amber-2); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hero.state .wrap > .lede, .hero.state .wrap > h1, .hero.state .wrap > .checked { position: relative; }

/* answer cards on the hero */
.answers { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .8rem; margin: 1.6rem 0 0; }
.answers div { background: var(--card); color: var(--ink); border-radius: 14px; padding: .95rem 1.05rem .9rem; box-shadow: var(--shadow-lg); border-top: 4px solid var(--mint); }
.answers b { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.answers > div > span { display: block; font-size: .8rem; color: var(--ink-2); margin-top: .3rem; line-height: 1.3; }
.answers .fig { display: inline; font-size: inherit; color: inherit; border-bottom-color: var(--teal-3); }
.answers .money { border-top-color: var(--amber-2); }
.answers .money b { color: var(--amber); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .55rem; font: 750 1rem/1.2 var(--display); text-decoration: none; border-radius: 12px; padding: .85rem 1.2rem; min-height: 48px; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease); }
.btn .ic { width: 1.3rem; height: 1.3rem; }
.btn .fig { border-bottom: 0; }
.btn.primary { background: linear-gradient(180deg, #ffc35c, var(--amber-2)); color: #2a1500; box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 8px 20px -8px rgba(194,96,10,.75); }
.btn.primary:hover { color: #2a1500; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 12px 24px -8px rgba(194,96,10,.8); }
.btn.ghost { color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn.ghost:hover { color: #fff; background: rgba(255,255,255,.16); }
.btn.small { font-size: .95rem; padding: .7rem 1rem; min-height: 44px; }
.btn.small .ic { width: 1.1rem; height: 1.1rem; }

/* home hero: copy left, map right */
.hero.home { padding: 2.6rem 0 2.4rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); gap: 1.5rem 2.6rem; align-items: center; }
.hero-copy h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.hero-copy .lede { font-size: 1.08rem; }
.cta { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.3rem 0 .5rem; }
.cta-note { font-size: .84rem; color: rgba(255,255,255,.75); margin: .2rem 0 1rem; }

/* the map */
.usmap { position: relative; }
.usmap-svg { display: block; width: 100%; height: auto; overflow: visible; }
.usmap .st { cursor: pointer; outline: none; }
.usmap .st path, .usmap .st circle { fill: #e3f3f0; stroke: var(--teal-2); stroke-width: .9; stroke-linejoin: round; transition: fill .25s var(--ease), opacity .25s var(--ease); }
.usmap .st.pass path, .usmap .st.pass circle { fill: var(--mint); }
.usmap .st:hover path, .usmap .st:hover circle { fill: #fff; }
.usmap .st.pass:hover path { fill: #6fe0c4; }
.usmap.has-card .st:not(.on) path, .usmap.has-card .st:not(.on) circle { opacity: .82; }
.usmap .st:focus-visible path, .usmap .st:focus-visible circle { stroke: var(--amber-2); stroke-width: 2.5; }
.usmap .sep { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1.2; stroke-dasharray: 4 4; }
.usmap .hi { fill: #fff; stroke: var(--amber-2); stroke-width: 2; stroke-linejoin: round; pointer-events: none; opacity: 0; transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 7px 7px rgba(3,30,32,.45)); transition: opacity .2s var(--ease), transform .25s var(--ease); }
.usmap .hi.pass { fill: #74e3c8; }
.usmap .hi.lift { opacity: 1; transform: translateY(-3px) scale(1.035); }
.usmap .labels { pointer-events: none; }
.usmap .lb { font: 800 13px var(--display); fill: var(--teal-2); text-anchor: middle; opacity: .6; letter-spacing: .02em; }
.usmap .lb.pass { opacity: 1; }
.usmap .lb.pass rect { fill: var(--amber); stroke: #fff; stroke-width: 1.2; }
.usmap .lb.pass path { fill: #fff; }
.usmap .lb.pass text { fill: #fff; font-size: 12.5px; text-anchor: middle; }
.usmap-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin: .5rem 0 0; font-size: .74rem; max-width: none; }
.usmap-chips span { color: rgba(255,255,255,.7); margin-right: .25rem; font-weight: 600; }
.usmap-chips a { font: 800 .74rem/1 var(--display); color: #fff; text-decoration: none; padding: .38rem .5rem; border-radius: 8px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); transition: background-color .2s var(--ease); }
.usmap-chips a.pass { background: rgba(47,191,159,.4); }
.usmap-chips a:hover, .usmap-chips a.on { background: #fff; color: var(--teal-2); }
.usmap-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; font-size: .8rem; color: rgba(255,255,255,.85); margin: .55rem 0 0; max-width: none; }
.usmap-legend .sw { display: inline-block; width: .85rem; height: .85rem; border-radius: 4px; background: #e3f3f0; box-shadow: inset 0 0 0 1px rgba(10,73,76,.5); margin-left: .35rem; }
.usmap-legend .sw:first-child { margin-left: 0; }
.usmap-legend .sw.pass { position: relative; background: var(--mint); }
.usmap-legend .sw.pass::after { content: ""; position: absolute; right: -.3rem; top: -.3rem; width: .6rem; height: .6rem; background: var(--amber-2); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.usmap-legend .hint { margin-left: auto; color: rgba(255,255,255,.62); }
.usmap .skip { position: absolute; left: 0; top: 0; z-index: 5; background: #fff; color: var(--teal-2); font-weight: 700; font-size: .85rem; padding: .45rem .75rem; border-radius: 8px; box-shadow: var(--shadow-lg); }
.usmap .skip:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* the card */
.usmap-card { position: absolute; z-index: 4; width: 19rem; background: var(--card); color: var(--ink); border-radius: 16px; padding: 1rem 1.1rem 1rem; box-shadow: 0 2px 6px rgba(3,30,32,.12), 0 24px 48px -18px rgba(3,30,32,.55); border-top: 4px solid var(--mint); transition: left .18s var(--ease), top .18s var(--ease); animation: card-in .2s var(--ease); }
.usmap-card[hidden] { display: none; }
.usmap-card.is-pass { border-top-color: var(--amber-2); }
@keyframes card-in { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .55rem; }
.card-name { font: 800 1.2rem/1.15 var(--display); letter-spacing: -.02em; margin: 0; }
.card-pass, .pp-mark { display: inline-flex; align-items: center; gap: .3rem; font: 800 .66rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--amber); background: var(--amber-soft); border: 1px solid rgba(194,96,10,.35); border-radius: 999px; padding: .3rem .55rem; white-space: nowrap; text-decoration: none; }
.card-pass::before, .pp-mark::before { content: ""; width: .7rem; height: .7rem; background: currentColor; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.card-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem .9rem; margin: 0; }
.card-facts div { min-width: 0; }
.card-facts dt, .st-facts dt { font: 800 .62rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .09em; color: var(--ink-3); }
.card-facts dd { margin: .12rem 0 0; font: 800 1.02rem/1.25 var(--display); letter-spacing: -.01em; color: var(--ink); overflow-wrap: anywhere; }
.card-facts dd:has(.fig.long) { font-size: .82rem; font-weight: 700; }
.card-facts dd small, .st-facts dd small { display: block; font: 500 .7rem/1.3 var(--body); color: var(--ink-3); letter-spacing: 0; margin-top: .1rem; }
.card-facts .fig, .st-facts .fig { border-bottom: 0; cursor: inherit; }
.card-src { font-size: .72rem; color: var(--ink-3); margin: .7rem 0 0; line-height: 1.35; }
.card-go { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; margin: .75rem 0 0; }
.card-btn { display: inline-flex; align-items: center; font: 750 .9rem/1.2 var(--display); color: #fff; background: var(--teal); padding: .6rem .85rem; border-radius: 10px; text-decoration: none; min-height: 40px; }
.card-btn::after { content: "\2192"; margin-left: .45rem; transition: transform .18s var(--ease); }
.card-btn:hover { color: #fff; background: var(--teal-2); }
.card-btn:hover::after { transform: translateX(3px); }
.card-link { font-size: .86rem; font-weight: 700; color: var(--amber); }
.card-link:hover { color: var(--amber); }

/* layout */
main { padding: 1.8rem 1.4rem 3rem; }
main.wrap { padding-top: 2.2rem; padding-bottom: 3rem; }
main.has-side { display: grid; grid-template-columns: 14.5rem minmax(0, 1fr); gap: 3rem; align-items: start; }
.side { position: sticky; top: 4.8rem; font-size: .88rem; }
.side-h { font-family: var(--display); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 800; margin: 0 0 .5rem; }
.side ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.side li a { display: block; padding: .32rem .85rem; color: var(--ink-2); text-decoration: none; border-left: 2px solid transparent; margin-left: -2px; transition: color .15s, border-color .15s; }
.side li a:hover { color: var(--teal); border-left-color: var(--teal); }
.crumbs { font-size: .82rem; color: var(--ink-3); margin: 0 0 1rem; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 .3rem; }
article > .note:first-child { margin-top: 0; }
article > h2:first-child { margin-top: 1rem; padding-top: 0; border-top: 0; }

/* sourced figures and read lines */
.fig { border-bottom: 1px dotted var(--teal-3); cursor: help; }
.fig.long { border-bottom: 0; }
.read { font-size: .8rem; color: var(--ink-3); margin: -.2rem 0 1rem; max-width: none; padding-left: .8rem; border-left: 3px solid var(--teal-soft); }
.read a { color: var(--ink-2); }

/* steps */
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 1rem 0; max-width: 66ch; }
ol.steps li { counter-increment: s; position: relative; padding: 0 0 1.3rem 3.4rem; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.3rem; height: 2.3rem; border-radius: 12px; background: linear-gradient(145deg, var(--teal-3), var(--teal-2)); color: #fff; font-family: var(--display); font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px -4px rgba(13,95,99,.6); }
ol.steps li::after { content: ""; position: absolute; left: 1.1rem; top: 2.5rem; bottom: .1rem; border-left: 2px dashed var(--line); }
ol.steps li:last-child::after { display: none; }
ol.steps h3 { margin: .2rem 0 .3rem; font-size: 1.05rem; }
ol.steps p { margin: 0; }

/* tables */
table { border-collapse: separate; border-spacing: 0; width: 100%; max-width: 46rem; margin: .8rem 0 1rem; font-size: .95rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
th, td { text-align: left; padding: .6rem .9rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
th { font-family: var(--display); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); background: var(--bg-2); font-weight: 800; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background-color .15s; }
tbody tr:hover td { background: #f7fbfb; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td.num { font-weight: 700; }
tr.total td, tbody tr.total:hover td { font-weight: 800; background: var(--amber-soft); }
td small { color: var(--ink-3); font-weight: 400; }
.bars td .bar { display: inline-block; height: .6rem; background: linear-gradient(90deg, var(--teal-3), var(--mint)); border-radius: 4px; vertical-align: middle; margin-right: .5rem; }

/* wide comparison tables */
.tablewrap { overflow-x: auto; margin: .8rem 0 1rem; border-radius: 14px; }
table.wide { max-width: none; margin: 0; font-size: .86rem; }
table.wide th, table.wide td { padding: .5rem .7rem; }
table.wide td:first-child { font-weight: 700; white-space: nowrap; }
table.wide td small { display: block; font-size: .76rem; line-height: 1.3; }
.more { font-size: .9rem; color: var(--ink-2); }

/* callouts, lists */
.note { background: var(--teal-soft); border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; padding: .8rem 1.1rem; margin: 1.1rem 0; max-width: 68ch; font-size: .95rem; }
.warn { background: var(--amber-soft); border-left-color: var(--amber); }
ul.plain { padding-left: 1.2rem; max-width: 68ch; }
ul.plain li { margin: .35rem 0; }
ul.plain li::marker { color: var(--teal-3); }
.sources { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.3rem; margin: 1rem 0; font-size: .9rem; box-shadow: var(--shadow); }
.sources ol { margin: .4rem 0 0; padding-left: 1.3rem; }
.sources li { margin: .3rem 0; }
.sources li a { word-break: break-all; }
details.srcs > summary { cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; font: 700 .92rem var(--display); color: var(--teal); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .55rem .9rem; list-style: none; }
details.srcs > summary::-webkit-details-marker { display: none; }
details.srcs > summary::before { content: "+"; font-weight: 800; width: 1rem; text-align: center; }
details.srcs[open] > summary::before { content: "\2212"; }
dl.faq dt { font-family: var(--display); font-weight: 800; margin-top: 1.1rem; font-size: 1.02rem; }
dl.faq dd { margin: .25rem 0 0; max-width: 66ch; color: var(--ink-2); }

/* state grid (home, overview) */
.states { display: grid; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: .55rem; list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.states li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .6rem .85rem; display: flex; align-items: center; gap: .55rem; font-size: .95rem; box-shadow: 0 1px 2px rgba(19,33,42,.04); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.states li:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(29,138,132,.45); }
.states li a { text-decoration: none; font-weight: 700; color: var(--ink); flex: 1; }
.states li a:hover { color: var(--teal); }
.states li i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--ok); flex: none; }
.states li.soon { color: var(--ink-3); background: transparent; }
.states li.soon i { background: var(--line); }
.states li small { font-size: .74rem; color: var(--ink-3); }
.states li small a { font-weight: 600; color: var(--teal); }
/* the home list: each state with the map's four figures */
.states.rich { grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: .7rem; }
.states.rich li { display: block; padding: .8rem .95rem .7rem; position: relative; scroll-margin-top: 6rem; }
.states.rich li.pass { border-color: rgba(194,96,10,.3); background: linear-gradient(180deg, #fffaf2, var(--card) 3.2rem); }
.states.rich li.pass::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; border-radius: 12px 12px 0 0; background: linear-gradient(90deg, var(--amber-2), var(--mint)); }
.st-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: 0 0 .5rem; max-width: none; }
.st-head a:first-child { font: 800 1.05rem/1.2 var(--display); letter-spacing: -.015em; color: var(--ink); text-decoration: none; }
.st-head a:first-child::after { content: "\2192"; color: var(--teal-3); margin-left: .35rem; opacity: 0; transition: opacity .2s, margin .2s var(--ease); }
.states.rich li:hover .st-head a:first-child::after { opacity: 1; margin-left: .5rem; }
.states.rich .pp-mark { flex: none; font-size: .6rem; padding: .26rem .5rem; }
.st-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem .8rem; margin: 0; padding: .55rem 0 0; border-top: 1px dashed var(--line); }
.st-facts div { min-width: 0; }
.st-facts dd { margin: .1rem 0 0; font-weight: 700; font-size: .86rem; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.st-facts dd:has(.fig.long) { font-weight: 600; font-size: .78rem; color: var(--ink-2); }
.states.rich .xn, .states.rich .st-foot span { display: none; }
.st-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .1rem .6rem; font-size: .7rem; line-height: 1.35; color: var(--ink-3); margin: .55rem 0 0; max-width: none; }
.st-foot a { font-weight: 700; white-space: nowrap; }

/* cards */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .9rem; margin: 1.2rem 0 .5rem; }
.principles div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.05rem 1.15rem 1.1rem; box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.principles.cards div:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.principles b { display: block; font-family: var(--display); font-weight: 800; margin-bottom: .3rem; }
.principles p { font-size: .92rem; color: var(--ink-2); margin: 0; }
.principles .ic.big { display: block; width: 2.4rem; height: 2.4rem; padding: .5rem; border-radius: 12px; background: var(--teal-soft); color: var(--teal); margin-bottom: .7rem; }
.principles.quiet div { box-shadow: none; background: transparent; border-style: dashed; }
.principles.quiet .ic.big { background: transparent; box-shadow: inset 0 0 0 1.5px var(--teal-soft); }
.legend { font-size: .82rem; color: var(--ink-3); }
.legend i { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; vertical-align: middle; margin: 0 .3rem 0 .6rem; }

/* home: practice exam + passes band */
.prep-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 1rem; margin: 1.2rem 0 .5rem; }
.feature { display: flex; flex-direction: column; align-items: flex-start; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.35rem 1.4rem 1.4rem; box-shadow: var(--shadow-lg); overflow: hidden; }
.feature h3 { font-size: 1.35rem; margin: .8rem 0 .4rem; letter-spacing: -.02em; }
.feature h3 a { color: var(--ink); text-decoration: none; }
.feature h3 a:hover { color: var(--teal); }
.feature > p { font-size: .95rem; color: var(--ink-2); }
.feature.free::after { content: ""; position: absolute; right: -4rem; top: -4rem; width: 12rem; height: 12rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,191,159,.18), transparent); pointer-events: none; }
.feature > p.tag, .tag { display: inline-block; font: 800 .68rem/1 var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--teal-2); background: var(--mint-soft); border-radius: 999px; padding: .38rem .65rem; margin: 0; }
.tag.amber { color: var(--amber); background: var(--amber-soft); }
.mini { align-self: stretch; list-style: none; padding: 0; margin: 1rem 0 1.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.mini li { background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: .6rem .7rem; }
.mini b { display: block; font: 800 1.15rem/1.15 var(--display); color: var(--teal); letter-spacing: -.02em; }
.mini li > span { display: block; font-size: .74rem; color: var(--ink-3); margin-top: .15rem; }
.mini .fig { border-bottom: 0; }
.feature .btn { margin-top: auto; }
.passes { align-self: stretch; list-style: none; padding: 0; margin: .9rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.passes a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n p" "d d"; align-items: center; gap: .1rem .5rem; padding: .65rem .8rem; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); text-decoration: none; color: var(--ink); transition: border-color .2s var(--ease), transform .2s var(--ease), background-color .2s var(--ease); height: 100%; }
.passes a:hover { border-color: var(--amber-2); background: #fffaf2; transform: translateY(-2px); color: var(--ink); }
.passes b { grid-area: n; font: 800 .98rem var(--display); }
.passes em { grid-area: p; font: 800 .9rem var(--display); font-style: normal; color: var(--amber); }
.passes a > span { grid-area: d; font-size: .76rem; color: var(--ink-3); line-height: 1.3; }
.passes .fig { border-bottom: 0; }

/* footer */
footer { background: var(--teal-deep); color: rgba(255,255,255,.75); padding: 2.4rem 0 2.4rem; font-size: .88rem; margin-top: 2.5rem; position: relative; }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--mint), var(--teal-3) 45%, var(--amber-2)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.5rem 2.5rem; }
.foot-logo { display: flex; align-items: center; gap: .5rem; font: 800 1.1rem var(--display); color: #fff; margin: 0 0 .4rem; }
.foot-logo svg { color: var(--mint); }
.foot-about p:last-child { max-width: 44ch; }
.foot-h { font: 800 .72rem var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--mint); margin: .2rem 0 .6rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: .35rem 0; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { color: var(--mint); text-decoration: underline; }
footer .fine { font-size: .78rem; color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem; margin: 1.6rem 0 0; max-width: none; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy h1 { max-width: 22ch; }
  .hero-map { max-width: 46rem; }
}
@media (max-width: 900px) {
  main.has-side { display: block; }
  .side { position: static; margin-bottom: 1.5rem; }
  .side ol { display: flex; flex-wrap: wrap; gap: .35rem; border: 0; }
  .side li a { border: 1px solid var(--line); border-radius: 999px; padding: .2rem .75rem; margin: 0; background: var(--card); }
  .top .wrap { padding-bottom: .35rem; }
  .top nav { margin: 0 -1.4rem; padding: 0 1.4rem .25rem; width: calc(100% + 2.8rem); overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav a { padding: .35rem .7rem; }
  .hero { padding: 1.8rem 0 2rem; }
  .answers { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .answers b { font-size: 1.25rem; }
  .st-outline { display: none; }
  .prep-band { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .usmap .lb:not(.pass) { display: none; }
  .usmap .lb.pass { transform-box: fill-box; }
  .usmap-card { position: static; width: auto; margin-top: .7rem; transition: none; }
  .usmap-legend .hint { margin-left: 0; flex-basis: 100%; }
  .usmap-chips a { padding: .5rem .55rem; font-size: .78rem; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 1rem; }
  main { padding: 1.4rem 1rem 2.5rem; }
  .top nav { margin: 0 -1rem; padding: 0 1rem .25rem; width: calc(100% + 2rem); }
  .hero.home { padding: 1.6rem 0 1.8rem; }
  .cta .btn { width: 100%; justify-content: center; }
  .cta-note { display: none; }
  .checked { border-radius: 14px; align-items: flex-start; }
  .checked i { margin-top: .42rem; }
  .mini li { padding: .5rem .55rem; }
  .mini { grid-template-columns: 1fr 1fr 1fr; }
  .mini b { font-size: 1rem; }
  .passes { grid-template-columns: minmax(0, 1fr); }
  .states.rich { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
  .states.rich li { padding: .6rem .75rem .55rem; }
  .st-head { margin-bottom: .35rem; }
  .st-head a:first-child { font-size: .98rem; }
  .states.rich .st-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .3rem .5rem; padding-top: .4rem; }
  .states.rich .st-facts dt { font-size: .55rem; letter-spacing: .05em; }
  .states.rich .st-facts dd { font-size: .76rem; }
  .states.rich .st-facts dd:has(.fig.long) { font-size: .7rem; }
  .states.rich .st-facts dd small { font-size: .62rem; }
  .st-foot { margin-top: .35rem; }
  .feature { padding: 1.1rem 1rem 1.2rem; border-radius: 16px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .usmap .hi.lift { transform: none; }
  .states li:hover, .principles.cards div:hover, .passes a:hover, .btn.primary:hover { transform: none; }
}


/* practice exam (/real-estate-practice-exam/) */
.pe { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 1.2rem 1.3rem 1.3rem; margin: 1rem 0 1.4rem; max-width: 46rem; scroll-margin-top: 5rem; }
.pe [hidden] { display: none !important; }
.pe-modes { border: 0; padding: 0; margin: 0 0 .8rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .7rem; min-width: 0; }
.pe-modes legend { font-family: var(--display); font-weight: 800; font-size: 1.05rem; margin-bottom: .6rem; padding: 0; }
.pe-mode { display: flex; gap: .7rem; align-items: flex-start; border: 2px solid var(--line); border-radius: 12px; padding: .8rem .9rem; cursor: pointer; background: var(--bg); }
.pe-mode:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.pe-mode input { margin-top: .3rem; accent-color: var(--teal); width: 1.1rem; height: 1.1rem; flex: none; }
.pe-mode b { display: block; font-family: var(--display); font-weight: 800; }
.pe-mode small { display: block; color: var(--ink-2); font-size: .88rem; line-height: 1.45; margin-top: .15rem; }
.pe-topic { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; font-size: .92rem; font-weight: 600; color: var(--ink-2); margin: 0 0 .4rem; }
.pe-topic select { font: inherit; font-weight: 400; color: var(--ink); padding: .5rem .6rem; border: 1px solid var(--line); border-radius: 8px; background: var(--card); max-width: 100%; }
.pe-btn { font: 700 1rem/1.2 var(--display); background: var(--teal); color: #fff; border: 2px solid var(--teal); border-radius: 10px; padding: .75rem 1.2rem; cursor: pointer; min-height: 48px; }
.pe-btn:hover { background: var(--teal-2); border-color: var(--teal-2); }
.pe-btn:disabled { opacity: .4; cursor: default; }
.pe-btn.ghost { background: var(--card); color: var(--teal); }
.pe-btn.ghost:hover { background: var(--teal-soft); }
.pe-btn:focus-visible, .pe-opt:focus-visible, .pe-cell:focus-visible, .pe-link:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.pe-fine { font-size: .82rem; color: var(--ink-3); margin: .2rem 0 0; }
.pe-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; font-size: .88rem; color: var(--ink-2); }
.pe-count b { color: var(--ink); }
.pe-topicname { flex: 1 1 100%; order: 3; color: var(--ink-3); font-size: .82rem; }
.pe-timer { font: 800 1.05rem var(--display); color: var(--teal); font-variant-numeric: tabular-nums; margin-left: auto; }
.pe-timer.low { color: var(--amber); }
.pe-score-live { margin-left: auto; font-weight: 700; color: var(--teal); }
.pe-prog { height: .4rem; background: var(--bg-2); border-radius: 4px; margin: .5rem 0 1rem; overflow: hidden; }
.pe-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-3), var(--mint)); }
.pe-q { font-size: 1.08rem; font-weight: 600; margin: 0 0 .9rem; max-width: none; }
.pe-opts { display: grid; gap: .55rem; }
.pe-opt { display: flex; gap: .7rem; align-items: flex-start; text-align: left; width: 100%; font: inherit; font-size: 1rem; line-height: 1.45; color: var(--ink); background: var(--card); border: 2px solid var(--line); border-radius: 12px; padding: .7rem .85rem; cursor: pointer; min-height: 48px; }
.pe-opt:hover:not(:disabled) { border-color: var(--teal-3); }
.pe-opt:disabled { cursor: default; }
.pe-l { flex: none; width: 1.8rem; height: 1.8rem; border-radius: 8px; background: var(--bg-2); font: 800 .9rem/1.8rem var(--display); text-align: center; color: var(--ink-2); }
.pe-opt.picked { border-color: var(--teal); background: var(--teal-soft); }
.pe-opt.picked .pe-l { background: var(--teal); color: #fff; }
.pe-opt.right { border-color: var(--ok); background: #e3f4ec; }
.pe-opt.right .pe-l { background: var(--ok); color: #fff; }
.pe-opt.wrong { border-color: #b4462e; background: #fbe9e4; }
.pe-opt.wrong .pe-l { background: #b4462e; color: #fff; }
.pe-fb { margin: .9rem 0 0; padding: .8rem 1rem; border-radius: 0 12px 12px 0; border-left: 4px solid var(--ok); background: #eef8f3; font-size: .95rem; }
.pe-fb.no { border-left-color: #b4462e; background: #fdf1ed; }
.pe-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.1rem 0 0; }
.pe-nav .pe-btn:last-child { margin-left: auto; }
.pe-flag.on { background: var(--amber-soft); border-color: var(--amber); color: var(--amber); }
.pe-foot { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin-top: .9rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.pe-link { font: inherit; font-size: .88rem; background: none; border: 0; padding: .3rem 0; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pe-map h3 { margin-top: .6rem; }
.pe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(2.6rem, 1fr)); gap: .35rem; margin: .8rem 0; }
.pe-cell { position: relative; font: 700 .9rem var(--display); min-height: 2.6rem; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink-2); cursor: pointer; }
.pe-cell.done { background: var(--teal-soft); border-color: var(--teal-3); color: var(--teal-2); }
.pe-cell.right { background: #e3f4ec; border-color: var(--ok); color: var(--ok); }
.pe-cell.wrong { background: #fbe9e4; border-color: #b4462e; color: #b4462e; }
.pe-cell.flag::after { content: ""; position: absolute; top: 0; right: 0; border: .45rem solid transparent; border-top-color: var(--amber); border-right-color: var(--amber); border-top-right-radius: 7px; }
.pe-cell.here { outline: 2px solid var(--ink); outline-offset: 1px; }
.pe-score { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.pe-score b { font: 800 3rem/1 var(--display); letter-spacing: -.03em; color: var(--ok); }
.pe-score.no b { color: var(--amber); }
.pe-score span { font-weight: 700; color: var(--ink-2); }
.pe-passline { font-size: 1rem; margin: .6rem 0 .3rem; }
.pe-meta { font-size: .88rem; color: var(--ink-3); margin: .2rem 0 .8rem; }
table.pe-topics { max-width: none; font-size: .92rem; }
table.pe-topics td { vertical-align: middle; }
table.pe-topics tr.weak td { background: var(--amber-soft); }
.pe-tag { display: inline-block; font: 800 .68rem var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--amber); border: 1px solid var(--amber); border-radius: 999px; padding: .05rem .45rem; margin-left: .3rem; vertical-align: middle; }
.pe-barcell { width: 28%; }
.pe-tb { position: relative; display: block; height: .6rem; background: var(--bg-2); border-radius: 4px; }
.pe-tb i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--teal-3), var(--mint)); }
.pe-tb em { position: absolute; top: -.2rem; bottom: -.2rem; width: 2px; background: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pe-review { margin-top: 1.4rem; }
.pe-only { display: flex; align-items: center; gap: .5rem; font-size: .92rem; margin: .3rem 0 .8rem; cursor: pointer; }
.pe-only input { width: 1.1rem; height: 1.1rem; accent-color: var(--teal); }
.pe-rlist { padding-left: 1.6rem; margin: 0; }
.pe-rlist li { margin: 0 0 1rem; padding: .6rem .8rem; border-left: 4px solid var(--ok); background: var(--bg); border-radius: 0 10px 10px 0; }
.pe-rlist li.no { border-left-color: #b4462e; }
.pe-rlist.missed-only li.ok { display: none; }
.pe-rlist p { margin: .2rem 0; max-width: none; font-size: .93rem; }
.pe-rq { font-weight: 600; }
.pe-rw { color: var(--ink-2); }
.pe-rt { font-size: .78rem !important; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.pe-ok { color: var(--ok); font-weight: 700; font-size: .85rem; }
table.pe-outline { max-width: none; }
table.pe-outline td small { display: block; color: var(--ink-2); font-size: .82rem; line-height: 1.45; margin-top: .2rem; }
table.pe-outline th small { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--ink-3); }
.qbank { max-width: 46rem; }
h3.pq-h { margin-top: 2rem; padding-bottom: .3rem; border-bottom: 1px solid var(--line); }
h3.pq-h small { font-family: var(--body); font-weight: 400; font-size: .8rem; color: var(--ink-3); letter-spacing: 0; margin-left: .3rem; }
.pq-list { padding-left: 1.8rem; margin: .6rem 0; }
.pq { margin: 0 0 1.1rem; }
.pq-q { margin: 0 0 .3rem; font-weight: 600; max-width: none; }
.pq-o { margin: 0 0 .3rem; padding-left: 1.6rem; color: var(--ink-2); font-size: .95rem; }
.pq-o li { margin: .1rem 0; }
.pq-a summary { cursor: pointer; color: var(--teal); font-size: .88rem; font-weight: 600; padding: .2rem 0; }
.pq-a p { font-size: .92rem; margin: .3rem 0; max-width: none; }
.pq-a[open] { background: var(--bg-2); border-radius: 10px; padding: .3rem .8rem .5rem; }
@media (max-width: 900px) {
  .pe { scroll-margin-top: 10rem; }
}
@media (max-width: 520px) {
  .pe { padding: 1rem .9rem 1.1rem; border-radius: 12px; }
  .pe-q { font-size: 1.02rem; }
  .pe-nav .pe-btn { flex: 1 1 auto; }
  .pe-nav .pe-btn:last-child { margin-left: 0; }
  .pe-barcell { display: none; }
  .pe-score b { font-size: 2.4rem; }
  table.pe-topics th, table.pe-topics td { padding: .5rem .55rem; }
  table.pe-outline th, table.pe-outline td { padding: .5rem .6rem; }
}

/* Exam Prep Pass (/exam-prep/{state}/, app and thanks pages) */
.pp-buy { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--amber); border-radius: 14px; box-shadow: var(--shadow); padding: 1rem 1.2rem; margin: 1rem 0 1.4rem; max-width: 46rem; }
.pp-buy .note { flex: 1 1 100%; margin: 0; }
.pp-price b { display: block; font: 800 2rem/1 var(--display); color: var(--amber); letter-spacing: -.03em; }
.pp-price > span { display: block; font-size: .85rem; color: var(--ink-2); margin-top: .25rem; }
.pp-price .fig { font-size: inherit; color: inherit; }
.pp-form { margin: 0; }
.pp-buy .pe-fine { flex: 1 1 100%; margin: 0; }
table.pp-areas { max-width: 46rem; }
table.pp-areas th.num { white-space: normal; text-align: right; }
.pp-sample { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 1rem 1.2rem; max-width: 46rem; }
.pp-cite { font-size: .82rem !important; color: var(--ink-3); margin: .4rem 0 0 !important; }
.pp-cite a { color: var(--ink-2); }
.pp-guide { margin: .4rem 0 1rem; padding: .7rem 1rem; border-left: 4px solid var(--teal); background: var(--teal-soft); border-radius: 0 12px 12px 0; max-width: 68ch; }
.pp-guide p { margin: 0; font-size: .95rem; }
.pp-refund { margin-top: .2rem !important; }
.pp-upsell { margin-top: 1.4rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; background: var(--teal-soft); }
.pp-upsell-h { font: 800 1.05rem var(--display); margin: 0 0 .3rem; }
.pp-upsell p { max-width: none; }
.pp-h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: .4rem 0 1rem; }
.pp-head { border-bottom: 1px solid var(--line); padding-bottom: .6rem; margin-bottom: .9rem; }
.pp-pass { margin: 0; }
.pp-pass b { display: block; font-family: var(--display); font-weight: 800; }
.pp-pass span { font-size: .85rem; color: var(--ink-3); }
.pp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .6rem; margin: 0 0 1rem; }
.pp-stats div { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .75rem; }
.pp-stats b { display: block; font: 800 1.35rem/1.1 var(--display); color: var(--teal); }
.pp-stats span { display: block; font-size: .78rem; color: var(--ink-2); line-height: 1.3; margin-top: .2rem; }
.pp-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: .8rem; }
.pp-mode { border: 2px solid var(--line); border-radius: 12px; padding: .9rem 1rem 1rem; background: var(--bg); display: flex; flex-direction: column; gap: .2rem; }
.pp-mode h3 { margin: 0; }
.pp-mode p { font-size: .9rem; color: var(--ink-2); margin: .2rem 0 .6rem; }
.pp-mode .pe-btn { margin-top: auto; align-self: flex-start; }
.pp-mode select { width: 100%; }
.pp-section { margin-top: 1.2rem; }
.pp-weak small { color: var(--ink-3); font-size: .75rem; }
.pp-hist { padding-left: 1.4rem; margin: .3rem 0; font-size: .92rem; }
.pp-hist b.ok { color: var(--ok); }
.pp-hist b.no { color: var(--amber); }
.pp-acct summary { cursor: pointer; color: var(--teal); font-weight: 600; font-size: .92rem; }
.pp-row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin: .4rem 0; }
.pp-row input { flex: 1 1 14rem; min-width: 0; font: inherit; font-size: .9rem; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); }
.pp-resend { margin: .8rem 0; max-width: 34rem; }
.pp-resend label { font-weight: 700; font-size: .95rem; }
@media (max-width: 520px) {
  .pp-buy { padding: .9rem; }
  .pp-buy .pe-btn { width: 100%; }
  .pp-form { flex: 1 1 100%; }
  .pp-stats { grid-template-columns: repeat(2, 1fr); }
  table.pp-areas { font-size: .8rem; }
  table.pp-areas th, table.pp-areas td { padding: .45rem .45rem; }
  table.pp-areas th { font-size: .64rem; letter-spacing: .04em; }
}
.pp-mode .pp-portion { display: block; text-align: left; margin-top: .45rem; }
