:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--paper:#f1f4f2;--surface:#fcfdfb;--ink:#293e39;--muted:#63746d;--line:#d8e1db;--sage:#dce8df;--accent:#466856;--night:#192b29;--night-text:#e5ede5;font-synthesis:none;font-family:PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html{background:var(--paper);-webkit-text-size-adjust:100%}body{color:var(--ink);min-width:320px;margin:0}button,textarea{font:inherit;color:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,textarea:focus-visible{outline-offset:5px;outline:2px solid #729884}button{-webkit-tap-highlight-color:transparent}p,h1,h2{margin:0}.app{background:var(--paper);min-height:100dvh}.topbar{justify-content:space-between;align-items:center;gap:16px;max-width:1240px;height:96px;margin:auto;padding:0 48px;display:flex}.wordmark{letter-spacing:.16em;align-items:center;gap:10px;font-family:Songti SC,STSong,serif;font-size:25px;display:flex}.wordmark-dot{background:#88a390;border-radius:50%;width:5px;height:5px}.text-button{min-height:44px;color:var(--muted);background:0 0;border:0;padding:12px 0;font-size:13px}.text-button:hover{color:var(--ink);text-underline-offset:5px;text-decoration:underline}.capture-screen,.history-screen{width:min(100% - 48px,600px);margin:auto;padding:40px 0 30px}.intro{margin-bottom:30px}.eyebrow{color:var(--muted);letter-spacing:.13em;margin-bottom:18px;font-size:12px}h1{letter-spacing:.015em;font-family:Songti SC,STSong,serif;font-size:clamp(32px,4.7vw,48px);font-weight:500;line-height:1.4}.intro-note{color:var(--muted);margin-top:14px;font-size:16px;line-height:1.8}.composer{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:22px;position:relative;box-shadow:0 6px 24px #29433304}.composer:focus-within{border-color:#90a899}.composer label{color:var(--muted);margin-bottom:12px;font-size:13px;display:block}.composer textarea{resize:vertical;width:100%;min-height:116px;height:clamp(96px, calc(var(--visible-height,800px) * .16), 160px);background:0 0;border:0;padding:0;font-size:17px;line-height:1.8;display:block}.composer textarea:focus{outline:none}.composer textarea::placeholder{color:#7b8981;opacity:1}.composer-footer{justify-content:space-between;align-items:center;gap:12px;padding-top:14px;display:flex}.input-hint{color:var(--muted);font-size:12px;line-height:1.5}.save-button{background:var(--accent);color:#fff;border:1px solid #0000;border-radius:10px;flex-shrink:0;min-height:48px;padding:0 18px;font-size:15px;font-weight:550;transition:background .15s}.save-button span{padding-left:15px}.save-button:hover:not(:disabled){background:#355440}.save-button:disabled{color:#727e75;background:#e7ede7}.cancel-edit{padding-bottom:0}.save-feedback{min-height:42px;color:var(--accent);padding:11px 4px;font-size:13px;line-height:1.5}.notes>header{justify-content:space-between;align-items:baseline;gap:12px;margin:4px 3px 12px;display:flex}.notes h2,.history-group h2{font-size:14px;font-weight:500}.notes>header>span{color:var(--muted);font-size:11px}.note-list{gap:8px;display:grid}.note{background:#e8eee7;border:1px solid #dce4dd;border-radius:12px;align-items:flex-start;min-width:0;padding:6px 8px 6px 16px;display:flex}.note-mark{color:#617e68;margin-top:15px;font-size:13px}.note-copy{text-align:left;overflow-wrap:anywhere;white-space:pre-wrap;background:0 0;border:0;flex:1;min-width:0;min-height:44px;padding:12px;font-size:15px;line-height:1.6}.delete-button{color:#6c7b70;background:0 0;border:0;border-radius:8px;flex-shrink:0;width:44px;height:44px;font-size:21px}.delete-button:hover{background:#dce5dc}.just-saved{animation:.52s cubic-bezier(.2,.65,.25,1) both settle}@keyframes settle{0%{opacity:.15;background:var(--surface);transform:translateY(-22px)scale(.985)}to{opacity:1;background:#e8eee7;transform:none}}.finish-area{text-align:center;padding:26px 0 0}.finish-area p{color:var(--muted);margin-bottom:14px;font-size:13px}.finish-button,.skip-button{background:var(--sage);border:1px solid #c9d8cd;border-radius:10px;width:100%;min-height:52px;padding:12px 18px;font-size:15px}.finish-button:hover{background:#d0dfd3}.skip-button{color:#69776e;background:#e8ece8;border-color:#dde3dd}.skip-button:hover{background:#e0e6e0}.finish-area small,.privacy-note{color:var(--muted);margin-top:22px;font-size:11px;line-height:1.7;display:block}.undo-bar{background:var(--surface);border-radius:10px;justify-content:space-between;align-items:center;margin-top:12px;padding:8px 12px;font-size:13px;display:flex}.undo-bar button{min-height:44px;color:var(--accent);text-underline-offset:4px;background:0 0;border:0;text-decoration:underline}.error-banner,.draft-warning{color:#864c37;background:#f3e8df;border-radius:8px;width:min(100% - 48px,600px);margin:12px auto;padding:12px 16px;font-size:14px;line-height:1.6}.draft-warning{width:100%}.history-screen{padding-bottom:60px}.history-group{margin-top:36px}.history-group h2{color:var(--muted);padding-bottom:12px}.history-note{text-align:left;border:0;border-bottom:1px solid var(--line);background:0 0;justify-content:space-between;align-items:center;gap:20px;width:100%;padding:18px 0;line-height:1.75;display:flex}.history-note span:first-child{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}.history-note span:last-child{color:var(--muted)}.history-empty{color:var(--muted);padding:50px 0}.history-empty button{margin-top:20px}.app.is-resting{background:var(--night);color:var(--night-text)}.is-resting .topbar .text-button{color:#aebfb4}.rest-screen{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:calc(100dvh - 96px);padding:36px 24px 28px;display:flex}.rest-copy{margin:auto 0}.rest-horizon{border-top:1px solid #8baa97;border-radius:50%;width:56px;height:28px;margin:0 auto 32px}.rest-copy .eyebrow{color:#a8c0b0;margin-bottom:22px}.rest-copy h1{letter-spacing:.06em;font-size:clamp(32px,5vw,58px);font-weight:400}.rest-copy>p:last-child{color:#b3c4b9;margin-top:24px;font-size:15px;line-height:1.8}.rest-return{color:#aebfb4;margin-top:40px;font-size:12px}.rest-return:hover{color:var(--night-text)}.shutdown-overlay{z-index:100;background:var(--night);color:var(--night-text);place-items:center;animation:1.7s ease-in-out both dim;display:grid;position:fixed;inset:0}.shutdown-message{text-align:center;padding:24px;animation:1.7s both goodnight}.shutdown-message span{color:#a8c0b0;letter-spacing:.13em;font-size:12px}.shutdown-message p{letter-spacing:.06em;margin-top:22px;font-family:Songti SC,STSong,serif;font-size:clamp(32px,5vw,58px)}@keyframes dim{0%{background:#192b2900}75%,to{background:var(--night)}}@keyframes goodnight{0%,38%{opacity:0}80%,to{opacity:1}}.loading{min-height:100dvh;color:var(--muted);place-content:center;gap:20px;display:grid}.loading button{border:1px solid var(--line);background:var(--surface);border-radius:10px;min-height:48px}@media (width<=600px){.topbar{height:72px;padding:0 22px}.wordmark{font-size:23px}.topbar .text-button{font-size:12px}.capture-screen,.history-screen{width:calc(100% - 40px);padding-top:28px;padding-bottom:calc(24px + env(safe-area-inset-bottom))}h1{font-size:clamp(28px,7.7vw,38px)}.intro{margin-bottom:26px}.eyebrow{margin-bottom:14px;font-size:11px}.intro-note{margin-top:12px;font-size:15px}.composer{border-radius:14px;padding:18px 16px}.composer textarea{min-height:88px;font-size:16px}.save-button{padding:0 14px;font-size:14px}.input-hint{font-size:11px}.finish-area{padding-top:20px}.rest-screen{min-height:calc(100dvh - 72px);padding-bottom:calc(28px + env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}:root{--experience-version:3}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}input,select{font:inherit;color:inherit}h1:focus{outline:none}.primary-button{background:var(--accent);color:#fff;border:0;border-radius:12px;justify-content:space-between;align-items:center;gap:18px;width:100%;min-height:54px;padding:14px 20px;font-size:16px;font-weight:550;transition:background .18s;display:flex}.primary-button:hover:not(:disabled){background:#355440}.primary-button:disabled{opacity:.5;cursor:not-allowed}.primary-button span{font-size:22px}.stage-screen{width:min(100% - 48px,600px);padding:40px 0 max(36px, env(safe-area-inset-bottom));margin:auto}.stage-secondary{margin:12px auto 0;display:block}.welcome-screen{text-align:center;width:min(100% - 48px,480px);margin:auto;padding:24px 0 44px}.welcome-screen h1{font-size:clamp(36px,5vw,54px)}.welcome-art{width:200px;height:112px;margin:4px auto 30px;position:relative;overflow:hidden}.sun-disc{background:linear-gradient(#dfe8dc 0%,#e8eee5 75%);border:1px solid #a2b5a4;border-radius:50%;width:116px;height:116px;position:absolute;top:10px;left:42px}.sun-line{background:var(--paper);border-top:1px solid #a2b5a4;height:40px;position:absolute;bottom:0;left:0;right:0}.ritual-route{color:var(--muted);justify-content:center;align-items:center;gap:13px;margin:32px 0;font-size:13px;display:flex}.ritual-route i{color:#a3b3a7;font-style:normal}.rating-screen{padding-top:60px}.rating-options{border:0;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:38px 0 0;padding:0;display:grid}.rating-options label{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:42px 42px 14px 14px;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-width:0;min-height:128px;padding:12px 5px;transition:background .2s,border-color .2s;display:flex;position:relative}.rating-options input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.rating-options label:focus-within{outline-offset:4px;outline:2px solid #729884}.rating-options label.chosen{border-color:var(--accent);background:var(--sage);box-shadow:inset 0 -3px var(--accent)}.rating-options strong{font-size:30px;font-weight:500}.rating-options label>span{text-align:center;font-size:12px;line-height:1.6}.selection-hint{text-align:center;min-height:58px;color:var(--muted);padding:18px 0;font-size:13px}.after-rating{color:var(--night-text)}.after-rating .eyebrow,.after-rating .intro-note,.after-rating .selection-hint,.after-rating .text-button{color:#b3c4b9}.after-rating .rating-options label{color:var(--night-text);background:#223b35;border-color:#52695c}.after-rating .rating-options label.chosen{color:var(--ink);box-shadow:none;background:#dce8df;border-color:#dce8df}.after-rating .primary-button{color:var(--night);background:#d0e0ce}.after-rating .primary-button:hover:not(:disabled){background:#e3eddf}.score-result{margin-top:32px}.score-comparison{color:#b3c4b9;border-top:1px solid #435b4e;border-bottom:1px solid #435b4e;justify-content:center;align-items:center;gap:30px;padding:24px 0;font-size:13px;display:flex}.score-comparison b{color:var(--night-text);margin-top:12px;font-size:34px;font-weight:500;display:block}.score-comparison i{font-style:normal}.score-result>p{margin:26px 0;font-size:16px;line-height:1.9}.arrange-list{gap:14px;margin-top:32px;display:grid}.arrange-card{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:20px}.arrange-card>p{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:18px;line-height:1.7}.arrange-card select{cursor:pointer;background:#e8eee7;border:1px solid #b9cabd;border-radius:8px;width:100%;min-height:46px;padding:10px 12px;font-size:16px}.arrange-card small{color:var(--muted);margin-top:12px;font-size:12px;line-height:1.7;display:block}.place-confirmed{animation:.4s placed}@keyframes placed{0%{opacity:.4;transform:translateY(-5px)}to{opacity:1;transform:none}}.placement-note{color:var(--muted);margin:16px 0 24px;font-size:12px;line-height:1.7}.tomorrow-start{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:28px;padding:8px 0}.tomorrow-start summary{cursor:pointer;min-height:52px;padding:16px 0;font-size:15px}.tomorrow-start summary span{float:right;color:var(--muted);font-size:12px}.tomorrow-start p{color:var(--muted);margin:8px 0 16px;font-size:13px;line-height:1.8}.tomorrow-start label{margin:16px 0;font-size:13px;display:block}.tomorrow-start select,.tomorrow-start input{border:1px solid var(--line);background:var(--surface);border-radius:8px;width:100%;min-height:48px;margin-top:10px;padding:12px;font-size:16px;display:block}.optional-label{color:var(--muted);margin-left:12px;font-size:12px}.handover-envelope{background:#e6ede3;border:1px solid #bdcdbf;border-radius:4px 4px 18px 18px;margin:32px 0;padding:24px;position:relative;box-shadow:0 6px 0 -2px #f1f4f2,0 7px 0 -2px #c6d2c5}.envelope-title{color:var(--muted);letter-spacing:.12em;border-bottom:1px solid #c8d5c6;padding-bottom:16px;font-size:12px;display:block}.handover-envelope section{margin-top:20px}.handover-envelope h2{color:var(--muted);margin-bottom:8px;font-size:12px;font-weight:500}.handover-envelope section p{white-space:pre-wrap;overflow-wrap:anywhere;padding:4px 0;line-height:1.8}.empty-handover{color:var(--muted);padding:24px 0;line-height:1.8}.first-start{border-top:1px solid #c8d5c6;margin-top:24px;padding-top:18px}.first-start>span{color:var(--muted);font-size:12px}.first-start p{overflow-wrap:anywhere;margin-top:8px;line-height:1.8}.first-start small{color:var(--muted);overflow-wrap:anywhere;line-height:1.8;display:block}.ritual-hint{text-align:center;color:var(--muted);margin-top:14px;font-size:12px}.history-score{color:var(--muted);padding-bottom:14px;font-size:12px}.history-entry{border:1px solid var(--line);border-radius:14px;margin-bottom:18px;padding:16px}.history-tags{flex-wrap:wrap;gap:8px;display:flex}.history-tags span{color:#4d6b55;background:#e3ece2;border-radius:6px;padding:4px 8px;font-size:11px}.history-entry .history-note{border:0;padding:12px 0}.history-action{color:var(--muted);overflow-wrap:anywhere;font-size:13px;line-height:1.8}.history-actions{border-top:1px solid var(--line);flex-wrap:wrap;gap:8px;margin-top:14px;padding-top:8px;display:flex}.history-actions button{min-height:44px;color:var(--accent);background:0 0;border:0;padding:8px;font-size:12px}.history-actions button:disabled{color:#7f8e84}.shutdown-overlay{animation-duration:2.4s}.shutdown-message{animation:2.4s both handoff-message}.shutdown-message p{font-size:clamp(26px,4.2vw,48px)}.closing-papers{width:180px;height:120px;animation:2.4s ease-in-out both file-away;position:absolute;top:calc(50% - 60px);left:calc(50% - 90px)}.closing-papers i{background:#e6ede3;border:1px solid #b6c8b7;border-radius:7px;position:absolute;inset:0}.closing-papers i:first-child{transform:translateY(-10px)rotate(-5deg)}.closing-papers i:nth-child(2){transform:translateY(-5px)rotate(4deg)}.closing-papers i:nth-child(3){background:#d5e1d2}@keyframes file-away{0%{opacity:0;transform:translateY(-20px)}15%,30%{opacity:1;transform:none}58%,to{opacity:0;transform:translateY(25px)scaleY(.08)}}@keyframes handoff-message{0%,55%{opacity:0}90%,to{opacity:1}}@media (width<=600px){.stage-screen{width:calc(100% - 40px);padding-top:30px}.welcome-screen{padding-top:20px}.welcome-art{height:100px;margin-bottom:20px}.rating-options{gap:7px;margin-top:30px}.rating-options label{border-radius:28px 28px 10px 10px;min-height:118px}.rating-options label>span{max-width:4em;min-height:35px;font-size:11px}.rating-options strong{font-size:27px}.arrange-card{padding:18px}.handover-envelope{padding:20px}.primary-button{font-size:15px}}@media (width<=350px){.rating-options{gap:5px}.rating-options label{padding:12px 3px}.ritual-route{gap:9px;font-size:12px}}.data-tools{color:#354e43;border-top:1px solid #bcc9c0;max-width:680px;margin:32px auto;padding:20px;font-size:14px;line-height:1.7}.data-tools summary{cursor:pointer;min-height:44px;padding:12px 0}.data-tools input{box-sizing:border-box;width:100%;font:inherit;min-width:0;margin:8px 0 16px;padding:12px;font-size:16px;display:block}.data-tools button{margin:8px 0 16px}.data-tools details{margin:12px 0}
