/* ═══════════════════════════════════════════════════════════
   styles.css — Pawwtalks Mirror Challenge Journal
   Brand: Off-white · Deep Plum · Gold · Lavender · Taupe
   Type: Cormorant Garamond (display) · Karla (body)
═══════════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --offwhite:      #F9F7F8;
  --plum:          #5B3758;
  --plum-deep:     #3E2540;
  --plum-mid:      #7A4E72;
  --plum-light:    #9B6E96;
  --gold:          #D4AF37;
  --gold-soft:     #E9D8A0;
  --gold-pale:     #F5EEC8;
  --lavender:      #CDB4DB;
  --lavender-soft: #E9DEF0;
  --lavender-pale: #F4EDF8;
  --taupe:         #7E6C68;
  --taupe-light:   #B4A6A2;
  --charcoal:      #3E3E3E;
  --white:         #FFFFFF;
  --success:       #6BAE8E;
  --error:         #C0543A;

  --shadow-xs: 0 1px 4px rgba(91,55,88,.06);
  --shadow-sm: 0 2px 12px rgba(91,55,88,.09);
  --shadow-md: 0 8px 28px rgba(91,55,88,.13);
  --shadow-lg: 0 20px 56px rgba(91,55,88,.18);

  --r:    20px;
  --r-sm: 12px;
  --r-xs: 8px;
  --ease: cubic-bezier(.22,.8,.3,1);
  --max:  660px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Karla', system-ui, sans-serif;
  background: var(--offwhite);
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100dvh;
}
::selection { background: var(--lavender); color: var(--plum-deep); }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
a { color: var(--plum); text-decoration: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, .serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--plum);
  line-height: 1.2;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2rem, 7vw, 3rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 3vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--charcoal); }

/* ─── LAYOUT ─── */
.shell  { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.screen { display: none; min-height: 100dvh; }
.screen.active { display: block; }

/* ─── TOPBAR ─── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(249,247,248,.88);
  border-bottom: 1px solid rgba(205,180,219,.2);
}
.topbar-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 13px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--plum); letter-spacing: .06em;
  display: flex; align-items: center; gap: 7px;
}
.wordmark svg { width: 18px; height: 18px; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.day-badge {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--taupe);
  padding: 5px 12px; border-radius: 100px;
  background: var(--lavender-pale);
  border: 1px solid rgba(205,180,219,.4);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s;
  cursor: pointer; border: none; font-family: inherit;
  text-decoration: none; text-align: center;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(130deg, var(--plum), var(--plum-mid));
  color: #fff;
  box-shadow: 0 8px 24px rgba(91,55,88,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(91,55,88,.34); }
.btn-gold {
  background: linear-gradient(130deg, var(--gold), #c9a22e);
  color: var(--plum-deep);
  box-shadow: 0 8px 22px rgba(212,175,55,.28);
  position: relative; overflow: hidden;
}
.btn-gold::after {
  content: ""; position: absolute;
  top: -40%; bottom: -40%; width: 36%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg);
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer { 0%{left:-60%} 55%,100%{left:130%} }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(212,175,55,.36); }
.btn-ghost {
  background: transparent; color: var(--plum);
  border: 1.5px solid var(--lavender);
}
.btn-ghost:hover { background: var(--lavender-soft); }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-link {
  background: none; color: var(--plum-mid); font-size: .9rem;
  text-decoration: underline; text-underline-offset: 3px;
  padding: 0; border-radius: 0;
}

/* ─── CARDS ─── */
.card {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(205,180,219,.28);
  border-radius: var(--r);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(6px);
}
.card-sm { padding: 18px 18px; border-radius: var(--r-sm); }

/* ─── SECTION LABELS ─── */
.eyebrow {
  display: block;
  font-size: .72rem; font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}

/* ─── DIVIDER ─── */
.divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--lavender); margin: 28px 0;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205,180,219,.5));
}
.divider::after { transform: scaleX(-1); }
.divider span { font-size: .75rem; letter-spacing: .2em; }

/* ═══════════════════════════════════════════════════════════
   SCREEN 1 — EMAIL GATE
═══════════════════════════════════════════════════════════ */
#screen-gate {
  display: flex; align-items: center; justify-content: center;
  min-height: 100dvh;
  background:
    radial-gradient(700px 500px at 80% -10%, rgba(205,180,219,.4), transparent 60%),
    radial-gradient(500px 400px at -10% 60%, rgba(212,175,55,.08), transparent 55%),
    var(--offwhite);
  padding: 40px 20px;
}
.gate-box {
  width: 100%; max-width: 420px;
  text-align: center;
}
.gate-logo {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 36px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 700; color: var(--plum);
  letter-spacing: .06em;
}
.gate-logo svg { width: 22px; height: 22px; }
.gate-box h2 { margin-bottom: 10px; }
.gate-box .lede {
  font-size: 1rem; color: var(--taupe); margin-bottom: 32px; line-height: 1.65;
}
.gate-form { text-align: left; }
.gate-note {
  font-size: .8rem; color: var(--taupe-light); text-align: center; margin-top: 12px;
}

/* Setup form (new participants) */
.setup-form { display: none; margin-top: 20px; }
.setup-intro {
  background: linear-gradient(140deg, rgba(233,222,240,.5), rgba(255,255,255,.8));
  border: 1px solid rgba(205,180,219,.4);
  border-radius: var(--r-sm);
  padding: 16px 18px; margin-bottom: 20px;
  font-size: .95rem; color: var(--taupe); line-height: 1.65;
}
.setup-intro strong { color: var(--plum); }

/* ═══════════════════════════════════════════════════════════
   FORM ELEMENTS — shared across screens
═══════════════════════════════════════════════════════════ */
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block; font-weight: 700; font-size: .88rem;
  color: var(--plum); margin-bottom: 7px;
}
.form-field .field-hint {
  font-size: .78rem; color: var(--taupe-light); margin-bottom: 6px; display: block;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  border: 1.5px solid rgba(205,180,219,.55);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.95);
  padding: 12px 15px;
  font-family: inherit; font-size: 1rem; color: var(--charcoal);
  transition: border-color .25s, box-shadow .25s;
  outline: none;
}
.form-field input:focus, .form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,.14);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #C0B4B0; }
.form-field textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.field-error { font-size: .8rem; color: var(--error); margin-top: 4px; display: none; }
.field-error.show { display: block; }
.form-error-msg {
  background: rgba(192,84,58,.08); border: 1px solid rgba(192,84,58,.3);
  border-radius: var(--r-xs); padding: 12px 16px;
  font-size: .9rem; color: var(--error); margin-bottom: 16px; display: none;
}
.form-error-msg.show { display: block; }

/* ─── SLIDER ─── */
.slider-wrap { display: flex; align-items: center; gap: 12px; }
.slider-wrap input[type=range] {
  flex: 1; -webkit-appearance: none; appearance: none;
  height: 5px; border-radius: 10px; outline: none;
  background: linear-gradient(
    to right,
    var(--plum) 0%,
    var(--plum) calc(var(--pct, 50%) * 1%),
    rgba(205,180,219,.4) calc(var(--pct, 50%) * 1%),
    rgba(205,180,219,.4) 100%
  );
  border: none; padding: 0; box-shadow: none;
}
.slider-wrap input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--white); border: 2.5px solid var(--plum);
  box-shadow: 0 2px 8px rgba(91,55,88,.25);
  cursor: pointer; transition: transform .2s;
}
.slider-wrap input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.slider-value {
  min-width: 28px; text-align: center;
  font-weight: 700; font-size: 1rem; color: var(--plum);
}
.slider-labels {
  display: flex; justify-content: space-between;
  font-size: .72rem; color: var(--taupe-light); margin-top: 4px;
}

/* ─── CHIPS ─── */
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip {
  padding: 8px 14px; border-radius: 100px; cursor: pointer;
  font-size: .88rem; font-weight: 600; border: 1.5px solid rgba(205,180,219,.5);
  background: rgba(255,255,255,.8); color: var(--taupe);
  transition: all .2s; user-select: none;
  display: flex; align-items: center; gap: 5px;
}
.chip:hover { border-color: var(--lavender); background: var(--lavender-pale); }
.chip.selected {
  background: var(--plum); color: #fff; border-color: var(--plum);
  box-shadow: 0 3px 10px rgba(91,55,88,.2);
}
.chip.selected:hover { background: var(--plum-mid); }

/* ─── TOGGLE ─── */
.toggle-group { display: flex; gap: 10px; flex-wrap: wrap; }
.toggle-btn {
  padding: 10px 20px; border-radius: 100px;
  font-size: .9rem; font-weight: 600; cursor: pointer;
  border: 1.5px solid rgba(205,180,219,.5);
  background: rgba(255,255,255,.8); color: var(--taupe);
  transition: all .2s; user-select: none;
}
.toggle-btn:hover { border-color: var(--lavender); }
.toggle-btn.selected {
  background: var(--plum); color: #fff; border-color: var(--plum);
}
.toggle-btn.yes.selected { background: var(--success); border-color: var(--success); }
.toggle-btn.no.selected  { background: var(--taupe);   border-color: var(--taupe); }

/* ─── SYMPTOM CHIPS WITH INTENSITY ─── */
.symptom-item { margin-bottom: 6px; }
.symptom-intensity {
  display: none; margin-top: 8px; margin-left: 4px;
  padding: 10px 14px;
  background: var(--lavender-pale);
  border-radius: var(--r-xs);
}
.symptom-intensity.show { display: block; }
.symptom-intensity label { font-size: .8rem; color: var(--plum); margin-bottom: 6px; display: block; }

/* ─── CHECKBOX MULTI ─── */
.check-group { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip {
  padding: 8px 14px; border-radius: 100px; cursor: pointer;
  font-size: .86rem; font-weight: 600;
  border: 1.5px solid rgba(205,180,219,.5);
  background: rgba(255,255,255,.8); color: var(--taupe);
  transition: all .2s; user-select: none;
}
.check-chip.selected {
  background: var(--lavender-soft); color: var(--plum); border-color: var(--lavender);
}

/* ═══════════════════════════════════════════════════════════
   SCREEN 2 — DASHBOARD
═══════════════════════════════════════════════════════════ */
#screen-dashboard { padding-bottom: 60px; }

.dash-hero {
  padding: 40px 0 32px;
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(205,180,219,.3), transparent 60%),
    linear-gradient(180deg, #FBF9FC 0%, var(--offwhite) 100%);
  text-align: center;
}
.dash-hero .greeting {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 600;
  color: var(--plum); margin-bottom: 6px;
}
.dash-hero .greeting em { font-style: italic; color: var(--plum-mid); }
.dash-hero .subtext { font-size: .95rem; color: var(--taupe); }

/* Progress ring */
.progress-ring-wrap {
  display: flex; flex-direction: column; align-items: center;
  margin: 24px auto 16px;
}
.progress-ring { position: relative; width: 110px; height: 110px; }
.progress-ring svg { transform: rotate(-90deg); }
.progress-ring .track { fill: none; stroke: rgba(205,180,219,.25); stroke-width: 8; }
.progress-ring .fill  { fill: none; stroke: var(--gold); stroke-width: 8; stroke-linecap: round;
  transition: stroke-dashoffset .8s var(--ease); }
.progress-ring .center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.progress-ring .center .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 700; color: var(--plum); line-height: 1;
}
.progress-ring .center .denom { font-size: .72rem; color: var(--taupe-light); }
.progress-label { font-size: .8rem; color: var(--taupe); margin-top: 8px; letter-spacing: .04em; }

/* Streak */
.streak-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 100px;
  background: linear-gradient(130deg, var(--gold-pale), rgba(255,255,255,.9));
  border: 1px solid rgba(212,175,55,.3);
  font-size: .84rem; font-weight: 700; color: var(--plum);
  margin: 8px auto 0; box-shadow: var(--shadow-xs);
}

/* Status cards */
.dash-status-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0;
}
.status-card {
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(205,180,219,.25);
  border-radius: var(--r-sm); padding: 16px 14px;
  box-shadow: var(--shadow-xs);
  display: flex; flex-direction: column; gap: 6px;
}
.status-card .sc-icon { font-size: 1.3rem; }
.status-card .sc-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe-light); }
.status-card .sc-value { font-size: .95rem; font-weight: 600; color: var(--plum); }
.status-card.done { border-color: rgba(107,174,142,.4); background: rgba(107,174,142,.07); }
.status-card.done .sc-value { color: var(--success); }

/* Biggest insight */
.insight-card {
  background: linear-gradient(140deg, rgba(233,222,240,.5), rgba(255,255,255,.85));
  border: 1px solid rgba(205,180,219,.35); border-radius: var(--r);
  padding: 22px 22px; margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.insight-card .ic-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px; display: block;
}
.insight-card p { font-size: .95rem; color: var(--taupe); line-height: 1.7; font-style: italic; }

/* Tomorrow preview */
.tomorrow-card {
  border: 1.5px dashed rgba(205,180,219,.5);
  border-radius: var(--r); padding: 20px 22px; margin-bottom: 20px;
  background: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: 16px;
}
.tomorrow-card .tc-lock { font-size: 1.6rem; }
.tomorrow-card .tc-text h4 { color: var(--plum-mid); margin-bottom: 3px; }
.tomorrow-card .tc-text p  { font-size: .88rem; color: var(--taupe); }

/* Community link */
.community-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-radius: var(--r-sm);
  background: var(--plum); color: rgba(255,255,255,.9);
  margin-bottom: 28px; box-shadow: var(--shadow-sm);
  text-decoration: none; transition: transform .2s;
}
.community-link:hover { transform: translateY(-1px); }
.community-link span { font-size: .9rem; font-weight: 600; }
.community-link .cl-arrow { font-size: 1.1rem; }

/* CTA area */
.dash-cta { text-align: center; }
.dash-cta .cta-note { font-size: .82rem; color: var(--taupe-light); margin-top: 12px; }

/* Completed state */
.report-ready-card {
  background: linear-gradient(140deg, var(--plum), var(--plum-deep));
  border-radius: var(--r); padding: 32px 28px; text-align: center;
  box-shadow: var(--shadow-lg); margin-bottom: 24px;
}
.report-ready-card h2 { color: #fff; margin-bottom: 10px; }
.report-ready-card p  { color: rgba(233,222,240,.85); margin-bottom: 24px; }

/* ═══════════════════════════════════════════════════════════
   SCREEN 3 — DAILY JOURNAL
═══════════════════════════════════════════════════════════ */
#screen-journal { padding-bottom: 80px; }

.journal-hero {
  padding: 28px 0 0;
  text-align: center;
}
.theme-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 16px; border-radius: 100px;
  font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--plum-deep); margin-bottom: 14px;
  border: 1px solid rgba(212,175,55,.35);
  background: linear-gradient(130deg, var(--gold-pale), rgba(255,255,255,.9));
}
.journal-disclaimer {
  background: linear-gradient(140deg, rgba(233,222,240,.45), rgba(255,255,255,.8));
  border: 1px solid rgba(205,180,219,.35);
  border-radius: var(--r-sm); padding: 14px 18px; margin: 16px 0 0;
  font-size: .88rem; color: var(--taupe); line-height: 1.65; font-style: italic;
  text-align: left;
}
.journal-disclaimer strong { color: var(--plum); font-style: normal; }

/* Section accordion */
.j-section { margin-top: 24px; }
.j-section-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(205,180,219,.28);
  cursor: pointer; user-select: none;
  box-shadow: var(--shadow-xs);
  transition: background .2s;
}
.j-section-header:hover { background: var(--lavender-pale); }
.j-section-header.open { border-radius: var(--r-sm) var(--r-sm) 0 0; border-bottom-color: transparent; }
.j-section-left { display: flex; align-items: center; gap: 12px; }
.j-section-icon { font-size: 1.2rem; }
.j-section-title { font-weight: 700; color: var(--plum); font-size: .98rem; }
.j-section-subtitle { font-size: .78rem; color: var(--taupe-light); }
.j-section-right { display: flex; align-items: center; gap: 8px; }
.j-section-badge {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 100px;
  background: var(--lavender-soft); color: var(--plum-mid);
}
.j-section-badge.required { background: rgba(91,55,88,.1); color: var(--plum); }
.j-section-badge.complete { background: rgba(107,174,142,.15); color: var(--success); }
.j-section-chevron { color: var(--taupe-light); transition: transform .25s; font-size: 1rem; }
.j-section-header.open .j-section-chevron { transform: rotate(180deg); }

.j-section-body {
  display: none; padding: 20px 20px 24px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(205,180,219,.28); border-top: none;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.j-section-body.open { display: block; }
.j-section-intro { font-size: .9rem; color: var(--taupe); margin-bottom: 18px; line-height: 1.65; font-style: italic; }

/* Question rows */
.q-row { margin-bottom: 22px; }
.q-row:last-child { margin-bottom: 0; }
.q-label {
  display: block; font-weight: 600; font-size: .92rem;
  color: var(--charcoal); margin-bottom: 10px; line-height: 1.5;
}
.q-label .q-opt { font-size: .78rem; color: var(--taupe-light); font-weight: 400; margin-left: 4px; }

/* Progress bar */
.journal-progress {
  position: sticky; top: 53px; z-index: 30;
  background: rgba(249,247,248,.9); backdrop-filter: blur(8px);
  padding: 8px 20px; border-bottom: 1px solid rgba(205,180,219,.15);
}
.jp-bar-wrap {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
}
.jp-bar { flex: 1; height: 4px; border-radius: 10px; background: rgba(205,180,219,.3); overflow: hidden; }
.jp-fill { height: 100%; border-radius: 10px; background: var(--gold); transition: width .4s var(--ease); }
.jp-label { font-size: .75rem; color: var(--taupe); white-space: nowrap; }

/* Submit area */
.journal-submit {
  position: sticky; bottom: 0;
  background: rgba(249,247,248,.95); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(205,180,219,.2);
  padding: 14px 20px; z-index: 30;
}
.journal-submit-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
}
.submit-note { font-size: .78rem; color: var(--taupe-light); flex: 1; }

/* ═══════════════════════════════════════════════════════════
   SCREEN 4 — POST-SUBMISSION
═══════════════════════════════════════════════════════════ */
#screen-post {
  display: flex; align-items: center; justify-content: center;
  min-height: 100dvh; padding: 40px 20px;
  background:
    radial-gradient(600px 400px at 70% -10%, rgba(205,180,219,.35), transparent 60%),
    var(--offwhite);
}
.post-box {
  max-width: 440px; width: 100%; text-align: center;
}
.post-icon { font-size: 2.8rem; margin-bottom: 20px; }
.post-box h2 { margin-bottom: 12px; }
.post-box .post-sub { font-size: 1rem; color: var(--taupe); line-height: 1.7; margin-bottom: 24px; }
.daily-insight-card {
  background: linear-gradient(140deg, rgba(233,222,240,.55), rgba(255,255,255,.9));
  border: 1px solid rgba(205,180,219,.4);
  border-radius: var(--r); padding: 24px 22px; margin-bottom: 28px;
  text-align: left; box-shadow: var(--shadow-sm);
}
.daily-insight-card .di-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: block;
}
.daily-insight-card p { font-size: .96rem; color: var(--taupe); line-height: 1.75; font-style: italic; }
.post-actions { display: flex; flex-direction: column; gap: 12px; }
.post-skool-note {
  font-size: .84rem; color: var(--taupe-light); margin-top: 8px; line-height: 1.6;
}
.post-skool-note a { color: var(--plum); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   SCREEN 5 — MIRROR REPORT
═══════════════════════════════════════════════════════════ */
#screen-report { padding-bottom: 80px; }

.report-header {
  padding: 48px 0 36px; text-align: center;
  background: linear-gradient(170deg, var(--plum) 0%, var(--plum-deep) 100%);
}
.report-header .eyebrow { color: var(--gold-soft); }
.report-header h1 { color: #fff; margin-bottom: 8px; }
.report-header .rh-sub { color: rgba(233,222,240,.8); font-size: 1rem; }
.report-header .rh-meta { font-size: .82rem; color: rgba(205,180,219,.7); margin-top: 16px; }

/* Letter section */
.report-letter {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(205,180,219,.3);
  border-radius: var(--r); padding: 32px 28px;
  margin-bottom: 28px; box-shadow: var(--shadow-md);
  white-space: pre-line; line-height: 1.85;
  font-size: .98rem; color: var(--charcoal);
  font-family: 'Cormorant Garamond', serif; font-size: 1.05rem;
}

/* Timeline */
.report-timeline { margin-bottom: 28px; }
.timeline-item {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 1px dashed rgba(205,180,219,.35);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-day {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender-soft), #fff);
  border: 1.5px solid var(--lavender);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-weight: 700;
  font-size: 1.1rem; color: var(--plum);
}
.timeline-content h4 { font-size: .85rem; color: var(--gold); margin-bottom: 4px; }
.timeline-content p  { font-size: .92rem; color: var(--taupe); font-style: italic; line-height: 1.6; }
.timeline-content .no-entry { font-size: .85rem; color: var(--taupe-light); }

/* Pattern cards */
.pattern-card {
  background: linear-gradient(140deg, rgba(233,222,240,.4), rgba(255,255,255,.85));
  border: 1px solid rgba(205,180,219,.35);
  border-radius: var(--r-sm); padding: 20px 20px; margin-bottom: 14px;
  box-shadow: var(--shadow-xs);
}
.pattern-card h4 { margin-bottom: 8px; color: var(--plum); }
.pattern-card p  { font-size: .93rem; color: var(--taupe); line-height: 1.7; }

/* Questions */
.explore-questions { list-style: none; display: grid; gap: 12px; }
.explore-questions li {
  padding: 16px 18px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(205,180,219,.28);
  border-radius: var(--r-sm);
  font-size: .95rem; color: var(--taupe);
  line-height: 1.6; font-style: italic;
  position: relative; padding-left: 42px;
}
.explore-questions li::before {
  content: "✦"; position: absolute; left: 16px; top: 17px;
  color: var(--gold); font-size: .75rem;
}

/* Continue journey */
.continue-card {
  background: linear-gradient(140deg, var(--plum), var(--plum-deep));
  border-radius: var(--r); padding: 36px 28px; text-align: center;
  box-shadow: var(--shadow-lg); margin-bottom: 20px;
}
.continue-card h2 { color: #fff; margin-bottom: 10px; }
.continue-card p  { color: rgba(233,222,240,.85); margin-bottom: 24px; line-height: 1.65; }
.continue-card .continue-actions { display: flex; flex-direction: column; gap: 12px; }

/* Report sections shared */
.report-section { padding: 36px 0 0; }
.report-section h3 { margin-bottom: 18px; }
.report-disclaimer {
  font-size: .8rem; color: var(--taupe-light); text-align: center;
  margin-top: 28px; line-height: 1.6; padding: 0 20px;
}

/* ─── LOADING STATE ─── */
.loading-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(249,247,248,.94); backdrop-filter: blur(8px);
}
.loading-spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid rgba(205,180,219,.3);
  border-top-color: var(--plum);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { margin-top: 16px; color: var(--taupe); font-size: .9rem; }

/* ─── TOAST ─── */
.toast {
  position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(20px);
  z-index: 300; opacity: 0; transition: all .35s var(--ease);
  background: var(--plum-deep); color: #fff;
  padding: 12px 22px; border-radius: 100px;
  font-size: .88rem; font-weight: 600;
  box-shadow: var(--shadow-md); white-space: nowrap;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: var(--error); }

/* ─── RESPONSIVE ─── */
@media (max-width: 480px) {
  .card { padding: 20px 16px; }
  .dash-status-grid { grid-template-columns: 1fr; }
  .btn { padding: 13px 22px; }
  .report-letter { padding: 24px 18px; }
  .continue-card { padding: 28px 18px; }
  .journal-submit-inner { flex-direction: column; align-items: stretch; }
  .submit-note { text-align: center; }
}
