@font-face{font-family:system;src:local("Arial")}*{box-sizing:border-box}body{margin:0;background:#f6f3ec;color:#253b35;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}main{max-width:480px;margin:auto;padding:32px 24px max(28px,env(safe-area-inset-bottom))}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:56px}header a{color:inherit;text-decoration:none;font-size:25px;font-weight:800;letter-spacing:4px}header a span{display:block;font-size:12px;letter-spacing:0;font-weight:400;margin-top:6px;color:#66756b}.brand-dot{width:14px;height:14px;border:4px solid #96ae83;border-radius:50%}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#66756b;margin:0 0 12px}h1{font-size:34px;letter-spacing:-1.2px;line-height:1.15;margin:0 0 14px;font-weight:650}.intro{color:#647268;font-size:15px;line-height:1.6;margin:0 0 32px}button,input,textarea{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.6;cursor:wait}.ritual{display:flex;text-align:left;width:100%;border:0;border-radius:24px;padding:28px 22px;gap:16px;align-items:center;margin-bottom:16px;color:#253b35}.morning{background:#f2dfa6}.day{background:#d8e2d7}.symbol{font-size:44px;line-height:1;width:45px;text-align:center}.ritual strong{font-size:17px;letter-spacing:1px;display:block}.ritual small{display:block;font-size:12px;margin-top:9px}.ritual em{display:block;font-style:normal;font-size:10px;opacity:.7;margin-top:16px}.arrow{font-size:22px;margin-left:auto;align-self:flex-start}.footer-note{text-align:center;color:#778176;font-size:12px;margin-top:32px}label,legend{font-size:14px;font-weight:600}form>label,#morning-fields>label,#day-fields>label{display:block;margin:24px 0 10px}input:not([type=radio]),textarea{width:100%;border:1px solid #d4d9ce;background:#fffdf8;border-radius:14px;padding:14px;color:#253b35;resize:vertical;font-size:16px}input::placeholder,textarea::placeholder{color:#83897f}#day-fields input{margin-bottom:8px}#pin{margin-top:12px;text-align:center;letter-spacing:12px;font-size:28px}fieldset{border:0;margin:24px 0;padding:0;min-width:0}legend{margin-bottom:12px}.choices{display:flex;gap:8px}.choices label{flex:1;cursor:pointer;text-align:center;position:relative}.choices input{position:absolute;opacity:0;width:1px;height:1px}.choices span{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:70px;border:1px solid #d4d9ce;border-radius:14px;font-size:26px;background:#fffdf8}.choices small{font-size:10px;margin-top:5px;font-weight:400}.choices input:checked+span{background:#d8e2d7;border:2px solid #456451}.choices input:focus-visible+span{outline:3px solid #647fbe;outline-offset:3px}.energy span{font-size:13px;min-height:50px}.primary{width:100%;border:0;border-radius:16px;background:#304d40;color:white;padding:18px;font-weight:650;letter-spacing:.5px;margin-top:20px;min-height:56px}.back{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border:1px solid #879c89;border-radius:14px;padding:12px 18px;background:#e2e9df;color:#304d40;margin-bottom:25px;font-size:14px;font-weight:650;box-shadow:0 2px 0 rgba(48,77,64,.08)}.back:hover{background:#d4dfd0;border-color:#456451}.back:active{background:#c8d6c3;box-shadow:none}.error{color:#a13024;font-size:13px;line-height:1.5;min-height:0}.error:empty{display:none}.sync-status{text-align:center;font-size:12px;color:#66756b;line-height:1.5;margin-top:28px}.success-mark{background:#d8e2d7;width:76px;height:76px;border-radius:50%;display:grid;place-items:center;font-size:35px;margin:24px 0 32px}:focus-visible{outline:3px solid #647fbe;outline-offset:4px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@media(max-width:360px){main{padding:24px 16px}.ritual{padding:24px 16px;gap:10px}.ritual small{font-size:11px}h1{font-size:30px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s,transform .15s}button:active{transform:scale(.98)}}
h1:focus{outline:none}

.journal{background:#e8dfd2}.journal-item{display:block;width:100%;text-align:left;background:#fffdf8;border:1px solid #d4d9ce;border-radius:16px;padding:18px;margin:12px 0;color:inherit}.journal-item time{display:block;font-size:12px;color:#647268;margin-bottom:8px}.journal-item p{margin:0;font-size:15px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}#journal-list{margin-top:24px}#journal-content{min-height:260px}.ritual .completed{font-style:normal;font-size:10px;letter-spacing:.5px;color:#304d40;display:block;margin-top:8px}

.journal-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:16px;margin:0 0 24px}.secondary{width:100%;border:1px solid #b8c6b7;border-radius:16px;color:#304d40;background:transparent;padding:16px;margin-top:12px;min-height:52px;font-weight:600}dialog{max-width:390px;width:calc(100% - 40px);border:0;border-radius:24px;padding:28px;background:#f6f3ec;color:#253b35}dialog::backdrop{background:rgba(37,59,53,.45)}dialog h2{font-size:23px;line-height:1.3;margin:0 0 16px}dialog .primary{margin-top:12px}

.secondary.danger{color:#a13024;border-color:#bc8f84}.primary.danger{background:#963e30}

.gentle-extra{margin-top:24px;color:#647268;font-size:14px}.gentle-extra summary{cursor:pointer;padding:12px 0}.gentle-extra label{display:block;margin:18px 0 8px;color:#253b35}.gentle-extra select{width:100%;font:inherit;font-size:16px;padding:14px;border:1px solid #d4d9ce;border-radius:14px;background:#fffdf8;color:#253b35}label small{font-weight:400;color:#647268}

#day-extra summary{padding:17px 18px;border:1px solid #97ad96;border-radius:14px;background:#e3ebdf;color:#294b3e;font-size:16px;font-weight:700;box-shadow:0 2px 0 #294b3e12}#day-extra summary:hover{background:#d9e5d4}#day-extra summary:focus-visible{outline:3px solid #7184be;outline-offset:3px}#day-extra[open] summary{background:#d9e5d4}

.talk-request{margin-top:28px}.talk-request p{font-size:14px;color:#466252;line-height:1.5}

.boredom{background:#e2e7ee}.boredom-categories{display:grid;grid-template-columns:1fr 1fr;gap:8px}.boredom-categories button{margin-top:0;padding:14px 10px;font-size:14px}.boredom-categories button:last-child{grid-column:1/-1}#boredom-card{margin-top:24px;padding:22px;border:1px solid #b8c6b7;border-radius:20px;background:#fffdf8}#boredom-card h2{font-size:24px;line-height:1.3;overflow-wrap:anywhere}#boredom-card p{line-height:1.5}#boredom-feedback{margin-top:20px;border-top:1px solid #d4d9ce}.own-idea{padding:16px;margin-top:16px;border:1px solid #d4d9ce;border-radius:14px}.own-idea p{overflow-wrap:anywhere}#own-idea-dialog,#remove-idea-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}#own-idea-form label{display:block;margin-top:16px;margin-bottom:8px}#own-idea-form select{width:100%;font:inherit;padding:12px;border:1px solid #d4d9ce;border-radius:14px;background:#fffdf8;color:#253b35}
