:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:#193332;background:#f3f7f6;--ink:#193332;--muted:#617573;--primary:#126e69;--primary-dark:#075b55;--border:#dbe7e4;--surface:#fff;--soft:#eff6f4;--shadow:0 12px 35px rgba(26,75,69,.065);font-synthesis:none;-webkit-text-size-adjust:100%;}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #78bdb4;outline-offset:2px}svg.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}.svg-defs{width:0;height:0;position:absolute;overflow:hidden}.app-shell{min-height:100dvh}.topbar{position:sticky;top:0;z-index:15;display:flex;align-items:center;justify-content:space-between;padding:14px max(20px,calc((100vw - 780px)/2));padding-top:max(14px,env(safe-area-inset-top));height:auto;min-height:72px;background:rgba(243,247,246,.93);backdrop-filter:blur(16px);border-bottom:1px solid rgba(219,231,228,.75)}.brand{display:flex;gap:12px;align-items:center}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#dcefea;color:#126e69}.brand strong{display:block;font-size:18px;font-weight:750;letter-spacing:-.45px}.brand small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.offline-pill{font-size:12px;color:#805a1a;border-radius:999px;background:#fff0d2;padding:7px 10px}.main{max-width:780px;margin:0 auto;padding:29px 22px 118px}.loading{margin:90px 0;text-align:center;color:var(--muted)}.screen{animation:enter .18s ease-out}@keyframes enter{from{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.eyebrow{text-transform:uppercase;letter-spacing:1.6px;font-size:11px;font-weight:750;color:var(--primary);margin:0 0 8px}.page-title{font-weight:760;letter-spacing:-1.1px;line-height:1.13;font-size:clamp(27px,5vw,36px);margin:0}.subtitle{font-size:15px;line-height:1.55;color:var(--muted);margin:10px 0 0}.hero{background:linear-gradient(135deg,#e2f3ed,#eef7f5 58%,#f7f0df);padding:25px;border:1px solid #d7ece4;border-radius:24px;margin:19px 0 20px}.hero .page-title{font-size:clamp(27px,4.8vw,36px);max-width:510px}.hero .subtitle{max-width:540px}.hero-icon{display:grid;place-items:center;border-radius:16px;background:#fff7e4;color:#b98522;width:47px;height:47px;margin-bottom:16px}.hero-icon .icon{width:25px;height:25px}.card{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:21px;margin:16px 0;box-shadow:var(--shadow)}.card.flat{box-shadow:none}.card.subtle{background:#f9fbfa}.card-head{display:flex;gap:12px;align-items:center;justify-content:space-between}.card h2,.section-title{font-size:19px;line-height:1.3;letter-spacing:-.38px;margin:0;font-weight:730}.card h3{font-size:16px;line-height:1.3;margin:0 0 7px}.card p{line-height:1.55}.muted{color:var(--muted)}.small{font-size:13px;line-height:1.5}.tiny{font-size:12px}.text-center{text-align:center}.badge{font-size:12px;font-weight:700;color:var(--primary);border-radius:40px;background:#e5f3ef;padding:6px 10px;white-space:nowrap}.hero-cta,.button{display:inline-flex;gap:9px;justify-content:center;align-items:center;min-height:47px;border:0;border-radius:13px;padding:12px 17px;background:var(--primary);color:white;font-weight:680;text-decoration:none;transition:background .2s,transform .1s}.button:hover{background:var(--primary-dark)}.button:active{transform:scale(.99)}.button.secondary{background:#e9f3f0;color:#185b55}.button.secondary:hover{background:#d9ebe5}.button.outline{background:white;color:var(--ink);border:1px solid var(--border)}.button.outline:hover{background:var(--soft)}.button.danger{color:#9f3839;background:#fff0ed;border:1px solid #f2d6d0}.button.small-btn{min-height:38px;font-size:13px;padding:8px 12px}.button.full{width:100%}.button .icon{width:18px;height:18px}.button-stack{display:grid;gap:10px}.button-row{display:flex;gap:10px;flex-wrap:wrap}.split{display:grid;grid-template-columns:1fr 1fr;gap:12px}.choice-card{border:1px solid var(--border);background:white;border-radius:18px;padding:17px;display:flex;flex-direction:column;gap:11px}.choice-card .circle{display:grid;place-items:center;width:43px;height:43px;border-radius:14px}.circle.sun{background:#fff2cd;color:#b1851d}.circle.moon{background:#e8eaff;color:#58659c}.circle.blue{background:#e7f3fb;color:#267faf}.circle.green{background:#e7f3e3;color:#4b8e57}.circle.mint{background:#e5f3ef;color:#156e66}.choice-card h3{margin:0;font-size:17px}.choice-card p{margin:0;color:var(--muted);line-height:1.45;font-size:13px;flex:1}.choice-card .button{width:100%}.entry-info{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center}.inline-status{display:flex;gap:7px;align-items:center;color:#226e62;font-size:13px}.inline-status .icon{width:17px;height:17px}.date-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:22px 0}.date-bar label{font-size:13px;font-weight:660}.date-bar input{min-height:43px;padding:8px 12px;border:1px solid #c9dbd7;border-radius:12px;background:#fff;color:var(--ink)}.task{border:1px solid var(--border);border-radius:19px;background:#fff;margin:15px 0;padding:20px;box-shadow:var(--shadow)}.task-title{display:flex;gap:12px;align-items:center;margin-bottom:15px}.task-title .circle{flex:none}.task-title h2{font-size:18px;margin:0 0 3px}.task-title p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.form-field{display:block;width:100%;border:1px solid #ceded9;border-radius:12px;padding:13px 14px;background:#fcfefd;color:var(--ink);line-height:1.5;min-height:80px;resize:vertical}.field-label{display:block;font-size:14px;font-weight:700;margin:14px 0 7px}.form-field::placeholder{color:#8b9a97}.form-field.input-one{min-height:46px}.radio-row{display:flex;gap:9px;flex-wrap:wrap}.radio-option{border:1px solid #d7e2de;background:#fff;border-radius:12px;padding:10px 14px;display:flex;align-items:center;gap:7px;font-size:14px;cursor:pointer;min-height:44px}.radio-option:has(input:checked){background:#e5f4ef;border-color:#72b7a6;color:#0c6159}.radio-option input{accent-color:var(--primary);width:17px;height:17px;margin:0}.radio-fieldset{border:0;padding:0;margin:18px 0}.radio-fieldset legend{font-size:14px;font-weight:700;padding:0 0 9px}.reflection{background:#fff;border:1px solid var(--border);border-radius:19px;padding:21px;margin:16px 0}.reflection .field-label:first-child{margin-top:0}.reflection textarea{min-height:76px}.cal-head{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:5px 0 16px}.cal-head h2{font-size:18px;margin:0;text-transform:capitalize}.icon-btn{border:1px solid var(--border);background:white;border-radius:11px;min-width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center}.icon-btn.left svg{transform:rotate(180deg)}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}.weekday{font-size:12px;font-weight:660;color:var(--muted);padding:8px 0}.calendar-date{position:relative;min-height:43px;border:1px solid transparent;background:transparent;border-radius:10px;display:grid;place-items:center;font-size:14px;color:var(--ink)}.calendar-date.has-entry{background:#e5f3ef;color:#065c56;font-weight:740}.calendar-date.today{border-color:#49a293}.calendar-date:disabled{background:transparent;opacity:0;cursor:default}.calendar-date .dot{position:absolute;bottom:4px;height:4px;width:4px;border-radius:100%;background:#228477}.searchbar{display:flex;align-items:center;gap:9px;border:1px solid #ceded9;background:white;border-radius:13px;padding:0 13px;min-height:47px}.searchbar .icon{color:#708a83}.searchbar input{border:0;outline:0!important;min-width:0;width:100%;height:44px;background:transparent;color:var(--ink)}.history-item{padding:16px 0;border-bottom:1px solid #e8efec;display:flex;align-items:flex-start;gap:12px;justify-content:space-between}.history-item:last-child{border-bottom:0;padding-bottom:0}.history-item strong{display:block;font-size:14px;margin-bottom:5px}.history-item p{font-size:13px;line-height:1.45;color:var(--muted);margin:0}.history-item .button{flex-shrink:0}.empty{padding:27px 13px;text-align:center;color:var(--muted)}.empty .icon{width:34px;height:34px;color:#679b90;margin-bottom:10px}.empty h3{color:var(--ink);margin:0 0 7px}.empty p{margin:0;font-size:14px}.info-note{background:#f0f6f4;border-radius:14px;padding:14px;color:#4b6560;font-size:13px;line-height:1.5;border:1px solid #dfede8}.warning-note{background:#fff7e9;border:1px solid #f2e2bf;color:#6e562b;border-radius:14px;padding:14px;font-size:13px;line-height:1.55}.notice-line{display:flex;align-items:flex-start;gap:10px}.notice-line .icon{margin-top:1px}.steps{counter-reset:steps;padding-left:0;list-style:none;display:grid;gap:12px}.steps li{position:relative;padding-left:39px;line-height:1.6;font-size:14px}.steps li::before{counter-increment:steps;content:counter(steps);position:absolute;left:0;top:1px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e2f3ef;color:#156e64;font-weight:800;font-size:13px}.setting-row{display:grid;gap:8px;margin:13px 0}.setting-row label{font-weight:650;font-size:13px}.setting-row input,.setting-row select{max-width:100%;width:240px;min-height:45px;padding:8px 12px;border-radius:12px;background:white;border:1px solid #c7d9d3}.backup-actions{display:flex;gap:10px;flex-wrap:wrap}.file-picker{position:relative;overflow:hidden}.file-picker input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.file-picker:focus-within{outline:3px solid #78bdb4;outline-offset:2px}.divider{height:1px;background:var(--border);margin:20px 0}.footer-message{text-align:center;color:var(--muted);font-size:13px;line-height:1.6;margin:30px auto;max-width:480px}.bottom-nav{position:fixed;z-index:20;left:0;right:0;bottom:0;display:flex;justify-content:center;gap:3px;background:rgba(255,255,255,.97);backdrop-filter:blur(18px);border-top:1px solid #dce8e3;padding:8px 10px max(9px,env(safe-area-inset-bottom));box-shadow:0 -8px 32px rgba(25,70,63,.055)}.nav-item{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:min(20%,125px);min-width:0;min-height:54px;padding:5px 1px;border:0;background:transparent;color:#617b75;font-size:11px;font-weight:640;border-radius:13px}.nav-item .icon{width:22px;height:22px}.nav-item.active{background:#e3f1ec;color:var(--primary)}.toast{position:fixed;z-index:40;bottom:calc(90px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#234f49;color:white;border-radius:13px;box-shadow:0 15px 35px #0002;padding:12px 18px;font-size:13px;text-align:center;min-width:220px;max-width:calc(100vw - 40px)}.toast[hidden]{display:none}.text-error{color:#a53c3c}.chip-row{display:flex;gap:7px;flex-wrap:wrap}.chip{background:#f0f6f4;color:#365e56;border-radius:99px;padding:5px 9px;font-size:11px}.padded-top{padding-top:10px}.hidden{display:none!important}@media(min-width:760px){.main{padding-top:41px;padding-bottom:125px}.bottom-nav{max-width:650px;left:50%;transform:translateX(-50%);border:1px solid var(--border);bottom:15px;border-radius:23px;padding:8px 12px;box-shadow:0 12px 35px #234d4020}.toast{bottom:110px}.split{gap:16px}}@media(max-width:520px){.main{padding:23px 16px 115px}.topbar{padding-left:16px;padding-right:16px}.card,.task,.reflection{padding:16px;border-radius:17px}.hero{padding:20px}.split{grid-template-columns:1fr}.button-row .button{flex:1}.date-bar{align-items:flex-start;gap:9px}.nav-item{font-size:10px}.history-item{flex-direction:column}.history-item .button{align-self:flex-start}.card-head{align-items:flex-start}}@media(prefers-reduced-motion:reduce){.screen{animation:none}html{scroll-behavior:auto}*{transition:none!important}}
