:root{color-scheme:light;--paper:#f6f5ef;--ink:#263e36;--muted:#859080;--green:#3e624f;--line:#e4e6d9;--night:#1b3540;--gold:#ead59c;font-family:-apple-system,BlinkMacSystemFont,"Noto Sans CJK SC","Microsoft YaHei",sans-serif;background:#e9ebe3;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible{outline:2px solid #9f8040;outline-offset:4px}button{border:0;background:none}input,textarea{background:#fbfaf5;border:1px solid var(--line);border-radius:12px;padding:14px;outline:none;resize:vertical;width:100%;line-height:1.6}input:focus,textarea:focus{border-color:#668771;box-shadow:0 0 0 2px #66877115}textarea{min-height:108px}h1,h2,h3,p{margin:0}h1{font-size:27px;letter-spacing:2px;font-weight:500}h2{font-size:18px;font-weight:500}h3{font-size:16px;font-weight:500}p{line-height:1.75}svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}#app{max-width:480px;min-height:100dvh;background:var(--paper);margin:0 auto;padding:0 20px calc(94px + env(safe-area-inset-bottom));position:relative}.brand{display:flex;align-items:center;gap:10px;height:86px}.brand>span:first-of-type{font-family:"Songti SC","Noto Serif CJK SC",serif;font-size:29px;letter-spacing:5px}.brand img{width:29px;height:29px;border-radius:9px}.edition{margin-left:auto;font-size:11px;letter-spacing:2px;color:var(--muted)}#main{padding-top:8px}.intro{margin:8px 3px 26px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted);margin-bottom:12px}.subtle,.meta{color:var(--muted);font-size:12px;line-height:1.7}.city{border-radius:23px;background:var(--night);color:#eee7d0;overflow:hidden;box-shadow:0 12px 28px #1833290b;margin:24px 0}.city-top{display:flex;justify-content:space-between;align-items:center;padding:22px 20px 0}.city-top .eyebrow{color:#a7bdb8;margin-bottom:8px}.city-top h2{font-size:16px;letter-spacing:2px}.night{border:1px solid #ffffff22;border-radius:30px;padding:5px 10px;font-size:11px;color:#bfd0c9}.night:before{content:'•';color:var(--gold);margin-right:7px}.scene{position:relative;aspect-ratio:1.22;min-height:230px}.scene canvas{width:100%;height:100%;display:block;touch-action:pan-y}.moon{position:absolute;right:15%;top:10%;width:13px;height:13px;border-radius:50%;background:#eee1b8;pointer-events:none;box-shadow:0 0 24px #ead59c22}.star{position:absolute;left:23%;top:19%;width:2px;height:2px;background:#9fbbb4;box-shadow:128px -19px #9fbbb4;pointer-events:none}.city-foot{display:flex;justify-content:space-between;align-items:center;padding:0 20px 16px;font-size:11px;color:#a4b9b3}.icon-button{padding:10px;margin:-10px;display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px}.city-stat{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #ffffff0c;padding:20px}.city-stat>div+div{border-left:1px solid #ffffff18;padding-left:24px}.city-stat strong{display:block;font:30px Georgia,serif;color:#eee1b8;margin-bottom:5px}.city-stat span{color:#a4b9b3;font-size:11px}.primary{display:flex;justify-content:center;align-items:center;gap:9px;width:100%;border-radius:14px;background:var(--green);color:#faf9ee;padding:17px 14px;min-height:54px;font-size:16px;letter-spacing:2px}.secondary{border:1px solid var(--line);background:#fbfaf5;border-radius:12px;padding:12px 16px;min-height:46px}.text-button{font-size:13px;padding:12px 6px;min-height:44px;color:#697a69}.actions{display:flex;gap:10px;align-items:center;margin-top:16px}.actions>*{flex:1}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:26px 0 14px;gap:10px}.section-heading h2{font-size:16px}.card{background:#fbfaf6;border:1px solid var(--line);border-radius:18px;padding:20px;margin:16px 0}.start-card{padding:18px}.start-card label{font-size:13px;display:block;margin-bottom:12px}.start-card input{border:0;padding:6px 0 14px;border-radius:0;background:transparent;font-size:17px}.start-card .duration{display:flex;align-items:center;justify-content:space-between;font-size:12px;border-top:1px solid var(--line);padding-top:13px;margin-bottom:14px}.duration button{color:var(--green);font-size:14px;padding:5px}.timer-area{text-align:center;padding:7px 0 0}.timer-title{font-size:17px;font-weight:500;line-height:1.6;overflow-wrap:anywhere;max-height:82px;overflow:auto}.clock{font:67px/1.25 Georgia,"Times New Roman",serif;letter-spacing:1px;margin:8px 0}.timer-area .subtle{font-size:11px}.timer-actions .primary{padding:14px}.timer-actions .text-button{display:block;margin:auto}.memory{border-radius:15px;background:#eceee2;padding:17px 18px;margin:16px 0}.memory-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:11px;color:#76816d}.memory p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.memory dl,.structure dl{margin:0}.memory dt{font-size:10px;color:#7f886f;margin:11px 0 3px}.memory dd{font-size:14px;line-height:1.7;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.continue-card{display:block;text-align:left;width:100%}.continue-card h3{margin:7px 0 10px;overflow-wrap:anywhere}.continue-card .next{white-space:pre-wrap;font-size:13px;line-height:1.7;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.chips{display:flex;gap:7px;flex-wrap:wrap}.chip{font-size:12px;min-height:38px;border-radius:24px;padding:8px 15px;color:var(--muted)}.chip.selected{color:var(--green);background:#e5e9db}.task-list{display:flex;flex-direction:column;gap:12px}.task-row{display:flex;align-items:flex-start;text-align:left;width:100%;gap:13px;padding:18px 16px;border:1px solid var(--line);border-radius:16px;background:#faf9f4}.task-icon{flex:0 0 34px;width:34px;height:38px;background:#e8ecdf;border-radius:11px;color:#82987a;display:flex;align-items:center;justify-content:center}.task-row .content{flex:1;min-width:0}.task-row h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 0 7px;font-size:15px}.task-row p{font-size:12px;color:#7e8977;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-row .meta{font-size:10px;margin-top:10px}.arrow{color:#81917e;margin-top:6px}.empty{padding:40px 18px;color:#919986;text-align:center;font-size:13px}.empty svg{margin:0 auto 15px;width:32px;height:32px;color:#a9b29a}.chart-head{display:flex;justify-content:space-between;align-items:center;font-size:13px}.chart{height:118px;display:flex;align-items:flex-end;gap:12px;margin-top:20px}.bar-col{flex:1;text-align:center;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;font-size:10px;color:#8d9884}.bar{width:15px;background:#c8d1bb;min-height:3px;border-radius:4px 4px 1px 1px;margin:7px 0 9px}.bar-col:last-child .bar{background:#64806a}.back-heading{display:flex;gap:12px;align-items:center;margin:0 0 24px;font-size:13px}.detail-title{font-size:24px;line-height:1.65;letter-spacing:0;overflow-wrap:anywhere}.detail-meta{display:flex;gap:16px;margin:13px 0;color:#819078;font-size:11px}.timeline{margin:20px 0}.event{position:relative;margin-left:5px;border-left:1px solid #d9decc;padding:0 0 25px 20px}.event:before{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:#bac6aa;left:-4px;top:6px}.event-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:12px}.event time{font-size:10px;color:var(--muted)}.event p{font-size:13px;margin-top:9px;color:#6f7f68;white-space:pre-wrap;overflow-wrap:anywhere}.event .memory{margin:10px 0 0}.event:last-child{border-color:transparent}.settings-row{padding:18px 0;display:flex;justify-content:space-between;align-items:center;gap:20px;width:100%;text-align:left;font-size:14px;min-height:66px}.settings-row+.settings-row{border-top:1px solid var(--line)}.settings-row .subtle{display:block;font-size:11px;margin-top:6px}.settings-card{padding:0 18px}.settings-row>span:last-child:not(:first-child){flex-shrink:0}.switch{appearance:none;width:40px;height:24px;padding:0;border:0;border-radius:30px;background:#cdd3c4;position:relative;flex-shrink:0;cursor:pointer}.switch:after{content:'';width:18px;height:18px;position:absolute;border-radius:50%;top:3px;left:3px;background:white;transition:transform .15s}.switch:checked{background:var(--green)}.switch:checked:after{transform:translateX(16px)}.version{text-align:center;font-size:11px;color:#9ca38f;margin:30px 0 0;letter-spacing:1px}#nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,480px);z-index:5;display:flex;justify-content:space-around;background:#f6f5eff5;border-top:1px solid var(--line);padding:11px 8px calc(10px + env(safe-area-inset-bottom));backdrop-filter:blur(16px)}#nav button{display:flex;gap:8px;align-items:center;justify-content:center;padding:10px 15px;min-height:44px;color:#9aa28f;font-size:13px}#nav button.active{color:var(--green)}#nav svg{width:20px;height:20px}.active-banner{display:flex;align-items:center;justify-content:space-between;width:100%;border-radius:13px;background:#e8eddf;padding:12px 15px;font-size:12px;margin:0 0 24px;text-align:left;gap:10px}.active-banner span:first-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.active-banner span:last-child{flex-shrink:0}.veil{position:fixed;inset:0;background:#15251e66;z-index:20;display:flex;align-items:flex-end;justify-content:center;padding-top:24px}.sheet{background:var(--paper);border-radius:25px 25px 0 0;width:100%;max-width:480px;max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;padding:24px 22px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -20px 80px #172d2120}.sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:15px}.sheet-head h2{font-size:20px;letter-spacing:1px}.sheet .subtle{margin:8px 0 16px}.sheet label{display:block;font-size:12px;margin:16px 0 7px}.sheet .structured-fields{border-top:1px solid var(--line);margin-top:15px;padding-top:2px}.sheet .structured-fields textarea{min-height:62px;font-size:13px}.sheet-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:16px}.sheet-footer .primary{width:auto;flex:1;font-size:14px;letter-spacing:0;padding:14px}.sheet-footer .text-button{font-size:12px}.notice{padding:12px;background:#eceee3;border-radius:10px;font-size:12px;color:#75836b;line-height:1.7}.duration-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.duration-options button{background:#eceee3;padding:15px 8px;border-radius:12px;font-size:14px}.duration-options .selected{background:var(--green);color:white}.import-preview{margin:20px 0;line-height:1.8;font-size:14px}#toast{position:fixed;left:50%;bottom:105px;transform:translate(-50%,12px);background:#263e36f2;color:#fffdf1;padding:12px 18px;border-radius:12px;font-size:13px;max-width:88vw;width:max-content;z-index:40;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}.error-card{padding:24px;background:#f2e6da;border-radius:16px;line-height:1.7}.fallback{padding:90px 20px;text-align:center;color:#a9bdb1;font-size:12px}.reduced *{scroll-behavior:auto!important;transition:none!important;animation:none!important}[hidden]{display:none!important}@media(min-width:620px){#app{box-shadow:0 0 80px #152d1508}.brand{height:94px}.veil{align-items:center;padding:24px}.sheet{border-radius:24px;max-height:90dvh}}@media(max-width:350px){#app{padding-left:15px;padding-right:15px}.clock{font-size:59px}#nav button{padding:10px}.scene{min-height:200px}}
.focus-city .scene{aspect-ratio:1.65;min-height:170px}.timer-actions{margin-top:22px}.return-memory p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.return-memory .memory-head{margin-bottom:4px}

/* Account entrance */
.auth-screen #app{padding-bottom:42px}.auth-screen .brand{height:74px}.auth-screen .edition{display:none}.auth-screen #main{padding-top:4px}.auth-hero{text-align:center;padding:18px 9px 10px}.auth-hero h1{margin:4px 0 10px}.auth-hero .subtle{max-width:310px;margin:auto}.auth-lamp{width:68px;height:68px;margin:0 auto 22px;border-radius:50% 50% 44% 44%;display:flex;align-items:center;justify-content:center;color:#385c4a;background:radial-gradient(circle at 50% 42%,#fff7d8 0 17%,#ebd89f 18% 34%,#e5eadf 35% 100%);box-shadow:0 16px 34px #4c6b5920}.auth-lamp svg{width:32px;height:32px}.auth-card{padding:22px;margin-top:22px}.auth-card>label{font-size:12px;color:#6f7f72;display:block;margin:14px 0 7px}.auth-card>label:first-child{margin-top:0}.auth-card input:not([type=checkbox]){min-height:52px}.agreements{border-top:1px solid var(--line);margin:22px 0 0;padding-top:14px}.agreements label{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.65;color:#727e70;margin:10px 0}.agreements input[type=checkbox]{appearance:none;width:19px;height:19px;padding:0;margin:0;flex:0 0 19px;border-radius:6px;background:#fbfaf5;position:relative}.agreements input[type=checkbox]:checked{background:var(--green);border-color:var(--green)}.agreements input[type=checkbox]:checked:after{content:'✓';position:absolute;color:white;font-size:13px;left:4px;top:-1px}.agreements em{font-style:normal;color:#9aa18f;margin-left:4px}.inline-link{display:inline;padding:0;min-height:0;color:#496a57;text-decoration:underline;text-underline-offset:2px;font-size:inherit}.auth-actions{margin-top:18px}.auth-actions .text-button{display:block;margin:7px auto 0}.auth-sent{text-align:center;font-size:13px;margin:5px 0 22px;color:#718071}.auth-sent strong{font-size:15px;color:var(--ink)}#auth-status{text-align:center;margin-top:4px;min-height:20px}

/* Goal picture and progress */
.vision-empty{display:flex;width:100%;align-items:center;text-align:left;gap:14px;padding:17px 18px}.vision-empty>svg{width:28px;height:28px;color:#7b957d}.vision-empty span{flex:1}.vision-empty strong,.vision-empty small{display:block}.vision-empty strong{font-size:14px;font-weight:500}.vision-empty small{font-size:11px;color:var(--muted);margin-top:5px}.vision-empty b{font-size:21px;font-weight:400;color:#879486}.vision-card{margin:16px 0;background:#fbfaf6;border:1px solid var(--line);border-radius:20px;overflow:hidden}.vision-image{position:relative;display:block;width:100%;aspect-ratio:1.9;background-position:center;background-size:cover}.vision-mask{position:absolute;inset:0;display:grid}.vision-mask i{background:linear-gradient(145deg,#e9e9df,#d7dccf);border:.5px solid #f7f6ee;opacity:.97;transition:opacity .7s ease;transition-delay:var(--delay)}.vision-mask i.revealed{opacity:0}.vision-meta{padding:14px 16px 16px}.vision-meta>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:12px}.vision-meta strong{font-size:13px;font-weight:500}.vision-meta span{font-size:11px;color:var(--muted)}.journey,.focus-progress{position:relative;height:28px;margin-top:10px}.journey:before,.focus-progress:before{content:'';position:absolute;left:0;right:0;top:13px;height:3px;border-radius:9px;background:#e0e4d8}.journey>span,.focus-progress>span{position:absolute;left:0;top:13px;height:3px;border-radius:9px;background:linear-gradient(90deg,#759078,#e2c77f);width:var(--journey);transition:width .5s}.journey>b,.focus-progress>b{position:absolute;left:clamp(0px,calc(var(--journey) - 12px),calc(100% - 24px));top:1px;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f7edc7;color:#516e5a;box-shadow:0 3px 10px #36503d22;transition:left .5s}.journey svg,.focus-progress svg{width:14px;height:14px}.focus-progress{--journey:var(--focus);margin:23px 13px 4px}.focus-progress>span{width:var(--focus)}.focus-progress>b{left:clamp(0px,calc(var(--focus) - 12px),calc(100% - 24px));animation:lamp-bob 1.8s ease-in-out infinite}.timer-status{display:flex;align-items:center;justify-content:center;gap:12px;margin:2px 0 2px}.timer-status strong{font-size:13px;font-weight:500}.timer-status span{font:17px Georgia,serif;color:#7f8b7d;letter-spacing:1px}.type-row{display:flex;justify-content:space-between;align-items:center;width:100%;border-top:1px solid var(--line);padding:13px 0 12px;font-size:12px;text-align:left}.type-row span{display:flex;gap:7px;align-items:center}.type-row svg{width:17px;height:17px}.type-row b{font-weight:400;color:#59715f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:58%}

/* Building-based reflection */
.building-summary{padding:17px 15px}.building-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;align-items:end;margin-top:20px}.building-item{text-align:center;min-width:0}.mini-building{height:32px;margin:0 auto 8px;width:42px;border-radius:8px 8px 3px 3px;background:linear-gradient(#b9c9b0,#7f9b84);color:#f4f2e7;display:flex;align-items:flex-end;justify-content:center;padding:5px;transition:height .45s}.mini-building svg{width:24px;height:24px}.building-item strong,.building-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.building-item strong{font-size:10px;font-weight:500}.building-item small{font-size:8px;color:#929b8c;margin-top:3px}.type-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.type-options button{display:flex;gap:10px;align-items:center;text-align:left;border:1px solid var(--line);border-radius:13px;padding:13px;background:#fbfaf5}.type-options button.selected{border-color:#66836f;background:#e8eddf}.type-options svg{width:24px;height:24px}.type-options strong,.type-options small{display:block}.type-options strong{font-size:13px}.type-options small{font-size:10px;color:var(--muted);margin-top:3px}.piece-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:16px 0}.piece-options button{padding:12px 8px;border-radius:12px;background:#e9ece2;font-size:12px}.piece-options button.selected{background:var(--green);color:white}.vision-preview,.vision-placeholder{aspect-ratio:1.8;border-radius:15px;background-position:center;background-size:cover}.vision-placeholder{border:1px dashed #b9c4b3;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;color:#869383;font-size:12px}.vision-placeholder svg{width:32px;height:32px}

/* Settings, returns and completion */
.account-card{display:flex;align-items:center;gap:13px;padding:16px}.account-card>div{flex:1;min-width:0}.account-card strong,.account-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-card strong{font-size:14px;font-weight:500}.account-card small{font-size:10px;color:var(--muted);margin-top:4px}.settings-note{text-align:center;margin:22px 10px 0}.return-prompt{text-align:center;padding:4px 0 8px}.return-ring{--return:0%;width:102px;height:102px;border-radius:50%;margin:4px auto 18px;display:grid;place-items:center;background:conic-gradient(#54755f var(--return),#dfe4d8 0);position:relative}.return-ring:after{content:'';position:absolute;inset:8px;border-radius:50%;background:var(--paper)}.return-ring strong{position:relative;z-index:1;font:24px Georgia,serif}.completion-mark{width:88px;height:88px;border-radius:50%;margin:10px auto 20px;display:flex;align-items:center;justify-content:center;background:#f1e5b8;color:#43634f;animation:completion-glow 1.3s ease-in-out infinite}.completion-mark svg{width:39px;height:39px}.light-flight{position:fixed;inset:0;pointer-events:none;z-index:18}.vision-spark{position:absolute;width:52px;height:52px;left:calc(50% - 26px);top:45%;border-radius:14px;background-position:center;background-size:cover;background-color:#e8d599;box-shadow:0 0 30px #f4dc8b;animation:fragment-fly .95s cubic-bezier(.3,.1,.2,1) forwards}.light-orb{position:absolute;width:20px;height:20px;left:calc(50% - 10px);top:45%;border-radius:50%;background:#ffedac;box-shadow:0 0 32px #ffdc71;opacity:0;animation:orb-fly .95s cubic-bezier(.3,.1,.2,1) forwards}

@keyframes lamp-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}@keyframes completion-glow{0%,100%{box-shadow:0 0 0 0 #ead48b22}50%{box-shadow:0 0 0 13px #ead48b18}}@keyframes fragment-fly{0%{transform:scale(1) rotate(0);opacity:1}45%{transform:scale(.4) rotate(20deg);opacity:.3}100%{transform:translateY(150px) scale(.05);opacity:0}}@keyframes orb-fly{0%,28%{opacity:0;transform:translateY(0) scale(.4)}40%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translateY(150px) scale(.5)}}

@media(max-width:350px){.building-grid{gap:4px}.building-item small{font-size:7px}.type-row b{max-width:52%}}@media(prefers-reduced-motion:reduce){.focus-progress>b,.completion-mark,.light-flight *{animation:none!important}}

/* Evidence-backed AI note organization */
.ai-status-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 1px 0;color:#647568;font-size:11px;min-height:28px}.ai-status-row .inline-link{flex-shrink:0}.ai-note{margin-top:0!important}.structured-field{padding:12px 0;border-top:1px solid var(--line)}.structured-field:first-child{border-top:0}.field-head{display:flex;align-items:center;gap:9px;margin-bottom:7px}.field-head label{margin:0!important;flex:1}.field-head span{font-size:10px;color:#8c9688}.field-head .inline-link{font-size:10px}.structured-field[data-source="ai"] .field-head span{color:#4e725c}.structured-field[data-source="manual"] .field-head span{color:#8a6c42}.field-evidence{font-size:10px!important;color:#879382!important;margin:5px 2px 0!important;line-height:1.55!important}.structured-field textarea{min-height:58px!important}

/* 0.5: city at rest, high-density vision puzzle while focusing */
.focusing{background:#102a32}.focusing #app{background:#102a32;color:#f3eedc;padding-bottom:26px}.focusing .brand{color:#f3eedc}.focusing .brand img{filter:brightness(1.3)}.focusing .edition{color:#9db1ab}.focus-view{min-height:calc(100dvh - 112px);display:flex;flex-direction:column}.focus-top{display:flex;justify-content:space-between;align-items:center;color:#a9bcb6;font-size:11px;letter-spacing:1px}.focus-top span:last-child{font:15px Georgia,serif;color:#d4d9c9;letter-spacing:1px}.focus-title{font-size:20px;line-height:1.55;letter-spacing:1px;margin:15px 2px 20px;overflow-wrap:anywhere}.focus-puzzle{position:relative;overflow:hidden;border-radius:24px;aspect-ratio:4/5;background:#142d35;box-shadow:0 24px 60px #071b2255;border:1px solid #ffffff12}.focus-puzzle canvas{width:100%;height:100%;display:block}.puzzle-glow{position:absolute;inset:auto 15% -12% 15%;height:24%;border-radius:50%;background:#ebcf7d22;filter:blur(28px);pointer-events:none}.focus-caption{display:flex;justify-content:space-between;align-items:center;margin:14px 4px 5px;color:#91a7a0;font-size:11px}.focus-caption span:last-child{font:15px Georgia,serif;color:#c5d0c8}.focus-view .timer-actions{margin-top:auto;padding-top:22px}.focus-view .timer-actions .primary{background:#e9dfba;color:#27443b}.focus-view .timer-actions .text-button{color:#91a7a0}.paused-card{border-color:#d9dfcf;background:#f0f1e7}.paused-card h2{margin:8px 0 12px;overflow-wrap:anywhere}.paused-card>p:not(.eyebrow){font-size:14px;color:#647467;line-height:1.8;margin-bottom:18px}.pause-copy{font-size:14px;color:#677568;margin:1px 0 14px}.light-pause-actions{margin-top:18px}.light-pause-actions .text-button{flex:.65}.return-prompt{padding:14px 4px 24px}.return-prompt p{font-size:17px;line-height:1.8;color:#40594c;white-space:pre-wrap}.focusing #toast{bottom:32px}

/* Distinct silhouettes, one restrained miniature-city language */
.building-visual{position:relative;display:block!important;width:48px;height:52px;flex:0 0 48px;margin:0 auto 9px;background:#315954;border-radius:5px 5px 2px 2px;box-shadow:inset 0 -7px #244742}.building-visual i{position:absolute;display:block;background:#e6cf8f;box-shadow:13px 0 #e6cf8f,26px 0 #e6cf8f;width:6px;height:7px;left:7px;top:18px}.building-visual i:nth-child(2){top:31px}.building-visual i:nth-child(3){width:10px;height:12px;left:19px;top:40px;box-shadow:none}.building-study{height:43px;margin-top:9px;border-radius:3px}.building-study:before{content:'';position:absolute;left:-4px;right:-4px;top:-8px;height:8px;background:#b68a68;clip-path:polygon(50% 0,100% 100%,0 100%)}.building-work{height:58px;margin-top:-6px;background:#365b60}.building-work i{top:12px;box-shadow:13px 0 #e6cf8f,26px 0 #e6cf8f}.building-work i:nth-child(2){top:26px}.building-work i:nth-child(3){top:40px;width:6px;height:7px;left:7px;box-shadow:13px 0 #e6cf8f,26px 0 #e6cf8f}.building-create{height:40px;margin-top:12px;border-radius:10px 2px 2px 2px;background:#426968}.building-create:before{content:'';position:absolute;left:4px;right:4px;top:-12px;height:14px;background:#b97d65;transform:skewX(-18deg)}.building-create i{width:24px;height:15px;left:12px;top:12px;box-shadow:none;background:linear-gradient(90deg,#e6cf8f 0 29%,#355b5a 30% 36%,#e6cf8f 37% 65%,#355b5a 66% 72%,#e6cf8f 73%)}.building-create i:nth-child(2),.building-create i:nth-child(3){display:none}.building-life{width:44px;height:34px;margin-top:18px;background:#41645a}.building-life:before{content:'';position:absolute;left:-4px;right:-4px;top:-16px;height:18px;background:#a97862;clip-path:polygon(50% 0,100% 100%,0 100%)}.building-life i{top:9px;left:7px;box-shadow:24px 0 #e6cf8f}.building-life i:nth-child(2){display:none}.building-life i:nth-child(3){top:20px;left:18px;box-shadow:none}.building-grid{align-items:end}.building-item .building-visual{transform:scale(.76);transform-origin:bottom center;margin-bottom:6px}.type-options button{min-height:86px}.type-options .building-visual{margin:0;transform:scale(.72);transform-origin:center}.type-row .building-visual{width:22px;height:25px;flex-basis:22px;margin:0;transform:scale(.45);transform-origin:center}.type-row span{min-height:28px}

@media(max-height:720px){.focus-puzzle{aspect-ratio:1.25}.focus-view{min-height:calc(100dvh - 98px)}.focus-title{margin:8px 2px 12px}.focus-view .timer-actions{padding-top:12px}}

/* 0.5.2: non-blocking AI summaries at start and return */
.focus-ai-hint{min-height:22px;margin:-11px 2px 16px;color:#d6cfae;font-size:13px;line-height:1.6;letter-spacing:.2px;white-space:pre-wrap}.focus-ai-hint.pending{color:#8fa59e}.focus-ai-hint.pending:after{content:' ·';animation:ai-pulse 1.1s ease-in-out infinite}.event-ai-hint{margin-top:7px!important;padding-left:10px;border-left:2px solid #d9c88f;color:#435f50!important}.paused-card #paused-hint{transition:opacity .18s}.return-prompt #return-hint{transition:opacity .18s}@keyframes ai-pulse{0%,100%{opacity:.25}50%{opacity:1}}
:root{color-scheme:light}
.journal-intro{margin-bottom:18px}.journal-report{padding:16px;margin-top:0}
.journal-range{display:flex;padding:4px;background:#ecefe4;border-radius:12px;gap:4px}
.journal-range button{flex:1;min-height:35px;border-radius:9px;font-size:13px;color:#87917e}
.journal-range button.selected{background:#fbfaf5;color:#31573f;box-shadow:0 2px 5px #30402b09}
.journal-report .report-period{margin:12px 0 5px;padding:0 10px;font-size:14px}
.journal-now{display:block;font-size:11px;margin:0 auto 8px;min-height:30px;color:#81917a}
.journal-metrics{display:grid;grid-template-columns:1.25fr .85fr 1.05fr;gap:6px;margin:16px 0 24px}
.journal-metrics>div{background:#eff1e7;padding:12px 4px 10px;border-radius:11px;text-align:center}
.journal-metrics strong{display:block;font-weight:500;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.journal-metrics strong small{font-size:11px;margin-left:3px}.journal-metrics span{display:block;font-size:10px;color:#8a9580;margin-top:5px}
.journal-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;height:137px;margin:5px 2px 8px}
.journal-week-day{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:9px;padding:0;min-width:0}
.week-value{font-size:9px;color:#7f8f78;min-height:14px;white-space:nowrap}
.week-track{height:84px;display:flex;align-items:flex-end;justify-content:center;width:100%}
.week-stack{display:flex;flex-direction:column-reverse;width:19px;overflow:hidden;border-radius:5px 5px 2px 2px}
.week-track i{display:block;width:100%;min-height:0;flex-basis:0}
.week-stack .week-empty{height:100%;background:#e2e7d9}
.week-label{font-size:11px;color:#919b86}.journal-week-day.is-today .week-label{color:#355e43;font-weight:600}
.journal-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.calendar-weekday{text-align:center;font-size:10px;color:#9da48f;padding:0 0 5px}
.calendar-day{aspect-ratio:1;min-height:30px;border-radius:8px;padding:0;font-size:12px;color:#35513c}
.calendar-day.is-today{outline:1px solid #aa9866;outline-offset:2px}.calendar-day:disabled{opacity:.28}
.calendar-key{font-size:9px;color:#99a28d;line-height:1.6;text-align:center;margin:14px 0 16px}
.journal-year{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 10px}
.mini-month{padding:0;text-align:left;display:flex;flex-direction:column;gap:7px;min-width:0;background:transparent}
.mini-month-label{font-size:11px;color:#607659}.mini-month:disabled{opacity:.35}
.mini-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;width:100%}
.mini-calendar i{display:block;aspect-ratio:1;border-radius:2px}.mini-calendar .calendar-blank{background:transparent}.mini-calendar .future-day{opacity:.25}
.mini-month-time{font-size:8px;min-height:12px;color:#939f86}
.journal-breakdown{border-top:1px solid #e6e9dd;padding-top:6px;margin-top:16px}
.journal-type{margin:13px 0 16px}.journal-type>div:first-child{display:flex;align-items:center;justify-content:space-between;font-size:11px;gap:12px;line-height:1.6}
.journal-type>div:first-child>span:first-child{overflow-wrap:anywhere}.journal-type>div:first-child>span:last-child{white-space:nowrap;color:#687e61}
.journal-type small{font-size:9px;color:#9ca58e;margin-left:8px}
.type-time-track{height:4px;background:#e9ece0;border-radius:3px;margin:8px 0 0;overflow:hidden}.type-time-track i{display:block;height:100%;border-radius:3px}
.journal-breakdown>.text-button{display:block;margin:-6px auto 0;font-size:11px}
.journal-detail-toggle{display:block;min-height:44px;width:100%;font-size:11px;color:#667e61;border-top:1px solid #e6e9dd;padding:15px 0 0;margin-top:14px}
.journal-empty{text-align:center;color:#939e85;font-size:12px;margin:10px 0 20px}
.report-details{padding-top:18px}.journal-report .time-table-scroll{max-height:360px}
.day-task{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:60px;width:100%;border-top:1px solid #e3e7d9;padding:13px 0;text-align:left;font-size:14px}
.day-task>span{overflow-wrap:anywhere}.day-task strong{font-size:12px;font-weight:400;color:#7a8b6e;white-space:nowrap}
@media(max-width:350px){.journal-report{padding:12px}.journal-week{gap:4px}.journal-metrics strong{font-size:14px}.journal-year{gap:12px 8px}.journal-calendar{gap:5px}}
.type-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex:0 0 8px;margin-right:5px;vertical-align:middle}
.type-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.custom-type-row{display:flex;align-items:center;gap:12px;width:100%;padding:12px 0;text-align:left;border-bottom:1px solid var(--line)}
.custom-type-row>span:nth-child(2){flex:1;min-width:0}
.custom-type-row strong,.custom-type-row small{display:block;overflow-wrap:anywhere}
.custom-type-row strong{font-size:15px;font-weight:500}.custom-type-row small{font-size:11px;color:var(--muted);margin-top:7px}
.custom-type-row>span:last-child{font-size:12px;color:var(--muted)}
.custom-type-list{margin-bottom:20px}
.color-options{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 18px}
.color-option{border-radius:50%;width:32px;height:32px;color:white;font-size:16px;border:3px solid transparent}
.color-option.selected{outline:2px solid #a8af9d;outline-offset:3px}
.skin-previews{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.skin-preview{background:#edf0e6;border:1px solid #dbe1cf;border-radius:18px;padding:12px 6px;text-align:center}
.skin-preview .building-model{width:100%;height:130px}
.skin-preview strong,.skin-preview small{display:block;font-weight:400}.skin-preview strong{font-size:14px}.skin-preview small{font-size:11px;color:var(--muted);margin-top:7px}
.skin-showcase{background:radial-gradient(ellipse at center,#f4ebca,#e0e9db);border-radius:22px;margin:12px 0 20px;padding:15px}
.skin-showcase .building-model{width:100%;height:260px}.skin-description{font-size:14px;color:#6b7d6c;line-height:1.9}
.time-report{padding:18px 12px}.time-report .chart-head{padding:0 4px}.time-report .chart-head h2{font-size:17px}.time-report .chart-head strong{font-size:14px;font-weight:500;color:#58755f}
.report-tabs{display:flex;background:#edf0e6;border-radius:12px;padding:4px;margin:18px 0 14px;gap:4px}
.report-tabs button{flex:1;font-size:13px;min-height:36px;border-radius:9px;color:#7b8977}.report-tabs button.selected{background:#fafaf4;box-shadow:0 2px 7px #3047350b;color:#34573f}
.report-period{display:flex;align-items:center;justify-content:space-between;font-size:13px;padding:0 12px;min-height:44px;margin-bottom:10px}
.report-period button{font-size:25px;color:#697e67}
.report-group{display:flex;gap:4px;align-items:center;margin-bottom:13px}.report-group button{padding:8px;font-size:11px;border-radius:8px;min-height:36px;color:#8a9484}.report-group .selected{color:#3d624c;background:#e9eddf}.report-group>span{margin-left:auto;color:#8a9484;font-size:10px}
.time-table-scroll{overflow:auto;max-height:420px;border:1px solid #e3e7dc;border-radius:12px;overscroll-behavior-x:contain}
.time-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%;font-size:11px;color:#506652}
.time-table th,.time-table td{height:46px;min-width:38px;width:38px;padding:4px 3px;text-align:center;border-bottom:1px solid #e9ecdf;font-weight:400}
.time-table thead th{background:#edf0e5;position:sticky;top:0;z-index:2}.time-table th small{display:block;margin-top:3px;color:#9aa08f;font-size:9px}
.time-table tr>th:first-child{position:sticky;left:0;width:96px;min-width:96px;max-width:96px;text-align:left;background:#fafaf4;z-index:1;padding-left:8px}
.time-table thead tr>th:first-child{background:#edf0e5;z-index:3}.time-table tfoot th,.time-table tfoot td{background:#f0f2e8;font-weight:500;border-bottom:0}
.report-row-title{display:block;overflow-wrap:anywhere;font-size:11px;line-height:1.6}.report-row-title .type-dot{width:6px;height:6px}
.time-cell{display:block;width:100%;height:32px;min-height:32px;border-radius:6px;padding:0;font-size:10px;color:#294333}.time-zero{color:#c4cdbb}
.time-table .report-total{font-weight:500;background:#f2f4eb}.report-help{font-size:10px;color:#8a9581;margin:10px 3px 0;line-height:1.6}
.time-table tr>:nth-child(2){position:sticky;left:96px;z-index:1;min-width:42px;width:42px;background:#f2f4eb;border-right:1px solid #e1e6d8}
.time-table thead tr>:nth-child(2){z-index:3;background:#edf0e5}
.report-legend{display:flex;gap:8px 12px;flex-wrap:wrap;margin:12px 3px 0;font-size:10px;color:#7f8d79}.report-legend span{overflow-wrap:anywhere;max-width:100%}
.report-empty{text-align:center;padding:30px 8px;color:#909a87;font-size:13px}.cell-duration{font-size:30px;margin:18px 0 25px;color:#3a624c}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.building-model{display:block;width:64px;height:60px;flex-shrink:0}
.building-model>svg{display:block;width:100%;height:100%;fill:none;stroke:none}
.type-options button{flex-direction:column;justify-content:center;text-align:center;gap:4px;padding:10px 8px 14px;min-height:176px;position:relative;border-radius:18px}
.type-options button.selected{background:#e8eddf;box-shadow:inset 0 0 0 1px #66836f}
.type-options button.selected:after{content:'✓';position:absolute;right:9px;top:8px;color:#496b52;font-size:12px}
.type-options .building-model{width:120px;height:112px;max-width:100%}
.type-options strong{font-size:15px;letter-spacing:1px}
.type-options small{margin-top:5px;font-size:11px}
.building-grid .building-model{width:100%;height:74px;margin-bottom:8px}
.type-row .building-model{width:38px;height:32px;min-height:0;flex:0 0 38px}
@media(max-height:720px){.type-options .building-model{width:94px;height:86px}.type-options button{min-height:146px}}

/* Compact city entrance; the task card stays above the bottom navigation. */
.city-home-screen .brand{height:64px}
.city-home-screen #main{padding-top:0}
.city-home{display:flex;flex-direction:column;gap:12px}
.city-home .city{margin:0}
.city-home .scene{aspect-ratio:auto;min-height:90px;height:clamp(90px,calc(100svh - 500px - env(safe-area-inset-bottom)),310px)}
.city-home .city-foot{height:36px;padding:0 16px 8px}
.city-home .start-card{margin:0;padding:16px}
.start-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px}
.start-heading label{margin:0;font-size:15px}
.vision-select{display:flex;align-items:center;gap:5px;min-height:44px;padding:6px 0 6px 8px;font-size:12px;color:#64806a}
.vision-select svg{width:17px;height:17px}
.city-home .start-card .duration{padding-top:0;margin-bottom:0;min-height:44px}
.city-home .type-row{padding:4px 0;min-height:44px}
.city-home .start-card .primary{min-height:50px;padding:13px;margin-top:8px}
.focus-puzzle{flex-shrink:0;align-self:center;max-width:100%;margin:auto;aspect-ratio:4/5}
/* Full-height night canvas; native system bars follow the same focus state. */
html.immersive,html.immersive body{background:#102a32}
.focusing #app{padding:calc(18px + env(safe-area-inset-top)) 20px calc(18px + env(safe-area-inset-bottom));min-height:100dvh;box-shadow:none}
.focusing .brand,.focusing #nav{display:none}
.focusing #main{padding:0}
.focus-view{height:calc(100dvh - 36px - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:0;gap:0}
.focus-title{font-size:19px;line-height:1.5;margin:14px 0 8px;max-height:3em;overflow-y:auto;flex-shrink:0}
.focus-view .focus-ai-hint{margin:0 0 16px;max-height:3.5em;overflow-y:auto;flex-shrink:0}
.focus-top{flex-shrink:0}
.focus-puzzle{border-radius:12px;border-color:#ffffff0b;box-shadow:0 14px 40px #061c2440}
.focus-view .focus-caption{flex-shrink:0;margin:16px 2px 4px}
.focus-view .timer-actions{flex-shrink:0;margin-top:0;padding-top:14px}
.focus-view .timer-actions .primary{background:#e9dfbaee}
.focusing .preparation-view{min-height:calc(100dvh - 36px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
@media(max-height:600px){.focus-title{font-size:17px;margin-top:8px}.focus-view .focus-ai-hint{font-size:12px;margin-bottom:10px}.focus-view .timer-actions{padding-top:8px}.focus-view .timer-actions .primary{min-height:46px;padding:11px}.focus-view .focus-caption{margin-top:10px}}
.focus-caption{gap:18px}
.focus-caption .focus-progress{flex:1;margin:0;height:28px}
.focus-caption .focus-progress:before{background:#365159}
.focus-caption .focus-progress>span{background:linear-gradient(90deg,#849f83,#e2c77f)}
.vision-preview{background-size:contain;background-repeat:no-repeat}
.vision-upload-area{display:flex;justify-content:center;width:100%;aspect-ratio:auto;padding:0;cursor:pointer;overflow:hidden;background-color:transparent;border:1px dashed var(--line)}.vision-upload-area img{display:block;width:auto;height:auto;max-width:100%;max-height:min(60dvh,520px);object-fit:contain}.vision-upload-area:focus-visible{outline:2px solid var(--green);outline-offset:4px}.vision-upload-area:hover{border-color:var(--green)}
.first-step-card textarea::placeholder{font-size:13px;color:#879080;opacity:1}
.first-step-card .step-foot{justify-content:flex-end}
/* Planning uses the same quiet palette, with calendar time kept separate from actual records. */
.journal-intro{display:flex;align-items:center;justify-content:space-between;gap:12px}
.journal-tabs{display:flex;border-radius:24px;background:#e9ecdf;padding:4px;gap:2px}
.journal-tools{display:flex;align-items:center;gap:12px;min-width:0}
.journal-notebook-entry{border:0;background:transparent;color:var(--green);font:inherit;font-size:14px;padding:10px 12px;white-space:nowrap;border-radius:8px;cursor:pointer}
.journal-notebook-entry:hover{background:var(--calendar-empty,#e9ecdf)}
.journal-notebook-entry:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.journal-tabs button{border:0;background:transparent;padding:8px 17px;font-size:14px;color:#738170;border-radius:20px}
.journal-tabs .selected{background:#faf9f4;color:#284d3e;box-shadow:0 1px 5px #203d3210}
.planner{padding:16px 12px;overflow:hidden}.planner-top,.planner-period{display:flex;align-items:center;justify-content:space-between;gap:6px}
.planner-period{margin:12px 0;font-size:14px}.planner-period strong{flex:1;text-align:center;font-weight:500}.planner-period .icon-button{width:30px;height:36px;font-size:24px}.planner-period .text-button{padding:8px;font-size:12px}
.plan-add{background:#e6ebdc;color:#345b47;border:0;border-radius:20px;padding:10px 15px;font-size:13px}
.plan-weekdays,.plan-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.plan-weekdays{padding:8px 0 12px;text-align:center;font-size:11px;color:#8a9585}
.plan-cell{min-height:85px;border-top:1px solid #e5e8de;border-right:1px solid #e5e8de;padding:4px 2px;min-width:0}.plan-cell:nth-child(7n){border-right:0}.plan-cell.outside{opacity:.4}.plan-cell.selected{background:#e9edde70}
.plan-date{display:block;margin:0 auto 4px;border:0;background:transparent;color:#476452;border-radius:50%;width:28px;height:28px;padding:0;font-size:12px}.plan-date.today{background:#355b48;color:#fff}.plan-date[aria-pressed=true]{box-shadow:0 0 0 1px #77977c}
.plan-event,.plan-block{border:0;border-left:3px solid var(--plan-color);color:#29453d;background:color-mix(in srgb,var(--plan-color) 17%,#faf9f4);text-align:left;border-radius:5px}
.plan-cell .plan-event,.plan-all-day .plan-event{display:block;width:100%;padding:3px 2px;font-size:10px;margin:3px 0}.plan-cell .plan-event span,.plan-all-day .plan-event span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.plan-more{border:0;background:transparent;font-size:10px;padding:2px 4px;color:#6b7d68}.is-done{opacity:.65}.is-done>span:first-child{text-decoration:line-through;text-decoration-color:#78907980}
.plan-agenda{border-top:1px solid #e4e7dc;margin-top:18px;padding:4px 4px 0}.plan-agenda h3{display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:500;margin:12px 0}.plan-agenda h3 small{font-size:11px;font-weight:400;color:#8c9785}
.plan-agenda .plan-event{display:flex;width:100%;flex-direction:column;gap:5px;margin:8px 0;padding:12px;font-size:14px}.plan-event small{font-size:11px;color:#73826f}.plan-empty{display:flex;align-items:center;justify-content:space-between;color:#8b9685;font-size:13px;padding:12px 0}
.plan-time-scroll{height:380px;overflow:auto;border:1px solid #e5e8de;border-radius:10px;overscroll-behavior:contain}.plan-time-inner{min-width:calc(42px + var(--days)*76px)}
.plan-time-head,.plan-all-day,.plan-timeline{display:grid;grid-template-columns:42px repeat(var(--days),minmax(0,1fr))}
.plan-time-head{position:sticky;top:0;z-index:5;background:#f8f8f0;border-bottom:1px solid #e5e8de;height:40px}
.plan-day-head{border:0;background:transparent;color:#71816e;font-size:11px}.plan-day-head b{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;font-weight:500}.plan-day-head.selected b{background:#416650;color:white;border-radius:50%}
.plan-all-day{background:#f7f7ef;border-bottom:1px solid #e5e8de;min-height:30px}.plan-all-day>span{font-size:9px;padding:8px 3px;color:#899582}.plan-all-day>div{border-left:1px solid #e5e8de;padding:0 2px}
.plan-hours,.plan-day-column{height:1152px;position:relative;min-width:0}.plan-hours{background:#f8f8f0}.plan-hours span{position:absolute;left:3px;font-size:9px;color:#8a9784;padding-top:3px;font-variant-numeric:tabular-nums}
.plan-day-column{border-left:1px solid #e5e8de;background:repeating-linear-gradient(to bottom,transparent 0,transparent 47px,#e1e5d9 47px,#e1e5d9 48px),repeating-linear-gradient(to bottom,transparent 0,transparent 11px,#e9ece380 11px,#e9ece380 12px)}
.plan-hour{position:absolute;left:0;width:100%;height:48px;border:0;background:transparent;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:crosshair}.plan-hour:hover{background:#dce7d940}.plan-hour:focus-visible{outline:2px solid #738f72;outline-offset:-2px}
.selecting-time{user-select:none;-webkit-user-select:none;cursor:crosshair}
.plan-selection{position:absolute;left:0;right:0;border:1.5px solid #608266;background:#b6cba077;border-radius:4px;z-index:4;pointer-events:none}
.plan-selection-label{position:absolute;bottom:100%;left:0;white-space:nowrap;background:#355b48;color:#fffdf2;padding:5px 7px;border-radius:5px;font-size:10px;box-shadow:0 2px 6px #17352022}
.plan-day-column:last-child .plan-selection-label{left:auto;right:0}
.plan-gesture-hint{font-size:10px;color:#889581;text-align:right;margin:8px 2px 0}
.plan-duration{font-size:12px;color:#6d806b;margin-top:8px}
.plan-block{position:absolute;overflow:hidden;z-index:2;padding:3px;font-size:11px;min-width:0}.plan-block strong{display:block;font-size:11px;font-weight:500;overflow:hidden}.plan-block small{font-size:9px;display:block;white-space:nowrap}
.prep-duration{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px;color:#c6d0ba;margin:0 0 14px}.prep-duration input{width:72px;display:inline-block;text-align:center;padding:8px;background:#203b3e;color:#f4efd9;border-color:#69827b}
.sheet .plan-focus-length{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 24px;padding:16px 0;border-top:1px solid var(--line)}.plan-focus-length small{display:block;font-size:11px;color:var(--muted);margin-top:6px}.plan-focus-length input{display:inline-block;width:74px;padding:10px;text-align:center}.plan-focus-length>span:last-child{white-space:nowrap}
.plan-detail p{font-size:13px;line-height:1.8}.plan-detail-building{display:flex;align-items:center;gap:12px;font-size:14px}.plan-detail-building .building-model{width:76px;height:76px}
#plan-form label{font-size:13px}#plan-form input:not([type=radio]):not([type=checkbox]),#plan-form select{width:100%;min-width:0;box-sizing:border-box;font:inherit;font-size:14px;background:#fbfaf6;color:#29453d;border:1px solid #dde2d3;border-radius:12px;padding:12px}
#plan-form .plan-toggle{display:flex;align-items:center;justify-content:space-between;margin:14px 0}#plan-all-day{width:18px;height:18px;accent-color:#4e7257}
.plan-date-fields{display:grid;grid-template-columns:1fr;gap:8px}.plan-date-fields label{margin:0}
#plan-form fieldset{border:0;padding:0;margin:18px 0;min-width:0}#plan-form legend{font-size:13px;margin-bottom:10px;color:#667c64}
.plan-colors{display:flex;gap:8px;flex-wrap:wrap}.plan-colors label{display:block;position:relative;width:28px;height:28px;margin:0!important}.plan-colors input{position:absolute;inset:0;margin:0;opacity:0;width:100%;height:100%;cursor:pointer}.plan-colors span{display:block;width:100%;height:100%;border-radius:50%;background:var(--plan-color);pointer-events:none}.plan-colors input:checked+span{outline:2px solid #34583f;outline-offset:3px}.plan-colors input:focus-visible+span{outline:3px solid #a28746;outline-offset:3px}
.plan-skins{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.plan-skins label{position:relative;text-align:center;border:1px solid #e0e5d7;border-radius:12px;padding:6px 2px;margin:0!important}.plan-skins .building-model{display:block;width:100%;height:56px}.plan-skins span:last-child{font-size:11px;display:block}.plan-skins input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.plan-skins label:has(input:checked){background:#e3ebd9;border-color:#6d906b}.plan-skins label:has(input:focus-visible){outline:2px solid #a28746}
@media(max-height:650px){.plan-time-scroll{height:300px}}
.first-step-card .step-label{justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px}
.preparation-view .first-step-card #step-help{font-size:15px;margin:0;white-space:nowrap}
.first-step-card .edit-step{flex-shrink:0;white-space:nowrap;min-height:44px}
@media(max-width:360px){.preparation-view .first-step-card #step-help{font-size:12px}.first-step-card .edit-step{font-size:12px;padding:9px 8px}}
.preparation-view{min-height:calc(100dvh - 125px);display:flex;flex-direction:column;color:#eee9d9}.prep-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#9aaea6;gap:12px}.prep-top .text-button{color:#c5d1c6;padding-left:0}.prep-heading{text-align:center;margin:42px 0 22px}.prep-heading h1{font-size:28px;letter-spacing:2px;line-height:1.5;margin:12px 0}.prep-heading>p{font-size:13px;color:#b0bfb4;line-height:1.8}.prep-heading .eyebrow{color:#cabe94;letter-spacing:3px;font-size:10px}.prep-original{font-size:14px;color:#b6c3b8;text-align:center;line-height:1.8;overflow-wrap:anywhere}.first-step-card{background:#f6f4e8;color:#2a463d;border:1px solid #e5d8ab;border-radius:22px;padding:22px 18px;box-shadow:0 20px 45px #0002}.step-label{display:flex;align-items:center;justify-content:space-between;gap:12px}.step-label label{font-size:13px;letter-spacing:1px;margin:0}.edit-step{font-size:13px;background:#e1e8d6;color:#294e3e;border:1px solid #91a788;border-radius:20px;padding:9px 13px;font-weight:600}.first-step-card #step-help{font-size:12px;color:#687b68;line-height:1.7;margin:15px 0}.first-step-card textarea{display:block;width:100%;box-sizing:border-box;background:#fffef9;color:#274638;border:1.5px solid #8fa180;border-radius:13px;padding:16px;font-size:19px;line-height:1.8;min-height:150px;resize:vertical}.first-step-card textarea:focus{outline:3px solid #d5b96766;border-color:#5b805d}.step-foot{display:flex;justify-content:space-between;font-size:10px;color:#7c886e;margin-top:12px}.prep-actions{margin-top:auto;padding-top:32px}.prep-actions .primary{background:#e9dfba;color:#27443b}.prep-actions .primary:disabled{opacity:.4;cursor:default}.prep-actions p{text-align:center;font-size:11px;color:#a7b8ac;margin:13px 0}.preparation-view>.text-button{color:#cbd6c8;margin:18px auto}.light-tunnel{height:260px;position:relative;overflow:hidden;margin:10px -18px -20px;mask-image:linear-gradient(transparent,#000 15%,#000 85%,transparent)}.light-tunnel i{position:absolute;left:50%;top:50%;width:3px;height:3px;border-radius:50%;background:#f9e5a1;box-shadow:0 0 9px 2px #f1d18466;animation:through-light 2.8s linear infinite;animation-delay:var(--delay)}.tunnel-core{position:absolute;left:calc(50% - 10px);top:calc(50% - 10px);width:20px;height:20px;border-radius:50%;background:#f7eac0;box-shadow:0 0 45px 10px #edda8a44;animation:core-breathe 2.6s ease-in-out infinite}@keyframes through-light{0%{transform:rotate(var(--angle)) translateX(10px) scale(.2);opacity:0}20%{opacity:.6}85%{opacity:.8}100%{transform:rotate(var(--angle)) translateX(var(--distance)) scale(2);opacity:0}}@keyframes core-breathe{50%{opacity:.55;transform:scale(.75)}}.reduced .light-tunnel *{animation:none!important}.reduced .light-tunnel i{transform:rotate(var(--angle)) translateX(85px)}@media(prefers-reduced-motion:reduce){.light-tunnel *{animation:none!important}.light-tunnel i{transform:rotate(var(--angle)) translateX(85px)}}@media(max-height:720px){.light-tunnel{height:190px}.prep-heading{margin:24px 0 18px}}
/* 0.8: quiet optional help, local notes and native-looking category chips. */
.plan-categories{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 18px}.sheet .plan-categories label{margin:0;position:relative}.plan-categories input{position:absolute;width:1px;height:1px;opacity:0}.plan-categories label>span{display:flex;align-items:center;gap:7px;padding:11px 15px;min-height:44px;border:1px solid var(--line);background:#fbfaf5;border-radius:12px;font-size:13px}.plan-categories input:checked+span{background:#e4ebdd;border-color:#64826b;color:#294a39}.plan-categories input:focus-visible+span{outline:2px solid #9f8040;outline-offset:2px}.plan-categories input:disabled+span{opacity:.6}
.little-lamp-link{display:block;min-height:38px;margin:3px auto -6px;color:#798879;font-size:11px;padding:8px 0}.city-home .scene{height:clamp(65px,calc(100svh - 535px - env(safe-area-inset-bottom)),280px);min-height:65px}.focus-secondary{display:flex;align-items:center;justify-content:space-between;padding:5px 2px}.optional-help .prep-heading{margin:24px 0 22px}.optional-help .prep-heading h1{font-size:23px}.optional-help .first-step-card textarea{font-size:16px;min-height:130px}.help-status{font-size:12px;color:#6b7d6b;margin-top:12px}.optional-help .prep-actions{padding-top:18px}.optional-help .first-step-card{padding:18px 16px}.optional-help .first-step-card .text-button{padding-bottom:0;min-height:36px}
.pause-snapshot{padding:4px 0 20px;overflow-wrap:anywhere}.pause-snapshot>strong{font-size:18px;font-weight:500}.pause-snapshot p{font-size:14px;margin:10px 0;color:#657565}.snapshot-meta{display:flex;gap:18px;margin:16px 0 8px;font-size:13px}.pause-snapshot small,.pause-snapshot summary{font-size:12px;color:#859080}.pause-snapshot details{margin-top:14px}.review-entry{display:block;width:100%;text-align:left;color:#657864;font-size:13px;padding:16px 0;border-top:1px solid var(--line);margin-top:16px}.session-note-card{padding:18px 0;border-bottom:1px solid var(--line)}.session-note-card>div{display:flex;justify-content:space-between;gap:12px}.session-note-card strong{font-size:13px;font-weight:500}.session-note-card small{font-size:11px;color:#859080}.jot-line{border-left:2px solid #d4dcbf;padding-left:12px;margin-top:12px;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.review-period{font-size:12px;color:#859080}.review-metrics{display:flex;gap:28px;margin:24px 0}.review-metrics span{font-size:11px;color:#859080}.review-metrics b{display:block;font-size:25px;font-weight:400;color:#3e624f;margin-bottom:4px}.review-task{display:flex;justify-content:space-between;gap:12px;font-size:13px;padding:10px 0;border-bottom:1px solid var(--line)}.review-task span{overflow-wrap:anywhere}.review-task small{flex-shrink:0;color:#859080}.review-prose{background:#ecefe3;padding:18px;border-radius:15px;margin:22px 0;font-size:14px;line-height:1.85}.review-prose p+p{margin-top:12px}.review-prose small{color:#859080}.review-originals{margin:18px 0;font-size:13px}.review-originals summary{cursor:pointer;color:#6d7c6b;padding:6px 0}.review-originals p{padding:12px 0;border-bottom:1px solid var(--line);white-space:pre-wrap;overflow-wrap:anywhere}.review-privacy{font-size:11px;color:#859080;line-height:1.7;margin-top:12px}.review-error,.review-loading{font-size:13px;color:#6e7e67;margin:18px 0}.review-prose{overflow-wrap:anywhere}

/* Five quiet primary destinations: city, together, notes, journal, settings. */
#nav button{flex:1;flex-direction:column;gap:4px;padding:7px 8px;min-width:0;min-height:48px;font-size:11px}
#nav svg{width:19px;height:19px}
@media(max-width:350px){#nav button{min-width:0;padding:7px 5px}}
.language-switch{flex-shrink:0;min-height:34px;padding:6px 10px;border:1px solid #cdd9d1;border-radius:9px;background:transparent;color:inherit;font:inherit;font-size:12px;cursor:pointer}
.auth-language{text-align:center;margin:16px 0}
html[lang="en"] .settings-row>span{min-width:0}
html[lang="en"] .settings-row .subtle{line-height:1.45}
html[lang="en"] .settings-row input.switch{flex-shrink:0}
html[lang="en"] .sheet-head h2{min-width:0;line-height:1.3;overflow-wrap:break-word}
html[lang="en"] .focus-top{gap:8px;flex-wrap:wrap}
html[lang="en"] .focus-secondary{flex-wrap:wrap;gap:8px}
html[lang="en"] .social-links,html[lang="en"] .social-page-actions{flex-wrap:wrap}
html[lang="en"] #nav button{font-size:11px;min-width:0}
html[lang="en"] .auth-card .agreements{line-height:1.5}
@media(max-width:430px){html[lang="en"] .edition{display:none}html[lang="en"] .sheet .actions{flex-wrap:wrap}html[lang="en"] .sheet .actions>button{flex:1 1 120px}html[lang="en"] .brand{gap:8px}}

.timer-mode-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timer-mode-options + .duration-options { margin-top: 1rem; }

.focus-top .focus-elapsed { font:inherit; white-space:nowrap; }
.focus-elapsed #clock { margin-inline-start:.3em; font-variant-numeric:tabular-nums; font-weight:400; }
.focus-result { display:grid; gap:16px; }
.focus-result-slot { height:clamp(132px,38dvh,280px); display:grid; place-items:center; overflow:hidden; }
.focus-result-picture { overflow:hidden; border-radius:12px; background:#19353d; }
.focus-result-picture canvas { display:block; width:100%; height:100%; }
.focus-result-summary { margin:0; text-align:center; color:var(--ink); font-size:14px; }

.focus-apps-sheet{display:flex;flex-direction:column;overflow:hidden}
.focus-apps-sheet:focus{outline:none}
.focus-apps-sheet .sheet-head{margin-bottom:6px}
.focus-app-help{margin:0 0 12px;color:var(--muted);font-size:14px;line-height:1.45}
#focus-app-search{width:100%;padding:10px 13px;border:1px solid var(--line);border-radius:11px;background:var(--card,var(--paper));color:var(--ink);font:inherit;min-height:44px}
.focus-app-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;color:var(--muted);font-size:13px}
.focus-app-tools .text-button{padding:8px 4px;font-size:13px}
.focus-app-list{min-height:0;max-height:min(46dvh,400px);overflow:auto;overscroll-behavior:contain;border-block:1px solid var(--line)}
.focus-apps-sheet .focus-app-row{cursor:pointer;-webkit-tap-highlight-color:transparent;display:grid;grid-template-columns:minmax(0,1fr) 22px;align-items:center;gap:10px;min-height:44px;padding:8px 9px;margin:0;border-radius:8px;font-size:15px;font-weight:500;overflow-wrap:anywhere}
.focus-apps-sheet .focus-app-row[hidden]{display:none}
.focus-app-row input{position:absolute;inline-size:1px;block-size:1px;opacity:0}
.focus-app-row:has(input:checked){background:color-mix(in srgb,var(--green) 9%,var(--paper))}
.focus-app-row:has(input:focus-visible){outline:2px solid var(--green);outline-offset:-2px}
.focus-app-check{display:grid;place-items:center;width:20px;height:20px;border:1px solid var(--line);border-radius:50%;color:transparent}
.focus-app-check svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.focus-app-row input:checked~.focus-app-check{background:var(--green);border-color:var(--green);color:white}
#focus-app-empty{margin:18px 8px}
.focus-app-footer{display:flex;flex-shrink:0;align-items:center;gap:12px;padding-top:14px}
.focus-app-footer .primary{flex:1;width:auto}

.brand .brand-copy{display:grid;gap:4px;letter-spacing:normal;line-height:1.15}
.brand .brand-copy small{font:500 11px/1.25 -apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:.04em;color:var(--muted)}
.language-choice{max-width:420px;margin:clamp(32px,11vh,96px) auto 0;padding:26px}
.language-choice h1{margin:0;font-size:clamp(23px,5.5vw,28px);line-height:1.23}
.language-choice p{margin:8px 0 22px}
.language-choice-options{display:grid;gap:10px}
.language-choice-options button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;text-align:left}
.language-choice-options svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}
