:root {
  --navy: #071a2f;
  --navy-soft: #102844;
  --navy-deep: #04101c;
  --gold: #c9a227;
  --gold-soft: #e6c766;
  --white: #ffffff;
  --light: #f5f3ee;
  --text: #1f2933;
  --text-muted: #55636f;
  --hairline: rgba(7, 26, 47, 0.1);
  --hairline-dark: rgba(255, 255, 255, 0.14);
  --radius: 10px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  max-width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  width: min(1160px, 92%);
  max-width: 100%;
  margin: 0 auto;
}
.narrow { width: min(720px, 92%); }

/* ==================================================
   HEADER - stacked mobile layout from the outset: a wide logo
   lockup and a 44px tap-target toggle cannot share one row on a
   narrow phone without one of them shrinking below usable size.
================================================== */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}
.nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 14px 0 12px;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.brand-mark { width: clamp(150px, 40vw, 185px); height: auto; }

nav#site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  background: var(--navy-soft);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
  transition: max-height 0.25s ease, visibility 0.25s ease;
}
nav#site-nav.is-open { max-height: 420px; visibility: visible; }
nav#site-nav a {
  padding: 15px 6%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
nav#site-nav a:hover { color: var(--gold-soft); }

.nav-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 800px) {
  .nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    min-height: 74px;
  }
  .brand { justify-content: flex-start; }
  .brand-mark { width: auto; height: clamp(40px, 7vw, 54px); }
  .nav-toggle { display: none; }
  nav#site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    max-height: none;
    visibility: visible;
    overflow: visible;
    background: none;
    border-bottom: none;
  }
  nav#site-nav a {
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    font-size: 0.76rem;
  }
  nav#site-nav a:hover { border-bottom-color: var(--gold); }
}

/* ==================================================
   COMPACT HEADER - opt-in variant (.site-header.compact-header) for
   internal journey pages like request-a-quote.html, where the full
   two-row mobile header (~130px) eats too much of the viewport above
   a form. Single row, logo left / toggle right, ~80-90px tall. Scoped
   to mobile only - the existing 800px+ header rules above already
   give every page a compact single-row desktop header, so nothing
   changes there. The homepage keeps the original stacked header.
================================================== */
@media (max-width: 799px) {
  .site-header.compact-header .nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    gap: 12px;
  }
  .site-header.compact-header .brand { justify-content: flex-start; }
  .site-header.compact-header .brand-mark { width: auto; height: 38px; }
  .site-header.compact-header .nav-toggle { margin: 0; }
}

/* ==================================================
   HERO
================================================== */
.hero {
  background: linear-gradient(rgba(7,26,47,0.88), rgba(7,26,47,0.88)), radial-gradient(circle at top right, #26476a, var(--navy));
  color: var(--white);
  padding: 56px 0 60px;
}
.hero-content { max-width: 760px; }
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.82rem;
  font-weight: 700;
}
h1 {
  font-size: clamp(2rem, 7vw, 3.6rem);
  line-height: 1.1;
  margin: 14px 0 18px;
  letter-spacing: -1px;
  font-weight: 800;
}
.hero-text {
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.7;
  color: #d8e2f0;
  margin: 0 0 28px;
}

.button {
  display: inline-block;
  margin: 0 12px 12px 0;
  padding: 14px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.button.primary { background: var(--gold); color: var(--navy); }
.button.primary:hover { background: var(--gold-soft); transform: translateY(-1px); }
.button.secondary { border: 1px solid rgba(255, 255, 255, 0.4); color: var(--white); }
.button.secondary:hover { border-color: var(--gold); color: var(--gold-soft); }

.button:focus-visible,
nav#site-nav a:focus-visible,
.contact-block a:focus-visible,
.footer a:focus-visible,
.route-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ==================================================
   SECTION BASICS
================================================== */
.section { padding: 48px 0; }
.eyebrow + h2 { margin-top: 6px; }
h2 {
  color: var(--navy);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 6px 0 0;
}
.dark h2 { color: var(--gold-soft); }
.section-lead {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 1rem;
  margin: 14px 0 0;
}
.dark .section-lead { color: #b9c6d4; }
.dark p { color: #c7d3e0; }
.narrow p { max-width: 640px; line-height: 1.75; }

.dark { background: var(--navy); color: var(--white); }

/* ==================================================
   HOMEPAGE - TWO ROUTES (homeowner / tradesperson)
================================================== */
.route-choice {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}
.route-card {
  display: block;
  min-width: 0;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
  border: 1px solid rgba(201, 162, 39, 0.25);
}
.route-card:hover,
.route-card:focus-visible { transform: translateY(-3px); border-color: rgba(201, 162, 39, 0.55); }
.route-card .eyebrow { margin: 0 0 10px; }
.route-card h3 { color: var(--white); font-size: 1.4rem; margin: 0 0 10px; letter-spacing: -0.3px; }
.route-card p { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; line-height: 1.6; margin: 0 0 18px; }
.route-card-cta {
  display: block;
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

@media (min-width: 700px) {
  .route-choice { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* ==================================================
   TRUST TEST QUOTE - the flagship "wouldn't let them into our
   own home" line. Matches the Laurus Group #standard blockquote
   treatment so the brand voice is consistent across sites.
================================================== */
.trust-quote {
  position: relative;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  line-height: 1.45;
  font-weight: 600;
  color: var(--gold-soft);
  border: none;
  margin: 22px 0 0;
  padding: 0 0 0 28px;
}
.trust-quote::before {
  content: "\201C";
  position: absolute;
  left: -6px;
  top: -22px;
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(201, 162, 39, 0.28);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
}

/* ==================================================
   VALUE LISTS (Why Laurus, standards points, etc.)
================================================== */
.value-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--hairline-dark);
}
.value-item { padding: 22px 0; border-bottom: 1px solid var(--hairline-dark); }
.value-item h3 { color: var(--navy); font-size: 1.05rem; margin: 0 0 8px; }
.value-item p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; margin: 0; }
.dark .value-item h3 { color: var(--white); }
.dark .value-item p { color: rgba(255, 255, 255, 0.72); }

@media (min-width: 700px) {
  .value-list { grid-template-columns: repeat(3, 1fr); }
  .value-item { padding: 24px 22px 8px 0; border-bottom: none; border-left: 1px solid var(--hairline-dark); padding-left: 22px; }
  .value-item:first-child { border-left: none; padding-left: 0; }
}

/* ==================================================
   LAURUS APPROVED PANEL - premium navy panel with the shield,
   matching the pattern already established on the Laurus Group
   site. Stacked on mobile; side-by-side from 700px up.
================================================== */
.approved-panel { padding-top: 40px; padding-bottom: 40px; }
.approved-layout {
  background: var(--navy);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
}
.approved-shield { display: block; width: 100%; max-width: 160px; margin: 0 auto 24px; }
.approved-shield img { display: block; width: 100%; height: auto; }
.approved-copy h1,
.approved-copy h2 { color: var(--gold-soft); margin: 0; font-size: clamp(1.6rem, 5vw, 2.2rem); letter-spacing: -0.5px; }
.approved-copy h1::after,
.approved-copy h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin: 14px auto 18px;
}
.approved-copy p { color: rgba(255, 255, 255, 0.82); margin: 0 0 14px; }
.approved-copy p:last-child { margin-bottom: 0; }

@media (min-width: 700px) {
  .approved-layout { display: flex; align-items: center; gap: 40px; text-align: left; padding: 40px 44px; }
  .approved-shield { max-width: 165px; margin: 0; flex-shrink: 0; }
  .approved-copy h2::after { margin: 14px 0 18px; }
}

/* ==================================================
   PLACEHOLDER PANEL - shared "structure now, content later" shell
   used by the pages not yet fully designed (How It Works, Request
   a Quote, For Tradespeople, Laurus Approved, Portal). Keeps every
   nav link live and on-brand without inventing content early.
================================================== */
.placeholder-panel {
  background: var(--navy);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius);
  padding: 40px 28px;
  margin-top: 28px;
}
.placeholder-panel h1,
.placeholder-panel h2 { color: var(--white); }
.placeholder-panel p { max-width: 560px; color: rgba(255, 255, 255, 0.8); line-height: 1.7; }
.placeholder-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ==================================================
   PORTAL SHELL - role choice + mock sign-in form. No submission
   goes anywhere real yet; assets/js/mock-data.js is the seam a
   real auth/data layer plugs into later (see comments there).
================================================== */
.portal-role-choice {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 22px 0 26px;
}
.portal-role-tab {
  appearance: none;
  padding: 13px 16px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: left;
}
.portal-role-tab[aria-pressed="true"] {
  background: rgba(201, 162, 39, 0.14);
  border-color: var(--gold);
  color: var(--gold-soft);
}
@media (min-width: 600px) { .portal-role-choice { grid-template-columns: repeat(2, 1fr); } }

.portal-form { display: grid; gap: 14px; max-width: 420px; }
.portal-field { display: grid; gap: 6px; }
.portal-field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}
.portal-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
}
.portal-field input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.portal-form .button { margin-top: 4px; width: fit-content; }
.portal-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.85rem !important;
}
#portal-status[data-visible="true"] {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  background: rgba(201, 162, 39, 0.1);
  color: var(--gold-soft) !important;
  font-size: 0.85rem !important;
}

/* ==================================================
   MISC / FOOTER
================================================== */
.contact-block { margin-top: 28px; display: grid; gap: 4px; }
.contact-block a { color: var(--navy); font-weight: 700; text-decoration: none; }
.dark .contact-block a { color: var(--gold-soft); }
.contact-block a:hover { text-decoration: underline; }

.footer { background: var(--navy-soft); color: var(--white); padding: 30px 0 26px; }
.footer-group { display: grid; gap: 6px; margin-bottom: 16px; }
.footer p { margin: 0 0 4px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); }
.footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.footer a:hover { color: var(--gold-soft); }
.footer-parent {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}
.footer-parent a { color: var(--gold-soft); font-weight: 700; }
.small { color: var(--gold); font-size: 0.78rem; }

@media (max-width: 480px) {
  .hero-text { font-size: 0.95rem; }
  h2 { font-size: 1.5rem; }
}

/* ==================================================
   REQUEST A QUOTE - progressive homeowner journey.
   One page, four JS-controlled steps (Trade/Job/Details/Review)
   toggled with the native `hidden` attribute so hidden steps are
   also removed from the accessibility tree for free.
================================================== */
.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;
}

.wizard-progress {
  display: flex;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  gap: 4px;
}
.wizard-progress li { flex: 1 1 0; min-width: 0; }
.wizard-progress button {
  appearance: none;
  width: 100%;
  padding: 10px 4px 8px;
  border: none;
  border-top: 3px solid var(--hairline);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  font-family: inherit;
  cursor: default;
}
.wizard-progress li.is-complete button { border-top-color: var(--gold); color: var(--navy); cursor: pointer; }
.wizard-progress li.is-complete button:hover { color: var(--gold); }
.wizard-progress li.is-current button { border-top-color: var(--gold); color: var(--navy); font-weight: 800; }
.wizard-progress button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.quote-step { margin-top: 30px; }
.quote-step h1,
.quote-step h2 { outline: none; }
.quote-form-wrap { max-width: 640px; }

/* Trade grid - large tappable cards, real <button> elements so hover,
   focus-visible and keyboard activation all come for free. */
.trade-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}
@media (min-width: 600px) { .trade-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .trade-grid { grid-template-columns: repeat(4, 1fr); } }

.trade-card {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 140px;
  padding: 16px 8px;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  background: var(--white);
  color: var(--navy);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.trade-card svg { width: 26px; height: 26px; stroke: var(--navy); transition: stroke 0.15s ease; }
/* More breathing room per card from the 600px trade-grid breakpoint up
   (3-4 columns), so the mobile-only compaction above doesn't carry
   through and make the desktop/tablet grid feel cramped. */
@media (min-width: 600px) {
  .trade-card { min-height: 112px; padding: 20px 10px; gap: 10px; }
  .trade-card svg { width: 28px; height: 28px; }
}
.trade-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(7, 26, 47, 0.1); }
.trade-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
.trade-card:active,
.trade-card.is-selected {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(0);
}
.trade-card:active svg,
.trade-card.is-selected svg { stroke: var(--gold-soft); }

.selected-trade-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  margin: 22px 0 0;
}
.selected-trade-chip button {
  appearance: none;
  background: none;
  border: none;
  color: var(--gold-soft);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  font-size: 0.78rem;
  text-decoration: underline;
}
.selected-trade-chip button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Form fields - light-background variant (portal.html's .portal-field
   is dark-panel only; these sit on the page's cream background). */
.field { display: grid; gap: 6px; margin: 0 0 20px; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--navy); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid var(--hairline);
  background: var(--white);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.field-hint { font-size: 0.78rem; color: var(--text-muted); margin: 0; }
.field-error {
  display: none;
  font-size: 0.8rem;
  color: #a3311f;
  font-weight: 700;
}
.field.has-error input,
.field.has-error textarea { border-color: #a3311f; }
.field.has-error .field-error { display: block; }

.urgency-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 6px 0 0;
}
@media (min-width: 560px) { .urgency-group { grid-template-columns: repeat(2, 1fr); } }
.urgency-option label {
  display: block;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  background: var(--white);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.urgency-option input:checked + label { border-color: var(--gold); background: var(--navy); color: var(--white); }
.urgency-option input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Photo upload - client-side preview only, nothing is transmitted. */
.photo-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 16px;
  border: 2px dashed var(--hairline);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}
.photo-dropzone:hover { border-color: var(--gold); color: var(--navy); }
.photo-dropzone:focus-within { border-color: var(--gold); color: var(--navy); outline: 2px solid var(--gold); outline-offset: 2px; }
.photo-dropzone svg { width: 26px; height: 26px; stroke: var(--gold); }

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.photo-thumb { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--hairline); aspect-ratio: 1; background: var(--light); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-thumb button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(7, 26, 47, 0.75);
  color: var(--white);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
}
.photo-thumb button:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }

.consent-field { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 0; }
.consent-field input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; }
.consent-field label { font-size: 0.88rem; color: var(--text); line-height: 1.5; }

.review-list { display: grid; gap: 0; margin: 22px 0 0; border-top: 1px solid var(--hairline); }
.review-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--hairline); }
.review-row-label { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); flex-shrink: 0; }
.review-row-value { font-size: 0.92rem; color: var(--navy); text-align: right; }
@media (max-width: 480px) {
  .review-row { flex-direction: column; gap: 4px; }
  .review-row-value { text-align: left; }
}

.wizard-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.wizard-actions .button { margin: 0; }
.button.ghost { background: transparent; border: 1px solid var(--hairline); color: var(--navy); }
.button.ghost:hover { border-color: var(--navy); }
.button:disabled { opacity: 0.6; cursor: not-allowed; }

.quote-success {
  background: var(--navy);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius);
  padding: 36px 26px;
  text-align: left;
}
.quote-success h2 { color: var(--white); margin: 12px 0 14px; }
.quote-success > p { color: rgba(255, 255, 255, 0.8); max-width: 560px; margin: 0 0 14px; line-height: 1.7; }
.quote-success .review-list { border-top-color: rgba(255, 255, 255, 0.14); }
.quote-success .review-row { border-bottom-color: rgba(255, 255, 255, 0.1); }
.quote-success .review-row-label { color: rgba(255, 255, 255, 0.55); }
.quote-success .review-row-value { color: rgba(255, 255, 255, 0.9); }

/* ==================================================
   FOR TRADESPEOPLE - Laurus Approved application journey. Reuses
   .field / .urgency-group / .photo-dropzone / .review-list /
   .quote-success etc. from the Request a Quote wizard above; the two
   small additions below (.field-row, .doc-*) are new only because
   this form pairs some fields on wide screens and uploads documents
   rather than photos - everything else is shared, not duplicated.
================================================== */
.field-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-row .field { margin-bottom: 0; }

.doc-list { display: grid; gap: 8px; margin-top: 14px; }
.doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--white);
  font-size: 0.85rem;
  color: var(--navy);
}
.doc-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-item button {
  appearance: none;
  flex-shrink: 0;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 4px;
}
.doc-item button:hover { color: #a3311f; }
.doc-item button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.references-toggle { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 18px; }
.references-toggle input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; }
.references-toggle label { font-size: 0.88rem; color: var(--text); line-height: 1.5; }

/* ==================================================
   EMERGENCY & SPECIALIST SERVICES - reuses .trade-grid/.trade-card,
   .urgency-group, .field, .photo-dropzone, .review-list and
   .quote-success from the two wizards above (all defined already).
   This is the one genuinely new component: a safety-notice callout,
   using the same alert red already defined for .field-error rather
   than introducing a new colour.
================================================== */
.safety-notice {
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid rgba(163, 49, 31, 0.3);
  border-left: 4px solid #a3311f;
  border-radius: 8px;
  background: rgba(163, 49, 31, 0.06);
}
.safety-notice p { margin: 0; color: var(--text); font-size: 0.88rem; line-height: 1.6; }
.safety-notice strong { color: #a3311f; }

/* Homepage callout linking to the Emergency & Specialist route - a
   distinct navy panel so it reads as clearly separate from the "I
   need a tradesperson / I'm a tradesperson" two-route choice above
   it, not a third option folded into that decision. */
.callout-panel {
  background: var(--navy);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
}
.callout-panel h2 { color: var(--gold-soft); margin: 6px 0 0; }
.callout-panel p { color: rgba(255, 255, 255, 0.82); max-width: 560px; margin: 14px auto 22px; line-height: 1.7; }
.callout-panel .button { margin: 0; }

/* ==================================================
   LOS QUOTE INBOX - staff sign-in/access panels reuse .field/.button/
   .field-error from the wizards above. New here: select/search field
   styling (only text/email/tel/textarea were styled before), the
   staff panel/toolbar/table/pagination layout, and a small modal for
   the quote-detail view.
================================================== */
.field select,
.field input[type="search"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid var(--hairline);
  background: var(--white);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
}
.field select:focus-visible,
.field input[type="search"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }

.portal-auth-panel {
  background: var(--navy);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: left;
}
.portal-auth-panel h1 { color: var(--white); margin: 6px 0 14px; }
.portal-auth-panel p { color: rgba(255, 255, 255, 0.82); line-height: 1.7; }
.portal-auth-panel .button { margin: 14px 10px 0 0; }
.portal-auth-panel .field-error { margin-top: 12px; }

.los-lite-panel-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.los-lite-panel-header .button { margin: 0; }

.los-lite-customer-toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: end;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 22px;
}
@media (min-width: 720px) {
  .los-lite-customer-toolbar { grid-template-columns: repeat(4, 1fr) auto; }
  .los-lite-customer-toolbar .field { margin: 0; }
}

.los-demo-note {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  background: var(--white);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.los-lite-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.los-lite-table th,
.los-lite-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.88rem;
}
.los-lite-table th { color: var(--text-muted); font-weight: 700; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.04em; }
.los-lite-table tbody tr { cursor: pointer; }
.los-lite-table tbody tr:hover { background: var(--light); }
.los-lite-table tbody tr:last-child td { border-bottom: none; }

.los-lite-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}
.los-lite-pagination .button { margin: 0; }

.los-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.los-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 16, 28, 0.6);
}
.los-modal-panel {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
}
.los-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--navy);
}
.los-modal-close:hover { border-color: var(--navy); }

.los-bucket-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0;
}
@media (min-width: 700px) {
  .los-bucket-bar { grid-template-columns: repeat(4, 1fr); }
}
.los-bucket {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 14px;
  cursor: pointer;
  text-align: left;
}
.los-bucket:hover { border-color: var(--navy); }
.los-bucket.is-active { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.los-bucket-count { font-size: 1.6rem; font-weight: 700; color: var(--navy); line-height: 1; }
.los-bucket-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.los-bucket-emergency .los-bucket-count { color: #a3311f; }

.los-emergency-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #a3311f;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 6px;
}

.los-notes-list { margin: 12px 0; }
.los-note {
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
}
.los-note:last-child { border-bottom: none; }
.los-note-meta { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 4px; }
.los-note-text { font-size: 0.9rem; color: var(--navy); white-space: pre-wrap; }

.los-detail-actions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.los-detail-actions .field { margin: 0; }
.los-detail-actions .button { margin: 0; }
