/* Data Center Census - editorial almanac design system */
:root {
  --paper: #f5f2ea;
  --paper-2: #ece7da;
  --card: #fbf9f4;
  --ink: #14130f;
  --ink-2: #3a372f;
  --muted: #6e695c;
  --rule: #d8d1c0;
  --rule-strong: #14130f;
  --accent: #e0561e;
  --link: #14130f;
  --link-hover: #b8420f;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --s-rumored: #8a7fa8; --s-proposed: #c8871a; --s-approved: #2f6db5; --s-under_construction: #d4551c;
  --s-operating: #2e7d4f; --s-paused: #7b8490; --s-cancelled: #a63d3d; --s-denied: #a63d3d;
  --w: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14130f; --paper-2: #1d1b16; --card: #1a1814; --ink: #efeadd; --ink-2: #cfc9b9; --muted: #9a9484;
    --rule: #34312a; --rule-strong: #efeadd; --link: #efeadd; --link-hover: #f08a55; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); font-feature-settings: 'kern'; text-rendering: optimizeLegibility; }
a { color: var(--link); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .88em; background: var(--paper-2); padding: .1em .35em; border-radius: 3px; word-break: break-all; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.wrap.narrow { max-width: 828px; }
.small { font-size: .84rem; line-height: 1.5; }
.muted { color: var(--muted); }
.strong { font-weight: 600; }
.nowrap { white-space: nowrap; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 0; }
.mt { margin-top: 2rem; }

/* Masthead */
.masthead { border-bottom: 1px solid var(--rule-strong); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 28px; height: 28px; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand-name b { font-weight: 600; }
.nav { display: flex; gap: 22px; font-size: .92rem; font-weight: 500; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { text-decoration: none; white-space: nowrap; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--accent); color: var(--ink); }

/* Heads */
.kicker { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.hero { padding: 64px 0 36px; border-bottom: 1px solid var(--rule); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); max-width: 17ch; margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--accent); }
.lead { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.38rem); line-height: 1.45; color: var(--ink-2); max-width: 62ch; }
.pagehead { padding: 40px 0 26px; border-bottom: 1px solid var(--rule); margin-bottom: 28px; }
.pagehead h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 26ch; }
.h2 { font-size: 1.55rem; padding-top: .6rem; border-top: 1px solid var(--rule-strong); margin-top: 0; }
.h3 { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 1.1rem 0 .35rem; }
.h3:first-child { margin-top: 0; }
.section { margin-top: 48px; }
.more { font-weight: 600; text-decoration: none; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); margin: 34px 0 14px; }
.stats div { padding: 16px 18px 14px 0; }
.stats div + div { border-left: 1px solid var(--rule); padding-left: 18px; }
.stats dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 4px 0 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums lining-nums; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 28px; border-top: 1px solid var(--rule-strong); margin-bottom: 64px; }
.principles h3 { font-size: 1.25rem; }
.principles p { color: var(--ink-2); font-size: .95rem; }

/* Status */
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px 2px; border-radius: 2px; border: 1px solid currentColor; white-space: nowrap; line-height: 1.4; }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.s-rumored { color: var(--s-rumored); } .dot.s-rumored, .seg.s-rumored { background: var(--s-rumored); }
.s-proposed { color: var(--s-proposed); } .dot.s-proposed, .seg.s-proposed { background: var(--s-proposed); }
.s-approved { color: var(--s-approved); } .dot.s-approved, .seg.s-approved { background: var(--s-approved); }
.s-under_construction { color: var(--s-under_construction); } .dot.s-under_construction, .seg.s-under_construction { background: var(--s-under_construction); }
.s-operating { color: var(--s-operating); } .dot.s-operating, .seg.s-operating { background: var(--s-operating); }
.s-paused { color: var(--s-paused); } .dot.s-paused, .seg.s-paused { background: var(--s-paused); }
.s-cancelled, .s-denied { color: var(--s-cancelled); } .dot.s-cancelled, .seg.s-cancelled, .dot.s-denied, .seg.s-denied { background: var(--s-cancelled); }
@media (prefers-color-scheme: dark) { .badge { filter: brightness(1.35); } }
.statusbar { display: flex; height: 14px; gap: 2px; margin: 14px 0 12px; }
.seg { display: block; min-width: 4px; }
.legend { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; }
.legend b { font-family: var(--mono); font-weight: 500; }
.statusline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 14px 0 18px; color: var(--ink-2); }
.pipeline { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0; font-family: var(--mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; }
.pipeline li { padding: 8px 14px 7px; border: 1px solid var(--rule); margin-right: -1px; color: var(--muted); background: var(--card); }
.pipeline li.done { color: var(--ink); background: var(--paper-2); }
.pipeline li.now { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.pipeline.off li { text-decoration: line-through; text-decoration-color: var(--rule); }
.pipeline li.offramp { text-decoration: none; background: var(--s-cancelled); border-color: var(--s-cancelled); color: #fff; margin-left: 10px; }

/* Map */
.mapfig { margin: 0; }
.map { width: 100%; background: var(--paper-2); border: 1px solid var(--rule); }
.mapfig figcaption { display: flex; flex-wrap: wrap; gap: 4px 16px; padding-top: 8px; }
.lg { white-space: nowrap; }
.maplibregl-popup-content { font-family: var(--sans); border-radius: 2px !important; padding: 12px 30px 12px 14px !important; box-shadow: 0 6px 24px rgba(0,0,0,.18) !important; color: #14130f; }
.pop-title { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; display: block; margin-bottom: 4px; color: #14130f; line-height: 1.2; }
.pop-meta { font-size: .8rem; color: #6e695c; margin-top: 4px; }
.pop-approx { font-style: italic; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: .86rem; padding: 6px 12px; border: 1px solid var(--rule); background: var(--card); cursor: pointer; border-radius: 2px; }
.chip input { margin: 0 4px 0 0; accent-color: var(--ink); }

/* Lists */
.events { list-style: none; padding: 0; margin: 0; }
.events li { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: .95rem; }
.events time { font-family: var(--mono); font-size: .76rem; color: var(--muted); padding-top: 3px; white-space: nowrap; }
.src { font-family: var(--mono); font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.rank { list-style: none; counter-reset: r; padding: 0; margin: 0; }
.rank li { counter-increment: r; display: flex; align-items: baseline; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.rank li::before { content: counter(r, decimal-leading-zero); font-family: var(--mono); font-size: .74rem; color: var(--muted); width: 24px; }
.rank li a { font-weight: 500; }
.rank .num { margin-left: auto; }
.stategrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 28px; }
.stategrid a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.stategrid b { font-family: var(--mono); font-weight: 500; color: var(--muted); }
.stategrid a:hover b { color: var(--accent); }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: 6px 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.downloads { list-style: none; padding: 0; margin: 0 0 32px; }
.downloads li { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.downloads a { font-family: var(--mono); font-size: 1.05rem; font-weight: 500; }

/* Tables */
.tablewrap { overflow-x: auto; border-top: 1px solid var(--rule-strong); }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 12px 12px 10px 0; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table th.num { text-align: right; }
.table tr[hidden] { display: none; }
th.sort { cursor: pointer; user-select: none; }
th.sort:hover { color: var(--ink); }
th[aria-sort=ascending]::after { content: ' \2191'; } th[aria-sort=descending]::after { content: ' \2193'; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.toolbar input, .toolbar select { font: inherit; font-size: .92rem; padding: 9px 12px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); border-radius: 2px; }
.toolbar input { width: min(340px, 100%); }

/* Project page */
.crumbs ol { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--rule); }
.crumbs a { color: var(--muted); }
.pagehead .crumbs ol { margin-bottom: 18px; }
.project-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding-bottom: 72px; }
.project-grid .lead { margin-bottom: 2rem; }
.project-grid section { margin-bottom: 2.6rem; }
.facts { width: 100%; border-collapse: collapse; }
.facts th { width: 32%; text-align: left; font-weight: 500; font-size: .9rem; color: var(--muted); padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.facts td { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.fv { font-family: var(--serif); font-size: 1.2rem; }
.cite { font-family: var(--mono); font-size: .72rem; text-decoration: none; color: var(--accent); vertical-align: super; line-height: 0; margin-left: 1px; }
.cite:hover { text-decoration: underline; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--ink); }
.timeline li { position: relative; padding: 0 0 18px 22px; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 7px; width: 10px; height: 10px; background: var(--paper); border: 2px solid var(--ink); border-radius: 50%; }
.timeline li:last-child::before { background: var(--accent); border-color: var(--accent); }
.timeline time { font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.timeline p { margin: 2px 0 0; }
.issues { padding-left: 1.1em; } .issues li { margin-bottom: .5em; }
.sources { padding-left: 1.4em; font-size: .93rem; }
.sources li { margin-bottom: .8em; scroll-margin-top: 90px; }
.sources li:target { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.tag { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; }
.side .box { border-top: 1px solid var(--rule-strong); padding: 14px 0 6px; margin-top: 22px; }
.side .box p { margin-bottom: .5em; }
.callout { background: var(--card); border: 1px solid var(--rule); padding: 18px 20px 8px; }
.note { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; color: var(--ink-2); margin: 28px 0; max-width: 78ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose li { margin-bottom: .4em; }
.defs { display: grid; grid-template-columns: 200px 1fr; gap: 10px 16px; align-items: baseline; }
.defs dd { margin: 0; }

/* Footer */
.footer { border-top: 1px solid var(--rule-strong); margin-top: 72px; padding: 40px 0 28px; background: var(--paper-2); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.footer-brand { font-family: var(--serif); font-size: 1.3rem; margin-bottom: .4rem; }
.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-nav h2 { font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.footer-nav a { display: block; font-size: .9rem; padding: 3px 0; text-decoration: none; word-break: break-word; }
.footer-base { border-top: 1px solid var(--rule); margin-top: 32px; padding-top: 16px; }

/* Responsive */
@media (max-width: 960px) {
  .project-grid, .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .masthead { position: static; }
  .masthead-inner { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 12px; padding-bottom: 8px; }
  .nav { width: 100%; gap: 18px; }
  .hero { padding: 36px 0 24px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .principles { grid-template-columns: 1fr; gap: 12px; }
  .events li { grid-template-columns: 1fr; gap: 2px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .defs { grid-template-columns: 1fr; }
  .facts th { width: 40%; }
  .table { font-size: .88rem; }
}

/* Data layers */
.factgroup { margin-top: 1.4rem; }
details.quote { margin-top: 4px; }
details.quote summary { font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); cursor: pointer; list-style: none; }
details.quote summary::-webkit-details-marker { display: none; }
details.quote summary::before { content: '+ '; }
details.quote[open] summary::before { content: '\2212 '; }
details.quote blockquote { margin: 6px 0 0; padding: 8px 12px; border-left: 2px solid var(--rule); font-family: var(--serif); font-size: .95rem; color: var(--ink-2); background: var(--card); }
.badge.case-pending { color: var(--s-proposed); } .badge.case-dismissed, .badge.case-withdrawn { color: var(--s-paused); }
.badge.case-decided, .badge.case-settled { color: var(--s-approved); } .badge.case-appealed { color: var(--s-under_construction); }

/* Tools */
.zipbar { margin: 6px 0 18px; max-width: 520px; }
.zipbar label { display: block; font-family: var(--serif); font-size: 1.15rem; margin-bottom: 8px; }
.zipbar-row { display: flex; border: 1px solid var(--rule-strong); background: var(--card); }
.zipbar input { flex: 1; min-width: 0; font: 500 1.05rem var(--mono); letter-spacing: .08em; padding: 12px 14px; border: 0; background: transparent; color: var(--ink); }
.zipbar input:focus { outline: none; }
.zipbar-row:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.zipbar button, .btn { font: 600 .92rem var(--sans); padding: 12px 20px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; border-radius: 0; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.zipbar button:hover, .btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.toolgrid { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); border-top: 1px solid var(--rule-strong); }
.toolgrid li { border-bottom: 1px solid var(--rule); }
.toolgrid a { display: flex; flex-direction: column; height: 100%; padding: 22px 24px 20px 0; text-decoration: none; }
.toolgrid li:not(:nth-child(3n+1)) a { padding-left: 24px; border-left: 1px solid var(--rule); }
.toolgrid h2 { font-size: 1.45rem; margin: 0 0 .4rem; }
.toolgrid p { color: var(--ink-2); font-size: .95rem; flex: 1; }
.toolgrid .kicker { margin-bottom: .5rem; }
.toolgrid a:hover h2 { color: var(--accent); }
.finder { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 20px; background: var(--card); border: 1px solid var(--rule); margin-bottom: 12px; }
.finder-field { display: flex; flex-direction: column; gap: 6px; }
.finder-field label { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.finder-field output { color: var(--ink); }
.finder input, .finder select, .calc-in input, .calc-in select, .calc-in textarea { font: 500 1rem var(--sans); padding: 11px 12px; border: 1px solid var(--rule-strong); background: var(--paper); color: var(--ink); border-radius: 0; min-width: 0; }
.finder #nm-zip { font-family: var(--mono); letter-spacing: .08em; width: 9.5em; }
.calc-in input[type=range] { padding: 0; border: 0; background: none; accent-color: var(--accent); height: 38px; }
.calc-in textarea { font: .78rem/1.45 var(--mono); resize: vertical; width: 100%; }
.finder-status { min-height: 1.6em; font-size: .92rem; color: var(--ink-2); }
.finder-status.bad { color: var(--s-cancelled); }
.nearme-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: start; margin-bottom: 20px; }
.nm-map { height: 520px; position: sticky; top: 84px; }
.nm-summary { border-top: 1px solid var(--rule-strong); padding-top: 12px; }
.nm-big { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; margin-bottom: .35rem; }
.nm-big b { font-weight: 600; color: var(--accent); }
.nm-list { list-style: none; padding: 0; margin: 12px 0 0; }
.nm-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.nm-d { font-family: var(--serif); font-size: 1.45rem; font-variant-numeric: tabular-nums lining-nums; line-height: 1; }
.nm-d small { font-family: var(--mono); font-size: .66rem; color: var(--muted); margin-left: 3px; text-transform: uppercase; }
.nm-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 36px; align-items: start; }
.calc-in { display: flex; flex-direction: column; gap: 16px; padding: 22px; background: var(--card); border: 1px solid var(--rule); }
.calc-in .finder-field input:not([type=range]), .calc-in .finder-field select { width: 100%; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule-strong); }
.calc-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 18px 0; border-bottom: 1px solid var(--rule); }
.calc-card:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--rule); }
.calc-card .kicker { margin: 0; }
.calc-card strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.05; font-variant-numeric: tabular-nums lining-nums; }
.calc-out > p { grid-column: 1 / -1; margin-top: 14px; }
.subscribe { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; }
.subscribe .kicker { margin: 0 8px 0 0; }
.embed-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px; align-items: start; }
.embed-preview { width: 100%; max-width: 640px; height: 520px; border: 1px dashed var(--rule); background: var(--paper-2); }
@media (max-width: 960px) {
  .nearme-grid, .calc, .embed-grid { grid-template-columns: 1fr; }
  .nm-map { position: static; height: 380px; }
  .toolgrid li a { padding-left: 0 !important; border-left: 0 !important; }
}
@media (max-width: 560px) {
  .calc-out { grid-template-columns: 1fr; }
  .calc-card:nth-child(even) { padding-left: 0; border-left: 0; }
  .nm-list li { grid-template-columns: 52px minmax(0, 1fr); }
  .nm-meta { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; }
  .finder > .btn { flex: 1; }
}
[hidden] { display: none !important; }
@media (max-width: 720px) {
  .table.stack thead { display: none; }
  .table.stack tr { display: grid; grid-template-columns: 1fr; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .table.stack td { border: 0; padding: 2px 0; }
  .table.stack td:first-child { font-family: var(--mono); font-size: .8rem; }
}
