/* Yearly SOULPRINT — form page, report and sample.
   Shared chrome (nav, form-hero, form-card, labels, inputs, cta-section, sample-notice,
   site-footer, spinner) comes from site.css. Report blocks below mirror the main report
   sample (sample.html) values so the two readings look like one product family.
   Never redeclare CSS custom properties here — all variables come from site.css. */

/* ── Layout ─────────────────────────────────────────────────────────────── */
.yr-container { max-width: 1120px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.yr-form-container { max-width: 640px; margin: -1.5rem auto 4rem; padding: 0 1.5rem; position: relative; }
.yr-hidden, [hidden] { display: none !important; }

.form-hero .hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.6rem;
}

/* ── Form ───────────────────────────────────────────────────────────────── */
.yr-sample-link { text-align: center; font-size: 0.75rem; color: var(--muted-light); margin: -0.75rem 0 0.25rem; }
.yr-sample-link a { color: var(--gold); text-decoration: none; }
.yr-sample-link a:hover { text-decoration: underline; text-underline-offset: 2px; }

.yr-period { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.yr-period legend {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.6rem; padding: 0;
}
.yr-period-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1rem; }
label.yr-period-option {
  position: relative; display: flex; flex-direction: column; gap: 0.2rem;
  padding: 0.85rem 0.9rem; margin: 0;
  border: 1px solid var(--parchment-deep); border-radius: var(--radius); background: var(--parchment);
  text-transform: none; letter-spacing: 0; cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.yr-period-option input { position: absolute; opacity: 0; pointer-events: none; }
.yr-period-name { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 500; color: var(--deep); line-height: 1.15; }
.yr-period-hint { font-size: 0.7rem; font-weight: 400; color: var(--muted-light); line-height: 1.4; }
.yr-period-option:hover { border-color: rgba(184,146,42,0.5); }
.yr-period-option:has(input:checked) { border-color: var(--gold); background: white; box-shadow: 0 0 0 3px rgba(184,146,42,0.1); }
.yr-period-option:has(input:checked) .yr-period-name::before { content: '✦ '; color: var(--gold); font-size: 0.8rem; vertical-align: 0.1em; }
.yr-period-option:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }

select {
  width: 100%; padding: 0.75rem 2.25rem 0.75rem 1rem;
  background: var(--parchment) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23b8922a' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 1rem center;
  border: 1px solid var(--parchment-deep); border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 300; color: var(--deep);
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
select:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,146,42,0.1); background-color: white; }

.yr-period-summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding: 0.8rem 1rem; border-radius: var(--radius);
  background: rgba(184,146,42,0.06); border: 1px solid rgba(184,146,42,0.25);
}
.yr-period-summary-label { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.yr-period-summary-range { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--deep); }

.field-hint { font-size: 0.72rem; color: var(--muted-light); font-style: italic; margin-top: 6px; line-height: 1.5; }

.autocomplete-wrap { position: relative; }
.autocomplete-dropdown { position: absolute; top: calc(100% + 3px); left: 0; right: 0; background: white; border: 1px solid var(--gold); border-radius: var(--radius); box-shadow: 0 4px 16px rgba(44,24,16,0.12); z-index: 100; max-height: 260px; overflow-y: auto; display: none; }
.autocomplete-dropdown.open { display: block; }
.autocomplete-item { padding: 0.6rem 1rem; font-size: 0.88rem; color: var(--deep); cursor: pointer; border-bottom: 1px solid var(--parchment-dark); line-height: 1.35; }
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover, .autocomplete-item.focused { background: rgba(184,146,42,0.08); }
.autocomplete-item .ac-secondary { display: block; font-size: 0.72rem; color: var(--muted-light); margin-top: 0.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.systems-included { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.45rem; margin-top: 0.5rem; }
.sys-pill {
  padding: 0.32rem 0.5rem; border: 1px solid rgba(184,146,42,0.4); border-radius: 20px;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.04em; color: var(--gold); background: rgba(184,146,42,0.06);
  display: flex; align-items: center; justify-content: center; gap: 0.28rem; text-align: center;
}
.sys-pill::before { content: '✓'; font-size: 0.62rem; opacity: 0.7; }

/* Primary button matches the main reading form (index.html .btn-generate). */
.btn-generate {
  width: 100%; padding: 1rem; margin-top: 0.5rem;
  background: var(--deep); color: var(--parchment); border: none; border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; transition: background var(--transition), transform var(--transition);
}
.btn-generate:hover:not(:disabled) { background: var(--deep-mid); transform: translateY(-1px); }
.btn-generate:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-link {
  display: block; width: 100%; margin-top: 0.75rem; padding: 0.4rem; background: none; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem; color: var(--gold); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(184,146,42,0.4);
}
.btn-link:hover { text-decoration-color: var(--gold); }
.btn-link:disabled { opacity: 0.5; cursor: wait; }
.form-coupon-hint { text-align: center; font-size: 0.72rem; color: var(--muted-light); margin-top: 0.75rem; font-style: italic; }

.yr-status { min-height: 1.2em; margin-top: 0.85rem; text-align: center; font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.yr-status.is-error { color: var(--error); }

.yr-preview {
  margin-top: 1.25rem; padding: 1.1rem 1.25rem; border-radius: var(--radius);
  background: var(--panel-bg); color: var(--panel-text); position: relative; overflow: hidden;
}
.yr-preview::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 85% 15%, rgba(184,146,42,0.16) 0%, transparent 60%); pointer-events: none; }
.yr-preview > * { position: relative; }
.yr-preview-label { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.yr-preview p { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; line-height: 1.55; color: rgba(247,241,232,0.9); }
.yr-preview small { display: block; margin-top: 0.6rem; font-size: 0.72rem; color: rgba(247,241,232,0.6); }

.report-save-notice {
  background: rgba(184,146,42,0.06); border: 1px solid rgba(184,146,42,0.25); border-radius: var(--radius);
  padding: 0.9rem 1.1rem; margin: 0 0 1.5rem; display: flex; gap: 0.75rem;
  font-size: 0.8rem; color: var(--muted); line-height: 1.55;
}
.report-save-notice-icon { color: var(--gold); flex-shrink: 0; }
.report-save-notice strong { color: var(--deep); font-weight: 500; }

/* ── Loading screen ─────────────────────────────────────────────────────── */
#screen-loading.active { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 60vh; padding: 5rem 1.5rem; }
.loading-estimate { font-size: 0.8rem; color: var(--muted-light); margin-top: 1rem; font-style: italic; }

/* ── Report actions (copied from the main report in index.html) ─────────── */
#reportStatus:not(:empty) { margin: 0 0 1.5rem; }
.sticky-actions { display: none; position: fixed; bottom: 14px; right: 20px; flex-direction: column; gap: 8px; z-index: 100; align-items: flex-end; }
.sticky-actions.visible { display: flex; }
.sticky-btn {
  padding: 0.6rem 1.4rem; border-radius: var(--radius); border: 1px solid;
  font-family: 'DM Sans', sans-serif; font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap; box-shadow: 0 2px 14px rgba(0,0,0,0.28);
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.sticky-btn--pdf { background: var(--deep); color: var(--parchment); border-color: var(--deep); }
.sticky-btn--pdf:hover { background: var(--deep-mid); }
.sticky-btn--email { color: var(--gold); border-color: rgba(166,124,30,0.6); background: rgba(44,24,16,0.85); backdrop-filter: blur(6px); }
.sticky-btn--email:hover { background: rgba(44,24,16,0.95); border-color: var(--gold); color: var(--gold-light); }

.email-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.email-modal-backdrop { position: absolute; inset: 0; background: rgba(20,12,8,0.72); backdrop-filter: blur(4px); }
.email-modal-box {
  position: relative; background: var(--parchment); border: 1px solid rgba(166,124,30,0.4); border-radius: 6px;
  padding: 2rem 2rem 1.75rem; max-width: 380px; width: 100%; text-align: center; box-shadow: 0 12px 48px rgba(0,0,0,0.5);
}
.email-modal-ornament { color: var(--gold); font-size: 1rem; margin-bottom: 0.75rem; opacity: 0.7; }
.email-modal-box h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; color: var(--deep-mid); margin-bottom: 0.6rem; }
.email-modal-box p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.2rem; }
.email-modal-input {
  width: 100%; padding: 0.65rem 0.9rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(166,124,30,0.35);
  border-radius: var(--radius); font-family: 'DM Sans', sans-serif; font-size: 0.88rem; color: var(--deep-mid);
  outline: none; margin-bottom: 0.75rem; transition: border-color 0.2s; text-align: center;
}
.email-modal-input:focus { border-color: var(--gold); }
.email-modal-status { font-size: 0.8rem; min-height: 1.2rem; margin-bottom: 0.5rem; color: var(--gold); }
.email-modal-status.is-error { color: #c0392b; }
.email-modal-status.is-success { color: #4a7a40; }
.email-modal-actions { display: flex; gap: 0.6rem; justify-content: center; margin-top: 0.25rem; }
@media (max-width: 680px) {
  .sticky-actions { bottom: 10px; right: 10px; }
  .sticky-btn { font-size: 0.68rem; padding: 0.55rem 1.1rem; }
}
@media print { .sticky-actions, .email-modal { display: none !important; } }

/* ── Report header (matches sample.html) ────────────────────────────────── */
.yr-header { padding: 0.5rem 1rem 0; margin-bottom: 2rem; }
.system-pills { display: flex; justify-content: center; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.system-pill {
  padding: 0.2rem 0.75rem; border: 1px solid rgba(184,146,42,0.35); border-radius: 100px;
  font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.yr-meta-line { margin: 0.5rem 0 1.5rem; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.06em; }

/* ── Summary card (matches sample.html) ─────────────────────────────────── */
.summary-card {
  background: var(--panel-bg); color: var(--panel-text); border-radius: 6px;
  padding: 2.5rem; margin-bottom: 2rem; position: relative; overflow: hidden;
}
.summary-card > * { position: relative; }
.summary-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 80% 20%, rgba(184,146,42,0.12) 0%, transparent 60%);
}
.summary-eyebrow { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.summary-headline {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 400;
  color: var(--gold-light); margin-bottom: 1.25rem; line-height: 1.2;
}
.summary-essence { font-size: 0.95rem; line-height: 1.8; color: rgba(247,241,232,0.92); margin-bottom: 1.5rem; max-width: 920px; }
.summary-essence p { margin: 0 0 0.75rem; }
.summary-essence strong, .yr-priority-text strong, .yr-caution strong, .yr-intentions strong, .yr-reflection strong { color: var(--gold-pale); font-weight: 500; }
.summary-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.summary-pillars .pillar-pill:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
.pillar-pill {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(184,146,42,0.25); border-radius: var(--radius);
  padding: 0.6rem 0.85rem; font-size: 0.78rem; line-height: 1.4;
}
.pillar-system { display: block; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.15rem; }
.pillar-value { color: rgba(247,241,232,0.9); }

.yr-priorities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 1.25rem; }
/* Two to five priorities: lib/yearly.js cardColumns() picks the class. The phone rule below still wins. */
.yr-priorities--cols-1 { grid-template-columns: 1fr; }
.yr-priorities--cols-2 { grid-template-columns: repeat(2, 1fr); }
.yr-priority { border-top: 1px solid rgba(184,146,42,0.45); padding-top: 0.7rem; }
.yr-priority-num { display: block; font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.yr-priority-text { font-family: 'Cormorant Garamond', serif; font-size: 1.12rem; line-height: 1.4; color: var(--panel-text); }
.yr-caution { font-size: 0.85rem; line-height: 1.65; color: rgba(247,241,232,0.78); margin-bottom: 1.75rem; padding-left: 0.9rem; border-left: 2px solid var(--gold); }
.yr-caution-label { display: block; font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.15rem; }

/* ── Reading path + chapter panels (matches sample.html) ────────────────── */
.sample-report-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1.5rem; align-items: start; margin-bottom: 2rem; }
.sample-chapter-nav {
  background: rgba(255,255,255,0.7); border: 1px solid var(--parchment-deep); border-radius: 8px;
  padding: 0.8rem; position: sticky; top: 80px;
}
.sample-chapter-nav-label { font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 0.65rem; }
.sample-chapter-link {
  display: block; text-decoration: none; color: var(--muted); padding: 0.55rem 0.65rem; border-radius: 6px;
  border: 1px solid transparent; margin-bottom: 0.25rem;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.sample-chapter-link:hover { background: rgba(184,146,42,0.04); border-color: rgba(184,146,42,0.15); color: var(--deep); }
.sample-chapter-link strong { display: block; font-size: 0.8rem; font-weight: 500; color: inherit; }
.sample-chapter-link span { display: block; font-size: 0.68rem; color: var(--muted-light); line-height: 1.35; margin-top: 0.1rem; }

.yr-chapters { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.sample-panel-shell {
  background: rgba(255,255,255,0.7); border: 1px solid var(--parchment-deep); border-radius: 8px;
  padding: 1.75rem 1.75rem 1.5rem; min-width: 0; scroll-margin-top: 72px;
}
.sys-panel-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--parchment-deep); }
.sys-panel-icon {
  display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--parchment-deep); color: var(--gold); flex-shrink: 0; font-size: 1rem;
}
.yr-chapter-kicker { font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 0.1rem; }
.sys-panel-label { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 500; color: var(--deep); letter-spacing: 0.02em; line-height: 1.15; }
.tab-intro {
  font-family: 'Cormorant Garamond', serif; font-size: 1.12rem; font-weight: 500; color: var(--deep-mid);
  margin-bottom: 1.5rem; padding-left: 1.1rem; border-left: 3px solid var(--gold); line-height: 1.45;
}

/* Reading prose — same rhythm as the main report accordion content */
.yr-prose { font-size: 1.03rem; line-height: 1.8; color: var(--deep-mid); }
.yr-prose p { margin-bottom: 0.85rem; }
.yr-prose p:last-child { margin-bottom: 0; }
.yr-prose strong, .yr-lens-text strong, .yr-month-note strong, .yr-guide strong, .yr-area-action strong { color: var(--deep); font-weight: 500; }
.yr-prose em, .yr-lens-text em, .yr-month-note em { font-style: italic; }
.yr-prose--lead p:first-child::first-letter {
  font-family: 'Cormorant Garamond', serif; float: left; font-size: 3.4rem; line-height: 0.85;
  padding: 0.2rem 0.5rem 0 0; color: var(--gold);
}
.yr-subhead {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 600; color: var(--deep); line-height: 1.2;
}

/* Seven lenses */
.yr-lens-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.yr-lens { background: #fbf8f4; border: 1px solid var(--parchment-deep); border-radius: 6px; padding: 1rem 1.1rem; }
.yr-lens:last-child:nth-child(odd) { grid-column: 1 / -1; }
.yr-lens-head { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 0.6rem; }
.yr-lens-icon { color: var(--gold); font-size: 1.05rem; line-height: 1.5; width: 1.2rem; text-align: center; flex-shrink: 0; }
.yr-lens h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--deep); line-height: 1.2; }
.yr-lens-fact { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--gold); margin-top: 0.15rem; line-height: 1.45; }
.yr-lens-text { font-size: 0.96rem; line-height: 1.7; color: var(--deep-mid); }
/* The overview spans the grid, so the seven system cards after it end on an even child. */
.yr-lens--overview { grid-column: 1 / -1; background: #fffdf9; border-top: 2px solid var(--gold); }
.yr-lens--overview ~ .yr-lens:last-child:nth-child(even) { grid-column: 1 / -1; }
.yr-lens-glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; margin-top: 0.8rem; }
.yr-lens-glance-row { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.5rem; padding: 0.4rem 0; border-top: 1px solid var(--parchment-deep); font-size: 0.88rem; line-height: 1.5; }
.yr-lens-glance dt { color: var(--deep); font-weight: 500; }
.yr-lens-glance-icon { color: var(--gold); display: inline-block; width: 1.1rem; }
.yr-lens-glance dd { color: var(--deep-mid); margin: 0; }
.yr-lens-glance-fact { display: block; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--gold); margin-top: 0.1rem; }

/* Four phases */
.yr-timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 1.75rem; border: 1px solid var(--parchment-deep); border-radius: 6px; overflow: hidden; }
.yr-timeline-step + .yr-timeline-step { border-left: 1px solid var(--parchment-deep); }
.yr-timeline-step a { display: flex; flex-direction: column; gap: 0.2rem; height: 100%; padding: 0.85rem 0.9rem; text-decoration: none; background: #fbf8f4; transition: background var(--transition); }
.yr-timeline-step a:hover { background: white; }
.yr-timeline-num { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; color: var(--gold); }
.yr-timeline-dates { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-light); }
.yr-timeline-theme { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; line-height: 1.2; color: var(--deep); }
.yr-phase { padding: 1.5rem 0; border-top: 1px solid var(--parchment-deep); scroll-margin-top: 72px; }
.yr-phase:last-child { padding-bottom: 0.25rem; }
.yr-phase-dates { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-light); margin: 0.35rem 0 0.9rem; }
.yr-phase-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
.yr-phase-month { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 0.6rem; align-items: center; padding: 0.55rem 0.7rem; border: 1px solid var(--parchment-deep); border-radius: 6px; background: #fbf8f4; }
.yr-phase-month-chars { grid-row: 1 / span 3; font-family: 'Noto Sans SC', 'Cormorant Garamond', serif; font-size: 1.45rem; line-height: 1; color: var(--gold); }
.yr-phase-month-name { grid-column: 2; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light); }
.yr-phase-month-god { grid-column: 2; font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 600; color: var(--deep); line-height: 1.15; }
.yr-phase-month-pm { grid-column: 2; font-size: 0.62rem; color: var(--muted); }
.yr-phase-facts { margin: 0 0 1rem; padding: 0.7rem 0.95rem; border-left: 2px solid var(--gold); background: #fbf8f4; }
.yr-phase-facts ul { margin: 0; padding: 0; list-style: none; }
.yr-phase-facts li { font-size: 0.86rem; line-height: 1.55; color: var(--muted); padding: 0.18rem 0; }
/* Fact lines beside the overview text (lib/yearly-overview-facts.js): the dark glance card, lens cards and turning points. */
.yr-glance-facts { margin: 0 0 1.25rem; padding: 0.6rem 0.9rem; border-left: 2px solid var(--gold); background: rgba(247,241,232,0.05); max-width: 920px; }
.yr-glance-facts ul { margin: 0; padding: 0; list-style: none; }
.yr-glance-facts li { font-size: 0.8rem; line-height: 1.55; color: rgba(247,241,232,0.7); padding: 0.12rem 0; }
.yr-glance-facts .yr-guide-label { color: var(--gold); }
.yr-caution .yr-glance-facts { margin: 0.2rem 0 0.45rem; padding: 0; border-left: 0; background: none; }
.yr-caution p { margin: 0; }
.yr-priority-from { display: block; margin-top: 0.45rem; font-size: 0.72rem; line-height: 1.5; color: rgba(247,241,232,0.6); }
.yr-priority-from::before { content: 'From the chart · '; color: var(--gold); letter-spacing: 0.04em; }
.yr-lens .yr-phase-facts { margin: 0.5rem 0 0.75rem; padding: 0.5rem 0.75rem; background: #fffdf9; }
.yr-lens .yr-phase-facts li { font-size: 0.8rem; }
.yr-change { padding: 1.25rem 0; border-top: 1px solid var(--parchment-deep); }
.yr-change:first-child { padding-top: 0; border-top: 0; }
.yr-change:last-child { padding-bottom: 0.25rem; }
.yr-change-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--deep); line-height: 1.2; margin: 0 0 0.65rem; }
.yr-guidance { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem; }
.yr-guide { padding: 0.8rem 0.95rem; border: 1px solid var(--parchment-deep); border-radius: 6px; background: #fbf8f4; }
.yr-guide--act { border-color: rgba(184,146,42,0.3); background: rgba(184,146,42,0.06); }
.yr-guide-label { display: block; font-size: 0.6rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.25rem; }
.yr-guide p { font-size: 0.94rem; line-height: 1.6; color: var(--deep-mid); }

/* Life areas */
.yr-area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.yr-area { display: flex; flex-direction: column; background: #fbf8f4; border: 1px solid var(--parchment-deep); border-radius: 6px; padding: 1.15rem 1.2rem; }
.yr-area-head { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.65rem; }
.yr-area-icon { color: var(--gold); font-size: 0.95rem; }
.yr-area h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--deep); }
.yr-area .yr-prose { font-size: 0.98rem; line-height: 1.75; flex: 1; }
.yr-area-timing { margin-top: 0.9rem; padding: 0.6rem 0.75rem; border-radius: 4px; background: rgba(184,146,42,0.06); font-size: 0.92rem; line-height: 1.55; color: var(--deep-mid); }
.yr-area-timing + .yr-area-action { margin-top: 0.75rem; }
.yr-area-action { margin-top: 0.9rem; padding-top: 0.75rem; border-top: 1px solid var(--parchment-deep); font-size: 0.94rem; line-height: 1.6; color: var(--deep-mid); }

/* Month by month — one full-width row per month */
.yr-month-grid { display: flex; flex-direction: column; gap: 0.75rem; }
.yr-month {
  display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 1rem 1.25rem;
  background: #fbf8f4; border: 1px solid var(--parchment-deep); border-radius: 6px; padding: 1.15rem 1.25rem;
}
.yr-month-when { border-right: 1px solid var(--parchment-deep); padding-right: 1rem; }
.yr-month-name { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 600; color: var(--deep); line-height: 1.05; }
.yr-month-year { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light); margin-top: 0.15rem; }
.yr-month-chars { font-family: 'Noto Sans SC', 'Cormorant Garamond', serif; font-size: 1.9rem; line-height: 1; color: var(--gold); margin-top: 0.7rem; }
.yr-month-pillar-name { font-size: 0.68rem; color: var(--muted); margin-top: 0.3rem; }
.yr-month-range { font-size: 0.62rem; color: var(--muted-light); margin-top: 0.15rem; }
.yr-month-focus { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; color: var(--deep); line-height: 1.2; margin-bottom: 0.35rem; }
.yr-month-note { font-size: 1rem; line-height: 1.72; color: var(--deep-mid); }
.yr-month-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 0.75rem; padding-top: 0.65rem; border-top: 1px dashed var(--parchment-deep); }
.yr-month-guide dt { font-size: 0.56rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.yr-month-guide dd { font-size: 0.88rem; line-height: 1.45; color: var(--deep-mid); margin: 0.1rem 0 0; }

/* Carry forward */
.yr-closing {
  background: var(--panel-bg); color: var(--panel-text); border-radius: 8px; padding: 2.5rem 2.25rem;
  text-align: center; position: relative; overflow: hidden; scroll-margin-top: 72px;
}
.yr-closing::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(184,146,42,0.15) 0%, transparent 65%); pointer-events: none; }
.yr-closing > * { position: relative; }
.yr-intentions { list-style: none; max-width: 600px; margin: 0 auto 1.75rem; text-align: left; }
.yr-intentions li { display: flex; gap: 0.9rem; padding: 0.75rem 0; border-top: 1px solid rgba(184,146,42,0.25); font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; line-height: 1.45; color: rgba(247,241,232,0.92); }
.yr-intentions li:last-child { border-bottom: 1px solid rgba(184,146,42,0.25); }
.yr-intention-num { font-family: 'DM Sans', sans-serif; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; color: var(--gold); padding-top: 0.4rem; }
.yr-reflection { max-width: 520px; margin: 0 auto; }
.yr-reflection p { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--gold-light); margin-top: 0.3rem; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .sample-report-layout { grid-template-columns: 1fr; }
  .sample-chapter-nav { position: static; display: flex; gap: 0.35rem; overflow-x: auto; padding: 0.5rem; scrollbar-width: none; }
  .sample-chapter-nav::-webkit-scrollbar { display: none; }
  .sample-chapter-nav-label, .sample-chapter-link span { display: none; }
  .sample-chapter-link { flex-shrink: 0; margin: 0; white-space: nowrap; border-color: var(--parchment-deep); background: white; }
  .yr-month { grid-template-columns: 120px minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .yr-container { padding: 2rem 1rem 4rem; }
  .yr-form-container { padding: 0 1rem; }
  .yr-period-options { grid-template-columns: 1fr; }
  .systems-included { grid-template-columns: repeat(2, 1fr); }
  .summary-card { padding: 1.75rem 1.4rem; }
  .summary-pillars, .yr-priorities { grid-template-columns: 1fr; }
  .sample-panel-shell { padding: 1.25rem 1.1rem; }
  .yr-lens-grid, .yr-area-grid, .yr-guidance, .yr-lens-glance { grid-template-columns: 1fr; }
  .yr-month { grid-template-columns: 1fr; gap: 0.75rem; padding: 1rem; }
  .yr-month-when { border-right: 0; padding-right: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--parchment-deep); }
  .yr-month-chars { margin-top: 0; font-size: 1.4rem; }
  .yr-phase-months { grid-template-columns: 1fr; }
  .yr-timeline { grid-template-columns: 1fr 1fr; }
  .yr-timeline-step:nth-child(3) { border-left: 0; }
  .yr-timeline-step:nth-child(n + 3) { border-top: 1px solid var(--parchment-deep); }
  .yr-closing { padding: 2rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 480px) {
  .yr-month-guide { grid-template-columns: 1fr; gap: 0.55rem; }
  .cta-section { padding: 2rem 1.25rem; }
  .cta-features { grid-template-columns: 1fr; gap: 0.45rem; max-width: 18rem; }
  .btn-cta { max-width: 100%; padding-inline: 1rem; }
}

@media (max-width: 360px) {
  .yr-timeline { grid-template-columns: 1fr; }
  .yr-timeline-step + .yr-timeline-step { border-left: 0; border-top: 1px solid var(--parchment-deep); }
}

.report-save-notice[hidden] { display: none; }

/* Set in the head before the first paint of a paid return. */
html.yearly-returning #screen-form { display: none !important; }
html.yearly-returning #screen-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 60vh; padding: 5rem 1.5rem; }
