:root {
  /* Brand hues — unchanged (locked). */
  --navy: #0f2438;
  --navy-2: #16324a;
  --gold: #e8b13c;
  --gold-dark: #c99427;
  --paper: #f7f5f0;
  --ink: #1d2733;
  --muted: #5d6b7a;
  --green: #2e7d4f;
  --red: #b3402e;
  --radius: 12px;
  /* Structural (non-brand) tokens — added for the ported Home/Account/Download/Claims-list CSS.
     Values from the site mock. The claim DETAIL rules deliberately do NOT use these (they keep
     their existing hardcoded colors so the detail renders byte-for-byte as before). */
  --navy-3: #1d3a54;
  --surface: #ffffff;
  --surface-2: #faf8f4;
  --faint: #8a97a4;
  --line: #e6e2d9;
  --line-2: #eef1f4;
  --green-bg: #e6f0e9;
  --amber-bg: #f4ecda;
  --blue-bg: #e6eef6;
  --red-bg: #f6e7e3;
  --shadow: 0 1px 3px rgba(15,36,56,.06), 0 6px 20px rgba(15,36,56,.06);
  --shadow-lift: 0 8px 26px rgba(15,36,56,.13);
  --radius-sm: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

header.site {
  background: var(--navy);
  color: #fff;
  padding: 14px 0;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; }

/* Logo lockup — winged-box mark left of the "PCS Pal" wordmark, on every header. */
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; color: #fff; text-decoration: none; letter-spacing: 0.3px; }
.logo span { color: var(--gold); }
.logo-mark { width: 30px; height: 30px; border-radius: 7px; flex: none; }

/* Public nav (scoped to nav.top so it can't clobber the logged-in .appnav nav). */
nav.top { display: flex; align-items: center; gap: 4px; }
nav.top a { color: #dbe4ec; text-decoration: none; font-size: 15px; padding: 8px 13px; border-radius: 8px; }
nav.top a:hover { background: rgba(255,255,255,0.08); }
header.site nav.top a.active { background: var(--gold); color: var(--navy); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: none;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.btn:hover { background: var(--gold-dark); }
.btn.secondary { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn.block { width: 100%; text-align: center; }
.btn.small { padding: 9px 16px; font-size: 14px; }
.btn.ghost { background: transparent; border: 1.5px solid #cfd8e0; color: var(--navy); }
.btn.ghost:hover { background: #eef2f6; }
.btn:disabled { opacity: 0.6; cursor: wait; }
/* Outline "Sign in" for the public nav (reserve solid gold for primary CTAs). */
.btn.nav { background: transparent; border: 1.5px solid rgba(255,255,255,0.3); color: #fff; font-weight: 600; padding: 8px 18px; font-size: 15px; }
.btn.nav:hover { background: rgba(255,255,255,0.12); }
/* Secondary hero button that sits on a dark background. */
.btn.ghost-on-dark { background: transparent; border: 1.5px solid rgba(255,255,255,0.3); color: #fff; }
.btn.ghost-on-dark:hover { background: rgba(255,255,255,0.12); }

/* ============ HOME ============ */
.hero { background: radial-gradient(120% 130% at 80% -10%, var(--navy-3) 0%, var(--navy) 55%); color: #fff; padding: 88px 0 76px; position: relative; overflow: hidden; }
.hero .wrap { position: relative; max-width: 880px; text-align: center; }
.hero h1 { font-size: 52px; line-height: 1.08; letter-spacing: -0.5px; margin-bottom: 18px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero .sub { font-size: 20px; color: #c7d3de; max-width: 560px; margin: 0 auto 30px; }
.hero .cta-row { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero .price-line { margin-top: 16px; color: #9fb0c0; font-size: 14px; }
.hero .price-line b { color: #dfe8f0; }

.steps { padding: 70px 0 30px; }
.steps .head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.kicker { text-transform: uppercase; letter-spacing: 1.6px; font-size: 12px; color: var(--gold-dark); font-weight: 800; margin-bottom: 8px; }
h2.section { font-size: 34px; letter-spacing: -0.3px; line-height: 1.15; }
.steps .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); }
.step .step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.step .n { width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.step .ic { font-size: 24px; line-height: 1; }
.step h3 { font-size: 16px; margin-bottom: 5px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.5; }

.pricing { background: var(--navy); color: #fff; padding: 66px 0; text-align: center; }
.pricing .wrap { max-width: 640px; }
.pricing .kicker { color: var(--gold); }
.price-card { background: var(--navy-2); border: 1px solid rgba(255,255,255,0.09); border-radius: 18px; padding: 34px; margin: 26px auto 0; max-width: 440px; }
.price-card .amt { font-size: 52px; font-weight: 900; letter-spacing: -1px; }
.price-card .amt small { font-size: 18px; font-weight: 700; color: #aebccb; }
.price-card .terms { color: #aebccb; font-size: 15px; margin: 6px 0 20px; }
.price-card ul { list-style: none; text-align: left; max-width: 300px; margin: 0 auto 22px; }
.price-card li { color: #dfe8f0; font-size: 14.5px; padding: 6px 0 6px 26px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.pricing .guarantee { color: #9fb0c0; font-size: 13.5px; margin-top: 18px; }

.freeband { background: var(--green-bg); border-top: 1px solid #d3e3d9; border-bottom: 1px solid #d3e3d9; padding: 26px 0; text-align: center; color: #20502f; font-size: 15px; }
.freeband b { font-weight: 800; }
.freeband a { color: #20502f; font-weight: 700; }

footer.site { background: #0b1a29; color: #9fb0c0; padding: 30px 0; font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer.site a { color: #c7d3de; text-decoration: none; margin-right: 18px; }

/* ============ DOWNLOAD ============ */
.dl { background: radial-gradient(120% 130% at 82% -10%, var(--navy-3) 0%, var(--navy) 58%); color: #fff; padding: 74px 0 88px; }
.dl-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.dl-copy .kicker { color: var(--gold); text-align: left; margin-bottom: 10px; }
.dl-copy h1 { font-size: 44px; line-height: 1.08; letter-spacing: -0.6px; margin-bottom: 16px; }
.dl-copy p { font-size: 18px; color: #c7d3de; max-width: 470px; margin-bottom: 28px; }
.badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge { display: inline-flex; align-items: center; gap: 12px; background: #000; border: 1px solid #2b3d4f; border-radius: 12px; padding: 11px 18px; text-decoration: none; color: #fff; min-width: 186px; }
.store-badge:hover { background: #141414; border-color: #3a4d60; }
.store-badge.unavailable, .store-badge.unavailable:hover { background: #263849; border-color: #445565; cursor: default; }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .bt { display: flex; flex-direction: column; line-height: 1.16; }
.store-badge .bt small { font-size: 11px; color: #cfd8e0; letter-spacing: 0.3px; }
.store-badge .bt b { font-size: 19px; font-weight: 700; }
.coming { display: inline-block; background: rgba(232,177,60,0.16); color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.dl-note { margin-top: 24px; color: #9fb0c0; font-size: 14px; max-width: 440px; line-height: 1.6; }
.dl-note b { color: #dfe8f0; }
.dl-visual { display: flex; justify-content: center; }
.phone { width: 272px; height: 548px; border-radius: 36px; background: #0b1a29; border: 2px solid #22384c; box-shadow: 0 22px 55px rgba(0,0,0,0.45); position: relative; padding: 13px; }
.phone .notch { position: absolute; top: 13px; left: 50%; transform: translateX(-50%); width: 92px; height: 20px; background: #0b1a29; border-radius: 0 0 12px 12px; z-index: 3; }
.phone .screen { width: 100%; height: 100%; border-radius: 26px; background: linear-gradient(180deg, #16324a, #0f2438); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; overflow: hidden; }
.phone .plogo { font-weight: 800; font-size: 22px; color: #fff; margin-bottom: 4px; }
.phone .plogo span { color: var(--gold); }
.phone .pcard { width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 13px; }
.phone .pcard .pl { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #9fb0c0; font-weight: 700; }
.phone .pcard .pv { font-size: 14.5px; color: #fff; font-weight: 700; margin-top: 3px; }
.phone .pbtn { width: 100%; background: var(--gold); color: var(--navy); text-align: center; font-weight: 700; padding: 11px; border-radius: 10px; font-size: 14px; }
.phone .screen.shot { padding: 24px 0 0; display: block; background: #F6F3EE; }
.phone .screen.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ============ ACCOUNT ============ */
.page { max-width: 820px; margin: 36px auto 70px; padding: 0 22px; }
.page .ph { margin-bottom: 22px; }
.page .ph h1 { font-size: 30px; letter-spacing: -0.3px; }
.page .ph p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.cardgrid { display: grid; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card .ct { display: flex; align-items: center; gap: 9px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; letter-spacing: 0.6px; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.card .cb { padding: 8px 20px 16px; }
.drow { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.drow:last-child { border-bottom: none; }
.drow .k { color: var(--muted); font-size: 14px; }
.drow .v { font-size: 15px; font-weight: 600; text-align: right; }
.drow .v.mono { font-variant-numeric: tabular-nums; }

/* license hero card */
.license { background: radial-gradient(130% 140% at 92% 0%, #22496a 0%, #0f2438 60%); color: #fff; border: none; }
.license .cb { padding: 24px 22px 22px; }
.license .lic-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.license .lic-name { font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; color: #aebccb; font-weight: 700; }
.license .lic-big { font-size: 26px; font-weight: 900; letter-spacing: -0.3px; margin-top: 3px; }
.license .lic-sub { color: #c7d3de; font-size: 14px; margin-top: 4px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; font-weight: 800; font-size: 13px; white-space: nowrap; }
.badge .dot { width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.badge.active { background: rgba(46,125,79,0.22); color: #8fe0ab; }
.badge.comp { background: rgba(232,177,60,0.18); color: var(--gold); }
.badge.none { background: rgba(255,255,255,0.1); color: #cdd7e0; }
.license .lic-feats { list-style: none; margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
.license .lic-feats li { color: #dfe8f0; font-size: 14px; padding-left: 24px; position: relative; }
.license .lic-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }

/* upsell (not purchased) */
.upsell .cb { padding: 22px; }
.upsell .price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.upsell .price .amt { font-size: 34px; font-weight: 900; letter-spacing: -0.5px; }
.upsell .price small { color: var(--muted); font-size: 14px; }
.upsell .price-note { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }
.upsell .lic-name { font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.muted-note { color: var(--muted); font-size: 13px; margin-top: 10px; }

.support-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.slink { display: flex; align-items: center; gap: 11px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); background: var(--surface-2); }
.slink:hover { border-color: #cdd7e0; box-shadow: var(--shadow); }
.slink .si { font-size: 20px; }
.slink b { display: block; font-size: 14.5px; }
.slink span { color: var(--muted); font-size: 12.5px; }

/* auth + account form bits (signin / purchase / upsell code box) */
.panel { max-width: 430px; margin: 60px auto; background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: 0 2px 10px rgba(15,36,56,0.1); }
.panel h1 { font-size: 24px; margin-bottom: 6px; }
.panel p.note { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.field { width: 100%; padding: 12px 14px; font-size: 16px; border: 1.5px solid #cfd8e0; border-radius: 8px; margin-bottom: 14px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: #dde4ea; }
.gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px; border: 1.5px solid #cfd8e0; border-radius: 8px; background: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
.msg { font-size: 14px; margin-top: 10px; }
.msg.err { color: var(--red); }
.msg.ok { color: var(--green); }

/* ---------- Logged-in shell (mountAppNav) ---------- */
.appnav nav { display: flex; align-items: center; gap: 4px; }
.appnav nav a { color: #dbe4ec; text-decoration: none; margin-left: 0; padding: 7px 12px; border-radius: 8px; font-size: 15px; }
.appnav nav a:hover { background: rgba(255,255,255,0.08); }
.appnav nav a.active { background: var(--gold); color: var(--navy); font-weight: 700; }
.appnav nav a.signout { color: #9fb0c0; }

/* ============ DASHBOARD — Move → Shipment PCS status (app continuity) ============
   The move card wears the APP status card's exact skin, and each shipment carries the app's
   six-node stage rail — so the phone and the website read as one product. Every value below
   is lifted verbatim from the app (App/src/theme/tokens.ts + StagePath/StageHeader):
   corner glow radial #E3EFF4 → #FBFCFB @55% from the top-left, border rgba(42,110,147,.20),
   accent #2A6E93, done-green #2E8A67, linen neutrals (#1E2A31 ink / #6A7982 sub / #EAE4DA
   line), and the per-shipment identity tints (HHG teal / UB bronze #8C6A2F, SHIP_TINT). */
.move { background: radial-gradient(125% 95% at 10% 0%, #E3EFF4 0%, #FBFCFB 55%); border: 1px solid rgba(42,110,147,0.20); border-radius: 16px; box-shadow: 0 5px 15px rgba(42,110,147,0.10); overflow: hidden; margin-top: 18px; }
/* The head is a <button> — the collapse toggle. Reset the button chrome, keep the card look. */
.move-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px 12px; width: 100%; appearance: none; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background 0.12s; }
.move-head:hover { background: rgba(255,255,255,0.5); }
.move-head .mchev { flex: none; color: #6A7982; opacity: 0.55; font-size: 22px; font-weight: 400; line-height: 1; transform: rotate(90deg); transition: transform 0.15s; }
/* Collapsed: the move's name + its Current/Past tag on the right (both always show — Ken).
   The full meta line and the shipment rows hide; a past move keeps its delivered date under
   the name via .mdate (rendered only for past moves, hidden while expanded). */
.move.closed .move-head { padding-bottom: 16px; }
.move.closed .mchev { transform: none; }
.move.closed .mmeta, .move.closed .ship { display: none; }
.move .mdate { display: none; }
.move.closed .mdate { display: block; }
.move-head .mrow { flex: 1; min-width: 0; }
.move-head .mname { font-size: 17px; font-weight: 800; color: #1E2A31; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.move-head .mmeta { color: #6A7982; font-size: 13px; margin-top: 2px; }
.tag-now { flex: none; white-space: nowrap; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; }
.tag-past { flex: none; white-space: nowrap; background: #EAE4DA; color: #6A7982; font-size: 11px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; }

.ship { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 14px 20px 16px; border-top: 1px solid rgba(42,110,147,0.12); cursor: pointer; text-decoration: none; color: inherit; transition: background 0.12s; }
.ship:hover { background: rgba(255,255,255,0.6); }
/* identity-tinted badge (SHIP_TINT: wash fill, border, tint ink) — teal HHG, bronze UB.
   Unscoped: the shipment rows AND the claim hero share it. */
.sbadge { flex: none; width: 50px; height: 50px; border-radius: 14px; background: rgba(42,110,147,0.10); border: 1px solid rgba(42,110,147,0.20); color: #2A6E93; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; line-height: 1; }
.sbadge.ub { background: rgba(140,106,47,0.10); border-color: rgba(140,106,47,0.25); color: #8C6A2F; }
.ship .smain { flex: 1; min-width: 0; }
.ship .sname { font-size: 16px; font-weight: 800; color: #1E2A31; }
.ship .sref { color: #6A7982; font-size: 12.5px; margin-top: 1px; }
.ship .chev { flex: none; color: #6A7982; opacity: 0.55; font-size: 22px; font-weight: 400; }

/* The stage rail — a CSS port of the app's StagePath. Six 24px discs joined by 2.5px
   segments: walked = solid green + ✓, current = solid identity-tinted disc with the step
   number in white and a soft halo, upcoming = plain with a grey number; stage names under
   every node. Segments tuck under the discs (negative margins = the node's 11px shoulder),
   and the nodes sit above them (z-index), exactly like the app's per-gap geometry. */
.rail { flex-basis: 100%; display: flex; align-items: flex-start; margin-top: 2px; --rail-tint: #2A6E93; --rail-halo: rgba(42,110,147,0.16); }
.rail.ub { --rail-tint: #8C6A2F; --rail-halo: rgba(140,106,47,0.16); }
.rail .rnode { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 46px; flex: none; z-index: 1; }
.rail .rdot { box-sizing: border-box; width: 24px; height: 24px; border-radius: 999px; background: #FBFDFE; border: 2px solid #EAE4DA; display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 700; color: #6A7982; }
.rail .rdot.done { background: #2E8A67; border-color: #2E8A67; color: #fff; font-size: 11.5px; }
.rail .rdot.cur { background: var(--rail-tint); border-color: var(--rail-tint); color: #fff; box-shadow: 0 0 0 4px var(--rail-halo); }
.rail .rname { font-size: 8.5px; font-weight: 700; color: #6A7982; white-space: nowrap; }
.rail .rnode.cur .rname { color: var(--rail-tint); font-weight: 800; }
.rail .rlink { flex: 1; height: 2.5px; border-radius: 99px; background: #EAE4DA; margin: 11px -12px 0; min-width: 6px; }
.rail .rlink.walked { background: #2E8A67; }

/* Shipment evidence sections (replaced the mirrored to-do checklist, Ken 2026-08-23): the
   shipment page shows its RECORDS as they populate — inventory sheets + digitized lines, and
   damage photos. Values from the app's tokens (cardSurface #FFFDFA, cardLine #ECE4D6, ok
   #2E8A67, warn #B2611E, sub #6A7982, ink #1E2A31, warm lift shadow); the section eyebrow
   wears the shipment identity tint like the app's focus banner. */
.evd { margin-top: 22px; --evd-tint: #2A6E93; }
.evd.ub { --evd-tint: #8C6A2F; }
/* The 3-way selector — Inventory · Damaged Items · Claim (Ken 2026-08-23). The app's hub
   idiom: underlined text tabs, active in the shipment identity tint; small count badges
   fill in as the records load (an empty .tn renders nothing). */
.evd-tabs { display: flex; gap: 24px; margin-top: 20px; padding: 0 4px; border-bottom: 1.5px solid #EAE4DA; --evd-tint: #2A6E93; }
.evd-tabs.ub { --evd-tint: #8C6A2F; }
.evd-tab { appearance: none; background: none; border: none; margin-bottom: -1.5px; padding: 2px 2px 10px; display: flex; align-items: baseline; gap: 6px; font-family: inherit; font-size: 14.5px; font-weight: 700; letter-spacing: -0.1px; color: #6A7982; cursor: pointer; border-bottom: 2.5px solid transparent; }
.evd-tab:hover { color: #1E2A31; }
.evd-tab.active { color: var(--evd-tint); font-weight: 800; border-bottom-color: var(--evd-tint); }
.evd-tab .tn { font-size: 11.5px; font-weight: 800; color: #8A97A4; }
.evd-tab .tn:empty { display: none; }
.evd-tab.active .tn { color: var(--evd-tint); opacity: 0.75; }
.evd-panel { margin-top: 16px; }
/* Claim tab head — items · total + Mark Complete (the old claim hero's foot, relocated). */
.claim-tab-head { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin-bottom: 14px; padding: 0 2px; }
/* Calm empty state — a quiet dashed card; the data replaces it as it becomes available. */
.evd-empty { border: 1.5px dashed #E0D7C7; border-radius: 16px; background: rgba(255,253,250,0.6); padding: 22px 18px; text-align: center; }
.evd-empty .ei { font-size: 22px; margin-bottom: 4px; }
.evd-empty .et { font-size: 14.5px; font-weight: 700; color: #1E2A31; }
.evd-empty .es { font-size: 13px; color: #6A7982; margin-top: 3px; max-width: 420px; margin-left: auto; margin-right: auto; }
.evd-loading { padding: 14px 4px; font-size: 13px; color: #6A7982; }

/* Inventory tab — the app's Inventory List: one group card per sheet, an "ITEMS a–b" head
 * strip ("Sheet photo ›" once processed, a state word + dot until then), rows below. */
.inv-group { background: #FFFDFA; border: 1px solid #ECE4D6; border-radius: 16px; box-shadow: 0 6px 16px rgba(70,52,24,0.08); overflow: hidden; }
.inv-group + .inv-group { margin-top: 12px; }
.inv-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 14px; background: rgba(106,121,130,0.06); border-bottom: 1px solid #EAE4DA; }
.inv-label { min-width: 0; font-size: 12px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; color: #6A7982; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv-open { appearance: none; flex: none; background: none; border: none; padding: 0; font-family: inherit; font-size: 13px; font-weight: 800; color: #2A6E93; cursor: pointer; }
.inv-open:hover { text-decoration: underline; }
.inv-state { display: flex; flex: none; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; }
.inv-state .dot { width: 6px; height: 6px; border-radius: 3px; background: currentColor; }
.inv-state.queued { color: #6A7982; }
.inv-state.processing { color: #2A6E93; animation: evd-pulse 1.6s ease-in-out infinite; }
.inv-state.warn { color: #B2611E; }
/* The one honest line under an unprocessed (or empty) sheet's head. */
.inv-ghost { padding: 9px 14px; font-size: 12px; font-style: italic; color: #6A7982; }
@keyframes evd-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
/* The digitized lines — mono sticker number in the shipment tint (the app's Menlo idiom). */
.sheet-line { display: flex; align-items: baseline; gap: 12px; padding: 8px 14px; }
.sheet-line + .sheet-line { border-top: 1px solid #F6F1E8; }
.sl-no { flex: none; width: 44px; text-align: right; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; font-weight: 700; color: var(--evd-tint); }
.sl-main { flex: 1; min-width: 0; }
.sl-desc { font-size: 14px; font-weight: 600; color: #1E2A31; }
.sl-cond { font-size: 12px; color: #6A7982; margin-top: 1px; }
.sl-eyes { flex: none; align-self: center; font-size: 10.5px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; color: #B2611E; background: rgba(178,97,30,0.12); border-radius: 999px; padding: 3px 8px; }

/* Damaged Items tab — the app's damage list: one row per item, 62px hero thumb, name over
 * "Sticker #N · N photos", chevron. Read-only; a tap pages through the angles. */
.dmg-list { background: #FFFDFA; border: 1px solid #ECE4D6; border-radius: 16px; box-shadow: 0 6px 16px rgba(70,52,24,0.08); padding: 0 14px; }
.dmg-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 0; margin: 0; border: none; border-top: 1px solid #F1EBE0; background: none; font-family: inherit; text-align: left; }
.dmg-row:first-child { border-top: none; }
button.dmg-row { cursor: pointer; }
.dmg-thumb { flex: none; width: 62px; height: 62px; border-radius: 10px; overflow: hidden; background: #EAE4DA; box-shadow: 0 4px 12px rgba(70,52,24,0.10); }
.dmg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dmg-thumb.ph { background: repeating-linear-gradient(45deg, #f1ece3, #f1ece3 8px, #e9e2d5 8px, #e9e2d5 16px); box-shadow: none; }
.dmg-text { flex: 1; min-width: 0; }
.dmg-name { font-size: 14.5px; font-weight: 700; color: #1E2A31; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dmg-meta { font-size: 12.5px; color: #6A7982; margin-top: 2px; }
.dmg-chev { flex: none; color: #6A7982; font-size: 17px; font-weight: 700; line-height: 1; }

/* Lightbox prev/next (multi-angle damage photos). */
.lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); z-index: 101; width: 42px; height: 42px; border-radius: 999px; border: none; background: rgba(255,255,255,0.14); color: #fff; font-size: 20px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-nav:hover { background: rgba(255,255,255,0.26); }
.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }
.lightbox-counter { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 101; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,0.85); }

/* claims-list header ("Your claims" + subtitle) */
.claim-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.claim-h h1 { font-size: 28px; letter-spacing: -0.3px; }
.claim-h p { color: var(--muted); font-size: 14.5px; }

/* ---------- Claim view chrome ---------- */
.claimwrap { max-width: 780px; margin: 34px auto 70px; padding: 0 20px; }
.claim-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.claim-head h1 { font-size: 27px; }
.claim-lead { color: var(--muted); font-size: 15px; max-width: 560px; margin-bottom: 22px; }
.crumb { display: inline-block; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.crumb:hover { color: var(--navy); }

/* Claim hero — the app-continuity banner over a shipment's claim (mirrors .move / the app's
   shipment-mode status card): identity corner glow + tint, shipment badge, name in the tint.
   --ship-tint drives the name + line numbers below (HHG teal / UB bronze, SHIP_TINT). */
.claim-hero { background: radial-gradient(125% 95% at 10% 0%, #E3EFF4 0%, #FBFCFB 55%); border: 1px solid rgba(42,110,147,0.20); border-radius: 16px; box-shadow: 0 5px 15px rgba(42,110,147,0.10); padding: 16px 18px; margin: 6px 0 18px; --ship-tint: #2A6E93; }
.claim-hero.ub { background: radial-gradient(125% 95% at 10% 0%, #EFEAE2 0%, #FBFCFB 55%); border-color: rgba(140,106,47,0.25); box-shadow: 0 5px 15px rgba(140,106,47,0.10); --ship-tint: #8C6A2F; }
.claim-hero .ch-top { display: flex; align-items: center; gap: 12px; }
.claim-hero .ch-main { flex: 1; min-width: 0; }
.claim-hero .ch-name { font-size: 17px; font-weight: 800; color: var(--ship-tint); }
.claim-hero .ch-sub { font-size: 13px; color: #6A7982; margin-top: 2px; }
.claim-hero .ch-foot { margin-top: 13px; display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
/* Items + Total, inline in the hero foot ("4 items · $1,975 claimed") — the old strip's job */
.claim-hero .ch-stats, .claim-tab-head .ch-stats { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; color: #6A7982; white-space: nowrap; }
.claim-hero .ch-stats b, .claim-tab-head .ch-stats b { font-size: 16px; font-weight: 800; color: #1E2A31; }
.claim-tab-head .ch-sep { color: #EAE4DA; }
.claim-hero .ch-sep { color: #EAE4DA; }

/* line cards — the app's warm card lift (cardSurface / cardLine / warm shadow) */
.lines { display: flex; flex-direction: column; gap: 16px; --ship-tint: #2A6E93; }
.lines.ub { --ship-tint: #8C6A2F; }
.line-card { background: #FFFDFA; border: 1px solid #ECE4D6; border-radius: 14px; box-shadow: 0 6px 16px rgba(70,52,24,0.08); overflow: hidden; }
.line-card.done { opacity: 0.62; }
.line-head { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid #F2EDE4; }
.line-num { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--ship-tint, #2A6E93); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.line-title { flex: 1; min-width: 0; }
.line-title .name { font-weight: 700; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-title .meta { color: var(--muted); font-size: 13px; }
.line-chip { flex: none; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
/* app meaning-tones: warn #B2611E (draft/pending), ok #2E8A67 (added/complete) */
.chip.pending { background: rgba(178,97,30,0.12); color: #B2611E; }
.chip.approved { background: rgba(46,138,103,0.12); color: #2E8A67; }
.chip.tweaked { background: rgba(42,110,147,0.12); color: #2A6E93; }

/* filed toggle (claim detail) */
.filed { flex: none; display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); cursor: pointer; user-select: none; }
.filed input { width: 17px; height: 17px; accent-color: #2E8A67; cursor: pointer; }

/* field rows (claim detail — labels/values/copy payloads untouched, chrome only) */
.fields { padding: 6px 18px 14px; }
.field-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F4F0E9; }
.field-row:last-child { border-bottom: none; }
.field-row .fl { flex: none; width: 190px; letter-spacing: 0.2px; font-size: 12px; font-weight: 700; color: var(--muted); padding-top: 2px; }
.field-row .fv { flex: 1; min-width: 0; font-size: 15px; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
.field-row .fv.empty { color: #9aa7b4; font-style: italic; }
.field-row .fv.money { font-variant-numeric: tabular-nums; }
.copybtn { flex: none; border: 1.5px solid #cfd8e0; background: #fff; color: var(--navy); border-radius: 7px; padding: 5px 11px; font-size: 13px; font-weight: 600; cursor: pointer; }
.copybtn:hover { background: #eef2f6; }
.copybtn.copied { border-color: var(--green); color: var(--green); background: #eef7f1; }

.line-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 18px; background: #fafbfc; border-top: 1px solid #eef1f4; }

/* comparable-listing link (the AI's priced comparable) — its own row */
.line-comparable { padding: 4px 18px 12px; }
.comparable-link { font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: underline; cursor: pointer; }
.comparable-link:hover { color: var(--gold-dark); }
/* the chosen listing (Spec 1): product thumb · title link · "$price · merchant" · part line */
.fv.cmp { display: flex; gap: 10px; align-items: flex-start; }
.cmp-thumb { flex: none; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: #F1EADD; border: 1px solid #ECE4D6; display: flex; align-items: center; justify-content: center; }
.cmp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cmp-thumb.ph::before { content: ""; width: 20px; height: 20px; border: 2px solid #b8b0a4; border-radius: 4px; }
.cmp-body { flex: 1; min-width: 0; }
.cmp-title { font-size: 15px; color: var(--ink); }
.cmp-meta { font-size: 13px; color: var(--muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
.cmp-part { font-size: 13px; color: var(--ink); margin-top: 2px; }

/* photos — a dedicated block on every line (same shape empty or full) */
.line-photos { padding: 6px 18px 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.upload-instr { font-size: 14px; font-weight: 800; color: var(--ink); }
.photo-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.photo-tile.preview { width: 60px; height: 60px; padding: 0; border: 1px solid #d5dde4; border-radius: 8px; overflow: hidden; background: #fff; cursor: pointer; }
.photo-tile.preview:hover { border-color: var(--navy); }
.photo-tile.preview.placeholder { cursor: default; }
.photo-tile.preview.placeholder:hover { border-color: #d5dde4; }
.photo-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-thumb.ph { width: 100%; height: 100%; background: repeating-linear-gradient(45deg, #eef2f6, #eef2f6 8px, #e6ecf2 8px, #e6ecf2 16px); }
.photo-none { color: #9aa7b4; font-size: 13px; font-style: italic; }

/* full-size photo viewer (tap a thumbnail) */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,20,30,0.9); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox-img { max-width: 96vw; max-height: 94vh; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }

/* the top-of-claim "download all photos" bundle — accent wash (app tone) */
.photo-bundle { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: rgba(42,110,147,0.08); border: 1.5px solid rgba(42,110,147,0.20); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }
.photo-bundle .pb-text { min-width: 0; }
.photo-bundle .pb-title { font-weight: 800; font-size: 16px; color: #1E2A31; }
.photo-bundle .pb-sub { color: #6A7982; font-size: 13.5px; margin-top: 2px; }
.photo-bundle .btn { flex: none; }
.claim-download { max-width: 100%; min-width: 0; }
.download-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.download-actions [hidden] { display: none; }
.download-status:empty { display: none; }
.download-status { margin-top: 8px; font-size: 13px; color: #526671; overflow-wrap: anywhere; }
.download-status.error { color: #9c3b32; }
.download-failures { font-size: 13px; color: #9c3b32; overflow-wrap: anywhere; }
.download-failures details { margin-top: 8px; }
.download-failures summary { cursor: pointer; }
.download-failures ul { padding-left: 20px; }
.photo-bundle .claim-download { flex-basis: 100%; }

/* ============ CLAIM OVERRIDE — edit mode on a line card (Claim Override spec, 2026-09-02) ============
   The app's tokens: cardSurface #FFFDFA / cardLine #ECE4D6 / accent #2A6E93; inputs 15px; the
   comparable radio list = .cmp-option rows with 56px thumbs, selected = accent ring. */
.edit-btn { margin-left: 2px; }
.line-card.editing { box-shadow: 0 0 0 2px rgba(42,110,147,0.35), 0 6px 16px rgba(70,52,24,0.08); }
.line-edit { padding: 6px 18px 4px; }
.fe-row { padding: 10px 0; border-bottom: 1px solid #F4F0E9; }
.fe-row:last-child { border-bottom: none; }
.fe-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.2px; color: var(--muted); margin-bottom: 6px; }
.fe-reset { font-size: 12px; font-weight: 600; color: #2A6E93; background: none; border: none; cursor: pointer; padding: 0; font-family: inherit; }
.fe-reset:hover { text-decoration: underline; }
.fe-static { font-size: 15px; color: var(--ink); }
.fe-static.empty { color: #9aa7b4; font-style: italic; }
.fe-input, .fe-ta { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1.5px solid #E0D7C7; border-radius: 9px; padding: 9px 12px; }
.fe-input:focus, .fe-ta:focus { outline: none; border-color: #2A6E93; box-shadow: 0 0 0 3px rgba(42,110,147,0.14); }
.fe-ta { min-height: 110px; resize: vertical; line-height: 1.5; }
.fe-money { display: flex; align-items: center; gap: 8px; max-width: 220px; }
.fe-money .cur { font-weight: 700; color: var(--muted); }
.fe-money .fe-input { font-variant-numeric: tabular-nums; }
.cmp-options { display: flex; flex-direction: column; gap: 8px; }
.cmp-option { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1.5px solid #ECE4D6; border-radius: 10px; background: #fff; cursor: pointer; }
.cmp-option.selected { border-color: #2A6E93; box-shadow: 0 0 0 2px rgba(42,110,147,0.18); }
.cmp-option input[type="radio"] { accent-color: #2A6E93; margin: 0; flex: none; }
.cmp-option .co-body { flex: 1; min-width: 0; }
.cmp-option .co-tag { font-size: 10.5px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; color: #2A6E93; }
.cmp-option .co-title { font-size: 14px; color: var(--ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cmp-option .co-meta { font-size: 12.5px; color: var(--muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
/* the own-link box: shown only while "Use my own link" is picked — [hidden] must beat the display rule */
.cmp-own { margin: 8px 0 2px 30px; display: flex; flex-direction: column; gap: 8px; }
.cmp-own[hidden] { display: none; }
.cmp-own .fe-input { width: 100%; min-width: 0; }
.fe-input.fe-short { max-width: 220px; }
select.fe-input { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235d6b7a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 34px; cursor: pointer; }
.before-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.before-tile { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: #F1EADD; border: 1px solid #ECE4D6; flex: none; }
.before-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.before-tile.none { border: 1.5px dashed rgba(42,110,147,0.55); background: rgba(42,110,147,0.06); display: flex; align-items: center; justify-content: center; color: #2A6E93; font-size: 24px; font-weight: 300; }
.before-text { flex: 1; min-width: 160px; font-size: 13px; color: var(--muted); }
.before-text b { display: block; color: var(--ink); font-size: 14px; }
.before-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.edit-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 18px; background: #fafbfc; border-top: 1px solid #eef1f4; }
.edit-foot .hint { flex: 1; min-width: 160px; font-size: 13px; color: var(--muted); }
/* the dashed "add a before photo" door on a line with none — Spec 2's tile, on the web */
.photo-tile.before-add { width: 60px; height: 60px; border: 1.5px dashed rgba(42,110,147,0.55); background: rgba(42,110,147,0.06); border-radius: 8px; color: #2A6E93; font-size: 9.5px; font-weight: 800; letter-spacing: 0.3px; text-transform: uppercase; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 0; font-family: inherit; }
.photo-tile.before-add .plus { font-size: 20px; font-weight: 300; line-height: 1; }
.photo-tile.before-add:hover { background: rgba(42,110,147,0.12); }
.est-add { margin-left: 4px; font-size: 13px; font-weight: 600; color: #2A6E93; background: none; border: none; cursor: pointer; padding: 0; text-decoration: underline; font-family: inherit; font-style: normal; }
/* the before-photo picker (catalog grid + search + upload) */
.pick-overlay { position: fixed; inset: var(--pick-top, 0px) 0 auto; height: var(--pick-height, 100vh); height: var(--pick-height, 100dvh); z-index: 120; background: rgba(10,20,30,0.55); display: flex; align-items: center; justify-content: center; padding: 18px; }
.pick-modal { position: relative; background: #fff; border-radius: 14px; box-shadow: 0 18px 50px rgba(15,36,56,0.35); width: 100%; max-width: 640px; max-height: 100%; min-height: 0; overflow: hidden; display: flex; flex-direction: column; padding: 22px 22px 18px; }
.pick-modal > :not(.pick-grid) { flex-shrink: 0; }
.pick-modal h2 { font-size: 19px; margin-bottom: 2px; padding-right: 30px; }
.pick-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 12px; }
.pick-tools { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.pick-tools .fe-input { flex: 1; min-width: 160px; font-size: 16px; }
/* Content-sized rows cannot collapse when the flex viewport is shorter than the catalog.
   overflow:hidden on each button otherwise permits a 10px automatic minimum. */
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); grid-auto-rows: max-content; align-content: start; gap: 10px; overflow: auto; overscroll-behavior: contain; padding: 2px; flex: 1 1 auto; min-height: 0; }
.pick-tile { min-height: max-content; align-self: start; border: 1px solid #ECE4D6; border-radius: 10px; background: #FFFDFA; padding: 0 0 8px; cursor: pointer; text-align: left; font-family: inherit; overflow: hidden; }
.pick-tile:hover { border-color: #2A6E93; }
.pick-tile .pt-img { width: 100%; aspect-ratio: 1; background: #F1EADD; object-fit: cover; display: block; }
.pick-tile .pt-img.ph { background: repeating-linear-gradient(45deg, #f1ece3, #f1ece3 8px, #e9e2d5 8px, #e9e2d5 16px); }
.pick-tile .pt-name { font-size: 12.5px; font-weight: 700; color: var(--ink); padding: 6px 8px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-tile .pt-room { font-size: 11px; color: var(--muted); padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-empty { color: var(--muted); font-size: 13.5px; padding: 18px 4px; text-align: center; grid-column: 1 / -1; }
.pick-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.pick-foot .pf-note { font-size: 12.5px; color: var(--muted); }
/* On a keyboard-sized viewport, reserve room for photos and the Cancel button. */
.pick-overlay.compact { padding: 8px; }
.pick-overlay.compact .pick-modal { padding: 14px; }
.pick-overlay.compact .pick-sub, .pick-overlay.compact .pf-note { display: none; }
.pick-x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: none; background: transparent; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; border-radius: 8px; }
.pick-x:hover { background: #eef2f6; color: var(--ink); }

/* states */
.claim-state { max-width: 520px; margin: 40px auto; background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: 0 2px 10px rgba(15,36,56,0.08); text-align: center; }
.claim-state .ico { font-size: 40px; margin-bottom: 8px; }
.claim-state h2 { font-size: 20px; margin-bottom: 8px; }
.claim-state p { color: var(--muted); font-size: 15px; margin-bottom: 6px; }
/* embedded variant — a not-ready claim state under the claim hero (§6.2), on the warm card */
.claim-state.embedded { margin: 8px auto 0; background: #FFFDFA; border: 1px solid #ECE4D6; box-shadow: 0 6px 16px rgba(70,52,24,0.08); }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff; padding: 11px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; z-index: 50; box-shadow: 0 6px 20px rgba(15,36,56,0.25); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.demo-banner { background: #f3e9d8; color: #8a6d1f; text-align: center; font-size: 13px; font-weight: 600; padding: 8px 16px; }

.legal { max-width: 760px; margin: 50px auto; padding: 0 20px; }
.legal h1 { margin-bottom: 4px; }
.legal .date { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.legal h2 { font-size: 20px; margin: 26px 0 8px; }
.legal p, .legal li { color: #333f4c; font-size: 15px; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }

/* ============ CONTACT SUPPORT (in-site popup, app.js openSupportModal) ============ */
.support-overlay { position: fixed; inset: 0; z-index: 120; background: rgba(10,20,30,0.55); display: flex; align-items: center; justify-content: center; padding: 18px; }
.support-modal { position: relative; background: #fff; border-radius: 14px; box-shadow: 0 18px 50px rgba(15,36,56,0.35); width: 100%; max-width: 460px; max-height: 92vh; overflow: auto; padding: 26px 24px 22px; }
.support-modal h2 { font-size: 21px; margin-bottom: 4px; }
.support-sub { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.support-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--muted); margin: 2px 0 5px; }
.support-modal .field { margin-bottom: 12px; }
.support-modal select.field { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235d6b7a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 38px; cursor: pointer; }
.support-modal textarea.field { resize: vertical; min-height: 110px; font-family: inherit; line-height: 1.5; }
/* Honeypot — offscreen, never display:none (some bots skip hidden fields). */
.support-hp { position: absolute; left: -5000px; top: 0; width: 1px; height: 1px; opacity: 0; }
.support-x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: none; background: transparent; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; border-radius: 8px; }
.support-x:hover { background: #eef2f6; color: var(--ink); }
.support-alt { color: var(--muted); font-size: 13px; margin-top: 12px; text-align: center; }
.support-ok { text-align: center; padding: 18px 4px 6px; }
.support-ok .ok-ic { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 999px; background: var(--green-bg); color: var(--green); font-size: 26px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.support-ok p { color: var(--muted); font-size: 14.5px; margin: 6px 0 18px; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }

  header.site { padding: 12px 0; }
  .logo { font-size: 18px; }
  .logo-mark { width: 26px; height: 26px; }
  nav.top a:not(.btn) { display: none; }
  nav.top a.btn { padding: 9px 16px; font-size: 14px; }

  /* Signed-in nav (Dashboard/Account/Download/Sign Out): four links never fit beside the
     logo on a phone, so the nav wraps to its own full-width line under it — evenly
     spread, no lateral squeeze. */
  .appnav .wrap { flex-wrap: wrap; }
  .appnav nav { width: 100%; justify-content: space-between; gap: 0; margin-top: 6px; }
  .appnav nav a { padding: 7px 10px; font-size: 14px; }

  .hero { padding: 52px 0 56px; }
  .hero h1 { font-size: 34px; }
  .hero .sub { font-size: 16px; margin-bottom: 24px; }
  .hero .price-line { font-size: 13px; padding: 0 10px; }

  .steps { padding: 44px 0 20px; }
  .steps .head { margin-bottom: 28px; }
  .steps .grid { grid-template-columns: 1fr; gap: 14px; }
  h2.section { font-size: 24px; }
  .pricing { padding: 46px 0; }
  .price-card { padding: 26px 22px; }
  .freeband { padding: 22px 0; font-size: 15px; }

  .dl { padding: 48px 0 60px; }
  .dl-wrap { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .dl-copy h1 { font-size: 34px; }
  .dl-copy .kicker { text-align: center; }
  .dl-copy p { margin-left: auto; margin-right: auto; }
  .badges { justify-content: center; }
  .dl-note { margin-left: auto; margin-right: auto; }

  .page { margin: 22px auto 50px; }
  .page .ph h1 { font-size: 26px; }
  .license .lic-feats { grid-template-columns: 1fr; }
  .support-links { grid-template-columns: 1fr; }

  footer.site .wrap { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  footer.site a { margin: 0 9px; }

  .panel { margin: 20px 14px; padding: 24px 20px; }
  .legal { margin: 28px auto; }

  .appnav nav a { padding: 7px 9px; font-size: 14px; margin-left: 0; }
  .claimwrap { margin-top: 20px; }
  .claim-head h1 { font-size: 23px; }
  .ship { gap: 10px 12px; padding: 12px 16px 14px; }
  .sbadge { width: 44px; height: 44px; font-size: 13.5px; }
  .rail .rnode { width: 42px; }
  .rail .rlink { margin: 11px -10px 0; }
  .rail .rname { font-size: 8px; }
  .field-row { flex-wrap: wrap; gap: 6px 10px; align-items: center; }
  .field-row .fl { width: auto; flex: 1; padding-top: 0; }
  .field-row .fv { flex-basis: 100%; order: 3; }
  .field-row .copybtn { order: 2; }
  .cmp-own { margin-left: 0; }
  .line-head { flex-wrap: wrap; }
}

/* Comfortable tap targets + no iOS zoom on inputs */
@media (pointer: coarse) {
  .btn, .gbtn { min-height: 48px; }
  .field { min-height: 48px; font-size: 16px; }
}

/* Pricing choices retain the site's existing cards and type. */
.pricing .wrap { max-width: 1000px; }
.pricing-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pricing-options .price-card { width: 100%; max-width: none; }
.pricing-options .amt { font-size: clamp(34px, 5vw, 48px); }
.access-plans { display: flex; gap: 10px; margin: 14px 0; }
.access-plan { flex: 1; padding: 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.access-plan:has(input:checked) { border-color: var(--gold); background: rgba(210,172,104,.12); }
.access-plan strong, .access-plan small { display: block; margin-top: 4px; }
.access-plan strong { font-size: 24px; }
.access-plan input { margin-right: 5px; }
.access-plan:has(input:disabled) { cursor: default; opacity: .55; }
.pass-scope { margin: 10px 0; }
@media (max-width: 620px) { .pricing-options { grid-template-columns: 1fr; } }
/* DPS paste fields: the full account stays with the evidence packet. */
.dps-count { margin-top: 5px; font-size: 11px; font-weight: 400; opacity: .75; }
.dps-note { padding: 14px 18px; display: flex; gap: 14px; align-items: center; }
.dps-full { margin: 12px 18px; font-size: 13px; }
.dps-full summary { cursor: pointer; }
.dps-full p { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
