:root {
  --surface: #fcfcfb;
  --surface-2: #f3f2ef;
  --line: #dddcd7;
  --text-primary: #0b0b0b;
  --text-secondary: #52514e;
  --text-muted: #7a7974;
  --accent: #2a78d6;
  --accent-ink: #1c5cab;
  --accent-soft: #e6f0fc;
  --warn-ink: #8a4b00;
  --warn-bg: #fff4e0;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(0,0,0,.08), 0 4px 14px rgba(0,0,0,.08);
  --font: "Inter", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --fade: 350ms;
  --sidebar-w: 316px;
  --tab-w: 22px;        /* the sidebar fold tab; the map's left-hand controls start right of it */
  --sheet-h: 40vh;      /* stacked layout: grabber strip + sheet */
  --grab-h: 24px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; font-family: var(--font); color: var(--text-primary); background: var(--surface); }
#app { display: flex; height: 100vh; position: relative; }
#map { flex: 1; }

/* ---------- sidebar ---------- */
#sidebar { width: var(--sidebar-w); flex: 0 0 var(--sidebar-w); overflow-y: auto; border-right: 1px solid var(--line); background: var(--surface); z-index: 2; }
#sidebar header { padding: 18px 18px 10px; position: relative; }
.lang-switch {
  float: right; margin: -2px 0 4px 8px; font-size: 12px; padding: 2px 8px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--accent-ink); text-decoration: none; background: var(--surface-2);
}
.lang-switch:hover { border-color: var(--accent); }
.lang-switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.atlas-home { display: inline-block; font-size: 12px; color: var(--text-secondary); text-decoration: none; margin-bottom: 8px; }
.atlas-home:hover { color: var(--accent-ink); text-decoration: underline; }
.atlas-home:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Country switch: one pill per country, its name in the UI language + the other language */
.country-switch { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 4px; margin: 2px 0 10px; clear: both; }
.country-switch button {
  min-width: 0; overflow-wrap: anywhere; font: 600 12.5px var(--font); padding: 5px 8px; cursor: pointer; text-align: left; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text-primary); transition: border-color 120ms, background-color 120ms;
}
.country-switch button .alt { display: block; font-weight: 400; font-size: 10.5px; color: var(--text-muted); }
.country-switch button:hover { border-color: var(--accent); }
.country-switch button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.country-switch button.on .alt { color: rgba(255,255,255,.82); }
.country-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
#sidebar section[hidden] { display: none; }
/* Sidebar fold tab (map-ui.js): on the sidebar's right edge, vertically centred; at the window's left edge while
   the sidebar is hidden. Above the map's overlays, below its popups (700) and controls (1000). The map's left-hand
   control corners start right of the tab, so neither can cover the other (the search results list is 300 px tall and
   reaches the tab on any window under ~890 px high). */
/* !important: a layout rule must never re-show a hidden sidebar — the ask's phone rule
   `#app[data-ask="on"] #sidebar { display: flex }` outranks a plain #sidebar[hidden] */
#sidebar[hidden] { display: none !important; }
.sb-toggle {
  position: absolute; top: 50%; left: var(--sidebar-w); transform: translateY(-50%); z-index: 650;
  width: var(--tab-w); height: 52px; padding: 0; cursor: pointer; display: grid; place-items: center;
  border: 1px solid var(--line); border-left: 0; border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface); color: var(--text-secondary); box-shadow: var(--shadow); font: 600 15px var(--font);
}
/* `content: X / ""` keeps the chevron out of the accessible name (aria-label carries it) */
.sb-toggle::before { content: "‹"; content: "‹" / ""; }
#app.sb-collapsed .sb-toggle { left: 0; }
#app.sb-collapsed .sb-toggle::before { content: "›"; content: "›" / ""; }
@media (hover: hover) { .sb-toggle:hover { color: var(--accent-ink); border-color: var(--accent); } }
.sb-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.leaflet-left { left: var(--tab-w); }
@media (hover: none) { :root { --tab-w: 40px; } }   /* a touch target */
#sidebar h1 { font-size: 17px; margin: 0 0 6px; letter-spacing: -.01em; }
#sidebar .sub { font-size: 12px; color: var(--text-secondary); margin: 0; line-height: 1.55; }
#sidebar section { padding: 10px 18px 12px; border-top: 1px solid var(--line); }
#sidebar h2 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-secondary); margin: 0 0 8px; }
.hint { font-size: 11.5px; color: var(--text-muted); margin: 6px 0 0; line-height: 1.45; }
.hint.warn { color: var(--warn-ink); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.seg.two { grid-template-columns: 1fr 1fr; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: block; text-align: center; font-size: 12px; padding: 6px 2px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface-2); transition: background-color 120ms, border-color 120ms;
}
.seg input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.seg label:hover span { border-color: var(--accent); }
.th-row { display: grid; grid-template-columns: 64px 84px 1fr; align-items: center; gap: 8px; margin: 4px 0; font-size: 12.5px; }
.th-row input { font: 13px var(--font); padding: 4px 6px; border: 1px solid var(--line); border-radius: 4px; width: 100%; font-variant-numeric: tabular-nums; }
.th-n { font-size: 11.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.metro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.metro-grid button {
  font: 500 12px var(--font); text-align: left; padding: 6px 8px; cursor: pointer; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); color: var(--text-primary); transition: border-color 120ms, background-color 120ms;
}
.metro-grid button small { display: block; font-weight: 400; color: var(--text-muted); font-size: 10.5px; }
.metro-grid button:hover { border-color: var(--accent); background: var(--accent-soft); }
.metro-grid button.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.metro-grid button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
#sidebar footer { font-size: 10.5px; color: var(--text-muted); padding: 12px 18px 18px; border-top: 1px solid var(--line); line-height: 1.5; }
#sidebar footer .disclaimer { margin: 8px 0 0; color: var(--text-secondary); }

/* ---------- level panes: cross-fade between granularities ---------- */
.leaflet-pane.lod-pane { transition: opacity var(--fade) ease; }
.leaflet-pane.lod-pane.off { opacity: 0; pointer-events: none; }
.leaflet-pane.lod-pane.off canvas { pointer-events: none !important; }

/* ---------- map widgets ---------- */
.panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); font-family: var(--font); color: var(--text-primary); }
#lod-badge { padding: 8px 12px; font-size: 12.5px; max-width: 330px; line-height: 1.45; }
#lod-badge b { color: var(--accent-ink); }
#lod-badge .next { display: block; color: var(--text-secondary); font-size: 11.5px; }
#lod-badge .count { display: block; color: var(--text-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
#lod-badge .count.pend { color: var(--warn-ink); font-weight: 600; }
#lod-badge.locked { box-shadow: var(--shadow), inset 3px 0 0 var(--warn-ink); }
#loading {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 1000;
  display: flex; align-items: center; gap: 8px; padding: 7px 14px; font-size: 12.5px;
  opacity: 0; transition: opacity 150ms; pointer-events: none;
}
#loading.on { opacity: 1; }
#loading i { width: 14px; height: 14px; border: 2px solid var(--accent-soft); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#warnbar {
  position: absolute; top: 52px; left: 50%; transform: translateX(-50%); z-index: 1000; max-width: 520px;
  background: var(--warn-bg); color: var(--warn-ink); border: 1px solid #f0c98a; padding: 8px 12px; font-size: 12.5px; display: none;
}
#warnbar.on { display: block; }
#boot {
  position: fixed; inset: 0; display: grid; place-items: center; background: rgba(252,252,251,.9);
  font: 14px var(--font); color: var(--text-secondary); z-index: 5000;
}
#boot.done { display: none; }
#boot.err { color: #a11; }

.legend { padding: 10px 12px; font-size: 12px; min-width: 196px; }
.legend h3 { margin: 0 0 6px; font-size: 12px; font-weight: 600; }
/* The title folds the legend (map-ui.js). The chevron is generated content, so it is not part of innerText. */
.legend .lg-toggle {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
}
/* `content: X / ""` keeps the chevron out of the accessible name; older browsers drop that declaration and keep the first */
.legend .lg-toggle::after { content: "▾"; content: "▾" / ""; margin-left: auto; color: var(--text-muted); font-weight: 400; }
@media (hover: hover) { .legend .lg-toggle:hover { color: var(--accent-ink); } }
.legend .lg-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.legend.collapsed { min-width: 0; padding: 6px 10px; }
.legend.collapsed h3 { margin: 0; }
.legend.collapsed .lg-toggle::after { content: "▴"; content: "▴" / ""; }
.legend .row { display: flex; align-items: center; gap: 7px; margin: 2px 0; font-variant-numeric: tabular-nums; }
/* The count sits at the right edge; a dotted leader fills the gap from the label, so a short label ("≥ 5%") still
   reads across to its own count instead of across a few hundred empty pixels. */
.legend .row .n { flex: 1 1 auto; display: flex; gap: 4px; justify-content: flex-end; min-width: 3em; color: var(--text-muted); }
.legend .row .n::before { content: ""; flex: 1 1 auto; align-self: flex-end; min-width: 6px; margin-bottom: 3px;
  border-bottom: 1px dotted var(--text-muted); opacity: .6; }
.legend .row.exact { display: block; font-size: 10.5px; line-height: 1.4; color: var(--text-secondary); }
.legend .chip { width: 18px; height: 12px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.legend .chip.round { width: 13px; height: 13px; border-radius: 50%; }
.legend .chip.dots { background-image: radial-gradient(rgba(60,60,60,.6) 0.8px, transparent 1px); background-size: 4px 4px; }
.legend .chip.hatch { background-image: repeating-linear-gradient(135deg, rgba(40,40,40,.55) 0 1.4px, transparent 1.4px 5px); }
/* complete-count "below threshold" swatch: pale fill + a dashed edge, so it is visible on the white legend and
   cannot be read as one more (solid) class */
.legend .chip.faint { box-shadow: none; outline: 1px dashed #6f6c66; outline-offset: -1px; }
.legend .note { margin-top: 6px; font-size: 10.5px; color: var(--text-muted); line-height: 1.4; }
/* The panel's width is set here, not by its longest class label (which used to stretch it to 520 px while the
   explanatory text sat in a 210 px column): long labels wrap, and the notes use the whole width. Desktop only —
   on a phone the legend already spans the map. */
@media (min-width: 761px) { .legend:not(.collapsed) { width: 380px; box-sizing: border-box; } }
.legend .bias { margin-top: 5px; padding: 4px 6px; background: var(--warn-bg); color: var(--warn-ink); border-radius: 4px; }
.legend hr { border: 0; border-top: 1px solid var(--line); margin: 7px 0; }

#search { position: relative; width: 280px; }
#search[hidden] { display: none; }
#search input { width: 100%; font: 13px var(--font); padding: 8px 10px; border: 0; border-radius: var(--radius); }
#search input:focus-visible { outline: 2px solid var(--accent); }
#search ul { list-style: none; margin: 4px 0 0; padding: 4px; position: absolute; left: 0; right: 0; max-height: 300px; overflow-y: auto; }
#search ul:empty { display: none; }
#search li { padding: 6px 8px; font-size: 12.5px; cursor: pointer; border-radius: 4px; display: flex; gap: 8px; align-items: baseline; }
#search li .k { font-size: 10.5px; color: #fff; background: var(--text-muted); border-radius: 3px; padding: 0 4px; }
#search li .k.zip { background: var(--accent); }
#search li small { margin-left: auto; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
#search li.sel, #search li:hover { background: var(--accent-soft); }
#search .msg { font-size: 12px; color: var(--text-secondary); padding: 6px 8px; }

.leaflet-tooltip.unit-tip { font-family: var(--font); font-size: 12px; padding: 5px 8px; border-radius: var(--radius); box-shadow: var(--shadow); }
.leaflet-popup-content { font-family: var(--font); margin: 12px 14px; min-width: min(270px, var(--pop-max-w, 270px)); }
.pop h4 { margin: 0 0 1px; font-size: 15px; }
.pop .sub { font-size: 11.5px; color: var(--text-secondary); margin-bottom: 7px; }
.pop table { border-collapse: collapse; width: 100%; font-size: 12.5px; }
.pop td { padding: 3px 0; border-top: 1px solid var(--surface-2); vertical-align: top; }
/* Labels wrap: a long one ("In private households (25% sample; share denominator)") must not push the values
   column past the popup's 380 px and clip it */
.pop td:first-child { color: var(--text-secondary); padding-right: 10px; }
.pop td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.pop td b { font-weight: 600; }
.pop .moe { color: var(--text-secondary); font-weight: 400; }
/* A value the publisher did not publish: words, never a number, and set apart from a real (bold) 0 */
.pop .nopub { color: var(--warn-ink); font-style: italic; font-weight: 400; }
.pop .sect { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); padding-top: 8px; border-top: 0; }
.pop .bad { margin-top: 7px; padding: 5px 8px; background: var(--warn-bg); color: var(--warn-ink); border-radius: 4px; font-size: 11.5px; }
.pop .fine { margin-top: 6px; font-size: 10.5px; color: var(--text-muted); line-height: 1.4; }

@media (max-width: 760px) {
  #app { flex-direction: column-reverse; }
  #sidebar { width: 100%; flex: 0 0 calc(var(--sheet-h) - var(--grab-h)); border-right: 0; border-top: 1px solid var(--line); }
  /* Stacked: a full-width grabber strip in the flow between map and sheet, its height taken from the sheet (so the
     map keeps 100vh - --sheet-h). Nothing floats: not over the map, whose bottom is full of controls and a wrapping
     attribution, nor over the scrolling sheet, whose top row it would cover. It stays at the bottom while the sheet is hidden. */
  .sb-toggle {
    position: static; transform: none; flex: 0 0 var(--grab-h); width: 100%; height: var(--grab-h);
    border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; background: var(--surface-2);
  }
  .sb-toggle::before { content: "⌄"; content: "⌄" / ""; }
  #app.sb-collapsed .sb-toggle::before { content: "⌃"; content: "⌃" / ""; }
  .leaflet-left { left: 0; }
  #search { width: 200px; }
  /* Open on a phone, the legend scrolls inside instead of covering the map */
  #legend-body { max-height: 30vh; overflow-y: auto; }
}
@media (max-height: 500px) {   /* a landscape phone */
  #legend-body { max-height: 40vh; overflow-y: auto; }
}
/* Ask box first on phones (scoped to data-ask="on" so flag-off builds are unchanged). Visual order only: in the DOM
   (and so in tab order) the box stays after the header, deliberately — moving it before the header would change the
   desktop layout, and the box is its own labelled landmark (section, aria-labelledby) for assistive technology. */
@media (max-width: 760px), (max-height: 500px) {
  #app[data-ask="on"] #sidebar { display: flex; flex-direction: column; }
  #ask { order: -1; }
}

/* ---------- group picker ---------- */
.gsearch { width: 100%; font: 13px var(--font); padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 6px; }
.gsearch:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
.glist { max-height: 300px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.gfam { border-top: 1px solid var(--line); }
.gfam:first-child { border-top: 0; }
.gfam summary { cursor: pointer; padding: 6px 8px; font-size: 12px; font-weight: 600; background: var(--surface-2); list-style-position: inside; }
.gfam summary small { color: var(--text-muted); font-weight: 400; }
.gitem { display: flex; flex-direction: column; padding: 4px 10px 4px 26px; cursor: pointer; position: relative; font-size: 12.5px; line-height: 1.3; }
.gitem input { position: absolute; left: 8px; top: 7px; margin: 0; accent-color: var(--accent); }
.gitem .galt { font-size: 10.5px; color: var(--text-muted); }
/* a group published at some levels only (catalog levels): "towns only" */
.gitem .gonly { font-size: 10px; color: var(--text-muted); font-style: italic; }
/* legend when the selected group has no data at this level */
#legend .row.na { display: block; line-height: 1.45; }
#legend .na-go { margin-top: 6px; font: inherit; font-size: 12px; padding: 3px 10px; border: 1px solid var(--accent);
  border-radius: 4px; background: transparent; color: var(--accent); cursor: pointer; }
#legend .na-go:hover, #legend .na-go:focus-visible { background: var(--accent); color: #fff; }
.gitem:hover { background: var(--accent-soft); }
.gitem.on { background: var(--accent-soft); }
.gitem.on .gname { color: var(--accent-ink); font-weight: 600; }
.gitem.subtotal .gname { font-style: italic; }
#gnote b { font-weight: 600; }
.cmp-row { display: flex; align-items: center; gap: 6px; font-size: 12.5px; margin-bottom: 6px; cursor: pointer; }
#cmp-b { width: 100%; font: 12.5px var(--font); padding: 4px; border: 1px solid var(--line); border-radius: 4px; }
.th-row { grid-template-columns: 70px 84px 1fr; }
.top10 { list-style: none; margin: 0; padding: 0; }
.top10 button {
  display: grid; grid-template-columns: 20px 1fr auto; gap: 6px; align-items: baseline; width: 100%;
  font: 12px var(--font); text-align: left; padding: 4px 6px; border: 0; background: none; border-radius: 4px; cursor: pointer; color: var(--text-primary);
}
.top10 button:hover { background: var(--accent-soft); }
.top10 button:focus-visible { outline: 2px solid var(--accent); }
.top10 .rk { color: var(--text-muted); text-align: right; font-variant-numeric: tabular-nums; }
.top10 .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top10 .vl { font-variant-numeric: tabular-nums; font-weight: 600; }
.top10 .vl small { font-weight: 400; color: var(--text-muted); margin-left: 4px; }
#warnbar button { font: 600 12px var(--font); margin: 0 4px; padding: 2px 8px; border-radius: 4px; border: 1px solid var(--warn-ink); background: #fff; color: var(--warn-ink); cursor: pointer; }

/* ---------- popup: scrollable, composition bars ---------- */
/* --pop-max-h: what the map leaves the popup (map-ui.js fitPopup) — 58vh of the WINDOW overflowed a phone's 506 px map */
.leaflet-popup-content .pop { max-height: min(58vh, var(--pop-max-h, 58vh)); overflow-y: auto; padding-right: 4px; }
.comp { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 6px; }
.comp summary { cursor: pointer; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.cbars { display: grid; gap: 2px; }
.pop .sect.grp { text-transform: none; letter-spacing: 0; color: var(--accent-ink); font-weight: 600; font-size: 11.5px; }
.crow { display: grid; grid-template-columns: 118px 1fr 46px 58px; gap: 6px; align-items: center; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.crow .cname { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow .cbar { height: 8px; background: var(--surface-2); border-radius: 2px; overflow: hidden; }
.crow .cbar i { display: block; height: 100%; background: #6da7ec; border-radius: 2px; }
.crow.sel .cname { font-weight: 700; color: var(--accent-ink); }
.crow.sel .cbar i { background: var(--accent-ink); }
.crow .cpct { text-align: right; font-weight: 600; }
.crow .cnum { text-align: right; color: var(--text-muted); }
.comp .detail { margin-top: 6px; font-size: 11.5px; line-height: 1.5; }

/* ---- AI ask (Atlas spec v5 §6) */
.ask-form { display: flex; gap: 6px; }
.ask-q { flex: 1; min-width: 0; font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; }
.ask-go { font: inherit; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--accent-ink); background: var(--accent-ink); color: #fff; cursor: pointer; }
.ask-go:disabled { opacity: .6; cursor: progress; }
.ask-ex { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.ask-exq { font: inherit; font-size: 12px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 12px; background: none; cursor: pointer; }
.ask-out { margin-top: 8px; }
.ask-wait { margin-top: 6px; padding: 8px 10px; font-size: 13px; color: var(--text-muted); }
.ask-turn { margin-top: 8px; }
.ask-said { margin: 0 0 4px; font-size: 13px; font-weight: 600; }
.ask-card { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin-top: 6px; font-size: 13px; }
.ask-interp { margin: 0 0 6px; color: var(--text-muted); }
.ask-rows { list-style: none; margin: 0; padding: 0; }
.ask-row { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; width: 100%; text-align: left; font: inherit;
           background: none; border: 0; border-top: 1px solid var(--line); padding: 5px 2px; cursor: pointer; }
.ask-row:disabled { cursor: default; color: inherit; }
.ask-row .rk { grid-row: span 2; font-weight: 600; }
.ask-row .vl, .ask-row .sub, .ask-row .tie { grid-column: 2; font-size: 12px; color: var(--text-muted); }
.ask-cmp .ask-row { display: block; cursor: default; }
.ask-row .rel { color: var(--text-secondary); }   /* a reliability note: read, not skimmed past */
.ask-notes p, .ask-foot p { margin: 4px 0; font-size: 12px; color: var(--text-muted); }
.ask-foot p { color: var(--text-secondary); }   /* the disclaimer: --text-muted is ~4.3:1, below AA for 12px text */
.ask-foot { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 4px; }
.ask-funnel { display: inline-block; margin: 6px 0 2px; font-weight: 600; }
.ask-cands, .ask-alt, .ask-retry { margin-top: 6px; }
.ask-cand, .ask-alt, .ask-retry { font: inherit; padding: 4px 8px; margin: 2px 4px 2px 0; border: 1px solid var(--line); border-radius: 6px; background: none; cursor: pointer; }
.ask-prev { font: inherit; font-size: 12px; background: none; border: 0; padding: 2px 0; cursor: pointer; color: var(--accent-ink); }
