:root{--bg:#f6f1ea;--surface:#fffaf4;--surface-2:#efe7dc;--ink:#2a2e35;--muted:#6e6f74;--line:#e4d9cb;--accent:#b9733d;--accent-ink:#fffaf4;--dusk:#4f5d7e;--danger:#a4493d;--q-hochUnangenehm:#d98a6f;--q-hochAngenehm:#e3bd55;--q-niedrigUnangenehm:#7d93b4;--q-niedrigAngenehm:#86b394;--radius:18px;--shadow:0 1px 2px #3c28140f, 0 6px 20px #3c28140f;--serif:ui-serif, "New York", "Iowan Old Style", Georgia, serif;--sans:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--bg:#101114;--surface:#1a1c21;--surface-2:#23262c;--ink:#ebe7e1;--muted:#9b9da4;--line:#2c2f36;--accent:#e2a46c;--accent-ink:#1a1c21;--dusk:#9aaad0;--danger:#e08a7e;--shadow:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-time=night]{--bg:#121214;--surface:#1c1b1d;--surface-2:#252427;--ink:#e8e1d8;--muted:#9a958f;--line:#2e2c2f;--accent:#d9a06b;--accent-ink:#1c1b1d;--dusk:#a3aed0;--danger:#e08a7e;--shadow:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;margin:0;font-size:17px;line-height:1.5}body{min-height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}#root{max-width:560px;margin:0 auto}h1,h2,h3{font-family:var(--serif);overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;margin:0 0 .5rem;font-weight:500;line-height:1.25}h1{font-size:1.9rem}h2{font-size:1.45rem}h3{font-size:1.15rem}p{margin:0 0 .75rem}button{font:inherit;color:inherit;cursor:pointer}input,textarea{font:inherit;color:var(--ink)}.muted{color:var(--muted)}.small{font-size:.85rem}.center{text-align:center;display:block}.sr-only{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.splash{min-height:100dvh}.screen{flex-direction:column;min-height:100dvh;display:flex}.bar{z-index:5;background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:blur(10px);grid-template-columns:44px 1fr auto;align-items:center;gap:8px;padding:10px 12px;display:grid;position:sticky;top:0}.bar-title{font-size:1.05rem;font-family:var(--sans);text-align:center;white-space:nowrap;text-overflow:ellipsis;margin:0;font-weight:600;overflow:hidden}.bar-actions{text-align:right;min-width:44px}.content{flex-direction:column;gap:14px;padding:8px 16px 48px;display:flex}.icon-btn{background:0 0;border:0;border-radius:50%;place-items:center;width:44px;height:44px;display:grid}.icon-btn:hover{background:var(--surface-2)}.row{flex-wrap:wrap;gap:10px;display:flex}.stack{flex-direction:column;gap:12px;display:flex}.grid2{grid-template-columns:1fr 1fr;gap:12px;display:grid}.btn{background:var(--surface-2);border:1px solid #0000;border-radius:999px;min-height:46px;padding:12px 20px;font-weight:600;transition:transform 80ms,opacity .2s}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.45;cursor:default}.btn.primary{background:var(--accent);color:var(--accent-ink)}.btn.ghost{border-color:var(--line);background:0 0}.btn.small{min-height:36px;padding:6px 14px;font-size:.9rem}.btn.wide{width:100%}.btn.danger{color:var(--danger)}.link{color:var(--accent);text-underline-offset:3px;background:0 0;border:0;padding:6px 0;font-weight:500;text-decoration:underline;text-decoration-thickness:1px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);text-align:left;width:100%;padding:16px}button.card:active{transform:scale(.99)}.row-card{justify-content:space-between;align-items:center;gap:12px;display:flex}.card.soft{box-shadow:none;background:0 0}.tile{flex-direction:column;justify-content:flex-end;gap:4px;min-height:108px;display:flex}.tile-title{font-weight:600}.home-head{justify-content:space-between;align-items:flex-start;padding:28px 16px 6px;display:flex}.home-head p{margin:0}.hero{color:#2a2e35;border:0;flex-direction:column;justify-content:flex-end;gap:6px;min-height:170px;padding:26px 20px;display:flex}.hero.morning{background:linear-gradient(160deg,#f8d9b5 0%,#f2b98a 55%,#e79f72 100%)}.hero.evening{color:#efe9e1;background:linear-gradient(160deg,#3c4766 0%,#2d3550 60%,#232840 100%)}.hero-title{font-family:var(--serif);font-size:1.6rem;line-height:1.2}.hero-sub{opacity:.8;font-size:.92rem}.home-foot{flex-wrap:wrap;justify-content:space-between;gap:8px;padding-top:4px;display:flex}.brand-foot{text-align:center;letter-spacing:.2em;text-transform:uppercase;opacity:.6;margin-top:12px;font-size:.7rem}.notice{background:var(--surface-2);border-radius:12px;padding:10px 14px}.progress{gap:6px;padding:4px 0 6px;display:flex}.progress span{background:var(--line);border-radius:4px;flex:1;height:4px;transition:background .3s}.progress span.on{background:var(--accent)}.step{flex-direction:column;gap:14px;display:flex}.step+.step{margin-top:14px}.field{flex-direction:column;gap:6px;display:flex}.field-label{margin:0;font-size:.95rem;font-weight:600}.field-hint{color:var(--muted);font-size:.85rem}textarea,.input,.field input{border:1px solid var(--line);background:var(--surface);resize:none;border-radius:14px;outline:none;width:100%;padding:14px 16px;line-height:1.5;transition:border-color .2s}textarea:focus,.input:focus,.field input:focus{border-color:var(--accent)}textarea{font-family:var(--serif);min-height:90px;font-size:1.05rem;overflow:hidden}.step-nav{justify-content:space-between;align-items:center;gap:12px;margin-top:6px;display:flex}.step-nav .btn.primary{min-width:140px}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:8px 14px;font-size:.92rem}.chip.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}.chip.light{color:var(--muted);background:0 0;border-style:dashed}.check{align-items:center;gap:10px;font-size:.95rem;display:flex}.check input{width:20px;height:20px;accent-color:var(--accent)}.error{color:var(--danger);font-weight:500}.mood-axes{justify-items:center;gap:6px;display:grid}.axis-top,.axis-bottom{color:var(--muted);font-size:.8rem}.axis-x{width:min(100%,320px);color:var(--muted);justify-content:space-between;font-size:.8rem;display:flex}.mood-grid{aspect-ratio:1;grid-template-columns:repeat(5,1fr);gap:6px;width:min(100%,320px);display:grid}.mood-cell{background:var(--c);border:0;border-radius:12px;transition:transform .15s,box-shadow .15s,opacity .2s}.mood-cell.on{box-shadow:0 0 0 3px var(--bg), 0 0 0 5px var(--ink);transform:scale(1.12);opacity:1!important}.mood-words{margin-top:10px}.recall{border-left:3px solid var(--accent);padding:4px 0 4px 14px}.recall p{margin:0 0 6px}.good-item{flex-direction:column;gap:6px;display:flex}.good-item .why{width:calc(100% - 18px);margin-left:18px;padding:10px 14px;font-size:.92rem}.inline-add{gap:8px;display:flex}.inline-add .input{flex:1}.parked,.good-list{margin:0;padding-left:1.2rem}.suggestions{margin-top:-4px}.done{flex-direction:column;gap:14px;padding:40px 4px 0;display:flex}blockquote{font-family:var(--serif);border-left:3px solid var(--accent);margin:0;padding-left:14px;font-size:1.25rem}.worry-quote{margin-bottom:10px}.section-head{justify-content:space-between;align-items:center;display:flex}.list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.list li{background:var(--surface);border:1px solid var(--line);border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.list.faded li{opacity:.7}.breath,.silence{flex-direction:column;gap:16px;padding-top:8px;display:flex}.breath-stage{place-items:center;height:300px;display:grid;position:relative}.breath-orb{background:radial-gradient(circle at 40% 35%, color-mix(in srgb, var(--accent) 55%, white), var(--accent) 60%, color-mix(in srgb, var(--accent) 70%, var(--dusk)));opacity:.85;border-radius:50%;grid-area:1/1;width:260px;height:260px;transition-property:transform,opacity;transition-timing-function:ease-in-out}.breath-label{font-family:var(--serif);color:#fffaf4;text-shadow:0 1px 10px #3c1e0a73;grid-area:1/1;font-size:1.45rem}.silence-time{font-family:var(--serif);text-align:center;font-variant-numeric:tabular-nums;opacity:.8;padding:60px 0 20px;font-size:4.5rem}.insight ul{margin:0;padding-left:1.2rem}.days{margin:0;padding:0;list-style:none}.day-row{text-align:left;border:0;border-bottom:1px solid var(--line);background:0 0;grid-template-columns:1fr auto;grid-template-areas:"date moods""types moods";width:100%;padding:14px 4px;display:grid}.day-date{grid-area:date;font-weight:600}.day-types{grid-area:types}.day-moods{grid-area:moods;align-items:center;gap:5px;display:flex}.dot{border-radius:50%;width:12px;height:12px;display:inline-block}.entry{flex-direction:column;gap:8px;display:flex}.entry-head{align-items:baseline;gap:10px;display:flex}.entry-head h3{flex:1;margin:0}.entry-field p{white-space:pre-wrap;font-family:var(--serif);margin:2px 0 0}.entry-field ul{margin:4px 0 0;padding-left:1.2rem}.help{flex-direction:column;gap:8px;display:flex}.help-row{background:var(--surface);border:1px solid var(--line);color:inherit;border-radius:14px;flex-direction:column;padding:12px 16px;text-decoration:none;display:flex}.help-row span{color:var(--muted);font-size:.9rem}.help-row.urgent strong{color:var(--danger)}.sheet-backdrop{z-index:50;background:#00000059;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--bg);width:min(100%,560px);max-height:92dvh;padding:24px 16px calc(24px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;flex-direction:column;gap:12px;display:flex;overflow:auto}.auth{flex-direction:column;gap:14px;padding:48px 20px 40px;display:flex}.auth-logo img{border-radius:18px}.auth-links{justify-content:center;display:flex}.recovery-key{letter-spacing:.04em;background:var(--surface);border:1px dashed var(--accent);text-align:center;word-break:break-word;-webkit-user-select:all;user-select:all;border-radius:14px;padding:18px;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:1.15rem}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}@media print{.btn,.check,.link{display:none!important}}.breath-controls{flex-direction:column;gap:16px;display:flex}.breath-orb{width:min(260px,34dvh,70vw);height:min(260px,34dvh,70vw)}.breath-stage{height:min(300px,40dvh)}.mood-grid,.axis-x{width:min(100%,320px,46dvh)}@media (height<=720px){body{font-size:16px}h1{font-size:1.6rem}h2{font-size:1.25rem}.home-head{padding:14px 16px 2px}.hero{min-height:116px;padding:18px}.hero-title{font-size:1.35rem}.tile{min-height:84px;padding:12px 14px}.content,.step{gap:10px}textarea{min-height:72px}.silence-time{padding:24px 0 8px;font-size:3.6rem}.auth{gap:10px;padding-top:20px}.auth-logo img{width:52px;height:52px}.done{padding-top:16px}}@media (width>=600px){#root{max-width:760px}.content,.home-head{padding-left:24px;padding-right:24px}.grid2{gap:14px}.hero{min-height:200px}.step-nav .btn.primary{min-width:180px}.sheet{border-radius:24px;margin-bottom:24px}.sheet-backdrop{align-items:center}}@media (width>=760px){#root{max-width:980px}.home-layout{grid-template-columns:1.1fr 1fr;align-items:start;gap:16px;display:grid}.home-main,.home-side{flex-direction:column;gap:14px;display:flex}.home-main .hero{min-height:260px}.mood{grid-template-columns:auto 1fr;align-items:center;gap:24px;display:grid}.mood-words{margin-top:0}.step{max-width:720px}.breath{grid-template-columns:1fr 1fr;grid-template-areas:"stage info""stage controls";align-items:center;column-gap:32px;display:grid}.breath-info{grid-area:info;align-self:end}.breath-stage{grid-area:stage;height:min(380px,70dvh)}.breath-orb{width:min(320px,60dvh);height:min(320px,60dvh)}.breath-controls{grid-area:controls;align-self:start}.days{columns:2;column-gap:24px}.days li{break-inside:avoid}}.home-main,.home-side{gap:inherit;flex-direction:column;display:flex}.home-layout>.home-side{gap:14px}@media (height<=720px){.home-layout>.home-side{gap:10px}}@media (width>=760px){.mood-grid,.axis-x{width:min(300px,46dvh)}}.stats{grid-template-columns:1fr 1fr;gap:12px;display:grid}.stat{flex-direction:column;display:flex}.stat-num{font-family:var(--serif);font-size:2rem;line-height:1.1}.admin-days{text-align:right;font-variant-numeric:tabular-nums}.badge{vertical-align:2px;background:var(--surface-2);color:var(--muted);border-radius:999px;margin-left:6px;padding:2px 8px;font-size:.72rem;display:inline-block}.badge.active{background:color-mix(in srgb, var(--q-niedrigAngenehm) 35%, transparent);color:var(--ink)}.badge.quiet{background:color-mix(in srgb, var(--q-hochAngenehm) 35%, transparent);color:var(--ink)}.privacy-note{background:var(--surface-2);border-radius:12px;margin:0;padding:10px 14px}
