:root {
  --sn-black: #0b0c0d;
  --sn-charcoal: #111315;
  --sn-panel: #191c1f;
  --sn-panel-2: #22262a;
  --sn-line: #343a40;
  --sn-orange: #f28c38;
  --sn-orange-dark: #b95d16;
  --sn-white: #f5f5f2;
  --sn-muted: #b8bdc2;
  --sn-green: #68c987;
  --sn-red: #ff6b5f;
  --sn-yellow: #e8bd58;
  --sn-radius: 10px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--sn-black); }
body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--sn-black);
  color: var(--sn-white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a { color: var(--sn-white); }
a:hover { color: var(--sn-orange); }
button, input, select, textarea { font: inherit; }
button, .sn-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--sn-orange);
  border-radius: 6px;
  padding: 10px 16px;
  background: var(--sn-orange);
  color: #130b05;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
button:hover, .sn-button:hover { background: #ff9f50; color: #130b05; }
.sn-button--secondary { background: transparent; color: var(--sn-white); border-color: var(--sn-line); }
.sn-button--danger { background: transparent; color: var(--sn-red); border-color: var(--sn-red); }

.sn-shell { min-height: 100vh; display: flex; flex-direction: column; }
.sn-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 52px);
  border-bottom: 1px solid var(--sn-line);
  background: rgba(11, 12, 13, .94);
  backdrop-filter: blur(12px);
}
.sn-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.sn-brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}
.sn-brand strong { display: block; font: 900 17px/1 "Arial Narrow", Impact, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.sn-brand small { display: block; color: var(--sn-muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.sn-topbar nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.sn-topbar nav a { font-size: 13px; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .05em; }

.sn-main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: clamp(30px, 6vw, 74px) 0; flex: 1; }
.sn-eyebrow { color: var(--sn-orange); font: 900 12px/1.2 "Arial Narrow", Impact, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Arial Narrow", Impact, sans-serif; letter-spacing: .025em; line-height: 1.05; }
h1 { max-width: 850px; margin: 12px 0 18px; font-size: clamp(34px, 7vw, 72px); text-transform: uppercase; }
h2 { margin-top: 0; font-size: clamp(24px, 4vw, 38px); text-transform: uppercase; }
h3 { font-size: 22px; }
p { color: var(--sn-muted); }

.sn-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--sn-line);
  border-radius: var(--sn-radius);
  background: linear-gradient(145deg, rgba(255,255,255,.025), transparent 45%), var(--sn-panel);
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
}
.sn-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--sn-orange);
}
.sn-panel + .sn-panel { margin-top: 22px; }
.sn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.sn-grid .sn-panel { margin: 0; }
.sn-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.sn-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--sn-muted); font-size: 13px; }

.sn-state { display: inline-flex; padding: 5px 9px; border: 1px solid currentColor; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.sn-state--open { color: var(--sn-green); }
.sn-state--paid { color: var(--sn-orange); }
.sn-state--owned { color: var(--sn-orange); }
.sn-state--hold { color: var(--sn-yellow); }
.sn-state--danger { color: var(--sn-red); }

.sn-form { display: grid; gap: 16px; max-width: 720px; }
.sn-form--wide { max-width: none; }
.sn-field { display: grid; gap: 7px; }
.sn-field label { color: var(--sn-white); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.sn-field input, .sn-field select, .sn-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--sn-line);
  border-radius: 6px;
  padding: 10px 12px;
  background: var(--sn-charcoal);
  color: var(--sn-white);
}
.sn-field textarea { min-height: 120px; resize: vertical; }
.sn-field input:focus, .sn-field select:focus, .sn-field textarea:focus, a:focus-visible, button:focus-visible { outline: 3px solid rgba(242,140,56,.35); outline-offset: 2px; }
.sn-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.sn-check { display: flex; align-items: flex-start; gap: 8px; padding: 10px; border: 1px solid var(--sn-line); border-radius: 6px; }

.sn-table-wrap { overflow-x: auto; border: 1px solid var(--sn-line); border-radius: 8px; }
.sn-table { width: 100%; border-collapse: collapse; min-width: 760px; background: var(--sn-panel); }
.sn-table th, .sn-table td { padding: 12px 14px; border-bottom: 1px solid var(--sn-line); text-align: left; vertical-align: top; }
.sn-table th { color: var(--sn-orange); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.sn-table td { color: var(--sn-muted); font-size: 13px; }
.sn-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.sn-price { font-size: 19px; font-weight: 800; color: var(--sn-orange); margin: 10px 0; }

.sn-flash { margin: 0 0 20px; padding: 12px 15px; border: 1px solid; border-radius: 6px; font-weight: 700; }
.sn-flash--success { color: var(--sn-green); background: rgba(104,201,135,.08); }
.sn-flash--error { color: var(--sn-red); background: rgba(255,107,95,.08); }
.sn-footer { padding: 22px 16px; border-top: 1px solid var(--sn-line); color: var(--sn-muted); text-align: center; font-size: 12px; letter-spacing: .05em; }

@media (max-width: 720px) {
  .sn-topbar { align-items: flex-start; flex-direction: column; }
  .sn-topbar nav { justify-content: flex-start; gap: 12px; }
  .sn-main { width: min(100% - 24px, 1120px); }
  .sn-panel { padding: 20px; }
}

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

/* Registration build additions (2026-10-17): register form, custom checkbox,
   confirm reminder, Yours to open, Locked list. Existing rules untouched. */
.sn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sn-regcheck { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; color: var(--sn-muted); }
.sn-regcheck input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sn-regcheck-box { position: relative; flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; border: 1px solid var(--sn-line); border-radius: 5px; background: var(--sn-charcoal); }
.sn-regcheck input:checked + .sn-regcheck-box { background: var(--sn-orange); border-color: var(--sn-orange); }
.sn-regcheck input:checked + .sn-regcheck-box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #130b05; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.sn-regcheck input:focus-visible + .sn-regcheck-box { outline: 3px solid rgba(242,140,56,.35); outline-offset: 2px; }
.sn-regcheck-text { min-width: 0; }
.sn-confirm-reminder { margin: 14px 0 0; padding: 10px 12px; border: 1px solid var(--sn-yellow); border-radius: 6px; color: var(--sn-yellow); font-weight: 700; }
.sn-group-title { margin: 20px 0 10px; font-size: 18px; text-transform: uppercase; color: var(--sn-orange); }
.sn-open-list, .sn-locked-list { display: grid; gap: 8px; }
.sn-open-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border: 1px solid var(--sn-line); border-radius: 6px; }
.sn-open-name { color: var(--sn-white); font-weight: 700; }
.sn-locked-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding: 10px 12px; border: 1px solid var(--sn-line); border-radius: 6px; text-decoration: none; }
.sn-locked-name { color: var(--sn-white); font-weight: 700; margin-right: auto; }
.sn-locked-price { color: var(--sn-muted); font-size: 13px; }
.sn-locked-note { padding: 12px 15px; border: 1px solid var(--sn-yellow); border-radius: 6px; color: var(--sn-yellow); font-weight: 700; }
.sn-pack-line { margin-top: 20px; color: var(--sn-white); font-weight: 700; }

/* ===== FLEET SITE HEADER (unified 2026-10-21: same header as the public pages) ===== */
.site-nav { position: sticky; top: 0; z-index: 40; width: 100%; background: #080a0b; border-bottom: 3px solid #F28C38; }
.site-nav .wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; padding: 0; }
.nav-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-mark { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo { width: 62px; height: 48px; object-fit: contain; }
.brand-type { display: grid; line-height: .92; }
.brand-name { font-family: "Barlow Condensed", Impact, sans-serif; font-size: 28px; font-style: italic; font-weight: 800; letter-spacing: .015em; text-transform: uppercase; }
.brand-code { margin-top: 7px; color: #F28C38; font-family: "Barlow Condensed", Impact, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; font-family: "Barlow Condensed", Impact, sans-serif; font-size: 17px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.nav-links a { text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.menu { display: none; min-height: 0; background: none; border: 1px solid #343b3f; color: #f5f3ee; padding: 9px 13px; font-family: "Barlow Condensed", Impact, sans-serif; font-size: 17px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 900px) {
  .menu { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 80px; background: #0b0e10; padding: 14px 20px 24px; border-bottom: 1px solid #343b3f; flex-direction: column; align-items: stretch; gap: 1px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
}
@media (max-width: 600px) {
  .site-nav .wrap { width: min(100% - 28px, 1180px); }
  .nav-inner { min-height: 72px; }
  .nav-logo { width: 52px; height: 40px; }
  .brand-name { font-size: 23px; }
  .nav-links { top: 72px; }
}

/* ===== FLEET HEADER PARITY CORRECTIONS (2026-10-21, measured) =====
   The fleet pages carry body text values (Source Sans 3, 18px, line-height
   1.52, ink #f5f3ee) that inherit into the header, and a second, later
   .brand-code rule (.82rem / 700 / .15em) that the first unify pass missed.
   The app's global `a` and `button` rules also bleed color, radius, gap and
   cursor into header links and the Menu button. The rules below replicate
   the fleet header's computed values exactly; fleet header links do not
   change color on hover, so the hover state is pinned too. */
.site-nav { font-family: "Source Sans 3", sans-serif; font-size: 18px; line-height: 1.52; color: #f5f3ee; min-height: 0; min-width: 0; -webkit-font-smoothing: antialiased; }
.site-nav a { color: #f5f3ee; }
.site-nav img { max-width: 100%; }
.brand-code { font-size: .82rem; font-weight: 700; letter-spacing: .15em; }
.menu { border-radius: 0; gap: normal; min-height: auto; cursor: default; align-items: normal; justify-content: normal; }
.site-nav .menu:hover { background: none; color: #f5f3ee; }
@media (max-width: 620px) {
  .site-nav .wrap { font-size: 16px; }
}
