/* ==========================================================================
   6PT SERVICE DASHBOARD
   Single-file, self-contained. No external fonts, images, or scripts.

   CSS SECTIONS
   1. Tokens
   2. Base / reset
   3. Application shell
   4. Top bar + search
   5. Mobile breadcrumb
   6. Column browser (nav / list / inspector)
   7. Inspector content
   8. Check focus areas
   9. Bottom request bar
   10. Review drawer + client form
   11. Copy fallback modal
   12. Responsive
   13. Reduced motion
   14. Print
   ========================================================================== */


/* Title font: Bricolage Grotesque Semibold, embedded so the file stays self-contained and works offline.
   Trimmed to English plus Spanish/French accents and smart quotes (about 15 KB of font data).
   Copyright 2022 The Bricolage Grotesque Project Authors (https://github.com/ateliertriay/bricolage).
   Licensed under the SIL Open Font License, Version 1.1 (https://openfontlicense.org). */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url("/assets/fonts/bricolage-grotesque-600-1.woff2") format("woff2");
}

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Same roles as the live design; only the colors change.
     white stays white | every beige becomes warm off-white | black becomes near black | highlight becomes cobalt */
  --bg: #F8F9FB;                       /* Porcelain: app background */
  --panel: #FFFFFF;                    /* white stays white */
  --panel-alt: var(--bg);
  --hover: rgba(23, 25, 28, 0.045);    /* near black, 4.5%: row hover */
  --sel: rgba(33, 74, 200, 0.08);      /* was darker beige: selected row / tab fill, now cobalt 8% */
  --fill: rgba(23, 25, 28, 0.05);      /* quiet filled controls */
  --disabled-fill: rgba(23, 25, 28, 0.08);
  --disabled-ink: rgba(23, 25, 28, 0.35);
  --ink: #17191C;                      /* near black */
  --ink-soft: rgba(23, 25, 28, 0.86);
  --ink-2: rgba(23, 25, 28, 0.70);     /* about 6.2:1; never lighter than 62% for text */
  --rule: rgba(23, 25, 28, 0.20);
  --rule-soft: rgba(23, 25, 28, 0.10);
  --accent: #214AC8;                   /* cobalt: the highlight color */
  --accent-hover: color-mix(in srgb, #214AC8 86%, #17191C);
  --inverse-ink: #FFFFFF;
  --inverse-muted: rgba(255, 255, 255, 0.72);

  --bar: var(--panel);
  --bar-disabled: rgba(23, 25, 28, 0.08);

  --fade: 120ms;

  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-title: "Bricolage Grotesque", var(--font);
  --mono: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;

  --radius: 10px;
  --radius-sm: 8px;
  --nav-w: 264px;
  --list-w: 344px;

  color-scheme: light;
}


/* 2. BASE / RESET ---------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.9375rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; }
button:disabled { cursor: not-allowed; }

h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--inverse-ink);
  font-size: 0.8125rem;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.mono { font-family: var(--mono); }

.icon {
  display: inline-flex;
  flex: none;
  width: 0.75rem;
  height: 0.75rem;
}
.icon svg { width: 100%; height: 100%; }

.noscript {
  max-width: 560px;
  margin: 48px auto;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--rule);
}


/* 3. APPLICATION SHELL ----------------------------------------------------- */
.app {
  display: flex;
  flex-direction: column;
  width: calc(100% - 32px);
  height: calc(100vh - 32px);
  min-height: 560px;
  margin: 16px auto;
  background: var(--panel);
  border: 1px solid var(--rule);
}


/* 4. TOP BAR + SEARCH ------------------------------------------------------ */
.topbar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule);
}

/* Hidden SVG sprite that holds the brand symbols. */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

/*
  Star + 6PT lockup. Proportions match the brand sheet:
  star height = 1.53 x letter height, gap = 0.2 x letter height.
  Change font-size to scale the whole lockup.
*/
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  font-size: 1.25rem;
  line-height: 1;
}
.brand-star { display: block; width: 1.44em; height: 1.53em; }
.brand-wordmark { display: block; width: 2.88em; height: 1em; }

.brand-name {
  padding-left: 14px;
  border-left: 1px solid var(--rule);
  font-family: var(--mono);
  line-height: 1.55;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-name-1 {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.32em;
  color: var(--ink);
}
.brand-name-2 {
  display: block;
  font-size: 0.5625rem;
  letter-spacing: 0.22em;
  color: var(--ink-2);
}

.search {
  position: relative;
  flex: none;
  width: 260px;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 0.875rem;
  height: 0.875rem;
  transform: translateY(-50%);
  color: var(--ink-2);
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 2.125rem;
  padding: 0 10px 0 32px;
  background: var(--panel-alt);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-size: 0.875rem;
  -webkit-appearance: none;
  appearance: none;
}
.search input::placeholder { color: var(--ink-2); }
.search input:focus {
  outline: none;
  background: var(--panel);
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.search-results {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 30;
  width: min(460px, 92vw);
  max-height: min(60vh, 520px);
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--ink);
}

.search-count {
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule);
}

.search-list { list-style: none; padding: 0; }

.search-result {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rule-soft);
  text-align: left;
}
.search-result:hover { background: var(--hover); }
.search-result:focus-visible { outline-offset: -2px; background: var(--hover); }

.search-result-cat {
  display: block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.search-result-title {
  display: block;
  font-size: 0.90625rem;
  font-weight: 600;
  line-height: 1.35;
}
.search-result-snippet {
  display: block;
  margin-top: 2px;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.search-empty {
  padding: 16px 14px;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.topbar-request {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.top-count {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}

.text-button {
  padding: 4px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.text-button:disabled {
  color: var(--ink-2);
  border-bottom-color: var(--rule);
}


/* 5. MOBILE BREADCRUMB ----------------------------------------------------- */
.crumbs {
  display: none;              /* shown on narrow screens only */
  align-items: center;
  gap: 12px;
  min-height: 2.75rem;
  padding: 8px 16px;
  border-bottom: 1px solid var(--rule);
  background: var(--panel-alt);
}

.crumb-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  min-height: 2rem;
  padding: 0 10px 0 6px;
  background: var(--panel);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.crumb-back .icon { transform: rotate(180deg); }

.crumb-trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  min-width: 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink-2);
}
.crumb-trail li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.crumb-trail li + li::before { content: ">"; color: var(--ink-2); }
.crumb-trail button {
  padding: 2px 0;
  background: none;
  border: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.crumb-trail [aria-current="page"] { color: var(--ink); font-weight: 600; }


/* 6. COLUMN BROWSER -------------------------------------------------------- */
.browser {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: var(--nav-w) var(--list-w) minmax(0, 1fr);
}

.col {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.col-nav {
  padding: 20px 12px 24px;
  background: var(--panel-alt);
  border-right: 1px solid var(--rule);
}

.col-list { border-right: 1px solid var(--rule); }

.col-inspector:focus { outline: none; }

/* Left navigation: three tabs (Main Services opens to show the six points) */
.nav-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-tab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 0.75rem;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 10px 12px 14px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-align: left;
}
.nav-tab:hover { border-color: var(--ink); }
.nav-tab:focus-visible { outline-offset: 2px; }

.nav-tab-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;   /* tight enough that long labels stay on one line beside the count badge */
  line-height: 1.3;
  text-transform: uppercase;
}
.nav-tab-sub {
  display: block;
  margin-top: 3px;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--ink-2);
}

/* Active tab: warm fill + black bar (solid black is reserved for primary actions).
   Main Services while open with a point active: outlined only. */
.nav-tab.is-active {
  background: var(--sel);
  border-color: var(--ink);
  box-shadow: inset 4px 0 0 var(--ink), 0 0 0 1px var(--ink);   /* 2px edge, no layout shift */
  color: var(--ink);
}
.nav-tab.is-active .nav-tab-sub { color: var(--ink-soft); }
.nav-tab.is-active:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-tab.is-parent-active { border-color: var(--ink); }

.nav-tab-chevron { display: inline-flex; transition: transform 0.15s ease; }
.nav-tab[aria-expanded="true"] .nav-tab-chevron { transform: rotate(90deg); }

.nav-points {
  margin: 2px 0 4px 12px;
  padding: 2px 0 2px 8px;
  list-style: none;
  border-left: 1px solid var(--rule);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 2.25rem;
  padding: 7px 10px;
  background: none;
  border: 0;
  border-radius: 4px;
  font-size: 0.9375rem;
  text-align: left;
}
.nav-item:hover { background: var(--hover); }
.nav-item[aria-current="true"] {
  background: var(--sel);
  box-shadow: inset 4px 0 0 var(--ink);
  color: var(--ink);
  font-weight: 600;
}
.nav-item:focus-visible { outline-offset: -2px; }
.nav-item[aria-current="true"]:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }

.nav-num {
  flex: none;
  width: 1.5rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--ink-2);
}
.nav-item[aria-current="true"] .nav-num { color: var(--ink-soft); }

.nav-text { flex: 1; min-width: 0; }

.nav-badge {
  flex: none;
  min-width: 1.25rem;
  padding: 0 4px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

/* Middle service list */
.list-head {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 20px 20px 16px;
  background: var(--panel);
  border-bottom: 1px solid var(--rule);
}

.list-title {
  font-family: var(--font-title);
  margin-top: 6px;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.list-title:focus { outline: none; }
.list-title:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.list-tagline {
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.list-meta {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.rows {
  padding: 0;
  list-style: none;
}

/*
  Each row = checkbox (add / remove) + button (inspect).
  They are separate controls because a checkbox cannot live inside a button.
*/
.row-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  background: var(--panel-alt);        /* one tone for every row (no alternating stripes) */
  border-bottom: 1px solid var(--rule-soft);
}
.rows .row-item:hover { background: var(--hover); }
.rows .row-item.is-current {
  background: var(--sel);
  box-shadow: inset 4px 0 0 var(--ink);
  color: var(--ink);
}
.row-item.is-current .row-title { font-weight: 600; }

.row-check {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px 0 18px;
  cursor: pointer;
}

/* Custom checkbox so it stays legible on both white and black rows. */
.row-check input {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-content: center;
  width: 1.0625rem;
  height: 1.0625rem;
  margin: 0;
  background: transparent;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  color: inherit;
  cursor: pointer;
}
.row-check input::before {
  content: "";
  width: 0.55rem;
  height: 0.3rem;
  margin-top: -0.12rem;
  border-left: 2px solid var(--panel);
  border-bottom: 2px solid var(--panel);
  transform: rotate(-45deg);
  opacity: 0;
}
.row-check input:checked { background: currentColor; }
.row-check input:checked::before { opacity: 1; }
.row-check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 0.75rem;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 20px 11px 12px;
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 0.90625rem;
  line-height: 1.35;
  text-align: left;
}
.row:focus-visible { outline-offset: -2px; }
.row[aria-current="true"]:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }

.row-title { min-width: 0; }

.row-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-2);
  white-space: nowrap;
}
.row-item.is-current .row-meta { color: var(--ink-soft); }


/* 7. INSPECTOR CONTENT ----------------------------------------------------- */
.inspector {
  max-width: 820px;
  padding: 32px 40px 56px;
}

.insp-title {
  font-family: var(--font-title);
  margin-top: 8px;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.insp-title:focus { outline: none; }
.insp-title:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.insp-role {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.insp-role strong { font-weight: 600; color: var(--ink); }

.price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 24px 0 28px;
  padding: 18px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}

.price-value {
  margin-top: 4px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Ongoing Support billing term under the price. */
.price-term {
  margin-top: 2px;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.action-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 2.5rem;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--inverse-ink); }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn-secondary { background: var(--panel); color: var(--ink); }
.btn-secondary:hover:not(:disabled) { background: var(--hover); }
.btn:disabled {
  background: var(--disabled-fill);
  border-color: var(--disabled-fill);
  color: var(--ink-2);
}

/* Add / Remove toggle: fixed minimum width so the layout never shifts between states. */
.btn-toggle { min-width: 15.5rem; }

/* Small "✓ Added" marker beside the price label. */
.price-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 14px;
  row-gap: 2px;
}
.added-flag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  white-space: nowrap;
}
.added-flag .icon { width: 0.625rem; height: 0.625rem; }
.added-flag.is-off { visibility: hidden; }

.lead {
  font-size: 1.0625rem;
  line-height: 1.55;
}

.body-text {
  margin-top: 12px;
  color: var(--ink-soft);
}

.callout p + p { margin-top: 8px; }
.callout {
  margin-top: 20px;
  padding: 2px 0 2px 14px;
  border-left: 2px solid var(--ink);
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.insp-section { margin-top: 32px; }

.insp-section > h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.insp-section > h3 .mono {
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.includes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  column-gap: 28px;
  padding: 0;
  list-style: none;
}
.includes li {
  position: relative;
  padding: 7px 0 7px 16px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 0.90625rem;
  line-height: 1.4;
}
.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 7px;
  height: 1px;
  background: var(--ink);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 3px 10px;
  background: var(--fill);
  border: 0;
  border-radius: 4px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.notes {
  padding: 0;
  list-style: none;
}
.notes li {
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.notes li + li { border-top: 1px solid var(--rule-soft); }

.plain-list {
  margin-top: 8px;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.plain-list li { padding: 2px 0; }

.compliance p + p { margin-top: 8px; }
.compliance p { font-size: 0.875rem; color: var(--ink-soft); }
.compliance .plain-list { columns: 2 240px; column-gap: 28px; }
.compliance .caveat { margin-top: 10px; font-size: 0.8125rem; color: var(--ink-2); }

.related-list {
  padding: 0;
  list-style: none;
}
.related-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 0.75rem;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rule-soft);
  text-align: left;
}
.related-link:hover .related-title { text-decoration: underline; text-underline-offset: 3px; }
.related-title { font-size: 0.90625rem; font-weight: 600; }
.related-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-2);
  white-space: nowrap;
}


/* 8. CHECK FOCUS AREAS ----------------------------------------------------- */
.focus {
  margin: 28px 0 0;
  padding: 16px 18px 18px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.focus legend {
  padding: 0 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.focus-hint {
  margin-bottom: 12px;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

input[type="checkbox"] {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin: 0.15em 0 0;
  accent-color: var(--accent);
}

.check-full {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0 20px;
}

.check-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.875rem;
  line-height: 1.4;
  cursor: pointer;
}
.check-option.is-included { color: var(--ink-2); cursor: default; }
.partner-option input { width: 1rem; height: 1rem; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.partner-option strong { display: block; font-weight: 600; }
.partner-option-text { display: block; margin-top: 1px; color: var(--ink-soft); font-size: 0.8125rem; }
.preferred-partner { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--rule-soft); border-radius: var(--radius); }
.preferred-logo { flex: none; display: flex; align-items: center; justify-content: center; width: 160px; height: 64px; object-fit: contain; }
.preferred-placeholder { background: var(--sel); border: 1px solid var(--rule-soft); border-radius: var(--radius); color: var(--ink-2); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.preferred-text { display: grid; gap: 4px; min-width: 0; }
.preferred-name { font-size: 1.0625rem; overflow-wrap: anywhere; }
@media (max-width: 520px) { .preferred-partner { flex-direction: column; align-items: flex-start; } }
.choice-groups { display: grid; gap: 14px; }
.choice-select { display: grid; gap: 6px; }
.choice-select-label { font-size: 0.8125rem; font-weight: 600; }
.choice-select select { width: 100%; max-width: 20rem; min-height: 2.5rem; padding: 8px 10px; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); font-size: 0.9375rem; }
.partner-note { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--rule-soft); font-size: 0.8125rem; color: var(--ink-2); }

.focus-status {
  min-height: 1.2em;
  margin-top: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.focus-pending {
  margin-top: 4px;
  font-size: 0.8125rem;
  color: var(--ink-2);
}


/* 9. BOTTOM REQUEST BAR ---------------------------------------------------- */
.requestbar {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 20px;
  background: var(--bar);
  border-top: 1px solid var(--ink);
}
.requestbar .btn:disabled { background: var(--bar-disabled); border-color: var(--rule); }

.requestbar-count {
  flex: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.requestbar-totals {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 4px 28px;
  min-width: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.requestbar-totals div { display: flex; gap: 8px; white-space: nowrap; }
.requestbar-totals dt { color: var(--ink-2); }
.requestbar-totals dd { font-weight: 600; }

.requestbar-empty {
  font-size: 0.8125rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
}

.requestbar .btn { flex: none; margin-left: auto; }


/* 10. REVIEW DRAWER + CLIENT FORM ----------------------------------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(23, 25, 28, 0.28);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.drawer-backdrop.is-open { opacity: 1; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: min(620px, 100%);
  background: var(--panel);
  border-left: 1px solid var(--ink);
  transform: translateX(100%);
  transition: transform 0.2s ease;
}
.drawer.is-open { transform: none; }

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--rule);
}

.drawer-title {
  font-family: var(--font-title);
  margin-top: 4px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.drawer-title:focus { outline: none; }
.drawer-title:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
#copy-modal-title { font-family: var(--font-title); font-weight: 600; }

.btn-close { min-height: 2.25rem; padding: 0 12px; }

.drawer-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 24px 28px;
}

.drawer-section { margin-top: 24px; }
.drawer-section > h3 {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.drawer-empty { padding: 28px 0 8px; }
.drawer-empty p + p { margin-top: 6px; }
.drawer-empty .btn { margin-top: 16px; }
.muted { color: var(--ink-2); font-size: 0.875rem; }

.empty-star {
  display: block;
  width: 2.6rem;
  height: 2.75rem;
  margin-bottom: 16px;
  color: var(--rule);
}

/* "Selected Services" heading with the Remove All control beside it. */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  min-height: 2.25rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
}
.section-head h3 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.clear-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.mini-btn {
  min-height: 1.875rem;
  padding: 0 10px;
  background: var(--panel);
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.mini-btn:hover { background: var(--hover); }
.mini-btn-primary { background: var(--ink); color: var(--inverse-ink); }
.mini-btn-primary:hover { background: var(--accent-hover); }

.req-group { margin-top: 20px; }
.req-group > h4 {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.req-point {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.req-list { padding: 0; list-style: none; }

.req-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 4px 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.req-title {
  padding: 0;
  background: none;
  border: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
}
.req-title:hover { text-decoration-color: var(--ink); }

.req-price { margin-top: 2px; font-size: 0.8125rem; color: var(--ink-2); }
.req-detail { margin-top: 4px; font-size: 0.8125rem; color: var(--ink-soft); }
.req-note { margin-top: 8px; font-size: 0.8125rem; color: var(--ink-2); }

.req-remove {
  padding: 3px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scope-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 0.9375rem;
}
.scope-list dd { font-weight: 600; white-space: nowrap; }

/* Total Services Estimate: the bottom line of the scope list. */
.scope-list div.scope-total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  border-bottom: 0;
  font-size: 1.0625rem;
  font-weight: 600;
}
.scope-list div.scope-total dd { font-weight: 600; }

.scope-note {
  margin-top: 6px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.scope-note:empty { display: none; }

.disclaimer {
  margin-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin-top: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field-full { grid-column: 1 / -1; }

.field label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.5rem;
  padding: 8px 10px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-size: 0.9375rem;
}
.field select { -webkit-appearance: menulist; }
.field textarea {
  min-height: 7rem;
  resize: vertical;
  line-height: 1.45;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.form-note {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.drawer-foot {
  padding: 14px 24px 16px;
  background: var(--panel);
  border-top: 1px solid var(--ink);
}

.foot-actions {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 8px;
}
.foot-actions .btn { padding: 0 12px; }

/* Request Services send menu (opens upward from the button). */
.send-wrap { position: relative; min-width: 0; }
.send-wrap .btn-send { width: 100%; }
.send-caret { width: 0.625rem; height: 0.625rem; transition: transform 0.15s ease; }
.btn-send[aria-expanded="true"] .send-caret { transform: rotate(180deg); }

.send-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 5;
  width: max(100%, 360px);
  background: var(--panel);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

.send-option {
  display: block;
  width: 100%;
  padding: 11px 14px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rule-soft);
  text-align: left;
}
.send-option:last-child { border-bottom: 0; }
.send-option:hover,
.send-option:focus-visible { background: var(--hover); }
.send-option:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.send-option-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.send-option-desc {
  display: block;
  margin-top: 2px;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.foot-status {
  min-height: 1.25em;
  margin-top: 10px;
  font-size: 0.8125rem;
  line-height: 1.45;
}


/* 11. COPY FALLBACK MODAL -------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(23, 25, 28, 0.4);
}

.modal-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(680px, 100%);
  max-height: calc(100vh - 32px);
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--ink);
}
.modal-panel h2 { font-size: 1.125rem; font-weight: 600; }
.modal-panel h2:focus { outline: none; }
.modal-panel textarea {
  flex: 1;
  min-height: 16rem;
  padding: 10px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.5;
  resize: vertical;
}
.modal-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }


/* 11-. BACK / FORWARD ---------------------------------------------------------- */
/* Circular history buttons: centered in the top bar on wide screens. */
.topbar { position: relative; }
.hist-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translate(-50%, -50%);
}
.hist-btn {
  display: grid;
  place-items: center;
  width: 2.125rem;
  height: 2.125rem;
  padding: 0;
  background: var(--panel);
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
}
.hist-btn svg { width: 0.75rem; height: 0.75rem; }
.hist-btn:hover:not(:disabled) { background: var(--hover); }
.hist-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hist-btn:disabled { border-color: var(--rule); color: var(--disabled-ink); cursor: default; }
/* Search stays pinned right. */
.topbar .search { margin-left: auto; }


/* 11a. + MORE INFO ----------------------------------------------------------- */
/* Tab: gray fill, set apart from the service tabs by a divider. */
.nav-divider {
  height: 0;
  margin: 6px 2px;
  border: 0;
  border-top: 1px solid var(--rule);
}
.nav-tab.nav-tab-info { background: var(--fill); border-color: transparent; }
.nav-tab.nav-tab-info:hover { border-color: var(--ink); }
.nav-tab.nav-tab-info.is-active { background: var(--sel); border-color: var(--ink); color: var(--ink); }

/* List rows for the info pages (no checkbox or price). */
.row-item.row-item-info { grid-template-columns: minmax(0, 1fr); }
.row-item-info .row { padding-left: 20px; }
.row-info-sub { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--ink-2); }
.row-item.is-current .row-info-sub { color: var(--ink-soft); }

/* Pages */
.info-page .insp-title { margin-bottom: 14px; }
.info-body p { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-soft); }
.info-body p + p { margin-top: 12px; }

/* FAQ: tap-to-expand questions in groups */
.faq-tools { display: flex; justify-content: flex-end; margin-top: 8px; font-size: 0.8125rem; }
.faq-group { margin-top: 24px; }
.faq-group-title {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.faq-item { border-bottom: 1px solid var(--rule-soft); }
.faq-item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-family: var(--mono); font-weight: 400; color: var(--ink-2); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { background: var(--hover); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.faq-a { margin: 0; padding: 0 32px 16px 4px; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-soft); }
.info-lead { margin-bottom: 4px; }
.info-tagline { margin-top: 14px !important; font-weight: 600; color: var(--ink) !important; }
.info-points { margin-top: 28px; }
.info-points .home-points-wrap { margin-top: 0; }
.info-closing { margin-top: 18px; font-size: 0.9375rem; line-height: 1.6; }
.info-note { margin-top: 24px; font-size: 0.875rem; color: var(--ink-2); }
.info-callout {
  margin-top: 24px;
  padding: 12px 16px;
  background: var(--panel-alt);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--ink);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.text-link {
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.contact-card { padding: 18px; border: 1px solid var(--rule); border-radius: var(--radius); }
.contact-value { margin-top: 6px; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.contact-value a { color: inherit; text-decoration: none; }
.contact-value a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
a.btn { text-decoration: none; }

.team-list { margin-top: 24px; border-top: 1px solid var(--ink); }
.team-member { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.team-name { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.team-role { margin-top: 2px; font-family: var(--mono); font-size: 0.75rem; color: var(--ink-2); }
.team-bio { margin-top: 8px; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-soft); }
.team-skills { margin-top: 10px; }

/* Join the Team menu opens downward inside the page. */
.join-block { margin-top: 24px; }
.join-wrap { display: inline-block; }
.send-menu.opens-down { top: calc(100% + 8px); bottom: auto; width: 340px; }
.btn-send[aria-expanded="true"] .send-caret { transform: rotate(180deg); }


/* 11b. WELCOME / LANDING ---------------------------------------------------- */
.brand-home {
  display: inline-flex;
  padding: 2px;
  margin: -2px;
  background: none;
  border: 0;
  border-radius: 4px;
  color: inherit;
}
.brand-home:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Home mode: the landing panel replaces the list + inspector columns. */
.col-home { display: none; }
.browser[data-mode="home"] { grid-template-columns: var(--nav-w) minmax(0, 1fr); }
.browser[data-mode="home"] .col-list,
.browser[data-mode="home"] .col-inspector { display: none; }
.browser[data-mode="home"] .col-home { display: block; }

/* Welcome page: one centered column. */
.home {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 26px 40px 26px;
  text-align: center;
}
.home-logo { display: flex; flex-direction: column; align-items: center; gap: 12px; }
/* The wrapper takes the click spin; the star inside keeps its slow turn, paused during the spin so it
   resumes from the same angle. */
.home-star-wrap {
  display: block;
  width: 3.9rem;
  height: 4.14rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transform-origin: 50% 50%;
  transform: rotate(var(--turn, 0deg));
}
/* Each click adds a full turn to --turn; the transition carries the star there. Clicks during a spin just
   extend it (no stop between turns). It eases to rest only after the last click. */
.home-star-wrap.is-spinning { transition: transform 0.9s cubic-bezier(0.22, 0.8, 0.3, 1); }
.home-star-wrap.is-spinning .home-star { animation-play-state: paused; }
.home-star {
  display: block;
  width: 100%;
  height: 100%;
  animation: home-star-spin 45s linear infinite;   /* slow clockwise turn around its center */
  transform-origin: 50% 50%;
}
.home-wordmark { display: block; width: 5.76rem; height: 2rem; }
@keyframes home-star-spin { to { transform: rotate(360deg); } }

.home-eyebrow { margin-top: 14px; color: var(--ink); }

.home-title {
  font-family: var(--font-title);
  margin-top: 18px;
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.home-title:focus { outline: none; }
.home-title:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.home-lead { margin-top: 10px; max-width: 68ch; font-size: 1rem; line-height: 1.55; color: var(--ink-soft); }

.home-points-wrap {
  width: 100%;
  max-width: 900px;
  margin-top: 36px;
  padding: 14px 0 14px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.home-points { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 2px; }
.home-points-star { display: block; width: 0.8rem; height: 0.85rem; margin-right: 8px; }
.home-point {
  padding: 4px 6px;
  background: none;
  border: 0;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.home-point:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-dot { color: var(--ink-2); }
.home-points-note { margin-top: 6px; font-size: 0.8125rem; color: var(--ink-2); text-align: center; }

.home-how {
  width: 100%;
  max-width: 900px;
  margin-top: 20px;
  padding: 16px 24px 18px;
  background: var(--panel-alt);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-align: left;
}
.home-how-title {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.home-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
}
.home-steps li { font-size: 0.875rem; line-height: 1.5; color: var(--ink-soft); }
.home-step-num { margin-right: 8px; font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-2); }
.home-steps strong { color: var(--ink); font-weight: 600; }
.home-steps li > span:last-child { display: block; margin-top: 2px; }

/* Button with the "Or choose any area on the left" hint directly below it. */
.home-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 36px; }

/* Shorter laptop screens: tighter spacing so the welcome page fits without scrolling. */
@media (min-width: 761px) and (max-height: 860px) {
  .home { padding-top: 18px; padding-bottom: 14px; }
  .home-logo { gap: 10px; }
  .home-star-wrap { width: 3.3rem; height: 3.5rem; }
  .home-wordmark { width: 5.04rem; height: 1.75rem; }
  .home-eyebrow { margin-top: 10px; }
  .home-title { margin-top: 12px; font-size: 1.5rem; }
  .home-lead { margin-top: 6px; }
  .home-how { margin-top: 14px; padding: 12px 20px 14px; }
  .home-steps { margin-top: 8px; }
  .home-points-wrap { margin-top: 20px; padding: 8px 0; }
  .home-points-note { margin-top: 4px; }
  .home-cta { margin-top: 20px; gap: 6px; }
}

/* Phone version lives inside the left column (above and below the tabs). */
.nav-home,
.nav-home-more { display: none; }


/* 12. RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 1180px) {
  :root { --nav-w: 264px; --list-w: 268px; }
  .home { padding: 32px 32px 36px; }
  .home-title { font-size: 1.625rem; }
  .topbar { justify-content: space-between; }
  .inspector { padding: 28px 28px 48px; }
}

/* Narrower screens: no room to center, so the buttons sit beside the logo. */
@media (max-width: 1240px) {
  .hist-nav { position: static; transform: none; margin-left: -6px; }
}

@media (max-width: 960px) {
  .brand-name { display: none; }
  .search { width: 210px; }
  .requestbar { gap: 18px; }
  .requestbar-totals { gap: 2px 18px; }
}

/* Short laptop screens or high browser zoom: use the full viewport. */
@media (min-width: 761px) and (max-height: 680px) {
  .app {
    width: 100%;
    height: 100vh;
    min-height: 460px;
    margin: 0;
    border: 0;
  }
}

/* Phone / narrow: one pane at a time with breadcrumb + back control. */
@media (max-width: 760px) {
  .app {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    margin: 0;
    border: 0;
  }

  .topbar { flex-wrap: wrap; gap: 10px 12px; padding: 12px 16px; }
  .brand { gap: 10px; }
  .hist-nav { gap: 6px; margin-left: auto; }
  /* The bottom bar already shows the count on phones; the arrows take its place up top. */
  .topbar-request { display: none; }
  .hist-btn { width: 1.875rem; height: 1.875rem; }
  .brand-logo { font-size: 1rem; }
  .brand-name { display: block; padding-left: 10px; }
  .brand-name-1 { font-size: 0.5625rem; letter-spacing: 0.28em; }
  .brand-name-2 { font-size: 0.5rem; letter-spacing: 0.16em; }
  .topbar-request { margin-left: auto; }
  .topbar-request .text-button { display: none; }
  .search { order: 3; width: 100%; }
  .search-results { left: 0; right: 0; width: auto; }

  .crumbs { display: flex; }

  /* Welcome on phones: shown inside the first screen, around the tabs. */
  .browser[data-mode="home"] { grid-template-columns: minmax(0, 1fr); }
  .browser[data-mode="home"] .col-home { display: none; }
  .browser[data-mode="home"] .nav-home { display: block; padding: 4px 8px 20px; }
  .browser[data-mode="home"] .nav-home-more { display: block; padding: 8px 8px 8px; }
  .nav-home { text-align: center; }
  .nav-home .home-how { margin-top: 18px; }
  .nav-home .home-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .home-point { padding: 8px 6px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .join-wrap { display: block; }
  .join-wrap .btn-send { width: 100%; }
  .send-menu.opens-down { width: 100%; }

  .browser { grid-template-columns: minmax(0, 1fr); }
  .col { display: none; border-right: 0; }
  .browser[data-view="nav"] .col-nav,
  .browser[data-view="list"] .col-list,
  .browser[data-view="detail"] .col-inspector { display: block; }

  .col-nav { padding: 16px 8px 24px; background: var(--panel); }
  .nav-item { min-height: 2.875rem; font-size: 1rem; }
  .nav-tab { padding: 14px 14px 14px 16px; }
  .list-head { padding: 16px; }
  .row-check { min-width: 2.75rem; padding: 0 4px 0 14px; }   /* larger tap area */
  .row { padding: 14px 16px 14px 8px; }
  .inspector { padding: 20px 16px 40px; }
  .insp-title { font-size: 1.5rem; }
  .price-block { align-items: stretch; }
  .action-group { width: 100%; }
  .action-group .btn { flex: 1; min-width: 0; }

  .requestbar { gap: 12px; padding: 10px 16px; }
  .requestbar-totals { display: none; }

  .drawer { width: 100%; border-left: 0; }
  .drawer-head { padding: 16px; }
  .drawer-body { padding: 4px 16px 24px; }
  .drawer-foot { padding: 12px 16px 14px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-actions { grid-template-columns: 1fr 1fr; }
  .foot-actions .send-wrap { grid-column: 1 / -1; }
  .send-menu { width: 100%; }
  .send-option { padding: 14px 16px; }
}


/* 13. REDUCED MOTION ------------------------------------------------------- */
/* Quick hover and selection fades only (never on column content); switched off by reduced motion below. */
.nav-tab, .nav-item, .row-item, .btn, .mini-btn, .hist-btn, .send-option, .text-button, .req-remove {
  transition: background-color var(--fade) ease, border-color var(--fade) ease,
              color var(--fade) ease, box-shadow var(--fade) ease;
}

/* Title font on title-like labels. Semibold is the only embedded weight, so every one is set to 600
   (never a faked bold). The system font is the fallback. */
.nav-tab-label, .home-steps strong, .home-how-title, .home-point,
.insp-section > h3, .focus legend, .faq-group-title, .faq-q,
.req-group > h4, .drawer-section > h3, .section-head h3, .team-name,
.choice-select-label, .preferred-name, .price-value, .check-full, .info-tagline, .related-title, .partner-option strong, .insp-role strong,
.contact-value, .contact-value a, .req-title, .requestbar-count {
  font-family: var(--font-title);
  font-weight: 600;
}

/* ==========================================================================
   COLOR THEME: warm off-white / near black / cobalt. Same design as before with new colors only: type, spacing, shapes and
   layout are exactly the live design's. Colors: white stays white, every beige is warm off-white
   Porcelain #F8F9FB, black is near black #17191C, and the highlight color is cobalt #214AC8.
   (Token values are in :root at the top; this block recolors what used black as a highlight.)
   ========================================================================== */

/* Primary actions */
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--inverse-ink); }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); }
.mini-btn-primary { background: var(--accent); border-color: var(--accent); }
.btn-secondary:hover:not(:disabled) { background: var(--sel); }

/* Selection and active states: cobalt where black marked "you are here" */
.nav-tab.is-active { border-color: var(--accent); box-shadow: inset 4px 0 0 var(--accent), 0 0 0 1px var(--accent); }
.nav-tab.is-parent-active { border-color: var(--accent); }
.nav-tab:hover { border-color: var(--accent); }
.nav-item[aria-current="true"] { box-shadow: inset 3px 0 0 var(--accent); }
.rows .row-item.is-current { box-shadow: inset 3px 0 0 var(--accent); }
.nav-tab.is-active .nav-badge { background: var(--accent); border-color: var(--accent); color: var(--inverse-ink); }

/* Check marks and the Added flag */
.row-check input:checked { background: var(--accent); border-color: var(--accent); color: var(--accent); }
.row-check input:checked::before { border-color: var(--panel); }
.added-flag { color: var(--accent); }
.check-full:has(input:checked) { border-color: var(--accent); background: var(--sel); }

/* Welcome page: cobalt star */
.home-star-wrap { color: var(--accent); }

/* hr default color is gray; keep it in the palette */
.nav-divider { color: var(--rule); }


/* ==========================================================================
   MODERN UI. Same app and data, new skin and structure.
   Palette: warm-to-cool off-white (--bg), white surfaces,
   near black #17191C, cobalt #214AC8. Everything else is opacity variants of those.
   Layout changes apply at 761px and wider; phones keep the stacked layout.
   ========================================================================== */
:root {
  --topbar-h: 64px;
  --accent-6: rgba(33, 74, 200, 0.06);
  --accent-12: rgba(33, 74, 200, 0.12);
  --accent-20: rgba(33, 74, 200, 0.20);
  --accent-press: color-mix(in srgb, #214AC8 76%, #17191C);
  --accent-lift: color-mix(in srgb, #214AC8 92%, #FFFFFF);
  --shadow-card: 0 1px 2px rgba(23, 25, 28, 0.04), 0 1px 1px rgba(23, 25, 28, 0.03);
  --shadow-float: 0 12px 32px -10px rgba(23, 25, 28, 0.22), 0 2px 8px rgba(23, 25, 28, 0.06);
  --t-fast: 120ms;
  --t-base: 200ms;
  --t-slow: 300ms;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --radius-pill: 999px;
  --nav-w: 288px;
}
@media (max-width: 1180px) { :root { --nav-w: 272px; } }

/* ---------- Base surfaces ---------- */
body { background: var(--bg); }
.app { background: var(--bg); border: 1px solid var(--rule-soft); border-radius: 18px; overflow: hidden; position: relative;
  box-shadow: 0 24px 60px -34px rgba(23, 25, 28, 0.35); }
.topbar { background: color-mix(in srgb, var(--panel) 50%, transparent); -webkit-backdrop-filter: blur(10px) saturate(1.45); backdrop-filter: blur(10px) saturate(1.45);
  border-bottom: 1px solid var(--rule-soft); }
.col-nav, .col-list, .col-inspector, .col-home { background: transparent; border: 0; }
.list-head { background: var(--bg); }

/* ---------- Type: sentence case, quiet labels ---------- */
.eyebrow, .mono, .nav-badge, .list-meta, .top-count, .row-meta { font-family: var(--font); }
.eyebrow { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.top-count, .list-meta, .home-how-title, .home-point, .search-result-cat, .requestbar-totals, .drawer-section > h3, .section-head h3,
.mini-btn, .req-group > h4, .req-point, .req-remove, .field label, .send-option-label, .faq-group-title, .team-name, .insp-section > h3, .focus legend,
.requestbar-count, .text-button, .btn, .nav-tab-label, .crumb-trail, .crumb-back, .preferred-partner .eyebrow {
  text-transform: none; letter-spacing: 0; }
.insp-section > h3, .drawer-section > h3, .section-head h3, .faq-group-title { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.005em; }
.insp-section > h3 { border-bottom: 1px solid var(--rule-soft); }
.nav-tab-label { font-weight: 600; }
.requestbar-count, .text-button, .btn { font-size: 0.9375rem; font-weight: 600; }
.price-value { font-family: var(--font-title); font-size: 2rem; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.insp-title { font-size: 2.125rem; letter-spacing: -0.02em; margin-bottom: 14px; }
.list-title { font-size: 1.5rem; letter-spacing: -0.015em; }

/* ---------- Buttons ---------- */
.btn { border-radius: var(--radius); min-height: 2.5rem; padding: 0 18px; transition: background var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out),
  color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out); }
.btn:active:not(:disabled) { transform: scale(0.98); }
.btn-primary { background: linear-gradient(180deg, var(--accent-lift) 0%, var(--accent) 100%); border-color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(33, 74, 200, 0.35); color: var(--inverse-ink); }
.btn-primary:hover:not(:disabled) { background: linear-gradient(180deg, var(--accent) 0%, var(--accent-hover) 100%); border-color: var(--accent-hover); }
.btn-primary:active:not(:disabled) { background: var(--accent-press); border-color: var(--accent-press); box-shadow: inset 0 1px 2px rgba(23, 25, 28, 0.25); }
.btn-secondary { background: var(--panel); border-color: var(--rule); color: var(--ink); box-shadow: var(--shadow-card); }
.btn-secondary:hover:not(:disabled) { background: var(--accent-6); border-color: var(--accent); color: var(--accent); }
.btn:disabled { background: var(--disabled-fill); border-color: transparent; box-shadow: none; color: var(--ink-2); }
.text-button { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color var(--t-fast) var(--ease-out); }
.text-button:hover:not(:disabled) { border-bottom-color: var(--accent); }
.text-button:disabled { color: var(--ink-2); }
.mini-btn { border-radius: var(--radius-sm); }
.mini-btn-primary { background: var(--accent); border-color: var(--accent); color: var(--inverse-ink); }
.hist-btn { border: 1px solid var(--rule); background: var(--panel); box-shadow: var(--shadow-card); transition: background var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out); }
.hist-btn:hover:not(:disabled) { background: var(--accent-6); border-color: var(--accent); color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn:focus-visible, .hist-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 4px var(--bg); }

/* Added: the button confirms with a quick pulse */
.btn.pulse { animation: ui-pulse 520ms var(--ease-out); }
@keyframes ui-pulse { 0% { transform: scale(0.97); } 40% { transform: scale(1.025); } 100% { transform: scale(1); } }

/* ---------- Search ---------- */
.search input { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow-card); padding-right: 64px; cursor: pointer; }
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-12); }
.search { position: relative; }
.search .kbd-hint { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); pointer-events: none; }
kbd { display: inline-block; min-width: 1.4rem; padding: 1px 6px; border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 8px; background: var(--panel);
  font: 500 0.75rem/1.4 var(--font); color: var(--ink-2); text-align: center; }

/* ---------- Left navigation: icons, cobalt pill ---------- */
.ui-ico { display: inline-flex; flex: none; width: 1.25rem; height: 1.25rem; }
.ui-ico svg { width: 100%; height: 100%; }
#nav { position: relative; z-index: 1; }
.col-nav, .col-list { position: relative; }
.nav-tab { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25rem minmax(0, 1fr) auto 0.75rem; column-gap: 10px; row-gap: 1px; align-items: center; padding: 8px 12px;
  background: var(--panel); border: 1px solid var(--rule-soft); border-radius: 12px; box-shadow: var(--shadow-card);
  transition: border-color var(--t-fast) var(--ease-out), color var(--t-base) var(--ease-out), background var(--t-fast) var(--ease-out); }
/* Menu rows: one height and one inner layout for every row (see the "Left menu rows" block near the end of this file). */
/* One layout for every tab: icon | text block (title and description share a left edge) | badge | chevron */
.nav-tab .nav-tab-text { display: contents; }
.nav-tab > .nav-ico { grid-column: 1; grid-row: 1 / span 2; align-self: center; color: var(--accent); transition: color var(--t-base) var(--ease-out); }
.nav-tab .nav-tab-label { grid-column: 2; grid-row: 1; align-self: end; font-size: 0.875rem; }
.nav-tab .nav-tab-sub { grid-column: 2; grid-row: 2; align-self: start; margin-top: 0; font-size: 0.78rem; line-height: 1.35; }
.nav-tab .nav-badge { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
.nav-tab > .icon:last-child, .nav-tab > .nav-tab-chevron { grid-column: 4; grid-row: 1 / span 2; align-self: center; justify-self: center; }
.nav-tabs { gap: 6px; }
.nav-tab:hover { border-color: var(--rule); }
.nav-tab.is-active { background: transparent; border-color: transparent; box-shadow: none; color: var(--inverse-ink); }
.nav-tab.is-active > .nav-ico, .nav-tab.is-active .nav-tab-sub, .nav-tab.is-active .nav-tab-label { color: var(--inverse-ink); }
.nav-tab.is-active .nav-tab-sub { color: rgba(255, 255, 255, 0.86); }
.nav-tab.is-parent-active { border-color: var(--accent); }
.nav-badge { border: 0; border-radius: var(--radius-pill); background: var(--accent-12); color: var(--accent); padding: 1px 8px; font-weight: 600; }
.nav-tab.is-active .nav-badge { background: rgba(255, 255, 255, 0.22); color: var(--inverse-ink); }
.nav-points { margin: 2px 0 4px; padding: 2px 0; border-left: 0; }
.nav-item { position: relative; z-index: 1; border-radius: 8px; display: flex; align-items: center; gap: 10px; padding: 7px 12px 7px 13px; font-size: 0.875rem; transition: color var(--t-base) var(--ease-out), background var(--t-fast) var(--ease-out); }
.nav-item > .nav-ico { color: var(--ink-2); width: 1.25rem; height: 1.25rem; }
.nav-item .nav-text { flex: 1; min-width: 0; }
.nav-item .nav-badge { margin-left: auto; }
.nav-item:hover { background: var(--hover); }
.nav-item[aria-current="true"] { background: transparent; box-shadow: none; color: var(--accent); font-weight: 600; }
.nav-item[aria-current="true"] > .nav-ico { color: var(--accent); }
.nav-pill { position: absolute; z-index: 0; left: 0; top: 0; width: 0; height: 0; border-radius: 12px; background: linear-gradient(180deg, var(--accent-lift) 0%, var(--accent) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 6px 16px -8px rgba(33, 74, 200, 0.6); pointer-events: none; opacity: 0;
  transition: transform var(--t-base) var(--ease-out), width var(--t-base) var(--ease-out), height var(--t-base) var(--ease-out), opacity var(--t-fast) linear, border-radius var(--t-base) var(--ease-out); }
.nav-pill.is-item { background: var(--accent-12); box-shadow: none; border-radius: 8px; }
.nav-tab-info { background: var(--fill); box-shadow: none; }

/* ---------- Service list: icon chip, price pill, sliding bar ---------- */
.row-item { background: transparent; border-bottom: 1px solid var(--rule-soft); transition: background var(--t-fast) var(--ease-out); }
.rows .row-item:hover { background: var(--hover); }
.rows .row-item.is-current { background: var(--accent-6); box-shadow: none; }
.row-meta { padding: 3px 10px; border-radius: var(--radius-pill); background: var(--fill); color: var(--ink); font-size: 0.78rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.row-item.is-current .row-meta { background: var(--accent-12); color: var(--accent); }
@media (min-width: 761px) and (max-width: 1180px) { .row-meta { padding: 3px 8px; } }
.sel-bar { position: absolute; z-index: 0; left: 0; top: 0; width: 3px; height: 0; border-radius: 0 3px 3px 0; background: var(--accent); pointer-events: none; opacity: 0;
  transition: transform var(--t-base) var(--ease-out), height var(--t-base) var(--ease-out), opacity var(--t-fast) linear; }
.row-check input:checked { background: var(--accent); border-color: var(--accent); color: var(--accent); }
.row-check input:checked::before { border-color: #fff; }

/* ---------- Landing: the star is the navigation ---------- */
.browser[data-mode="home"] #home { min-height: 100%; display: flex; }
.landing { position: relative; flex: 1; min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(4px, 1.2vh, 14px);
  padding: calc(var(--topbar-h) + 26px) 24px 90px; text-align: center; overflow: hidden;
  background: radial-gradient(900px 520px at 50% 28%, rgba(33, 74, 200, 0.07), rgba(33, 74, 200, 0) 70%); }
.landing::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.7;
  background-image: radial-gradient(rgba(23, 25, 28, 0.10) 1px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%); }
.land-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.land-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 34%), rgba(33, 74, 200, 0.16), rgba(33, 74, 200, 0) 62%); }
.land-stage, .land-copy { position: relative; z-index: 1; }
.land-stage { display: grid; place-items: center; padding: 50px 150px 76px; perspective: 900px; }
.land-halo { position: absolute; left: 50%; top: 50%; width: min(70vh, 640px); aspect-ratio: 1; transform: translate(calc(-50% + var(--hx, 0px)), calc(-50% + var(--hy, 0px))); pointer-events: none; }
.land-ring { position: absolute; inset: 8%; border-radius: 50%; filter: blur(26px);
  background: conic-gradient(from 0deg, rgba(33, 74, 200, 0), rgba(33, 74, 200, 0.34) 18%, rgba(33, 74, 200, 0) 38%, rgba(33, 74, 200, 0.22) 62%, rgba(33, 74, 200, 0) 82%, rgba(33, 74, 200, 0.30));
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 0.7) 0%, #000 34%, rgba(0, 0, 0, 0.4) 54%, transparent 74%); mask-image: radial-gradient(circle, rgba(0, 0, 0, 0.7) 0%, #000 34%, rgba(0, 0, 0, 0.4) 54%, transparent 74%);
  animation: land-spin 32s linear infinite; }
.land-core { position: absolute; inset: 26%; border-radius: 50%; background: radial-gradient(circle, rgba(33, 74, 200, 0.22), rgba(33, 74, 200, 0) 68%); animation: land-breathe 7s ease-in-out infinite; }
.star-float { animation: land-float 8s ease-in-out infinite; }
.star-tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; will-change: transform; }
.star-wrap { position: relative; width: clamp(92px, calc((100vh - 585px) * 0.92), 230px); aspect-ratio: 188.56 / 200; transform-style: preserve-3d; }
.star-body { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotate(var(--turn, 0deg)); }
.star-body.is-spinning { transition: transform 1.15s cubic-bezier(0.22, 0.8, 0.3, 1); }
.land-star { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.land-star:not(.star-depth) { filter: drop-shadow(0 14px 22px rgba(33, 74, 200, 0.30)); }
.star-depth { pointer-events: none; }
.star-depth.d1 { transform: translateZ(-26px); }
.star-depth.d2 { transform: translateZ(-52px); }
.facet { mix-blend-mode: normal; }
.star-spec { transform: translate(var(--lx, -30px), var(--ly, -42px)); }
.star-glint { opacity: 0; }
.star-shadow { position: absolute; left: 50%; bottom: -9%; width: 74%; height: 11%; transform: translate(calc(-50% + var(--sx, 0px)), var(--sy, 0px)); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(23, 25, 28, 0.30), rgba(23, 25, 28, 0) 70%); filter: blur(5px); pointer-events: none; }
.shock { position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; border: 2px solid var(--accent); box-shadow: 0 0 24px rgba(33, 74, 200, 0.45); pointer-events: none; animation: land-shock 1000ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes land-shock { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(30); opacity: 0; } }
.tip-flash .tip-dot { animation: land-flash 560ms ease-out; }
.tip-flash .tip-name { color: var(--accent); }
@keyframes land-flash { 0% { transform: scale(1); } 30% { transform: scale(2.2); box-shadow: 0 0 0 10px rgba(33, 74, 200, 0.22); } 100% { transform: scale(1); } }
.star-line { stroke-dasharray: 1; stroke-dashoffset: 0; }

.tip { position: absolute; width: 52px; height: 52px; margin: -26px 0 0 -26px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.tip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tip-dot { position: relative; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(33, 74, 200, 0.45); transform: scale(calc(1 + var(--near, 0) * 0.5)); transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out); }
.tip-dot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px solid var(--accent); opacity: 0; animation: land-ping 3.6s ease-out infinite; animation-delay: calc(var(--i, 0) * 0.6s); }
.tip:hover .tip-dot, .tip:focus-visible .tip-dot { transform: scale(1.7); box-shadow: 0 0 0 6px rgba(33, 74, 200, 0.18), 0 4px 14px rgba(33, 74, 200, 0.55); }
.tip-label { position: absolute; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1px; width: max-content; min-height: 46px; padding: 4px 10px; white-space: nowrap; cursor: pointer; }
.tip-name { line-height: 1.25; font-family: var(--font-title); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; color: var(--ink);
  transform: scale(calc(1 + var(--near, 0) * 0.14)); transition: color var(--t-fast) var(--ease-out), transform var(--t-base) var(--ease-out); }
.tip-sub { font-size: 0.8125rem; line-height: 1.3; color: var(--accent); font-weight: 600; opacity: 0; transition: opacity var(--t-base) var(--ease-out); }
.tip:hover .tip-name, .tip:focus-visible .tip-name { color: var(--accent); }
.tip:hover .tip-sub, .tip:focus-visible .tip-sub { opacity: 1; }
.tip-top .tip-label { bottom: calc(100% - 8px); flex-direction: column-reverse; justify-content: flex-start; left: 50%; transform: translateX(-50%); text-align: center; }
.tip-bottom .tip-label { top: calc(100% - 8px); left: 50%; transform: translateX(-50%); text-align: center; }
.tip-right .tip-label { left: calc(100% - 6px); top: 50%; transform: translateY(-50%);  }
.tip-left .tip-label { right: calc(100% - 6px); top: 50%; transform: translateY(-50%);  }
.tip-ripple { position: absolute; inset: 50% auto auto 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px solid var(--accent); animation: land-ripple 600ms var(--ease-out) both; pointer-events: none; }

.land-copy { display: grid; justify-items: center; gap: clamp(6px, 1.4vh, 14px); max-width: 760px; }
.land-title { margin: 0; font-family: var(--font-title); font-weight: 600; font-size: clamp(1.75rem, min(3.8vw, 5.8vh), 3.05rem); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.land-title:focus { outline: none; }
.land-title:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 8px; }
.land-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.04em 0.1em; margin-bottom: -0.1em; }
.land-title .w > span { display: inline-block; }
.land-text { margin: 0; max-width: 58ch; font-size: clamp(0.8125rem, 1.8vh, 0.9375rem); line-height: 1.5; color: var(--ink-2); }
.land-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.land-go { position: relative; overflow: hidden; min-height: 2.9rem; padding: 0 26px; font-size: 1rem; }
.land-go::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg); pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0)); animation: land-shine 5.5s ease-in-out 2.4s infinite; }
.land-idle *, .land-idle *::before, .land-idle *::after { animation-play-state: paused !important; }

/* Intro: plays when the welcome page is entered; a click or key skips to the finished state */
.is-intro .land-halo { animation: land-halo-in 900ms var(--ease-out) both; }
.is-intro .star-line { stroke-dashoffset: 1; animation: land-draw 900ms cubic-bezier(0.5, 0, 0.2, 1) 0.1s forwards; }
.is-intro .star-fill, .is-intro .star-facets, .is-intro .star-depth { opacity: 0; animation: land-fill 520ms ease-out 0.85s forwards; }
.is-intro .star-glint { animation: land-glint 900ms cubic-bezier(0.4, 0, 0.2, 1) 1.15s both; }
.is-intro .tip-dot { opacity: 0; animation: land-pop 460ms cubic-bezier(0.2, 0.9, 0.3, 1.35) calc(1.05s + var(--i, 0) * 90ms) forwards; }
.is-intro .tip-label { opacity: 0; animation: land-fade 420ms ease-out calc(1.15s + var(--i, 0) * 90ms) forwards; }
.is-intro .land-title .w > span { transform: translateY(110%); animation: land-rise 700ms cubic-bezier(0.2, 0.8, 0.2, 1) calc(0.45s + var(--i, 0) * 80ms) forwards; }
.is-intro .land-text { opacity: 0; animation: land-up 520ms ease-out 1.2s forwards; }
.is-intro .land-cta { opacity: 0; animation: land-up 520ms ease-out 1.4s forwards; }
@keyframes land-spin { to { transform: rotate(360deg); } }
@keyframes land-breathe { 0%, 100% { transform: scale(0.92); opacity: 0.8; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes land-float { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(5px); } }
@keyframes land-ping { 0% { transform: scale(0.5); opacity: 0.55; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes land-ripple { from { transform: scale(1); opacity: 0.8; } to { transform: scale(9); opacity: 0; } }
@keyframes land-shine { 0%, 62% { left: -60%; } 90%, 100% { left: 130%; } }
@keyframes land-halo-in { from { opacity: 0; scale: 0.6; } to { opacity: 1; scale: 1; } }
@keyframes land-draw { to { stroke-dashoffset: 0; } }
@keyframes land-fill { to { opacity: 1; } }
@keyframes land-glint { 0% { opacity: 0; transform: translateX(-200px); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(280px); } }
@keyframes land-pop { from { opacity: 0; transform: scale(0.1); } to { opacity: 1; transform: scale(1); } }
@keyframes land-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes land-rise { to { transform: translateY(0); } }
@keyframes land-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* Phones: the landing sits above the menu tabs */
.landing.is-compact { min-height: 0; padding: 4px 8px 20px; }
.landing.is-compact .land-stage { padding: 34px 80px 38px; }
.landing.is-compact { padding-top: 14px; }
.landing.is-compact .star-wrap { width: 138px; }
/* "Guest Relations" is the longest point name: on phones it wraps onto two lines so it stays inside the screen. */
.landing.is-compact .tip-label { white-space: normal; width: min-content; }
.landing.is-compact .land-halo { width: 440px; }
.landing.is-compact .tip-name { font-size: 0.875rem; }
.landing.is-compact .tip-sub { display: none; }
.landing.is-compact .tip-label { min-height: 44px; align-content: center; padding: 4px 6px; }
.landing.is-compact .land-title { font-size: 2.25rem; }

/* ---------- Service page (desktop): sticky summary card ---------- */
.check-full { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow-card); transition: border-color var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out); }
.check-full:hover, .check-full:has(input:checked) { border-color: var(--accent); background: var(--accent-6); }
.focus { border: 1px solid var(--rule-soft); border-radius: 12px; background: var(--panel); box-shadow: var(--shadow-card); }
.callout { border-left: 2px solid var(--accent-20); }
.focus legend { font-size: 0.9375rem; font-weight: 600; padding: 0 8px; }
.related-link:hover .related-title { color: var(--accent); }
.preferred-partner { background: var(--panel); border: 1px solid var(--rule-soft); border-radius: 12px; }
.preferred-placeholder { background: var(--fill); border-radius: var(--radius-sm); text-transform: none; letter-spacing: 0; }

/* Focus areas and radio choices become chips and cards */
.focus-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.focus-grid .check-option { position: relative; padding: 7px 14px; border: 1px solid var(--rule); border-radius: var(--radius-pill); background: var(--panel);
  transition: background var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out); }
.focus-grid .check-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.focus-grid .check-option:hover { border-color: var(--accent); }
.focus-grid .check-option:has(input:checked) { background: var(--accent-12); border-color: var(--accent); color: var(--accent); font-weight: 600; }
.focus-grid .check-option:has(input:checked)::before { content: ""; width: 0.55rem; height: 0.3rem; margin: 0.3rem 0.1rem 0 0; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-2px); }
.focus-grid .check-option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.partner-option { padding: 10px 12px; border: 1px solid var(--rule-soft); border-radius: 12px; background: var(--panel); margin-bottom: 8px; transition: border-color var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out); }
.partner-option:hover { border-color: var(--rule); }
.partner-option:has(input:checked) { border-color: var(--accent); background: var(--accent-6); }
.price-label { color: var(--ink-2); }
.added-flag { color: var(--accent); }

/* ---------- Desktop shell: glass top bar, content under it, floating request tray ---------- */
@media (min-width: 761px) {
  /* Frosted top bar and tray float over the panes; content scrolls under them. */
  .topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 25; min-height: var(--topbar-h); }
  .browser { position: absolute; inset: 0; }
  .col-nav { padding: calc(var(--topbar-h) + 14px) 14px 92px; }
  .col-list, .col-inspector { padding-top: var(--topbar-h); padding-bottom: 120px; }
  .col-home { padding: 0; }
  .list-head { top: 0; }
  /* Tray: centered on the window */
  .requestbar { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 30; width: min(880px, calc(100% - 48px)); gap: 20px; padding: 10px 12px 10px 20px;
    background: color-mix(in srgb, var(--panel) 50%, transparent); -webkit-backdrop-filter: blur(8px) saturate(1.45); backdrop-filter: blur(8px) saturate(1.45);
    border: 1px solid color-mix(in srgb, var(--rule) 70%, transparent); border-radius: 18px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), var(--shadow-float); }
  .requestbar .btn { min-height: 2.5rem; }
  .requestbar-totals { gap: 8px; font-size: 0.8125rem; }
  .requestbar-totals > div { display: inline-flex; gap: 6px; align-items: baseline; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--fill); }
  .requestbar-totals dt { color: var(--ink-2); }
  .requestbar-totals dd { font-weight: 600; font-variant-numeric: tabular-nums; }
  .requestbar-totals .requestbar-empty { color: var(--ink-2); }
  .requestbar-totals > div:has(.requestbar-empty) { background: transparent; padding: 0; }

  /* Scroll bars (Chrome, Edge, Safari): the track starts below the top bar and ends above the tray, so it never shows through either. */
  .col::-webkit-scrollbar { width: 14px; }
  .col::-webkit-scrollbar-track { background: transparent; margin-top: var(--topbar-h); margin-bottom: 100px; }
  .col::-webkit-scrollbar-thumb { background: rgba(23, 25, 28, 0.26); border: 4px solid transparent; border-radius: 8px; background-clip: padding-box; }
  .col::-webkit-scrollbar-thumb:hover { background: rgba(23, 25, 28, 0.42); background-clip: padding-box; }
}
@media (max-width: 760px) {
  .requestbar { background: var(--panel); border-top: 1px solid var(--rule-soft); }
  .crumbs { background: var(--bg); border-bottom: 1px solid var(--rule-soft); }
  .crumb-back { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); }
  .tile, .tile.is-wide { grid-column: span 3; }
}
.tick { animation: ui-tick 240ms var(--ease-out); }
@keyframes ui-tick { 0% { transform: translateY(5px); opacity: 0.35; } 100% { transform: translateY(0); opacity: 1; } }

/* ---------- Drawer ---------- */
.drawer { background: var(--panel); border-left: 1px solid var(--rule-soft); box-shadow: var(--shadow-float); transition: transform var(--t-slow) var(--ease-out); }
.drawer-backdrop { background: rgba(23, 25, 28, 0.34); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); transition: opacity var(--t-slow) var(--ease-out); }
.drawer-empty .empty-star { width: 3.25rem; height: 3.5rem; padding: 12px; border-radius: 50%; background: var(--accent-12); color: var(--accent); fill: var(--accent); }
.stepper { display: flex; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--rule-soft); border-radius: 12px; background: var(--bg); font-size: 0.8125rem; color: var(--ink-2); }
.stepper .step-dot { display: grid; place-items: center; flex: none; width: 1.35rem; height: 1.35rem; border-radius: 50%; border: 1.5px solid var(--rule); font-size: 0.7rem; font-weight: 600; }
.stepper .step-dot svg { width: 0.7rem; height: 0.7rem; }
.stepper li.is-done { color: var(--ink); }
.stepper li.is-done .step-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.stepper li.is-current { border-color: var(--accent); color: var(--accent); font-weight: 600; background: var(--accent-6); }
.stepper li.is-current .step-dot { border-color: var(--accent); color: var(--accent); }
.est-bar { margin: 4px 0 14px; }
.est-track { display: flex; height: 10px; overflow: hidden; border-radius: var(--radius-pill); background: var(--fill); }
.est-track span { display: block; height: 100%; transition: flex-grow var(--t-slow) var(--ease-out); }
.est-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 0.8125rem; color: var(--ink-2); }
.est-legend i { display: inline-block; width: 0.6rem; height: 0.6rem; margin-right: 6px; border-radius: 4px; }

/* ---------- Accordions ---------- */
.faq-item { interpolate-size: allow-keywords; }
.faq-item::details-content { block-size: 0; overflow: clip; transition: block-size var(--t-base) var(--ease-out), content-visibility var(--t-base) allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }

/* ---------- Pane fade-in ----------
   A plain CSS fade inside the pane. (The browser's View Transitions draw their snapshot above the whole page, which put
   the content over the glass request tray and dropped its blur for a moment.) */
.col-inspector.pane-in { animation: ui-pane-in 140ms var(--ease-out) both; }
@keyframes ui-pane-in { from { opacity: 0; } }

/* ---------- Toasts ---------- */
.toast-stack { position: fixed; left: 50%; bottom: 112px; z-index: 60; display: grid; gap: 8px; transform: translateX(-50%); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 0.875rem; box-shadow: var(--shadow-float);
  pointer-events: auto; animation: ui-toast-in var(--t-slow) var(--ease-out) both; }
.toast.is-leaving { animation: ui-toast-out var(--t-base) var(--ease-in) both; }
.toast button { padding: 4px 10px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, 0.16); color: #fff; font-weight: 600; font-size: 0.8125rem; }
.toast button:hover { background: rgba(255, 255, 255, 0.28); }
.toast .toast-check { display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--accent); }
.toast .toast-check svg { width: 0.75rem; height: 0.75rem; }
@keyframes ui-toast-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
@keyframes ui-toast-out { to { opacity: 0; transform: translateY(6px); } }
@media (max-width: 760px) { .toast-stack { bottom: 84px; width: calc(100% - 24px); } .toast { justify-content: space-between; } }

/* ---------- Command search ---------- */
.palette-backdrop { position: fixed; inset: 0; z-index: 70; display: grid; justify-items: center; align-items: start; padding: 12vh 16px 16px; background: rgba(23, 25, 28, 0.38);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: ui-fade var(--t-base) var(--ease-out) both; }
.palette { width: min(640px, 100%); max-height: 70vh; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rule-soft); border-radius: 18px; background: var(--panel);
  box-shadow: var(--shadow-float); animation: ui-pop var(--t-base) var(--ease-out) both; }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--rule-soft); }
.palette-input .ui-ico { color: var(--ink-2); }
.palette-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1.0625rem; }
.palette-results { overflow-y: auto; padding: 8px; }
.palette-group { padding: 10px 10px 4px; font-size: 0.78rem; font-weight: 600; color: var(--ink-2); }
.palette-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 12px; background: transparent; text-align: left; }
.palette-item .ui-ico { width: 1.9rem; height: 1.9rem; padding: 6px; border-radius: 8px; background: var(--accent-12); color: var(--accent); }
.palette-item.is-active { background: var(--accent-12); }
.palette-text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.palette-title { font-weight: 600; }
.palette-snippet { font-size: 0.8125rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette-price { padding: 2px 9px; border-radius: var(--radius-pill); background: var(--fill); font-size: 0.78rem; font-weight: 600; }
.palette-empty { padding: 28px 16px; text-align: center; color: var(--ink-2); }
.palette-foot { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--rule-soft); background: var(--bg); font-size: 0.78rem; color: var(--ink-2); }
@keyframes ui-fade { from { opacity: 0; } }
@keyframes ui-pop { from { opacity: 0; transform: translateY(-8px) scale(0.985); } }


/* ---------- Top bar: search and the "?" help panel ---------- */
.topbar-search { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.topbar .topbar-search .search { margin-left: 0; width: 340px; }
.help-wrap { position: relative; flex: none; }
.help-btn { display: grid; place-items: center; width: 2.125rem; height: 2.125rem; padding: 0; border: 1px solid var(--rule); border-radius: 50%; background: var(--panel); box-shadow: var(--shadow-card);
  font-weight: 600; font-size: 0.9375rem; color: var(--ink); transition: background var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out); }
.help-btn:hover, .help-btn[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); background: var(--accent-6); }
.help-btn:focus-visible, .help-close:focus-visible, .help-about:focus-visible, .toast .toast-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* The panel is moved out of the top bar when the page starts (see bindHelp): the top bar has its own blur, and a blur inside a
   blur has nothing behind it to frost, so the panel stayed see-through. Fixed, placed under the ? button. */
.help-panel { position: fixed; right: 16px; top: 76px; z-index: 45; width: min(360px, calc(100vw - 32px)); padding: 18px 18px 16px; text-align: left;
  border: 1px solid color-mix(in srgb, var(--rule) 70%, transparent); border-radius: 18px; background: color-mix(in srgb, var(--panel) 84%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.45); backdrop-filter: blur(18px) saturate(1.45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), var(--shadow-float);
  animation: ui-pop var(--t-base) var(--ease-out) both; }
.help-panel[hidden] { display: none; }
.help-panel:focus { outline: none; }
.help-title { margin: 0 28px 10px 0; font-family: var(--font-title); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.help-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: help; font-size: 0.875rem; line-height: 1.45; color: var(--ink-2); }
.help-steps li { position: relative; padding-left: 30px; counter-increment: help; }
.help-steps li::before { content: counter(help); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--accent-12); color: var(--accent); font-size: 0.7rem; font-weight: 600; }
.help-steps strong { color: var(--ink); font-weight: 600; }
.help-about { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 0.875rem; color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-20); }
.help-about:hover { border-bottom-color: var(--accent); }
.help-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); }
.help-close:hover { background: var(--fill); color: var(--ink); }
.help-close svg { width: 0.7rem; height: 0.7rem; }
@media (max-width: 760px) {
  .topbar { position: relative; z-index: 30; }
  .help-panel { background: color-mix(in srgb, var(--panel) 94%, transparent); }
  .topbar-search { order: 3; width: 100%; margin-left: 0; }
  .topbar .topbar-search .search { flex: 1; width: auto; min-width: 0; order: 0; }
}

/* No keyboard shortcut hint on phones and touch screens */
@media (max-width: 760px), (pointer: coarse) {
  .search .kbd-hint { display: none; }
  .search input { padding-right: 12px; }
}

/* ---------- Phone landing: full width, glow fades out before any edge ---------- */
@media (max-width: 760px) {
  /* The welcome fills the column exactly (the column has 8px side padding, so it reaches into it by 8px each side).
     100vw is 1px wider than the column, which made the screen slide sideways. */
  .browser[data-mode="home"] .nav-home { width: auto; margin: 0 -8px; padding: 0 0 20px; }
  .col-nav { overflow-x: hidden; }
  /* Welcome only: no path bar, and the landing starts right under the header. */
  .crumbs.is-welcome { display: none; }
  .browser[data-mode="home"] .col-nav { padding-top: 0; }
  /* Welcome on a phone: the landing runs under the glass top pane (the same way it does on a laptop), so the blue shows through the blur.
     The pane's real height is published by dashboard-landing-N.js (99px is the usual height). Everything stays where it was: the landing moves up by the pane's height and pads itself down by the same amount. */
  .browser[data-mode="home"] { margin-top: calc(var(--topbar-live-h, 99px) * -1); }
  .browser[data-mode="home"] .landing.is-compact { padding-top: var(--topbar-live-h, 99px); }
  .browser[data-mode="home"] .landing.is-compact .land-stage { padding-top: 64px; }
  .landing.is-compact { background: radial-gradient(ellipse 80% 130px at 50% 0, rgba(33, 74, 200, 0.12), rgba(33, 74, 200, 0) 100%), radial-gradient(ellipse 85% 46% at 50% 44%, rgba(33, 74, 200, 0.07), rgba(33, 74, 200, 0) 100%); }   /* the first layer is the blue the glass top pane shows */
  /* The background fades into the page at the bottom with a gradient laid over the background layers only. It used to be a mask on the whole landing,
     which also faded the bottom of the buttons and made them look like they glowed. Text and buttons sit above this layer and stay solid. */
  .landing.is-compact::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; z-index: 0; pointer-events: none;
    background: linear-gradient(to bottom, transparent, var(--bg)); }
}

/* ---------- Desktop: glass left menu over the landing and a faint wash on service pages ---------- */
.landing { --shift: 0px; }
@media (min-width: 761px) {
  .col-nav { background: color-mix(in srgb, var(--panel) 50%, transparent); -webkit-backdrop-filter: blur(10px) saturate(1.45); backdrop-filter: blur(10px) saturate(1.45);
    border-right: 1px solid var(--rule-soft); z-index: 3; }
  .browser:not([data-mode="home"]) { background: radial-gradient(480px 620px at 0% 34%, rgba(33, 74, 200, 0.11), rgba(33, 74, 200, 0) 72%); }
  .browser[data-mode="home"] .col-home { grid-column: 1 / -1; grid-row: 1; }
  .browser[data-mode="home"] .col-nav { grid-column: 1; grid-row: 1; }
  .browser[data-mode="home"] .landing { --shift: calc(var(--nav-w) / 2); padding-left: calc(var(--nav-w) + 24px);
    background: radial-gradient(900px 520px at calc(50% + var(--shift)) 28%, rgba(33, 74, 200, 0.07), rgba(33, 74, 200, 0) 70%); }
  .browser[data-mode="home"] .landing::before { -webkit-mask-image: radial-gradient(ellipse 70% 60% at calc(50% + var(--shift)) 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at calc(50% + var(--shift)) 40%, #000, transparent 75%); }
}

/* ---------- Pop-ups: dark glass, one size, stay open on hover, close button ---------- */
.toast-stack { width: min(460px, calc(100% - 24px)); grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
.toast { position: relative; width: 100%; box-sizing: border-box; min-height: 3.25rem; background: color-mix(in srgb, var(--ink) 68%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), var(--shadow-float); }
.toast .toast-check { flex: none; }
.toast .toast-msg { flex: 1; min-width: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow-wrap: anywhere; line-height: 1.3; }
.toast .toast-action { flex: none; margin-left: auto; }
.toast .toast-x { position: absolute; top: -8px; left: -8px; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; padding: 0; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 82%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; opacity: 0; pointer-events: none; transition: opacity var(--t-fast) var(--ease-out); }
.toast .toast-x svg { width: 0.6rem; height: 0.6rem; }
.toast:hover .toast-x, .toast:focus-within .toast-x { opacity: 1; pointer-events: auto; }
.toast .toast-x:hover { background: var(--ink); }
@media (hover: none) { .toast .toast-x { opacity: 1; pointer-events: auto; } }

/* ---------- Search: highlighted matches ---------- */
.palette-item mark { padding: 0 1px; border-radius: 4px; background: rgba(33, 74, 200, 0.2); color: var(--ink); font-weight: 700; }


/* ---------- Free Tools: a full-width grid of tiles; each tile opens the tool's own page ---------- */
.browser[data-tools="true"] .col-inspector { display: none; }
@media (min-width: 761px) { .browser[data-tools="true"] { grid-template-columns: var(--nav-w) minmax(0, 1fr); } }
/* An open tool: the tool page (dashboard mode) fills the main pane and the pane scrolls once. */
.tool-pane { padding: 12px 20px 24px; }
.tool-bar { display: flex; align-items: center; min-height: 36px; margin-bottom: 8px; }
/* The back button: the same bordered white button as the history arrows and the calculators' Reset (hairline, 10px corners, soft shadow); hover goes blue. */
.tool-back { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px 0 8px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow-card); font-size: 0.8125rem; font-weight: 600; color: var(--ink);
  transition: border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out); }
.tool-back:hover { border-color: var(--accent); color: var(--accent); }
.tool-back:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tool-back svg { width: 0.9rem; height: 0.9rem; transform: rotate(180deg); }
/* A tool or app page loads into a short, hidden frame (so nothing scrollable shows before there is content); once it reports its height the frame grows to fit and appears at once, with no fade. */
.tool-frame { display: block; width: 100%; height: 160px; border: 0; background: transparent; color-scheme: light; visibility: hidden; }
.tool-frame.is-ready { visibility: visible; }
@keyframes tool-frame-show { to { visibility: visible; } }
.tool-frame { animation: tool-frame-show 1ms 3s forwards; }   /* if a page never reports its height, show it anyway after 3 seconds */
@media (max-width: 760px) { .tool-pane { padding: 8px 12px 24px; } .tool-bar { display: none; } }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 0; padding: 20px; list-style: none; }
.tool-grid > li { display: flex; }
.tool-tile { position: relative; display: flex; flex-direction: column; flex: 1; aspect-ratio: 1 / 1; padding: 20px; border: 1px solid var(--rule-soft); border-radius: 18px; background: var(--panel);
  box-shadow: var(--shadow-card); color: var(--ink); text-decoration: none; transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out); }
.tool-tile:hover { border-color: var(--accent); box-shadow: var(--shadow-float); transform: translateY(-2px); }
.tool-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tool-tile-ico { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; margin-bottom: 16px; border-radius: 12px; color: #fff; background: linear-gradient(180deg, var(--accent-lift), var(--accent)); box-shadow: 0 10px 22px -12px rgba(33, 74, 200, 0.6); }
.tool-tile-ico svg { width: 1.5rem; height: 1.5rem; }
.tool-tile-title { margin-bottom: 6px; font-family: var(--font-title); font-weight: 600; font-size: 1.125rem; line-height: 1.2; letter-spacing: -0.01em; }
.tool-tile-sub { font-size: 0.8125rem; line-height: 1.45; color: var(--ink-2); }
/* 6PT Apps tiles: the same square tile as Free Tools, with the real app icon at 64px in a rounded square (22.4% corners, very soft shadow, hairline edge). */
.app-icon { position: relative; display: block; flex: none; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 22.4%; box-shadow: 0 1px 2px rgba(23, 25, 28, 0.10), 0 5px 12px -5px rgba(23, 25, 28, 0.20); }
.app-icon img { display: block; width: 100%; height: 100%; border-radius: inherit; }
.app-icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(23, 25, 28, 0.09); pointer-events: none; }
/* The open icon, the same as the Library app's Open button: an arrow up and right in a 28px framed square, bottom right of the tile. The whole tile is the link. */
.tool-tile-sub { padding-bottom: 12px; }
.tool-tile-go { display: grid; place-items: center; flex: none; align-self: flex-end; width: 28px; height: 28px; margin-top: auto; border: 1px solid var(--rule-soft); border-radius: 8px; background: var(--panel); color: var(--ink-2);
  transition: border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out); }
.tool-tile-go svg { width: 1rem; height: 1rem; transition: transform var(--t-fast) var(--ease-out); }
.tool-tile:hover .tool-tile-go { border-color: var(--accent); color: var(--accent); }
.tool-tile:hover .tool-tile-go svg { transform: translate(2px, -2px); }
@media (max-width: 760px) { .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px; } .tool-tile { padding: 16px; border-radius: 18px; } .tool-tile-ico { margin-bottom: 12px; } .tool-tile-sub { display: none; } }
/* Phones: two cards per row that stay inside their column (a square card used to grow past it when the title wrapped), all the same height. */
.tool-grid > li, .tool-tile { min-width: 0; }
@media (max-width: 760px) { .tool-tile { aspect-ratio: auto; height: 196px; } .app-icon { width: 44px; height: 44px; margin-bottom: 12px; } .app-tile .tool-tile-sub { display: block; font-size: 0.75rem; line-height: 1.4; padding-bottom: 8px; } }   /* app cards keep their line on phones ("Coming soon") */
.tool-callout { margin-top: 24px; }
.tool-callout-link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--accent-20); border-radius: 12px; background: var(--accent-6); color: var(--ink); text-decoration: none; }
.tool-callout-link:hover { border-color: var(--accent); }
.tool-callout-ico { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 12px; color: #fff; background: linear-gradient(180deg, var(--accent-lift), var(--accent)); }
.tool-callout-ico svg { width: 1.3rem; height: 1.3rem; }
.tool-callout-text { display: grid; gap: 1px; }
.tool-callout-eyebrow { font-size: 0.75rem; font-weight: 600; color: var(--accent); }
.tool-callout-title { font-weight: 600; }
.tool-callout-sub { font-size: 0.8125rem; color: var(--ink-2); }

/* Left menu rows. Each row's text block is centered with the same space above and below, so a description that wraps to a second line
   gets the same spacing as a one-line one (the row just grows). One-line rows share one minimum height. The menu is short on purpose:
   one-line descriptions. Two sizes by window height: roomy (770px and up) and medium (670 to 769px); below 670px the menu scrolls. */
@media (min-width: 761px) {
  #nav .nav-tabs { gap: 8px; }
  #nav .nav-tab { grid-template-rows: auto auto; align-content: center; row-gap: 2px; padding: 10px 12px; min-height: 60px; }
  #nav .nav-divider { margin: 2px 4px; }
}
@media (min-width: 761px) and (max-height: 769px) {
  #nav .nav-tabs { gap: 4px; }
  #nav .nav-tab { padding: 7px 12px; min-height: 52px; }
  #nav .nav-tab .nav-tab-sub { font-size: 0.75rem; line-height: 1.25; }
}
@media (min-width: 761px) and (max-height: 669px) {
  .col-nav { overflow-y: auto; }
}

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


/* 14. PRINT ---------------------------------------------------------------- */
#print-area { display: none; }

@media print {
  /* Sized so a simple request (contact info, a few services, a check, an
     ongoing role, notes) fits on one US Letter page. Larger requests flow
     onto page 2; the price summary never splits across pages. */
  @page { size: letter; margin: 0.5in 0.6in; }

  html,
  body {
    background: #fff !important;
    color: #000 !important;
  }

  /* Print ONLY the request summary, never the Finder interface. */
  body > *:not(#print-area) { display: none !important; }

  #print-area {
    display: block !important;
    font-family: var(--font);
    font-size: 9pt;
    line-height: 1.38;
    color: #000;
  }

  .p-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24pt;
    padding-bottom: 7pt;
    border-bottom: 1.25pt solid #000;
  }
  /* Logo shapes are written directly into the printout (no sprite references). */
  .p-logo { display: flex; align-items: center; gap: 0.2em; font-size: 15pt; line-height: 1; color: #000; }
  .p-star { display: block; width: 1.44em; height: 1.53em; }
  .p-wordmark { display: block; width: 2.88em; height: 1em; }
  .p-tagline { margin-top: 5pt; font-family: var(--mono); text-transform: uppercase; line-height: 1.5; }
  .p-tagline-1 { display: block; font-size: 6.5pt; letter-spacing: 0.32em; }
  .p-tagline-2 { display: block; font-size: 5.5pt; letter-spacing: 0.22em; }
  .p-date { font-size: 8pt; text-align: right; }

  .p-foot {
    display: flex;
    align-items: center;
    gap: 5pt;
    margin-top: 7pt;
    font-family: var(--mono);
    font-size: 5.5pt;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #000;
  }
  .p-foot-star { display: block; width: 6pt; height: 6.4pt; }

  .p-title { margin: 12pt 0 2pt; font-size: 14pt; font-weight: 600; }

  #print-area h2 {
    margin: 11pt 0 4pt;
    padding-bottom: 3pt;
    border-bottom: 0.75pt solid #000;
    font-size: 7.5pt;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    break-after: avoid;
    page-break-after: avoid;
  }

  #print-area h3 {
    margin: 6pt 0 1pt;
    font-size: 7pt;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    break-after: avoid;
    page-break-after: avoid;
  }

  .p-block { break-inside: avoid; page-break-inside: avoid; }

  .p-client {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2pt 24pt;
  }
  .p-client div { display: flex; gap: 8pt; padding: 1.5pt 0; border-bottom: 0.5pt solid #bbb; }
  .p-client dt { flex: none; width: 78pt; font-weight: 600; }
  .p-client dd { min-width: 0; overflow-wrap: anywhere; }

  .p-list { padding: 0; list-style: none; }
  .p-item {
    display: flex;
    justify-content: space-between;
    gap: 16pt;
    padding: 2.5pt 0;
    border-bottom: 0.5pt solid #bbb;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .p-item-title { font-weight: 600; }
  .p-item-detail { font-size: 7.5pt; margin-top: 1pt; }
  .p-item-price { flex: none; text-align: right; }

  .p-scope div { display: flex; justify-content: space-between; padding: 2pt 0; border-bottom: 0.5pt solid #bbb; }
  .p-scope dd { font-weight: 700; }
  .p-scope div.p-total { margin-top: 3pt; padding-top: 4pt; border-top: 1.25pt solid #000; border-bottom: 0; font-size: 10pt; font-weight: 700; }
  .p-total-note { margin-top: 3pt; font-size: 7.5pt; }

  .p-notes { white-space: pre-wrap; overflow-wrap: anywhere; }

  .p-disclaimer {
    margin-top: 12pt;
    padding-top: 6pt;
    border-top: 0.75pt solid #000;
    font-size: 7pt;
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* ==========================================================================
   SERVICE LIST (second pane), version 2: inset rounded rows, price under the name, quiet prices, bigger check, glass title bar.
   Everything for this look is in this block (plus the .list-bar markup in dashboard-render-5.js and syncListBar in
   dashboard-landing-4.js). Tweak the three numbers below, or revert the "service list v2" commit to return to the earlier look.
   ========================================================================== */
.col-list { --row-inset: 12px; --row-gap: 4px; --row-radius: 12px; }

/* Rows: soft rounded cards on the page, no hairlines. The sliding .sel-bar is now the highlight behind the current row. */
.rows { display: grid; gap: var(--row-gap); padding: 12px var(--row-inset) 8px; }
.row-item { position: relative; z-index: 1; border-bottom: 0; border-radius: var(--row-radius); }
.rows .row-item.is-current { background: transparent; }
.sel-bar { left: var(--row-inset); right: var(--row-inset); width: auto; box-sizing: border-box; border-radius: var(--row-radius);
  background: var(--accent-6); border: 1px solid var(--accent-20); }
.row { padding: 11px 14px 11px 6px; border-radius: var(--row-radius); }
.row-item-info .row { padding-left: 16px; }

/* Name on top, price under it (the third pane carries the description) */
.row-item:not(.row-item-info) .row { grid-template-columns: minmax(0, 1fr) 0.75rem; grid-template-rows: auto auto; row-gap: 2px; padding-top: 13px; padding-bottom: 13px; }
.row-item:not(.row-item-info) .row-title { grid-column: 1; grid-row: 1; }
.row-item:not(.row-item-info) .row-meta { grid-column: 1; grid-row: 2; justify-self: start; }
.row-item:not(.row-item-info) .row > .icon:last-child, .row-item:not(.row-item-info) .row > svg:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.row-item.is-current .row-title { font-weight: 600; }

/* Prices: quiet text; cobalt only once the service is in the request */
.row-meta, .row-item.is-current .row-meta { padding: 0; border-radius: 0; background: none; color: var(--ink-2); font-size: 0.8125rem; font-weight: 500; }
.row-item.is-added .row-meta { color: var(--accent); font-weight: 600; }

/* Check box: larger, rounded, fills with cobalt and the tick pops in */
.row-check { min-width: 2.75rem; padding: 0 2px 0 14px; }
.row-check input { width: 1.25rem; height: 1.25rem; border: 1.5px solid color-mix(in srgb, var(--ink) 38%, transparent); border-radius: 6px;
  transition: background var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out); }
.row-check input:hover { border-color: var(--ink); }
.row-check input::before { width: 0.6rem; height: 0.34rem; transform: rotate(-45deg) scale(0.4); transition: transform var(--t-base) var(--ease-out), opacity var(--t-fast) linear; }
.row-check input:checked { border-color: var(--accent); }
.row-check input:checked::before { transform: rotate(-45deg) scale(1); }

/* Heading scrolls away with the list; a compact glass bar takes its place (no layout change, so nothing jumps). */
.list-head { position: relative; top: auto; z-index: 1; }
.list-bar { position: sticky; top: 0; z-index: 3; height: 0; pointer-events: none; }
.list-bar-in { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: baseline; gap: 10px; min-height: 44px; box-sizing: border-box; padding: 11px 20px 0;
  background: color-mix(in srgb, var(--panel) 62%, transparent); -webkit-backdrop-filter: blur(10px) saturate(1.45); backdrop-filter: blur(10px) saturate(1.45);
  border-bottom: 1px solid var(--rule-soft); opacity: 0; transform: translateY(-6px); transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out); }
.list-bar.is-on .list-bar-in { opacity: 1; transform: none; }
.list-bar-title { font-family: var(--font-title); font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.list-bar-meta { font-size: 0.78rem; color: var(--ink-2); }
@media (max-width: 760px) { .row-check { padding: 0 4px 0 12px; } .row { padding: 13px 14px 13px 4px; } .list-bar-in { padding-left: 16px; padding-right: 16px; } }

/* ==========================================================================
   TOUCH AND PHONE: search close button, no keyboard hints, glass request bar
   ========================================================================== */
.palette-x { display: none; flex: none; place-items: center; width: 2.5rem; height: 2.5rem; margin: -6px -8px -6px 0; padding: 0; border: 0; border-radius: 50%; background: var(--fill); color: var(--ink); }
.palette-x .ui-ico { width: 1.1rem; height: 1.1rem; color: inherit; }
.palette-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Touch-only devices have no arrow keys, Enter or Esc: show a close button and drop the key hints. */
@media (hover: none), (pointer: coarse) {
  .palette-x { display: grid; }
  .palette-foot { display: none; }
  .palette-input input { font-size: 1rem; }   /* 16px: smaller makes iPhones zoom the page when the field is tapped */
}
/* Phone: the Review Request bar is glass and the lists scroll underneath it. */
@media (max-width: 760px) {
  .requestbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 30; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--panel) 62%, transparent); -webkit-backdrop-filter: blur(10px) saturate(1.45); backdrop-filter: blur(10px) saturate(1.45);
    border-top: 1px solid var(--rule-soft); }
  .col-nav, .col-list, .col-inspector { padding-bottom: 88px; }
}

/* Menu tabs and items: the count is a small badge on the icon's top-right corner, so text and chevron never lose width to it. */
.nav-tab .nav-badge, .nav-item .nav-badge { position: absolute; grid-column: auto; grid-row: auto; z-index: 2; left: 23px; top: calc(50% - 19px); box-sizing: border-box; min-width: 0.9375rem; height: 0.9375rem; margin: 0; padding: 0 3px;
  display: grid; place-items: center; font-size: 0.625rem; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums;
  background: var(--accent); color: #fff; box-shadow: 0 0 0 2px var(--panel); pointer-events: none; }
.nav-item .nav-badge { left: 24px; box-shadow: 0 0 0 2px var(--bg); }
.nav-tab.is-active .nav-badge { background: #fff; color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.nav-item[aria-current="true"] .nav-badge { background: var(--accent); color: #fff; }
/* A little more room between icon and text, so the badge on the icon never touches the title. */
.nav-tab { column-gap: 12px; }
.nav-item { gap: 12px; }

/* ==========================================================================
   CONTENT PANES, version 2: soft rounded notes, pill tags, rounded rows and cards instead of hairline lists, normal type instead of
   typewriter type, text actions as small buttons. One block so it can be tweaked or reverted on its own.
   ========================================================================== */

/* Notes: a soft cobalt tint with a small info icon, no heavy bar */
.callout, .info-callout { position: relative; padding: 14px 16px 14px 46px; border: 1px solid var(--accent-20); border-left-width: 1px; border-radius: 12px; background: var(--accent-6);
  font-size: 0.9375rem; line-height: 1.55; color: var(--ink-soft); }
.callout::before, .info-callout::before { content: ""; position: absolute; left: 16px; top: 15px; width: 18px; height: 18px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 11v5.5M12 7.6v.1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 11v5.5M12 7.6v.1'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Tags: fully rounded pills with a faint cobalt tint */
.tags { gap: 8px; }
.tags li { padding: 4px 12px; border-radius: var(--radius-pill); background: var(--accent-6); box-shadow: inset 0 0 0 1px var(--accent-12); color: var(--ink-soft); }

/* Normal type where it was typewriter type */
.team-role, .related-meta, .req-point { font-family: var(--font); }
.team-role { font-size: 0.8125rem; }
.related-meta { font-size: 0.8125rem; }
.crumb-trail { font-family: var(--font); font-size: 0.8125rem; letter-spacing: 0; }
.crumb-trail li + li::before { content: "\203A"; font-size: 1.15em; line-height: 1; }
.crumb-trail button { padding: 4px 2px; text-decoration: none; }
.crumb-trail button:hover { color: var(--accent); }

/* Headings: no hairline under them */
.insp-section > h3 { padding-bottom: 0; margin-bottom: 12px; border-bottom: 0; }
.insp-section > h3 .mono { padding: 2px 10px; border-radius: var(--radius-pill); background: var(--fill); font-family: var(--font); font-size: 0.75rem; font-weight: 600; letter-spacing: 0; }
.req-group > h4, .faq-group-title { padding-bottom: 0; border-bottom: 0; }

/* Lists: rounded rows instead of hairlines */
.related-list { display: grid; gap: 8px; }
.related-link { padding: 12px 14px; border: 1px solid var(--rule-soft); border-radius: 12px; background: var(--panel); box-shadow: var(--shadow-card);
  transition: border-color var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out); }
.related-link:hover { border-color: var(--accent-20); background: var(--accent-6); }
.related-link:hover .related-title { text-decoration: none; color: var(--accent); }
.req-list { display: grid; gap: 8px; margin-top: 10px; }
.req-item { padding: 12px 14px; border: 1px solid var(--rule-soft); border-radius: 12px; background: var(--panel); box-shadow: var(--shadow-card); }
.req-title { text-decoration: none; }
.req-title:hover { color: var(--accent); }
.includes { column-gap: 20px; }
.includes li { padding: 7px 0 7px 26px; border-bottom: 0; }
.includes li::before { left: 0; top: 9px; width: 16px; height: 16px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.notes li + li { border-top: 0; }
.team-list { display: grid; gap: 12px; border-top: 0; }
.team-member { padding: 18px 20px; border: 1px solid var(--rule-soft); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow-card); }

/* Small text actions become small rounded buttons */
.req-remove, .faq-toggle { padding: 4px 10px; border: 0; border-radius: 8px; background: var(--fill); font-size: 0.75rem; font-weight: 600; text-decoration: none; letter-spacing: 0;
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out); }
.faq-toggle { padding: 6px 12px; font-size: 0.8125rem; color: var(--ink); }
.req-remove:hover, .faq-toggle:hover { background: var(--accent-12); color: var(--accent); }

/* FAQ: each question is a soft card; the chevron turns when it opens */
.faq-list { display: grid; gap: 8px; margin-top: 12px; }
.faq-item { border: 1px solid var(--rule-soft); border-radius: 12px; background: var(--panel); box-shadow: var(--shadow-card); overflow: hidden; transition: border-color var(--t-fast) var(--ease-out); }
.faq-item[open] { border-color: var(--accent-20); }
.faq-item summary { align-items: center; padding: 14px 16px; }
.faq-item summary:hover { background: var(--accent-6); }
.faq-item summary::after, .faq-item[open] summary::after { content: ""; width: 14px; height: 14px; background: var(--ink-2); transform: rotate(90deg); transition: transform var(--t-base) var(--ease-out), background var(--t-fast) var(--ease-out);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.faq-item[open] summary::after { transform: rotate(-90deg); background: var(--accent); }
.faq-a { padding: 0 44px 16px 16px; }

/* About page: a lead paragraph, the model in a card, the six points as pills, a closing card */
.info-page .insp-title + .info-body > p:first-child { font-size: 1.0625rem; color: var(--ink); }
.about-model { padding: 20px 22px; border: 1px solid var(--rule-soft); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow-card); }
.about-model > h3 { font-size: 1.25rem; }
.info-points .home-points-wrap { margin-top: 28px; padding: 0; border: 0; }
.info-points .home-points { justify-content: flex-start; gap: 8px; }
.info-points .home-dot { display: none; }
.info-points .home-point { padding: 6px 14px; border-radius: var(--radius-pill); background: var(--accent-6); box-shadow: inset 0 0 0 1px var(--accent-12); font-size: 0.8125rem; letter-spacing: 0; text-transform: none;
  transition: background var(--t-fast) var(--ease-out); }
.info-points .home-point:hover { background: var(--accent-12); text-decoration: none; }
.info-points .home-points-note { text-align: left; margin-top: 10px; }
.info-closing { padding: 16px 20px; border: 1px solid var(--accent-12); border-radius: 14px; background: var(--accent-6); font-size: 1rem; color: var(--ink); }
.text-button { padding: 5px 12px; border: 0; border-radius: 8px; background: var(--accent-6); font-size: 0.8125rem; letter-spacing: 0; text-decoration: none; color: var(--accent);
  transition: background var(--t-fast) var(--ease-out); }
.text-button:hover { background: var(--accent-12); }
.text-button:disabled { border: 0; background: var(--fill); color: var(--ink-2); }

/* FAQ: Expand all sits on the first group's heading line */
.faq-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq-group-head .faq-group-title { min-width: 0; }

/* Dropdowns: the same height, corners, text and padding as the text fields, with our own chevron (still the system picker on phones) */
.field select { -webkit-appearance: none; appearance: none; padding-right: 36px; cursor: pointer;
  background-color: var(--panel);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317191C' stroke-opacity='0.6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 14px 14px; }
.field select:invalid, .field select option[value=""] { color: var(--ink-2); }
.drawer-section > h3 { padding-bottom: 0; border-bottom: 0; }

.info-note.info-note-next { margin-top: 8px; }

/* 6PT Apps is a real link (address /apps), so it needs the look of the buttons beside it. */
a.nav-tab { color: inherit; text-decoration: none; }

/* Boot: the menu and lists are built by script, so their columns stay hidden until it has run (no flash of an empty shell). The top bar and frame show at once. */
html.boot .browser { visibility: hidden; }
