/* app.css — Community Recovery's app (app.html). Built on brand.css's tokens (the block
   'brand' in Community Recovery's place): the night ground, the dark panel, the purples, lilac,
   and lantern gold for what is alive right now. Always dark, whatever the phone's setting.
   Phone first: one column, one hand, every target 44px or more, text at 4.5 to 1 or better. */

body.app {
  --a-night: var(--cr-night, #1B1424);
  --a-panel: var(--cr-panel, #2A1F38);
  --a-purple: var(--cr-purple, #7B3FBF);
  --a-deep: var(--cr-deep, #4A2275);
  --a-bright: var(--cr-bright, #9B5FE0);
  --a-lilac: var(--cr-lilac, #C9A6F0);
  --a-lantern: #F4C86A;
  --a-head: #F3EDF9;
  --a-body: #DCD0EA;
  --a-quiet: #A99BBB;
  --a-dot: #4A3A5E;
  /* the names brand.css uses, set for the dark ground in every case */
  --bg: var(--a-night); --card: var(--a-panel); --ink: var(--a-body); --head: var(--a-head);
  --muted: var(--a-quiet); --faint: #4B3B60; --line: #3A2D4C; --accent: var(--a-lilac);
  --accent-soft: var(--a-deep); --quiet-bg: var(--a-panel); --on-accent: var(--a-night);
  margin: 0;
  background: var(--a-night);
  color: var(--a-body);
  font-family: var(--cr-text);
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
  color-scheme: dark;
}
/* the panel's circle in the top corner: drawn inside the screen's edge (the part that shows of
   a 260px circle set 90px past the corner), so nothing stands wider than the screen */
body.app::before {
  content: ""; position: absolute; z-index: 0; top: 0; right: 0; width: 170px; height: 170px;
  background: radial-gradient(circle 130px at calc(100% + 40px) 40px, var(--a-panel) 99.4%, transparent 100%);
  pointer-events: none;
}
body.app * { box-sizing: border-box; }
body.app a { color: var(--a-lilac); }
body.app a:hover { color: var(--a-head); }
body.app :focus-visible { outline: 2px solid var(--a-lantern); outline-offset: 2px; }

#app { position: relative; z-index: 1; }
.screen {
  min-height: 100vh; min-height: 100svh;
  max-width: 30rem; margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
}
.screen.center { align-items: center; justify-content: center; text-align: center; }
.screen.welcome { align-items: center; padding-top: 56px; padding-left: 28px; padding-right: 28px; }
.screen.menu-screen { background: var(--a-panel); max-width: none; }
.screen.menu-screen > * { width: 100%; max-width: 30rem; margin-left: auto; margin-right: auto; }

/* words */
.eyebrow-s { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--a-lilac); }
.eyebrow-q { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--a-quiet); }
.app h1, .app h2 {
  font-family: var(--cr-display); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--a-head); margin: 6px 0 0; line-height: 1.1;
}
.app h1 { font-size: 32px; }
.app h2 { font-size: 24px; }
.app p { margin: 0; }
.lead-s { margin-top: 10px !important; font-size: 16px; line-height: 1.5; }
.quiet-s { font-size: 14px; line-height: 1.5; color: var(--a-quiet); }
.tiny-s { font-size: 12px; line-height: 1.5; color: var(--a-quiet); }
.hand-s { font-family: var(--cr-hand); font-weight: 600; font-size: 26px; line-height: 1.15; color: var(--a-lilac); }
.hand-s.gold { color: var(--a-lantern); font-size: 28px; }
.name-big { font-family: var(--cr-display); font-weight: 600; font-size: 44px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--a-head); margin-top: 8px !important; overflow-wrap: anywhere; }
.status-s { min-height: 1.5em; margin-top: 10px !important; font-size: 15px; color: var(--a-lantern); }
.status-s:empty { min-height: 0; margin: 0 !important; }

/* buttons */
body.app .btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  min-height: 56px; padding: 0 20px; border-radius: 28px; border: 0;
  background: var(--a-purple); color: #fff; font: inherit; font-weight: 800; font-size: 17px;
  text-decoration: none; cursor: pointer; text-align: center;
}
body.app .btn:hover { background: #8a4fd0; color: #fff; }
body.app .btn:disabled { opacity: 0.6; cursor: default; }
body.app .btn.line { background: transparent; border: 1.5px solid var(--a-bright); color: var(--a-head); font-weight: 700; }
body.app .btn.line:hover { background: rgba(155, 95, 224, 0.12); }
body.app .btn.soft { background: var(--a-deep); color: var(--a-head); min-height: 48px; font-size: 15px; }
body.app .btn.small { width: auto; min-height: 46px; border-radius: 23px; font-size: 15px; padding: 0 20px; }
body.app .btn.text { background: none; color: var(--a-lilac); min-height: 44px; font-size: 15px; font-weight: 700; width: auto; padding: 0 12px; }
body.app .btn.text:hover { color: var(--a-head); background: none; }
.stack { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.push { margin-top: auto; padding-top: 24px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -10px;
  border: 0; background: none; color: var(--a-head); cursor: pointer; border-radius: 12px; flex: none;
}
.icon-btn svg { width: 24px; height: 24px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }

/* fields */
.field { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.field label, .lab { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--a-lilac); }
.app input[type=text], .app textarea {
  display: block; width: 100%; min-height: 54px; border-radius: 14px; border: 1.5px solid var(--a-deep);
  background: var(--a-panel); color: var(--a-head); font: inherit; font-size: 17px; line-height: 1.45; padding: 12px 16px; margin: 0;
}
.app textarea { resize: none; min-height: 84px; font-size: 16px; }
.app input[type=text]:focus, .app textarea:focus { outline: 2px solid var(--a-bright); outline-offset: 1px; }
.app input::placeholder, .app textarea::placeholder { color: #8F80A3; }
body.app .tick-s { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; color: var(--a-body); cursor: pointer; }
body.app .tick-s input { width: 22px; height: 22px; accent-color: var(--a-bright); flex: none; margin: 0; }
.words-s { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.words-s .w { background: var(--a-deep); color: var(--a-head); border-radius: 10px; padding: 8px 14px; font-weight: 800; font-size: 18px; letter-spacing: 0.02em; }
.app .mic-note { font-size: 13px; color: var(--a-quiet); margin: 0; }
.app button.quiet {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 22px; border: 1.5px solid var(--a-bright); background: transparent; color: var(--a-head);
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
}

/* the logo on its black patch, the nine dots round it */
.ring { position: relative; width: 250px; height: 250px; flex: none; }
.ring.big { width: 280px; height: 280px; }
.ring.welcome-ring { width: 220px; height: 220px; margin-top: 48px; }
.ring.small { width: 120px; height: 120px; }
.ring svg.dots { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.patch {
  position: absolute; left: 50%; top: 50%; width: 64%; height: 64%; transform: translate(-50%, -50%);
  border-radius: 50%; background: #000; overflow: hidden; box-shadow: 0 0 0 6px rgba(155, 95, 224, 0.14);
}
.patch img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dot-glow { transform-box: fill-box; transform-origin: center; }
.kept-now .dot-glow { animation: glow 2.4s ease-out both; }
.kept-now .dot-gold { animation: fillin 0.9s ease-out both; transform-box: fill-box; transform-origin: center; }
.kept-now .patch { animation: lift 1.2s ease-out both; }
@keyframes glow { 0% { opacity: 0; transform: scale(0.4); } 40% { opacity: 0.5; transform: scale(1.4); } 100% { opacity: 0.22; transform: scale(1); } }
@keyframes fillin { 0% { transform: scale(0.3); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes lift { 0% { box-shadow: 0 0 0 6px rgba(155, 95, 224, 0.14); } 50% { box-shadow: 0 0 0 14px rgba(244, 200, 106, 0.18); } 100% { box-shadow: 0 0 0 8px rgba(244, 200, 106, 0.1); } }
.fade-in { animation: fadein 0.6s ease-out both; }
.fade-in.later { animation-delay: 0.7s; }
.fade-in.latest { animation-delay: 1.2s; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* today */
.who-s { font-family: var(--cr-display); font-weight: 500; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--a-head); margin-top: 6px !important; }
.pill-s {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 22px;
  background: var(--a-panel); color: var(--a-head); font: inherit; font-weight: 700; font-size: 15px; border: 0; cursor: pointer;
}
.pill-s .spark { width: 9px; height: 9px; border-radius: 50%; background: var(--a-lantern); flex: none; }
.invite-line {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px;
  background: var(--a-panel); border-left: 4px solid var(--a-lantern); color: var(--a-head); font: inherit; font-size: 15px; font-weight: 700;
  text-align: left; cursor: pointer; border-top: 0; border-right: 0; border-bottom: 0;
}
.today-label { font-size: 17px; font-weight: 700; color: var(--a-head); }

/* the menu */
.menu-sec { margin: 18px auto 4px !important; font-size: 12px; font-weight: 800; letter-spacing: 0.2em; color: var(--a-lilac); }
.menu-list { display: flex; flex-direction: column; }
.menu-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; width: 100%;
  font: inherit; font-size: 17px; font-weight: 700; color: var(--a-body); background: none; border: 0; padding: 0; text-align: left; cursor: pointer;
}
.menu-item:hover { color: var(--a-head); }
.menu-item .badge { font-size: 12px; font-weight: 800; color: var(--a-night); background: var(--a-lantern); border-radius: 11px; padding: 3px 9px; }
.menu-rule { height: 1px; background: var(--a-deep); margin: 12px 0 0; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 0 18px; }
.menu-foot button { min-width: 44px; font: inherit; font-size: 14px; font-weight: 700; color: var(--a-lilac); background: none; border: 0; min-height: 44px; padding: 0; cursor: pointer; }
.card-line { margin-top: 16px !important; padding: 12px 14px; border-radius: 14px; background: var(--a-night); color: var(--a-lantern); font-weight: 700; font-size: 15px; }

/* cards */
.card-s { border-radius: 18px; background: var(--a-panel); border-top: 4px solid var(--a-purple); padding: 18px; display: flex; flex-direction: column; gap: 10px; width: 100%; }
.card-s.gold { border-top-color: var(--a-lantern); }
.card-s .lab.gold { color: var(--a-lantern); display: flex; align-items: center; gap: 8px; }
.card-s .big-s { font-size: 17px; line-height: 1.5; color: var(--a-head); }
.note-s { border-radius: 16px; background: var(--a-panel); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.note-s .meta { font-size: 13px; font-weight: 800; color: var(--a-lilac); }
.note-s .txt { font-size: 16px; line-height: 1.5; color: var(--a-head); white-space: pre-line; overflow-wrap: anywhere; }
.list-s { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.link-row { display: flex; align-items: center; gap: 10px; }
.link-row .url { flex: 1; min-width: 0; font-size: 14px; color: var(--a-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1.5px solid var(--a-deep); background: transparent; color: var(--a-body); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--a-purple); border-color: var(--a-purple); color: #fff; }

/* small pages */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pager .count { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; color: var(--a-quiet); }
.pages-dots { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.pages-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--a-dot); }
.pages-dots span.on { background: var(--a-lilac); }
.page-body { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.55; color: var(--a-body); }
.page-body .big-s { font-size: 19px; color: var(--a-head); line-height: 1.45; }
.page-body ul { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 10px; }
.page-body strong { color: var(--a-head); }
.chime { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.chime div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0; border-radius: 12px; background: var(--a-panel); }
.chime b { font-family: var(--cr-display); font-weight: 600; font-size: 22px; color: var(--a-bright); }
.chime span { font-size: 10px; font-weight: 800; color: var(--a-body); text-align: center; overflow-wrap: anywhere; padding: 0 2px; }
.done-s { color: var(--a-lantern); font-weight: 800; }
.answers { display: flex; flex-wrap: wrap; gap: 8px; }

/* the footer: Community Recovery's own lines, read from the block 'policies' */
.app-foot { position: relative; z-index: 1; border-top: 1px solid var(--a-deep); padding: 20px 0 40px; color: var(--a-quiet); font-size: 13px; line-height: 1.55; }
.app-foot .wrap { max-width: 30rem; margin: 0 auto; padding: 0 24px; }
.app-foot p { margin: 0 0 10px; }
.app-foot strong { color: var(--a-head); }
.app-foot .cr-help { padding: 10px 12px; border-left: 4px solid var(--a-lilac); background: var(--a-panel); border-radius: 10px; color: var(--a-body); }
.app-foot a { color: var(--a-lilac); }

/* the confirming panel inside a screen */
.confirm-s { border-radius: 16px; background: var(--a-panel); padding: 16px; display: flex; flex-direction: column; gap: 12px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .kept-now .dot-glow, .kept-now .dot-gold, .kept-now .patch, .fade-in { animation: none !important; }
  .kept-now .dot-glow { opacity: 0.22; }
}
@media (max-width: 360px) {
  .screen { padding-left: 16px; padding-right: 16px; }
  .ring { width: 220px; height: 220px; }
  .ring.big { width: 240px; height: 240px; }
  .name-big { font-size: 36px; }
}

/* Your words: the card picture shown whole, and the out-of-sight form that lets the phone save the words */
.key-card { display: block; width: 100%; max-width: 360px; margin: 18px auto 0; border-radius: 14px; }
.pw-save { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* The heart opens your days */
.ring-btn { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; border-radius: 50%; color: inherit; }
.ring-btn:focus-visible { outline: 2px solid var(--cr-lilac, #C9A6F0); outline-offset: 6px; }

/* The heart takes a tap and a hold: never the browser's image menu, a drag or a selection */
.ring-btn, .ring-btn *, .ring, .ring * {
  -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none;
  -webkit-tap-highlight-color: transparent;
}
.ring img { pointer-events: none; }
.ring-btn { touch-action: manipulation; }
.ring-btn .ring { transition: transform 0.5s ease-out; }
.ring-btn .patch { transition: box-shadow 0.5s ease-out; }
.ring-btn.pressing .ring { transform: scale(0.96); }
.ring-btn.pressing .patch { box-shadow: 0 0 0 12px rgba(244, 200, 106, 0.16); }
/* Where your days have come to rest, in place round the heart (Sundial's hold) */
.heart-under { display: flex; flex-direction: column; align-items: center; }
.heart-wrap { position: relative; width: 250px; height: 250px; flex: none; }
.heart-wrap .ring-btn { display: block; }
.heart-wrap .ring svg.dots { transition: opacity 0.6s ease; }
.heart-wrap.pooled .ring svg.dots { opacity: 0; }
.heart-wrap .patch { transition: opacity 0.8s ease, box-shadow 0.5s ease-out; }
.heart-wrap.pooled .patch { opacity: 0.55; }   /* the heart is the way back: present, never competing */
.heart-wrap.pooled { margin-top: 44px; margin-bottom: 52px; }
.cr-tidepools { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.cr-pools-hint { font-size: 14px; font-style: italic; color: var(--a-quiet); }
.cr-tidepool { pointer-events: auto; cursor: pointer; outline: none; }
.cr-tidepool-grow { transform-box: fill-box; transform-origin: center; animation: cr-pool 0.9s ease-out both; }   /* Sundial's sd-pool */
.cr-tidepool-water { fill: var(--a-bright); fill-opacity: 0.9; }
.cr-tidepool.empty .cr-tidepool-water { fill: none; stroke: var(--a-dot); stroke-width: 2; }
.cr-tidepool-label { font-family: var(--cr-text); font-size: 14px; font-weight: 700; fill: var(--a-quiet); paint-order: stroke; stroke: var(--a-night); stroke-width: 4px; stroke-linejoin: round; animation: cr-label 0.9s ease-out 0.3s both; }
.cr-tidepool:not(.empty) .cr-tidepool-label { fill: var(--a-body); }
.cr-tidepool.picked .cr-tidepool-label { fill: var(--a-lantern); }
.cr-tidepool:focus-visible .cr-tidepool-hit, .cr-tidepool.picked .cr-tidepool-hit { stroke: var(--a-lantern); stroke-width: 2; }
@keyframes cr-pool { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: scale(1); } }
@keyframes cr-label { from { opacity: 0; } to { opacity: 1; } }
.cr-pools { width: 100%; margin: 4px auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cr-pools > *, .cr-pools > div > p { max-width: 32ch; margin-left: auto !important; margin-right: auto !important; }
.cr-pools-line { font-family: var(--cr-hand); font-size: 26px; font-weight: 600; color: var(--a-lilac); text-align: center; max-width: 32ch; margin: 22px auto 0 !important; }
.cr-pools-said { font-size: 17px; line-height: 1.45; color: var(--a-head); text-wrap: balance; }
.cr-pools-quiet { font-size: 15px; color: var(--a-quiet); }
.cr-pool-phrase { font-family: var(--cr-hand); font-size: 26px; font-weight: 600; color: var(--a-lantern); margin-top: 6px !important; }
.cr-pool-question { font-size: 18px; line-height: 1.45; color: var(--a-head); }
@media (max-width: 360px) { .heart-wrap { width: 220px; height: 220px; } .cr-tidepool-label { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .cr-tidepool-grow, .cr-tidepool-label { animation: none; } .heart-wrap .ring svg.dots, .heart-wrap .patch { transition: none; } }
@media (prefers-reduced-motion: reduce) { .ring-btn .ring, .ring-btn .patch { transition: none; } }
.heart-nudge { margin-top: 6px !important; font-size: 14px; font-style: italic; color: var(--a-quiet); text-align: center; }

/* The lantern, in place of Sundial's shell (sd-listen): it sways at rest as the shell rocks; tapped,
   it lifts and brightens; the days surface from it (sd-heard-line) and settle beneath */
body.app .cr-lantern { position: relative; display: block; width: 88px; height: 112px; min-height: 44px; margin: 6px auto 0; padding: 6px; background: none; border: 0; border-radius: 18px; cursor: pointer; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.cr-lantern svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cr-lantern .cr-lantern-body { transform-box: fill-box; transform-origin: 50% 0; animation: cr-sway 5s ease-in-out infinite alternate; transition: filter 0.8s ease; }
.cr-lantern .cr-lantern-glow { transform-box: fill-box; transform-origin: center; animation: cr-breathe 3.6s ease-in-out infinite alternate; }
.cr-lantern.lifted .cr-lantern-body { animation: cr-lift 2.6s ease-in-out infinite alternate; filter: drop-shadow(0 0 10px rgba(244, 200, 106, 0.55)); }
.cr-lantern.lifted .cr-lantern-glow { animation: cr-bright 2.6s ease-in-out infinite alternate; }
@keyframes cr-sway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes cr-breathe { from { opacity: 0.12; transform: scale(0.92); } to { opacity: 0.3; transform: scale(1.06); } }
@keyframes cr-lift { from { transform: translateY(-0.6rem) scale(1.18); } to { transform: translateY(-0.9rem) scale(1.24); } }
@keyframes cr-bright { from { opacity: 0.45; transform: scale(1.1); } to { opacity: 0.65; transform: scale(1.25); } }
.cr-lantern:focus-visible { outline: 2px solid var(--a-lantern); outline-offset: 2px; }
.cr-lantern-hint { font-size: 14px; font-style: italic; color: var(--a-quiet); text-align: center; margin-top: -14px !important; }
.cr-heard { margin-top: 0; text-align: left; width: 100%; max-width: 32ch; }
.cr-heard-line { position: relative; margin: 0 0 16px; padding: 0 0 0 14px; border-left: 2px solid var(--a-bright); }
.cr-heard-line figcaption { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--a-quiet); }
.cr-heard-line blockquote { margin: 3px 0 0; padding: 0; font-size: 18px; font-style: italic; line-height: 1.45; color: var(--a-head); white-space: pre-line; overflow-wrap: anywhere; }
.cr-heard-count { font-size: 15px; color: var(--a-body); margin-top: 4px !important; }
.cr-listen-question { font-size: 18px; line-height: 1.5; color: var(--a-head); margin-top: 10px !important; }
body.app .btn.cr-show-all, body.app .btn.cr-put-back { padding: 0; margin-top: 6px; font-style: italic; }
.cr-heard-more { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .cr-lantern .cr-lantern-body, .cr-lantern .cr-lantern-glow, .cr-lantern.lifted .cr-lantern-body, .cr-lantern.lifted .cr-lantern-glow { animation: none; } }
/* Answer this today: the question as the label, a box, Speak, and keeping it with today */
.cr-answer { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 32ch; text-align: left; }
.cr-answer-q { font-size: 18px; font-weight: 400; line-height: 1.5; color: var(--a-head); }   /* as the question line it stands in for */
body.app .btn.cr-answer-open { font-style: italic; padding: 0; }
.cr-kept-line { font-size: 15px; color: var(--a-lantern); }
/* Where and when: a card per place */
.where-list { margin-top: 18px; gap: 16px; }
.place-card { gap: 10px; }
.app .place-card h2.place-name { font-size: 26px; margin: 0; }
.place-when { font-size: 17px; line-height: 1.45; color: var(--a-head); }
.place-addr { font-size: 15px; color: var(--a-quiet); }
.place-expect { font-size: 16px; line-height: 1.5; color: var(--a-body); }
.place-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.place-map { border-radius: 14px; overflow: hidden; background: var(--a-night); }
.place-map iframe { display: block; width: 100%; height: 240px; border: 0; }
body.app .btn.place-go { align-self: flex-start; background: var(--a-lantern); color: var(--a-night); }
.place-going { font-size: 15px; font-weight: 700; color: var(--a-lantern); }
.place-going:empty { display: none; }
.trial-s { margin-top: 14px !important; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--a-quiet); text-align: center; }
/* How we look after each other: CHIME's signs, the commitments as cards, the lights */
.chime .chime-sign { width: 34px; height: 34px; display: block; }
.commit-list { display: flex; flex-direction: column; gap: 10px; }
.commit-card { border-radius: 16px; background: var(--a-panel); }
.commit-head { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 16px; background: none; border: 0; color: var(--a-head); font: inherit; font-size: 17px; font-weight: 700; text-align: left; cursor: pointer; border-radius: 16px; }
.commit-head .commit-sign { width: 24px; height: 24px; flex: none; }
.commit-head[aria-expanded="true"] { color: var(--a-lantern); }
.commit-body { padding: 0 16px 14px 52px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; color: var(--a-body); }
.lights { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; max-width: 30ch; margin: 18px auto 0; }
.lights .light { width: 9px; height: 9px; border-radius: 50%; background: var(--a-lilac); opacity: 0.85; animation: light-on 0.8s ease-out both; }
.lights .light.mine { background: var(--a-lantern); box-shadow: 0 0 8px rgba(244, 200, 106, 0.8); animation: light-mine 1.6s ease-out both; }
@keyframes light-on { from { opacity: 0; transform: scale(0.4); } to { opacity: 0.85; transform: scale(1); } }
@keyframes light-mine { from { opacity: 0; transform: scale(0.3); } 60% { opacity: 1; transform: scale(1.5); } to { opacity: 1; transform: scale(1); } }
.lights-say { text-align: center; font-size: 17px; color: var(--a-head); }
@media (prefers-reduced-motion: reduce) { .lights .light, .lights .light.mine { animation: none; } }
.bring-chips { margin-top: 2px; }
.bring-chips:empty { display: none; }
/* Our story: one gentle line, a dot for each moment, newest at the bottom */
.story-line { list-style: none; margin: 22px 0 0; padding: 0 0 0 26px; position: relative; }
.story-line::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; border-radius: 1px; background: linear-gradient(var(--a-deep), var(--a-bright)); }
.story-item { position: relative; margin: 0 0 22px; }
.story-dot { position: absolute; left: -23px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--a-lilac); box-shadow: 0 0 0 4px var(--a-night); }
.story-item.milestone .story-dot { background: var(--a-lantern); }
.story-item.moment .story-dot { background: var(--a-night); border: 2px solid var(--a-lilac); }
.story-item.ahead .story-dot { background: none; border: 2px dashed var(--a-quiet); }
.story-when { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--a-quiet); }
.story-text { margin-top: 3px !important; font-size: 17px; line-height: 1.5; color: var(--a-head); }
.story-text.said { font-style: italic; }
.story-who { margin-top: 3px !important; font-size: 13px; color: var(--a-lilac); }
body.app .btn.story-share { padding: 0; align-self: flex-start; font-size: 14px; font-style: italic; }
.story-form { display: flex; flex-direction: column; gap: 8px; }
/* Who we are to each other: a rising path of three steps */
.who-circles { display: block; width: 100%; max-width: 380px; margin: 18px auto 0; overflow: visible; }
.who-stop { cursor: pointer; outline: none; }
.who-ring { stroke-width: 2.5; transition: fill 0.4s ease, stroke 0.4s ease; }
.who-all { fill: rgba(201, 166, 240, 0.08); stroke: var(--a-lilac); }
.who-role { fill: rgba(155, 95, 224, 0.22); stroke: var(--a-lilac); }
.who-stop.on .who-ring { stroke: var(--a-lantern); }
.who-stop.on .who-role { fill: rgba(244, 200, 106, 0.18); }
.who-stop.on.who-stop .who-all { fill: rgba(244, 200, 106, 0.08); }
.who-stop:focus-visible .who-ring { stroke: var(--a-lantern); stroke-width: 3.5; }
.who-label { fill: #F3EDF9; font-family: var(--cr-body, 'Nunito Sans', sans-serif); font-size: 13px; font-weight: 700; pointer-events: none; }
.who-label.small { font-size: 10px; }
.who-names { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.who-names .chip[aria-pressed="true"] { background: var(--a-purple); border-color: var(--a-purple); color: #fff; }
.who-detail { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.app .who-step-name { font-size: 24px; margin: 0; }
.who-sub { font-size: 15px; font-style: italic; color: var(--a-lilac); }
.who-detail .lab { margin-top: 10px !important; }
.who-line { font-size: 16px; line-height: 1.5; color: var(--a-body); }
.who-story, .who-help { margin-top: 26px; }
.who-story p, .who-help p { font-size: 16px; line-height: 1.55; }
.app .who-story h2 { font-size: 22px; margin: 0; }
@media (prefers-reduced-motion: reduce) { .who-ring { transition: none; } }
/* The standards: the garden, ported from 'Where we are now' */
.garden-tally { margin-top: 14px !important; font-size: 17px; font-weight: 800; color: var(--a-head); }
.garden-tally:empty { display: none; }
.garden-beds { margin-top: 12px; }
.garden-beds .bed { background: var(--a-panel); border-top: 4px solid var(--a-purple); border-radius: 18px; padding: 14px 12px 0; margin: 0 0 14px; overflow: hidden; }
.app .garden-beds .bed h2 { font-size: 20px; margin: 0 2px 4px; }
.app .garden-beds .bed h3 { font-family: var(--cr-text); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--a-quiet); margin: 6px 2px 2px; }
.garden-beds .row { list-style: none; display: flex; flex-wrap: wrap; gap: 0 2px; padding: 0; margin: 0; }
.garden-beds .soil { height: 14px; margin: 4px -12px 0; background: linear-gradient(var(--a-deep), #3a1b5c); }
.garden-beds .applies { font-size: 13px; color: var(--a-quiet); margin: 10px 2px 12px; }
body.app button.plant { display: flex; flex-direction: column; align-items: center; width: 52px; min-height: 66px; font: inherit; font-size: 12px; font-weight: 800; color: var(--a-head); background: none; border: 0; border-radius: 10px; padding: 2px 0 4px; cursor: pointer; }
body.app button.plant:hover { background: rgba(155, 95, 224, 0.14); }
.plant svg { width: 40px; height: 56px; display: block; overflow: visible; }
.p-ground { fill: #5a4572; }
.p-seed { fill: var(--a-quiet); }
.p-crack { fill: none; stroke: var(--a-panel); stroke-width: 0.9; }
.p-stem { fill: none; stroke: var(--cr-leaf); stroke-width: 2.4; stroke-linecap: round; }
.p-leaf, .p-bud { fill: var(--cr-leaf); stroke: rgba(30, 24, 40, 0.35); stroke-width: 0.6; }
.p-petal { fill: var(--cr-petal); stroke: rgba(30, 24, 40, 0.25); stroke-width: 0.5; }
.p-heart { fill: var(--a-lantern); }
.p-gold { fill: var(--a-lantern); stroke: rgba(30, 24, 40, 0.35); stroke-width: 0.5; }
.p-stem, .p-leaf, .p-bud, .p-petal, .p-heart, .p-gold, .p-seed { transform-box: fill-box; }
.p-stem, .p-leaf { transform-origin: 50% 100%; }
.p-bud, .p-petal, .p-heart, .p-gold, .p-seed { transform-origin: 50% 50%; }
.bed.grow .p-stem { animation: grow-stem 0.7s ease-out both; animation-delay: calc(var(--i) * 70ms); }
.bed.grow .p-leaf, .bed.grow .p-gold { animation: pop 0.45s cubic-bezier(.3,1.6,.6,1) both; animation-delay: calc(var(--i) * 70ms + 0.45s); }
.bed.grow .p-bud, .bed.grow .p-seed { animation: pop 0.45s cubic-bezier(.3,1.6,.6,1) both; animation-delay: calc(var(--i) * 70ms + 0.6s); }
.bed.grow .p-petal, .bed.grow .p-heart { animation: bloom 0.6s ease-out both; animation-delay: calc(var(--i) * 70ms + 0.75s); }
@keyframes grow-stem { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes bloom { from { transform: scale(0) rotate(-40deg); } to { transform: scale(1) rotate(0); } }
@media (prefers-reduced-motion: reduce) { .bed.grow .p-stem, .bed.grow .p-leaf, .bed.grow .p-gold, .bed.grow .p-bud, .bed.grow .p-seed, .bed.grow .p-petal, .bed.grow .p-heart { animation: none; } }
.garden-open { margin-top: 6px; padding: 16px; border-radius: 18px; background: var(--a-panel); border-top: 4px solid var(--a-lantern); display: flex; flex-direction: column; gap: 10px; }
.garden-words { font-size: 17px; line-height: 1.5; color: var(--a-head); }
.app h2.garden-q { font-family: var(--cr-text); font-size: 19px; font-weight: 700; letter-spacing: 0; text-transform: none; margin: 6px 0 0; color: var(--a-head); }
/* The constitution, read together: each part with a dot for every member who has read it */
.con-parts { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 14px; }
.con-part { border-left: 3px solid var(--a-deep); padding-left: 12px; }
.con-title { font-size: 16px; font-weight: 700; color: var(--a-head); }
.con-dots { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 4px; min-height: 9px; }
.con-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--a-lilac); opacity: 0.7; }
.con-dot.agree { background: var(--a-lantern); opacity: 1; }
.con-say { font-size: 14px; color: var(--a-quiet); }
/* The map: circles in Today's own language, Community Recovery in lantern gold */
.map-crumbs { margin-top: 10px !important; font-size: 14px; font-weight: 700; color: var(--a-lilac); }
.map-crumbs:focus { outline: none; }
.map-field { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 14px 10px; margin: 20px 0 8px; }
.map-circle { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 76px; max-width: 120px; padding: 4px; background: none; border: 0; color: var(--a-body); font: inherit; cursor: default; border-radius: 14px; }
button.map-circle { cursor: pointer; }
button.map-circle:focus-visible { outline: 2px solid var(--a-lantern); outline-offset: 2px; }
.map-dot { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--a-deep); border: 2px solid var(--a-bright); color: var(--a-head); font-weight: 800; font-size: 15px; transition: transform 0.4s ease; }
.map-circle.lit .map-dot { border-color: var(--a-lantern); box-shadow: 0 0 0 4px rgba(244, 200, 106, 0.18); }
.map-circle.ours .map-dot { background: var(--a-lantern); border-color: var(--a-lantern); box-shadow: 0 0 16px rgba(244, 200, 106, 0.6); }
.map-name { font-size: 13px; font-weight: 700; line-height: 1.25; text-align: center; color: var(--a-head); overflow-wrap: anywhere; }
.map-circle.ours .map-name { color: var(--a-lantern); }
body.app .btn.map-up { align-self: flex-start; margin-top: 4px; }
.map-list { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.map-list ul { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--a-body); }
.map-list li.ours { color: var(--a-lantern); }
.map-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.map-leros li { padding: 6px 0; }
.map-leros li:focus { outline: 2px solid var(--a-lantern); outline-offset: 4px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .map-dot { transition: none; } }
/* A card that folds: heading and first sentence, a chevron for the rest */
.fold-card { border-radius: 16px; background: var(--a-panel); padding: 12px 14px; }
.fold-head { display: flex; align-items: flex-start; gap: 10px; width: 100%; min-height: 44px; padding: 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 10px; }
.fold-head:focus-visible { outline: 2px solid var(--a-lantern); outline-offset: 3px; }
.fold-words { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.fold-head-text { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--a-lilac); }
p.fold-head-text { margin-bottom: 3px !important; }
.fold-first { display: block; font-size: 17px; line-height: 1.5; color: var(--a-head); }
.fold-first.said { font-style: italic; }
.fold-chev { flex: none; width: 24px; height: 24px; margin-top: 10px; color: var(--a-lilac); transition: transform 0.3s ease; }
.fold-head[aria-expanded="true"] .fold-chev { transform: rotate(180deg); }
.fold-rest { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.fold-rest.open { grid-template-rows: 1fr; }
.fold-inner { overflow: hidden; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.55; color: var(--a-body); }
.fold-rest.open .fold-inner { padding-top: 8px; }
.story-item .fold-card { padding: 10px 12px; }
.who-fold { margin-top: 10px; }
.who-story, .who-help { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .fold-rest, .fold-chev { transition: none; } }
/* Contact */
.contact-card { margin-top: 16px; }
.app .contact-card h2 { font-size: 20px; margin: 0; }
.app .contact-card h3 { font-family: var(--cr-text); font-size: 17px; font-weight: 800; letter-spacing: 0; text-transform: none; color: var(--a-head); margin: 0; }
.contact-place { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding-top: 6px; }
.app-foot a.foot-contact { font-weight: 800; color: var(--a-head); }
/* CHIME: five full rows that fill a phone */
.chime-rows { list-style: none; margin: 14px 0 6px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.chime-row { display: flex; align-items: center; gap: 14px; min-height: max(76px, calc((100svh - 330px) / 5)); padding: 10px 14px; border-radius: 16px; background: var(--a-panel); }
.chime-row .chime-sign { width: 46px; height: 46px; flex: none; }
.chime-letter-big { font-family: var(--cr-display); font-weight: 700; font-size: 40px; line-height: 1; color: var(--a-bright); width: 34px; flex: none; text-align: center; }
.chime-words { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.chime-word { font-family: var(--cr-display); font-weight: 600; font-size: 21px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--a-head); }
.chime-line { font-size: 16px; line-height: 1.4; color: var(--a-body); }
@media (max-width: 360px) { .chime-row { gap: 10px; } .chime-letter-big { font-size: 32px; width: 26px; } .chime-word { font-size: 18px; } }
/* I've read this */
.read-list { display: flex; flex-direction: column; gap: 14px; }
.read-item { display: flex; flex-direction: column; gap: 4px; }
body.app .tick-s.read-tick { min-height: 44px; font-size: 15px; color: var(--a-lilac); }
.commit-body .read-tick { margin-top: -4px; }
.read-count { margin-bottom: 6px !important; }

/* The Leadership Group: the newest meeting's card with its three numbers, what's happening with a
   sprout for each standard it serves, who leads on what, the circle of how we meet, the full notes
   card, members' thoughts, and the next meeting in deep purple */
.lg-body { display: flex; flex-direction: column; gap: 28px; margin-top: 6px; }
.lg-head { display: flex; flex-direction: column; gap: 6px; }
.lg-head .lead-s { margin-top: 6px !important; font-size: 17px; }
.lg-sec { display: flex; flex-direction: column; gap: 12px; }
.app .lg-sec h2, .app .lg-notes h2 { font-size: 22px; margin: 0; }
.card-s.lg-latest { gap: 14px; padding: 22px 20px; }
.lg-latest .hand-s.gold { font-size: 30px; }
.lg-when { font-size: 15px; }
.lg-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lg-num { background: var(--a-night); border-radius: 12px; padding: 12px 8px; text-align: center; }
.lg-num b { display: block; font-family: var(--cr-display); font-weight: 600; font-size: 30px; line-height: 1; color: var(--a-head); }
.lg-num.gold b { color: var(--a-lantern); }
.lg-num span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.3; color: var(--a-quiet); }
.lg-agreed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.lg-agreed li { display: flex; gap: 12px; align-items: flex-start; }
.lg-agreed li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--a-bright); margin-top: 9px; }
.lg-item { background: var(--a-panel); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.lg-item-title { color: var(--a-head); font-weight: 700; }
.lg-item-text { font-size: 15px; }
.lg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
body.app button.lg-chip {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px 0 8px; border-radius: 22px;
  border: 1.5px solid var(--a-deep); background: var(--a-night); color: var(--a-lilac); font: inherit; font-weight: 800; font-size: 14px; cursor: pointer;
}
body.app button.lg-chip[aria-pressed="true"] { background: var(--a-lantern); border-color: var(--a-lantern); color: var(--a-night); }
.lg-chip svg { width: 22px; height: 31px; display: block; overflow: visible; }
.lg-std { border-radius: 10px; background: var(--a-night); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.lg-std .lab { color: var(--a-lantern); }
.lg-std-words { font-size: 15px; color: var(--a-head); }
.lg-leads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lg-lead { background: var(--a-panel); border-radius: 12px; padding: 12px; border-top: 3px solid var(--a-purple); }
.lg-lead-name { font-family: var(--cr-display); font-weight: 600; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--a-head); overflow-wrap: anywhere; }
.lg-lead-what { margin-top: 2px !important; font-size: 13px; line-height: 1.4; }
/* the circle: a 220px ring in a 300px square that narrows with a narrow phone, five 76px parts round it */
.lg-circle { position: relative; width: 100%; max-width: 300px; align-self: center; }
.lg-circle::before { content: ""; display: block; padding-top: 100%; }
.lg-ring { position: absolute; top: 13.333%; left: 13.333%; right: 13.333%; bottom: 13.333%; border-radius: 50%; border: 2px solid var(--a-deep); }
.lg-mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; }
.lg-mid b { display: block; font-family: var(--cr-display); font-weight: 600; font-size: 34px; line-height: 1; color: var(--a-head); }
.lg-mid span { display: block; margin-top: 2px; font-size: 12px; color: var(--a-quiet); }
body.app button.lg-part {
  position: absolute; width: 76px; height: 76px; margin: -38px 0 0 -38px; padding: 0; border-radius: 50%;
  border: 2px solid var(--a-purple); background: var(--a-panel); color: var(--a-head);
  font-family: var(--cr-display); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer;
}
body.app button.lg-part[aria-pressed="true"] { background: var(--a-lantern); border-color: var(--a-lantern); color: var(--a-night); }
.card-s.lg-part-now { gap: 8px; }
.lg-part-what { color: var(--a-head); }
.lg-part-now .quiet-s { font-size: 13px; }
.card-s.lg-notes { border-top: 0; padding: 20px; gap: 12px; }
.lg-lockhead { display: flex; align-items: center; gap: 10px; }
.lg-lock { width: 22px; height: 22px; flex: none; color: var(--a-lilac); }
.lg-hear .field label { font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.lg-say-row { display: flex; gap: 10px; }
.app .lg-say-row > button { flex: 1; min-height: 48px; justify-content: center; align-self: stretch; }
.lg-empty { font-style: italic; margin-top: 4px !important; }
.lg-next { border-radius: 14px; background: var(--a-deep); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.lg-next .lab { color: var(--a-lantern); }
.lg-next-when { color: var(--a-head); font-weight: 700; }
.lg-next-more { font-size: 14px; }

/* Learning together: the six kinds as tabs, a card a course with its heart and how many are
   interested, more about it, a box for the person's own words once interested, something not
   listed, and the booking card in deep purple */
.lt-body { display: flex; flex-direction: column; gap: 24px; margin-top: 6px; }
.lt-head { display: flex; flex-direction: column; gap: 6px; }
.lt-head .hand-s { margin-top: 6px !important; }
.lt-head .lead-s { margin-top: 4px !important; font-size: 17px; }
.card-s.lt-shapes { gap: 8px; }
.lt-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
body.app button.lt-tab {
  min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1.5px solid var(--a-deep);
  background: var(--a-panel); color: var(--a-lilac); font: inherit; font-weight: 800; font-size: 14px; cursor: pointer;
}
body.app button.lt-tab[aria-pressed="true"] { background: var(--a-lantern); border-color: var(--a-lantern); color: var(--a-night); }
.lt-kind { display: flex; flex-direction: column; gap: 12px; }
.lt-kind-head { display: flex; flex-direction: column; gap: 4px; }
.app .lt-kind h2, .app .lt-other h2 { font-size: 22px; margin: 0; }
.lt-kind-what { font-size: 15px; }
.lt-stds { margin-top: 2px !important; letter-spacing: 0.12em; }
.app .lt-set {
  margin: 8px 0 0; font-family: var(--cr-display); font-weight: 600; font-size: 16px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--a-lilac); line-height: 1.2;
}
.lt-course { background: var(--a-panel); border-radius: 14px; border-top: 3px solid var(--a-purple); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.lt-course.on { border-top-color: var(--a-lantern); }
.lt-course-top { display: flex; gap: 12px; align-items: flex-start; }
.lt-course-names { flex: 1; min-width: 0; }
.lt-course-title { color: var(--a-head); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.lt-course-who { margin-top: 2px !important; font-size: 13px; }
body.app button.lt-heart {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 22px;
  border: 1.5px solid var(--a-purple); background: var(--a-night); color: var(--a-lilac); font: inherit; font-weight: 800; font-size: 13px; cursor: pointer;
}
body.app button.lt-heart[aria-pressed="true"] { background: var(--a-lantern); border-color: var(--a-lantern); color: var(--a-night); }
body.app button.lt-heart:disabled { cursor: default; }
.lt-heart svg { width: 16px; height: 16px; flex: none; display: block; }
.lt-heart[aria-pressed="true"] svg { fill: currentColor; }
.lt-count { font-size: 13px; }
.lt-course .status-s { margin-top: 0 !important; font-size: 14px; }
.lt-course .status-s:empty { display: none; }
body.app .btn.text.lt-more { align-self: flex-start; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.lt-more-panel { display: flex; flex-direction: column; gap: 10px; background: var(--a-night); border-radius: 12px; padding: 12px 14px; }
.lt-more-panel .lab { color: var(--a-lantern); letter-spacing: 0.16em; }
.lt-what { color: var(--a-head); }
.lt-runs, .lt-join { margin-top: 2px !important; font-size: 15px; }
.lt-go { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 6px; }
body.app .lt-go .btn { min-height: 44px; padding: 8px 18px; justify-content: flex-start; text-align: left; line-height: 1.3; }
.lt-go .btn svg { width: 16px; height: 16px; flex: none; }
.lt-say { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.lt-say .field label, .lt-other .field label { font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.app .lt-say textarea { background: var(--a-night); min-height: 64px; }
.lt-say-row { display: flex; gap: 10px; }
.app .lt-say-row > button { flex: 1; min-height: 44px; justify-content: center; align-self: stretch; }
.lt-other { display: flex; flex-direction: column; gap: 10px; }
.lt-other > p { font-size: 15px; }
.lt-book { border-radius: 14px; background: var(--a-deep); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.lt-book .lab { color: var(--a-lantern); letter-spacing: 0.16em; }
.lt-book-go { color: var(--a-head); font-weight: 700; }
.lt-book-more { font-size: 14px; }

/* Hidden means hidden: no class's display may bring a hidden element back. Kept last, and
   important, so it wins whatever comes before it. */
body.app [hidden] { display: none !important; }

/* Ask to join: the sessions to choose from (11 November 2026) */
.ask-sessions { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ask-sessions legend { margin-bottom: 6px; padding: 0; }
.ask-sessions .tick-s span { line-height: 1.35; }
