/* Phones (760px and under): a layout of their own, not the desktop page in one column.
   Every page links this last, with media="(max-width: 760px)", so nothing here can reach a larger screen.
   lib/phone.js adds the dock, its menu and the tabs above each deck; lib/atlas.js opens the map full screen.
   No text is under 11.5px, and everything you tap is at least 44px (tools/check-phone.mjs checks both). */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.at-lock, html.at-lock body { overflow: hidden; overscroll-behavior: none; }
body { -webkit-tap-highlight-color: rgba(20, 20, 20, .1); }
.not-phone { display: none; }
.only-phone { display: block; }
.wrap { padding-left: 20px; padding-right: 20px; }
.kick { font-size: 11.5px; letter-spacing: .07em; }
.sec { padding: 54px 0; }
.sec-cont { padding-top: 0; }
.sec-top { padding-top: 36px; }
.sec-h { gap: 12px; margin-bottom: 24px; }
.sec-h h2, .h2, .close h2 { font-size: clamp(30px, 8.6vw, 40px); line-height: 1.05; }
.sec-dek { font-size: 16px; line-height: 1.5; }
.more { min-height: 44px; padding-bottom: 0; border-bottom: 0; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }

/* ---------- the top bar ---------- */
.nav-in { height: 60px; }
.brand { min-height: 44px; }
.menu summary { min-height: 48px; padding-top: 0; padding-bottom: 0; }

/* ---------- the dock: the main button and the menu, in reach of a thumb ---------- */
.dock { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); background: #f3f0e8; border-top: 1px solid var(--ink); transition: transform .28s cubic-bezier(.2, .7, .2, 1), visibility .28s; }
.dock.away { transform: translateY(102%); visibility: hidden; }
.dock .btn { flex: 1; min-height: 50px; padding: 0 12px; font-size: min(16px, 4.2vw); }
.dock button { flex: none; display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 1px solid var(--ink); border-radius: 4px; background: none; cursor: pointer; }
.dock button::before { content: ""; width: 20px; height: 8px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.dock-menu { width: 100%; max-width: none; margin: auto 0 0; padding: 12px 20px calc(16px + env(safe-area-inset-bottom)); border: 0; border-top: 1px solid var(--ink); border-radius: 14px 14px 0 0; background: var(--paper); color: var(--ink); }
.dock-menu::backdrop { background: rgba(20, 19, 16, .55); }
.dock-menu[open] { animation: sheet-up .26s cubic-bezier(.2, .7, .2, 1); }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
.dock-menu a { display: flex; align-items: center; min-height: 58px; border-bottom: 1px solid var(--rule); font: 500 23px/1.2 var(--serif); letter-spacing: -.01em; }
.dock-menu a[aria-current="page"]::before { content: ""; width: 12px; height: 17px; margin-right: 14px; background: #ffe252; }
.dock-menu button { width: 100%; min-height: 52px; margin-top: 12px; border: 0; background: none; color: var(--body); font: 600 16px/1 var(--sans); }

/* ---------- decks: pages side by side, one swipe each ---------- */
.file-stack, .desk-pages, .rail, .plans [data-kit="offer"], .k-rg, .chart-pair { display: flex; grid-template-columns: none; overflow: auto hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.file-stack::-webkit-scrollbar, .desk-pages::-webkit-scrollbar, .rail::-webkit-scrollbar, .plans [data-kit="offer"]::-webkit-scrollbar, .k-rg::-webkit-scrollbar, .chart-pair::-webkit-scrollbar, .colophon ul::-webkit-scrollbar { display: none; }
.sw-tabs { display: flex; margin: 0; }
.sw-tabs button { flex: 1 1 auto; min-height: 46px; padding: 0 3px; border: 0; background: none; box-shadow: inset 0 -1px 0 var(--rule); color: var(--body); font: 500 min(15px, 3.75vw)/1 var(--sans); cursor: pointer; }
.sw-tabs button[aria-current="true"] { box-shadow: inset 0 -3px 0 var(--ink); color: var(--ink); font-weight: 600; }
.on-desk .sw-tabs { position: relative; z-index: 11; margin-bottom: 14px; }
.on-desk .sw-tabs button { box-shadow: inset 0 -1px 0 rgba(244, 241, 233, .34); color: #d8cfc0; }
.on-desk .sw-tabs button[aria-current="true"] { box-shadow: inset 0 -3px 0 #ffe252; color: #fff; }
/* with no names to show, the tabs are the mark's own blocks */
.sw-blocks { justify-content: center; margin-top: 2px; }
.sw-blocks button { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; box-shadow: none; }
.sw-blocks button::before { content: ""; width: 9px; height: 13px; background: #c9c2b3; transition: background .2s; }
.sw-blocks button[aria-current="true"] { box-shadow: none; }
.sw-blocks button[aria-current="true"]::before { background: var(--ink); }

/* ---------- home: the headline, the search, and the map as a preview ---------- */
.at-cart { padding: 20px 20px 14px; border-bottom: 1px solid var(--ink); }
.at-cart h1 { margin: 10px 0; font-size: clamp(34px, 10.3vw, 54px); line-height: 1.01; }
.at-cart .lede { margin: 0 0 14px; max-width: none; font-size: 16px; line-height: 1.45; }
.at-cart .cta { margin: 0 0 18px; }
.docked .at-cart .cta { display: none; }                        /* the dock has the button */
@media (scripting: enabled) { .at-cart .cta { display: none; } }  /* from the first paint, so nothing moves when it arrives */
/* pictures that wait until they're near (features.js) */
@media (scripting: enabled) {
  .fp.wait .pic-2, .on-desk.wait .desk { display: none; }
  .on-desk.wait::after { background: none; }
}
.at-find { padding: 0; border: 0; }
.at-find label { margin-bottom: 8px; font: 500 14px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--body); }
.at-find input { height: 50px; }
.at-loc { justify-content: center; width: 50px; height: 50px; padding: 0; background: #fff; }
.at-msg { min-height: 0; font-size: 14px; }
.at-msg:empty { display: none; }
.at-sug li { align-items: center; min-height: 48px; font-size: 16px; }
.at-sug li span { font-size: 12px; }
.at-map { height: min(84vw, 480px); max-height: none; }
.at-ct { font-size: 11.5px; }
.at-foot { align-items: center; }
.at-ctrl { display: none; }
.at-lg-c span, .at-scale { font-size: 11.5px; }
.at-open-map { display: block; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 4px; background: var(--paper); color: var(--ink); font: 600 15px/1 var(--sans); }
.at-open:not(.at-full) .at-foot { visibility: hidden; }         /* the county's card takes its place */
.at-src { padding: 10px 20px 12px; font: 400 12px/1.45 var(--sans); }
/* the county's card: it lies over the foot of the map, so opening it moves nothing */
.at-slip.at-mini { z-index: 7; height: 70px; margin: -88px 18px 18px; padding: 0; overflow: hidden; border: 1px solid var(--ink); border-radius: 4px; box-shadow: 0 10px 24px rgba(40, 32, 18, .2); }
.at-chip { display: grid; grid-template-columns: minmax(0, 1fr) 24px; align-content: center; gap: 3px 12px; width: 100%; height: 100%; padding: 0 14px 0 16px; border: 0; background: var(--sheet); color: var(--ink); text-align: left; font: inherit; }
.at-chip b { font: 500 19px/1.15 var(--serif); letter-spacing: -.01em; }
.at-chip span { font-size: 13.5px; line-height: 1.3; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.at-chip svg { grid-area: 1 / 2 / 3; align-self: center; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the map, full screen ---------- */
.at-full .at-plate { position: fixed; z-index: 200; inset: 0; display: block; height: auto; background: var(--at-sea); animation: at-full-in .24s cubic-bezier(.2, .7, .2, 1); }
@keyframes at-full-in { from { opacity: 0; } }
.at-full .at-map { position: absolute; inset: 0; height: auto; max-height: none; touch-action: none; }
.at-full .at-frame, .at-full .at-src, .at-full .at-open-map, .at-full .at-cart > :not(.at-find) { display: none; }
.at-full .at-cart { position: absolute; z-index: 8; inset: 0 0 auto; padding: calc(8px + env(safe-area-inset-top)) 10px 8px; background: var(--paper); }
.at-full .at-find label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.at-full .at-back { display: grid; flex: none; place-items: center; width: 46px; height: 50px; padding: 0; border: 0; background: none; color: var(--ink); }
.at-full .at-back svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.at-full .at-sug { margin-top: 8px; max-height: 46dvh; }
.at-full .at-msg { margin: 8px 4px 2px; }
.at-full .at-foot { display: contents; }
.at-full .at-foot::before { content: none; }
.at-full .at-ctrl { position: absolute; z-index: 5; top: calc(var(--at-top) + 12px); right: 12px; display: flex; flex-direction: column; box-shadow: 0 4px 14px rgba(40, 32, 18, .16); }
.at-full .at-ctrl button, .at-full .at-ctrl [data-at-home] { width: 46px; height: 46px; padding: 0; font-size: 22px; }
.at-full .at-ctrl button + button { border-left: 0; border-top: 1px solid var(--ink); }
.at-full .at-ctrl [data-at-home] { font-size: 0; }
.at-full .at-ctrl [data-at-home]::after { content: "US"; font: 600 14px/1 var(--sans); }
.at-full .at-head { top: calc(var(--at-top) + 14px); left: 12px; right: 70px; justify-content: flex-start; }
.at-full .at-head [data-at="plate"] { display: none; }
.at-full .at-head [data-at="title"] { display: block; margin: 0; padding: 8px 11px; border-radius: 3px; background: rgba(243, 240, 232, .94); color: var(--ink); font: 500 13px/1.3 var(--sans); letter-spacing: 0; text-transform: none; text-align: left; white-space: normal; }
.at-full .at-lgs { position: absolute; z-index: 5; left: 12px; bottom: calc(16px + env(safe-area-inset-bottom)); justify-items: start; padding: 10px 14px; border-radius: 3px; background: rgba(243, 240, 232, .94); }
.at-full:not(.at-zoomed) .at-lgs::before { content: "Tap a state to open it. Pinch to zoom."; margin-bottom: 10px; font: 500 14px/1.3 var(--sans); color: var(--ink); }
.at-full:not(.at-zoomed) .at-lgs > * { grid-area: auto; }
.at-full:not(.at-zoomed) .at-lgs .dim { display: none; }
.at-full .at-legend .at-lg-k { display: flex; }
.at-full .at-lg-k { font: 500 12px/1.3 var(--sans); letter-spacing: 0; text-transform: none; }
.at-plate:focus { outline: none; }
.at-full.at-open .at-lgs, .at-full.at-open .at-head, .at-full .at-lgs:not(:has(.at-legend:not(.dim))) { display: none; }      /* no empty box between the two keys */
.at-full .at-scale { display: none; }
/* the county's file: a sheet. Swipe it up for the rest, down to put it away */
.at-full .at-slip { position: absolute; z-index: 9; inset: auto 0 0; display: flex; flex-direction: column; width: auto; height: calc(var(--at-sheet) + env(safe-area-inset-bottom)); max-height: none; margin: 0; padding: 0; overflow: hidden; border: 0; border-top: 1px solid var(--ink); border-radius: 14px 14px 0 0; box-shadow: 0 -8px 30px rgba(40, 32, 18, .2); touch-action: none; transition: height .32s cubic-bezier(.2, .7, .2, 1); }
.at-full .at-slip[hidden] { display: none; }
.at-full.at-tall .at-slip { height: calc(100% - var(--at-top) - 8px); }
.at-grab { position: relative; z-index: 1; display: block; flex: none; width: 100%; height: 44px; margin-bottom: -24px; padding: 0; border: 0; background: none; }
.at-grab::before { content: ""; position: absolute; left: 50%; top: 8px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: #b5ad9d; }
.at-full .at-x { z-index: 2; top: 6px; right: 6px; width: 44px; height: 44px; font-size: 26px; }
.at-full .at-sl-k { flex: none; justify-content: flex-start; gap: 14px; margin: 0 60px 0 20px; font-size: 11.5px; letter-spacing: .05em; }
.at-full .at-stamp { padding: .22em .5em .16em; border-width: 2px; border-style: solid; font-size: 11.5px; letter-spacing: .08em; transform: rotate(-3deg); }
.at-full .at-sl-name { flex: none; margin: 4px 20px 0; padding-bottom: 8px; font-size: 27px; }
.at-full .at-ly { flex: 1; min-height: 0; padding: 10px 20px 0; overflow: hidden; }
.at-full.at-tall .at-ly { overflow: auto; overscroll-behavior: contain; touch-action: pan-y; }
.at-full .at-ly > li { padding: 12px 0; }
.at-full .at-ly > li:first-child { padding-top: 0; }
.at-ly-h b { font-size: 16px; }
.at-ly-t { font-size: 14.5px; }
.at-ly-st, .at-pv-list b, .at-pv-list small, .at-pv-wall .at-wl, .at-pos { font-size: 11.5px; }
.at-ly-st { letter-spacing: .03em; }
.at-pv-list > div { font-size: 13px; }
.at-full .at-sl-cta { position: relative; bottom: auto; flex: none; margin: 0; padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--sheet); }
.at-full .at-sl-cta .btn { flex: 1; min-height: 50px; white-space: normal; text-align: center; line-height: 1.2; font-size: 16px; }

/* ---------- the sources: one row ---------- */
.colophon .kick { padding: 14px 0 10px; }
.colophon ul { display: flex; gap: 8px; margin: 0 -20px; padding: 0 20px 14px; overflow-x: auto; border: 0; scrollbar-width: none; }
.colophon ul li, .colophon ul li:nth-child(n) { flex: none; border: 1px solid #c5bdae; border-radius: 3px; }
.colophon ul li:nth-child(n) > div { align-content: center; padding: 9px 14px 9px 12px; }
.colophon li small { font: 400 12.5px/1.3 var(--sans); }

/* ---------- home: the five-tab file. Its tabs stay put and the panels swipe past under them ---------- */
.file { --th: 0px; }
.file-top { padding-top: 48px; }
.file-top .sec-h { margin-bottom: 18px; }
.sw-file { align-items: flex-end; padding: 0 7px; }      /* the tabs overlap by 5px each side */
.sw-file button { position: relative; flex: 1; height: 40px; min-height: 0; margin: 0 -5px; padding: 0; color: var(--t); background: var(--s); box-shadow: none; font: 500 min(16px, 4.1vw)/1 var(--serif); letter-spacing: -.01em; transition: height .2s;
  --cap-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 56' preserveAspectRatio='none'%3E%3Cpath d='M0 56C10 56 13 47 15 39L22 13C24 4 28 0 37 0H38V56Z'/%3E%3C/svg%3E");
  --cap-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 56' preserveAspectRatio='none'%3E%3Cpath d='M38 56C28 56 25 47 23 39L16 13C14 4 10 0 1 0H0V56Z'/%3E%3C/svg%3E");
  -webkit-mask: var(--cap-l) left / 20px 100% no-repeat, var(--cap-r) right / 20px 100% no-repeat, linear-gradient(#000, #000) center / calc(100% - 39px) 100% no-repeat;
  mask: var(--cap-l) left / 20px 100% no-repeat, var(--cap-r) right / 20px 100% no-repeat, linear-gradient(#000, #000) center / calc(100% - 39px) 100% no-repeat; }
.sw-file button[aria-current="true"] { z-index: 2; height: 48px; box-shadow: none; color: var(--t); font-weight: 500; }
.file-stack { padding: 0; }
.fp-at { flex: none; width: 0; scroll-margin-top: 56px; }
.fp { display: flex; flex-direction: column; flex: 0 0 100%; width: 100%; padding: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.fp-at + .fp { border-top: 0; }
.fp-tab { display: none; }
.fp .pic { flex: 1 0 72vw; aspect-ratio: auto; }      /* a shorter page gets a taller picture */
.fp-t { flex: none; gap: 14px; padding: 4px 20px 22px; }
.fp h3 { margin: 8px 0; font-size: clamp(28px, 7.9vw, 38px); }
.fp-t p:not(.kick) { font-size: 15.5px; line-height: 1.45; }
.fp-t .more { margin-top: 4px; }
.fp-n { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 16px; align-items: end; }
.fp-n b { font-size: clamp(50px, 14.4vw, 76px); }
.fp-n p:not(.kick) { margin: 0; font-size: 14.5px; line-height: 1.35; }
.fp-n small { grid-column: 1 / -1; margin: 0; max-width: none; font-size: 12px; }

/* ---------- home: the sample pages, dealt across the desk ---------- */
.desk-pages { gap: 12px; margin: 0 -20px; padding: 4px 20px 34px; scroll-padding: 0 20px; align-items: flex-start; }
.desk-pages .in-desk, .desk-pages .spread { display: contents; }
.in-desk::before, .spread::after, .on-desk .in-desk .keys { display: none; }
.desk-pages .s-list, .desk-pages .s-dos, .desk-pages .pg { flex: 0 0 calc(100% - 22px); margin: 0; background: var(--sheet); border: 0; border-radius: 3px; box-shadow: 1px 2px 2px rgba(12, 7, 3, .4), 6px 10px 22px rgba(12, 7, 3, .4); scroll-snap-align: center; scroll-snap-stop: always; color: var(--ink); }
.in-desk .s-list { display: flex; flex-direction: column; padding: 18px 16px 14px; }
.s-list .sh-foot { margin-top: auto; }
.s-list tbody tr:nth-child(n + 6) { display: none; }
.pg { padding: 18px 18px 14px; }
.pg h3 { margin: 14px 0 8px; font-size: 25px; }
.pg-sub { margin-bottom: 12px; font-size: 15px; line-height: 1.45; }
.fam { margin-top: 4px; }
.fam li { grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 8px 0; }
.fam b { font-size: 15.5px; line-height: 1.3; }
.fam span { display: block; font-size: 14px; line-height: 1.35; }
.memo { margin: 20px 0 14px; padding: 16px 18px 12px; transform: rotate(-.6deg); }
.memo .kick { margin-bottom: 4px; }
.memo .k-ten-n { font-size: 3.1em; }
.pg-wall, .pg-loan { --k-fs: 14px; }
.pg-wall .k-legend { margin-top: 8px; gap: 4px 14px; }
.pg-loan { margin-top: 14px; }
.sh-top, .pg-top, .sh-foot, .pg-foot { font-size: 11.5px; letter-spacing: .03em; }
.sh-top > span:not(.sh-brand) { font: 400 12.5px/1.35 var(--sans); letter-spacing: 0; text-transform: none; }
.sh-sub { font-size: 14px; line-height: 1.45; }
.s-dos .k-panel { --k-fs: 13.8px; }
.desk-pages .pg-slip { padding: 20px 18px 18px; background: none; box-shadow: none; }
.pg-slip .memo { margin: 14px 4px 0; padding: 26px 22px 20px; box-shadow: 1px 2px 2px rgba(12, 7, 3, .4), 6px 10px 22px rgba(12, 7, 3, .4); }
.pg-slip .memo .k-ten-n { font-size: 4em; }
.pg-slip .memo { --k-fs: 15.5px; }
.pg-slip .pg-loan { margin: 0; }
.pg-slip .pg-loan .k-panel { box-shadow: 1px 2px 2px rgba(12, 7, 3, .4), 6px 10px 22px rgba(12, 7, 3, .4); }

/* ---------- home: receipts, the score, the cities, the regions, pricing ---------- */
.rail, .plans [data-kit="offer"] { gap: 12px; margin: 0 -20px; padding: 4px 20px 22px; scroll-padding: 0 20px; }
.rail > *, .plans [data-kit="offer"] > * { flex: 0 0 min(84%, 330px); scroll-snap-align: start; }
.rail { --k-fs: 14px; }
.s-chart, .chart-sheet, .ledger-sheet, .form { padding: 20px 18px; }
.s-chart h3 { margin: 10px 0 18px; font-size: 23px; line-height: 1.2; }
.score-in { gap: 16px; }
.score-side .side-note { display: none; }                       /* the proof panel says the same */
.blocks { padding: 54px 0; }
.bl-in { gap: 18px; }
.bl-copy h2 { font-size: clamp(32px, 9vw, 42px); }
.bl-copy .bl-names { display: none; }                           /* the blocks carry the same names */
.bl span { font-size: 12px; padding: 24px 3px 6px 6px; }
.bl-cap { margin-top: 14px; min-height: 0; font: 400 12.5px/1.45 var(--sans); }
.bl-card-h span { font-size: 11.5px; letter-spacing: .04em; }
.bl-card dl { padding: 14px 0; }
.bl-links { margin-top: 6px; gap: 0 26px; }
.bl-links .more { border: 0; min-height: 44px; padding: 0; }
.register { padding: 18px 16px; }
.register .sh-top { margin-bottom: 8px; }
.register .sw-tabs { margin: 0 0 14px; }
.k-rg { gap: 0; }
.k-rg-c, .k-rg-c:nth-child(n) { flex: 0 0 100%; padding: 0; border: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.k-rg-c h3 { display: none; }                                   /* its tab says which region this is */
.k-rg-k { font-size: 12px; letter-spacing: .03em; }
.k-rg-c dt { font-size: 15px; }
.k-rg-c ol a { min-height: 46px; align-items: center; }
.k-rg-c ol b { font-size: 14px; }
.reg-foot { gap: 14px; margin-top: 14px; padding-top: 16px; }
.reg-foot .btn { width: 100%; min-height: 50px; }
.plans { min-height: 606px; }      /* room for the plans from the first paint, so nothing below them moves */
.plans .k-plan { --k-fs: 15px; padding: 20px 18px; }
.plans .k-plan-tag { font-size: 12px; letter-spacing: .02em; }
.plans .k-btn { min-height: 50px; font-size: 16px; }
.plans + .steps { margin-top: 18px; }
.steps li, .steps li + li, .steps-4 li, .steps-4 li + li, .steps-4 li:nth-child(n + 3) { padding: 16px 0; }
.step-k { margin-bottom: 4px; font-size: 12px; letter-spacing: .04em; }
.step-k i { font-size: 22px; }
.steps h4 { margin-bottom: 4px; font-size: 21px; }
.steps p:not(.step-k) { font-size: 15.5px; line-height: 1.45; }

/* ---------- the closing room and the footer ---------- */
.room { min-height: 620px; }
.room .pic { bottom: 150px; }
.room-in { padding-bottom: 36px; }
.room h2 { font-size: clamp(36px, 10.6vw, 50px); margin-bottom: 12px; }
.room p { margin-bottom: 18px; }
.room .btn { width: 100%; }
.foot { padding: 40px 0 28px; }
.foot-top { grid-template-columns: 1fr 1fr; gap: 26px 20px; padding-bottom: 26px; }
.foot-brand, .foot-col:last-child { grid-column: 1 / -1; }
.foot-brand p { margin: 10px 0 0; }
.foot-brand .btn { display: none; }                            /* the closing room has it, just above */
.foot-col { gap: 0; font-size: 15.5px; }
.foot-col h4 { margin-bottom: 4px; font-size: 12px; letter-spacing: .05em; }
.foot-col a, .foot-col span { display: flex; align-items: center; min-height: 44px; }
.foot-base { flex-direction: column; gap: 8px; padding-right: 0; }
.foot::after { display: none; }

/* ---------- the other pages: the photo, then straight to business ---------- */
.plate { --clear: max(104px, min(27vw, 15vh)); }
.plate h1 { font-size: clamp(36px, 10.8vw, 50px); }
.plate-in { gap: 16px; padding: var(--clear) 26px 26px; }
.plate .lede { font-size: 16px; line-height: 1.5; }
.plate-c { font: 400 12px/1.45 var(--sans); }
.creds summary { position: relative; }
.creds summary::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: max(100%, 44px); height: 44px; transform: translate(-50%, -50%); }
.page-h h1 { font-size: clamp(36px, 10.8vw, 50px); }
.src { font-size: 12px; }

/* ---------- Markets ---------- */
.gaz { padding: 16px 16px 18px; }
.gz-bar { margin: 14px 0 6px; gap: 10px; }
.gz-find input { height: 50px; font-size: 16px; }
.gz-reg button { flex: 1 1 auto; min-width: 44px; min-height: 46px; padding: 0 2px; font-size: min(13.5px, 3.45vw); }
.gz-t thead th { padding-top: 0; padding-bottom: 0; vertical-align: middle; }
.gz-t thead button { display: inline-flex; align-items: center; justify-content: inherit; min-width: 44px; min-height: 52px; font: 500 12px/1.25 var(--sans); letter-spacing: 0; text-transform: none; }
.gz-t thead th.r button { justify-content: flex-end; max-width: 100%; text-align: right; }
.gz-t { table-layout: fixed; }
.gz-t thead th:nth-child(3) { width: 66px; }
.gz-t thead th:nth-child(4) { width: 92px; }
.gz-t thead th:nth-child(n + 2), .gz-t tbody td { padding-left: 6px; }
.gz-t tbody th, .gz-t tbody td { padding-top: 11px; padding-bottom: 10px; }
.gz-t tbody th { position: relative; }
.gz-t tbody th a { font-size: min(18px, 4.6vw); text-wrap: balance; }
.gz-t tbody th a::after { content: ""; position: absolute; inset: 0; }      /* all of the cell opens the county */
.gz-t tbody th small { font: 400 13px/1.3 var(--sans); }
.gz-t tbody td { font-size: 15.5px; vertical-align: top; padding-top: 13px; }
.gz-due i { width: 72px; }
.gz-foot { margin-top: 14px; }
.gz-foot p { font: 400 13px/1.4 var(--sans); }
.gz-foot .btn { min-height: 48px; }
.explore-in { gap: 14px; }
.ex-map, .ex-card, .reg-after { padding: 16px; }
.ex-dots { margin-top: 12px; }
.ex-hint { order: 2; display: block; margin-top: 10px; font: 400 12.5px/1.45 var(--sans); letter-spacing: 0; text-transform: none; }
.ex-hint span { font: inherit; }
.ex-hint span + span { display: none; }
.ex-chip { display: grid; grid-template-columns: minmax(0, 1fr) 22px; align-content: center; gap: 2px 12px; min-height: 64px; margin-top: 12px; padding: 8px 14px 8px 16px; border: 1px solid var(--ink); border-radius: 4px; background: #fff; }
.ex-chip b { font: 500 19px/1.15 var(--serif); letter-spacing: -.01em; }
.ex-chip span { font-size: 13.5px; line-height: 1.3; color: var(--body); }
.ex-chip i { font-style: normal; }
.ex-chip svg { grid-area: 1 / 2 / 3; align-self: center; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ex-card { scroll-margin-top: 12px; }
.ex-pick { margin-top: 14px; font: 500 14px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--body); }
.ex-pick select { min-height: 50px; font-size: 16px; }
.ex-card h2 { margin: 14px 0; font-size: 32px; }
.ex-top .stamp-open { margin-bottom: 18px; }
.ex-stats div { padding-top: 10px; padding-bottom: 10px; }
.ex-stats dt { font: 400 13px/1.3 var(--sans); letter-spacing: 0; text-transform: none; }
.ex-stats dd { margin-top: 3px; font-size: 25px; }
.ex-list { margin-top: 12px; --k-fs: 13.6px; }
.ex-ask { margin-top: 14px; }
.reg-dek { margin-bottom: 6px; font-size: 15px; line-height: 1.5; }
#board { --k-fs: 14px; }
#board .k-bd-r { min-height: 46px; }
#board.folded .past { display: none; }
.more-rows { display: flex; width: 100%; min-height: 50px; margin-top: 14px; }

/* ---------- Method: its chapters stay on top ---------- */
.plate .toc { display: none; }
.chap { position: sticky; z-index: 30; top: 0; display: flex; gap: 22px; padding: 0 20px; overflow-x: auto; background: var(--paper); border-bottom: 1px solid var(--ink); scrollbar-width: none; }
.chap::-webkit-scrollbar { display: none; }
.chap a { display: flex; flex: none; align-items: center; gap: 7px; min-height: 48px; color: var(--body); font-size: 15px; white-space: nowrap; }
.chap a i { font: italic 500 17px/1 var(--serif); color: var(--ink); }
.chap a[aria-current] { box-shadow: inset 0 -3px 0 var(--ink); color: var(--ink); font-weight: 600; }
.m-sec { padding: 46px 0; scroll-margin-top: 48px; }
.m-grid { gap: 22px; }
.m-side .kick { margin-bottom: 12px; }
.m-side h2 { margin-bottom: 12px; font-size: clamp(30px, 8.6vw, 40px); line-height: 1.05; }
.m-side p:not(.kick) { margin-bottom: 10px; font-size: 16px; line-height: 1.5; }
.m-main > * + * { margin-top: 16px; }
.biblio li { grid-template-columns: 30px minmax(0, 1fr); gap: 6px; padding: 14px 0; }
.rules li { grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 14px 0; }
.biblio h4, .rules b { font-size: 16.5px; line-height: 1.3; }
.biblio p, .rules p { font-size: 15px; line-height: 1.45; }
.m-note { margin-top: 14px; font: 400 13px/1.5 var(--sans); }
.chart-sheet[id] { scroll-margin-top: 64px; }                   /* clear of the chapters */
.chart-sheet .cs-p { margin: -10px 0 16px; line-height: 1.5; }
.chart-sheet .cs-p + .cs-p { margin-top: -6px; }
.c-tabs { gap: 16px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.c-tabs::-webkit-scrollbar { display: none; }
.c-tabs button { flex: none; min-height: 48px; font-size: 14px; white-space: nowrap; }
.cs-why li { grid-template-columns: minmax(0, 1fr); }
.chart-pair { gap: 12px; margin: 0 -20px; padding: 14px 20px 22px; scroll-padding: 0 20px; }
.chart-pair > *, .chart-pair > * + * { flex: 0 0 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
/* detail that opens when tapped: short points show their titles, and longer blocks get a button (phone.js) */
.points b button, .tuck, .cs-table summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 52px; padding: 0; border: 0; background: none; color: var(--ink); font: 600 15.5px/1.3 var(--sans); text-align: left; text-decoration: none; list-style: none; cursor: pointer; }
.points b button { padding: 8px 0; font: inherit; }
.points b button::after, .tuck::after, .cs-table summary::after { content: ""; flex: none; width: 9px; height: 9px; margin: -5px 4px 0 0; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.points b button[aria-expanded="true"]::after, .tuck[aria-expanded="true"]::after, .cs-table[open] summary::after { margin-top: 5px; transform: rotate(-135deg); }
.cs-table summary::-webkit-details-marker { display: none; }
.points li { padding: 0; }
.points li > svg { margin-top: 15px; }
.points b { margin: 0; }
.points li:not(.open) p, .tuck + [data-tuck]:not(.open) { display: none; }
.points p { padding-bottom: 16px; }
.tuck { border-top: 1px solid var(--rule); }
.cs-table { margin-top: 14px; border-top: 1px solid var(--rule); }
.cs-rule .cs-p, .cs-rule .cs-p + .cs-p { margin: 0 0 14px; }
.cs-why { margin-top: 0; border-top: 0; }
.cs-why li:first-child { padding-top: 2px; }
.facts div { padding-top: 12px; padding-bottom: 14px; }
.facts dt { font-size: 34px; }
.facts dd { margin-top: 5px; font-size: 14px; line-height: 1.4; }

/* the table lists every run, so the certificate above it would only repeat the newest */
.m-main > .print-cert { display: none; }
.m-main > .print-cert + * { margin-top: 0; }

/* ---------- Pricing ---------- */
.inv tr { padding: 12px 0; }
.faq summary { min-height: 60px; }

/* ---------- Contact: the form comes first ---------- */
.ask-in { display: flex; flex-direction: column; gap: 30px; padding-top: 14px; padding-bottom: 44px; }
.ask .form { order: -1; margin: 0 -8px; }
.plate-ask + .ask .ask-copy { padding-top: 0; }
.ask-copy .kick { margin: 0 0 12px; }
.ask-steps li { grid-template-columns: 30px minmax(0, 1fr); gap: 6px; padding: 14px 0; }
.field input, .field select, .field textarea { min-height: 50px; font-size: 16px; }
.form .btn { width: 100%; min-height: 54px; }
.mail-line a { display: inline-block; padding: 12px 0; border: 0; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  .dock, .at-full .at-slip, .sw-file button, .points b button::after, .tuck::after, .cs-table summary::after { transition: none; }
  .dock-menu[open], .at-full .at-plate { animation: none; }
}

/* ---------- the components' smallest print ---------- */
.k-tbl th, .k-band, .k-sig b, .k-kicker, .k-kicker .k-nb, .k-status, .k-stamp small, .k-dos-who small, .k-dos-f span, .k-stub-when, .k-stub-f, .k-strip-top em, .k-loan-o span, .k-loan-f,
.k-reasons small, .k-rows-t small, .k-rows .k-top, .k-cert-sha small, .k-facts dt, .k-cert-t thead th, .k-cert-t small, .k-bd-h span, .k-bd-na, .creds summary, .creds li, .row12 > .wrap, .k-loan .k-loan-h .k-status { font-size: 12px; }
.k-facts dt { white-space: normal; line-height: 1.25; }
.k-svg .k-w-n { font-size: 12px !important; }
.field label { font: 500 14px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--body); }
.inv td:nth-child(2) { font-size: 12px; }
.sw-file button { height: 44px; }
.sw-file button[aria-current="true"] { height: 50px; }
.sw-file { height: 50px; }

/* ---------- between a phone and a tablet (641 to 760px), and the narrowest phones ---------- */
.at-loc b { position: absolute; display: block; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }      /* the icon shows; the name is still read out */
.foot-base span:last-child { text-align: left; }
.inv thead { display: none; }
.inv tr { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; border-bottom: 1px solid var(--line); }
.inv tr:last-child { border-bottom: 0; }
.inv td, .inv td:nth-child(2), .inv td:nth-child(3) { padding: 0; border: 0; }
.inv td:first-child { grid-column: 1 / -1; width: auto; margin-bottom: 8px; }
.inv td:nth-child(3) { font-size: 13px; line-height: 1.5; color: var(--mute); }
@media (max-width: 400px) { .inv tr { grid-template-columns: minmax(0, 1fr); row-gap: 2px; } }
/* room for the label above a past call's line */
.k-stub .k-strip { margin-top: 8px; }
@media (min-width: 481px) {
  .gz-t thead th:nth-child(3), .gz-t thead th:nth-child(4) { width: 22%; }
  .gz-t thead th:nth-child(6) { width: 70px; }
}
@media (min-width: 481px) and (max-width: 640px) {
  .gz-t thead th:nth-child(6) { width: 0; }
}
@media (max-width: 345px) {
  .plans .k-plan-tag { font-size: 11.5px; letter-spacing: -.02em; }
  #board { --k-fs: 13px; }
  #board .k-bd-h, #board .k-bd-r { grid-template-columns: minmax(0, 1fr) 4em 4.2em; column-gap: .5em; padding-left: 4px; padding-right: 4px; }
}

/* ---------- the client desk (lib/clientdesk.css): the firm's name, tabs like the other decks, then one page at a time ---------- */
.cd-sec .sec-h { margin-bottom: 20px; }
.cd-win { display: flex; flex-direction: column; }
.cd-rail { display: contents; }
.cd-brand { display: none; }
.cd-for { order: 0; padding: 12px 14px 11px; border-bottom: 1px solid var(--ink); }
.cd-tabs { order: 1; gap: 0; margin: 0; background: var(--paper-2); }
.cd-tabs button { flex: 1 1 auto; justify-content: center; min-height: 46px; padding: 0 2px; border: 0; border-radius: 0; box-shadow: inset 0 -1px 0 var(--rule); font-size: min(14.5px, 3.7vw); }
.cd-tabs .k-i, .cd-tabs em { display: none; }
.cd-tabs [aria-selected="true"], .cd-tabs [aria-selected="true"]:hover { border: 0; background: var(--paper); box-shadow: inset 0 -3px 0 var(--ink); }
.cd-page { order: 2; display: block; padding: 16px 12px; }
.cd-view { display: none; visibility: visible; }
.cd-view.on { display: block; }
.cd-head { padding-bottom: 10px; margin-bottom: 12px; }
.cd-head h3 { font-size: 28px; }
.cd-head p:last-child { display: none; }
.cd-star { width: 44px; height: 44px; }
.cd-stage select { min-height: 44px; padding-right: 30px; font-size: 16px; }
.cd-toast { left: 50%; bottom: 14px; max-width: calc(100% - 24px); white-space: normal; text-align: center; }
.cd-note { margin-top: 16px !important; font-size: 13.5px; }
/* this week: the figures, the first two leads and what's due */
.cd-figs { margin-bottom: 12px !important; }
.cd-figs > div { padding: 9px 8px 10px 10px; }
.cd-figs dt, .cd-figs dd { font-size: 12px; }
.cd-figs dt + dd { font-size: 26px; }
.cd-two { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.cd-side { gap: 12px; }
.cd-side .cd-sheet + .cd-sheet { display: none; }
.cd-start > li { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px 12px 6px; }
.cd-start > li:nth-child(n + 3) { display: none; }
.cd-start > li:nth-child(2) { border-bottom: 0; }
.cd-start .cd-use, .cd-start .cd-rk small, .cd-list .cd-use { display: none; }
/* leads: the first three, and a button for the rest */
.cd-chips { gap: 6px; margin-bottom: 12px; }
.cd-chips button { justify-content: center; min-width: 44px; min-height: 44px; padding: 0 11px; }
.cd-lh { display: none; }
.cd-list > li { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "rk prop band" "rk why why" "rk work work"; gap: 8px 10px; align-items: start; padding: 10px 12px 12px 6px; }
.cd-list .cd-rk { grid-area: rk; flex-direction: column; gap: 0; }
.cd-list .cd-prop { grid-area: prop; }
.cd-list .cd-why { grid-area: why; }
.cd-list .cd-band { grid-area: band; }
.cd-list .cd-work { grid-area: work; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.cd-list:not(.cd-all) > li:nth-child(n + 4) { display: none; }
.cd-list:not(.cd-all) > li:nth-child(3) { border-bottom: 0; }
.cd-rest { display: block; width: 100%; min-height: 46px; border: 0; border-top: 1px solid var(--cd-line); border-radius: 0 0 4px 4px; background: var(--cd-3); font-weight: 600; }
/* pipeline: a list by stage, as on the real desk */
.cd-cols { display: block; min-height: 0; }
.cd-col { margin-bottom: 10px; padding: 0 10px 2px; }
.cd-col[data-count="0"] { display: none; }
.cd-card { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "prop rk" "dl dl" "band stage"; gap: 8px 10px; align-items: center; padding: 10px; }
.cd-card .cd-rk { grid-area: rk; gap: 2px; }
.cd-card .cd-prop { grid-area: prop; }
.cd-card dl { grid-area: dl; }
.cd-card dl > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); }
.cd-card .cd-band { grid-area: band; }
.cd-card .cd-stage { grid-area: stage; width: auto; }
.cd-card select { padding: 3px 30px 3px 10px; }
/* proof */
.cd-pf { padding: 14px 12px 12px; }
.cd-verdict { flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 14px; }
.cd-pf thead th:first-child, .cd-pf tbody th { width: 62px; }
.cd-pf th { padding-right: 6px; font-size: 12px; }
.cd-pf tbody th { font-size: 13px; }
.cd-pf td { padding-right: 8px; }
.cd-pf td b { font-size: 19px; }
.cd-pf td small { font-size: 12px; }
.cd-led { gap: 10px; margin: 12px 0 8px; padding: 12px; }
