/* ============================================================
   MEMBER FORM SHEETS — maison on screen, clean white on print.
   Remaps the --fpl-* light theme to espresso + gold for the
   on-screen experience; @media print restores paper-friendly
   white/black so printed PDFs stay clean. Loaded LAST.
   ============================================================ */
:root{
  --fpl-bg:#0A0805 !important;
  --fpl-bg-strong:#0F0C08 !important;
  --fpl-bg-deep:#13100B !important;
  --fpl-card:linear-gradient(168deg,#13100B,#0A0805) !important;
  --fpl-rule:rgba(196,148,58,.18) !important;
  --fpl-rule-strong:rgba(196,148,58,.34) !important;
  --fpl-text:#EEE9DF !important;
  --fpl-text-dim:#C8BFB0 !important;
  --fpl-text-mut:#A89B89 !important;
  --fpl-blue:#C4943A !important;
  --fpl-blue-deep:#E2B76A !important;
  --fpl-cyan:#F2D79A !important;
  --fpl-blue-tint:rgba(196,148,58,.08) !important;
  --fpl-blue-tint-strong:rgba(196,148,58,.14) !important;
  --fpl-blue-rule:rgba(196,148,58,.30) !important;
  --fpl-font-display:'Playfair Display',Georgia,serif !important;
  --fpl-font-ui:'Sora','DM Sans',system-ui,sans-serif !important;
}

/* canvas + sheet */
body{background:radial-gradient(75% 45% at 50% -8%,rgba(196,148,58,.10),transparent 70%),
  linear-gradient(170deg,#0A0805,#0F0C08 55%,#13100B) !important;color:#EEE9DF !important}
.sheet{background:linear-gradient(168deg,#13100B,#0A0805) !important;border:1px solid rgba(196,148,58,.22) !important;
  box-shadow:0 24px 60px rgba(0,0,0,.55) !important;color:#EEE9DF !important}

/* header / brand / logo — replace the legacy neuron-C mark with the CREST
   (body.mfs-page specificity to beat forms-print-light's logo override) */
body.mfs-page .mono-ring{background:rgba(196,148,58,.08) !important;border:1px solid rgba(196,148,58,.34) !important;
  box-shadow:none !important;border-radius:12px !important;color:transparent !important}
body.mfs-page .mono-ring::after{background-image:url('../logo-kit/crest/crest-transparent-512.png') !important;inset:7px !important}
/* kill the inline sage-teal grid dividers in the forms */
body.mfs-page [style*="90,158,144"],body.mfs-page [style*="90, 158, 144"]{border-color:rgba(196,148,58,.18) !important}
.hdr-brand-name,.footer-brand{font-family:'Playfair Display',Georgia,serif !important;color:#EEE9DF !important;-webkit-text-fill-color:#EEE9DF !important}
.hdr-brand-sub{color:#897C6B !important}
.sheet h1,.sheet h2,[class*="sheet-title"],[class*="hdr-title"]{font-family:'Playfair Display',Georgia,serif !important;color:#EEE9DF !important;-webkit-text-fill-color:#EEE9DF !important}

/* section labels / markers (were blue) */
[class*="section-label"],[class*="section-title"],[class*="sec-label"],[class*="block-label"],.sheet h3{color:#E2B76A !important;-webkit-text-fill-color:#E2B76A !important}
[class*="section-bar"],[class*="sec-bar"]{background:linear-gradient(180deg,#E2B76A,#C4943A) !important}

/* fields */
.sheet input,.sheet textarea,.sheet select{background:rgba(255,255,255,.03) !important;color:#EEE9DF !important;
  border-color:rgba(196,148,58,.24) !important;-webkit-text-fill-color:#EEE9DF !important}
.sheet input::placeholder,.sheet textarea::placeholder{color:#7d7261 !important;-webkit-text-fill-color:#7d7261 !important}
.sheet input:focus,.sheet textarea:focus,.sheet select:focus{border-color:rgba(196,148,58,.55) !important;outline:none !important;background:rgba(255,255,255,.05) !important}
.sheet label,[class*="field-label"],[class*="day-name"],[class*="col-label"]{color:#A89B89 !important}
/* radio circles / ratings */
[class*="rating"] [class*="dot"],[class*="scale"] span,input[type=radio]{border-color:rgba(196,148,58,.4) !important}
/* grid / day column borders */
[class*="day"],[class*="cell"],[class*="col"]{border-color:rgba(196,148,58,.14) !important}

/* toolbar buttons */
.print-btn{background:linear-gradient(135deg,#C4943A,#E2B76A) !important;color:#2A1808 !important;border:none !important;
  font-family:'Sora',sans-serif !important;font-weight:700 !important;letter-spacing:.06em !important;text-transform:uppercase;
  box-shadow:inset 0 1px 0 rgba(255,248,228,.6),0 8px 22px -8px rgba(196,148,58,.5) !important}
.print-btn:hover{filter:brightness(1.05) !important}
.mfs-toolbar a,.mfs-toolbar [class*="back"]{color:#E2B76A !important;border-color:rgba(196,148,58,.34) !important;background:rgba(196,148,58,.06) !important}
.mfs-toolbar a:hover{background:rgba(196,148,58,.14) !important}

/* ── PRINT: clean white paper ── */
@media print{
  :root{
    --fpl-bg:#fff !important;--fpl-bg-strong:#fff !important;--fpl-bg-deep:#fff !important;--fpl-card:#fff !important;
    --fpl-text:#1A1F2E !important;--fpl-text-dim:#333 !important;--fpl-text-mut:#555 !important;
    --fpl-blue:#1A1F2E !important;--fpl-blue-deep:#000 !important;--fpl-rule:rgba(0,0,0,.18) !important;
  }
  body{background:#fff !important;color:#1A1F2E !important}
  .sheet{background:#fff !important;border:1px solid #ccc !important;box-shadow:none !important;color:#1A1F2E !important}
  .sheet input,.sheet textarea,.sheet select{background:#fff !important;color:#1A1F2E !important;-webkit-text-fill-color:#1A1F2E !important;border-color:#bbb !important}
  .mono-ring,.hdr-brand-name,.footer-brand,.sheet h1,.sheet h2{color:#1A1F2E !important;-webkit-text-fill-color:#1A1F2E !important}
  [class*="section-label"],[class*="section-title"],[class*="sec-label"]{color:#1A1F2E !important;-webkit-text-fill-color:#1A1F2E !important}
  .sheet label{color:#333 !important}
  body.mfs-page .mono-ring{background:#fff !important;border:1px solid #ccc !important}
  body.mfs-page [style*="90,158,144"],body.mfs-page [style*="90, 158, 144"]{border-color:rgba(0,0,0,.18) !important}
}
