[hidden]{display:none!important}body{margin:0}img{max-width:100%}

/* Layout: one narrow column like a phone app — day strip, today's habits, journal; bottom tab bar */
:root {
  /* Lever du soleil : base pêche, ciel lavande → rose → pêche en haut, mauve pour ce qui est accompli, orange soleil pour l’action */
  --bg: #FFFAF6; --surface: #FDEDE3; --surface-2: #F8D6C4; --ink: #2B1A3A; --muted: #66506F;
  --line: #EED5C6; --accent: #F2853F; --accent-soft: #FFE4D2; --accent-ink: #A5420C; --on-accent: #2B1A3A;
  --mauve: #8E5BD8; --mauve-soft: #EFE4FC; --mauve-ink: #6B3FB5;
  --panel: linear-gradient(120deg, #CDB3F7 0%, #F3A8CC 50%, #FFBE96 100%); --panel-solid: #E9A9D0;
  --on-panel: #2B1A3A; --on-panel-muted: #4E3558; --on-panel-hi: #7A2A08; --done: #8E5BD8;
  --sunrise: linear-gradient(90deg, #8E5BD8, #E46AA6 55%, #F2853F);
  --sky: linear-gradient(180deg, #DCCBFA 0px, #F0C9E6 110px, #FBD0CB 200px, #FFDFC9 280px, #FFFAF6 430px);
  --display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
body { background: radial-gradient(circle at 84% 64px, rgba(255,214,150,.75) 0, rgba(255,190,140,.25) 60px, transparent 140px) no-repeat, var(--sky) no-repeat, var(--bg); background-color: var(--bg); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.45; overflow-x: hidden;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0 calc(88px + env(safe-area-inset-bottom, 0px)); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: #E4D9FA; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 560px; width: 100%; min-width: 0; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.wrap > * { min-width: 0; max-width: 100%; }

header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: rgba(250, 238, 246, .78); border-radius: 0 0 16px 16px; padding-inline: 12px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px 10px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.logo span { color: var(--accent-ink); }
.streak { display: flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.7);
  font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.streak b { font-family: var(--display); font-size: 15px; }

.banner { padding: 10px 14px; border-radius: 12px; background: var(--accent-soft); font-size: 13px; }

.strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.chip { flex: none; width: 44px; padding: 6px 0 8px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  display: flex; flex-direction: column; align-items: center; gap: 2px; scroll-snap-align: center; }
.chip small { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.chip b { font-family: var(--display); font-size: 17px; font-variant-numeric: tabular-nums; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.chip.part i { background: var(--accent); }
.chip.full i { background: var(--done); }
.chip.sel { background: var(--panel); border-color: #FFFFFF; color: var(--on-panel); box-shadow: 0 4px 14px rgba(160,110,170,.25); }
.chip.sel small { color: var(--on-panel-muted); }
.chip.today:not(.sel) { border-color: var(--accent); }

.dayhead { display: flex; flex-direction: column; gap: 4px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; color: var(--mauve-ink); text-transform: uppercase; }
h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 7.5vw, 34px); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.15; text-wrap: balance; }
.sub { color: var(--muted); font-size: 14px; }
.bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar > div { height: 100%; background: var(--sunrise); border-radius: 999px; transition: width .3s; }

.habits { display: flex; flex-direction: column; gap: 10px; }
.habit { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--surface); }
.habit.done { background: var(--mauve-soft); }
.check { flex: none; width: 36px; height: 36px; border-radius: 10px; border: 2px solid var(--muted); background: var(--bg);
  display: grid; place-items: center; }
.check svg { width: 18px; height: 18px; opacity: 0; }
.habit.done .check { background: var(--accent); border-color: var(--accent); }
.habit.done .check svg { opacity: 1; stroke: var(--on-accent); }
.habit-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.habit-title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.habit-title b { font-family: var(--display); font-size: 17px; }
.tag { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tag.new { color: var(--on-accent); background: var(--accent); padding: 1px 8px; border-radius: 999px; }
.ref { font-weight: 700; }
.detail { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.timer { align-self: flex-start; margin-top: 4px; padding: 5px 11px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--bg); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.timer.run { background: var(--panel); color: var(--on-panel); border-color: var(--panel-solid); }

.block { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); }
.block.gold { border: 2px solid var(--accent); }
.block .head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.field { display: flex; align-items: center; gap: 10px; }
.field span { width: 18px; font-family: var(--display); font-weight: 700; color: var(--muted); }
input[type="text"], textarea { width: 100%; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); }
textarea { resize: vertical; min-height: 84px; }
label.q { font-weight: 600; font-size: 15px; display: flex; flex-direction: column; gap: 6px; }

.tasks { display: flex; flex-direction: column; gap: 6px; }
.task { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.task .tcheck { flex: none; width: 26px; height: 26px; border-radius: 7px; border: 2px solid var(--muted); background: var(--bg); display: grid; place-items: center; }
.task .tcheck svg { width: 15px; height: 15px; opacity: 0; stroke: var(--on-accent); }
.task.done .tcheck { background: var(--accent); border-color: var(--accent); }
.task.done .tcheck svg { opacity: 1; }
.task.done .ttext { text-decoration: line-through; color: var(--muted); }
.ttext { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.del { flex: none; width: 36px; height: 36px; border: 0; background: none; color: var(--muted); font-size: 20px; border-radius: 8px; }
.addrow { display: flex; gap: 8px; }
.btn { flex: none; padding: 10px 16px; border-radius: 10px; border: 0; background: var(--panel); color: var(--on-panel); font-weight: 600; }
.empty { font-size: 14px; color: var(--muted); }

/* Calendar */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal .wd { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); text-align: center; }
.cday { aspect-ratio: 1; max-width: 100%; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; }
.cday b { font-family: var(--display); font-size: 18px; font-variant-numeric: tabular-nums; }
.dots { display: flex; gap: 3px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--surface-2); }
.dots i.on { background: var(--mauve); }
.cday.full { background: var(--mauve-soft); border-color: var(--mauve); }
.cday.sat { border-color: var(--accent); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.weeks { display: flex; flex-direction: column; gap: 8px; }
.wk { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--surface); }
.wk b { font-family: var(--display); font-size: 17px; }
.wk span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Guide */
.temps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.temps div { padding: 14px; border-radius: 14px; background: var(--surface); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.temps b { font-family: var(--display); font-size: 18px; }
.temps p { margin: 0; font-size: 14px; color: var(--muted); }
.temps em { font-size: 14px; }
.rules { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.plan { display: flex; flex-direction: column; }
.plan div { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.plan .d { width: 56px; flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.plan .r { width: 64px; flex: none; font-weight: 700; }
.plan .t { flex: 1; min-width: 0; color: var(--muted); }
.panel { padding: 20px; border-radius: 18px; background: var(--panel); color: var(--on-panel); display: flex; flex-direction: column; gap: 8px; }
.panel p { margin: 0; color: var(--on-panel-muted); font-size: 15px; }
.panel a { color: var(--on-panel-hi); font-weight: 700; }

/* Journal */
.jentry { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.jentry small { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.jentry ol { margin: 0; padding-left: 20px; }
.toast[hidden] { display: none !important; }
.how { display: flex; flex-direction: column; gap: 10px; }
.how div { display: flex; gap: 12px; align-items: flex-start; }
.how .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 14px; }
.how p { margin: 0; font-size: 14px; }
.prog { display: flex; flex-direction: column; gap: 6px; }
.prog div { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface); }
.pw { width: 52px; flex: none; font-size: 12px; font-weight: 700; color: var(--mauve-ink); }
.pt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pt b { font-size: 15px; } .pt small { font-size: 12px; color: var(--muted); }
.pm { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gh { margin-top: 6px; }
details.acc { gap: 0; }
details.acc[open] { gap: 10px; }
details.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary span { display: flex; flex-direction: column; }
details.acc summary b { font-family: var(--display); font-size: 18px; }
details.acc summary small { font-size: 12px; color: var(--mauve-ink); font-weight: 600; }
details.acc summary::after { content: "+"; font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--accent-ink); }
details.acc[open] summary::after { content: "−"; }
.block.verset { background: var(--panel); border-color: transparent; color: var(--on-panel); }
.block.verset textarea, .block.verset input { background: rgba(255,255,255,.75); border-color: rgba(255,255,255,.9); }
.block.verset .hint-s { color: var(--on-panel-muted); }
.wverse { margin-top: 4px; font-size: 13px; font-style: italic; color: var(--mauve-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.steps6 { display: flex; flex-direction: column; gap: 8px; }
.steps6 div { padding: 12px 14px; border-radius: 14px; background: var(--surface); display: flex; flex-direction: column; gap: 4px; }
.steps6 b { font-family: var(--display); font-size: 17px; }
.steps6 p { margin: 0; font-size: 14px; color: var(--muted); }
.steps6 em { font-size: 14px; color: var(--mauve-ink); }
.answer { display: flex; gap: 8px; margin-top: 8px; }
.ans { flex: 1; min-height: 40px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 600; font-size: 14px; }
.ans.yes.on { background: var(--mauve); border-color: var(--mauve); color: #FFFFFF; }
.ans.no.on { background: var(--surface-2); border-color: var(--surface-2); color: var(--muted); }
.habit.skipped { background: var(--bg); border: 1.5px dashed var(--line); }
.habit.skipped .habit-title b { color: var(--muted); }
.toast { position: fixed; z-index: 20; left: 50%; top: 42%; transform: translate(-50%, -50%); width: min(320px, calc(100vw - 48px));
  padding: 22px 20px; border-radius: 22px; background: var(--panel); color: var(--on-panel); box-shadow: 0 18px 40px rgba(110, 70, 120, .25);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; cursor: pointer; }
.toast.in { animation: pop .4s cubic-bezier(.2, .9, .3, 1.3); }
.t-emo { font-size: 44px; line-height: 1; }
.t-body { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.t-body b { font-size: 22px !important; }
.t-body b { font-family: var(--display); font-size: 19px; }
.t-body span { font-size: 15px; line-height: 1.4; }
.t-body small { font-size: 12px; font-weight: 700; color: var(--on-panel-hi); }
.t-body small:empty { display: none; }
.burst { position: fixed; inset: 0; pointer-events: none; z-index: 19; overflow: hidden; }
.burst span { position: absolute; bottom: 90px; animation: floatup 1.9s ease-out forwards; }
@keyframes floatup { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(var(--dx), -60vh) scale(1.1); opacity: 0; } }
@keyframes pop { from { transform: translate(-50%, -50%) scale(.85); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
@keyframes rise { from { transform: translateY(24px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.trow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.trow .timer { margin-top: 0; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper button { width: 34px; height: 32px; border: 0; background: none; font-size: 17px; font-weight: 700; color: var(--ink); border-radius: 999px; }
.stepper button:disabled { color: var(--line); cursor: default; }
.stepper span { min-width: 48px; text-align: center; }
.reprise { display: block; margin-top: 6px; font-size: 13px; color: var(--ink); }
.stop { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.stop input { font-weight: 500; }
.bilanlink { width: 100%; text-align: left; padding: 14px 16px; border-radius: 16px; border: 0; background: var(--panel); color: var(--on-panel); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bilanlink > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bilanlink .eyebrow { color: var(--on-panel-hi); }
.bilanlink b { font-family: var(--display); font-size: 19px; }
.bl-sub { font-size: 13px; color: var(--on-panel-muted); }
.bilanlink svg { width: 22px; height: 22px; flex: none; color: var(--on-panel-hi); }
.back { align-self: flex-start; display: flex; align-items: center; gap: 4px; padding: 8px 10px 8px 4px; border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 14px; }
.back svg { width: 18px; height: 18px; }
.pills { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.pill { flex: none; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font-size: 13px; font-weight: 600; }
.pill.on { background: var(--panel); color: var(--on-panel); border-color: var(--panel-solid); }
.mrow { display: flex; align-items: center; gap: 12px; }
.mrow small { width: 44px; flex: none; font-size: 12px; font-weight: 600; color: var(--muted); }
.mrow .mstrip { flex: 1; }
button.wk { width: 100%; text-align: left; border: 0; color: inherit; }
.moods { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.mood { min-height: 56px; padding: 6px 2px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); font-size: 11px; font-weight: 600; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; line-height: 1.15; text-align: center; }
.mood .emo { font-size: 26px; line-height: 1; }
.mood.on { background: var(--accent-soft); border-color: var(--accent); border-width: 2px; }
.mood:not(.on) .emo { filter: saturate(.6); }
.hint-s { font-size: 13px; font-weight: 600; color: var(--muted); }
.mstrip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; max-width: 320px; }
.mcol { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.mcol small { font-size: 11px; color: var(--muted); }
.mtrack { width: 100%; height: 44px; border-radius: 6px; background: var(--surface-2); display: flex; align-items: flex-end; overflow: hidden; }
.mfill { width: 100%; background: linear-gradient(0deg, #F2853F, #E46AA6 50%, #8E5BD8); border-radius: 6px; }
.whycard { text-align: left; width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px dashed var(--accent); background: var(--accent-soft); display: flex; flex-direction: column; gap: 2px; }
.whycard .wtext { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.empty-why .wtext { font-weight: 600; }
.btn.go { width: 100%; padding: 14px; font-size: 16px; }
.verse { padding: 16px; border-radius: 16px; background: var(--panel); color: var(--on-panel); display: flex; flex-direction: column; gap: 6px; }
.verse .eyebrow { color: var(--accent); }
.vtext { margin: 0; font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.35; text-wrap: pretty; }
.vtodo { font-weight: 500; color: var(--on-panel-muted); font-size: 15px; }
.vref { font-size: 13px; font-weight: 600; color: var(--on-panel-muted); }
.decl { margin: 6px 0 0; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.3); font-size: 15px; display: flex; flex-direction: column; gap: 2px; }
.decl b { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.jentry > span { overflow-wrap: anywhere; }
.smorp { gap: 4px; }
.smorp .sl { display: flex; align-items: baseline; gap: 8px; font-family: var(--display); font-size: 16px; }
.smorp .sl b { color: var(--accent-ink); font-size: 20px; width: 18px; }
.smorp .hint { font-weight: 400; font-size: 13px; color: var(--muted); }
.smorp textarea { min-height: 56px; }

nav.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: var(--bg); border-top: 1px solid var(--line);
  padding: 8px max(16px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
nav.tabs .in { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }
nav.tabs button { min-height: 48px; border: 0; border-radius: 12px; background: none; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 600; }
nav.tabs button svg { width: 20px; height: 20px; }
nav.tabs button[aria-current="page"] { color: var(--ink); background: var(--surface); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
/* Défi 5 — front presentation */
:root{--display:'Bricolage Grotesque',sans-serif;--body:'Figtree',sans-serif}
html{scroll-behavior:smooth}body{font-size:16px;background:var(--bg);padding-top:0}
.skip-link{position:fixed;top:-100px;left:16px;z-index:50;background:var(--ink);color:white;padding:12px;border-radius:10px}.skip-link:focus{top:12px}
.brand-rail{display:none}.app-shell{max-width:620px;gap:23px;position:relative}
header.top{padding:20px 4px 16px;background:rgba(255,250,246,.9);border-radius:0;border-bottom:1px solid var(--line)}
.logo{font-size:29px;line-height:1.1}.logo small{display:block;font-family:var(--body);font-size:10px;letter-spacing:.07em;font-weight:500;color:var(--muted);margin-top:6px}.streak{background:#f0e7f8;font-size:11px;padding:8px 10px}.streak b{color:var(--mauve-ink)}
.dayhead{padding:18px 0 8px;gap:14px}.dayhead h1{font-size:clamp(34px,8vw,52px);line-height:1.04;letter-spacing:-.055em}.dayhead h1 em{font-style:normal;color:var(--mauve-ink)}.dayhead .sub{font-size:16px;line-height:1.65;max-width:460px}.eyebrow{font-size:10px;letter-spacing:.16em}
.block{padding:22px;border-radius:22px;background:#fffdfb;border:1px solid var(--line);gap:16px}.block h2{font-size:21px;letter-spacing:-.035em}.block.gold{border:1px solid #edbd9a;background:linear-gradient(145deg,#fff9f1,#fffdfb)}
.how{gap:20px}.how .n{width:33px;height:33px;background:var(--mauve-soft);color:var(--mauve-ink);font-size:15px}.how p{line-height:1.65}.how p b{display:block;font-size:16px;margin-bottom:3px}.rules{font-size:14px;line-height:1.7;gap:12px}
.prog div{padding:17px 13px;background:#faf2ec;border-radius:13px}.pw{font-size:11px}.pt b{font-size:15px}.pm{font-size:12px;color:var(--mauve-ink)}.gh{padding-top:10px;font-size:24px;letter-spacing:-.04em}
details.acc{padding:20px}details.acc summary b{font-size:18px}.steps6 div{background:#f9f2ed;padding:16px}.steps6 p{line-height:1.6}
.btn.go{background:var(--ink);color:#fff;padding:18px;border-radius:16px;box-shadow:0 8px 22px #2b1a3a12}.btn.go:hover{background:#4c3063}.panel{padding:25px;gap:12px;position:relative;overflow:hidden}.panel h2{font-size:23px}.panel p{line-height:1.65}.coming-soon{align-self:flex-start;padding:7px 10px;border-radius:8px;background:#ffffff65;font-size:11px;font-weight:700}
.habit{padding:22px;border-radius:21px;background:#fff5ec;border:1px solid #eed5c6}.habit-title b{font-size:22px;letter-spacing:-.04em}.detail{line-height:1.65;margin-top:10px}.habit.done{border-color:#d6c0f0}.habit.skipped{opacity:.85}.answer{margin-top:16px;gap:10px}.ans{min-height:46px;border-radius:12px}.ans.yes:not(.on){background:var(--accent);border-color:var(--accent);color:var(--ink)}.ans:hover{filter:brightness(.97)}.trow{margin-top:15px;justify-content:space-between}.timer{padding:9px 13px}.stop{margin-top:12px}.whycard{padding:18px;border-style:solid;background:#fff0e1;border-color:#f2d5bc;gap:8px}.bar{height:7px}.strip{padding:6px 0 10px;gap:9px}.chip{padding:10px 0;width:46px}.chip.sel{border-color:#d9bcf2;background:var(--mauve-soft);box-shadow:none}
textarea,input[type=text]{background:#fffaf6;border-color:#e9d8ce;font-size:16px;padding:13px;line-height:1.5}textarea:focus,input:focus{outline:2px solid #b68cdf;outline-offset:2px}label.q{font-size:14px;gap:10px}label.q .hint{line-height:1.5}.mood{min-height:78px;font-size:10px}.mood .emo{font-size:27px}.bilanlink{padding:22px}.pills{gap:8px}.pill{min-height:44px}.pill.on{background:var(--mauve-soft);border-color:#cbb1ed}.cday{border-radius:14px}.cday:hover{background:#f4eafc}.wk{padding:18px;flex-wrap:wrap}.wk span{font-size:12px}.jentry{line-height:1.65;white-space:pre-wrap}.save-status{position:fixed;z-index:30;top:10px;left:50%;transform:translateX(-50%);padding:14px 18px;background:#fff0dc;border:1px solid var(--accent);border-radius:14px;width:min(90%,480px);font-size:13px}
nav.tabs{background:rgba(255,250,246,.97);backdrop-filter:blur(16px);padding-top:10px}nav.tabs .in{max-width:620px}nav.tabs button{min-height:53px;gap:5px;font-size:10px;border-radius:13px}nav.tabs button[aria-current=page]{background:var(--mauve-soft);color:var(--mauve-ink)}
@media(min-width:1000px){body{padding-left:calc(41% + 48px);padding-right:48px}.brand-rail{display:flex;position:fixed;left:0;top:0;bottom:0;width:41%;padding:44px 48px;flex-direction:column;justify-content:space-between;background:radial-gradient(ellipse at 80% 90%,#ffd2ac 0,transparent 52%),linear-gradient(155deg,#e5d8f8 0%,#f5d3e4 48%,#ffecd9 100%);overflow:hidden}.rail-logo{text-decoration:none;color:var(--ink);font-family:var(--display);font-size:36px;font-weight:800;letter-spacing:-.06em}.rail-logo span{color:var(--accent-ink)}.rail-logo i{font-style:normal;font-size:22px;margin-left:10px;color:#a56727}.rail-copy{margin-top:32px}.rail-copy h2{font-size:clamp(40px,4.5vw,70px);line-height:1.04;letter-spacing:-.065em;margin:24px 0}.rail-copy h2 em{font-style:normal;color:#78519a}.rail-copy>p{color:#68516f;line-height:1.8;font-size:15px}.rail-foot{font-size:12px;font-weight:700;line-height:1.8}.rail-foot span{font-weight:400;color:var(--muted);font-size:11px}.sun-art{height:165px;position:relative;margin-top:32px}.sun-art div{position:absolute;width:150px;height:150px;left:20%;top:5px;border-radius:50%;background:linear-gradient(#fff3bd,#ffbd8c);box-shadow:0 0 65px #ffdbb0}.sun-art i{position:absolute;left:-60px;right:-60px;height:100px;top:83px;border-top:1px solid #b88e9455;background:linear-gradient(#f8dfd388,#f7dfd200);backdrop-filter:blur(10px)}.sun-art b{position:absolute;top:115px;left:0;width:100%;font-size:10px;letter-spacing:.09em;font-weight:500;color:#795a70}nav.tabs{left:41%;padding-left:48px;padding-right:48px}.app-shell{padding-bottom:24px}header.top{padding-top:28px}}
@media(max-width:380px){.block,.habit{padding:17px}.streak{font-size:10px;padding:7px}.logo{font-size:25px}.logo small{font-size:9px}.moods{gap:3px}.mood{font-size:9px}.plan div{gap:6px}.plan .d{width:43px}.plan .r{width:49px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
