/* ==========================================================================
   FIELDPLAN.CSS  —  Military to Financial Freedom shared design system
   Premium editorial re-skin (matches deploy/index.html): cream page, white
   "paper" panels, Fraunces display + EB Garamond body + Inter labels, one
   rust accent, deep-forest contrast panels. Field-manual SOUL kept — numbered
   moves, "FIELD PLAN . NO. 001" labels, checklist marks — rendered premium.

   Link on every page:  <link rel="stylesheet" href="/assets/fieldplan.css">
   EVERY class name / selector below is preserved from the prior version so no
   page markup and no app JS (state toggles, injected nav, badges, progress)
   breaks. Only the STYLING changed. Reuse these classes — do NOT invent
   parallel styles. Mobile-first. Breakpoints at 640 / 1024. WCAG AA.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,900;1,9..144,400;1,9..144,600&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@400;500;600&display=swap');

/* ---- Tokens (mirrors deploy/index.html :root — the single source of truth) - */
:root{
  /* Premium palette */
  --cream:#f6f1e6; --surface:#fffdf9; --sand:#efe8d8;
  --ink:#1c1d17; --muted:#6f6e60; --line:#e3ddce;
  --rust:#b4552f; --rust-ink:#9e4620; --rust-dk:#8a3d1c;
  --forest:#262b22; --forest-2:#2f352a;
  --numeral:#cabf9f;
  --warm-lt:#e2a07a;   /* warm accent for eyebrows/links on forest (AA on #262b22) */

  --display:'Fraunces',Georgia,'Times New Roman',serif;
  --body:'EB Garamond',Georgia,serif;
  --ui:'Inter',system-ui,-apple-system,Segoe UI,sans-serif;

  /* Legacy aliases — kept so page-level inline styles that reference the old
     token names keep resolving; each is remapped onto the premium palette. */
  --txt:#26271f;
  --paper:#efe8d8;      /* -> sand */
  --tan:#efe8d8;        /* -> sand */
  --olive:#262b22;      /* -> forest (deep contrast sections / auth page bg) */
  --olive2:#20241c;     /* -> deeper forest (brandbar / dark sections) */
  --olive3:#2f352a;     /* -> forest-2 */
  --orange:#b4552f;     /* -> rust */
  --orange2:#9e4620;    /* -> rust-ink */
  --red:#a4442a;        /* -> deep red-rust (danger) */
  --gold:#9e7b33;       /* -> muted gold (kicker variant only) */
  --line-d:#3a4034;     /* hairline on forest */
  --sans:var(--ui);     /* Saira -> Inter */
  --serif:var(--body);  /* EB Garamond stays */
  --mono:var(--ui);     /* Space Mono -> Inter */

  /* Semantic status colors (tuned for AA on their chips) */
  --st-notstarted:#6f6e60; --st-progress:#9e4620; --st-blocked:#a4442a;
  --st-completed:#3f6b3a; --st-notrelevant:#8a8a72; --st-snoozed:#6a5a86;
  --pr-time:#a4442a; --pr-high:#9e4620; --pr-found:#3f6b3a;
  --focus:#b4552f;

  --radius:8px; --radius-lg:12px;
  --shadow:0 18px 40px -24px rgba(28,29,23,.30);
  --shadow-lg:0 34px 68px -34px rgba(28,29,23,.44);
  --wrap:1040px;
}

/* ------------------------------- Reset/base ------------------------------- */
*{box-sizing:border-box;min-width:0;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
html,body{margin:0;}
body.fp{background:var(--cream);color:var(--ink);font-family:var(--body);
  font-size:18px;line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden;}
img{max-width:100%;height:auto;display:block;}
a{color:var(--rust-ink);}
a:hover{color:var(--rust-dk);}
hr,.fp-rule{border:none;border-top:1px solid var(--line);margin:24px 0;height:0;}
.fp-dark .fp-rule,.fp-olive .fp-rule{border-top-color:var(--line-d);}

/* -------------------------- Layout: shells/sections ----------------------- */
.fp-wrap{max-width:var(--wrap);margin:0 auto;padding:0 clamp(20px,5vw,40px);width:100%;}
.fp-wrap-narrow{max-width:680px;}
.fp-wrap-mid{max-width:800px;}
.fp-section{padding:clamp(48px,9vw,88px) 0;}
.fp-section-sm{padding:clamp(30px,5vw,44px) 0;}
.fp-olive{background:var(--olive);color:#e2ddce;}
.fp-dark{background:var(--olive2);color:#e2ddce;}
.fp-paper{background:var(--sand);}
.fp-cream{background:var(--cream);}
.fp-stack{display:flex;flex-direction:column;gap:16px;}
.fp-stack-sm{display:flex;flex-direction:column;gap:10px;}

/* skip link — accessibility */
.fp-skip{position:absolute;left:-9999px;top:0;z-index:200;background:var(--forest);
  color:#f4efe1;font-family:var(--ui);font-weight:600;font-size:13px;letter-spacing:.02em;
  padding:12px 18px;text-decoration:none;border-radius:0 0 8px 0;}
.fp-skip:focus{left:8px;top:8px;outline:3px solid var(--rust);}

/* ------------------------------- Typography ------------------------------- */
.fp h1,.fp h2,.fp h3,.fp h4,
.fp-h1,.fp-h2,.fp-h3,.fp-h4{
  font-family:var(--display);font-weight:500;letter-spacing:-.012em;
  line-height:1.08;margin:0;color:var(--ink);text-wrap:balance;}
.fp h1,.fp-h1{font-size:clamp(34px,6.4vw,52px);line-height:1.03;}
.fp h2,.fp-h2{font-size:clamp(27px,4.4vw,40px);line-height:1.06;}
.fp h3,.fp-h3{font-size:clamp(21px,2.7vw,26px);line-height:1.18;}
.fp h4,.fp-h4{font-size:19px;line-height:1.25;}
.fp-olive h1,.fp-dark h1,.fp-olive h2,.fp-dark h2,
.fp-olive h3,.fp-dark h3,.fp-olive .fp-h1,.fp-dark .fp-h1,
.fp-olive .fp-h2,.fp-dark .fp-h2,.fp-olive .fp-h3,.fp-dark .fp-h3{color:#f4efe1;}
.fp-lead{font-size:clamp(19px,2.1vw,21px);line-height:1.55;margin:14px 0 0;color:var(--ink);}
.fp-olive .fp-lead,.fp-dark .fp-lead{color:#cbc6b5;}
.fp-muted{color:var(--muted);}
.fp-serif{font-family:var(--body);}

/* mono kicker label -> refined rust eyebrow */
.fp-kick{display:inline-block;font-family:var(--ui);font-weight:600;font-size:12.5px;
  letter-spacing:.18em;text-transform:uppercase;color:var(--rust-ink);margin:0 0 12px;}
.fp-kick-gold{color:var(--gold);}
.fp-olive .fp-kick,.fp-dark .fp-kick{color:var(--warm-lt);}

/* STAMP — an elegant small rust label (no rubber-stamp / rotation) */
.fp-stamp{display:inline-flex;align-items:center;gap:7px;font-family:var(--ui);
  font-weight:600;font-size:11px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--rust-ink);border:1px solid #e7c6b0;border-radius:20px;
  padding:5px 12px;background:#f9ede3;line-height:1;}
.fp-stamp-red{color:#8f2f22;border-color:#e3b3a9;background:#f6ddd7;}
.fp-stamp-draft{color:#8f2f22;border-color:#e3b3a9;background:#f6ddd7;}
.fp-stamp svg,.fp-stamp .dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none;}
.fp-olive .fp-stamp,.fp-dark .fp-stamp{color:#f0c69a;border-color:rgba(240,198,154,.4);
  background:rgba(240,198,154,.1);}

/* small "note" line */
.fp-note{font-family:var(--ui);font-size:13px;color:var(--muted);letter-spacing:.005em;
  line-height:1.55;margin-top:10px;}
.fp-olive .fp-note,.fp-dark .fp-note{color:#9d9a88;}
.fp-olive .fp-note a,.fp-dark .fp-note a{color:var(--warm-lt);}
.fp-olive .fp-note a:hover,.fp-dark .fp-note a:hover{color:#fff;}

/* ------------------------- Compact brand header bar ----------------------- */
.fp-brandbar{background:var(--forest);border-bottom:1px solid var(--line-d);
  padding:11px 16px;text-align:center;font-family:var(--ui);font-weight:500;font-size:11.5px;
  letter-spacing:.16em;text-transform:uppercase;color:#b8b49f;}
.fp-brandbar b{color:#f4efe1;font-weight:600;}

/* -------------------------------- Site nav -------------------------------- */
/* Injected by /assets/nav.js — MTFFNav.mount(). Premium cream nav (matches index). */
.fp-nav{position:sticky;top:0;z-index:40;background:var(--cream);
  border-bottom:1px solid var(--line);}
@supports not (backdrop-filter:blur(6px)){.fp-nav{background:var(--cream);}}
.fp-nav-inner{max-width:var(--wrap);margin:0 auto;padding:0 clamp(16px,5vw,40px);min-height:60px;
  display:flex;align-items:center;justify-content:space-between;gap:14px;}
.fp-nav-brand{display:flex;flex-direction:column;line-height:1.15;text-decoration:none;
  font-family:var(--ui);}
.fp-nav-brand b{color:var(--ink);font-size:15px;font-weight:600;letter-spacing:.14em;}
.fp-nav-brand span{color:var(--muted);font-size:8.5px;font-weight:500;letter-spacing:.12em;}
.fp-nav-menu{display:flex;align-items:center;gap:26px;}
.fp-nav-menu a{font-family:var(--ui);font-weight:500;font-size:14.5px;letter-spacing:.005em;
  color:var(--ink);text-decoration:none;padding:8px 2px;border-bottom:2px solid transparent;}
.fp-nav-menu a:hover,.fp-nav-menu a:focus-visible{color:var(--rust-ink);border-bottom-color:var(--rust);}
.fp-nav-menu a.fp-nav-cta{border-bottom:none;color:var(--cream);padding:11px 18px;}
.fp-nav-menu a.fp-nav-cta:hover,.fp-nav-menu a.fp-nav-cta:focus-visible{color:var(--cream);border-bottom:none;}
.fp-nav-toggle{display:none;align-items:center;justify-content:center;
  width:44px;height:44px;background:transparent;border:1.5px solid var(--ink);
  border-radius:var(--radius);color:var(--ink);cursor:pointer;padding:0;}
.fp-nav-toggle .bars,.fp-nav-toggle .bars::before,.fp-nav-toggle .bars::after{
  display:block;width:20px;height:2px;background:currentColor;position:relative;transition:transform .18s,opacity .18s;}
.fp-nav-toggle .bars::before,.fp-nav-toggle .bars::after{content:"";position:absolute;left:0;}
.fp-nav-toggle .bars::before{top:-6px;}
.fp-nav-toggle .bars::after{top:6px;}
.fp-nav-toggle[aria-expanded="true"] .bars{background:transparent;}
.fp-nav-toggle[aria-expanded="true"] .bars::before{transform:translateY(6px) rotate(45deg);}
.fp-nav-toggle[aria-expanded="true"] .bars::after{transform:translateY(-6px) rotate(-45deg);}

@media (max-width:719px){
  .fp-nav-toggle{display:inline-flex;}
  .fp-nav-menu{position:absolute;left:0;right:0;top:100%;flex-direction:column;
    align-items:stretch;gap:0;background:var(--cream);border-bottom:1px solid var(--line);
    padding:8px clamp(16px,5vw,40px) 16px;display:none;box-shadow:var(--shadow);}
  .fp-nav-menu.open{display:flex;}
  .fp-nav-menu a{padding:14px 4px;border-bottom:1px solid var(--line);font-size:16px;min-height:44px;
    display:flex;align-items:center;}
  .fp-nav-menu a:hover,.fp-nav-menu a:focus-visible{border-bottom-color:var(--line);}
  .fp-nav-menu a.fp-nav-cta{margin-top:12px;border-bottom:none;justify-content:center;}
}

/* -------------------------------- Buttons --------------------------------- */
/* .btn = solid ink primary; .btn-orange = solid rust; .btn-ghost = outline. */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;
  background:var(--ink);color:var(--cream);font-family:var(--ui);font-weight:600;
  font-size:16px;letter-spacing:0;text-decoration:none;text-align:center;
  padding:14px 26px;border:1.5px solid var(--ink);border-radius:9px;cursor:pointer;
  min-height:52px;line-height:1.15;
  transition:transform .15s ease,background .15s ease,color .15s ease,border-color .15s ease;}
.btn:hover{background:#000;border-color:#000;color:var(--cream);transform:translateY(-1px);}
.btn:active{transform:translateY(0);}
.btn .px{font-family:var(--ui);font-weight:600;font-size:13px;background:rgba(255,255,255,.16);
  color:inherit;padding:3px 10px;border-radius:20px;letter-spacing:.01em;}
.btn-block{display:flex;width:100%;}
.btn-sm{font-size:14px;padding:10px 18px;min-height:44px;}
.btn-lg{font-size:17px;padding:17px 30px;min-height:56px;}
.btn-orange{background:var(--rust);border-color:var(--rust);color:#fff;}
.btn-orange:hover{background:var(--rust-dk);border-color:var(--rust-dk);color:#fff;}
.btn-orange .px{background:rgba(0,0,0,.18);}
.btn-ghost{background:transparent;color:var(--ink);border:1.5px solid var(--ink);}
.btn-ghost:hover{background:var(--ink);color:var(--cream);border-color:var(--ink);}
.btn-ghost .px{background:rgba(28,29,23,.1);color:inherit;}
.fp-olive .btn-ghost,.fp-dark .btn-ghost{color:#f0ece0;border-color:rgba(240,236,224,.45);}
.fp-olive .btn-ghost:hover,.fp-dark .btn-ghost:hover{background:rgba(255,255,255,.08);
  border-color:#f0ece0;color:#fff;}
.btn[disabled],.btn[aria-disabled="true"]{opacity:.5;cursor:not-allowed;}
.btn[disabled]:hover,.btn[aria-disabled="true"]:hover{transform:none;background:var(--ink);}
.btn-orange[disabled]:hover,.btn-orange[aria-disabled="true"]:hover{background:var(--rust);}
.btn-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px;align-items:center;}

/* -------------------------------- Panels ---------------------------------- */
/* Refined white "paper" card — thin hairline, soft shadow. */
.fp-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:clamp(20px,3vw,28px);box-shadow:var(--shadow);}
.fp-panel-paper{background:var(--sand);box-shadow:none;}
.fp-panel-white{background:#fff;border-color:var(--line);}
/* a panel on a forest section stays a light paper card, deeper shadow */
.fp-olive .fp-panel,.fp-dark .fp-panel{border-color:var(--line);
  box-shadow:0 26px 54px -30px rgba(0,0,0,.5);}
.fp-panel-hd{display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  flex-wrap:wrap;margin:0 0 14px;}
.fp-panel-accent{border-left:3px solid var(--rust);}
.fp-panel-tint{background:var(--sand);border:1px solid var(--line);border-left:3px solid var(--rust);
  border-radius:var(--radius-lg);padding:18px 22px;}

/* ---------------------- Numbered MOVE / BRIEFING blocks ------------------- */
/* Editorial: light serif numeral + serif title. */
.fp-move{position:relative;display:grid;grid-template-columns:auto 1fr;gap:clamp(16px,3vw,28px);
  align-items:start;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius-lg);padding:clamp(18px,3vw,24px);box-shadow:var(--shadow);}
.fp-move + .fp-move{margin-top:14px;}
.fp-move-no{font-family:var(--display);font-weight:400;font-size:clamp(34px,7vw,54px);
  line-height:.85;color:var(--numeral);font-feature-settings:"lnum";font-variant-numeric:tabular-nums lining-nums;
  padding-top:2px;}
.fp-move-body{min-width:0;}
.fp-move-kick{font-family:var(--ui);font-weight:600;font-size:11px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted);margin:0 0 5px;}
.fp-move-title{font-family:var(--body);font-weight:600;font-size:clamp(19px,2.4vw,22px);
  line-height:1.22;color:var(--ink);margin:0;}
.fp-move-desc{font-size:17px;line-height:1.5;margin:7px 0 0;color:var(--ink);}
.fp-move-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;align-items:center;}
.fp-olive .fp-move,.fp-dark .fp-move{background:var(--surface);border-color:var(--line);}
.fp-olive .fp-move-title,.fp-dark .fp-move-title{color:var(--ink);}
.fp-olive .fp-move-desc,.fp-dark .fp-move-desc{color:var(--ink);}
.fp-olive .fp-move-kick,.fp-dark .fp-move-kick{color:var(--muted);}

/* -------------------------- Vertical timeline ----------------------------- */
.fp-timeline{list-style:none;margin:0;padding:0;position:relative;}
.fp-timeline::before{content:"";position:absolute;left:15px;top:6px;bottom:14px;
  width:2px;background:var(--line);}
.fp-dark .fp-timeline::before,.fp-olive .fp-timeline::before{background:var(--line-d);}
.fp-tl{position:relative;padding:0 0 22px 46px;}
.fp-tl:last-child{padding-bottom:0;}
.fp-tl-dot{position:absolute;left:2px;top:0;width:30px;height:30px;border-radius:50%;
  background:var(--rust);color:#fff;font-family:var(--ui);font-weight:600;font-size:12px;
  display:flex;align-items:center;justify-content:center;z-index:1;
  box-shadow:0 0 0 4px var(--cream);}
.fp-dark .fp-tl-dot,.fp-olive .fp-tl-dot{box-shadow:0 0 0 4px var(--forest);}
.fp-tl:last-child .fp-tl-dot{background:var(--forest);}
.fp-tl-when{display:inline-block;font-family:var(--ui);font-weight:600;font-size:11px;
  letter-spacing:.08em;text-transform:uppercase;color:#fff;background:var(--rust-ink);
  padding:3px 10px;border-radius:20px;margin-bottom:6px;}
.fp-tl-what{font-family:var(--display);font-weight:500;font-size:21px;
  line-height:1.15;color:var(--ink);margin:0;}
.fp-dark .fp-tl-what,.fp-olive .fp-tl-what{color:#f4efe1;}
.fp-tl-how{font-size:16px;line-height:1.5;margin-top:6px;color:var(--ink);}
.fp-dark .fp-tl-how,.fp-olive .fp-tl-how{color:#cbc6b5;}

/* ------------------------------- Checklist -------------------------------- */
.fp-check{list-style:none;padding:0;margin:14px 0 0;}
.fp-check li{position:relative;padding:10px 0 10px 32px;font-size:17px;line-height:1.5;
  border-bottom:1px solid var(--line);}
.fp-check li:last-child{border-bottom:none;}
.fp-check li::before{content:"\2713";position:absolute;left:2px;top:10px;
  font-family:var(--ui);font-weight:700;color:var(--rust-ink);}
.fp-dark .fp-check li,.fp-olive .fp-check li{border-bottom-color:var(--line-d);color:#e2ddce;}
/* checklist item states (JS-toggled — restyled, never removed) */
.fp-check li.is-done{color:var(--muted);}
.fp-check li.is-done::before{content:"\2713";color:var(--st-completed);}
.fp-check li.is-done .fp-check-txt{text-decoration:line-through;text-decoration-color:var(--line);}
.fp-check li.is-todo::before{content:"\2610";color:var(--muted);font-weight:400;}
.fp-check li.is-active::before{content:"\25B8";color:var(--rust);}
.fp-check li.is-blocked::before{content:"\2717";color:var(--red);}
.fp-check-txt{display:block;}
.fp-check-sub{display:block;font-family:var(--ui);font-size:12px;color:var(--muted);
  letter-spacing:.01em;margin-top:3px;}

/* -------------------------- Badges: priority + status --------------------- */
.fp-badge{display:inline-flex;align-items:center;gap:6px;font-family:var(--ui);
  font-weight:600;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;
  padding:5px 10px;border-radius:20px;line-height:1;white-space:nowrap;
  border:1px solid transparent;}
.fp-badge::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;flex:none;}
/* priority — solid */
.fp-badge-time{color:#fff;background:var(--pr-time);}
.fp-badge-high{color:#fff;background:var(--pr-high);}
.fp-badge-found{color:#fff;background:var(--pr-found);}
.fp-badge-time::before,.fp-badge-high::before,.fp-badge-found::before{background:rgba(255,255,255,.9);}
/* status — soft tinted chip on light surfaces */
.fp-badge-notstarted{color:#54543f;border-color:var(--line);background:var(--sand);}
.fp-badge-progress{color:#8f451f;border-color:#e6c19f;background:#f7e7d7;}
.fp-badge-blocked{color:#8f2f22;border-color:#e3b3a9;background:#f6ddd7;}
.fp-badge-completed{color:#2f4a2a;border-color:#b6cca9;background:#e4edda;}
.fp-badge-notrelevant{color:#5c5c4c;border-color:var(--line);background:#efece0;}
.fp-badge-snoozed{color:#4f4270;border-color:#c9bfe0;background:#eae4f2;}
.fp-badge-notstarted::before{background:var(--st-notstarted);}
.fp-badge-progress::before{background:var(--st-progress);}
.fp-badge-blocked::before{background:var(--st-blocked);}
.fp-badge-completed::before{background:var(--st-completed);}
.fp-badge-notrelevant::before{background:var(--st-notrelevant);}
.fp-badge-snoozed::before{background:var(--st-snoozed);}

/* -------------------------- Accessible form controls ---------------------- */
.fp-form{margin-top:8px;}
.fp-field{margin:0 0 22px;}
.fp-label{display:block;font-family:var(--ui);font-weight:600;letter-spacing:.01em;
  font-size:14.5px;color:var(--ink);margin:0 0 8px;}
.fp-dark .fp-label,.fp-olive .fp-label{color:var(--ink);}
.fp-label .req{color:var(--rust-ink);}
.fp-hint{font-family:var(--ui);font-size:13px;color:var(--muted);letter-spacing:.005em;
  margin:0 0 8px;line-height:1.5;}
.fp-input,.fp-select,.fp-textarea{width:100%;font-family:var(--body);font-size:17px;
  color:var(--ink);background:var(--surface);border:1.5px solid var(--line);border-radius:var(--radius);
  padding:13px 15px;min-height:50px;line-height:1.4;
  transition:border-color .15s ease,box-shadow .15s ease;}
.fp-textarea{min-height:120px;resize:vertical;}
.fp-select{appearance:none;-webkit-appearance:none;padding-right:40px;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236f6e60' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 15px center;background-size:12px;}
.fp-input::placeholder,.fp-textarea::placeholder{color:#9a9a86;}
.fp-input:focus,.fp-select:focus,.fp-textarea:focus{outline:none;border-color:var(--rust);
  box-shadow:0 0 0 3px rgba(180,85,47,.22);}
.fp-input[aria-invalid="true"],.fp-select[aria-invalid="true"],.fp-textarea[aria-invalid="true"]{
  border-color:var(--red);box-shadow:0 0 0 3px rgba(164,68,42,.18);}
.fp-error{display:block;font-family:var(--ui);font-size:12.5px;color:var(--red);font-weight:500;
  margin-top:6px;letter-spacing:.01em;}

/* radio / checkbox CARDS — big touch targets */
.fp-choices{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;border:none;}
.fp-choices legend{padding:0;}
.fp-choice{display:flex;align-items:flex-start;gap:12px;background:var(--surface);
  border:1.5px solid var(--line);border-radius:var(--radius);padding:14px 16px;
  min-height:52px;cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;}
.fp-choice input{margin:2px 0 0;width:22px;height:22px;flex:none;accent-color:var(--rust);cursor:pointer;}
.fp-choice:hover{border-color:var(--muted);}
.fp-choice:has(input:checked){border-color:var(--rust);background:#f9ede3;
  box-shadow:0 0 0 1px var(--rust) inset;}
.fp-choice:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px;}
.fp-choice-body{min-width:0;}
.fp-choice-title{display:block;font-family:var(--ui);font-weight:600;letter-spacing:.005em;
  font-size:16px;color:var(--ink);line-height:1.2;}
.fp-choice-desc{display:block;font-family:var(--body);font-size:16px;color:var(--muted);
  margin-top:3px;line-height:1.4;}
/* fallback highlight for browsers without :has() */
.fp-choice input:checked ~ .fp-choice-body .fp-choice-title{color:var(--rust-ink);}

/* error summary block (focus target after failed submit) */
.fp-errsum{background:#f6ddd7;border:1.5px solid var(--red);border-left:4px solid var(--red);
  border-radius:var(--radius);padding:16px 18px;margin:0 0 22px;}
.fp-errsum:focus{outline:3px solid var(--red);outline-offset:2px;}
.fp-errsum h2,.fp-errsum .fp-errsum-hd{font-family:var(--ui);font-weight:700;
  font-size:16px;letter-spacing:.01em;color:#8f2f22;margin:0 0 8px;text-transform:none;}
.fp-errsum ul{margin:0;padding-left:18px;}
.fp-errsum a{color:#8f2f22;font-weight:600;}

/* --------------------------- Progress bar (aria) -------------------------- */
.fp-progress-wrap{margin:14px 0;}
.fp-progress-top{display:flex;justify-content:space-between;align-items:baseline;
  font-family:var(--ui);font-weight:500;font-size:12px;letter-spacing:.04em;text-transform:uppercase;
  color:var(--muted);margin-bottom:6px;}
.fp-progress{height:10px;background:var(--sand);border:1px solid var(--line);
  border-radius:20px;overflow:hidden;}
.fp-dark .fp-progress,.fp-olive .fp-progress{background:rgba(0,0,0,.25);border-color:var(--line-d);}
.fp-progress-fill{height:100%;width:var(--val,0%);background:var(--rust);
  border-radius:20px;transition:width .4s ease;}
.fp-progress-fill.is-complete{background:var(--st-completed);}

/* ------------- "FIELD PLAN . NO. 001 / YOUR NEXT THREE MOVES" card -------- */
.fp-preview{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  overflow:hidden;box-shadow:var(--shadow-lg);}
.fp-preview-hd{background:var(--surface);color:var(--ink);padding:16px 22px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  border-bottom:1px solid var(--line);}
.fp-preview-no{font-family:var(--ui);font-weight:600;font-size:11px;letter-spacing:.16em;
  text-transform:uppercase;color:var(--rust-ink);}
.fp-preview-title{font-family:var(--display);font-weight:500;font-size:21px;
  color:var(--ink);margin:3px 0 0;line-height:1.1;}
.fp-preview-body{padding:6px 22px 18px;}
.fp-preview-row{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:start;
  padding:16px 0;border-bottom:1px solid var(--line);}
.fp-preview-row:last-child{border-bottom:none;}
.fp-preview-rowno{font-family:var(--display);font-weight:400;font-size:34px;line-height:.85;
  color:var(--numeral);font-variant-numeric:tabular-nums lining-nums;padding-top:2px;}
.fp-preview-rt{font-family:var(--body);font-weight:600;font-size:18px;
  color:var(--ink);line-height:1.2;margin:0;}
.fp-preview-rd{font-size:15.5px;line-height:1.45;color:var(--muted);margin:4px 0 0;}
.fp-preview-ft{background:var(--sand);border-top:1px solid var(--line);padding:14px 22px;}

/* Light-card resets: keep text dark-readable even when a preview/panel is
   nested inside a forest (.fp-olive / .fp-dark) section — declared AFTER the
   dark-context overrides above so equal-specificity source order wins. */
.fp-preview .fp-move-kick{color:var(--muted);}
.fp-preview .fp-note,.fp-panel .fp-note{color:var(--muted);}
.fp-preview .fp-note a,.fp-panel .fp-note a{color:var(--rust-ink);}
.fp-preview .fp-stamp{color:var(--rust-ink);border-color:#e7c6b0;background:#f9ede3;}

/* ------------------------- Dashboard: masthead + rail --------------------- */
.fp-dash{min-height:100vh;background:var(--cream);}
.fp-dash-masthead{position:sticky;top:0;z-index:30;background:var(--forest);
  color:#e2ddce;border-bottom:1px solid var(--line-d);}
.fp-dash-masthead.fp-dark{background:var(--forest);color:#e2ddce;}
.fp-dash-masthead-in{max-width:1200px;margin:0 auto;padding:0 clamp(16px,4vw,24px);min-height:60px;
  display:flex;align-items:center;justify-content:space-between;gap:14px;}
.fp-dash-brand{display:flex;flex-direction:column;line-height:1.15;text-decoration:none;font-family:var(--ui);}
.fp-dash-brand b{color:#f4efe1;font-size:14px;font-weight:600;letter-spacing:.14em;}
.fp-dash-brand span{color:#9d9a88;font-size:8.5px;font-weight:500;letter-spacing:.12em;}
.fp-dash-masthead .fp-preview-no{color:var(--warm-lt);}
.fp-dash-masthead .btn-ghost{color:#f0ece0;border-color:rgba(240,236,224,.4);}
.fp-dash-masthead .btn-ghost:hover{background:rgba(255,255,255,.08);border-color:#f0ece0;color:#fff;}
.fp-dash-shell{display:block;max-width:1200px;margin:0 auto;}
.fp-dash-rail{background:var(--surface);border-bottom:1px solid var(--line);padding:8px 12px;}
.fp-dash-rail ul{list-style:none;display:flex;gap:6px;margin:0;padding:0;overflow-x:auto;
  -webkit-overflow-scrolling:touch;}
.fp-dash-rail a{display:flex;align-items:center;gap:8px;white-space:nowrap;font-family:var(--ui);
  font-weight:500;letter-spacing:.005em;font-size:14.5px;color:var(--muted);
  text-decoration:none;padding:10px 14px;border-radius:var(--radius);min-height:44px;}
.fp-dash-rail a:hover{background:var(--sand);color:var(--ink);}
.fp-dash-rail a[aria-current="page"]{background:#f9ede3;color:var(--rust-ink);font-weight:600;
  box-shadow:inset 0 0 0 1px #ecd2bf;}
.fp-dash-canvas{padding:28px clamp(16px,4vw,24px) 60px;}
.fp-dash-canvas-in{max-width:820px;margin:0 auto;}
.fp-dash-title{font-family:var(--display);font-weight:500;letter-spacing:-.012em;
  font-size:clamp(26px,5vw,38px);color:var(--ink);line-height:1.04;margin:0;text-wrap:balance;}

/* --------------------------- Standard disclaimer -------------------------- */
/* Injected by /assets/disclaimer.js — MTFFDisclaimer.mount(). */
.fp-disclaimer{font-family:var(--ui);font-size:12px;line-height:1.7;color:var(--muted);
  border-top:1px solid var(--line);padding:18px 0 0;margin-top:22px;}
.fp-dark .fp-disclaimer,.fp-olive .fp-disclaimer{color:#9d9a88;border-top-color:var(--line-d);}
.fp-disclaimer b{color:var(--ink);}
.fp-dark .fp-disclaimer b,.fp-olive .fp-disclaimer b{color:#e2ddce;}
.fp-disclaimer-inline{font-family:var(--ui);font-size:12px;color:var(--muted);line-height:1.6;}

/* source-review flag (used when a URL/threshold isn't verified) */
.fp-srr{display:inline-flex;align-items:center;gap:6px;font-family:var(--ui);font-weight:600;
  font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:#8f2f22;
  border:1px dashed var(--red);border-radius:20px;padding:4px 10px;background:rgba(164,68,42,.06);}

/* ------------------------------ Utilities --------------------------------- */
.fp-center{text-align:center;}
.fp-mt-0{margin-top:0;}.fp-mt-8{margin-top:8px;}.fp-mt-16{margin-top:16px;}
.fp-mt-24{margin-top:24px;}.fp-mt-32{margin-top:32px;}
.fp-mb-0{margin-bottom:0;}
.fp-hidden{display:none!important;}
.fp-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.fp-grid{display:grid;gap:16px;}

/* ----------------------------- Focus visibility --------------------------- */
:focus-visible{outline:3px solid var(--focus);outline-offset:2px;}
a:focus-visible,button:focus-visible,.btn:focus-visible,
.fp-choice:focus-within{outline:3px solid var(--focus);outline-offset:2px;border-radius:5px;}
/* keep focus visible on dark surfaces */
.fp-dark a:focus-visible,.fp-olive a:focus-visible,
.fp-nav button:focus-visible,
.fp-dash-masthead a:focus-visible,.fp-dash-masthead button:focus-visible{
  outline-color:#f0c69a;}

/* ------------------------------- Breakpoints ------------------------------ */
@media (min-width:640px){
  body.fp{font-size:19px;}
  .fp-grid-2{grid-template-columns:1fr 1fr;}
  .fp-choices-2{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
}
@media (min-width:1024px){
  /* dashboard becomes masthead + fixed left rail + cream canvas */
  .fp-dash-shell{display:grid;grid-template-columns:236px 1fr;align-items:start;}
  .fp-dash-rail{background:transparent;border-bottom:none;border-right:1px solid var(--line);
    min-height:calc(100vh - 60px);position:sticky;top:60px;padding:24px 14px;}
  .fp-dash-rail ul{flex-direction:column;gap:4px;overflow:visible;}
  .fp-dash-rail a{font-size:15px;}
  .fp-dash-canvas{padding:40px clamp(24px,4vw,40px) 72px;}
  .fp-grid-3{grid-template-columns:repeat(3,1fr);}
}

/* --------------------------- Reduced motion ------------------------------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;
    transition-duration:.001ms!important;scroll-behavior:auto!important;}
  .fp-progress-fill{transition:none;}
}

/* --------------------------- Print (field manual) ------------------------- */
@media print{
  .fp-nav,.fp-brandbar,.fp-dash-masthead,.fp-dash-rail,.stickybuy{display:none!important;}
  body.fp{background:#fff;color:#000;font-size:12pt;}
  .fp-panel,.fp-move,.fp-preview{box-shadow:none;border-color:#999;}
}
