/* LAIS beauty + shadow polish for Stoplight + Stories
   Soft, natural elevation · Qatar/Disney polish · hospital clarity
   Green sweep accent adapted from cmc.html cmcDoneSweep (dispatch status-log)
   Desktop polish leads; phone stays readable. Respects prefers-reduced-motion. */

/* ========== Unified soft shadow tokens ========== */
html[data-theme="maroon"] {
  /* Champagne/gold-tinted soft elevation — never harsh black */
  --sh-ambient: 0 1px 2px rgba(62,4,34,.04);
  --sh-card: 0 1px 2px rgba(62,4,34,.05), 0 8px 28px rgba(62,4,34,.08), 0 0 0 1px rgba(201,164,92,.12);
  --sh-card-hover: 0 2px 4px rgba(62,4,34,.06), 0 14px 36px rgba(62,4,34,.12), 0 28px 48px -18px rgba(138,21,56,.22), 0 0 0 1px rgba(201,164,92,.28), 0 0 28px rgba(201,164,92,.14);
  --sh-raised: 0 1px 2px rgba(62,4,34,.05), 0 10px 28px rgba(62,4,34,.10);
  --sh-header: 0 4px 18px rgba(62,4,34,.18), 0 1px 0 rgba(201,164,92,.35);
  --sh-btn: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 2px rgba(62,4,34,.08), 0 6px 16px rgba(62,4,34,.12);
  --sh-btn-lift: inset 0 1px 0 rgba(255,255,255,.28), 0 2px 4px rgba(62,4,34,.10), 0 12px 28px rgba(62,4,34,.16), 0 0 20px rgba(201,164,92,.16);
  --sh-focus: 0 0 0 3px rgba(138,21,56,.14), 0 0 0 6px rgba(201,164,92,.12);
  --sh-inset: inset 0 1px 2px rgba(62,4,34,.06);
  --green-sweep-a: rgba(52,211,153,.0);
  --green-sweep-b: rgba(110,231,183,.42);
  --green-sweep-c: rgba(52,211,153,.0);
  --green-accent: #1F7A4D;
  --green-glow: rgba(52,211,153,.35);
  --a-spring: cubic-bezier(.34,1.56,.64,1);
}
html:not([data-theme="maroon"]):not([data-theme="enterprise"]) {
  /* Classic dusk — restrained purple glow, soft depth */
  --sh-ambient: 0 1px 2px rgba(0,0,0,.25);
  --sh-card: 0 8px 28px rgba(0,0,0,.35), 0 0 40px rgba(192,38,211,.08), inset 0 1px 0 rgba(255,255,255,.05);
  --sh-card-hover: 0 14px 40px rgba(0,0,0,.42), 0 0 48px rgba(232,121,249,.16), 0 0 0 1px rgba(232,121,249,.28);
  --sh-raised: 0 10px 32px rgba(0,0,0,.40), 0 0 28px rgba(192,38,211,.10);
  --sh-header: 0 8px 24px rgba(0,0,0,.45), 0 0 20px rgba(232,121,249,.12);
  --sh-btn: 0 1px 0 rgba(255,255,255,.08) inset, 0 4px 14px rgba(0,0,0,.35), 0 0 18px rgba(232,121,249,.12);
  --sh-btn-lift: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 24px rgba(0,0,0,.4), 0 0 28px rgba(232,121,249,.22);
  --sh-focus: 0 0 0 3px rgba(232,121,249,.28);
  --sh-inset: inset 0 1px 2px rgba(0,0,0,.35);
  --green-sweep-a: rgba(52,211,153,.0);
  --green-sweep-b: rgba(110,231,183,.45);
  --green-sweep-c: rgba(52,211,153,.0);
  --green-accent: #34d399;
  --green-glow: rgba(52,211,153,.45);
  --a-spring: cubic-bezier(.34,1.56,.64,1);
}
html[data-theme="enterprise"] {
  /* Cool soft navy depth + amber kiss */
  --sh-ambient: 0 1px 2px rgba(11,42,64,.05);
  --sh-card: 0 1px 2px rgba(11,42,64,.05), 0 8px 28px rgba(11,42,64,.09), 0 0 0 1px rgba(200,144,46,.10);
  --sh-card-hover: 0 2px 4px rgba(11,42,64,.07), 0 14px 36px rgba(11,42,64,.13), 0 28px 48px -18px rgba(15,53,80,.20), 0 0 0 1px rgba(200,144,46,.26), 0 0 24px rgba(200,144,46,.10);
  --sh-raised: 0 1px 2px rgba(11,42,64,.05), 0 10px 28px rgba(11,42,64,.11);
  --sh-header: 0 4px 18px rgba(11,42,64,.20), 0 1px 0 rgba(200,144,46,.35);
  --sh-btn: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 2px rgba(11,42,64,.08), 0 6px 16px rgba(11,42,64,.12);
  --sh-btn-lift: inset 0 1px 0 rgba(255,255,255,.28), 0 2px 4px rgba(11,42,64,.10), 0 12px 28px rgba(11,42,64,.16), 0 0 18px rgba(200,144,46,.14);
  --sh-focus: 0 0 0 3px rgba(26,110,142,.16), 0 0 0 6px rgba(200,144,46,.10);
  --sh-inset: inset 0 1px 2px rgba(11,42,64,.06);
  --green-sweep-a: rgba(59,178,115,.0);
  --green-sweep-b: rgba(110,231,183,.38);
  --green-sweep-c: rgba(59,178,115,.0);
  --green-accent: #3BB273;
  --green-glow: rgba(59,178,115,.32);
  --a-spring: cubic-bezier(.34,1.56,.64,1);
}

/* Remap legacy tokens so existing rules pick up softer stacks */
html[data-theme="maroon"] {
  --shadow-xs: var(--sh-ambient);
  --shadow-sm: 0 2px 8px rgba(62,4,34,.07);
  --shadow: var(--sh-card);
  --shadow-lg: var(--sh-raised);
  --a-rest: var(--sh-btn);
  --a-lift: var(--sh-btn-lift);
}
html[data-theme="enterprise"] {
  --shadow-xs: var(--sh-ambient);
  --shadow-sm: 0 2px 8px rgba(11,42,64,.07);
  --shadow: var(--sh-card);
  --shadow-lg: var(--sh-raised);
  --a-rest: var(--sh-btn);
  --a-lift: var(--sh-btn-lift);
}
html:not([data-theme="maroon"]):not([data-theme="enterprise"]) {
  --shadow-xs: var(--sh-ambient);
  --shadow-sm: 0 2px 10px rgba(0,0,0,.28);
  --shadow: var(--sh-card);
  --shadow-lg: var(--sh-raised);
}

/* ========== Green sweep (from cmcDoneSweep) — tasteful accents ========== */
@keyframes laisGreenSweep {
  0%   { transform: translateX(-120%); opacity: .15; }
  40%  { opacity: 1; }
  100% { transform: translateX(120%); opacity: .12; }
}
/* Back-and-forth live vibe (the “animated green thing”) */
@keyframes laisGreenSweepOsc {
  0%   { transform: translateX(-110%); opacity: .2; }
  45%  { opacity: .95; }
  50%  { transform: translateX(110%); opacity: .85; }
  55%  { opacity: .95; }
  100% { transform: translateX(-110%); opacity: .2; }
}
@keyframes laisGreenPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--green-glow); }
  50% { box-shadow: 0 0 14px var(--green-glow); }
}

/* Eyebrow: champagne hairline + slow back-and-forth green sweep (background-position, no overflow tricks) */
.page-intro .eyebrow { position: relative; padding-bottom: .55rem; letter-spacing: .14em; }
.page-intro .eyebrow svg { flex: 0 0 auto; width: 1rem; height: 1rem; }
.page-intro .eyebrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; max-width: 220px; height: 2px; border-radius: 2px;
  background:
    linear-gradient(90deg, transparent, var(--green-sweep-b), transparent) 0 0 / 38% 100% no-repeat,
    linear-gradient(90deg, currentColor, transparent);
  background-position: -60% 0, 0 0;
  opacity: .7;
  pointer-events: none;
}
@media (min-width: 900px) and (hover: hover) {
  .page-intro .eyebrow::after { animation: laisSweepBG 4.8s ease-in-out infinite alternate; }
}
@keyframes laisSweepBG { from { background-position: -60% 0, 0 0; } to { background-position: 160% 0, 0 0; } }

/* Card top-edge live accent (2px, restrained) — cards already clip (overflow:hidden) */
body .card, body .story-card, body .overview-audience-card, body .stoplight-column { position: relative; }
body .card::before, body .story-card::before, body .overview-audience-card::before, body .stoplight-column::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--green-sweep-b), transparent) 0 0 / 30% 100% no-repeat;
  background-position: -50% 0;
  opacity: .8;
}
@media (min-width: 900px) and (hover: hover) {
  body .card::before { animation: laisSweepBG2 7.5s ease-in-out infinite alternate; }
  body .story-card::before, body .overview-audience-card::before { animation: laisSweepBG2 9s ease-in-out infinite alternate; }
  body .story-card:nth-child(2n)::before { animation-delay: -3s; }
  body .story-card:nth-child(3n)::before { animation-delay: -5.5s; }
  body .stoplight-column.fulfilled::after { animation: laisSweepBG2 5.5s ease-in-out infinite alternate; opacity: .95; }
}
body .stoplight-column.pending::after, body .stoplight-column.unfulfilled::after { display: none; }
@keyframes laisSweepBG2 { from { background-position: -50% 0; } to { background-position: 150% 0; } }

/* Success panel: one-shot sweep on appear (same timing as CMC cmcDoneSweep 1.6s) */
body .success-panel { position: relative; overflow: hidden; }
body .success-panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, var(--green-sweep-a) 20%, var(--green-sweep-b) 50%, var(--green-sweep-c) 80%, transparent 100%);
  transform: translateX(-120%);
  animation: laisGreenSweep 1.6s ease-in-out 1 both;
}

/* Green light in brand mark breathes softly (desktop) */
@media (min-width: 900px) and (hover: hover) {
  body .brand-lights .brand-light.green { animation: laisGreenPulse 2.8s ease-in-out infinite; }
}

/* ========== Soft card/header/button shadow application ========== */
html[data-theme="maroon"] body .app-shell,
html[data-theme="enterprise"] body .app-shell {
  box-shadow: var(--sh-header) !important;
}
html:not([data-theme="maroon"]):not([data-theme="enterprise"]) body .app-shell {
  box-shadow: var(--sh-header) !important;
}

html[data-theme="maroon"] body .card,
html[data-theme="maroon"] body .story-card,
html[data-theme="maroon"] body .overview-audience-card,
html[data-theme="enterprise"] body .card,
html[data-theme="enterprise"] body .story-card,
html[data-theme="enterprise"] body .overview-audience-card {
  box-shadow: var(--sh-card) !important;
  border-radius: 16px !important;
}
html:not([data-theme="maroon"]):not([data-theme="enterprise"]) body .card,
html:not([data-theme="maroon"]):not([data-theme="enterprise"]) body .story-card,
html:not([data-theme="maroon"]):not([data-theme="enterprise"]) body .overview-audience-card {
  box-shadow: var(--sh-card) !important;
}

html[data-theme="maroon"] body .facility-card,
html[data-theme="maroon"] body .account-card,
html[data-theme="maroon"] body .request-card,
html[data-theme="enterprise"] body .facility-card,
html[data-theme="enterprise"] body .account-card,
html[data-theme="enterprise"] body .request-card {
  box-shadow: var(--sh-ambient), 0 6px 18px rgba(62,4,34,.07) !important;
  border-radius: 14px !important;
}
html[data-theme="enterprise"] body .facility-card,
html[data-theme="enterprise"] body .account-card,
html[data-theme="enterprise"] body .request-card {
  box-shadow: var(--sh-ambient), 0 6px 18px rgba(11,42,64,.08) !important;
}

html[data-theme="maroon"] body .stoplight-column,
html[data-theme="enterprise"] body .stoplight-column {
  box-shadow: var(--sh-raised) !important;
  border-radius: 16px !important;
}

/* Hover elevation — desktop */
@media (min-width: 900px) and (hover: hover) {
    html[data-theme="maroon"] body .story-card:hover,
  html[data-theme="maroon"] body .facility-card:hover,
  html[data-theme="maroon"] body .account-card:hover:not(.soon),
  html[data-theme="maroon"] body .request-card:hover,
    html[data-theme="enterprise"] body .story-card:hover,
  html[data-theme="enterprise"] body .facility-card:hover,
  html[data-theme="enterprise"] body .account-card:hover:not(.soon),
  html[data-theme="enterprise"] body .request-card:hover {
    box-shadow: var(--sh-card-hover) !important;
    transform: translateY(-3px);
    transition: transform .32s var(--a-spring), box-shadow .28s ease, border-color .2s ease;
  }
    html:not([data-theme="maroon"]):not([data-theme="enterprise"]) body .story-card:hover,
  html:not([data-theme="maroon"]):not([data-theme="enterprise"]) body .facility-card:hover,
  html:not([data-theme="maroon"]):not([data-theme="enterprise"]) body .request-card:hover {
    box-shadow: var(--sh-card-hover) !important;
    transform: translateY(-3px);
    transition: transform .32s var(--a-spring), box-shadow .28s ease, border-color .2s ease;
  }
}

/* Buttons — refined rest/lift shadows */
html[data-theme="maroon"] body .btn-primary,
html[data-theme="enterprise"] body .btn-primary {
  box-shadow: var(--sh-btn) !important;
  letter-spacing: .02em;
  font-weight: 700 !important;
}
html[data-theme="maroon"] body .btn-secondary:not(.site-nav .btn-secondary),
html[data-theme="enterprise"] body .btn-secondary:not(.site-nav .btn-secondary) {
  box-shadow: var(--sh-ambient), 0 4px 12px rgba(62,4,34,.06) !important;
}
html[data-theme="enterprise"] body .btn-secondary:not(.site-nav .btn-secondary) {
  box-shadow: var(--sh-ambient), 0 4px 12px rgba(11,42,64,.07) !important;
}
@media (min-width: 900px) and (hover: hover) {
  html[data-theme="maroon"] body .btn-primary:hover:not(:disabled),
  html[data-theme="enterprise"] body .btn-primary:hover:not(:disabled) {
    box-shadow: var(--sh-btn-lift) !important;
  }
}

/* Inputs — soft inset + focus ring */
html[data-theme="maroon"] body input,
html[data-theme="maroon"] body textarea,
html[data-theme="maroon"] body select,
html[data-theme="enterprise"] body input,
html[data-theme="enterprise"] body textarea,
html[data-theme="enterprise"] body select {
  box-shadow: var(--sh-inset) !important;
  border-radius: 10px !important;
  transition: border-color .2s ease, box-shadow .2s ease;
}
html[data-theme="maroon"] body input:focus,
html[data-theme="maroon"] body textarea:focus,
html[data-theme="maroon"] body select:focus {
  box-shadow: var(--sh-focus) !important;
}
html[data-theme="enterprise"] body input:focus,
html[data-theme="enterprise"] body textarea:focus,
html[data-theme="enterprise"] body select:focus {
  box-shadow: var(--sh-focus) !important;
}

/* ========== Typography / spacing / icon alignment polish ========== */
body .page-intro h1 {
  letter-spacing: -.02em;
  line-height: 1.15;
  font-weight: 600;
}
body .page-lead {
  max-width: 54ch;
  line-height: 1.6;
}
body .instructions h2,
body .form-section h2,
body .card h2 {
  letter-spacing: -.01em;
  font-weight: 600;
}
body .guidelines { gap: .75rem; }
body .guidelines li { line-height: 1.6; }
html[data-theme="maroon"] body .guidelines li::before { width: 7px !important; height: 7px !important; margin-top: .6rem; background: #8A1538 !important; box-shadow: 0 0 0 3px rgba(201,164,92,.22) !important; }
html[data-theme="enterprise"] body .guidelines li::before { width: 7px !important; height: 7px !important; margin-top: .6rem; background: #0F3550 !important; border-radius: 2px !important; box-shadow: 0 0 0 3px rgba(200,144,46,.20) !important; }
html:not([data-theme="maroon"]):not([data-theme="enterprise"]) body .guidelines li::before { box-shadow: 0 0 0 3px rgba(232,121,249,.14), 0 0 8px rgba(232,121,249,.35) !important; }

/* Nav pill alignment + soft shadow */
body .site-nav-links {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
}
body .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  font-weight: 650;
  letter-spacing: .01em;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .25s var(--a-spring);
}
html[data-theme="maroon"] body .nav-link-active,
html[data-theme="enterprise"] body .nav-link-active {
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.08) !important;
}
@media (min-width: 900px) and (hover: hover) {
  body .nav-link:hover:not(.nav-link-active) {
    transform: translateY(-1px);
  }
}

/* Brand row: tighter icon/text alignment */
body .brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
body .brand-text {
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
}
body .brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
}
body .brand-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}
body .brand-lights {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 10px;
}
body .brand-lights .brand-light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Facility / account cards: internal spacing rhythm */
body .facility-card,
body .account-card {
  padding: 1.1rem 1.15rem !important;
  transition: transform .32s var(--a-spring), box-shadow .28s ease, border-color .2s ease, background .2s ease;
}
body .facility-card .facility-name,
body .account-card .account-name {
  font-weight: 650;
  letter-spacing: -.01em;
}
body .facility-card .facility-meta,
body .account-card .account-meta {
  font-size: .86rem;
  line-height: 1.45;
  margin-top: .25rem;
}

/* Story cards: breathable whitespace */
body .story-card {
  padding: 1.35rem 1.4rem !important;
  transition: transform .32s var(--a-spring), box-shadow .28s ease, border-color .2s ease;
}
body .story-card .story-content {
  line-height: 1.7;
  font-size: 1.02rem;
}
body .story-meta {
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 650;
  margin-bottom: .55rem;
}

/* Request cards on board */
body .request-card {
  padding: 0.95rem 1rem !important;
  transition: transform .28s var(--a-spring), box-shadow .25s ease, border-color .2s ease;
}
body .request-card h4 {
  font-weight: 650;
  letter-spacing: -.01em;
}

/* Filter tabs polish */
body .filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body .filter-tabs button {
  min-height: 36px;
  padding: 0 14px;
  font-weight: 650;
  border-radius: 999px !important;
  letter-spacing: .01em;
}

/* Form labels weight */
body .form-group label,
body .form-label {
  font-weight: 650 !important;
  letter-spacing: .01em;
  margin-bottom: .4rem;
  display: block;
}

/* Footer breathing room */
body .site-footer {
  padding-top: 1.75rem;
  padding-bottom: 2.5rem;
  font-size: .88rem;
}

/* Whitespace: roomier card sections on desktop */
@media (min-width: 900px) {
  body .instructions { padding: 2.25rem 2.5rem 1.9rem !important; }
  body .form-section { padding: 2.1rem 2.5rem 2.4rem !important; }
}

/* Maroon champagne hairline on cards */
html[data-theme="maroon"] body .card,
html[data-theme="maroon"] body .story-card,
html[data-theme="maroon"] body .facility-card,
html[data-theme="maroon"] body .stoplight-column {
  border-color: rgba(180,138,60,.28) !important;
}
html[data-theme="enterprise"] body .card,
html[data-theme="enterprise"] body .story-card,
html[data-theme="enterprise"] body .facility-card,
html[data-theme="enterprise"] body .stoplight-column {
  border-color: rgba(200,144,46,.22) !important;
  border-radius: 10px !important; /* enterprise: slightly squarer Qatar-board feel */
}

/* Status badges: clearer, soft shadow */
body .status-badge,
body .awaiting-badge,
body .on-report-badge,
body .off-report-badge,
body .facility-card .facility-state,
body .account-card .account-badge {
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}

/* Fulfilled / green accents get soft green glow (hospital “done” clarity) */
html[data-theme="maroon"] body .status-badge.fulfilled,
html[data-theme="maroon"] body .on-report-badge,
html[data-theme="enterprise"] body .status-badge.fulfilled,
html[data-theme="enterprise"] body .on-report-badge {
  box-shadow: 0 1px 2px rgba(31,122,77,.12), 0 0 12px rgba(52,211,153,.18);
}
html:not([data-theme="maroon"]):not([data-theme="enterprise"]) body .status-badge.fulfilled,
html:not([data-theme="maroon"]):not([data-theme="enterprise"]) body .on-report-badge {
  box-shadow: 0 0 16px rgba(52,211,153,.28);
}

/* ========== Reduced motion ========== */
@media (prefers-reduced-motion: reduce) {
  .page-intro .eyebrow::after, body .card::before, body .story-card::before, body .overview-audience-card::before,
  body .stoplight-column::after, body .success-panel::after, body .brand-lights .brand-light.green { animation: none !important; }
  body .success-panel::after { display: none; }
  body .story-card:hover, body .facility-card:hover, body .account-card:hover, body .request-card:hover, body .nav-link:hover { transform: none !important; }
}
/* Phone: sweeps rest as a static hairline (calm + battery); soft shadows stay */
@media (max-width: 899px), (hover: none) {
  body .card::before, body .story-card::before, body .overview-audience-card::before, body .stoplight-column::after { background-position: 50% 0 !important; opacity: .5; }
}

/* ========== v2 detail pass ========== */
/* Facility chooser: breathing room under the divider + left edges aligned with section text */
body .facility-grid { padding: 1.5rem 1.5rem 1.75rem !important; gap: 1rem !important; }
@media (min-width: 900px) { body .facility-grid { padding: 1.85rem 2.5rem 2.5rem !important; gap: 1.1rem !important; } }

/* Live tiles: small green status light (CMC "live" vibe); soon tiles: calm dashed, no elevation */
body .facility-card:not(.soon) .facility-meta { display: inline-flex; align-items: center; gap: .45rem; }
body .facility-card:not(.soon) .facility-meta::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto;
  background: var(--green-accent); box-shadow: 0 0 0 3px rgba(52,211,153,.16);
}
@media (min-width: 900px) and (hover: hover) {
  body .facility-card:not(.soon) .facility-meta::before { animation: laisGreenPulse 2.6s ease-in-out infinite; }
}
html[data-theme="maroon"] body .facility-card.soon,
html[data-theme="enterprise"] body .facility-card.soon { border-style: dashed !important; box-shadow: none !important; }
html:not([data-theme="maroon"]):not([data-theme="enterprise"]) body .facility-card.soon { border-style: dashed; box-shadow: none; }

/* Story cards: champagne/amber left accent + soft serif quote mark */
body .story-list { gap: 1.1rem; }
html[data-theme="maroon"] body .story-card { border-left: 3px solid #C9A45C !important; }
html[data-theme="enterprise"] body .story-card { border-left: 3px solid #C8902E !important; }
body .story-card .story-content { position: relative; }
html[data-theme="maroon"] body .story-card .story-content::before,
html[data-theme="enterprise"] body .story-card .story-content::before {
  content: "\201C"; position: absolute; left: -.15rem; top: -1.35rem;
  font-family: 'Playfair Display', Georgia, serif; font-size: 2.4rem; line-height: 1;
  color: rgba(201,164,92,.55); pointer-events: none;
}
html[data-theme="enterprise"] body .story-card .story-content::before { color: rgba(200,144,46,.5); }
html[data-theme="maroon"] body .story-card, html[data-theme="enterprise"] body .story-card { padding-top: 1.7rem !important; }

/* Textarea: calmer resting, clear focus */
body textarea { line-height: 1.6; }
body .char-count { font-variant-numeric: tabular-nums; }

/* Header nav buttons: consistent height + centered text */
body .site-nav .btn-secondary { display: inline-flex; align-items: center; min-height: 36px; }

/* Selection color matches theme */
html[data-theme="maroon"] ::selection { background: rgba(201,164,92,.35); color: #2A0418; }
html[data-theme="enterprise"] ::selection { background: rgba(200,144,46,.30); color: #0B2A40; }
html:not([data-theme="maroon"]):not([data-theme="enterprise"]) ::selection { background: rgba(232,121,249,.35); color: #fff; }

@media (prefers-reduced-motion: reduce) { body .facility-card .facility-meta::before { animation: none !important; } }
