:root {
  /* Brand — RGB is authoritative */
  --color-primary: #969636;
  --color-primary-rgb: 150, 150, 54;
  --color-secondary: #046180;
  --color-secondary-rgb: 4, 97, 128;
  --color-orange: #9B6327;
  --color-orange-rgb: 155, 99, 39;
  --color-red: #9C2222;
  --color-red-rgb: 156, 34, 34;

  --ink: #1c1d18;
  --ink-soft: #33362c;
  --muted: #5d6156;
  --line: #d8dccf;
  --line-strong: #c4c9b6;
  --bg: #f4f5f0;
  --bg-tint: #eef0e6;
  --card: #ffffff;
  --ok: #3f4d1f;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(28, 29, 24, 0.05), 0 10px 28px rgba(28, 29, 24, 0.05);
  --shadow-sm: 0 1px 2px rgba(28, 29, 24, 0.06);
  --header-h: 72px;
  --focus: 0 0 0 3px rgba(var(--color-primary-rgb), 0.28);
  --space-field: 16px;
  --card-pad-x: var(--space-field);
  --card-pad-y: 20px;
  --section-title-gap: 20px;
  --filter-control-h: 2.75rem;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 420px at 8% -10%, rgba(var(--color-primary-rgb), 0.08), transparent 55%),
    radial-gradient(900px 360px at 100% 0%, rgba(var(--color-secondary-rgb), 0.07), transparent 50%),
    var(--bg);
  line-height: 1.55;
  font-size: 16.5px;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; }
a { color: var(--color-secondary); }
a:hover { color: var(--color-primary); }
:focus-visible {
  outline: 3px solid rgba(var(--color-primary-rgb), 0.45);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--color-primary);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus { top: 12px; }

.check { display: flex; gap: 8px; align-items: center; font-weight: 600; margin-bottom: 12px; }
.check input { width: auto; margin: 0; }
.check-agree { align-items: flex-start; }
.check-agree input { margin-top: 3px; }
.check-agree .lbl { flex: 1; min-width: 0; }
.type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.type-card { text-decoration: none; color: inherit; display: block; height: 100%; transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.type-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.type-card h2 { color: var(--ink); font-size: 1.05rem; }
.location-block {
  border: 1px solid var(--line);
  background: #fbfbf8;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
}
.location-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}
.location-notes { margin-top: 4px; }
.location-notes-review { margin: 0 0 12px; }
.materials { margin-top: 8px; }
.materials summary { cursor: pointer; font-weight: 700; margin-bottom: 8px; color: var(--ink-soft); }
.materials-table { min-width: 1100px; }
.materials-table input { margin-top: 0; }
.ref-cell input[type="file"] { margin-top: 6px; font-weight: 400; }
.file-list { margin: 8px 0 0; padding-left: 18px; }
.file-list.compact { margin: 6px 0 0; padding-left: 16px; font-weight: 400; }
.file-chip { font-weight: 400; font-size: 13px; margin-top: 6px; }
.file-remove { display: inline-flex; margin: 0 0 0 8px; font-size: 13px; }
.item-num { font-weight: 700; width: 4rem; }
.materials-table th,
.materials-table td { vertical-align: middle; }
.materials-table .item-num,
.materials-table .item-actions { text-align: center; }
.materials-table .item-num .item-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
}
.materials-table .item-actions .btn { margin: 0 auto; }
.review-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 24px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header — light / white chrome with brand mark */
.site-header {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary) 42%, var(--color-secondary) 100%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: inherit; }
.brand-wordmark {
  font-family: "Jost", "Century Gothic", Futura, "Avenir Next", sans-serif;
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.brand-amp { color: #969636; }
.brand-aviation { color: #111111; }
.brand-wordmark-footer {
  font-size: 1.05rem;
}
.brand-logo {
  display: block;
  height: 32px;
  width: auto;
}
.brand-mark {
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 6px 8px;
  border-radius: 6px;
}
.nav-toggle-label {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  align-items: center;
}
.nav a,
.nav .nav-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.nav a:hover,
.nav .nav-link:hover { color: var(--color-primary); background: rgba(var(--color-primary-rgb), 0.08); }
.nav a.is-active {
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.1);
}
.nav a.btn,
.nav a.btn:hover,
.nav a.btn.is-active {
  background: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
  padding: 7px 12px;
}
.nav a.btn:hover,
.nav a.btn.is-active { background: #7f802c; border-color: #7f802c; }
.linkish {
  background: none; border: 0; color: inherit; cursor: pointer; font: inherit; padding: 0;
}

.main { padding: 32px 24px 64px; min-height: calc(100vh - 180px); }
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  padding: 22px 0 28px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-logo {
  height: 20px;
  width: auto;
  opacity: 0.9;
}
.site-footer p { margin: 0; }

h1 { margin: 0 0 8px; font-size: clamp(1.7rem, 2.4vw, 2.15rem); letter-spacing: -0.02em; line-height: 1.2; }
h2 { margin: 0 0 12px; font-size: 1.15rem; letter-spacing: -0.01em; }
h3 { margin: 16px 0 8px; font-size: 1rem; }
.lede { font-size: 1.15rem; max-width: 42rem; color: var(--ink-soft); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 8px;
}
.muted { color: var(--muted); }

.hero { padding: 8px 0 12px; }
.hero-landing {
  display: flex;
  align-items: center;
  flex: 1 0 auto;
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: clamp(40px, 7vh, 72px) max(24px, calc((100vw - 1120px) / 2 + 24px));
  background-color: #f4f5f0;
  background-image:
    linear-gradient(90deg,
      rgba(244, 245, 240, 0.97) 0%,
      rgba(244, 245, 240, 0.95) 32%,
      rgba(244, 245, 240, 0.88) 46%,
      rgba(244, 245, 240, 0.42) 64%,
      rgba(244, 245, 240, 0.12) 100%),
    url("../img/hero-cabin.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.hero-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 44px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--color-primary);
}
.hero-landing .hero-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 4px 0;
  max-width: 36rem;
  overflow: visible;
}
.hero-photo { margin: 0; min-width: 0; }
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.hero-landing .hero-panel::before {
  position: static;
  display: block;
  width: 56px;
  height: 4px;
  margin: 0 0 28px;
}
.hero-landing h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 11.2em;
  margin: 0 0 20px;
}
.hero-landing .lede {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 38rem;
  margin: 0;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-landing .hero-actions { margin-top: 32px; }
.hero-landing .btn {
  min-height: 48px;
  padding: 14px 22px;
  font-size: 1.05rem;
}
body.is-landing {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.is-landing .main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  width: 100%;
  max-width: none;
  min-height: auto;
  padding: 0;
}
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.process li {
  padding: 4px 0 0;
}
.process strong {
  display: block;
  color: var(--color-secondary);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--card-pad-y) var(--card-pad-x);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.form-section {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
  min-width: 0;
}
.form-section > legend,
.form-section > h2 {
  display: block;
  float: none;
  width: 100%;
  padding: 0;
  margin: 0 0 var(--section-title-gap);
  border: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.form-section > .card {
  margin-bottom: 0;
}
.page-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 22px; flex-wrap: wrap; }
.page-head .muted { max-width: 46rem; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.list-filters { margin-bottom: 16px; overflow-x: auto; }
.list-filters-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px var(--space-field);
  align-items: flex-end;
}
.list-filters-row > label {
  margin-bottom: 0;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.list-filters-row > label > input,
.list-filters-row > label > select {
  box-sizing: border-box;
  height: var(--filter-control-h);
  min-height: var(--filter-control-h);
  margin-top: 6px;
}
.list-filters-row input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}
.list-filters-row .list-filters-search { flex: 1.45 1 0; }
.list-filters-row .actions {
  margin-top: 0;
  flex: 0 0 auto;
}
.sort-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  white-space: nowrap;
  font: inherit;
  font-weight: 700;
  letter-spacing: inherit;
  text-transform: inherit;
}
.sort-link:hover { color: var(--color-secondary); }
.sort-link.is-active { color: var(--ink); }
.sort-ind {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.btn:hover { background: #7f802c; border-color: #7f802c; color: #fff; }
.btn-small { padding: 7px 12px; font-size: 14px; }
.btn-secondary {
  background: #fff;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}
.btn-secondary:hover {
  background: rgba(var(--color-secondary-rgb), 0.08);
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: var(--muted);
}
.btn-danger {
  background: #fff;
  color: var(--color-red);
  border-color: var(--color-red);
}
.btn-danger:hover {
  background: rgba(var(--color-red-rgb), 0.08);
  color: var(--color-red);
  border-color: var(--color-red);
}

form.inline { display: inline; }
label, .label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 12px; color: var(--ink-soft); }
.lbl { font-weight: inherit; }
label:has(:is(input, textarea, select)[required]) > .lbl::after,
.field:has(:is(input, textarea, select)[required]) > .label::after {
  content: " *";
  color: var(--color-red);
  font-weight: 700;
}
/* Agreement boxes: star sits with the checkbox, not at the end of wrapping text. */
label.check-agree:has(input[required]) > .lbl::after {
  content: none;
}
label.check-agree:has(input[required])::before {
  content: "*";
  color: var(--color-red);
  font-weight: 700;
  line-height: 1;
  margin-top: 3px;
  flex: none;
}
select:disabled {
  background: var(--bg-tint);
  color: var(--ink);
  cursor: not-allowed;
  opacity: 1;
}
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], textarea, select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input[type="file"] {
  display: block;
  width: 100%;
  margin-top: 6px;
  font: inherit;
}
textarea { min-height: 5.5rem; resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  box-shadow: var(--focus);
  outline: none;
}
.grid-2, .grid-3 { display: grid; gap: 12px var(--space-field); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.field { margin-bottom: 12px; }
.yn { display: flex; gap: 16px; margin-top: 6px; font-weight: 400; }
.radio { font-weight: 400; display: flex; gap: 6px; align-items: center; margin: 0; }
.helper { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 4px; }
.quote-estimate {
  background: rgba(var(--color-secondary-rgb), 0.08);
  border: 1px solid rgba(var(--color-secondary-rgb), 0.28);
  color: var(--color-secondary);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 12px 0 4px;
  font-weight: 700;
}
.note {
  background: rgba(var(--color-orange-rgb), 0.08);
  border: 1px solid rgba(var(--color-orange-rgb), 0.28);
  color: #5a3c18;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 12px 0 16px;
}
.is-hidden { display: none !important; }
.flash { padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.flash-error { background: rgba(var(--color-red-rgb), 0.08); color: var(--color-red); border: 1px solid rgba(var(--color-red-rgb), 0.28); }
.flash-warn { background: rgba(var(--color-orange-rgb), 0.08); color: #5a3c18; border: 1px solid rgba(var(--color-orange-rgb), 0.28); }
.table-wrap { overflow-x: auto; }
.table-wrap.card { padding: 0; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  background: var(--bg-tint);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafaf6; }
tfoot th, tfoot td {
  border-bottom: 0;
  background: var(--bg-tint);
  font-weight: 700;
}
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.quote-total { font-weight: 700; }
.quote-lines .helper { display: block; margin-top: 4px; }
.quote-builder input[type="text"],
.quote-builder input[type="number"] {
  width: 7.5rem;
  margin-top: 0;
  padding: 6px 8px;
  display: inline-block;
}
.quote-builder .check { margin: 0; font-weight: 500; }
.quote-builder label.qty-label {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  font-weight: inherit;
}
.quote-other-head td {
  background: var(--bg-tint);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.quote-accept, .quote-po { margin-top: 16px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.table-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.type-checks {
  border: 0;
  margin: 0 0 12px;
  padding: 0;
}
.type-checks > legend {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 4px 12px;
}
.check-grid .check { margin-bottom: 0; }
.badge {
  display: inline-block;
  background: var(--bg-tint);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.badge-ok { background: rgba(var(--color-primary-rgb), 0.16); color: var(--ok); }
.badge-info { background: rgba(var(--color-secondary-rgb), 0.12); color: var(--color-secondary); }
.badge-warn { background: rgba(var(--color-orange-rgb), 0.14); color: var(--color-orange); }
.badge-danger { background: rgba(var(--color-red-rgb), 0.1); color: var(--color-red); }
.rfq-cue-row { margin: 8px 0 0; }
.rfq-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.rfq-cue:hover { color: var(--color-secondary); }
.nav-count {
  display: inline-block;
  min-width: 1.25rem;
  margin-left: 4px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--color-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  vertical-align: 1px;
}
.status-yes { color: var(--ok); font-weight: 700; }
.status-no { color: var(--muted); }

.narrow { max-width: 440px; }
.narrow-form { max-width: 720px; }
.auth-shell { width: 100%; max-width: 440px; margin: 12px auto 0; }
.auth-shell h1 { margin: 0 0 var(--section-title-gap); }
.auth-shell .card { padding: var(--card-pad-y) var(--card-pad-x); }
.form .btn { margin-top: 6px; }
.auth-alt { margin: 14px 0 0; font-size: 0.95rem; }
.auth-alt a { font-weight: 600; }
.auth-back { margin: 16px 0 0; }
.auth-shell .lede { margin: 0 0 16px; color: var(--muted); }
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.password-wrap {
  position: relative;
  display: block;
  margin-top: 6px;
}
.password-wrap input[type="password"],
.password-wrap input[type="text"] {
  margin-top: 0;
  padding-right: 4.75rem;
}
.password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--color-secondary);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}
.password-toggle:hover {
  background: rgba(var(--color-secondary-rgb), 0.08);
  color: var(--color-secondary);
}
.seat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  align-items: end;
  border: 1px dashed var(--line);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
}
.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 16px; }
.kv { margin: 0; }
.kv dt { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.kv dd { margin: 0 0 8px; }
ul.plain { margin: 0; padding-left: 18px; }
code { font-size: 13px; background: var(--bg-tint); padding: 1px 5px; border-radius: 4px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.steps li span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.steps li.is-current {
  border-color: var(--color-primary);
  color: var(--ink);
  box-shadow: inset 3px 0 0 var(--color-primary);
}
.steps li.is-done { color: var(--color-primary); }

.empty-state { text-align: center; padding: 36px 24px; }
.empty-state h2 { margin-bottom: 6px; }
.empty-state .btn { margin-top: 10px; }

.meta-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 0; }
.flag-form { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 0; }
.flag-form .check { margin: 0; font-size: 13px; font-weight: 600; }
.flag-form .btn { margin: 0; }
.admin-kicker {
  display: inline-block;
  background: rgba(var(--color-secondary-rgb), 0.1);
  color: var(--color-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.role-admin .site-header::after {
  background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-primary) 100%);
}

@media (min-width: 960px) {
  .admin-split { grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); }
  .admin-split .narrow-form { max-width: none; }
}

@media (max-width: 880px) {
  .nav-toggle-label { display: inline-flex; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 16px;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav a,
  .nav .nav-link { padding: 10px 12px; }
  .hero-landing {
    align-items: center;
    padding-left: 24px;
    padding-right: 24px;
    background-image:
      linear-gradient(180deg,
        rgba(244, 245, 240, 0.9) 0%,
        rgba(244, 245, 240, 0.82) 42%,
        rgba(244, 245, 240, 0.66) 100%),
      url("../img/hero-cabin-900.jpg");
  }
}

@media (max-width: 640px) {
  .header-inner { min-height: 64px; padding: 10px 0 0; }
  .brand-wordmark { font-size: 1.35rem; }
  .hero-panel { padding: 24px 20px; }
  .hero-landing {
    padding-top: 32px;
    padding-bottom: 36px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-landing .hero-panel { padding: 4px 0; }
  .hero-landing .hero-panel::before { margin-bottom: 20px; }
  .hero-landing h1 { font-size: 2.05rem; margin-bottom: 14px; }
  .hero-landing .lede { font-size: 1.08rem; }
  .hero-landing .hero-actions { margin-top: 24px; }
  .main { padding: 22px 16px 48px; }
  body.is-landing .main {
    padding: 0;
  }
  .wrap { padding: 0 16px; }
  .steps { grid-template-columns: 1fr; }
  .location-head { grid-template-columns: 1fr; }
  .footer-inner { justify-content: center; text-align: center; }
}
