/* ===== Persistently (tracker pages) ===== */

:root {
  --ink: #1d2623;
  --ink-soft: #55605b;
  --cream: #f6f0e3;
  --cream-dim: #efe7d4;
  --paper: #fffdf7;
  --card: #fffdf7;
  --gold: #d29530;
  --gold-hover: #dea043;
  --gold-text: #86561a;
  --forest: #2f5a4f;
  --border: #ddd3bd;
  --focus: #2f5a4f;
  --radius-md: 6px;
  --radius-sm: 4px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* paper grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.55;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .25  0 0 0 0 .18  0 0 0 0 .1  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

a { color: var(--ink); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6em 1em;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.kicker {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--gold-text);
  margin: 0 0 14px;
}

.text-link {
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.text-link:hover { color: var(--gold-text); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
}
.brand-mark { width: 28px; height: 28px; flex-shrink: 0; }

.main-nav { display: none; }
.nav-open .main-nav {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 6px 20px 20px;
}
.nav-open .main-nav ul { flex-direction: column; gap: 0; }
.nav-open .main-nav li { border-bottom: 1px solid var(--border); }
.nav-open .main-nav li:last-child { border-bottom: 0; padding-top: 14px; }
.nav-open .main-nav a { min-height: 52px; font-size: 1.1rem; color: var(--ink); }
.nav-open .main-nav .nav-cta a {
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.nav-toggle .bar { transform-box: fill-box; transform-origin: center; transition: transform 0.2s ease, opacity 0.15s ease; }
.nav-open .nav-toggle .bar-1 { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle .bar-2 { opacity: 0; }
.nav-open .nav-toggle .bar-3 { transform: translateY(-5px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .nav-toggle .bar { transition: none; }
}

.header-inner > .header-cta { display: none; }
.main-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }

.header-cta {
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { background: var(--forest); }

@media (min-width: 840px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .main-nav .nav-cta { display: none; }
  .header-inner > .header-cta { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-md);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-hover); }
.btn-secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ---------- Hero with live poster ---------- */
.hero { padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 5vw, 64px); }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 440px; gap: 72px; }
}
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 4.8rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 11ch;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: clamp(1.1rem, 1.7vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

.poster { margin: 0; }
.poster-sheet {
  position: relative;
  background: var(--paper);
  border: 1px solid #d6ccb4;
  border-radius: 2px;
  padding: clamp(20px, 3vw, 30px);
  padding-bottom: clamp(190px, 58vw, 250px);
  background: #fbf1d9 url("images/poster-bg-800w.webp") center bottom / cover no-repeat;
  box-shadow: 0 2px 3px rgba(60, 40, 10, 0.07), 0 30px 54px -28px rgba(60, 40, 10, 0.38);
}
@media (min-width: 900px) { .poster-sheet { padding-bottom: 250px; } }
.poster-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}
.poster-head svg { width: 34px; height: 34px; flex-shrink: 0; }
.poster-head b { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.1; }
.poster-head span { display: block; font-size: 0.8rem; color: var(--ink-soft); }
.poster-list { list-style: none; margin: 0; padding: 0; }
.poster-row {
  --ico: 44px; --bw: 1.5px; --pad: 11px; --nm: 1.02rem;
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
  padding: var(--pad) 8px var(--pad) 12px;
  border-left: var(--bw) solid var(--ink);
  background: rgba(255, 253, 247, 0.72);
}
.poster-row[data-cadence="weekly"]  { --ico: 80px; --bw: 8px;  --pad: 18px; --nm: 1.5rem; }
.poster-row[data-cadence="monthly"] { --ico: 58px; --bw: 4px;  --pad: 13px; --nm: 1.12rem; }
.poster-row[data-cadence="yearly"]  { --ico: 62px; --bw: 5px;  --pad: 14px; --nm: 1.18rem; }
.poster-ico { display: flex; align-items: center; justify-content: center; }
.poster-ico .ico-box { --ico-size: var(--ico); }
.poster-main { min-width: 0; padding-right: 34px; }
.poster-name { font-family: var(--serif); font-size: var(--nm); font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.poster-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 5px 0 6px; }
.poster-tag { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.poster-count { font-size: 0.72rem; color: var(--ink-soft); }
.poster-note-text { display: block; font-family: var(--serif); font-style: italic; font-size: 0.82rem; line-height: 1.3; color: var(--ink-soft); overflow-wrap: anywhere; }
.poster-line { display: block; height: 17px; border-bottom: 1px solid #b9ae95; }
.poster-edit {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 44px;
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.poster-edit:hover { color: var(--gold-text); }
.poster-more { margin-top: 10px; padding: 8px 12px; font-size: 0.85rem; color: var(--ink-soft); }
.poster-foot {
  margin: 22px 0 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.poster-flag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px dashed #b9ae95;
  padding: 2px 8px;
}
.poster-flag[hidden] { display: none; }
.poster-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 22px;
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--border); }
.section-tight { padding: clamp(36px, 5vw, 56px) 0; }
.section-dim { background: var(--cream-dim); }

.section-head { max-width: 52ch; margin: 0 0 40px; }
.section-head.center { margin-inline: 0; text-align: left; }
.section h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.section-head p { color: var(--ink-soft); font-size: 1.1rem; margin: 0; }

/* ---------- Principles (plain columns) ---------- */
.principles {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 760px) {
  .principles { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
.principles li {
  padding: 22px 0;
  border-top: 2px solid var(--ink);
}
.principles .num {
  display: block;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold-text);
  margin-bottom: 10px;
}
.principles h2 {
  font-size: 1.4rem !important;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.principles p { margin: 0; color: var(--ink-soft); }
.points-more { margin: 26px 0 0; font-weight: 700; }

/* ---------- Tracker ---------- */
.tracker-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: start; }
@media (min-width: 900px) {
  .tracker-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; }
}
.tracker-layout .section-head { margin: 0; }
.quiz-open-btn { margin-top: 24px; }

.tracker-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3.5vw, 30px);
}
.tracker-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.tracker-card-head .btn { flex-shrink: 0; }
.tracker-title { font-size: 1.45rem; margin-bottom: 4px; }
.tracker-sub { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

.cairn-form { display: grid; gap: 12px; margin-bottom: 22px; }
.field-row { display: grid; gap: 12px; }
@media (min-width: 520px) {
  .field-row { grid-template-columns: 2fr 1fr; }
}
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.field input[type="text"],
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: var(--cream);
  color: var(--ink);
  font-family: inherit;
}
.field input[type="text"]:focus,
.field select:focus { border-color: var(--forest); }

.form-error { color: #a4332a; font-size: 0.85rem; margin: 0; }
.form-error:empty { display: none; }

.cairn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cairn-item {
  border: 1px solid var(--border);
  border-left: 3px solid var(--cadence-color, var(--forest));
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  background: var(--cream);
}
.cairn-item[data-cadence="daily"]   { --cadence-color: #8f887a; }
.cairn-item[data-cadence="weekly"]  { --cadence-color: #2f5a4f; }
.cairn-item[data-cadence="monthly"] { --cadence-color: #b07a22; }
.cairn-item[data-cadence="yearly"]  { --cadence-color: #6b4a2a; }

.cairn-item-top {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.cairn-item-name { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; overflow-wrap: anywhere; }
.cairn-cadence-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-text);
  margin-top: 2px;
}
.cairn-item-actions { display: flex; gap: 8px; flex-shrink: 0; }
.icon-btn {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--paper);
  cursor: pointer;
  font-size: 1rem;
  color: var(--ink-soft);
}
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }
.icon-btn.checked { background: var(--ink); border-color: var(--ink); color: #fff; }
.cairn-structure-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 96px;
  flex-shrink: 0;
}
.cairn-item[data-cadence="daily"]   .cairn-art { width: 44%; }
.cairn-item[data-cadence="weekly"]  .cairn-art { width: 62%; }
.cairn-item[data-cadence="monthly"] .cairn-art { width: 81%; }
.cairn-item[data-cadence="yearly"]  .cairn-art { width: 100%; }
.cairn-art {
  width: 100%;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}
.cairn-art img { display: block; height: auto; max-width: none; filter: drop-shadow(0 2px 3px rgba(40, 30, 10, 0.25)); }
.cairn-art img.is-empty { opacity: 0.28; filter: grayscale(1); }
.cairn-meta { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.cairn-links { display: flex; flex-wrap: wrap; gap: 2px 16px; margin-top: 6px; }
.cairn-links .text-btn { font-size: 0.85rem; }
.streak-count { font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }
.streak-overflow { font-size: 0.8rem; font-weight: 700; color: var(--gold-text); }
.empty-state {
  color: var(--ink-soft);
  padding: 26px 10px;
  text-align: center;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Guide page ---------- */
.guide-intro { padding-bottom: 0; border-top: 0; }
.guide-intro h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.guide-cta { margin: 36px 0 0; }

.mindset-grid { display: grid; gap: 0; max-width: 880px; }
@media (min-width: 680px) {
  .mindset-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.mindset-card { padding: 22px 0; border-top: 2px solid var(--border); }
.mindset-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.mindset-card p { margin: 0; color: var(--ink-soft); }
.mindset-card.is-old h3 { color: var(--ink-soft); }
.mindset-card.is-new { border-top-color: var(--ink); }
.idea-note { max-width: 52ch; margin: 28px 0 0; font-size: 1.1rem; color: var(--ink-soft); }
.idea-note strong { color: var(--ink); }

.between-grid { display: grid; gap: 0; }
@media (min-width: 680px) {
  .between-grid { grid-template-columns: 1fr 1fr; gap: 0 40px; }
}
.between-grid.between-wide { max-width: none; }
@media (min-width: 900px) {
  .between-grid.between-wide { grid-template-columns: repeat(3, 1fr); }
}
.between-card { padding: 20px 0; border-top: 1px solid var(--border); }
.between-cairn { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; margin-bottom: 6px; }
.between-card p { margin: 0; color: var(--ink-soft); }

.levels-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
@media (min-width: 760px) {
  .levels-grid { grid-template-columns: repeat(4, 1fr); }
}
.level-card { padding: 20px 0; border-top: 2px solid var(--ink); }
.level-card strong { display: block; font-family: var(--serif); font-size: 1.2rem; margin-bottom: 2px; }
.level-card span { color: var(--ink-soft); font-size: 0.92rem; }

.photo-feature { display: grid; gap: 32px; align-items: center; }
@media (min-width: 760px) {
  .photo-feature { grid-template-columns: 0.8fr 1fr; gap: 72px; }
}
.photo-feature-copy p { color: var(--ink-soft); font-size: 1.1rem; max-width: 40ch; margin: 0; }

.steps-grid { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
.step-card { padding: 22px 0; border-top: 2px solid var(--ink); }
.step-num {
  display: block;
  font-family: var(--serif);
  color: var(--gold-text);
  margin-bottom: 10px;
}
.step-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.step-card p { color: var(--ink-soft); margin: 0; }

/* ---------- About page ---------- */
.about-content > * { max-width: 680px; }
.about-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}
.story-card p { color: var(--ink); font-size: 1.15rem; line-height: 1.65; margin: 0; }
.story-card p + p { margin-top: 18px; }
.story-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem !important;
  line-height: 1.3 !important;
  margin-top: 30px !important;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}
.about-cta { margin-top: 32px; }
.about-page .section { border-top: 0; }

/* ---------- Campaign ---------- */
.campaign-steps { margin-top: 40px; max-width: 880px; }
.campaign-steps .step-card h2 { font-size: 1.3rem !important; letter-spacing: -0.01em; margin-bottom: 6px; }
.support-box {
  margin-top: 44px;
  padding: 24px 26px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
}
.support-box h2 { font-size: 1.35rem; margin-bottom: 10px; }
.support-box p { margin: 0 0 10px; color: var(--ink-soft); }
.support-box p:last-child { margin-bottom: 0; }
.disclaimer { margin: 28px 0 0; font-size: 0.82rem; color: var(--ink-soft); max-width: 60ch; }
.cause-inner { display: grid; gap: 22px; align-items: center; }
@media (min-width: 760px) {
  .cause-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 56px; }
}
.cause h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); margin-bottom: 8px; }
.cause p { margin: 0; color: var(--ink-soft); max-width: 52ch; }

/* ---------- Scenes ---------- */
.scene-band { border-top: 1px solid var(--border); }
.scene-band img {
  width: 100%;
  height: clamp(240px, 36vw, 460px);
  object-fit: cover;
  object-position: 70% 66%;
}
.about-banner img {
  width: 100%;
  height: clamp(220px, 30vw, 380px);
  object-fit: cover;
  object-position: 50% 52%;
}
.about-banner { border-bottom: 1px solid var(--border); }
.about-banner + main .section { padding-top: clamp(40px, 6vw, 64px); }
.painted-cairn { width: 100%; max-width: 380px; height: auto; margin: 0 auto; filter: drop-shadow(0 8px 10px rgba(40, 30, 10, 0.25)); }
.level-art { width: 96px; height: 104px; object-fit: contain; object-position: left bottom; margin: 0 0 10px; display: block; filter: drop-shadow(0 2px 3px rgba(40, 30, 10, 0.25)); }
.campaign-head { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.campaign-head h1 { margin: 0; }
.campaign-icon { width: 92px; height: auto; flex-shrink: 0; filter: drop-shadow(0 4px 5px rgba(40, 30, 10, 0.25)); }
@media (max-width: 520px) { .campaign-icon { width: 64px; } }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 2px solid var(--ink);
  color: var(--ink-soft);
  padding: 32px 0 26px;
  font-size: 0.9rem;
}
.footer-inner { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 640px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  min-height: 44px;
}
.footer-brand .brand-mark { width: 24px; height: 24px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.footer-links a { color: var(--ink-soft); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-note { margin-top: 12px; font-size: 0.8rem; }
.footer-note p { margin: 0 0 4px; }
.footer-note a { color: var(--ink-soft); }

.sr-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Questionnaire modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(29, 38, 35, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px -24px rgba(29, 38, 35, 0.5);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
}
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.modal-head h2 { margin: 0; font-size: 1.45rem; }
.quiz-step { border: none; padding: 0; margin: 0 0 22px; }
.quiz-step legend { font-weight: 700; font-size: 0.98rem; margin-bottom: 10px; padding: 0; }
.quiz-options { display: grid; gap: 8px; }
.quiz-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.95rem;
}
.quiz-option:has(input:checked) { border-color: var(--ink); background: var(--cream); }
.quiz-option input { accent-color: var(--ink); width: 18px; height: 18px; flex-shrink: 0; }
.quiz-caveat {
  color: var(--ink-soft);
  font-size: 0.92rem;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin: 4px 0 16px;
}

/* ---------- Icons, weight bars, small bits ---------- */
.ico-box {
  --ico-size: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--ico-size);
  height: var(--ico-size);
  flex-shrink: 0;
}
.ico-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px rgba(40, 30, 10, 0.25));
}
.ico-sm { --ico-size: 34px; }
.ico-md { --ico-size: 52px; }

.weight { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; vertical-align: middle; }
.weight i {
  display: block;
  width: 7px;
  border: 1.2px solid var(--ink-soft);
  border-radius: 1px;
  background: transparent;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
.weight i:nth-child(1) { height: 5px; }
.weight i:nth-child(2) { height: 8px; }
.weight i:nth-child(3) { height: 11px; }
.weight i:nth-child(4) { height: 14px; }
.weight i.on { background: var(--ink); border-color: var(--ink); }

.cairn-item-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cairn-item-titles { min-width: 0; }
.cairn-item-pills { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 3px; }
.cairn-item-pills .cairn-cadence-pill { margin-top: 0; }

.field-hint { margin: 0; font-size: 0.8rem; color: var(--ink-soft); }
.field-count { float: right; font-size: 0.75rem; font-weight: 500; color: var(--ink-soft); }
.field-opt { font-weight: 500; color: var(--ink-soft); }
.cairn-form .field-hint { margin-top: -2px; }

/* ---------- Dialogs: editor and questionnaire ---------- */
.modal-wide { max-width: 560px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.modal-actions .btn-primary { margin-left: auto; }
.modal-actions .btn-primary:only-child { margin-left: 0; width: 100%; }
#edit-form .field { margin-bottom: 14px; }
#edit-form .field input[type="text"],
#edit-form .field select,
.quiz-specific input,
.review-fields input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: var(--cream);
  color: var(--ink);
  font-family: inherit;
}
#edit-form .field input:focus, #edit-form .field select:focus,
.quiz-specific input:focus, .review-fields input:focus { border-color: var(--forest); }
.field label { display: block; }

.icon-picker { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.icon-picker legend { font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); padding: 0; margin-bottom: 8px; }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 6px; max-height: 210px; overflow-y: auto; padding: 2px; }
.icon-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--paper);
  cursor: pointer;
}
.icon-option .ico-box { --ico-size: 36px; }
.icon-option input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.icon-option:hover { border-color: var(--ink-soft); }
.icon-option:has(input:checked) { border-color: var(--ink); background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--ink); }
.icon-option:focus-within { outline: 3px solid var(--focus); outline-offset: 1px; }
.icon-option.is-used { opacity: 0.32; cursor: not-allowed; background: var(--cream-dim); }
.icon-option.is-used input { cursor: not-allowed; }
.icon-option.is-used .ico-box img { filter: grayscale(1); }

.quiz-progress { margin: 0 0 10px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.quiz-intro { margin: 0 0 14px; color: var(--ink-soft); }
.quiz-option .ico-box { --ico-size: 34px; }
.quiz-specific { margin: 4px 0 6px; }
.quiz-specific.is-off { opacity: 0.45; }
.review-list { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 10px; }
.review-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 12px 10px 10px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--cream);
}
.review-item[data-cadence="daily"]   { border-left-width: 1.5px; }
.review-item[data-cadence="weekly"]  { border-left-width: 3px; }
.review-item[data-cadence="monthly"] { border-left-width: 5px; }
.review-item[data-cadence="yearly"]  { border-left-width: 8px; }
.review-label { display: flex; align-items: center; gap: 8px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 4px; }
.review-note { margin: 4px 0 0; font-size: 0.8rem; font-style: italic; color: var(--ink-soft); }
body.modal-open { overflow: hidden; }

/* ---------- Research on the Guide page ---------- */
.evidence-grid { display: grid; gap: 0 40px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) { .evidence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .evidence-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.evidence { padding: 22px 0 28px; border-top: 2px solid var(--ink); }
.evidence-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.evidence-stat {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.evidence h3 { font-size: 1.2rem; margin-bottom: 8px; }
.evidence p { margin: 0 0 10px; color: var(--ink-soft); font-size: 0.97rem; }
.evidence .evidence-do { color: var(--ink); font-size: 0.95rem; padding-left: 12px; border-left: 3px solid var(--gold); }
.evidence .evidence-src { font-size: 0.8rem; margin-bottom: 0; }
.evidence .evidence-src a { color: var(--ink-soft); }
.evidence-note { margin: 28px 0 0; max-width: 62ch; font-size: 0.88rem; color: var(--ink-soft); }
.points-sep { margin: 0 6px; color: var(--ink-soft); }

/* ---------- Countdown, calendar, "how was it?" ---------- */
.btn[hidden] { display: none; }
.text-btn {
  border: 0;
  background: transparent;
  padding: 0 4px;
  min-height: 44px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  text-align: left;
}
.text-btn:hover { color: var(--gold-text); }
.poster-next { font-size: 0.74rem; font-weight: 700; color: var(--ink); }
.poster-best { margin-top: 4px; font-family: var(--serif); font-style: italic; font-size: 0.8rem; color: var(--gold-text); overflow-wrap: anywhere; }
.cairn-when { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.cairn-last { font-size: 0.8rem; color: var(--ink-soft); overflow-wrap: anywhere; }

.how-prompt {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 2px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.how-q { font-weight: 700; font-size: 0.9rem; }
.rate-row { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.rate-btn {
  min-height: 44px;
  min-width: 64px;
  padding: 0 14px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.rate-btn:hover { background: var(--ink); color: #fff; }
.how-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; }
.how-note input {
  flex: 1 1 220px;
  min-height: 44px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--cream);
  color: var(--ink);
}
.how-note input:focus { border-color: var(--forest); }

.sched-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 14px; }
.sched-field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.sched-field select,
.sched-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--cream);
  color: var(--ink);
}
.sched-field select:focus,
.sched-field input:focus { border-color: var(--forest); }
.review-when { margin-top: 6px; }
.review-when summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-size: 0.8rem; font-weight: 700; }
.review-when .sched-fields { margin: 4px 0 6px; }

/* ---------- Dictionary-style definition ---------- */
.def {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin: 0 0 30px;
  font-family: var(--serif);
  color: var(--ink-soft);
}
.def b { font-size: 1.7rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.def-say, .def i { font-size: 1rem; }
.def-line { flex-basis: 100%; font-size: 1.1rem; color: var(--ink); }
.section-head p.def { justify-content: flex-start; margin-bottom: 26px; font-size: 1rem; }

/* ---------- Almanac ---------- */
a.text-btn { display: inline-flex; align-items: center; text-decoration: underline; }
.coming-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; }
@media (min-width: 760px) { .coming-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.coming-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
.coming-row strong { display: block; font-family: var(--serif); font-size: 1.15rem; }
.coming-row a { color: var(--ink); text-decoration: none; }
.coming-row a:hover { text-decoration: underline; }
.coming-when { display: block; font-size: 0.88rem; color: var(--ink-soft); }
.alm-jump { display: flex; flex-wrap: wrap; gap: 6px 4px; margin: 0 0 8px; }
.alm-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
.alm-jump a:hover { border-color: var(--ink); }
.alm-month { padding: 40px 0 8px; scroll-margin-top: 80px; }
.alm-month h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); margin-bottom: 14px; padding-top: 14px; border-top: 2px solid var(--ink); }
.alm-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; }
@media (min-width: 760px) { .alm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.alm-item { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--border); scroll-margin-top: 90px; }
.alm-item:target { background: rgba(210, 149, 48, 0.1); }
.alm-item .ico-box { --ico-size: 56px; }
.alm-body { min-width: 0; }
.alm-body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.alm-when { margin: 0 0 6px; font-size: 0.85rem; font-weight: 600; color: var(--gold-text); }
.alm-next { color: var(--ink); font-weight: 700; }
.alm-blurb { margin: 0 0 4px; color: var(--ink-soft); font-size: 0.97rem; }
.alm-actions { margin: 0; display: flex; flex-wrap: wrap; gap: 0 14px; }

/* ---------- Quiz page ---------- */
.audit-wrap { max-width: 760px; }
.audit-q { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin: 4px 0 6px; }
.audit-sub { margin: 0 0 22px; color: var(--ink-soft); }
.audit-group { border: 0; border-top: 2px solid var(--ink); padding: 14px 0 20px; margin: 0 0 6px; min-width: 0; }
.audit-group legend { padding: 0 10px 0 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 6px 14px 6px 8px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}
.chip:hover { border-color: var(--ink-soft); }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip .ico-box { --ico-size: 30px; }
.audit-else { margin-top: 12px; max-width: 320px; }
.audit-else input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--cream);
  color: var(--ink);
}
.feel-list, .result-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 12px; }
.feel-item, .result-row {
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 4px solid var(--ink);
  border-radius: var(--radius-sm);
}
.feel-item[data-cadence="daily"], .result-row[data-cadence="daily"] { border-left-width: 1.5px; }
.feel-item[data-cadence="weekly"], .result-row[data-cadence="weekly"] { border-left-width: 3px; }
.feel-item[data-cadence="monthly"], .result-row[data-cadence="monthly"] { border-left-width: 5px; }
.feel-item[data-cadence="yearly"], .result-row[data-cadence="yearly"] { border-left-width: 8px; }
.feel-top { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.result-row { display: flex; align-items: center; gap: 14px; }
.feel-name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; overflow-wrap: anywhere; }
.feel-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 3px; }
.feel-tag { font-size: 0.8rem; font-weight: 700; }
.feel-better { color: #2f5a4f; }
.feel-same { color: var(--ink-soft); }
.feel-worse { color: #8a4a1f; }
.insights { margin: 18px 0; padding: 14px 18px; background: var(--paper); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); }
.insights p { margin: 0 0 8px; color: var(--ink); }
.insights .insights-src { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.swaps { margin-top: 10px; }
.quiz-option.swap { align-items: flex-start; }
.swap-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.swap-meta { font-size: 0.85rem; color: var(--ink-soft); }
.audit-note { font-size: 0.88rem; color: var(--ink-soft); margin: 14px 0 0; }
.audit-actions { margin-top: 14px; }
.audit-actions .btn-primary { margin-left: auto; }
.audit-app > .text-btn { margin-top: 10px; }

/* ---------- The shared cairn ---------- */
.shared[hidden] { display: none; }
.shared-inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 760px) { .shared-inner { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; justify-content: center; max-width: 760px; } }
.shared-art { display: flex; justify-content: center; align-items: flex-end; min-height: 160px; }
.shared-art .cairn-art { width: 190px; }
.cairn-art img.is-new { animation: stone-drop 0.7s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
@keyframes stone-drop {
  from { translate: 0 -90px; opacity: 0; }
  to { translate: 0 0; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .cairn-art img.is-new { animation: none; } }
.shared-counts { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 10px; }
.shared-counts strong { font-weight: 700; }
.shared-copy p { color: var(--ink-soft); max-width: 46ch; }
.shared-copy .shared-counts { color: var(--ink); }

/* ---------- Share dialog ---------- */
.share-modal { max-width: 640px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg .quiz-option { flex: 1 1 auto; }
.share-pick { margin-top: 10px; }
.share-pick select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--cream);
  color: var(--ink);
}
.share-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px;
  margin: 4px 0 4px;
  background: var(--cream-dim);
  border-radius: var(--radius-md);
  min-height: 160px;
}
.share-preview canvas {
  display: block;
  max-width: 100%;
  max-height: 52vh;
  width: auto;
  height: auto;
  box-shadow: 0 2px 4px rgba(60, 40, 10, 0.1), 0 18px 36px -18px rgba(60, 40, 10, 0.4);
}
.share-preview[aria-busy="true"] canvas { opacity: 0.4; }
.share-actions .btn-primary { margin-left: 0; width: auto; }
.share-status { min-height: 1.3em; margin: 10px 0 0; font-size: 0.88rem; font-weight: 700; }
.share-note { margin: 2px 0 0; font-size: 0.8rem; color: var(--ink-soft); }
.about-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Printable cairn poster ---------- */
.print-area { display: none; }

@media print {
  @page { margin: 0.45in; }
  body { background: #fff !important; }
  body::after { display: none; }
  body > *:not(.print-area) { display: none !important; }
  .print-area { display: block; background: #fff; color: #1d2623; }
  .print-area * { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .print-header { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid #1d2623; padding-bottom: 12px; }
  .print-header svg { width: 42px; height: 42px; }
  .print-header h1 { font-family: Georgia, serif; font-size: 2rem; margin: 0; line-height: 1.05; }
  .print-header p { margin: 2px 0 0; font-size: 0.95rem; color: #3c4a45; }
  .print-list { list-style: none; margin: 8px 0 0; padding: 0; }
  .print-row {
    --pico: 40px; --pbw: 1.5px; --ppad: 8px; --pnm: 1rem;
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 12px;
    align-items: center;
    padding: var(--ppad) 6px var(--ppad) 12px;
    border-left: var(--pbw) solid #1d2623;
    border-bottom: 0.5px solid #c9c3b3;
    break-inside: avoid;
  }
  .print-row[data-cadence="weekly"]  { --pico: 48px; --pbw: 3px; --ppad: 10px; --pnm: 1.12rem; }
  .print-row[data-cadence="monthly"] { --pico: 58px; --pbw: 5px; --ppad: 12px; --pnm: 1.28rem; }
  .print-row[data-cadence="yearly"]  { --pico: 70px; --pbw: 8px; --ppad: 14px; --pnm: 1.48rem; }
  .print-ico { display: flex; align-items: center; justify-content: center; }
  .print-ico .ico-box { --ico-size: var(--pico); }
  .print-name { font-family: Georgia, serif; font-weight: 700; font-size: var(--pnm); line-height: 1.15; overflow-wrap: anywhere; }
  .print-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 4px 0 4px; }
  .print-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
  .print-count { font-size: 0.75rem; color: #3c4a45; }
  .print-when { font-size: 0.78rem; font-weight: 700; }
  .print-note-text { display: block; font-family: Georgia, serif; font-style: italic; font-size: 0.9rem; color: #3c4a45; }
  .print-line { display: block; height: 20px; border-bottom: 1px solid #8a8577; }
  .print-empty { margin: 20px 0; font-size: 1.1rem; }
  .print-footer { margin: 14px 0 8px; text-align: center; font-family: Georgia, serif; font-style: italic; font-size: 1.05rem; }
  .print-band { display: block; width: 100%; height: 1.6in; object-fit: cover; object-position: center bottom; }
  .print-area svg { overflow: visible; }
}

/* ---------- First run, poster status ---------- */
.first-run { padding: 6px 0 14px; }
.first-run h3 { font-family: var(--serif); font-size: 1.25rem; margin: 0 0 6px; }
.first-run p { color: var(--ink-soft); margin: 0 0 16px; max-width: 44ch; }
.first-run .text-btn { margin-left: 14px; }
.poster-status { margin: 10px 0 0; font-size: 0.9rem; color: var(--ink-soft); max-width: 46ch; }
.poster-status:empty { display: none; }

/* ---------- Almanac season banners ---------- */
.alm-season { position: relative; margin: 56px 0 0; height: clamp(150px, 24vw, 250px); overflow: hidden; border-radius: 2px; box-shadow: 0 24px 40px -30px rgba(60, 40, 10, 0.5); }
.alm-season img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; display: block; }
.alm-season figcaption {
  position: absolute; left: 18px; bottom: 14px;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: #fff;
  padding: 3px 12px; background: rgba(29, 38, 35, 0.62); border-radius: 2px; letter-spacing: 0.02em;
}
.alm-season + .alm-month { padding-top: 24px; }

.footer-help { margin: 0 0 6px; font-size: 0.92rem; color: var(--ink-soft); }
.footer-help a { color: var(--ink); }

/* ---------- Weekly-first ---------- */
.hero-note { color: var(--ink-soft); max-width: 40ch; margin: -14px 0 28px; font-size: 1rem; }
.summit-field { display: block; margin-top: 18px; max-width: 420px; }
.summit-field span { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; }
.summit-field em { font-style: normal; font-weight: 500; color: var(--ink-soft); }
.summit-field input { width: 100%; }
.poster-solo .poster-name { font-size: 1.5rem; line-height: 1.15; }
.poster-solo .poster-ico { --ico-size: 84px; }
.wk-intro { color: var(--ink-soft); margin: 0 0 14px; }
.wk-tests { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 0.9rem; font-weight: 600; }
.wk-tests li::before { content: "\2713\00a0"; color: var(--gold-text); }
.wk-days { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.wk-day { position: relative; }
.wk-day input { position: absolute; opacity: 0; inset: 0; }
.wk-day span { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--paper); font-weight: 700; cursor: pointer; }
.wk-day input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.wk-day input:focus-visible + span { outline: 3px solid var(--gold-text); outline-offset: 2px; }
.wk-done { text-align: left; }
.wk-done .review-item { margin: 12px 0 18px; }
.wk-links { margin-top: 14px; }
.cairn-move { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.cairn-move select { min-height: 40px; }

.cairn-form[hidden], .first-run[hidden] { display: none; }
.summit-field.field span { font-size: 0.85rem; }

/* ---------- More menu ---------- */
.nav-more { position: relative; }
.nav-more summary {
  list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 6px;
  color: var(--ink-soft); font-weight: 600; font-size: 0.95rem;
}
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary::after { content: "\25BE"; font-size: 0.75em; }
.nav-more summary:hover, .nav-more[open] summary { color: var(--ink); }
@media (min-width: 840px) {
  .main-nav .nav-more-list {
    position: absolute; right: 0; top: calc(100% + 4px); z-index: 40; min-width: 200px;
    flex-direction: column; gap: 0; padding: 6px 0; background: var(--paper);
    border: 1px solid var(--border); box-shadow: 0 18px 30px -18px rgba(60, 40, 10, 0.4);
  }
  .main-nav .nav-more-list a { padding: 0 18px; white-space: nowrap; }
}
.nav-open .nav-more summary { display: none; }
.nav-open .nav-more-list { display: flex; padding: 0; }

/* ---------- Collapsed list, week line ---------- */
.tracker-details { min-width: 0; }
.tracker-toggle {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 0 18px; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600;
}
.tracker-toggle::-webkit-details-marker { display: none; }
.tracker-toggle::after { content: "\25BE"; font-size: 0.8em; transition: transform 0.15s ease; }
.tracker-details[open] > .tracker-toggle::after { transform: rotate(180deg); }
.tracker-details[open] > .tracker-toggle { margin-bottom: 12px; }
.tracker-count { margin-right: auto; font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); font-family: var(--sans, inherit); }
.tracker-count:empty { display: none; }
.poster-week { margin: 14px 0 0; max-width: 46ch; font-size: 0.98rem; color: var(--ink-soft); }
.poster-week strong { color: var(--ink); }
.poster-week .text-btn { margin-left: 6px; }
.audit-weekly { margin: 22px 0; padding: 18px 20px; background: var(--paper); border: 1px solid var(--border); border-left: 6px solid var(--cadence-color, var(--forest)); border-radius: var(--radius-sm); display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.audit-weekly h3 { font-size: 1.25rem; margin: 0 0 4px; }
.audit-weekly p { margin: 0; color: var(--ink-soft); }
.audit-weekly .btn { margin-left: auto; }
.nav-open .nav-more-list li:last-child { padding-top: 0; border-bottom: 1px solid var(--border); }

/* ---------- Landing: why weekly ---------- */
.why-inner { display: grid; gap: 22px; align-items: center; }
@media (min-width: 760px) { .why-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 56px; } }
.why-inner h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin-bottom: 10px; }
.why-inner p { color: var(--ink-soft); max-width: 52ch; margin: 0; }

.list-tools { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 14px 0 0; }

/* ---------- Walk your week ---------- */
.quiz-options.wk-scenes { display: grid; gap: 10px; }
@media (min-width: 560px) { .quiz-options.wk-scenes { grid-template-columns: 1fr 1fr; } }
.wk-scene { align-items: center; }
.wk-scene-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wk-scene-text strong { font-family: var(--serif); font-size: 1.02rem; line-height: 1.2; }
.wk-scene-text small { color: var(--ink-soft); font-size: 0.82rem; }
.wk-week { margin: 6px 0 4px; }
.wk-profile { width: 100%; height: auto; display: block; margin-bottom: 6px; }
.wk-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.wk-col { padding: 0 4px; display: flex; flex-direction: column; }
.wk-levels { display: flex; flex-direction: column; gap: 3px; }
.wk-cell { height: 30px; border: 1px solid var(--border); border-radius: 3px; background: var(--paper); cursor: pointer; padding: 0; }
.wk-cell.on[data-level="1"] { background: #d9e2cf; border-color: #c5d1b6; }
.wk-cell.on[data-level="2"] { background: #bccba4; border-color: #a8b98e; }
.wk-cell.on[data-level="3"] { background: #e5c777; border-color: #d4b25f; }
.wk-cell.on[data-level="4"] { background: #cf9a4a; border-color: #bb8636; }
.wk-cell.on[data-level="5"] { background: #8f6a3a; border-color: #7a5829; }
.wk-cell:hover { border-color: var(--ink); }
.wk-cell:focus-visible, .wk-dayname:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 2px; }
.wk-dayname { margin-top: 8px; min-height: 44px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--paper); font-weight: 700; font-size: 0.85rem; cursor: pointer; }
.wk-dayname[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.wk-suggest { margin: 12px 0 0; min-height: 3em; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Goals (Trail Sheet) ---------- */
.goals-hero { padding-bottom: 28px; }
.goals-hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); max-width: none; margin-bottom: 12px; }
.goals-cairn { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 18px; background: var(--paper); border: 1px solid var(--border); border-left: 5px solid #2f5a4f; border-radius: var(--radius-sm); max-width: 560px; }
.goals-cairn[hidden] { display: none; }
.goals-cairn .ico-box { --ico-size: 56px; flex-shrink: 0; }
.goals-cairn strong { display: block; font-family: var(--serif); font-size: 1.1rem; }
.goals-cairn span { color: var(--ink-soft); font-size: 0.92rem; }
.goals-newweek { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 14px 18px; margin-bottom: 26px; background: #fbf1d9; border: 1px solid #e3cf9b; border-radius: var(--radius-sm); }
.goals-newweek[hidden], .goals-empty[hidden], .goals-report[hidden], #goals-blocks[hidden] { display: none; }
.goals-newweek span { color: var(--ink-soft); }
.goals-empty { padding: 28px; background: var(--paper); border: 1.5px dashed var(--border); border-radius: var(--radius-sm); margin-bottom: 30px; }
.goals-empty h2 { margin-bottom: 8px; }
.goals-empty p { color: var(--ink-soft); max-width: 52ch; margin: 0 0 16px; }
.goals-block { margin: 0 0 44px; }
.goals-block header { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 16px; }
.goals-block h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.goals-list { display: grid; gap: 14px; }
@media (min-width: 900px) { .goals-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.goal-none { color: var(--ink-soft); margin: 0; }
.goal-card { padding: 18px 20px; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-sm); min-width: 0; }
.goal-name { background: none; border: 0; padding: 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; text-align: left; cursor: pointer; color: var(--ink); min-height: 32px; }
.goal-name:hover { text-decoration: underline; }
.goal-why, .goal-plan-line { margin: 2px 0 0; color: var(--ink-soft); font-size: 0.9rem; font-style: italic; }
.goal-note { margin: 10px 0 0; color: var(--ink-soft); font-size: 0.92rem; }
.goal-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.goal-controls input { width: 8rem; min-height: 40px; padding: 0 10px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font: inherit; background: var(--cream); }
.week-stones { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.week-cell { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.day-stone { width: 100%; max-width: 56px; aspect-ratio: 4 / 3; border-radius: 46% 54% 50% 50% / 56% 52% 48% 44%; border: 2px dashed #c9bfa6; background: transparent center / contain no-repeat; color: var(--ink-soft); font-weight: 700; font-size: 0.85rem; cursor: pointer; padding: 0; }
.day-stone.done { border: 0; filter: drop-shadow(0 2px 2px rgba(40, 30, 10, 0.3)); }
.day-stone.part { border-style: solid; border-color: #d29530; }
.day-stone.today:not(.done) { border-color: var(--ink); }
.day-stone:disabled { opacity: 0.35; cursor: default; }
.day-stone:focus-visible, .goal-name:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 2px; }
.day-letter { font-size: 0.75rem; font-weight: 700; color: var(--ink-soft); }
.trail-strip { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 12px 8px; background: linear-gradient(transparent 46%, #d9c9a2 46%, #d9c9a2 54%, transparent 54%); }
.step-stone { flex: 1 1 0; max-width: 56px; aspect-ratio: 4 / 3; border-radius: 46% 54% 50% 50% / 56% 52% 48% 44%; border: 2px dashed #c9bfa6; background: var(--paper) center / contain no-repeat; }
.step-stone.done { border: 0; background-color: transparent; filter: drop-shadow(0 2px 2px rgba(40, 30, 10, 0.3)); }
.trail-end { flex: 0 0 auto; margin-left: auto; padding: 4px; border-radius: 50%; opacity: 0.55; }
.trail-end .ico-box { --ico-size: 54px; }
.trail-end.lit { opacity: 1; box-shadow: 0 0 0 6px rgba(210, 149, 48, 0.2), 0 0 22px 6px rgba(210, 149, 48, 0.35); }
.goal-bar { height: 12px; background: #e9dfc7; border-radius: 6px; overflow: hidden; margin-top: 16px; }
.goal-bar span { display: block; height: 100%; background: linear-gradient(90deg, #8f6a3a, #d29530); border-radius: 6px; }
.month-dots { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 16px; }
.mdot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #c9bfa6; }
.mdot.on { background: #8f6a3a; border-color: #8f6a3a; }
.mdot.today { outline: 2px solid var(--ink); outline-offset: 2px; }
.summit-map .flag.lit { fill: #f0b84a; }
.goals-report { margin: 12px 0 28px; padding: 22px 24px; background: #fbf1d9; border: 1px solid #e3cf9b; border-radius: var(--radius-sm); }
.goals-report h2 { margin-bottom: 8px; font-size: 1.6rem; }
.goals-walked { font-weight: 700; margin: 0 0 6px; }
.goals-insight { margin: 0; color: var(--ink-soft); max-width: 62ch; }
.goals-links { margin: 18px 0 0; }
.goal-form { display: grid; gap: 14px; padding: 4px 2px 8px; }
.goal-form .field input[type="number"], .goal-form .field select, .goal-form .field input[type="text"] { width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 1rem; background: var(--cream); font-family: inherit; color: var(--ink); }
.goal-form [hidden] { display: none; }
.goal-dir { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.goal-dir legend { font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; }
.goal-plan summary { cursor: pointer; font-weight: 700; margin-bottom: 8px; }
.goal-plan .field { margin-top: 10px; }

/* ---------- Goals: painted art ---------- */
.goals-hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .goals-hero-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; } }
.goals-hero-art { width: 100%; max-width: 340px; height: auto; border-radius: 2px; box-shadow: 0 24px 40px -26px rgba(60, 40, 10, 0.55); justify-self: start; }
.goals-newweek img { width: 56px; height: auto; flex-shrink: 0; }
.goals-newweek { justify-content: flex-start; }
.goals-newweek .btn { margin-left: auto; }
.goals-newweek-text { display: flex; flex-direction: column; flex: 1 1 200px; }
.goals-empty-art { width: 100%; max-height: 260px; object-fit: cover; border-radius: 2px; margin-bottom: 18px; }
.goals-block header > div { display: flex; flex-direction: column; }
.block-flag { width: 44px; height: auto; margin-bottom: 4px; }
.goals-report { position: relative; }
.report-art { position: absolute; right: 18px; top: 10px; width: 92px; height: auto; opacity: 0.95; }
.goal-head { display: flex; align-items: flex-start; gap: 12px; }
.goal-ico { --ico-size: 52px; flex-shrink: 0; }
.goal-head-text { min-width: 0; }
.day-stone { border: 0; background: url("images/goals/day-empty.webp") center / contain no-repeat; opacity: 0.55; border-radius: 0; aspect-ratio: 150 / 131; }
.day-stone.done { background-image: url("images/goals/day-done.webp"); opacity: 1; filter: drop-shadow(0 2px 2px rgba(40, 30, 10, 0.3)); }
.day-stone.gold { background-image: url("images/goals/day-gold.webp"); opacity: 1; filter: drop-shadow(0 2px 3px rgba(150, 100, 20, 0.4)); }
.day-stone.part { background-image: url("images/goals/day-part.webp"); opacity: 1; border: 0; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.6); }
.day-stone.today:not(.done):not(.gold) { opacity: 0.95; filter: drop-shadow(0 0 0 #000) drop-shadow(0 0 4px rgba(210, 149, 48, 0.9)); }
.trail-strip { background: none; padding: 8px 0 0; gap: 0; align-items: flex-end; }
.trail-tile { position: relative; flex: 1 1 0; min-width: 0; max-width: 112px; margin-right: -6px; }
.trail-tile img { width: 100%; height: auto; display: block; }
.trail-tile .tile-stone { position: absolute; left: 22%; width: 56%; bottom: 24%; filter: drop-shadow(0 2px 2px rgba(40, 30, 10, 0.35)); }
.trail-tile.trail-end { flex: 0 0 auto; width: 20%; max-width: 120px; margin: 0 0 0 auto; opacity: 0.8; padding: 0; border-radius: 0; box-shadow: none; }
.trail-tile.trail-end.lit { opacity: 1; filter: drop-shadow(0 0 14px rgba(240, 184, 74, 0.9)); box-shadow: none; }
.trail-caption { margin: 6px 0 0; font-size: 0.82rem; color: var(--ink-soft); text-align: right; }
.goal-monthly { position: relative; }
.month-sign { position: absolute; right: 12px; top: 8px; width: 78px; height: auto; pointer-events: none; }
.goal-monthly .goal-head { padding-right: 84px; }
.goal-summit { display: grid; gap: 16px; }
@media (min-width: 560px) { .goal-summit { grid-template-columns: minmax(0, 1fr) 190px; } }
.summit-map { position: relative; width: 190px; max-width: 100%; justify-self: center; }
.summit-map > img:first-child { width: 100%; height: auto; display: block; border-radius: 2px; }
.summit-marker { position: absolute; width: 17%; height: auto; transform: translate(-50%, -85%); filter: drop-shadow(0 2px 3px rgba(0,0,0,0.45)); }
.summit-marker.lit { filter: drop-shadow(0 0 8px rgba(240, 184, 74, 1)); }

/* ---------- Layers: pop-ups and drawers ---------- */
.sheet { position: fixed; inset: 0; z-index: 310; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(29, 38, 35, 0.5); }
.sheet[hidden] { display: none; }
.sheet-panel { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow-y: auto; background: var(--cream); border-radius: var(--radius-md); padding: 26px 26px 24px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45); animation: sheet-in 0.18s ease-out; }
.sheet-panel h2 { font-size: 1.6rem; margin: 0 40px 10px 0; }
.sheet-panel p { color: var(--ink-soft); }
.sheet-panel .sheet-lead { color: var(--ink); font-size: 1.05rem; }
.sheet-close { position: absolute; top: 14px; right: 14px; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 18px; }
.sheet-list { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.sheet-list .btn { width: 100%; justify-content: flex-start; }
.sheet-drawer { justify-content: flex-end; align-items: stretch; padding: 0; }
.sheet-drawer .sheet-panel { max-width: 520px; height: 100%; max-height: none; border-radius: 0; animation: drawer-in 0.22s ease-out; }
.sheet-wide .sheet-panel { max-width: 760px; }
body.sheet-open { overflow: hidden; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 639px) {
  .sheet { align-items: flex-end; padding: 0; }
  .sheet-panel { max-width: none; max-height: 88vh; border-radius: 18px 18px 0 0; padding: 22px 18px 24px; }
  .sheet-drawer .sheet-panel { max-height: none; height: 100%; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .sheet-panel, .sheet-drawer .sheet-panel { animation: none; } }

/* idea cards that open a pop-up */
.idea-cards { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .idea-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.idea-card { display: flex; flex-direction: column; gap: 6px; width: 100%; text-align: left; padding: 18px 20px; background: var(--paper); border: 1px solid var(--border); border-top: 3px solid var(--ink); border-radius: var(--radius-sm); cursor: pointer; font: inherit; color: inherit; min-height: 96px; }
.idea-card:hover { border-color: var(--ink); }
.idea-card:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 2px; }
.idea-card .num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; color: var(--gold-text); }
.idea-card strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.idea-card span.more { margin-top: auto; font-size: 0.88rem; font-weight: 700; color: var(--ink-soft); }

.modal-overlay, #share-overlay { z-index: 400; }
.sheet-drawer .tracker-card, .sheet-panel .tracker-card { border: 0; background: none; padding: 0; box-shadow: none; }
.sheet-panel .summit-field { margin: 12px 0 14px; max-width: none; }
.sheet-panel .cairn-form { margin-top: 12px; }
.sheet-panel .quiz-open-btn { margin-top: 18px; }

/* ---------- Goals: tiers as tabs ---------- */
.goals-tabbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin: 0 0 22px; }
.goals-tabbar[hidden] { display: none; }
.goals-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.goals-tab { min-height: 44px; padding: 0 18px; border: 1.5px solid var(--border); border-radius: 999px; background: var(--paper); font: inherit; font-weight: 700; color: var(--ink-soft); cursor: pointer; }
.goals-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.goals-tab:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 2px; }
.goals-block[hidden] { display: none; }
.sheet-panel .goals-report { margin: 0; padding: 0; background: none; border: 0; }
.sheet-panel .report-art { position: static; display: block; margin: 0 0 8px; }

/* ---------- Guide hub and research accordion ---------- */
.guide-tiles { grid-template-columns: 1fr; }
@media (min-width: 640px) { .guide-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .guide-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
a.idea-card { text-decoration: none; }
.guide-tiles + .guide-cta { margin-top: 32px; }
.evidence-list { display: grid; gap: 10px; margin-top: 28px; text-align: left; max-width: 760px; margin-inline: auto; }
.evidence-acc { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.evidence-acc summary { display: flex; align-items: center; gap: 14px; cursor: pointer; list-style: none; padding: 12px 16px; min-height: 64px; }
.evidence-acc summary::-webkit-details-marker { display: none; }
.evidence-acc summary::after { content: "\25BE"; margin-left: auto; color: var(--ink-soft); }
.evidence-acc[open] summary::after { transform: rotate(180deg); }
.evidence-acc .ico-box { --ico-size: 44px; flex-shrink: 0; }
.acc-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acc-text strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
.acc-body { padding: 0 18px 16px 74px; }
.acc-body p { margin: 0 0 10px; color: var(--ink-soft); }
.acc-body .evidence-do { color: var(--ink); }
@media (max-width: 560px) { .acc-body { padding-left: 18px; } }
.sheet-panel .between-grid, .sheet-panel .levels-grid, .sheet-panel .mindset-grid { margin-top: 14px; }
.sheet-panel .photo-feature { display: block; }
.sheet-panel .photo-feature-media { max-width: 220px; margin: 0 0 12px; }
.sheet-panel .section-head { margin-bottom: 8px; }
.sheet-panel .section-head { margin-top: 24px; }
.sheet-panel .section-head h2 { font-size: 1.3rem; }
.sheet-panel .idea-note { margin: 16px 0 0; }
.sheet-panel .photo-feature-media { max-width: 110px; }
.sheet-panel .photo-feature { margin-top: 20px; }

/* ---------- Almanac: seasons and compact items ---------- */
.alm-tabs { margin-bottom: 8px; }
.alm-panel[hidden] { display: none; }
.alm-panel .alm-season { margin-top: 18px; }
.alm-item.is-compact { cursor: pointer; align-items: center; padding: 12px 6px; border-radius: var(--radius-sm); }
.alm-item.is-compact:hover { background: rgba(210, 149, 48, 0.1); }
.alm-item.is-compact:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 2px; }
.alm-item.is-compact .alm-blurb, .alm-item.is-compact .alm-actions { display: none; }
.alm-item.is-compact .alm-body h3 { font-size: 1.1rem; margin-bottom: 2px; }
.alm-item.is-compact .alm-when { margin: 0; }
.alm-item.is-compact .alm-next { display: block; }
.alm-pop-ico .ico-box { --ico-size: 76px; margin-bottom: 8px; }
.sheet-panel .alm-when { margin: 0 0 10px; font-weight: 700; color: var(--gold-text); }
.alm-month h2 { font-size: 1.4rem; }

/* ---------- The picker (home) ---------- */
.picker-hero { padding: clamp(28px, 4vw, 52px) 0 clamp(36px, 5vw, 64px); }
.picker-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start;
  grid-template-areas: "copy" "poster" "picker"; }
@media (min-width: 940px) {
  .picker-grid { grid-template-columns: minmax(0, 1fr) 440px; column-gap: 64px; row-gap: 22px;
    grid-template-areas: "copy poster" "picker poster"; }
}
.picker-copy { grid-area: copy; }
.picker-poster { grid-area: poster; }
.picker-col { grid-area: picker; min-width: 0; }
.picker-copy h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); max-width: 12ch; margin-bottom: 14px; }
.picker-copy .hero-sub { margin-bottom: 0; }
.picker { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px clamp(16px, 3vw, 26px); box-shadow: 0 18px 36px -28px rgba(60, 40, 10, 0.45); }
.picker .quiz-progress { margin-top: 0; }
.picker .quiz-form { margin: 0; }
.picker .modal-actions { margin-top: 16px; }
.wk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.wk-chip { min-height: 40px; padding: 0 14px; border: 1.5px solid var(--border); border-radius: 999px; background: var(--cream); font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; color: var(--ink); }
.wk-chip:hover { border-color: var(--ink); }
.wk-chip:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 2px; }
.wk-thread { margin: 10px 0 0; padding-left: 12px; border-left: 3px solid #d29530; color: var(--ink-soft); font-size: 0.95rem; }
.wk-thread:empty { display: none; }
.pick-done-title { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 4px 0 10px; }
.pick-done-summit { font-weight: 700; margin: 0 0 6px; }
.pick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pick-more { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; margin: 16px 0 0; }
.pick-summit-form { display: grid; gap: 8px; margin-top: 8px; }
.pick-summit-form label { font-size: 0.85rem; font-weight: 700; }
.pick-summit-form input { min-height: 44px; padding: 0 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font: inherit; background: var(--cream); }
.quick-info { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 4px; }
.quick-info summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; justify-content: space-between; font-weight: 700; list-style: none; }
.quick-info summary::-webkit-details-marker { display: none; }
.quick-info summary::after { content: "\25BE"; color: var(--ink-soft); }
.quick-info[open] summary::after { transform: rotate(180deg); }
.quick-list { margin: 4px 0 8px; padding: 0; list-style: none; display: grid; gap: 10px; }
.quick-list li { color: var(--ink-soft); font-size: 0.97rem; padding-left: 14px; border-left: 3px solid #e3cf9b; }
.quick-list strong { color: var(--ink); }
.quick-more { margin: 6px 0 0; }

/* ---------- Why page ---------- */
.why-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 16ch; }
.why-hero .mindset-grid { margin-top: 26px; }
.pair-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .pair-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pair { display: grid; gap: 8px; align-content: start; padding: 18px 20px; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.pair-cairn { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.pair-cairn img { width: 44px; height: auto; flex-shrink: 0; }
.pair-link { color: var(--gold-text); font-weight: 700; font-size: 1.2rem; line-height: 1; padding-left: 14px; }
.pair-summit { display: inline-block; justify-self: start; padding: 4px 12px; background: #fbf1d9; border: 1px solid #e3cf9b; border-radius: 999px; font-weight: 700; font-size: 0.95rem; }
.pair p { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.95rem; }
.why-cta { margin: 26px 0 0; }
.why-ideas .idea-plain { display: flex; flex-direction: column; gap: 6px; padding: 16px 0 0; border-top: 3px solid var(--ink); color: var(--ink-soft); }
.why-ideas .idea-plain strong { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); font-weight: 600; }
.why-ideas .idea-plain .num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; color: var(--gold-text); }
.why-fazolis-inner { display: grid; gap: 20px; align-items: start; }
@media (min-width: 760px) { .why-fazolis-inner { grid-template-columns: 140px minmax(0, 1fr); gap: 36px; } }
.why-fazolis-img { width: 120px; height: auto; }
.why-fazolis h2 { margin-bottom: 10px; }
.why-fazolis p { color: var(--ink-soft); max-width: 62ch; }
.why-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 18px; }
.why-more { padding-top: 8px; }
.why-more-links { margin: 0; color: var(--ink-soft); }

/* ---------- Two-link header ---------- */
.main-nav { display: block; }
.nav-toggle { display: none; }
.main-nav ul { gap: 22px; }
.main-nav a { font-size: 0.98rem; }
.mindset-card h2 { font-size: 1.2rem; margin-bottom: 8px; }
.mindset-card.is-old h2 { color: var(--ink-soft); }
@media (max-width: 939px) {
  .picker-poster .poster-sheet { padding-bottom: 96px; }
  .picker-poster .poster-foot { display: none; }
  .picker-poster .poster-solo .poster-ico, .picker-poster.poster-solo .poster-ico { --ico-size: 64px; }
}

/* ---------- Day picker ---------- */
.day-pick { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.day-btn { min-height: 56px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--cream); font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
.day-btn:hover { border-color: var(--ink); }
.day-btn.on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.day-btn:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 2px; }
@media (max-width: 420px) { .day-pick { gap: 4px; } .day-btn { font-size: 0.85rem; } }

/* ---------- Two-question picker ---------- */
.pick-scene { grid-area: poster; margin: 0; position: relative; }
.scene-stack { position: relative; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; background: #f1e3c4; box-shadow: 0 24px 44px -28px rgba(60, 40, 10, 0.55); border: 1px solid var(--border); }
.scene-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s ease; }
.scene-img.is-on { opacity: 1; }
.scene-tag { position: absolute; max-width: 46%; padding: 7px 13px; background: rgba(252, 246, 232, 0.94); border: 1px solid #e3cf9b; border-radius: 999px; font-weight: 700; font-size: 0.9rem; line-height: 1.25; color: var(--ink); box-shadow: 0 6px 16px -8px rgba(60, 40, 10, 0.5); }
.scene-tag[hidden] { display: none; }
.scene-tag-cairn { left: 4%; top: 30%; }
.scene-tag-summit { right: 4%; top: 17%; text-align: right; }
@media (max-width: 939px) { .scene-stack { aspect-ratio: 3 / 2; max-height: 240px; } .scene-tag { display: none; } }
.lp-sub { margin: 18px 0 0; font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.picker .quiz-step legend { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.2; margin-bottom: 12px; }
.picker input[type=text] { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font: inherit; font-size: 1.05rem; background: var(--cream); }
.picker input[type=text]:focus { outline: 3px solid var(--gold-text); outline-offset: 1px; }
.beats { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.beat { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; }
.beat-art { position: relative; display: block; padding-top: 46px; }
.beat-art > img { width: 100%; height: auto; display: block; }
.beat-icon { --ico-size: 46px; position: absolute; left: 50%; top: 4px; transform: translateX(-50%); }
.beat-text { display: grid; gap: 3px; }
.beat-text strong { font-family: var(--serif); font-size: 1.1rem; }
.beat-text span { color: var(--ink-soft); font-size: 0.96rem; }
.beat-close { margin: 16px 0 0; font-family: var(--serif); font-size: 1.15rem; font-style: italic; }

/* ---------- Real photos ---------- */
.photo-banner { margin: 0; position: relative; }
.photo-banner img { display: block; width: 100%; height: clamp(200px, 34vw, 400px); object-fit: cover; object-position: center 45%; }
.photo-banner figcaption { position: absolute; left: clamp(16px, 4vw, 48px); bottom: 14px; padding: 6px 14px; background: rgba(252, 246, 232, 0.92); border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.from-trail { display: block; margin: 34px 0 6px; }
.from-trail h2 { display: block; width: auto; font-size: 1.15rem; margin: 0 0 12px; }
.from-trail ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.from-trail img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); }

/* ---------- Guided picking ---------- */
.guide { margin-top: 14px; }
.guide[hidden], .lp-days[hidden] { display: none; }
.guide-q { margin: 0 0 10px; font-weight: 700; font-size: 0.95rem; }
.guide-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 10px; font-weight: 700; font-size: 0.95rem; }
.guide-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.guide-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 88px; padding: 8px 4px; text-align: center; line-height: 1.15; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--cream); font: inherit; font-weight: 700; font-size: 0.95rem; color: var(--ink); cursor: pointer; }
.guide-tile .ico-box { --ico-size: 40px; }
.guide-tile:hover, .guide-opt:hover, .guide-chip:hover { border-color: var(--ink); }
.guide-tile:focus-visible, .guide-opt:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 2px; }
.guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.guide-opt { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 10px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--cream); font: inherit; font-weight: 600; font-size: 0.95rem; text-align: left; color: var(--ink); cursor: pointer; }
.guide-opt .ico-box { --ico-size: 32px; }
.guide-chip { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px 0 8px; }
.ico-xs { --ico-size: 24px; }
.lp-days { margin-top: 4px; }
@media (max-width: 420px) { .guide-tiles { gap: 5px; } .guide-tile { font-size: 0.78rem; } .guide-tile .ico-box { --ico-size: 34px; } .guide-list { grid-template-columns: minmax(0, 1fr); } }

.guide .guide-preview { margin: 8px 0 0; color: var(--ink-soft); font-size: 0.9rem; }
.guide input[type=text] { margin-top: 2px; }
.wk-chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.beat-art > img.beat-item { position: absolute; width: auto; height: auto; filter: drop-shadow(0 2px 2px rgba(40, 30, 10, 0.3)); }

/* ---------- Guided picking, part 2 ---------- */
.guide-tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-edit { margin-top: 12px; display: grid; gap: 4px; }
.guide-edit-label { font-size: 0.85rem; font-weight: 700; }
.guide-note { margin: 0 0 10px; padding-left: 12px; border-left: 3px solid #d29530; color: var(--ink-soft); font-size: 0.92rem; }
.guide-goals { display: grid; gap: 8px; }
.guide-goal { min-height: 48px; padding: 8px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--cream); font: inherit; font-weight: 600; font-size: 0.97rem; text-align: left; color: var(--ink); cursor: pointer; }
.guide-goal:hover { border-color: var(--ink); }
.guide-goal.is-on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.guide-goal:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 2px; }
.guide-preview { display: none; }

.guide-tiles-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-tiles-wide .guide-tile { min-height: 104px; }
.guide-tiles-wide .guide-tile .ico-box { --ico-size: 48px; }
.guide-blurb { font-weight: 500; font-size: 0.82rem; color: var(--ink-soft); }
@media (max-width: 420px) { .guide-tiles-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* goal icon floating over the summit */
.beat-art > img.beat-goal { position: absolute; left: 58%; top: 0; width: 40px; height: 40px; object-fit: contain; transform: translateX(-50%); padding: 3px; background: var(--paper, #fffaf0); border-radius: 50%; box-shadow: 0 2px 6px rgba(40, 30, 10, 0.22); }

/* habits on the result page; the summit goes quiet */
.beat-boot { padding-top: 0; display: grid; place-items: center; }
.beat-boot > img { width: 74px; }
.habit-list { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; gap: 6px; }
.habit-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.habit-text { display: grid; gap: 0; }
.habit-text b { font-weight: 700; color: var(--ink); font-size: 1rem; }
.habit-text small { color: var(--ink-soft); font-size: 0.85rem; }
.habit-remove { font-size: 0.85rem; }
.habit-add { justify-self: start; margin-top: 6px; }
.beat-quiet { opacity: 0.82; }
.beat-quiet .beat-art { width: 72px; }
.beat-quiet { grid-template-columns: 72px minmax(0, 1fr); }
.beat-quiet .beat-text strong { font-size: 0.98rem; }
.beat-quiet .beat-text span { font-size: 0.9rem; }
.beat-quiet .beat-art > img.beat-goal { width: 30px; height: 30px; }
.beat-quiet .beat-art { padding-top: 34px; }
@media (max-width: 480px) {
  .beat-habits { grid-template-columns: 56px minmax(0, 1fr); align-items: start; }
  .beat-boot > img { width: 52px; }
  .habit-item { grid-template-columns: auto minmax(0, 1fr); }
  .habit-remove { grid-column: 2; justify-self: start; }
}

/* ---------- Picker top: small banner, headline, questionnaire; the story sits below ---------- */
.pick-col { max-width: 760px; margin-inline: auto; }
.picker-hero { padding: clamp(18px, 3vw, 32px) 0 clamp(24px, 4vw, 40px); }
.pick-scene { grid-area: auto; }
.pick-scene .scene-stack { aspect-ratio: 16 / 5; max-height: none; border-radius: 12px; }
.pick-scene .scene-img { object-position: 50% 58%; }
.scene-tag { display: none !important; }
.pick-h1 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); margin: 18px 0 16px; max-width: none; }
.picker-story { padding: 4px 0 clamp(36px, 5vw, 64px); }
.picker-story .def { margin: 0 0 10px; }
.picker-story .hero-sub { margin: 0 0 18px; }
@media (max-width: 939px) { .pick-scene .scene-stack { aspect-ratio: 16 / 6; max-height: none; } }
@media (max-width: 520px) { .pick-scene .scene-stack { aspect-ratio: 16 / 7; } }
.picker-hero .pick-h1 { max-width: none; }

/* terse result rows: Cairn / Habit / Summit */
.beat-label { font-family: var(--sans, inherit); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text, #8a6212); }
.beats { gap: 0; }
.beats .beat { padding: 16px 0; }
.beats .beat + .beat { border-top: 1px solid var(--border); }
.beat-text strong { font-size: 1.35rem; line-height: 1.2; }
.beat-quiet .beat-text strong { font-size: 1.1rem; }
.habit-list { margin: 2px 0 0; gap: 10px; }
.habit-text b { display: none; }
.habit-text strong { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; font-weight: 600; }
.habit-add { font-size: 0.88rem; justify-self: start; margin-top: 4px; }
.beat-close { margin-top: 8px; }
.habit-item { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 480px) { .habit-item { grid-template-columns: minmax(0, 1fr); } .habit-remove { grid-column: 1; } }
.beat-text .habit-text { color: var(--ink); font-size: inherit; } .beat-text .habit-text strong { color: var(--ink); }

.pick-done-title.pick-trail { font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.05; margin: 0 0 4px; letter-spacing: -0.01em; }

.pick-trail img { display: block; width: min(100%, 520px); height: auto; margin: 0 0 6px; }
.pick-trail img { width: min(100%, 260px); margin: 0 0 2px; }

/* real logo: emblem in the header, full lockup in the footer */
.brand .brand-mark.brand-emblem { width: auto; height: 38px; }
.footer-lockup { display: block; width: 108px; height: auto; }
.footer-brand { min-height: 0; }
.pick-done-title.pick-trail { text-align: center; } .pick-trail img { margin: 0 auto 6px; }

/* the trail map frame around the result */
.picker:has(.pick-done) { background: none; border: 0; box-shadow: none; padding: 0; }
.pick-done { border: 64px solid transparent; border-image: url("images/trail/frame-map.webp") 150 fill / 64px / 0 stretch; padding: 0 4px 4px; filter: drop-shadow(0 16px 22px rgba(60, 40, 10, 0.18)); }
@media (max-width: 520px) { .pick-done { border-width: 34px; border-image-width: 34px; padding: 0; } }
.trail-divider { display: block; width: min(60%, 250px); height: auto; margin: 0 auto 4px; }
.beats .beat + .beat { border-top: 0; position: relative; padding-top: 58px; }
.beats .beat + .beat::before { content: ""; position: absolute; top: 2px; left: 0; width: 96px; height: 54px; background: url("images/trail/trail-dots.webp") center / contain no-repeat; }
.beats .beat-quiet::before { width: 72px; }
@media (max-width: 480px) { .beats .beat-habits + .beat::before, .beats .beat-habits::before { width: 56px; } }
.beats .beat + .beat { padding-top: 72px; }
.beats .beat + .beat::before { height: 68px; width: 96px; top: 0; }

/* tight result rows (phone first): no connector art, small gaps, a dotted rule between rows */
.beats .beat + .beat::before { content: none; }
.beats .beat { padding: 8px 0; gap: 12px; }
.beats .beat + .beat { padding-top: 10px; border-top: 1px dashed rgba(138, 98, 18, 0.35); }
.beats { margin-top: 4px; }
.beat-art { padding-top: 36px; }
.beat-boot { padding-top: 0; }
.pick-done-title.pick-trail { margin: 0 0 2px; }
.pick-trail img { margin: 0 auto 2px; }
.habit-list { gap: 4px; margin-top: 0; }
.habit-add { margin-top: 0; min-height: 0; }
.habit-remove { min-height: 0; }
.beat-close { margin: 4px 0 8px; font-size: 1.05rem; }
.pick-actions { margin-top: 6px; }
.pick-more { margin-top: 6px; }
@media (max-width: 480px) {
  .beat { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; }
  .beat-quiet { grid-template-columns: 72px minmax(0, 1fr); }
  .beat-habits { grid-template-columns: 72px minmax(0, 1fr); align-items: center; }
  .beat-boot > img { width: 56px; }
  .beat-text strong, .habit-text strong { font-size: 1.15rem; }
  .beat-quiet .beat-text strong { font-size: 1rem; }
  .beat-art { padding-top: 30px; }
}
@media (max-width: 480px) {
  .habit-item { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 6px; }
  .habit-remove { grid-column: 2; font-size: 0.74rem; padding: 2px 0; color: var(--ink-soft); }
  .beat-text strong, .habit-text strong { font-size: 1.08rem; }
}

.pick-h1 { margin-bottom: 4px; }
.pick-sub { margin: 0 0 16px; font-size: 1.05rem; color: var(--ink-soft); }

/* bigger goal icon, sitting over the peak (it may cover the flag) */
.beat-quiet .beat-art { padding-top: 40px; }
.beat-quiet .beat-art > img.beat-goal { width: 58px; height: 58px; left: 52%; top: 4px; padding: 5px; }
@media (max-width: 480px) { .beat-quiet .beat-art { padding-top: 36px; } .beat-quiet .beat-art > img.beat-goal { width: 54px; height: 54px; top: 2px; } }

/* summit row lines up with the others; the goal bubble hovers just above the peak */
.beat-quiet { grid-template-columns: 96px minmax(0, 1fr); opacity: 1; }
.beat-quiet .beat-art { width: auto; padding-top: 46px; }
.beat-quiet .beat-art > img.beat-goal { width: 42px; height: 42px; padding: 4px; left: 58%; top: 2px; }
@media (max-width: 480px) {
  .beat-quiet { grid-template-columns: 72px minmax(0, 1fr); }
  .beat-quiet .beat-art { padding-top: 38px; }
  .beat-quiet .beat-art > img.beat-goal { width: 36px; height: 36px; padding: 3px; top: 2px; }
}
