
:root {
  --ink: #14171a;
  --ink-heading: #052f57;
  --ink-soft: #4d545b;
  --ink-faint: #838b93;
  --paper: #ffffff;
  --surface: #f5f7f6;
  --surface-2: #eef2f0;
  --line: #e0e5e2;
  --line-strong: #c8d0cb;

  /* Sampled from the logo rather than approximated: the wordmark and the
     interface must be the same green, or the header looks like two brands. */
  --brand: #01b785;          /* VindMarkt green */
  --brand-bright: #16d29c;   /* hover and focus */
  --brand-ink: #007a58;      /* green text on a pale background, for contrast */
  --brand-wash: #e6f8f2;
  --brand-tint: #f2fbf8;

  /* The navy from the logo. Used for headings and the wordmark, so the
     interface reads as the same family as the mark rather than green on grey. */
  --navy: #052f57;
  --navy-soft: #1c4a75;

  /* The blue in the V. Present in the mark, deliberately not used as an
     interface colour: three brand colours on a screen is one too many, and the
     blue is the one carrying the least meaning. */
  --accent: #005cdb;

  --star: #f0a500;
  --warn: #b26a00;
  --danger: #a3231a;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --tap: 48px;
  --shadow: 0 1px 2px rgba(20, 23, 26, .04), 0 8px 24px rgba(20, 23, 26, .06);
  --shadow-sm: 0 1px 2px rgba(20, 23, 26, .05);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* Room for the mobile tab bar. */
  padding-bottom: 72px;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--brand); }

.shell { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.shell--narrow { max-width: 720px; }

/* ---------- masthead ---------- */

.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.masthead .shell { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.wordmark {
  display: flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 1.28rem; letter-spacing: -.025em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
/* The name is one word, in one flex item.
   Vind and the Markt span were two separate children of a flex row, so the
   9px meant for the gap after the mark was applied between them as well — the
   name read as two words with a hole in the middle, which the logo does not
   have. Wrapping them makes the gap apply once, where it was meant to.
   (No backticks in this file: it is one template literal.) */
.wordmark__text { display: inline; }
.wordmark { color: var(--navy); font-weight: 800; letter-spacing: -.02em; }
/* The mark carries its own colours, so it must not inherit the link colour. */
.wordmark .mark { color: inherit; flex: none; }
.wordmark span { color: var(--brand); }
.wordmark svg { color: var(--navy); }

.masthead nav { display: none; gap: 30px; flex: 1; }
.burger {
  margin-left: auto; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; background: none; color: var(--ink); cursor: pointer;
}
.masthead nav a {
  color: var(--ink-soft); text-decoration: none; font-size: .95rem;
  font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent;
}
.masthead nav a:hover { color: var(--ink); }
.masthead nav a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }

.masthead .actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: none; align-items: center; gap: 5px; font-size: .9rem; color: var(--ink-soft); text-decoration: none; }
.desk { display: none; }

.menu { margin-left: auto; position: relative; }
.menu > summary {
  list-style: none; width: 44px; height: 44px; display: grid; place-items: center;
  cursor: pointer; color: var(--ink); border-radius: var(--r-sm);
}
.menu > summary::-webkit-details-marker { display: none; }
.menu[open] > summary { background: var(--surface-2); }
.menu-panel {
  position: absolute; right: 0; top: 52px; z-index: 40; min-width: 210px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 6px; display: grid;
}
.menu-panel a {
  padding: 12px 14px; border-radius: var(--r-sm); color: var(--ink);
  text-decoration: none; font-weight: 550; font-size: .95rem;
}
.menu-panel a:hover { background: var(--surface); }

/* ---------- hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--brand-tint), var(--paper));
  border-bottom: 1px solid var(--line);
}
.hero { padding-bottom: 0; }
.hero .shell { padding-top: 26px; padding-bottom: 26px; }
.hero-grid { display: grid; gap: 24px; }
/* On a phone the reference centres everything above the search card. */
.hero-copy { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: .82rem; font-weight: 550;
  color: var(--ink-soft); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

.hero h1 {
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  line-height: 1.08; letter-spacing: -.032em; margin: 0 0 14px;
}
.hero h1 em { font-style: normal; color: var(--brand); display: block; }
h1, h2 { color: var(--ink-heading); }
.hero .lead { font-size: 1.02rem; color: var(--ink-soft); margin: 0 auto 20px; max-width: 46ch; }
.eyebrow { margin-bottom: 18px; }

/* The photo panel. A drawn bicycle stands in for the photograph. */
.hero-art { position: relative; }
.rated {
  position: absolute; right: 16px; bottom: 16px;
  background: var(--paper); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
}
.rated .star {
  width: 30px; height: 30px; border-radius: 8px; background: #fff6e0;
  display: grid; place-items: center; color: var(--star); flex: none;
}
.rated strong { display: block; font-size: .85rem; font-weight: 650; }
.rated span { font-size: .78rem; color: var(--ink-faint); }

.hero-art {
  display: none;
  border-radius: 0;
  background:
    radial-gradient(120% 90% at 78% 18%, #d8e9e1 0%, transparent 60%),
    linear-gradient(160deg, #eaf3ee 0%, #dbe8e1 100%);
  border: 1px solid var(--line);
  min-height: 330px;
  place-items: center;
  color: var(--brand);
  padding: 30px;
}
.hero-art svg { width: 76%; height: auto; opacity: .92; }

/* ---------- search panel ---------- */

.search {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 10px;
  display: grid;
  gap: 8px;
  text-align: left;
}
.search .field {
  margin: 0;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 9px 46px 10px 14px;
  background: var(--paper);
}
.affordance {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--ink-faint); pointer-events: none;
}
.search label {
  display: block; font-size: .8rem; font-weight: 500;
  color: var(--ink-faint); margin-bottom: 1px;
}
/* The input carries no chrome of its own: the row around it is the control. */
.search input, .search select {
  border: 0; padding: 0; min-height: 26px; font-size: 1rem; font-weight: 550;
  background: transparent; width: 100%;
}
.search input:focus-visible, .search select:focus-visible { outline-offset: 6px; }
.search .btn { margin-top: 2px; }

.tabs { display: flex; gap: 4px; margin: 0 0 -6px; }
.tabs a {
  flex: 1; text-align: center; padding: 14px 8px 18px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  font-size: 1rem; font-weight: 600; color: var(--ink-soft); text-decoration: none;
  background: transparent;
}
.tabs a[aria-current="page"] {
  background: var(--paper); color: var(--brand);
  box-shadow: 0 -2px 12px rgba(20, 23, 26, .05);
}

/* ---------- trust strip ---------- */

.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px;
  padding: 24px 0 6px; text-align: center;
}
.trust > div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.trust svg { color: var(--brand); flex: none; }
.trust strong { display: block; font-size: .8rem; font-weight: 650; line-height: 1.2; }
.trust span { font-size: .72rem; color: var(--ink-faint); line-height: 1.3; }

/* ---------- sections ---------- */

.section { padding: 34px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2 { font-size: 1.35rem; letter-spacing: -.02em; margin: 0; }
.section-head a { font-size: .9rem; font-weight: 600; text-decoration: none; }

/* ---------- route cards ---------- */

.routes { display: grid; grid-template-columns: 1fr; gap: 10px; }
.route {
  display: flex; align-items: center; gap: 14px; min-height: var(--tap);
  padding: 16px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); text-decoration: none; color: var(--ink);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.route:hover, .route:focus-visible { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.route .icon {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink-soft); flex: none;
}
.route:hover .icon { background: var(--brand-wash); color: var(--brand); }
.route strong { display: block; font-size: .97rem; font-weight: 650; }
.route span { font-size: .84rem; color: var(--ink-faint); }
.route .chev { margin-left: auto; color: var(--line-strong); flex: none; }

/* ---------- service cards ---------- */

.services {
  display: grid; grid-auto-flow: column; grid-auto-columns: 46%;
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 4px; margin: 0 -20px; padding-left: 20px; padding-right: 20px;
}
.services .service { scroll-snap-align: start; }
.services::-webkit-scrollbar { height: 0; }
.service {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column;
}
.service:hover { border-color: var(--brand); }
.service .art {
  height: 104px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--brand-wash), var(--surface-2));
  color: var(--brand); border-bottom: 1px solid var(--line);
}
.service .body { padding: 12px 14px 14px; }
.service strong { display: block; font-size: .92rem; font-weight: 650; line-height: 1.3; }
.service .from { display: block; font-size: .85rem; color: var(--brand); font-weight: 650; margin-top: 4px; }

/* ---------- provider cards ---------- */

.providers { display: grid; grid-template-columns: 1fr; gap: 12px; }

/* Phone: a list row. The cover and the button belong to the card layout and
   are hidden here; the price moves to the right with a chevron. */
.provider {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  padding: 14px 14px 14px 0;
}
.provider .cover { display: none; }
.provider .book { display: none; }
.provider .body { padding: 0 0 0 14px; display: grid; gap: 5px; }
.provider .who { margin-top: 0; }
.provider .who h3 { padding-top: 0; }
.provider .meta .price { display: none; }
.tail {
  display: flex; flex-direction: column; align-items: flex-end; gap: 0;
  text-decoration: none; color: var(--ink); padding-left: 10px;
}
.tail .from { font-size: .78rem; color: var(--ink-faint); }
.tail strong { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.tail svg { color: var(--line-strong); margin-top: 2px; }
.provider .cover {
  position: relative; height: 118px;
  background: linear-gradient(150deg, #dfece6, #cfe0d7);
  display: grid; place-items: center; color: var(--brand);
}
.provider .kind {
  position: absolute; top: 10px; left: 10px; background: var(--paper);
  border-radius: 999px; padding: 4px 11px; font-size: .74rem; font-weight: 650;
  color: var(--brand-ink); box-shadow: var(--shadow-sm);
}
/* The avatar sits over the cover image in the card layout. */
.provider .who { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: .85rem; font-weight: 700; flex: none;
  border: 3px solid var(--paper); box-shadow: var(--shadow-sm);
}
.provider .who h3 { padding-top: 18px; }
.provider h3 { margin: 0; font-size: 1rem; font-weight: 650; letter-spacing: -.01em; }
.provider .meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rating { display: flex; align-items: center; gap: 5px; font-size: .88rem; font-weight: 600; }
.rating svg { color: var(--star); }
.rating span { color: var(--ink-faint); font-weight: 500; }
.price { font-size: .88rem; color: var(--ink-soft); }
.price strong { color: var(--ink); font-weight: 700; }
.facts { display: flex; gap: 16px; font-size: .84rem; color: var(--ink-faint); }
.facts span { display: flex; align-items: center; gap: 5px; }
.kind-pill {
  background: var(--brand-wash); color: var(--brand-ink);
  border-radius: 999px; padding: 3px 10px; font-size: .74rem; font-weight: 600;
}
.tabs a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.tabs svg { width: 17px; height: 17px; }
.verified { color: var(--brand); flex: none; }

/* ---------- forms ---------- */

.field { margin-bottom: 18px; }
label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.hint { font-size: .84rem; color: var(--ink-soft); margin: 0 0 8px; }

input[type=text], input[type=email], input[type=tel], input[type=search],
input[type=password], input[type=number], select, textarea {
  width: 100%; min-height: var(--tap); padding: 0 14px; font: inherit; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r);
}
input::placeholder { color: var(--ink-faint); }
textarea { padding: 12px 14px; min-height: 120px; resize: vertical; }

input:focus-visible, select:focus-visible, textarea:focus-visible,
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--tap); width: 100%; padding: 0 22px; font: inherit; font-weight: 650;
  border-radius: var(--r); border: 1px solid transparent; background: var(--brand);
  color: #fff; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--brand-bright); }
.btn--quiet { background: var(--paper); color: var(--ink); border-color: var(--line-strong); }
.btn--quiet:hover { background: var(--surface); }
/* The card action in the reference is a soft green fill, not an outline. */
.btn--soft { background: var(--brand-wash); color: var(--brand-ink); border-color: transparent; }
.btn--soft:hover { background: #dcece5; }
.btn--sm { min-height: 42px; font-size: .92rem; }
.btn--auto { width: auto; }

/* ---------- panels, rows, timeline ---------- */

.panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.rows { border-top: 1px solid var(--line); }
.row {
  display: flex; justify-content: space-between; gap: 16px; padding: 13px 0;
  border-bottom: 1px solid var(--line); align-items: baseline;
}
.row strong { font-weight: 600; }
.row span { color: var(--ink-soft); font-size: .88rem; text-align: right; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 26px 30px; border-left: 2px solid var(--line); color: var(--ink-faint); }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--line);
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline .done { color: var(--ink-soft); }
.timeline .done::before { background: var(--brand); border-color: var(--brand); }
.timeline .now { color: var(--ink); font-weight: 650; }
.timeline .now::before { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-wash); }

.stub { border: 1px dashed var(--line-strong); border-radius: var(--r); background: var(--paper); padding: 22px; }
.stub h1 { color: var(--warn); }
.stub ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.stub li { margin-bottom: 8px; }

h1 { font-size: 1.9rem; line-height: 1.15; letter-spacing: -.025em; margin: 0 0 14px; }
h2 { font-size: 1.15rem; margin: 30px 0 10px; letter-spacing: -.015em; }
p { margin: 0 0 16px; max-width: 62ch; }
.lead { color: var(--ink-soft); }
.fine { font-size: .84rem; color: var(--ink-faint); }
main { padding: 26px 0 40px; }

/* ---------- mobile tab bar ---------- */

.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; background: var(--paper);
  border-top: 1px solid var(--line); display: flex; z-index: 30;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.tabbar a {
  flex: 1; min-height: 60px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  color: var(--ink-faint); text-decoration: none; font-size: .7rem; font-weight: 550;
}
.tabbar a[aria-current="page"] { color: var(--brand); }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line); padding: 26px 0 34px;
  font-size: .88rem; color: var(--ink-faint); background: var(--surface);
}
footer .shell { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ---------- larger screens ---------- */

@media (min-width: 700px) {
  .services {
    grid-auto-flow: row; grid-template-columns: repeat(4, 1fr);
    overflow: visible; margin: 0; padding-left: 0; padding-right: 0;
  }
  .routes { grid-template-columns: repeat(2, 1fr); }
  .providers { grid-template-columns: repeat(2, 1fr); }
  .search { grid-template-columns: 2fr 1.2fr 1fr auto; align-items: end; gap: 12px; }
  .search .btn { width: auto; }
  h1 { font-size: 2.3rem; }
}

@media (min-width: 1000px) {
  body { padding-bottom: 0; font-size: 17px; }
  .masthead nav { display: flex; }
  .lang { display: flex; }
  .tabbar { display: none; }
  .hero-copy { text-align: left; }
  .hero-copy .lead { margin-left: 0; }
  .hero { position: relative; overflow: hidden; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; align-items: center; }
  .hero-art {
    display: grid;
    /* Runs off the right edge of the page, as in the reference. */
    margin-right: calc(50% - 50vw);
    align-self: stretch;
    min-height: 460px;
    border: 0;
  }
  .hero .shell { padding-top: 46px; padding-bottom: 36px; }
  .tabs { max-width: 420px; }
  .desk { display: inline-flex; }
  .menu { display: none; }
  .trust {
    grid-template-columns: repeat(4, 1fr); text-align: left; gap: 18px 20px;
  }
  .trust > div { flex-direction: row; align-items: flex-start; gap: 10px; }
  .trust svg { margin-top: 2px; }
  .trust strong { font-size: .88rem; }
  .trust span { font-size: .8rem; }
  .routes { grid-template-columns: repeat(5, 1fr); }
  .route { min-height: 92px; }
  .providers { grid-template-columns: repeat(4, 1fr); }

  /* Wide screen: back to a card. */
  .provider {
    display: flex; flex-direction: column; align-items: stretch; padding: 0;
  }
  .provider .cover { display: grid; }
  .provider .book { display: inline-flex; }
  .provider .body { padding: 0 16px 16px; gap: 9px; }
  .provider .who { margin-top: -21px; }
  .provider .who h3 { padding-top: 18px; }
  .provider .meta .price { display: inline; }
  .tail { display: none; }

  .section { padding: 44px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

@media (prefers-contrast: more) {
  :root { --line: #98a29b; --line-strong: #5f6a63; --ink-soft: #2c3236; --ink-faint: #444b50; }
}

/* ---------- step header and progress ---------- */

.stepbar { display: flex; align-items: center; gap: 12px; padding: 6px 0 18px; }
.stepbar a {
  width: 40px; height: 40px; display: grid; place-items: center; flex: none;
  border-radius: var(--r-sm); color: var(--ink); text-decoration: none;
}
.stepbar a:hover { background: var(--surface-2); }
.stepbar h1 { font-size: 1.05rem; margin: 0; letter-spacing: -.01em; }

.progress { margin: 22px 0 8px; }
.progress .label { font-size: .85rem; color: var(--ink-faint); margin-bottom: 8px; }
.progress .track { height: 4px; border-radius: 999px; background: var(--surface-2); }
.progress .track > span { display: block; height: 4px; border-radius: 999px; background: var(--brand); }

/* ---------- choice rows ---------- */

.choices { display: grid; gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 14px;
  min-height: 62px; padding: 12px 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; color: var(--ink); cursor: pointer;
  font: inherit; text-align: left; width: 100%;
}
.choice:hover { border-color: var(--brand); }
.choice .icon {
  width: 38px; height: 38px; display: grid; place-items: center; flex: none;
  border-radius: 50%; border: 1px solid var(--line); color: var(--ink-soft);
}
.choice strong { display: block; font-size: .97rem; font-weight: 600; }
.choice span.sub { display: block; font-size: .84rem; color: var(--ink-faint); }
.choice .chev, .choice .radio { margin-left: auto; flex: none; color: var(--line-strong); }
.radio {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line-strong); display: grid; place-items: center;
}
.choice[aria-current="true"] { border-color: var(--brand); background: var(--brand-tint); }
.choice[aria-current="true"] .radio {
  border-color: var(--brand); background: var(--brand); color: #fff;
}
.choice[aria-current="true"] .icon { border-color: var(--brand); color: var(--brand); }

/* Icon grid, for the problem picker. */
.grid-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.grid-choice {
  display: grid; place-items: center; gap: 8px; padding: 16px 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; color: var(--ink); text-align: center; min-height: 96px;
}
.grid-choice:hover { border-color: var(--brand); }
.grid-choice .icon {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-soft);
}
.grid-choice span { font-size: .8rem; font-weight: 550; line-height: 1.25; }

/* ---------- filter chips ---------- */

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 14px; }
.chips a {
  flex: none; padding: 8px 16px; border-radius: 999px; font-size: .88rem;
  font-weight: 600; text-decoration: none; color: var(--ink-soft);
  background: var(--surface-2); border: 1px solid transparent;
}
.chips a[aria-current="page"] { background: var(--brand); color: #fff; }
.chips::-webkit-scrollbar { height: 0; }

/* ---------- option rows (results) ---------- */

.options { display: grid; gap: 10px; }
.option {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 14px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); text-decoration: none; color: var(--ink);
}
.option:hover { border-color: var(--brand); }
.option .avatar { width: 46px; height: 46px; border: 0; }
.option h3 { margin: 0 0 2px; font-size: .97rem; font-weight: 650; }
.option .lines { display: grid; gap: 3px; font-size: .82rem; color: var(--ink-faint); }
.option .price { text-align: right; }
.option .price .from { display: block; font-size: .75rem; color: var(--ink-faint); }
.option .price strong { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.badge-top {
  display: inline-flex; align-items: center; gap: 4px; margin-left: 6px;
  background: #fff6e0; color: #8a5a00; border-radius: 999px;
  padding: 2px 8px; font-size: .7rem; font-weight: 650;
}

/* ---------- summary ---------- */

.summary { background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 4px 16px; margin-bottom: 16px; }
.summary .row:last-child { border-bottom: 0; }
.included { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.included li { display: flex; gap: 10px; align-items: center; font-size: .92rem; }
.included svg { color: var(--brand); flex: none; }

/* A real radio input, kept for keyboard and screen-reader users while the
   visible control is the row around it. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- sticky action ---------- */

.sticky {
  position: sticky; bottom: 72px; background: var(--paper);
  padding: 14px 0 4px; margin-top: 20px;
  border-top: 1px solid var(--line);
}
.sticky .fine { text-align: center; margin: 10px 0 0; }

@media (min-width: 700px) {
  .grid-choices { grid-template-columns: repeat(6, 1fr); }
  .sticky { position: static; border-top: 0; }
}

/* ---------- a result screen: confirmed, completed, offline ---------- */

.result { text-align: center; padding: 24px 0 8px; }
.result .mark {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center;
  background: var(--brand-wash); color: var(--brand);
}
.result .mark--warn { background: #fdf3e3; color: var(--warn); }
.result .mark--err { background: #fdecea; color: var(--danger); }
.result h1 { font-size: 1.6rem; margin-bottom: 8px; }
.result .lead { margin: 0 auto 20px; max-width: 38ch; }
.result .amount {
  font-size: 2.1rem; font-weight: 700; letter-spacing: -.03em; margin: 4px 0 2px;
}

/* ---------- tracking timeline ---------- */
/*
 * A step is done, current, or not yet. Each carries an icon and a word as well
 * as a colour, because colour alone is not a status (§5).
 */
.track { list-style: none; margin: 0; padding: 0; }
.track li {
  position: relative; padding: 0 0 26px 34px; min-height: 34px;
  border-left: 2px solid var(--line); color: var(--ink-faint);
}
.track li:last-child { border-left-color: transparent; padding-bottom: 0; }
.track li::before {
  content: ""; position: absolute; left: -9px; top: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line);
}
.track .done { color: var(--ink-soft); }
.track .done::before { background: var(--brand); border-color: var(--brand); }
.track .now { color: var(--ink); font-weight: 650; }
.track .now::before { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-wash); }
.track strong { display: block; font-size: .95rem; }
.track time { font-size: .82rem; color: var(--ink-faint); }

/* ---------- star rating, as real radio inputs ---------- */
/*
 * Reversed in the DOM so CSS can light the chosen star and every star before
 * it using a sibling selector, with no JavaScript. Keyboard users get real
 * radios; the labels are the visible control.
 */
.stars { display: flex; flex-direction: row-reverse; justify-content: center; gap: 6px; }
.stars input { position: absolute; opacity: 0; width: 0; height: 0; }
.stars label {
  cursor: pointer; color: var(--line-strong); margin: 0;
  padding: 4px; line-height: 0;
}
.stars label svg { width: 40px; height: 40px; }
.stars input:checked ~ label,
.stars label:hover, .stars label:hover ~ label { color: var(--star); }
.stars input:focus-visible + label { outline: 3px solid var(--brand-bright); outline-offset: 2px; }

/* ---------- selectable tags ---------- */

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags label {
  margin: 0; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); font-size: .9rem; font-weight: 550;
}
.tags input { position: absolute; opacity: 0; width: 0; height: 0; }
.tags input:checked + label { background: var(--brand-wash); border-color: var(--brand); color: var(--brand-ink); }
.tags input:focus-visible + label { outline: 3px solid var(--brand-bright); outline-offset: 2px; }

/* ---------- payment state ---------- */

.paystate {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 6px 14px; font-size: .88rem; font-weight: 600;
}
.paystate--pending { background: #fdf3e3; color: var(--warn); }
.paystate--paid { background: var(--brand-wash); color: var(--brand-ink); }

.attention { display: grid; gap: 12px; }
.att {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 16px; border-radius: var(--r); text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line);
}
.att:hover { border-color: var(--brand); }
.att .n { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; min-width: 40px; }
.att strong { display: block; font-size: .95rem; }
.att span.sub { font-size: .82rem; color: var(--ink-faint); }
.att--crit { border-color: #e7b4ae; background: #fdf6f5; }
.att--crit .n { color: var(--danger); }
.att--warn { border-color: #e6d3ae; background: #fdfaf3; }
.att--warn .n { color: var(--warn); }

.risk {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px;
  padding: 3px 10px; font-size: .76rem; font-weight: 650;
}
.risk--high { background: #fdecea; color: var(--danger); }
.risk--medium { background: #fdf3e3; color: var(--warn); }
.risk--low { background: var(--brand-wash); color: var(--brand-ink); }

.agentcard { display: grid; gap: 8px; }
.agentcard .head { display: flex; align-items: center; gap: 10px; }
.agentcard .state {
  margin-left: auto; border-radius: 999px; padding: 3px 10px;
  font-size: .76rem; font-weight: 650;
  background: var(--surface-2); color: var(--ink-faint);
}
.agentcard .state--on { background: var(--brand-wash); color: var(--brand-ink); }
.meter { height: 6px; border-radius: 999px; background: var(--surface-2); }
.meter > span { display: block; height: 6px; border-radius: 999px; background: var(--brand); }

.log { list-style: none; margin: 0; padding: 0; }
.log li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .88rem;
}
.log .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.log .dot--ok { background: var(--brand); }
.log .dot--no { background: var(--warn); }
.log .dot--err { background: var(--danger); }
.log time { color: var(--ink-faint); font-size: .8rem; }

.shell--admin { max-width: 1180px; }

.adminnav { margin-bottom: 20px; }
.adminnav__section {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-faint); margin: 0 0 6px;
}
.adminnav ul {
  list-style: none; margin: 0 0 16px; padding: 0;
  display: flex; gap: 6px; overflow-x: auto;
}
.adminnav li { flex: none; }
.adminnav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-size: .88rem; font-weight: 550; text-decoration: none;
  color: var(--ink-soft); background: var(--surface-2);
}
.adminnav a:hover { color: var(--ink); }
.adminnav a[aria-current="page"] { background: var(--brand); color: #fff; }

@media (min-width: 900px) {
  .shell--admin {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 40px;
    align-items: start;
  }
  .adminnav { position: sticky; top: 84px; margin-bottom: 0; }
  .adminnav ul { display: block; overflow: visible; margin-bottom: 20px; }
  .adminnav li + li { margin-top: 2px; }
  .adminnav a { border-radius: var(--r-sm); padding: 7px 12px; }
}

.legal {
  margin: 10px 0 0;
  font-size: .78rem;
  color: var(--ink-faint);
  line-height: 1.5;
}

.art-svg {
  display: block;
  width: 100%;
  height: 100%;
  --art-bg: var(--brand-wash);
  --art-line: var(--brand);
  --art-soft: #b9e7d8;
  --art-accent: var(--navy);
}
.art-svg--navy {
  --art-bg: #eaf0f6;
  --art-line: var(--navy);
  --art-soft: #b9cbdd;
  --art-accent: var(--brand);
}
.art-svg--hero {
  --art-bg: #eef6f2;
  --art-soft: #cfe6dc;
}

/* The art fills the box a photograph would fill. */
.service .art,
.provider .cover,
.hero-art { overflow: hidden; }
.service .art { display: block; padding: 0; height: 108px; }
.service .art svg { border-radius: 0; }

.invoice { max-width: 640px; }
.lines { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .92rem; }
.lines th {
  text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--ink-faint); border-bottom: 1px solid var(--line); padding: 6px 8px 6px 0;
}
.lines td { padding: 9px 8px 9px 0; border-bottom: 1px solid var(--line); }
.lines td:not(:first-child), .lines th:not(:first-child) { text-align: right; }

@media print {
  .masthead, .tabbar, footer, .adminnav, .sticky { display: none !important; }
  body { background: #fff; }
  .invoice { max-width: none; }
  main .shell { padding: 0; max-width: none; }
}

.linkbtn {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; cursor: pointer; text-decoration: underline;
}
.linkbtn:hover { color: var(--brand-ink); }

.shopphoto {
  width: 100%; height: auto; display: block;
  border-radius: 12px; margin-bottom: 16px;
  /* A photo that has not loaded leaves a grey box of the right shape rather
     than a gap that closes when it arrives. */
  background: #eceae5;
}

/* The install prompt.
   A sheet at the bottom rather than a full-screen takeover: someone who came
   to book a repair should still be able to see the page they came for. */
.installer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: #fff; border-radius: 20px 20px 0 0;
  padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 32px rgba(0,0,0,.18);
  text-align: center;
}
.installer[hidden] { display: none; }
.installer h2 { margin: 12px 0 4px; font-size: 1.1rem; }
.installer__icon { border-radius: 16px; }
.installer ol {
  text-align: start; margin: 12px auto; padding-inline-start: 22px; max-width: 22rem;
}
.installer ol li { margin: 6px 0; }

/* Only the instructions that apply to this browser. Showing an iOS user a
   button that does nothing, or an Android user Safari steps, is worse than
   showing nothing. */
.installer__auto, .installer__ios, .installer__other { display: none; }
.installer[data-mode="auto"] .installer__auto { display: block; }
.installer[data-mode="ios-safari"] .installer__ios { display: block; }
.installer[data-mode="ios-other"] .installer__other { display: block; }

/* Above the tab bar, not under it. */
.installer ~ .tabbar { display: none; }
