:root {
  --bg: #1c1e26;
  --card: #262a35;
  --card2: #2e3340;
  --text: #f6f4fc;
  --muted: #b4b6ca;
  --sage: #9ad1b5;
  --lav: #b7a8e8;
  --peach: #f2b99a;
  --sky: #8fc3e8;
  --gold: #e7cf8e;
  --rose: #e8a8c4;
  --radius: 18px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font: 1.0625rem/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  padding-bottom: calc(86px + env(safe-area-inset-bottom));
}
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) 18px 6px;
  max-width: 640px; margin: 0 auto;
}
.brand { font-size: 1.25rem; letter-spacing: .04em; color: var(--gold); }
.mark { display: inline-block; margin-right: 4px; }
main { max-width: 640px; margin: 0 auto; padding: 8px 16px 24px; }
h1 { font-size: 1.5rem; margin: 10px 0 4px; font-weight: 600; }
h2 { font-size: 1.05rem; margin: 22px 0 8px; color: var(--lav); font-weight: 600; }
.sub { color: var(--muted); margin: 0 0 14px; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 16px;
  margin: 10px 0; border: 1px solid #ffffff10;
}
.row { display: flex; align-items: center; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.title { font-weight: 600; }
.meta { color: var(--muted); font-size: .9rem; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #1c1e26; font-weight: 700;
  background-size: cover; background-position: center;
}
.avatar.big { width: 84px; height: 84px; font-size: 2rem; }
.avatar.small { width: 30px; height: 30px; font-size: .85rem; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; }
.btn {
  background: var(--lav); color: #1c1e26; font-weight: 600;
  padding: 14px 20px; border-radius: 14px; width: 100%; font-size: 1.05rem;
}
.btn.alt { background: var(--card2); color: var(--text); }
.btn.sage { background: var(--sage); }
.btn:disabled { opacity: .45; cursor: default; }
.btn + .btn { margin-top: 10px; }
.chip {
  background: var(--card); padding: 6px 12px 6px 6px; border-radius: 99px;
  display: inline-flex; align-items: center; gap: 8px;
}
.pill {
  background: var(--card2); padding: 10px 14px; border-radius: 99px; font-size: .95rem;
}
.pill.on { background: var(--lav); color: #1c1e26; font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
input, textarea, select {
  width: 100%; background: var(--card2); color: var(--text); border: 1px solid #ffffff18;
  border-radius: 12px; padding: 13px 14px; font: inherit; margin: 6px 0 12px;
}
textarea { min-height: 150px; resize: vertical; }
label { color: var(--muted); font-size: .9rem; }
.bar { height: 12px; background: var(--card2); border-radius: 99px; overflow: hidden; margin: 8px 0 4px; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: var(--sage); }
.bar > i.mid { background: var(--gold); }
.bar > i.low { background: var(--peach); }
.status { display: flex; gap: 8px; margin-top: 12px; }
.status button { flex: 1; padding: 14px 6px; border-radius: 14px; background: var(--card2); font-size: 1.05rem; }
.status .yes { background: #9ad1b533; }
.status .partial { background: #e7cf8e33; }
.status .no { background: #f2b99a33; }
.badge { font-size: 1.3rem; }
.done { border-color: #9ad1b555; }
.thumbs { display: inline-flex; gap: 6px; align-items: center; background: var(--card2); padding: 6px 12px; border-radius: 99px; }
.thumbs.on { background: var(--sage); color: #1c1e26; }
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 4px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #1c1e26f7;
  border-top: 1px solid #ffffff12;
}
.nav button { flex: 1; max-width: 150px; background: none; padding: 8px 4px; border-radius: 14px; color: var(--muted); font-size: .8rem; }
.nav button span { display: block; font-size: 1.4rem; }
.nav button.active { color: var(--gold); background: var(--card); }
.sheet { position: fixed; inset: 0; background: #000a; display: flex; align-items: flex-end; justify-content: center; z-index: 5; }
.sheet > div {
  background: var(--card); width: 100%; max-width: 640px; border-radius: 24px 24px 0 0;
  padding: 20px 18px calc(22px + env(safe-area-inset-bottom)); max-height: 92vh; overflow: auto;
}
.toast {
  position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  background: var(--gold); color: #1c1e26; padding: 12px 18px; border-radius: 14px; z-index: 9; max-width: 90%;
}
.toast.err { background: var(--peach); }
.center { text-align: center; }
.quote { color: var(--gold); font-style: italic; margin: 6px 0 16px; }
.link { background: none; color: var(--sky); text-decoration: underline; padding: 8px 0; }
.empty { color: var(--muted); text-align: center; padding: 28px 8px; }
[hidden] { display: none !important; }

/* desktop: everything about 128 % larger and a wider column */
@media (min-width: 900px) {
  html { font-size: 128%; }
  .top, main, .sheet > div { max-width: 860px; }
  .avatar { width: 56px; height: 56px; }
  .avatar.small { width: 38px; height: 38px; }
  .avatar.big { width: 108px; height: 108px; }
  .nav button { max-width: 200px; }
  .toast { bottom: calc(120px + env(safe-area-inset-bottom)); }
}

/* week grid */
.wgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 8px; }
.wgrid.head { margin-top: 12px; text-align: center; font-size: .72rem; color: var(--muted); }
.wgrid.head .today { color: var(--gold); font-weight: 700; }
.cell {
  height: 40px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 700; background: var(--card2); color: var(--muted);
}
.cell.yes { background: var(--sage); color: #1c1e26; }
.cell.partial { background: var(--gold); color: #1c1e26; }
.cell.no { background: var(--peach); color: #1c1e26; }
.cell.miss { background: transparent; border: 1.5px dashed #f2b99a88; color: var(--peach); }
.cell.now { background: transparent; border: 2px solid var(--gold); color: var(--gold); }
.cell.future { background: var(--card2); opacity: .45; }
.cell.off { background: transparent; border: 1px solid #ffffff10; }
@media (min-width: 900px) { .cell { height: 48px; } }

/* help button, intro and celebration */
.topbtns { display: flex; gap: 8px; align-items: center; }
.chip.help { padding: 6px 14px; font-weight: 700; color: var(--gold); }
.intro { position: fixed; inset: 0; z-index: 30; background: var(--bg); overflow-y: auto; }
.intro-inner { max-width: 640px; margin: 0 auto; padding: calc(24px + env(safe-area-inset-top)) 16px calc(32px + env(safe-area-inset-bottom)); }
.mandala { display: inline-block; line-height: 0; }
.intro-icon { font-size: 2rem; width: 56px; text-align: center; flex: none; }
.intro-go { margin-top: 18px; }
.fx { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.fx-p { position: absolute; left: 0; top: 0; font-size: 22px; line-height: 1; }
.fx-p.dot { width: 10px; height: 10px; border-radius: 50%; }
.fx-banner {
  position: absolute; left: 50%; top: 38%; transform: translateX(-50%); white-space: nowrap;
  background: var(--card); color: var(--gold); border: 1px solid #e7cf8e66; border-radius: 18px;
  padding: 16px 24px; font-size: 1.3rem; font-weight: 700;
}
@media (min-width: 900px) { .intro-inner { max-width: 760px; } }

/* modern touch: soft glow behind everything, slightly glassy cards */
body { background: #07081a; }
.card {
  background: linear-gradient(180deg, rgba(30, 33, 56, 0.86), rgba(20, 22, 42, 0.8));
  border-color: #ffffff1f; box-shadow: 0 8px 28px #0004, inset 0 1px 0 #ffffff14;
}

/* universe behind the welcome page */
.intro { background: #0c0d1a; }
.cosmos {
  position: fixed; inset: 0; overflow: hidden; z-index: 0;
  background: radial-gradient(circle at 50% 38%, #2d2a66 0%, #17183a 45%, #0c0d1a 80%);
}
.cosmos .star { position: absolute; border-radius: 50%; background: #fff; opacity: 0.35; }
.cosmos-mandala {
  position: absolute; left: 50%; top: 44%; width: max(138vmin, 860px); height: max(138vmin, 860px);
  transform: translate(-50%, -50%); opacity: 0.55;
}
.intro-inner { position: relative; z-index: 1; }
.intro-hero { padding: 7vh 0 3vh; }
.intro-word {
  text-align: center; font-size: clamp(2.4rem, 11vw, 4.2rem); font-weight: 300; letter-spacing: 0.32em; text-indent: 0.32em;
  background: linear-gradient(90deg, #e7cf8e, #b7a8e8 60%, #8fc3e8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px #b7a8e855);
}
.intro .card { background: rgba(16, 18, 44, 0.88); border-color: #ffffff26; }
.intro-go { box-shadow: 0 0 28px #b7a8e866; }

/* off-canvas menu */
.chip.menu { padding: 6px 14px; font-size: 1.1rem; }
.drawer { position: fixed; inset: 0; z-index: 35; background: #0009; opacity: 0; transition: opacity 0.25s; }
.drawer.open { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 90vw); overflow-y: auto;
  background: var(--bg); border-left: 1px solid #ffffff18; box-shadow: -12px 0 40px #0006;
  padding: calc(16px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));
  transform: translateX(100%); transition: transform 0.28s ease;
}
.drawer.open .drawer-panel { transform: none; }
.switch-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; cursor: pointer; }
.switch-row + .switch-row { border-top: 1px solid #ffffff12; }
.switch-row input { appearance: none; -webkit-appearance: none; width: 50px; height: 30px; margin: 0; flex: none; border-radius: 99px; background: var(--card2); position: relative; transition: background 0.2s; }
.switch-row input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--text); transition: transform 0.2s; }
.switch-row input:checked { background: var(--sage); }
.switch-row input:checked::after { transform: translateX(20px); background: #1c1e26; }

/* collapsible group members in the week view */
.accordion { width: 100%; background: none; text-align: left; padding: 0; color: inherit; }
.accordion .chev { color: var(--muted); font-size: 1.1rem; }

/* permanent backdrop: very subtle mandala, compass and day/night dial */
.backdrop {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 55% at 50% -8%, #3a2f7a66, transparent 70%),
    radial-gradient(ellipse 70% 60% at 50% 115%, #0f3a5a55, transparent 70%),
    linear-gradient(180deg, #0a0b22 0%, #07081a 55%, #05060f 100%);
}
.bd-nebula {
  position: absolute; inset: -10%;
  background:
    radial-gradient(40% 32% at 18% 24%, #7a3fa355, transparent 70%),
    radial-gradient(36% 30% at 84% 68%, #1f6fa150, transparent 70%),
    radial-gradient(30% 26% at 70% 14%, #b7569a30, transparent 70%),
    radial-gradient(34% 28% at 24% 82%, #2f4fb040, transparent 70%);
  filter: blur(18px); will-change: transform; animation: nebula-drift 70s ease-in-out infinite alternate;
}
@keyframes nebula-drift { from { transform: translate3d(-1.5%, 0, 0) scale(1); } to { transform: translate3d(1.5%, -1.5%, 0) scale(1.06); } }
.bd-far, .bd-mid { position: absolute; inset: -4%; transform: translate3d(var(--far-x, 0), var(--far-y, 0), 0); will-change: transform; }
.bd-mid { inset: 0; transform: translate3d(var(--mid-x, 0), var(--mid-y, 0), 0); }
.bd-star { position: absolute; border-radius: 50%; background: #fff; box-shadow: 0 0 4px #fff8; will-change: transform, opacity; animation: twinkle 5s ease-in-out infinite alternate; }
@keyframes twinkle { from { transform: scale(0.8); opacity: 0.3; } to { transform: scale(1.25); opacity: 0.85; } }
.backdrop-mandala {
  position: absolute; left: 50%; top: 50%; width: max(138vmin, 820px); height: max(138vmin, 820px);
  transform: translate(-50%, -50%); opacity: 0.3;
}
/* desktop: calmer, the phone look stays as it is */
@media (min-width: 900px) {
  .backdrop-mandala { opacity: 0.19; }
  .bd-nebula { opacity: 0.7; }
}
.zodiac { filter: drop-shadow(0 0 5px #e7cf8e) drop-shadow(0 0 14px #e7cf8e88); animation: zglow 6s ease-in-out infinite alternate; }
@keyframes zglow { from { opacity: 0.55; } to { opacity: 1; } }
.backdrop.still .bd-nebula, .backdrop.still .bd-star, .backdrop.still .zodiac { animation: none; }
@media (prefers-reduced-motion: reduce) { .bd-nebula, .bd-star, .zodiac { animation: none; } }
.top, main { position: relative; z-index: 1; }
.nav { z-index: 2; }

/* commitment details and likes */
.info { background: none; color: var(--sky); font-size: 1.15rem; line-height: 1; padding: 6px; border-radius: 50%; flex: none; }
.info:hover { background: #8fc3e822; }
.commit-note { margin: 4px 0 0 36px; font-style: italic; }
.row .thumbs { flex: none; }

/* intro: bullet lists inside cards */
.intro-list { margin: 8px 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .9rem; }
.intro-list li { margin: 6px 0; }

/* collapsible intro cards */
.intro-step summary { display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
.intro-step summary::-webkit-details-marker { display: none; }
.intro-step .chev { color: var(--gold); font-size: 1.2rem; transition: transform 0.2s; transform: rotate(-90deg); flex: none; }
.intro-step[open] .chev { transform: none; }
.intro-step[open] .intro-teaser { display: none; }
.intro-teaser { font-size: .88rem; }
.intro-body { margin: 10px 0 2px 68px; }
.intro-step .intro-icon { padding-top: 2px; }
@media (max-width: 480px) { .intro-body { margin-left: 0; } }

/* language */
.nav small { font-size: inherit; }
.chip.lang { padding: 6px 12px; font-weight: 700; font-size: .85rem; color: var(--sky); }
.lang-pills { justify-content: center; margin: 6px 0 4px; }
.intro-inner > .lang-pills { margin-top: 4px; }

/* one hover for every button, an already pressed "done" stays quiet */
.btn, .status button, .pill, .chip, .nav button, .thumbs, .info { transition: filter 0.15s, transform 0.15s, background 0.15s, border-color 0.15s; }
@media (hover: hover) {
  .btn:hover, .status button:hover, .pill:hover, .chip:hover, .nav button:hover, .thumbs:hover, .info:hover { filter: brightness(1.18); transform: translateY(-1px); }
}
.status .yes.pressed { background: transparent; border: 1px solid #9ad1b566; color: var(--muted); font-weight: 400; }
.status .yes { border: 1px solid transparent; }

/* week view: compact rows and more room on large screens */
.row.compact { gap: 8px; }
.row.compact .info { padding: 2px 4px; }
.wgrid { gap: 4px; margin-top: 4px; }
.cell { height: 30px; border-radius: 8px; font-size: .9rem; }
.commit-note { margin: 2px 0 0 32px; font-size: .85rem; }
@media (min-width: 900px) {
  .cell { height: 36px; }
  body.wide .top, body.wide main { max-width: 1080px; }
}

/* access code sits below the introduction */
.gate-code { margin-top: 18px; box-shadow: 0 0 28px #b7a8e866; }

/* language switch with flags */
.flag { display: inline-flex; width: 22px; height: 15px; border-radius: 3px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px #ffffff22; }
.flag svg { width: 100%; height: 100%; display: block; }
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; background: var(--card2); border-radius: 99px; }
.lang-switch button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: none; color: var(--muted); font-weight: 600; font-size: .85rem; }
.lang-switch button.on { background: var(--lav); color: #1c1e26; }
.chip.lang { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; color: var(--text); }
.lang-pop { position: fixed; top: calc(54px + env(safe-area-inset-top)); right: 12px; z-index: 50; background: var(--card); padding: 6px; border-radius: 99px; border: 1px solid #ffffff1c; box-shadow: 0 10px 30px #0008; }
.lang-pills, .intro-inner > .lang-switch { margin: 6px auto 4px; display: flex; width: max-content; }

/* update banner */
.update-banner {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid #9ad1b566; border-radius: 16px;
  padding: 10px 12px 10px 18px; box-shadow: 0 10px 30px #0008; max-width: 92vw;
}
.update-banner .btn { width: auto; padding: 8px 16px; margin: 0; }

/* heavier wordmark */
.intro-word { font-weight: 600; letter-spacing: 0.3em; }

/* header: every control the same height and on one line */
.top { gap: 8px; }
.topbtns { display: flex; align-items: center; gap: 6px; }
.chip { height: 36px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.chip .avatar.small { width: 28px; height: 28px; font-size: .8rem; }

@media (max-width: 600px) {
  /* header: only the sign, no name, everything compact */
  .brand-text, .me-name { display: none; }
  .brand { font-size: 1.5rem; }
  .top { padding: calc(10px + env(safe-area-inset-top)) 12px 4px; }
  .topbtns { gap: 5px; }
  .chip { height: 34px; padding: 0 9px; }
  #meBtn { padding: 0 3px; }
  main { padding: 6px 12px 20px; }

  /* week: one line per commitment, no extra note line, flat cells */
  h1 { font-size: 1.3rem; margin-top: 6px; }
  .card { padding: 12px; margin: 8px 0; }
  .row.compact { gap: 6px; }
  .row.compact .grow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .row.compact .meta { font-size: .78rem; }
  .commit-note { display: none; }
  .wgrid { gap: 3px; margin-top: 3px; }
  .wgrid.head { margin-top: 8px; font-size: .62rem; }
  .cell { height: 24px; border-radius: 6px; font-size: .75rem; }
  .row.compact .thumbs { padding: 3px 8px; font-size: .8rem; }
  .row.compact .info { padding: 0 2px; font-size: 1rem; }
}

@media (max-width: 600px) {
  .avatar { width: 34px; height: 34px; font-size: .95rem; }
  .avatar.small { width: 28px; height: 28px; }
  .avatar.big { width: 72px; height: 72px; }
  .meta.center { font-size: .68rem; line-height: 1.35; }
  .intro-word { font-size: clamp(2rem, 11vw, 3rem); }
}

/* results: the same symbol on a strong colour everywhere */
.rb { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: .85rem; font-weight: 800; line-height: 1; color: #fff; vertical-align: middle; flex: none; }
.rb.yes { background: #2e9e63; }
.rb.partial { background: #dd8f12; }
.rb.no { background: #e0564b; }
.badge .rb { width: 28px; height: 28px; border-radius: 8px; font-size: 1.05rem; }
.cell.yes { background: #2e9e63; color: #fff; }
.cell.partial { background: #dd8f12; color: #fff; }
.cell.no { background: #e0564b; color: #fff; }
.cell { font-weight: 800; }
.status button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; }
.status .yes.pressed .rb { opacity: .8; }

/* header logo: wheel and the wordmark in the style of the start page */
.brand { display: flex; align-items: center; gap: 10px; font-size: 1rem; color: inherit; }
.brand-mark { display: inline-flex; line-height: 0; }
.brand-text {
  font-size: 1.15rem; font-weight: 600; letter-spacing: 0.3em;
  background: linear-gradient(90deg, #e7cf8e, #b7a8e8 60%, #8fc3e8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 600px) { .brand-mark svg { width: 32px; height: 32px; } }

/* planned weekdays: a free day looks neutral, not like a missed check-in */
.cell.rest { background: #ffffff08; box-shadow: inset 0 0 0 1px #ffffff10; }
.days-pills { justify-content: center; }
.days-pills .pill { min-width: 46px; justify-content: center; padding: 10px 8px; }

/* correction points: a flag on the profile, a pencil on a changed commitment */
.points, .fix { display: inline-flex; align-items: center; gap: 3px; padding: 1px 8px; border-radius: 99px; font-size: .75rem; font-weight: 700; vertical-align: middle; white-space: nowrap; }
.points { background: #e0564b33; color: #ffb4ac; border: 1px solid #e0564b88; }
.fix { background: #dd8f1233; color: #f0c070; border: 1px solid #dd8f1288; }
.warn { color: var(--peach); }
.btn.warn { background: var(--peach); color: #1c1e26; }

/* three result buttons side by side; the registered one is filled, the others step back */
.status.three { gap: 8px; }
.status.three button { flex: 1 1 0; min-width: 0; flex-direction: column; gap: 4px; padding: 12px 4px; font-size: 0.88rem; line-height: 1.2; border: 1px solid transparent; text-align: center; }
.status.three .yes { background: #2e9e6326; }
.status.three .partial { background: #dd8f1226; }
.status.three .no { background: #e0564b26; }
.status.three .on { border-color: currentColor; font-weight: 700; }
.status.three .yes.on { background: #2e9e6355; color: #bff0d5; }
.status.three .partial.on { background: #dd8f1255; color: #f6d99c; }
.status.three .no.on { background: #e0564b55; color: #f7beb8; }
.status.three .off { opacity: 0.55; }
.status.three .off:hover { opacity: 0.9; }
.feed-note { margin: 4px 0 0; font-style: italic; overflow-wrap: anywhere; }

/* daily saying: larger serif script, set apart from the date and the check-ins, with a faint lotus */
blockquote.quote {
  position: relative; margin: 14px 0 22px; padding: 18px 22px 18px 26px;
  border-left: 3px solid #e7cf8e99; border-radius: 4px 16px 16px 4px;
  background: linear-gradient(90deg, #e7cf8e14, transparent 85%);
  overflow: hidden;
}
blockquote.quote::after {
  content: ''; position: absolute; right: -6px; bottom: -8px; width: 130px; height: 90px; opacity: 0.22; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80' fill='none' stroke='%23e7cf8e' stroke-width='2'%3E%3Cg transform='translate(60 74)'%3E%3Cpath d='M0 0C-14-14-14-40 0-62C14-40 14-14 0 0Z' fill='%23e7cf8e' fill-opacity='.25'/%3E%3Cpath d='M0 0C-24-6-40-26-44-48C-24-40-6-24 0 0Z' fill='%23e7cf8e' fill-opacity='.18'/%3E%3Cpath d='M0 0C24-6 40-26 44-48C24-40 6-24 0 0Z' fill='%23e7cf8e' fill-opacity='.18'/%3E%3Cpath d='M0 0C-34 2-56-8-66-26C-42-26-14-16 0 0Z' fill='%23e7cf8e' fill-opacity='.12'/%3E%3Cpath d='M0 0C34 2 56-8 66-26C42-26 14-16 0 0Z' fill='%23e7cf8e' fill-opacity='.12'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
blockquote.quote p {
  position: relative; margin: 0; padding-right: 40px;
  font-family: Georgia, 'Palatino Linotype', 'Book Antiqua', Palatino, serif; font-style: italic;
  font-size: 1.4rem; line-height: 1.4; color: #f1e2b0; text-shadow: 0 0 22px #e7cf8e44;
}
@media (min-width: 900px) { blockquote.quote p { font-size: 1.65rem; } }
.plan-actions { margin-top: 10px; gap: 10px; align-items: stretch; } .plan-actions .btn { margin: 0; }

/* reminder for yesterday's missing entries */
.late-card { border-color: #e7cf8e66; background: linear-gradient(180deg, rgba(60, 50, 30, 0.7), rgba(30, 26, 22, 0.66)); }
.late-item { margin-top: 12px; }
.late-item + .late-item { border-top: 1px solid #ffffff18; padding-top: 12px; }
.late-badge { color: #e7cf8e; font-size: .85rem; }

/* hidden tab: pause all CSS animations (set from app.js) */
html.tab-hidden *, html.tab-hidden *::before, html.tab-hidden *::after { animation-play-state: paused !important; }
