/* CIC Toolbox shell, design system v2 (REDESIGN.md, 2026-11-17).
   Order: fonts, tokens, base, controls, bar, footer, home, tool page parts, about, materials overrides, phone.
   Other stylesheets use these tokens and never raw hex. */

/* ---------- Fonts ---------- */

@font-face {
  font-family: Overpass;
  src: url(overpass.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Overpass Mono";
  src: url(overpass-mono.woff2) format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  --forest: #244D3D;
  --forest-deep: #16332A;
  --leaf: #3F9550;
  --amber: #F2B12E;
  --amber-deep: #D99A14;
  --page: #F1F0EC;
  --panel: #FFFFFF;
  --concrete: #E4E2DC;
  --concrete-50: rgba(228, 226, 220, .5);
  --rule: #D5D3CC;
  --ink: #17211D;
  --ink-2: #55605A;
  --warn: #8C2A12;
  --edge: #8E948F;
  --on-forest: #FFFFFF;
  --on-forest-2: #D3E0D8;

  --sans: Overpass, "Helvetica Neue", Arial, sans-serif;
  --mono: "Overpass Mono", ui-monospace, Menlo, Consolas, monospace;

  --r-control: 6px;
  --r-panel: 10px;
  --r-media: 14px;
  --float: 0 18px 40px rgba(12, 26, 21, .28);

  --well: linear-gradient(180deg, #F6F5F1 0, #ECEAE4 100%);
  --wide: 1560px;
  --lap: 120px;

  /* Motion and depth (third pass, 2026-11-17): two curves, three durations, three elevations. Every
     transition on the site uses these, so nothing snaps and nothing bounces. */
  --ease: cubic-bezier(.25, 1, .5, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  --t-1: 120ms;
  --t-2: 200ms;
  --t-3: 340ms;
  --e1: 0 0 0 1px rgba(12, 26, 21, .07), 0 1px 2px rgba(12, 26, 21, .05);
  --e2: 0 0 0 1px rgba(12, 26, 21, .08), 0 1px 2px rgba(12, 26, 21, .06), 0 8px 20px -8px rgba(12, 26, 21, .16);
  --e3: 0 0 0 1px rgba(12, 26, 21, .08), 0 2px 4px -1px rgba(12, 26, 21, .07), 0 20px 44px -12px rgba(12, 26, 21, .26);
  --ring: 0 0 0 3px rgba(63, 149, 80, .28);

  /* One hue per tool, used for its card field, its page banner and nothing else. */
  --hue-materials: linear-gradient(150deg, #EEF4EF 0%, #D6E6DB 100%);
  --hue-permits: linear-gradient(150deg, #FCF6E6 0%, #F6E3B4 100%);
  --hue-contractors: linear-gradient(150deg, #EEF2F5 0%, #D8E2EA 100%);

  /* Work families on the permits pages: a swatch beside the words, the same colour on the map. */
  --w-new: #3F9550;
  --w-ground: #9A6A3A;
  --w-structure: #3F6F96;
  --w-general: #7C857F;
  --w-protect: #E0A21C;
  --w-systems: #2F8F8A;
  --w-demo: #B5462C;

  --bar: 64px;
  --control: 44px;
  --gutter: 32px;
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%23244D3D' stroke-width='2'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select { font: inherit; color: inherit; }
a, button, input, select, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.cic-page h1, .cic-page h2, .cic-page h3 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.1;
  text-transform: none;
}
.cic-page h1 { font-size: 34px; }
.cic-page h2 { font-size: 28px; }
.cic-page h3 { font-size: 17px; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.figure, .mono { font-family: var(--mono); font-weight: 500; }

/* ---------- Controls ---------- */

/* Buttons: a flat plate with a lit top edge. Hover lifts the light and draws a soft ring; press sinks 1 px.
   Forest by default; amber (.is-go, or any button on a photo or on forest) for the action that starts a search. */
.btn {
  --btn-bg: var(--forest);
  --btn-hi: #2E5E4B;
  --btn-ink: var(--on-forest);
  --btn-glow: rgba(36, 77, 61, .34);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: var(--control);
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: var(--btn-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 1px 2px rgba(12, 26, 21, .2);
  color: var(--btn-ink);
  font: 700 15.5px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease), transform var(--t-1) var(--out), color var(--t-2) var(--ease);
}
.btn:hover { color: var(--btn-ink); background: var(--btn-hi); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 0 1px var(--btn-hi), 0 6px 14px -5px var(--btn-glow); }
.btn:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px var(--btn-hi); }
.btn.is-go, .on-photo .btn:not(.is-quiet), .on-forest .btn:not(.is-quiet) {
  --btn-bg: var(--amber);
  --btn-hi: #F7BE48;
  --btn-ink: var(--ink);
  --btn-glow: rgba(217, 154, 20, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(182, 124, 8, .5), 0 1px 2px rgba(12, 26, 21, .16);
}
.btn.is-go:hover, .on-photo .btn:not(.is-quiet):hover, .on-forest .btn:not(.is-quiet):hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 0 0 1px rgba(182, 124, 8, .55), 0 6px 14px -5px var(--btn-glow);
}
.btn.is-quiet {
  --btn-bg: var(--panel);
  --btn-hi: var(--panel);
  --btn-ink: var(--forest);
  box-shadow: var(--e1);
}
.btn.is-quiet:hover { box-shadow: var(--e2); }
.btn.is-quiet:active { box-shadow: var(--e1); }
.btn.is-small { min-height: 36px; padding: 0 13px; border-radius: 8px; font-size: 14.5px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.arrow { flex: none; transition: transform var(--t-2) var(--out); }
.btn:hover .arrow { transform: translateX(3px); }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span, .cic-page label > span {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.cic-page input[type=search],
.cic-page input[type=text],
.cic-page select {
  width: 100%;
  height: var(--control);
  min-height: var(--control);
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background-color: var(--panel);
  box-shadow: inset 0 0 0 1px #BFC4BE, 0 1px 2px rgba(12, 26, 21, .04);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
  transition: box-shadow var(--t-2) var(--ease);
}
.cic-page input[type=search]:hover,
.cic-page input[type=text]:hover,
.cic-page select:hover { box-shadow: inset 0 0 0 1px var(--edge), 0 1px 2px rgba(12, 26, 21, .06); }
.cic-page input::placeholder { color: var(--ink-2); opacity: 1; }
.cic-page input[type=search]::-webkit-search-decoration { -webkit-appearance: none; }
.cic-page input[type=search]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  cursor: pointer;
  background: linear-gradient(45deg, transparent 44%, var(--ink-2) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--ink-2) 44% 56%, transparent 56%);
}
.cic-page select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: var(--chevron);
  background-repeat: no-repeat;
  background-position: right 14px center;
  font-weight: 600;
  text-overflow: ellipsis;
  cursor: pointer;
}
.cic-page input[type=search]:focus,
.cic-page input[type=text]:focus,
.cic-page select:focus {
  outline: none;
  box-shadow: inset 0 0 0 1.5px var(--forest), var(--ring);
}

/* Segmented control: permits List/Map and the finder's movement switch. A recessed track with one raised plate. */
.seg {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: var(--concrete);
  box-shadow: inset 0 0 0 1px rgba(23, 33, 29, .06);
}
.seg button, .seg a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 64px;
  padding: 0 16px 1px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-2);
  font: 600 15px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--t-2) var(--ease), background-color var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease);
}
.seg button:hover { color: var(--ink); }
.seg [aria-selected=true], .seg [aria-pressed=true] {
  background: var(--panel);
  color: var(--forest);
  font-weight: 700;
  box-shadow: var(--e1), 0 2px 5px -2px rgba(23, 33, 29, .2);
}

.text-link { font-weight: 600; }

/* Scrollbars: a quiet pill with no track. Pale at rest, forest under the pointer. */
@supports not selector(::-webkit-scrollbar) {
  * { scrollbar-width: thin; scrollbar-color: #A9AFA9 transparent; }
}
::-webkit-scrollbar { width: 8px; height: 8px; background: transparent; }
html::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  min-height: 44px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(23, 33, 29, .26);
  background-clip: padding-box;
}
html::-webkit-scrollbar-thumb { border-width: 3px; }
::-webkit-scrollbar-thumb:hover, ::-webkit-scrollbar-thumb:active { border-width: 1px; background: var(--forest); background-clip: padding-box; }
::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }

/* The drop-down (shell.js builds it over every select on a pointer device; phones keep the system picker).
   A button that reads like the other fields, and a list that opens under it. */
.sel { position: relative; display: block; min-width: 0; }
.sel > select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.sel-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: var(--control);
  padding: 0 12px 0 14px;
  border: 0;
  border-radius: 9px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px #BFC4BE, 0 1px 2px rgba(12, 26, 21, .04);
  color: var(--ink);
  font: 600 15.5px/1.2 var(--sans);
  text-align: left;
  transition: box-shadow var(--t-2) var(--ease), background-color var(--t-2) var(--ease);
}
.sel-btn:hover { box-shadow: inset 0 0 0 1px var(--edge), 0 1px 2px rgba(12, 26, 21, .06); }
.sel-btn:focus-visible, .sel.is-open .sel-btn { outline: none; box-shadow: inset 0 0 0 1.5px var(--forest), var(--ring); }
.sel-btn > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sel.is-set .sel-btn { color: var(--forest); background: #F0F6F1; box-shadow: inset 0 0 0 1.5px rgba(36, 77, 61, .55); }
.sel-btn::after {
  content: "";
  flex: none;
  width: 14px;
  height: 10px;
  background: var(--chevron) center / 14px 10px no-repeat;
  transition: transform var(--t-2) var(--out);
}
.sel.is-open .sel-btn::after { transform: rotate(180deg); }
.sel-pop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 40;
  min-width: 100%;
  max-width: min(420px, 92vw);
  max-height: 340px;
  overflow-y: auto;
  padding: 6px;
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--e3);
  transform-origin: 50% 0;
  animation: pop-in var(--t-2) var(--out);
}
.sel-pop.is-up { top: auto; bottom: calc(100% + 6px); transform-origin: 50% 100%; }
.sel-pop[hidden] { display: none; }
.sel-group { margin: 8px 10px 4px; color: var(--ink-2); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sel-group:first-child { margin-top: 4px; }
.sel-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t-1) var(--ease);
}
.sel-opt.is-active { background: var(--concrete-50); }
.sel-opt[aria-selected=true] { color: var(--forest); font-weight: 700; }
.sel-opt[aria-selected=true]::after {
  content: "";
  flex: none;
  width: 12px;
  height: 7px;
  margin-top: -3px;
  border-left: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: rotate(-45deg);
}
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Moving between pages cross-fades; the bar stays put. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; animation-timing-function: var(--ease); }
.cicbar { view-transition-name: cicbar; }

/* ---------- Bar ---------- */

.cicbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--bar);
  min-height: var(--bar);
  padding: 0 var(--gutter);
  /* A light frosted bar: the page shows through it, and the green toolbox reads against it. */
  background: rgba(244, 242, 239, .9);
  -webkit-backdrop-filter: saturate(1.3) blur(18px);
  backdrop-filter: saturate(1.3) blur(18px);
  box-shadow: 0 1px 0 rgba(12, 26, 21, .07);
  color: var(--ink);
}
.cic-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  color: var(--forest-deep);
  text-decoration: none;
  white-space: nowrap;
}
.cic-brand img { width: auto; height: 32px; }
.cic-brand { gap: 12px; }
.cic-brand span { padding: 4px 0 0 13px; border-left: 2px solid rgba(22, 51, 42, .22); font: 900 26px/1 var(--sans); letter-spacing: -.045em; }
.cic-brand:hover { color: var(--forest); }
.cic-nav { display: flex; align-items: center; gap: 10px; height: 100%; }

/* The Tools menu: one drawn button that opens the list of every tool. It scales with the TOOLS list. */
.cic-tools { position: relative; }
.cic-tools summary {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 13px 0 15px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .8);
  box-shadow: var(--e1);
  color: var(--ink);
  font: 700 15.5px/1 var(--sans);
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: background-color var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease);
}
.cic-tools summary::-webkit-details-marker { display: none; }
.cic-tools summary:hover { background: #FFFFFF; box-shadow: var(--e2); }
.cic-tools summary::before {
  content: "";
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--amber), var(--amber)) 0 0 / 6px 6px no-repeat,
    linear-gradient(currentColor, currentColor) 8px 0 / 6px 6px no-repeat,
    linear-gradient(currentColor, currentColor) 0 8px / 6px 6px no-repeat,
    linear-gradient(currentColor, currentColor) 8px 8px / 6px 6px no-repeat;
}
.cic-tools summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin: -4px 2px 0 2px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(45deg);
  transition: transform .15s ease;
}
.cic-tools .label-short { display: none; }
.cic-tools[open] summary { background: #FFFFFF; box-shadow: var(--e2); }
.cic-tools[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.cic-tools nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 440px;
  max-height: calc(100dvh - var(--bar) - 24px);
  overflow-y: auto;
  padding: 8px;
  border-radius: 14px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--e3);
  transform-origin: 100% 0;
}
.cic-tools[open] nav { animation: pop-in var(--t-2) var(--out); }
.tool-link {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 8px 12px 8px 8px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color var(--t-1) var(--ease);
}
.tool-link:hover, .tool-link:focus-visible { background: var(--concrete-50); }
.tool-link[aria-current=page] { background: var(--concrete); }
.tool-thumb {
  display: grid;
  place-items: center;
  height: 60px;
  border-radius: 8px;
  background: var(--well);
}
.tool-thumb img { width: 76px; height: auto; transition: transform .2s ease; }
.tool-link:hover .tool-thumb img { transform: scale(1.08); }
.tool-text strong { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.tool-text small { display: block; margin-top: 2px; color: var(--ink-2); font-size: 14px; line-height: 1.35; }
.cic-sub { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 2px 0 6px; padding: 0 12px 0 106px; }
.cic-sub-link { display: inline-flex; align-items: center; min-height: 36px; font-size: 15px; font-weight: 600; }
.cic-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  margin-top: 6px;
  padding: 4px 14px 0;
  border-top: 1px solid #ECEAE4;
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}
.cic-all:hover .arrow { transform: translateX(3px); }
.cic-all img { width: 58px; height: auto; margin: 0 14px 0 -2px; transition: transform .5s var(--out); }
.cic-all span { flex: 1; }
.cic-all:hover img { transform: scale(1.08) rotate(-3deg); }
.cic-menu-about { display: none; }
.cic-about {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 14px;
  border-radius: 9px;
  color: var(--ink);
  font: 700 15.5px/1 var(--sans);
  text-decoration: none;
  transition: background-color var(--t-2) var(--ease);
}
.cic-about:hover, .cic-about[aria-current=page] { background: rgba(23, 33, 29, .07); color: var(--ink); }

/* Home: the stage runs up under the bar, so the picture fills the whole first screen. */
@media (min-width: 861px) {
  .page-home .stage { margin-top: calc(var(--bar) * -1); min-height: 100svh; }
  .page-home .stage-inner { padding-top: calc(var(--bar) + clamp(36px, 8vh, 110px)); }
  .page-home .video-toggle { top: calc(var(--bar) + 14px); }
  /* Over the stage the bar is clear glass, so the crane passes behind it untouched; it frosts once the stage has scrolled away. */
  .has-js .page-home .cicbar:not(.is-solid) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .page-home .cicbar { transition: background-color var(--t-3) var(--ease), box-shadow var(--t-3) var(--ease); }
}

@media (max-width: 860px) {
  .cicbar { gap: 12px; }
  .cic-brand { gap: 10px; }
  .cic-brand img { width: auto; height: 27px; }
  .cic-brand span { font-size: 22px; }
  .cic-tools { position: static; }
  .cic-brand span { font-size: 22px; }
  .cic-tools summary { gap: 8px; padding: 0 8px 2px 12px; font-size: 15px; }
  .cic-tools summary::before { content: none; }
  .cic-tools .label-full { display: none; }
  .cic-tools .label-short { display: inline; }
  .cic-tools nav { left: 8px; right: 8px; top: calc(var(--bar) + 4px); width: auto; }
  .tool-link { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .tool-thumb { height: 54px; }
  .tool-thumb img { width: 64px; }
  .cic-sub { padding-left: 92px; }
  .cic-sub-link { min-height: 44px; }
  .cic-about { display: none; }
  .cic-nav { gap: 6px; }
  .cic-about.cic-feedback {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
  }
  .cic-feedback span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .cic-feedback::before {
    content: "";
    width: 19px;
    height: 15px;
    margin-bottom: 4px;
    border: 2px solid currentColor;
    border-radius: 4px;
  }
  .cic-feedback::after {
    content: "";
    position: absolute;
    top: 26px;
    left: 15px;
    width: 6px;
    height: 6px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: skewY(-26deg);
  }
  .cic-menu-about {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border-top: 1px solid var(--rule);
    color: var(--forest);
    font-weight: 700;
    text-decoration: none;
  }
}

@media (max-width: 360px) {
  .cic-tools .label-short {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .cic-tools summary::before { content: ""; }
}

/* ---------- Footer ---------- */

.cic-footer {
  background: var(--forest-deep);
  color: var(--on-forest-2);
  font-size: 15px;
}
.foot-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px 40px;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 36px var(--gutter) 40px;
}
.foot-brand { display: flex; align-items: center; gap: 14px; color: var(--on-forest); font-weight: 700; }
.foot-brand img { width: 52px; height: 24px; }
.cic-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 28px; }
.cic-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-forest); text-decoration: none; }
.cic-footer a:hover { text-decoration: underline; }
.foot-note { grid-column: 1 / -1; margin: 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }

/* ---------- Home ---------- */

/* The stage fills the screen under the bar: one calm rendered picture, the headline in ink at top left, and
   the tools as frosted rows under it, so the first screen still starts every tool.
   The picture is anchored to the right and foot of the stage and fades into the stage's own ground on its
   left edge, so the stage can be any width without cropping the crane or the truck. */
.stage {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--bar));
  overflow: hidden;
  background: linear-gradient(180deg, #E5DFDD 0, #E7E1DF 55%, #E3DDDA 100%);
  color: var(--ink);
}
.stage-media {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: auto;
  max-width: none;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14%);
  animation: fade-in 1.2s cubic-bezier(.4, 0, .2, 1) both;
}
/* A screen wider than the picture leaves flat ground on the left; a narrower one must not cut the picture's fade. */
@media (max-aspect-ratio: 16/9) { .stage-media { -webkit-mask-image: none; mask-image: none; } }
.stage-phone { display: none; }
.stage-go { display: none; }
.stage-inner {
  position: relative;
  max-width: 760px;
  padding: clamp(40px, 9vh, 120px) 0 40px clamp(28px, 5vw, 120px);
}
.stage h1 {
  margin: 0;
  font: 800 clamp(38px, 4.4vw, 84px)/1.02 var(--sans);
  letter-spacing: -.032em;
  color: var(--ink);
  text-wrap: balance;
  animation: rise-in .7s var(--out) .08s both;
}
.stage-lede {
  margin: clamp(16px, 2.4vh, 26px) 0 0;
  max-width: min(470px, 31vw);
  font-size: clamp(17px, 1.05vw, 20px);
  line-height: 1.5;
  color: #47524C;
  animation: rise-in .7s var(--out) .16s both;
}
.stage-tools { display: grid; gap: 10px; width: min(372px, 100%); margin-top: clamp(24px, 4.5vh, 48px); }
.stage-tools a {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 8px 16px 8px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .66);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(12, 26, 21, .07), 0 12px 30px -20px rgba(12, 26, 21, .55);
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: transform var(--t-3) var(--out), background-color var(--t-2) var(--ease), box-shadow var(--t-3) var(--ease);
  animation: rise-in .7s var(--out) both;
}
.stage-tools a:nth-child(1) { animation-delay: .26s; }
.stage-tools a:nth-child(2) { animation-delay: .33s; }
.stage-tools a:nth-child(3) { animation-delay: .4s; }
.stage-tools a:nth-child(n+4) { animation-delay: .46s; }
.stage-tools a:hover { transform: translateX(4px); background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 1px rgba(12, 26, 21, .09), 0 16px 34px -18px rgba(12, 26, 21, .6); }
.stage-tools span { display: grid; place-items: center; height: 48px; border-radius: 9px; background: var(--hue-materials); }
.stage-tools a[data-tool=permits] span { background: var(--hue-permits); }
.stage-tools a[data-tool=contractors] span { background: var(--hue-contractors); }
.stage-tools img { width: 58px; height: auto; transition: transform .5s var(--out); }
.stage-tools a:hover img { transform: scale(1.1); }
.stage-tools .arrow { color: var(--edge); transition: transform var(--t-2) var(--out), color var(--t-2) var(--ease); }
.stage-tools a:hover .arrow { transform: translateX(3px); color: var(--forest); }
/* The toolbox stands in the foreground of the model table, at the foot of the tool rows. It opens the board. */
.stage-box {
  position: absolute;
  left: clamp(20px, 4.2vw, 104px);
  bottom: clamp(14px, 3.4vh, 44px);
  display: block;
  width: clamp(210px, 19vw, 430px);
  animation: rise-in .9s var(--out) .5s both;
}
.stage-box::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 2%;
  bottom: -3%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(23, 33, 29, .34), rgba(23, 33, 29, 0));
  filter: blur(6px);
}
.stage-box img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 10px 10px rgba(23, 33, 29, .2)); transform-origin: 50% 100%; transition: transform .5s var(--out); }
.stage-box:hover img { transform: translateY(-4px) rotate(-2deg); }
.stage-more {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border-radius: 17px;
  background: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(12, 26, 21, .08);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transform: translateX(-50%);
  transition: background-color var(--t-2) var(--ease);
  animation: fade-in .8s var(--ease) .7s both;
}
.stage-more:hover { background: rgba(255, 255, 255, .94); }
.stage-more::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); }

.video-toggle {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 13px 0 11px;
  border: 0;
  border-radius: 17px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 0 0 1px rgba(12, 26, 21, .08);
  color: var(--ink);
  font: 600 13.5px/1 var(--sans);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color var(--t-2) var(--ease);
}
.video-toggle::before { content: ""; width: 9px; height: 10px; border-left: 3px solid; border-right: 3px solid; }
.video-toggle.is-paused::before { width: 0; height: 0; border: 6px solid transparent; border-left: 10px solid currentColor; border-right: 0; }
.video-toggle:hover { background: rgba(255, 255, 255, .92); }
.video-toggle[hidden] { display: none; }
.video-toggle::after { content: ""; position: absolute; inset: -5px; }

/* The board: one card per tool, written from the TOOLS list in gen/build.py. Words on the left, the tool's
   object on the right on a field of the tool's own hue; the start box runs along the foot. */
.board {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 40px var(--gutter) 96px;
  scroll-margin-top: var(--bar);
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (min-width: 1500px) { .tool-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.board-group {
  grid-column: 1 / -1;
  margin: 24px 0 -6px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.tool-tile {
  --hue: var(--hue-materials);
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--e1), 0 10px 26px -18px rgba(12, 26, 21, .3);
  transition: transform var(--t-3) var(--out), box-shadow var(--t-3) var(--ease);
  animation: rise-in .7s var(--out) both;
}
.tool-tile:nth-child(1) { animation-delay: .2s; }
.tool-tile:nth-child(2) { animation-delay: .27s; }
.tool-tile:nth-child(3) { animation-delay: .34s; }
.tool-tile:nth-child(n+4) { animation-delay: .4s; }
.tool-tile[data-tool=permits] { --hue: var(--hue-permits); }
.tool-tile[data-tool=contractors] { --hue: var(--hue-contractors); }
.tool-tile:hover, .tool-tile:focus-within { transform: translateY(-2px); box-shadow: var(--e3); }
/* The card is a painted block in one of three site grounds: asphalt, concrete, fence green. Amber stays the
   colour of the buttons only (as a ground it was rejected 2026-11-18).
   The tool's object stands on it, large, its top breaking over the edge; the name is set heavy beside it. The
   start box is a white plate let into the foot. No white card, no thumbnail, no pastel. */
.tool-grid { row-gap: 44px; padding-top: 26px; }
.tool-tile { --ground: #244D3D; --ground-2: #1B3D30; --on: #FFFFFF; --on-2: #C9DBD1; background: linear-gradient(165deg, var(--ground) 0%, var(--ground-2) 100%); box-shadow: 0 0 0 1px rgba(12, 26, 21, .1), 0 18px 34px -22px rgba(12, 26, 21, .55); border-radius: 18px; }
.tool-tile:nth-child(3n+1) { --ground: #33393B; --ground-2: #24292B; --on: #FFFFFF; --on-2: #C5CCCD; }
.tool-tile:nth-child(3n+2) { --ground: #E4E2DC; --ground-2: #D6D3CB; --on: #17211D; --on-2: #55605A; }
.tool-tile:hover, .tool-tile:focus-within { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(12, 26, 21, .12), 0 26px 40px -22px rgba(12, 26, 21, .6); }
@supports (grid-template-rows: subgrid) { .tool-tile { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; } }
.tile-top { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 44%; min-height: 196px; }
.tile-text { display: flex; flex-direction: column; padding: 24px 6px 20px 24px; }
.cic-page .tool-tile h3 { font-size: 29px; font-weight: 900; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
.tool-tile h3 a { color: var(--on); text-decoration: none; }
/* The whole card opens the tool; the start box and links sit above this layer. */
.tool-tile h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.tool-tile h3 .arrow { display: none; }
.tile-line { margin: 12px 0 0; color: var(--on); font-size: 15.5px; font-weight: 500; line-height: 1.42; text-wrap: pretty; }
.tile-fact { margin: auto 0 0; padding-top: 16px; color: var(--on-2); font-size: 13.5px; line-height: 1.4; }
.tile-fact b { display: block; color: var(--on); font-weight: 800; font-variant-numeric: tabular-nums; }
.tile-art { position: relative; display: flex; align-items: flex-end; justify-content: center; margin: 0; }
.tile-art img {
  width: min(124%, 290px);
  max-width: none;
  height: auto;
  margin: -34px -6% 6px 0;
  filter: drop-shadow(0 18px 12px rgba(12, 20, 16, .38));
  transform-origin: 50% 100%;
  transition: transform .5s var(--out);
}
.tool-tile:hover .tile-art img, .tool-tile:focus-within .tile-art img { transform: translateY(-5px) rotate(-1.5deg) scale(1.03); }
.tile-foot { margin: 0 8px 8px; padding: 14px 14px 10px 16px; border-radius: 12px; background: var(--panel); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 6px 14px -8px rgba(12, 26, 21, .4); }
.tile-start { position: relative; z-index: 2; }
.tile-start label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 13.5px; font-weight: 700; }
.start-row { position: relative; display: flex; gap: 8px; }
.start-row input[type=search] { flex: 1; min-width: 0; }
.start-row .btn { padding: 0 15px; }
.tile-links {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  margin: 6px 0 0;
}
.tile-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(50% + 11px) / 0 1.5px no-repeat;
  transition: background-size var(--t-3) var(--out);
}
.tile-links a:hover { background-size: 100% 1.5px; }
.form-msg { position: relative; z-index: 2; margin: 10px 0 0; color: var(--warn); font-size: 14.5px; }
.home-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 5;
  overflow: hidden;
  padding: 6px;
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--e3);
  animation: pop-in var(--t-2) var(--out);
}
.home-suggestions:empty { display: none; }
.home-suggestions button {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  font-size: 15.5px;
  transition: background-color var(--t-1) var(--ease);
}
.home-suggestions button:hover, .home-suggestions button:focus { background: var(--concrete-50); outline: none; }

@media (max-width: 860px) {
  /* Phone: the toolbox is the picture, full screen. The stage runs up under the clear bar and edge to edge, the
     words sit at the top, and the plate (the toolbox in front of a model of the skyline) stands at the foot. The
     plate is never cropped at the sides: on a short screen it shrinks instead, so the towers stay clear of the words.
     Its empty top fades into the stage, whose ground is the plate's own backdrop colour. */
  .page-home .stage { position: relative; min-height: 100svh; margin: calc(var(--bar) * -1) 0 0; border-radius: 0; background: #ECE1E0; }
  .has-js .page-home .cicbar:not(.is-solid) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .page-home .cicbar { transition: background-color var(--t-3) var(--ease), box-shadow var(--t-3) var(--ease); }
  .stage-media { display: none; }
  .stage-phone { display: block; position: absolute; left: 50%; bottom: 0; z-index: -1; width: auto; max-width: none; height: min(177.78vw, calc((100svh - var(--bar) - 150px) / .7)); aspect-ratio: 9 / 16; transform: translateX(-50%); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%), linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 18%), linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; animation: fade-in 1.2s cubic-bezier(.4, 0, .2, 1) both; }
  .page-home .stage-inner { padding: calc(var(--bar) + 22px) 22px 0; }
  .stage-go { display: inline-flex; margin-top: 18px; animation: rise-in .7s var(--out) .24s both; }
  .stage-inner { padding: 28px 20px 0; }
  .stage-lede { max-width: none; margin-top: 12px; padding-right: 20px; font-size: 16px; }
  .stage-tools, .stage-more, .stage-box, .stage .video-toggle { display: none; }
  .board { padding: 16px var(--gutter) 56px; }
  .tool-grid { grid-template-columns: 1fr; gap: 14px; }
  /* Phone: a card is one tap, a colour block the width of the screen with the object standing large at its
     right, breaking over the top edge. The start boxes and shortcuts stay on the tool pages. */
  .board { padding-top: 34px; overflow-x: clip; }
  .tool-grid { row-gap: 38px; padding-top: 14px; }
  .tool-tile { display: block; border-radius: 20px; }
  .tile-top { grid-template-columns: minmax(0, 1fr) 40%; min-height: 176px; }
  .tile-text { padding: 20px 0 18px 20px; }
  .cic-page .tool-tile h3 { font-size: 27px; }
  .tile-line { margin-top: 9px; font-size: 15px; line-height: 1.38; }
  .tile-fact { padding-top: 14px; font-size: 13px; }
  .tile-art img { width: 122%; margin: -30px -7% 8px 0; }
  .tile-foot { display: none; }
  .tool-tile:active { transform: scale(.985); }
  .tool-tile:hover, .tool-tile:focus-within { transform: none; }
}

/* ---------- Tool page parts ---------- */

.tool-page {
  max-width: var(--wide);
  min-height: calc(100dvh - 240px);
  margin: 0 auto;
  padding: 44px var(--gutter) 80px;
}
.tool-head { margin-bottom: 28px; }
.tool-head h1 { font-size: 34px; }
.tool-head p { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; }
.tool-banner {
  --hue: var(--hue-materials);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 148px;
  margin-bottom: 24px;
  padding: 26px 300px 26px 32px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--hue);
  box-shadow: inset 0 0 0 1px rgba(12, 26, 21, .05);
  animation: fade-in .5s var(--ease) both;
}
.page-permits .tool-banner, .page-permit-detail .tool-banner { --hue: var(--hue-permits); }
.page-contractors .tool-banner { --hue: var(--hue-contractors); }
.cic-page .tool-banner h1 { font-size: 34px; letter-spacing: -.025em; }
.tool-banner p { margin: 8px 0 0; color: #4A554F; font-size: 16px; }
.tool-banner-art {
  position: absolute;
  right: 36px;
  bottom: -14px;
  width: 232px;
  height: auto;
  filter: drop-shadow(0 14px 12px rgba(23, 33, 29, .22));
  animation: rise-in .8s var(--out) .1s both;
}
.tool-controls { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.result-count { margin: 0; color: var(--ink-2); font-size: 15px; }
.empty-results { padding: 32px 0; color: var(--ink-2); }

/* The shared row. */
.result-list {
  box-shadow: var(--e1);
  border: 0;
  border-radius: var(--r-panel);
  background: var(--panel);
  overflow: hidden;
}
.result-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 280px;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px 20px;
  border-top: 1px solid var(--rule);
  background: var(--panel);
  transition: background-color var(--t-1) var(--ease);
}
.result-list > .result-row:first-child { border-top: 0; }
.result-row:hover { background: var(--concrete-50); }
.row-main { min-width: 0; }
.row-main > strong, .row-title {
  display: block;
  overflow: hidden;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row-meta, .row-sub {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row-mid { min-width: 0; font-size: 15px; }
.row-figure {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font: 500 15px/1.3 var(--mono);
  text-align: right;
}
.is-quiet-text { color: var(--ink-2); font-family: var(--sans); font-weight: 400; }

/* ---------- About (11-29: same words, laid out as the site's own parts) ---------- */

.about-page { max-width: 1240px; }
.ab-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: 380px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(160deg, #244D3D 0%, #16332A 100%);
  box-shadow: 0 0 0 1px rgba(12, 26, 21, .1), 0 24px 50px -30px rgba(12, 26, 21, .6);
  color: #FFFFFF;
}
.ab-hero-text { align-self: center; padding: clamp(32px, 5vw, 64px); }
.ab-hero h1 { margin: 0 0 18px; color: #FFFFFF; font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -.03em; line-height: 1; }
.ab-hero p { max-width: 520px; margin: 0; color: #DCE8E1; font-size: 19px; line-height: 1.5; }
.ab-hero .ab-who { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); color: #FFFFFF; font-size: 16px; font-weight: 700; }
.ab-hero-photo { position: relative; min-height: 100%; }
.ab-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.ab-hero-photo::before { content: ""; position: absolute; inset: 0 auto 0 0; z-index: 1; width: 90px; background: linear-gradient(90deg, #1F4335, rgba(31, 67, 53, 0)); }

.ab-block { margin-top: clamp(48px, 6vw, 76px); }
.ab-block > h2, .ab-feedback h2 { margin: 0 0 20px; font-size: clamp(25px, 2.4vw, 30px); font-weight: 900; letter-spacing: -.02em; }

.ab-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ab-tile {
  --ground: #244D3D; --ground-2: #1B3D30; --on: #FFFFFF; --on-2: #C9DBD1;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 22px 22px 24px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(165deg, var(--ground) 0%, var(--ground-2) 100%);
  box-shadow: 0 0 0 1px rgba(12, 26, 21, .1), 0 18px 34px -24px rgba(12, 26, 21, .55);
  color: var(--on);
  transition: transform var(--t-3) var(--out), box-shadow var(--t-3) var(--ease);
}
.ab-tile:nth-child(3n+1) { --ground: #33393B; --ground-2: #24292B; --on: #FFFFFF; --on-2: #C5CCCD; }
.ab-tile:nth-child(3n+2) { --ground: #E4E2DC; --ground-2: #D6D3CB; --on: #17211D; --on-2: #55605A; }
.ab-tile:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(12, 26, 21, .1), 0 26px 44px -26px rgba(12, 26, 21, .6); }
.ab-tile-art { height: 118px; margin: -8px -8px 10px; }
.ab-tile-art img { width: auto; height: 100%; max-width: 100%; object-fit: contain; object-position: left center; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .22)); transition: transform .5s var(--out); }
.ab-tile:hover .ab-tile-art img { transform: scale(1.05) rotate(-2deg); }
.ab-tile h3 { margin: 0 0 8px; color: var(--on); font-size: 21px; font-weight: 900; letter-spacing: -.015em; }
.ab-tile p { margin: 0; color: var(--on-2); font-size: 15.5px; line-height: 1.5; }
.ab-tile a { color: var(--on); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.ab-tile a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ab-cover { margin: 16px 0 0; color: var(--ink-2); font-size: 15.5px; }

.ab-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: check; }
.ab-checks li {
  position: relative;
  padding: 20px 22px 20px 66px;
  border-radius: 16px;
  background: #E9E7E1;
  font-size: 16px;
  line-height: 1.5;
  counter-increment: check;
}
.ab-checks li::before {
  content: "!";
  position: absolute;
  top: 20px;
  left: 22px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: var(--amber);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(182, 124, 8, .5);
  color: var(--ink);
  font: 900 17px/1 var(--sans);
}

.ab-feedback {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 32px;
  margin-top: clamp(48px, 6vw, 76px);
  padding: 28px 32px;
  border-radius: 18px;
  background: #33393B;
  color: #FFFFFF;
}
.ab-feedback h2 { margin: 0; color: #FFFFFF; }
.ab-feedback p { grid-column: 1; margin: 0; color: #C5CCCD; font-size: 16px; }
.ab-feedback .btn { grid-column: 2; grid-row: 1 / span 2; min-height: 50px; padding: 0 22px; font-size: 16px; }

.ab-srcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.ab-src { padding: 20px 22px 8px; border-radius: 16px; background: #ECEAE4; }
.ab-src header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ab-src-art { display: grid; flex: none; width: 76px; height: 56px; place-items: center; border-radius: 12px; background: #FFFFFF; box-shadow: var(--e1); }
.ab-src-art img { width: 66px; height: auto; }
.ab-src h3 { margin: 0; font-size: 19px; font-weight: 900; letter-spacing: -.01em; }
.ab-src p, .ab-src li { font-size: 15px; line-height: 1.55; }
.ab-src p { margin: 0 0 12px; }
.ab-src ul { margin: 0 0 12px; padding-left: 18px; }
.ab-src li { margin-bottom: 6px; }
.ab-src a { overflow-wrap: anywhere; }

.ab-small {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
}
.about-page .ab-small h2 { margin: 0 0 8px; color: var(--ink); font-size: 15px; font-weight: 800; letter-spacing: 0; }
.ab-small p { margin: 0 0 8px; font-size: 14px; line-height: 1.55; }
.credit-list { margin: 0; padding: 0; list-style: none; }
.credit-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 4px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.credit-list .figure { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; }

@media (max-width: 1100px) {
  .ab-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-srcs { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .ab-hero { grid-template-columns: 1fr; border-radius: 18px; }
  .ab-hero-photo { order: -1; min-height: 220px; }
  .ab-hero-photo::before { inset: auto 0 0 0; width: auto; height: 70px; background: linear-gradient(0deg, #234A3B, rgba(35, 74, 59, 0)); }
  .ab-hero-text { padding: 26px 22px 28px; }
  .ab-hero p { font-size: 17px; }
  .ab-tiles, .ab-checks { grid-template-columns: 1fr; gap: 12px; }
  .ab-tile { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 18px; }
  .ab-tile-art { width: 96px; height: 70px; margin: 0; }
  .ab-tile h3 { flex: 1; margin: 0; }
  .ab-tile p { flex-basis: 100%; margin-top: 10px; }
  .ab-checks li { padding: 18px 18px 18px 64px; }
  .ab-checks li::before { top: 18px; left: 18px; }
  .ab-feedback { grid-template-columns: 1fr; padding: 22px; }
  .ab-feedback .btn { grid-column: 1; grid-row: auto; margin-top: 8px; white-space: normal; text-align: center; line-height: 1.3; padding: 12px 18px; }
  .ab-small { grid-template-columns: 1fr; gap: 16px; }
  .credit-list li { grid-template-columns: 1fr; gap: 0; }
}

/* the footer credit */
.foot-note { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 20px; }
.cic-footer .foot-made a { display: inline; min-height: 0; color: #FFFFFF; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.page-find .scroll .cic-footer .foot-made a { color: var(--forest); }

/* ---------- Materials overrides (generated copy of ../readymix) ---------- */

.page-find, .page-plants, .page-zones, .page-sources {
  --fence: var(--forest);
  --fence-dark: var(--forest-deep);
  --fence-hi: #2E5E4B;
  --page: #F1F0EC;
  --page-2: #E4E2DC;
  --panel: #FFFFFF;
  --ink: #17211D;
  --ink-2: #55605A;
  --ink-3: #55605A;
  --rule: #D5D3CC;
  --hover: rgba(228, 226, 220, .5);
  --sel: #E4E2DC;
  --ctl-edge: #8E948F;
  --display: var(--sans);
  --bar: 64px;
}
.page-find .cicbar, .page-plants .cicbar, .page-zones .cicbar, .page-sources .cicbar { position: relative; }
.page-find h1, .page-find h2, .page-plants h1, .page-plants h2, .page-zones h1, .page-zones h2, .page-sources h1, .page-sources h2 {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -.015em;
  text-transform: none;
}

/* Finder rail. */
@media (min-width: 861px) {
  .page-find .find { grid-template-columns: 420px minmax(0, 1fr); }
  .page-find .controls { padding: 20px 20px 12px; }
}
.page-find .search-box { min-height: 48px; border-radius: var(--r-control); box-shadow: inset 0 0 0 1px var(--edge); background: var(--panel); }
.page-find .search-box:focus-within { box-shadow: inset 0 0 0 2px var(--forest), 0 0 0 3px rgba(63, 149, 80, .35); }
.page-find input.search-input { min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 16px; font-weight: 600; }
.page-find .action-switch { padding: 4px; gap: 4px; border-radius: 10px; background: var(--concrete); box-shadow: inset 0 2px 3px rgba(23, 33, 29, .12); }
.page-find .action-switch button { min-height: 40px; border-radius: var(--r-control); background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.page-find .action-switch button[aria-pressed="true"]::after { content: none; }
.page-find .action-switch button[aria-pressed="true"] { background: var(--panel); color: var(--forest); font-weight: 800; box-shadow: 0 0 0 1px var(--rule), 0 1px 2px rgba(23, 33, 29, .12); }
.page-find .material-controls label > span { color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.page-find .material-controls select,
.page-find .settings-body select,
.page-plants select, .page-zones select {
  appearance: none;
  -webkit-appearance: none;
  height: 44px;
  min-height: 44px;
  padding: 0 36px 0 12px;
  border: 1px solid var(--edge);
  border-radius: var(--r-control);
  background: var(--panel) var(--chevron) no-repeat right 12px center;
  font-size: 15px;
  font-weight: 600;
}
.page-find .haul-settings > summary { font-size: 15px; }
.page-find .haul-edit, .page-find .route-basis, .page-find .settings-body small, .page-find .hint,
.page-find [data-length-unit], .page-find [data-weight-unit], .page-find .setting-row, .page-find .truck-grid label,
.page-find .truck-grid label span, .page-find .pickup-start summary, .page-find .pickup-start summary > span,
.page-find .approach-weight, .page-find .leg-label, .page-find .results-heading .count, .page-find .route-msg,
.page-find .row .meta, .page-find .row .min .u, .page-find .layers-btn, .page-find .fit-map, .page-find .side-foot,
.page-find .t-back, .page-find .web, .page-find .kv dt, .page-find .kv dd, .page-find .t-type, .page-find .detail-note,
.page-find .offerings li > span, .page-find .offerings li p, .page-find .evidence-links li, .page-find .evidence-links li > span,
.page-find .agency-records, .page-find .shared-yard h3, .page-find .shared-yard a, .page-find .route-leg h4, .page-find .leg-vehicle,
.page-find .group, .page-find .review, .page-find .call-none, .page-find .opt-sub, .page-find .search-msg, .page-find .approach-warning,
.page-find .sheet-stops button, .page-find .query-summary, .page-find .filter-title button, .page-find .site-choice p, .page-find .move-job,
.maplibregl-popup-content, .tip .maplibregl-popup-content, .start-pin {
  font-size: 14px;
}
.page-find .truck-grid small { font-size: 14px; min-height: 18px; }
.page-find .sum label, .page-find .traffic, .page-find .cut span, .page-find .query-summary > span:last-child,
.page-find .sheet-heading > p small { font-size: 14px; }
.page-find .setting-row input, .page-find .truck-grid input, .page-find .approach-weight input { min-height: 40px; font-size: 15px; border-color: var(--edge); border-radius: var(--r-control); }
.page-find .results-heading { background: var(--page); }
.page-find .row .hit { min-height: 84px; }
.page-find .row .name { font-size: 17px; font-weight: 700; }
.page-find .row .who { display: flex; flex-direction: column; }
.page-find .row .product-line, .page-find .row .review.quiet { display: none; }
.page-find .row.is-sel::before { width: 8px; height: 48px; background: var(--amber); clip-path: polygon(0 0, 100% 0, 0 100%); }
.page-find .row .call {
  width: auto;
  min-width: 64px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--rule);
  border-radius: var(--r-control);
  background: var(--panel);
  color: var(--forest);
  flex-direction: row;
}
.page-find .row .call { border: 0; box-shadow: var(--e1); border-radius: 9px; transition: box-shadow var(--t-2) var(--ease), transform var(--t-1) var(--out); }
.page-find .row .call:hover { background: var(--panel); box-shadow: var(--e2); }
.page-find .row .call:active { transform: translateY(1px); box-shadow: var(--e1); }
.page-find .row .call .ic { display: none; }
.page-find .row .call .call-label { font: 700 15px/1 var(--sans); }
.page-find .call-wide { border-radius: var(--r-control); font-size: 15px; }
.page-find .side-foot { padding: 0 20px; }
.page-find .scroll .cic-footer { background: var(--page); color: var(--ink-2); border-top: 1px solid var(--rule); }
.page-find .scroll .foot-inner { display: block; padding: 18px 20px 22px; }
.page-find .scroll .foot-brand { color: var(--ink); }
.page-find .scroll .foot-brand img { display: none; }
.page-find .scroll .cic-footer nav { justify-content: flex-start; gap: 0 20px; }
.page-find .scroll .cic-footer a { color: var(--forest); }
.page-find .scroll .foot-note { border-top: 0; padding-top: 4px; }
.page-find .layers-btn, .page-find .fit-map { border-radius: var(--r-control); }
.page-plants .cic-footer, .page-zones .cic-footer { display: none; }
.maplibregl-ctrl-attrib { font-size: 14px; }
.page-plants .directory-filters label, .page-plants .pl-count, .page-plants .pl-meta, .page-plants .kv dt,
.page-plants .pl-contact p, .page-plants .pl-detail .aerial figcaption, .page-plants .pl-detail .agency-records li,
.page-plants .pl-detail .check, .page-plants .pl-detail .detail-note, .page-plants .pl-detail .evidence-links span,
.page-plants .pl-detail .haul-links a, .page-plants .pl-detail .kv, .page-plants .pl-detail .offerings li,
.page-plants .pl-detail .shared-yard a, .page-plants .pl-filters-toggle, .page-plants .pl-fit, .page-plants .pl-foot,
.page-plants .pl-group h2, .page-plants .pl-gn, .page-plants .pl-none, .page-plants .pl-products, .page-plants .pl-unc,
.page-plants .pl-yard p, .page-zones .zx-all, .page-zones .zx-caveat, .page-zones .zx-foot, .page-zones .zx-foot p,
.page-zones .zx-foot a, .page-zones .zx-reference, .page-zones .zx-reference a, .page-sources .sx-date,
.page-sources .sx-fig figcaption, .page-sources .sx-foot, .page-sources .sx-foot p, .page-sources .sx-jump,
.page-sources .sx-jump a, .page-sources .sx-lab, .page-sources .sx-section h2 span, .page-sources .sx-table thead th,
.workspace-sheet .sheet-stops button { font-size: 14px !important; }
.page-sources .sx-table td span, .page-sources .sx p { font-size: max(14px, 1em); }

/* Finder empty state (no supplier matches): the mixer at the curb. find.js toggles [hidden]. */
.page-find .scroll img.art-foot:not([hidden]) {
  display: block !important;
  width: calc(100% - 40px);
  height: 240px;
  margin: 20px 20px 0;
  object-fit: cover;
  object-position: 45% 60%;
  border-radius: var(--r-media);
}
@media (min-width: 861px) {
  .page-find .cic-material-footer { display: flex; gap: 20px; }
  .page-find .cic-material-footer a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ---------- Phone ---------- */

@media (max-width: 860px) {
  :root { --bar: 56px; --gutter: 16px; --lap: 72px; }
  .page-find, .page-plants, .page-zones, .page-sources { --bar: 56px; }
  .foot-inner { grid-template-columns: 1fr; padding: 28px var(--gutter) 32px; gap: 8px; }
  .cic-footer nav { justify-content: flex-start; gap: 0 22px; }
  .foot-note { padding-top: 14px; }

  .tool-page { padding: 28px var(--gutter) 56px; }
  .cic-page h1, .tool-head h1 { font-size: 28px; }
  .cic-page h2 { font-size: 24px; }
  .tool-head p { font-size: 15px; }
  .tool-banner { min-height: 0; margin-bottom: 18px; padding: 20px 118px 20px 18px; border-radius: 14px; }
  .cic-page .tool-banner h1 { font-size: 25px; }
  .tool-banner-art { right: 6px; bottom: -6px; width: 116px; }

  .result-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 14px 16px;
    min-height: 0;
  }
  .row-meta, .row-sub { white-space: normal; }
  .row-figure { justify-content: space-between; text-align: left; }


  .page-find .row .call { min-width: 64px; }
  :is(.page-find, .page-plants, .page-zones) .maplibregl-ctrl-attrib-button { width: 44px; height: 44px; background-position: center; }
}

/* ---------- Phone kit (2026-11-18): dock, sheet, floating switch, pin card ----------
   Shared by the tool pages so they work the same way in the hand. The dock is the tool's own search form made
   sticky under the bar, with a Filters button beside the box. A sheet rises from the bottom and holds what a
   bar of controls holds on a desk. The floating switch trades the list for the map. shell.js drives the sheet. */

.dock-btn, .float-switch, .pin-card { display: none; }
.sheet { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; background: rgba(12, 26, 21, 0); transition: background-color var(--t-3) var(--ease); }
.sheet[hidden] { display: none; }
.sheet.is-in { background: rgba(12, 26, 21, .44); }
.sheet-panel { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 640px; max-height: calc(100dvh - 64px); border-radius: 20px 20px 0 0; background: var(--page); box-shadow: 0 -12px 40px -12px rgba(12, 26, 21, .4); transform: translateY(102%); transition: transform var(--t-3) var(--out); }
.sheet.is-in .sheet-panel { transform: none; }
.sheet.is-full .sheet-panel { height: calc(100dvh - 28px); max-height: none; }
.sheet-panel:focus { outline: none; }
.sheet-panel::before { content: ""; position: absolute; left: 50%; top: 7px; width: 38px; height: 4px; margin-left: -19px; border-radius: 2px; background: #C4C7C1; }
.sheet-head { display: flex; flex: none; align-items: center; gap: 10px; min-height: 60px; padding: 16px 8px 6px 18px; }
.sheet-title { flex: 1; min-width: 0; }
.cic-page .sheet-title h2 { font-size: 19px; line-height: 1.25; letter-spacing: -.015em; overflow-wrap: anywhere; }
.sheet-title p { margin: 2px 0 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.35; }
.sheet-close { display: grid; flex: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.sheet-close::before { content: ""; width: 32px; height: 32px; border-radius: 50%; background: var(--concrete) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='m2.5 2.5 9 9m0-9-9 9' fill='none' stroke='%2317211D' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 13px no-repeat; transition: background-color var(--t-1) var(--ease); }
.sheet-close:active::before { background-color: #D3D1CA; }
.sheet-body { flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 6px 16px 20px; }
.sheet-foot { display: flex; flex: none; align-items: center; gap: 16px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #E2E0D9; background: var(--panel); }
.sheet-foot .btn { flex: 1; min-height: 48px; font-size: 16px; }
.sheet-foot .sheet-link { flex: none; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--forest); font: 700 15px/1 var(--sans); cursor: pointer; }
.sheet-foot .sheet-link[disabled] { color: #9AA19C; cursor: default; }
.cic-page .sheet-h { margin: 18px 2px 8px; color: var(--ink-2); font-size: 12px; font-weight: 700; letter-spacing: .07em; line-height: 1.3; text-transform: uppercase; }
.sheet-body > .sheet-h:first-child { margin-top: 8px; }
:where(.sheet, .pin-card) button { font: inherit; cursor: pointer; }
/* A group of rows on one white plate. */
.sheet-group { border-radius: 14px; background: var(--panel); box-shadow: var(--e1); }
.sheet-group > * + * { border-top: 1px solid #ECEAE4; }
/* is-locked belongs to the sheet (shell.js sets and clears it); is-mapview belongs to a page showing its full-screen map. */
html.is-locked, html.is-mapview { overflow: hidden; }

@media (max-width: 860px) {
  /* The tinted banner gives way to a plain title; its search form becomes the dock. */
  .tool-banner:has(.dock) { display: contents; }
  .tool-banner:has(.dock) > .tool-banner-art { display: none; }
  .cic-page .tool-banner:has(.dock) > h1 { font-size: 24px; letter-spacing: -.02em; }
  .cic-page .tool-banner:has(.dock) > p { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.4; }
  .tool-page:has(.dock) { padding-top: 16px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .cic-page .dock {
    position: sticky;
    top: var(--bar);
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 8px;
    max-width: none;
    margin: 8px calc(var(--gutter) * -1) 0;
    padding: 8px var(--gutter);
    background: rgba(241, 240, 236, .9);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
  }
  .cic-page .dock input[type=text] { height: 48px; padding: 0 46px 0 44px; border-radius: 12px; font-size: 16px; box-shadow: 0 0 0 1px rgba(12, 26, 21, .14), 0 1px 2px rgba(12, 26, 21, .06); }
  .cic-page .dock input[type=text]:focus { box-shadow: 0 0 0 2px var(--forest), 0 0 0 5px rgba(63, 149, 80, .22); }
  .cic-page .dock > svg:first-child { left: calc(var(--gutter) + 14px); top: 22px; }
  .cic-page .dock > kbd { display: none; }
  .cic-page .dock > .dock-clear { right: calc(var(--gutter) + 58px); top: 10px; width: 44px; height: 44px; }
  .dock-btn { position: relative; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 12px; background: var(--panel); box-shadow: 0 0 0 1px rgba(12, 26, 21, .14), 0 1px 2px rgba(12, 26, 21, .06); color: var(--ink); cursor: pointer; transition: background-color var(--t-1) var(--ease), box-shadow var(--t-2) var(--ease), transform var(--t-1) var(--out); }
  .dock-btn:active { transform: translateY(1px); background: #F4F3EE; }
  .dock-btn.is-on { background: var(--forest); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 0 0 1px var(--forest-deep); color: var(--on-forest); }
  .dock-btn b { position: absolute; right: -5px; top: -5px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--amber); box-shadow: 0 0 0 2px var(--page); color: #2A2104; font: 800 12px/1 var(--sans); font-variant-numeric: tabular-nums; }
  .dock-btn b[hidden] { display: none; }

  .float-switch {
    position: fixed;
    left: 50%;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 48px;
    padding: 0 22px 0 18px;
    border: 0;
    border-radius: 24px;
    background: var(--forest-deep);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 2px 4px rgba(12, 26, 21, .2), 0 14px 30px -8px rgba(12, 26, 21, .5);
    color: #FFFFFF;
    font: 700 15.5px/1 var(--sans);
    cursor: pointer;
    transform: translateX(-50%);
    transition: transform var(--t-2) var(--out), background-color var(--t-1) var(--ease);
  }
  .float-switch:active { transform: translateX(-50%) scale(.97); background: #0F261F; }
  .float-switch[hidden] { display: none; }
  .float-switch svg { flex: none; }

  /* The card for a pin tapped on the map: it sits over the map's foot, above the switch. */
  .pin-card { position: fixed; left: 12px; right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); z-index: 30; display: block; padding: 12px 12px 12px 14px; border-radius: 16px; background: var(--panel); box-shadow: var(--e3); animation: pin-in var(--t-3) var(--out) both; }
  .pin-card[hidden] { display: none; }
  @keyframes pin-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

  /* Full-screen map under the dock. The list stays where it was underneath, so going back loses nothing. */
  .cic-page .phone-map { position: fixed; left: 0; right: 0; top: calc(var(--bar) + var(--dock-h, 64px)); bottom: 0; z-index: 15; border-radius: 0; box-shadow: none; background: #E9ECE6; }
  .cic-page .phone-map .maplibregl-ctrl-top-right { display: none; }
  .cic-page .phone-map .maplibregl-ctrl-bottom-right { bottom: env(safe-area-inset-bottom); }
}
