:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#203c38;background:#f7f5ef;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100dvh}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:14px;min-height:46px;padding:10px 16px;background:#203c38;color:#fff;font-weight:650}button:active{transform:scale(.98)}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #efb35a;outline-offset:2px}.shell{max-width:640px;margin:auto;padding:calc(18px + env(safe-area-inset-top)) 18px calc(28px + env(safe-area-inset-bottom))}.top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:22px}.top h1{font-size:23px;margin:5px 0 0;letter-spacing:-.04em}.eyebrow,.section-head{font-size:11px;font-weight:800;letter-spacing:.13em;color:#687d75}.text-button{color:#2d675e;background:transparent;min-height:44px;padding:7px 8px}.muted,.next-card p,.execution-note{color:#64766f}.modules{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:16px}.module{background:#e9ede5;color:#3b5650}.module.selected{background:#203c38;color:white}.state,.next-card,.followup,.recent,.alert,.edit-form{background:white;border:1px solid #e3e7df;border-radius:22px;padding:18px;margin-bottom:14px;box-shadow:0 7px 28px #203c3808}.section-head{display:flex;justify-content:space-between;align-items:center}.state-summary{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.state-summary span{background:#f0f3ec;border-radius:30px;padding:7px 10px;font-size:13px;font-weight:650}.state-form,.edit-form{display:grid;gap:13px}.state-form{margin-top:15px}.hidden{display:none!important}label{display:grid;gap:6px;font-size:13px;font-weight:650}input,select{width:100%;min-height:46px;border:1px solid #cbd8ce;border-radius:12px;padding:9px 12px;background:#fff;color:#203c38;font-size:16px}.next-card{padding:23px 20px;border-color:#ccd9cf;min-height:225px}.next-card h2{font-size:29px;line-height:1.23;letter-spacing:-.045em;margin:15px 0 8px}.next-card p{font-size:14px;margin:0 0 23px}.actions,.row{display:flex;gap:8px;flex-wrap:wrap}.actions button{flex:1;min-height:54px;font-size:17px}.primary{background:#1e5d50}.secondary{background:#e9eee7;color:#20473d}.ghost{background:transparent;color:#42645b}.alert{background:#fff7e9;border-color:#f4dfbc}.alert strong{display:block;line-height:1.45}.alert .row{margin-top:12px}.error{color:#963d2c;background:#fff0ea}.reminder-row{display:flex;align-items:center;gap:6px;border-top:1px solid #eadcc7;margin-top:12px;padding-top:12px}.reminder-row div{flex:1;min-width:0}.reminder-row b,.reminder-row small,.recent small,.pool-item small{display:block}.reminder-row small,.recent small,.pool-item small{color:#687d75;font-size:12px;margin-top:3px}.small{font-size:12px;min-height:44px;padding:7px 10px}.followup p{font-size:13px;color:#687d75}.stack{display:grid;gap:7px}.recent{display:grid;gap:10px}.recent label{max-width:220px}.quiet-details{color:#64766f;font-size:13px;padding:10px 3px}.quiet-details summary{cursor:pointer}.quiet-details p{line-height:1.6}.capture-space{height:152px}.capture{position:fixed;bottom:var(--keyboard-offset,0px);left:0;right:0;margin:auto;max-width:640px;background:#f7f5eff2;backdrop-filter:blur(12px);padding:10px 18px calc(11px + env(safe-area-inset-bottom));border-top:1px solid #e1e9e0;z-index:5}.capture>label{margin-bottom:5px;font-size:12px}.capture-input{display:flex;gap:7px}.capture-input input{min-width:0;flex:1;background:white}.capture-input button{width:49px;min-width:49px;padding:0;font-size:22px}.capture-options{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#7a8b81}.remind-options{display:flex;flex-wrap:wrap;gap:5px;align-items:center;padding-top:8px}.remind-options span{font-size:12px;width:100%}.remind-options button{background:#e8eee7;color:#20473d;font-size:12px;min-height:44px;padding:6px 9px}.execution{min-height:calc(100dvh - 150px);display:flex;flex-direction:column;padding-top:38px}.execution h2{font-size:clamp(31px,8vw,45px);line-height:1.2;letter-spacing:-.05em;margin:16px 0}.timer{font-size:14px;color:#6d8077;line-height:1.9}.timer strong{font-size:23px;color:#203c38}.diagnosis{display:grid;gap:12px;margin:25px 0}.execution-actions{display:grid;gap:9px;margin-top:auto}.execution-actions>button,.progress-choice button{min-height:58px;font-size:18px}.progress-choice{display:grid;grid-template-columns:1fr 1fr;gap:8px}.execution-note{font-size:12px;text-align:center;line-height:1.5}.pool{padding-bottom:30px}.pool-list{display:grid;gap:8px}.pool-item{background:white;border:1px solid #e3e7df;border-radius:15px;padding:10px;display:flex;align-items:center;gap:5px}.pool-item div{flex:1;min-width:0}.pool-item strong{font-size:14px;overflow-wrap:anywhere}.edit-form{margin-bottom:20px}.edit-form h2{margin:0}.checkbox{display:flex;align-items:center;gap:8px}.checkbox input{width:20px;min-height:20px}.toast{background:#e3f1e8;border-radius:12px;padding:10px;margin-bottom:12px;font-size:13px}@media(min-width:700px){.capture{border-left:1px solid #e1e9e0;border-right:1px solid #e1e9e0;border-radius:18px 18px 0 0}.shell{padding-top:40px}}

.export{margin-bottom:14px}
.sync-line{display:flex;align-items:center;gap:5px;margin-top:5px;font-size:11px;color:#64766f}.sync-dot{width:7px;height:7px;border-radius:50%;background:#d29b35}.sync-dot.synced{background:#438f65}.sync-dot.failed,.sync-dot.login,.sync-dot.conflict{background:#c26446}.sync-action{font-size:11px;min-height:28px;padding:2px 5px}.backup-actions{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}.conflict-list{font-size:13px}.conflict-item{border-top:1px solid #eadcc7;margin-top:10px;padding-top:10px}.conflict-item small{color:#687d75}.conflict-item p{margin:3px 0 8px;overflow-wrap:anywhere}
.auth-shell{max-width:440px;padding-top:12vh}.auth-shell h1{font-size:28px;letter-spacing:-.04em;margin:8px 0}.auth-shell .muted{font-size:14px;line-height:1.6}.auth-shell .state{margin-top:25px}.auth-message{min-height:20px;margin:0;color:#963d2c;font-size:13px}.auth-back{color:#2d675e;font-size:14px}
.energy-control{grid-template-columns:1fr auto;align-items:center}.energy-control output{font-size:17px;color:#1e5d50}.energy-control input,.energy-steps{grid-column:1 / -1}.energy-control input[type=range]{padding:0;border:0;min-height:34px;accent-color:#1e5d50}.energy-steps{display:flex;justify-content:space-between;padding:0 7px;color:#687d75;font-size:12px;font-weight:500}.context-details{border:1px solid #e3e7df;border-radius:12px;padding:10px 12px}.context-details summary{cursor:pointer;color:#42645b;font-size:13px;font-weight:650}.context-details label{margin-top:11px}
