:root, .dark-scope {
  --bg: #07090D;
  --card: #15181F;
  --card-2: #1B1F28;
  --line: rgba(255,255,255,.07);
  --text: #F3F3F6;
  --muted: #8C919D;
  --faint: #545967;
  --teal: #5FD4C2;
  --teal-deep: #2E8F84;
  --sand: #E6C48F;
  --lavender: #B39DF0;
  --amber: #E9A94B;
  --chip: rgba(255,255,255,.08);
  --tabbar: rgba(7,9,13,.94);
  --grid: rgba(255,255,255,.05);
  --shadow: none;
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #F3F1ED;
  --card: #FFFFFF;
  --card-2: #F7F5F2;
  --line: rgba(22,24,29,.08);
  --text: #16181D;
  --muted: #6A6E77;
  --faint: #A5A8AF;
  --teal: #2A9D8F;
  --teal-deep: #2E8F84;
  --sand: #C99A55;
  --lavender: #8C74D8;
  --amber: #D9892B;
  --chip: rgba(22,24,29,.06);
  --tabbar: rgba(243,241,237,.94);
  --grid: rgba(22,24,29,.06);
  --shadow: 0 1px 2px rgba(22,24,29,.04), 0 8px 24px rgba(22,24,29,.05);
  color-scheme: light;
}
.dark-scope { background: var(--bg); color: var(--text); }
:root {
  --radius: 22px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
body { min-height: 100vh; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: var(--text); }
svg { display: block; }

.screen { max-width: 480px; margin: 0 auto; padding: 0 18px calc(var(--safe-bottom) + 110px); position: relative; }

/* Top bar */
.topbar { display: flex; justify-content: space-between; align-items: flex-start; padding: calc(var(--safe-top) + 14px) 0 0; position: relative; z-index: 2; }
.brand { font-size: 20px; font-weight: 400; letter-spacing: .01em; }
.brand small { display: block; font-size: 12px; color: rgba(255,255,255,.55); margin-top: 3px; letter-spacing: 0; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--chip); color: var(--text); display: grid; place-items: center; }
.icon-btn svg { width: 20px; height: 20px; }

/* Landscape hero (photo) */
.hero { position: relative; margin: 0 -18px; padding: 0 18px 48px; overflow: hidden; color: #fff; }
.sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: #1B1E2A; }
.sky img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sky::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,.22) 80%, var(--bg) 100%); }
.hero > *:not(.sky) { position: relative; z-index: 1; }
.hero .icon-btn { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero .brand small, .hero .day .sub { color: rgba(255,255,255,.8); }
.hero .ring .lbl { color: rgba(255,255,255,.8); }
.hero .ring .val { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.day .big, .hero .brand { text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.day { text-align: center; margin-top: 26px; }
.day .big { font-size: 64px; font-weight: 200; letter-spacing: -.02em; line-height: 1; }
.day .sub { color: rgba(255,255,255,.7); font-size: 15px; margin-top: 10px; }

/* Rings */
.rings { display: flex; justify-content: space-around; margin: 30px 0 8px; }
.ring { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 96px; }
.ring .wrap { position: relative; width: 92px; height: 92px; }
.ring svg { width: 92px; height: 92px; transform: rotate(-90deg); }
.ring .val { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; font-weight: 300; }
.ring .lbl { font-size: 14px; color: var(--muted); }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-top: 14px; box-shadow: var(--shadow); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.card-head h3 { margin: 0; font-size: 18px; font-weight: 500; }
.card-head span { font-size: 13px; color: var(--muted); }
.insight { display: flex; gap: 14px; align-items: flex-start; }
.insight .ico { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.insight .ico svg { width: 18px; height: 18px; }
.insight h4 { margin: 0 0 4px; font-size: 17px; font-weight: 500; }
.insight p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.section-title { margin: 30px 2px 2px; font-size: 22px; font-weight: 500; }
.section-sub { margin: 4px 2px 0; color: var(--muted); font-size: 14px; }

.habit { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.habit:last-child { border-bottom: 0; padding-bottom: 4px; }
.check { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--faint); flex: none; display: grid; place-items: center; transition: all .2s; }
.habit.done .check { background: var(--teal); border-color: var(--teal); }
.habit.done .check::after { content: ""; width: 10px; height: 5px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: rotate(-45deg) translate(1px,-1px); }
.habit .name { flex: 1; font-size: 16px; }
.habit.done .name { color: var(--teal); }
.habit .meta { font-size: 13px; color: var(--muted); }
.chev { color: var(--faint); width: 16px; height: 16px; flex: none; }

.fab-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 24px; }
.fab { width: 66px; height: 66px; border-radius: 50%; background: var(--teal-deep); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(95,212,194,.18); }
.fab svg { width: 24px; height: 24px; margin-left: 3px; }
.fab-wrap span { font-size: 14px; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 26px; font-size: 17px; font-weight: 500; }
.btn.primary { background: var(--teal-deep); color: #fff; }
.btn.light { background: var(--text); color: var(--bg); }
.btn.ghost { border: 1px solid rgba(255,255,255,.25); color: var(--text); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .35; }
.link { color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* Tab bar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--tabbar); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line); padding: 8px 0 calc(var(--safe-bottom) + 8px); }
.tabbar .inner { max-width: 480px; margin: 0 auto; display: flex; justify-content: space-around; }
.tab { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: var(--faint); width: 90px; padding: 4px 0; position: relative; }
.tab svg { width: 24px; height: 24px; }
.tab.active { color: var(--text); }
.tab.active::before { content: ""; position: absolute; top: -9px; width: 28px; height: 2px; border-radius: 1px; background: var(--teal); }

/* Page header (Verlauf/Zyklus) */
.page-head { padding: calc(var(--safe-top) + 14px) 0 0; }
.page-head .row1 { display: flex; justify-content: space-between; align-items: center; }
.page-head h1 { font-size: 30px; font-weight: 500; margin: 18px 0 0; }
.seg { display: flex; background: var(--card); border-radius: 14px; padding: 3px; gap: 2px; }
.seg button { padding: 7px 12px; border-radius: 11px; font-size: 13px; color: var(--muted); }
.seg button.on { background: var(--card-2); color: var(--text); }
.kpi { display: flex; align-items: baseline; gap: 6px; margin-top: 16px; }
.kpi b { font-size: 44px; font-weight: 300; letter-spacing: -.01em; }
.kpi span { font-size: 20px; color: var(--text); }
.kpi-sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.chart svg { width: 100%; height: 150px; margin-top: 14px; overflow: visible; }

.heat-title { display: flex; justify-content: space-between; margin-top: 22px; font-size: 14px; color: var(--muted); }
.heat { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-top: 10px; }
.heat .cell { aspect-ratio: 1; border-radius: 6px; border: 1px solid var(--line); position: relative; }
.heat .cell.today { border-color: var(--text); }
.heat .num { font-size: 10px; color: var(--faint); text-align: center; margin-bottom: 3px; }
.legend { display: flex; gap: 14px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }

.goal { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin-top: 10px; box-shadow: var(--shadow); }
.goal .ico { width: 38px; height: 38px; border-radius: 12px; background: var(--card-2); display: grid; place-items: center; color: var(--muted); flex: none; }
.goal .ico svg { width: 20px; height: 20px; }
.goal .body { flex: 1; }
.goal .top { display: flex; justify-content: space-between; font-size: 15px; }
.goal .top span:last-child { color: var(--muted); font-size: 13px; }
.bar { height: 4px; border-radius: 2px; background: var(--line); margin-top: 9px; overflow: hidden; }
.bar > div { height: 100%; border-radius: 2px; background: var(--teal); }
.list-head { display: flex; justify-content: space-between; align-items: baseline; margin: 28px 2px 4px; }
.list-head h2 { margin: 0; font-size: 18px; font-weight: 500; }
.list-head span { color: var(--muted); font-size: 13px; }
.empty { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Cycle */
.cycle-hero { position: relative; border-radius: var(--radius); overflow: hidden; margin-top: 18px; padding: 22px 20px; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; }
.cycle-hero { color: #fff; }
.cycle-hero .sky::after { background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 100%); }
.cycle-hero > *:not(.sky) { position: relative; z-index: 1; }
.cycle-hero .tl-labels { color: rgba(255,255,255,.8); }
.cycle-hero .timeline .marker { background: #fff; }
.cycle-hero .eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.cycle-hero h2 { margin: 6px 0 4px; font-size: 28px; font-weight: 400; }
.cycle-hero p { margin: 0; color: rgba(255,255,255,.75); font-size: 14px; }
.timeline { display: flex; gap: 4px; margin-top: 20px; position: relative; }
.timeline .s { height: 8px; border-radius: 4px; }
.timeline .marker { position: absolute; top: -6px; width: 2px; height: 20px; background: var(--text); border-radius: 1px; }
.tl-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }
.row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; gap: 12px; width: 100%; text-align: left; }
.row:last-child { border-bottom: 0; }
.row .muted { color: var(--muted); font-size: 13px; }
.row input[type=time] { background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; color-scheme: dark; }
.danger { color: #E9837A; }

/* Onboarding */
.ob { max-width: 480px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; padding: calc(var(--safe-top) + 22px) 24px calc(var(--safe-bottom) + 24px); position: relative; }
.ob .steps { display: flex; gap: 6px; margin-bottom: 34px; }
.ob .steps div { flex: 1; height: 3px; border-radius: 2px; background: var(--line); }
.ob .steps div.on { background: var(--text); }
.ob h1 { font-size: 34px; font-weight: 300; letter-spacing: -.01em; margin: 0 0 10px; line-height: 1.15; }
.ob p.lead { color: var(--muted); font-size: 16px; line-height: 1.5; margin: 0 0 26px; }
.ob .grow { flex: 1; }
.ob .back { color: var(--muted); font-size: 15px; margin-top: 14px; text-align: center; width: 100%; }
.ob-welcome { margin: 0 -24px; padding: 0 24px; position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; min-height: 52vh; }
.ob-welcome { color: #fff; margin-top: calc(-1 * (var(--safe-top) + 22px)); padding-top: calc(var(--safe-top) + 22px); }
.ob-welcome .sky { inset: 0 0 0 0; }
.ob-welcome .sky::after { background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.35) 70%, var(--bg) 100%); }
.ob-welcome .lead { color: rgba(255,255,255,.85) !important; }
.ob-welcome > *:not(.sky) { position: relative; z-index: 1; }
.field { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; font-size: 17px; outline: none; }
.field:focus { border-color: rgba(255,255,255,.25); }
.choice { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; margin-bottom: 10px; }
.choice.on { border-color: var(--teal); background: rgba(95,212,194,.07); }
.choice .t { font-size: 17px; }
.choice .d { font-size: 13px; color: var(--muted); margin-top: 3px; }
.choice .lv { font-size: 12px; color: var(--muted); white-space: nowrap; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 10px 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); font-size: 14px; }
.pill.on { border-color: var(--teal); color: var(--teal); background: rgba(95,212,194,.07); }
.fixed-rule { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: var(--muted); font-size: 15px; border-bottom: 1px solid var(--line); }
.fixed-rule:last-child { border-bottom: 0; }
.fixed-rule b { color: var(--text); font-weight: 500; }
.counter { font-size: 13px; color: var(--muted); margin: 18px 0 10px; }
.time-row { display: flex; gap: 12px; }
.time-row label { flex: 1; font-size: 13px; color: var(--muted); }
.time-row input { margin-top: 8px; color-scheme: dark; }

/* Focus overlay */
.overlay { position: fixed; inset: 0; z-index: 50; background: var(--bg); overflow-y: auto; animation: fade .25s ease; }
.focus-screen { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: calc(var(--safe-top) + 16px) 24px calc(var(--safe-bottom) + 28px); position: relative; }
.focus-screen > .sky { position: fixed; }
.focus-screen > .sky::after { background: linear-gradient(180deg, rgba(5,10,14,.45) 0%, rgba(5,10,14,.55) 45%, rgba(7,9,13,.92) 80%, #07090D 100%); }
.focus-screen > *:not(.sky) { position: relative; z-index: 1; }
.focus-screen .bar-top { width: 100%; max-width: 440px; display: flex; justify-content: space-between; align-items: center; }
.focus-screen .title { text-align: center; }
.focus-screen .title b { display: block; font-weight: 400; font-size: 20px; }
.focus-screen .title small { font-size: 10px; letter-spacing: .24em; color: var(--muted); }
.focus-label { margin-top: 34px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8); text-align: center; }
.timer-ring { position: relative; width: 290px; height: 290px; margin: 26px 0 18px; }
.timer-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); filter: drop-shadow(0 0 12px rgba(95,212,194,.35)); }
.timer-ring .center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.timer-ring .time { font-size: 72px; font-weight: 200; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.timer-ring .of { color: var(--muted); font-size: 15px; letter-spacing: .08em; margin-top: 4px; }
.sprint { font-size: 19px; letter-spacing: .06em; margin-bottom: 22px; color: rgba(255,255,255,.85); }
.durations { display: flex; gap: 8px; margin-bottom: 22px; }
.timer-actions { display: flex; gap: 14px; width: 100%; max-width: 360px; }
.timer-actions .btn { flex: 1; }
.timer-stats { display: flex; width: 100%; max-width: 360px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.timer-stats div { flex: 1; text-align: center; font-size: 15px; color: var(--muted); }
.timer-stats div + div { border-left: 1px solid var(--line); }
.timer-stats b { color: var(--text); font-weight: 300; display: block; font-size: 28px; margin-top: 6px; }
.motto { margin-top: auto; padding-top: 30px; font-size: 10px; letter-spacing: .3em; color: var(--faint); }

/* Sheet */
.backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 60; animation: fade .2s ease; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; background: var(--card-2); border-radius: 26px 26px 0 0;
  padding: 10px 22px calc(var(--safe-bottom) + 22px); max-width: 520px; margin: 0 auto; animation: up .28s cubic-bezier(.2,.8,.2,1); max-height: 90vh; overflow-y: auto; }
.sheet .grab { width: 38px; height: 5px; border-radius: 3px; background: var(--faint); margin: 0 auto 18px; }
.sheet h2 { font-size: 22px; font-weight: 400; margin: 0 0 6px; }
.sheet .lead { color: var(--muted); font-size: 14px; margin: 0 0 16px; line-height: 1.5; }
.sheet label.l { display: block; font-size: 13px; color: var(--muted); margin: 18px 0 10px; }
.sheet .steps-list { margin: 0; padding-left: 20px; color: var(--text); font-size: 15px; line-height: 1.9; }
textarea.field { min-height: 80px; resize: none; }
.toast { position: fixed; left: 50%; bottom: calc(var(--safe-bottom) + 96px); transform: translateX(-50%); background: var(--card-2); border: 1px solid var(--line);
  padding: 12px 18px; border-radius: 20px; font-size: 14px; z-index: 80; animation: fade .2s ease; white-space: nowrap; }
.banner { display: flex; gap: 12px; align-items: center; background: rgba(95,212,194,.08); border: 1px solid rgba(95,212,194,.25); border-radius: 18px; padding: 14px 16px; margin-top: 14px; font-size: 14px; text-align: left; width: 100%; }
.banner b { font-weight: 500; }
.banner span { color: var(--muted); display: block; margin-top: 2px; font-size: 13px; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes up { from { transform: translateY(100%) } to { transform: translateY(0) } }

/* Bare Minimum */
.minimum { position: relative; overflow: hidden; border-radius: var(--radius); margin-top: 14px; padding: 18px; display: flex; gap: 14px; align-items: center; width: 100%; text-align: left;
  background: linear-gradient(135deg, rgba(95,212,194,.16), rgba(179,157,240,.12)); border: 1px solid rgba(95,212,194,.35); box-shadow: var(--shadow); }
.minimum .check { width: 32px; height: 32px; }
.minimum.done .check { background: var(--teal); border-color: var(--teal); }
.minimum.done .check::after { content: ""; width: 12px; height: 6px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: rotate(-45deg) translate(1px,-1px); }
.minimum .eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.minimum .what { font-size: 18px; margin-top: 3px; }
.minimum .hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.minimum.empty-min { background: var(--card); border-style: dashed; }

/* iOS install guide */
.ios-guide { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.62); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 20px 16px calc(var(--safe-bottom) + 70px); animation: fade .2s ease; }
.ig-card { width: 100%; max-width: 420px; background: var(--card-2); color: var(--text); border-radius: 24px; padding: 24px 22px 20px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.ig-icon { width: 64px; height: 64px; border-radius: 15px; margin: 0 auto 14px; display: block; }
.ig-card h2 { font-size: 21px; font-weight: 500; margin: 0 0 6px; }
.ig-card p { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.ig-card ol { text-align: left; margin: 0 0 20px; padding-left: 22px; font-size: 15.5px; line-height: 1.45; }
.ig-card li { margin-bottom: 10px; }
.ig-card ol span { color: var(--muted); font-size: 13px; }
.ig-arrow { color: #fff; width: 34px; height: 34px; margin-top: 14px; animation: bob 1.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(8px) } }

/* Theme-specific hero photo */
.sky .img-light { display: none; }
html[data-theme="light"] .hero .sky .img-dark { display: none; }
html[data-theme="light"] .hero .sky .img-light { display: block; }
html[data-theme="light"] .hero .sky { background: #F6E9DF; }
html[data-theme="light"] .hero .sky::after { background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 55%, rgba(243,241,237,.55) 80%, var(--bg) 100%); }
html[data-theme="light"] .hero { color: #1E2230; }
html[data-theme="light"] .hero .brand, html[data-theme="light"] .day .big { text-shadow: 0 1px 14px rgba(255,255,255,.45); }
html[data-theme="light"] .hero .brand small, html[data-theme="light"] .hero .day .sub, html[data-theme="light"] .hero .ring .lbl { color: rgba(30,34,48,.68); }
html[data-theme="light"] .hero .ring .val { color: #1E2230; text-shadow: none; }
html[data-theme="light"] .hero .ring svg circle:first-child { stroke: rgba(30,34,48,.10); }
html[data-theme="light"] .hero .icon-btn { background: rgba(255,255,255,.5); color: #1E2230; }

/* Daily quote */
.quote { display: block; width: 100%; text-align: center; margin: 22px auto 0; max-width: 330px; font-size: 14.5px; line-height: 1.45; font-style: italic; color: inherit; opacity: .92; text-shadow: 0 1px 10px rgba(0,0,0,.25); }
.quote cite { display: block; font-style: normal; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; margin-top: 8px; opacity: .75; }
html[data-theme="light"] .quote { text-shadow: 0 1px 12px rgba(255,255,255,.5); }
.hero .quote + .day { margin-top: 14px; }

/* ---------- Sign in ---------- */
.auth .lead a { color: var(--teal); }
.auth .code-field { font-size: 26px; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.auth-err { margin: 12px 2px 0; color: #F08A7E; font-size: 14px; line-height: 1.45; }
.auth-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 16px; }
.auth-links .link { background: none; border: 0; padding: 6px 0; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
a.btn { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.auth .code-field::placeholder { letter-spacing: normal; font-size: 17px; }

/* ---------- Bare minimum guide ---------- */
.min-guide { margin-top: 18px; border: 1px solid var(--line); border-radius: 16px; padding: 4px 16px; }
.min-guide summary { cursor: pointer; padding: 12px 0; font-size: 15px; color: var(--teal); list-style: none; }
.min-guide summary::-webkit-details-marker { display: none; }
.min-guide summary::after { content: ' +'; }
.min-guide[open] summary::after { content: ' –'; }
.min-guide p, .min-guide li { font-size: 14px; line-height: 1.5; color: var(--muted); }
.min-guide p { margin: 0 0 10px; }
.min-guide b { color: var(--text); font-weight: 500; }
.min-guide ol { margin: 0 0 12px; padding-left: 18px; }
.min-guide li { margin-bottom: 8px; }
.min-guide .ideas-head { margin: 4px 0 8px; color: var(--text); }
.min-guide .pill-row { margin-bottom: 12px; }
.min-prompt { white-space: pre-wrap; font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text); background: var(--chip); border-radius: 12px; padding: 12px; margin: 0 0 12px; max-height: 180px; overflow: auto; user-select: text; -webkit-user-select: text; }
html[data-theme="light"] .btn.ghost:not(.dark-scope .btn) { border-color: rgba(22,24,29,.22); }
