
:root{font-family:ui-rounded,'Segoe UI',system-ui,sans-serif;color:#293a32;background:#f8f7f2;font-synthesis:none;--green:#355b40;--muted:#788077;--border:#e6e8df;--lime:#d6eea0;--purple:#e9e3f7}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #927bc9;outline-offset:3px}button:disabled{cursor:default}button{color:inherit}a{color:inherit}.demo-strip{text-align:center;background:#eeeee5;padding:9px 12px;font-size:10px;font-weight:700;letter-spacing:1.25px;color:#66705f}.demo-strip span{font-weight:400;letter-spacing:.1px}.topbar{max-width:1260px;margin:auto;padding:27px 42px;display:flex;align-items:center;justify-content:space-between}.brand{text-decoration:none;font-size:28px;font-weight:750;letter-spacing:-1.2px;display:flex;align-items:center}.brand-mark{font-size:38px;line-height:1;margin-right:9px;color:#587848}.brand-dot{color:#acbd74}.profile-control{display:flex;align-items:center;gap:12px}.profile-control label{font-size:11px;color:#7a8277}.profile-control select{border:1px solid #dcdfd3;border-radius:25px;background:#fff;padding:11px 33px 11px 16px;color:#38533a;font-weight:650;max-width:160px}.layout{max-width:1180px;margin:30px auto 130px;display:grid;grid-template-columns:1fr 420px 1fr;gap:48px;padding:0 24px;align-items:start}.intro{padding-top:60px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:750;color:#7b866e}.intro h1{font-size:49px;line-height:1.16;font-weight:600;letter-spacing:-2px;margin:22px 0}.intro h1 em{font-family:Georgia,serif;font-weight:400;color:#748d53}.intro p{font-size:15px;line-height:1.85;color:#788073}.intro-doodle{font-size:93px;color:#d4dda9;position:relative;margin:32px 0 13px;transform:rotate(-10deg)}.intro-doodle span{font-size:24px;position:absolute;top:5px;left:115px;color:#b0a1c6}.intro-foot{font-size:11px;color:#939786;display:flex;align-items:center;gap:8px}.tiny-dot{width:6px;height:6px;border-radius:50%;background:#829762}.side{padding-top:78px}.side-card{background:#f0ede6;border-radius:24px;padding:25px 23px}.mini-icon{font-size:29px;color:#849069}.side-card h2{font-size:20px;line-height:1.4;font-weight:600;letter-spacing:-.5px}.side-card p{font-size:12px;line-height:1.85;color:#7c8276}.little-path{display:flex;align-items:center;gap:8px;margin-top:22px}.little-path i{width:8px;height:8px;border-radius:50%;background:#d8ddc9}.little-path span{font-size:26px;color:#9caa7c;margin-left:5px}.side-note{font-size:10px;line-height:1.8;color:#95998e;padding:8px 15px}.greeting{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.date{font-size:10px;text-transform:uppercase;letter-spacing:1.4px;color:#8a9083}.greeting h2{font-size:27px;letter-spacing:-.8px;margin:6px 0 0;font-weight:650}.avatar{width:45px;height:45px;display:grid;place-items:center;border-radius:50%;background:#e9e1f2;border:4px solid white;font-size:21px}.garden{background:#e9eddd;border:1px solid #e2e8d6;border-radius:28px;position:relative;overflow:hidden;padding:20px 22px 18px;min-height:260px}.garden-top{display:flex;justify-content:space-between;align-items:center}.pill{font-size:11px;background:#fff9;border:1px solid #fff9;padding:7px 11px;border-radius:30px;font-weight:600}.garden-label{font-size:9px;letter-spacing:1.2px;color:#7f896f}.garden-center{display:flex;align-items:center;justify-content:space-between;min-height:136px}.garden-copy{max-width:170px;position:relative;z-index:1}.garden-copy h3{font-size:23px;letter-spacing:-.65px;line-height:1.25;margin:13px 0 8px;font-weight:650}.garden-copy p{font-size:11px;line-height:1.65;color:#7a846c;margin:0}.mascot{width:158px;height:146px;overflow:visible;flex-shrink:0}.mascot .sprout{transform-origin:100px 120px;animation:sway 5s ease-in-out infinite}.week{display:flex;justify-content:space-between;margin-top:8px}.weekday{display:flex;flex-direction:column;gap:6px;align-items:center;color:#8b927f;font-size:9px}.day-dot{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;border:1px solid #d7deca;font-size:11px;color:#b1b9a0;background:#f4f6ed66}.day-dot.current{border:1.5px solid #66834b;color:#4e683e;background:#fbfcf7}.day-dot.checked{background:#446444;border-color:#446444;color:white}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:24px 2px 12px}.section-heading h3{font-size:14px;margin:0;font-weight:650}.section-heading span{font-size:11px;color:#929889}.routine-card{background:#fff;border-radius:23px;border:1px solid var(--border);padding:20px;box-shadow:0 4px 18px #384d3503}.card-header{display:flex;gap:12px;align-items:center;margin-bottom:13px}.card-icon{width:42px;height:42px;background:#f2f0df;border-radius:14px;display:grid;place-items:center;font-size:23px;flex-shrink:0}.card-header h3{font-size:16px;margin:0 0 4px;font-weight:650}.card-header p{font-size:11px;margin:0;color:#8c9286}.items-preview{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 15px}.tag{background:#f4f5f0;border-radius:7px;padding:5px 8px;font-size:10px;color:#727d66}.details-btn{background:none;border:0;padding:3px 0;font-size:11px;color:#6a7860;text-decoration:underline;text-underline-offset:3px}.primary{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;border:0;border-radius:15px;padding:18px 12px;min-height:58px;background:var(--green);color:#fff;font-size:15px;font-weight:650;box-shadow:0 4px 0 #24452e;transition:transform .15s,background .15s}.primary:hover{background:#416d4d}.primary:active{transform:translateY(3px);box-shadow:0 1px 0 #24452e}.primary.done{background:#e3f0d7;box-shadow:none;color:#44643a}.partial{display:block;margin:12px auto 0;background:none;border:0;font-size:11px;color:#929887;min-height:32px;padding:5px 16px}.support-row{display:flex;align-items:center;gap:12px;border-radius:18px;padding:16px;background:#eee9f5;margin-top:13px;width:100%;border:0;text-align:left}.support-row .heart{font-size:25px;color:#8f7bb1}.support-row strong{font-size:12px;font-weight:600}.support-row small{display:block;color:#978aa9;font-size:10px;margin-top:4px}.arrow{margin-left:auto;font-size:20px;color:#9486a7}.extra-card{margin-top:12px;background:#fff;border:1px solid var(--border);border-radius:20px;padding:17px}.extra-card h3{font-size:14px;margin:0 0 6px}.extra-card p{font-size:11px;color:#82897b;line-height:1.7;margin:0 0 12px}.subtle{border:1px solid #dce3d5;background:#f7f9f2;border-radius:12px;padding:12px 15px;font-size:12px;min-height:44px;font-weight:600}.extra-card .subtle{width:100%}.pending{background:#f5f0e5;border-color:#ece3d0}.pending-label{font-size:9px;letter-spacing:1px;color:#9a855b;text-transform:uppercase;display:block;margin-bottom:7px}.bottom-nav{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:420px;padding:9px 10px;display:flex;border:1px solid #e2e6da;border-radius:22px;background:#fffefbf5;box-shadow:0 8px 35px #3c4d3012;z-index:5;backdrop-filter:blur(16px)}.bottom-nav button{width:25%;background:none;border:0;color:#909788;font-size:9px;display:flex;flex-direction:column;align-items:center;gap:3px;min-height:47px;justify-content:center;border-radius:14px}.bottom-nav button span{font-size:21px;line-height:1.15}.bottom-nav button.active{color:#42613a;background:#eff3e6}.page-title{font-size:27px;margin:4px 0 10px;letter-spacing:-.8px}.lead{font-size:13px;color:#828b7a;line-height:1.7;margin-bottom:22px}.empty{background:white;border:1px solid var(--border);border-radius:24px;text-align:center;padding:38px 25px}.empty-icon{font-size:39px;color:#a8b897}.empty h3{font-size:17px;font-weight:600}.empty p{font-size:12px;color:#8b9383;line-height:1.7}.history-row{background:#fff;border:1px solid var(--border);border-radius:17px;padding:15px;margin-bottom:10px}.history-row strong{display:block;font-size:13px}.history-row p{font-size:11px;color:#818c75;margin:5px 0}.history-actions{display:flex;gap:12px;margin-top:7px}.history-actions button{border:0;background:none;text-decoration:underline;font-size:11px;color:#78856c;padding:8px 0}.voided{opacity:.55}.settings-item{padding:15px 0;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:10px}.settings-item strong{font-size:13px;display:block}.settings-item small{font-size:11px;color:#838d78;display:block;margin-top:4px;line-height:1.6}.settings-item button{margin-left:auto;background:#fff;border:1px solid var(--border);border-radius:10px;padding:10px;font-size:11px;min-height:40px}.settings-footer{margin-top:20px}.privacy-note{padding:15px;border-radius:13px;background:#efedf5;color:#82758e;font-size:11px;line-height:1.8;margin-top:15px}dialog{border:0;border-radius:26px;padding:25px;width:calc(100% - 28px);max-width:440px;max-height:88dvh;color:#293a32;background:#fbfcf8;box-shadow:0 20px 90px #20302433}dialog::backdrop{background:#26312466;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.modal-head h2{font-size:21px;letter-spacing:-.6px;margin:0}.close{border:0;background:#edf0e6;border-radius:50%;width:36px;height:36px;font-size:21px}.modal-copy{color:#808a76;font-size:12px;line-height:1.7}.item-detail{padding:12px 0;border-bottom:1px solid var(--border);font-size:13px}.item-detail small{display:block;color:#909982;font-size:11px;margin-top:5px}.check-row{display:flex;gap:12px;align-items:center;min-height:53px;font-size:13px;border-bottom:1px solid var(--border)}input[type=checkbox]{accent-color:#476841;width:21px;height:21px}label.field{display:block;font-size:12px;font-weight:600;margin:16px 0 0}.field input,.field select,.field textarea{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #d7ddce;border-radius:11px;background:#fff;color:#34492f;min-height:46px;max-width:100%}.field textarea{resize:vertical}.form-actions{margin-top:24px}.error{color:#a24436;font-size:12px;line-height:1.6;min-height:18px}.note{font-size:11px;line-height:1.7;color:#8b957f}.feel-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.feel-choices button{background:white;border:1px solid var(--border);border-radius:18px;padding:25px 12px;font-size:13px}.feel-choices button span{display:block;font-size:27px;margin-bottom:9px}#toast{position:fixed;bottom:105px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#2e4d35;color:#fff;padding:14px 20px;border-radius:15px;font-size:12px;max-width:calc(100% - 32px);width:max-content;z-index:10;transition:.2s}#toast.visible{opacity:1;transform:translate(-50%,0)}.celebrate .mascot{animation:pop .5s ease}.celebrate .garden{background:#e2ecd0}@keyframes sway{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}@keyframes pop{0%{transform:scale(.9)}50%{transform:scale(1.13) rotate(4deg)}100%{transform:scale(1)}}@media(min-width:1450px){.layout{margin-top:55px}}@media(max-width:1050px){.layout{grid-template-columns:1fr 420px;max-width:860px;gap:40px}.side{display:none}.intro h1{font-size:43px}.bottom-nav{left:calc(50% + 174px)}}@media(max-width:760px){.topbar{padding:20px 22px 15px}.brand{font-size:24px}.brand-mark{font-size:32px}.profile-control label{display:none}.profile-control select{font-size:12px;padding:9px 26px 9px 12px}.layout{display:block;margin:9px auto 110px;max-width:470px;padding:0 20px}.intro,.side{display:none}.greeting{margin-bottom:18px}.greeting h2{font-size:26px}.bottom-nav{left:50%;width:calc(100% - 32px);max-width:430px;bottom:max(12px,env(safe-area-inset-bottom));border-radius:21px}.garden{min-height:250px;padding:18px 20px 16px}.demo-strip{font-size:8px;letter-spacing:1px}.demo-strip span{font-size:8px}.routine-card{padding:18px}.section-heading{margin-top:22px}.garden-center{min-height:131px}}@media(max-width:360px){.layout{padding:0 14px}.garden{padding:16px}.garden-copy h3{font-size:20px}.mascot{width:129px}.brand{font-size:22px}.demo-strip span{letter-spacing:0}.topbar{padding-left:16px;padding-right:16px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(max-width:760px){.field input,.field select,.field textarea{font-size:16px}.details-btn{min-height:44px}.partial{min-height:44px}.settings-item button{min-height:44px}.history-actions button{min-height:44px}}

[hidden]{display:none!important}.header-tools{display:flex;gap:12px;align-items:center}.header-tools .subtle{font-size:11px;padding:9px 12px}.unlock-card{margin-top:30px;padding:28px}.unlock-card h2{font-size:27px;letter-spacing:-.8px;margin:12px 0}.unlock-icon{font-size:48px;color:#7e9858}.unlock-card .note{margin-top:24px}.storage-card .details-btn{display:block;margin-top:10px;min-height:44px}.storage-card{margin-top:22px}.restore-summary{background:#edf1e4;border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:6px;font-size:13px}.restore-summary strong{font-size:23px}.check-row small{display:block;font-size:11px;color:#77856e;margin-top:4px}.check-row:has(input:disabled){color:#788077}#save-state{position:fixed;bottom:0;left:0;right:0;text-align:center;font-size:10px;color:#68765f;background:#f8f7f2;padding:3px 8px;z-index:4}.primary:disabled:not(.done){opacity:.55;box-shadow:none}body:has(.unlock-card) .layout{margin-bottom:40px}#main:empty{min-height:300px}.error:empty{min-height:0}.settings-item strong,.history-row strong,.extra-card h3{overflow-wrap:anywhere}@media(max-width:400px){.header-tools{gap:6px}.header-tools .subtle{padding:8px;font-size:10px}.topbar{padding-left:14px;padding-right:14px}.profile-control select{max-width:102px}.brand{font-size:22px}.brand-mark{margin-right:5px}}

.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}.family-card{background:#f3f0f7;border:1px solid #e8e2ed;border-radius:23px;padding:20px;margin-top:16px}.family-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.family-heading .eyebrow{font-size:8px;letter-spacing:1.4px;color:#7e718d}.family-heading h3{font-size:16px;letter-spacing:-.3px;margin:5px 0 0}.family-date{font-size:11px;color:#706479}.family-members{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;list-style:none;padding:0;margin:18px 0 12px}.family-member{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;padding:8px 2px;border:1px solid transparent;border-radius:16px}.family-member.is-own{background:#fffb;border-color:#e0d7ea}.family-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#e7e2eb;position:relative;font-size:22px;margin-bottom:3px}.family-tick{display:grid;place-items:center;position:absolute;bottom:-2px;right:-5px;background:#ede9f1;border:2px solid #f3f0f7;border-radius:50%;width:21px;height:21px;font-size:15px;line-height:1;color:#82728e}.is-marked .family-tick{background:#476847;color:white;font-size:11px}.family-member strong{font-size:12px;font-weight:650}.family-status{font-size:9px;color:#74697b;white-space:nowrap}.is-marked .family-status{color:#3f613e}.family-note{font-size:11px;color:#74697b;line-height:1.65;margin:0}.family-card .details-btn{font-size:11px;color:#746180;min-height:44px}.today-routine .form-actions{margin-top:16px}.today-routine .items-preview{margin-top:18px;margin-bottom:6px}
@media(max-width:760px){.garden{min-height:0;padding:12px 17px;border-radius:23px}.garden-center{min-height:58px;position:relative}.garden-copy h3{font-size:18px;line-height:1.2;margin:6px 0}.garden-copy p{display:none}.mascot{width:92px;height:82px;position:absolute;right:4px;bottom:-4px}.garden-top{min-height:23px}.garden-label{font-size:8px}.garden .pill{font-size:10px;padding:5px 9px}.week{margin-top:3px}.weekday{gap:3px}.day-dot{width:25px;height:25px;font-size:10px}.greeting{margin-bottom:12px}.section-heading{margin-top:17px;margin-bottom:10px;font-size:11px}.today-routine{padding:16px}.today-routine .card-header{margin-bottom:10px}.today-routine .form-actions{margin-top:10px}.today-routine .items-preview{margin-top:15px}.today-routine .partial{margin-top:0}.today-routine .primary{min-height:56px;padding:15px 10px;font-size:14px}.family-card{padding:17px;margin-top:14px}.family-members{margin-top:12px}.family-card .details-btn{margin-bottom:-6px}.topbar{padding-top:15px;padding-bottom:12px}.layout{margin-top:5px}.close{min-width:44px;min-height:44px}.date{font-size:9px}.greeting h2{font-size:25px}}
@media(max-width:360px){.family-card{padding:14px}.family-members{gap:2px}.family-status{font-size:9px}.family-member strong{font-size:11px}.garden-label{display:none}.today-routine .primary{font-size:13px}.header-tools{gap:4px}.brand{font-size:20px}.brand-mark{font-size:28px}}
@media(max-width:760px) and (max-height:650px){.garden .week{display:none}.garden-center{min-height:54px}.garden{padding-top:10px;padding-bottom:10px}}
.home-screen-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px}.home-screen-heading img{border-radius:12px;flex-shrink:0}.home-screen-heading p{margin:0}.install-guide{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.install-guide h3{font-size:15px;margin:22px 0 8px}.install-guide ol{padding-left:22px}.install-guide li{padding-left:3px;margin-bottom:8px}.home-screen-card{margin-bottom:22px}
.modal-head .close{width:44px;height:44px;flex-shrink:0}
.app-update{margin:12px auto;padding:14px 16px;max-width:720px;width:calc(100% - 28px);border:1px solid #d8e2ca;border-radius:16px;background:#edf3e4;display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;font-size:13px}.app-update>div{flex:1;min-width:140px}.app-update p{margin:0;font-weight:650}.app-update small{display:block;margin-top:5px;color:#56664b;line-height:1.5}.app-update button{min-height:44px;padding:10px 16px;background:#355b40;color:white;border:0;border-radius:11px;font-weight:650}.app-update .app-update-help{flex-basis:100%;font-size:12px;line-height:1.6;font-weight:400}
.plan-review{margin:16px 0;overflow-wrap:anywhere}.plan-review>div{padding:13px 0;border-bottom:1px solid var(--border)}.plan-review dt{font-size:13px;font-weight:650;margin-bottom:8px}.plan-review dd{margin:6px 0;font-size:13px;line-height:1.6;color:#6e7766}.plan-review dd span{display:block;font-size:10px;color:#65715b}.plan-review .review-after{color:#344d35}.review-back{width:100%;margin-top:12px}
/* Dialog actions need space for the raised primary button on small screens. */
#phone-reminders .form-actions{display:grid;gap:14px}
.recovery-root{max-width:440px;margin:24px auto;padding:0 16px 48px}.recovery-link{display:inline-flex;align-items:center;min-height:44px;margin-top:12px}
.support-card h2{font-size:24px;line-height:1.25}.support-card .lead{font-size:15px;color:#52614e}.support-actions{display:grid;gap:12px;margin:20px 0}.support-link{display:flex;align-items:center;justify-content:center;margin:12px 0;text-align:center;text-decoration:none}.support-card{overflow-wrap:anywhere}.support-card .note{line-height:1.7}
.support-controls{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}.support-controls button{flex:1;min-width:100px}.history-actions button{min-height:44px}.history-actions{flex-wrap:wrap;gap:8px}
.mood-journal{overflow-wrap:anywhere}.mood-journal summary{min-height:44px;cursor:pointer;font-size:13px;padding:12px 0}.mood-journal .note{color:#58664f;font-size:12px}.mood-form fieldset{border:0;padding:0;margin:0;min-width:0}.mood-form legend{font-size:15px;font-weight:650;margin-bottom:14px}.mood-choice{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;background:#fff;border:1px solid var(--border);border-radius:16px;padding:16px 8px;font-size:14px;min-height:74px;cursor:pointer}.mood-choice>span{font-size:24px}.mood-choice:has(input:checked){border:2px solid #4b6b46;background:#edf3e4;padding:15px 7px}.mood-choice:focus-within{outline:3px solid #728951;outline-offset:3px}.mood-choice input{accent-color:#4b6b46;width:18px;height:18px}.mood-actions{display:grid;gap:14px;margin-top:24px}.mood-journal button{min-height:44px;white-space:normal}.mood-journal .field input,.mood-journal textarea{min-width:0;width:100%;box-sizing:border-box}.mood-journal input[type=datetime-local]{appearance:none;-webkit-appearance:none}.mood-note{white-space:pre-wrap;overflow-wrap:anywhere}.mood-delete-confirm{padding:12px;background:#f5eee7;border-radius:12px}.mood-delete-confirm button{margin:4px}.mood-journal>button{width:100%;margin-bottom:12px}

/* Readable controls retain the existing palette and layout. */
:root{--muted:#53634c}
html{scroll-padding-top:16px;scroll-padding-bottom:140px}
button,input,select,textarea,a,summary,[tabindex]{scroll-margin-block:20px 140px}
/* break-word, not anywhere: a button keeps its longest word whole and a wrapping
   row moves the button down instead of splitting "Keskmine" into "Keskmin e". */
button,summary{min-height:44px;overflow-wrap:break-word}
.close{width:44px;height:44px;flex-shrink:0}
.skip-link{position:fixed;top:8px;left:8px;transform:translateY(-160%);padding:14px;background:#fff;color:#293a32;border:2px solid var(--green);border-radius:10px;z-index:30}
.skip-link:focus{transform:none}
.layout>*{min-width:0}
.note,.mood-journal .note,.modal-copy,.history-row p,.extra-card p,.empty p,.item-detail small,.settings-item small,.check-row small,.support-panel .note{font-size:.875rem;line-height:1.7;color:var(--muted)}
.lead{font-size:.9375rem;color:var(--muted)}
.privacy-note{font-size:.875rem;color:#5c4d69}
.primary{font-size:1rem;line-height:1.4}
.subtle,.details-btn,.partial,.history-actions button,.settings-item button,label.field,.check-row{font-size:.875rem;line-height:1.5}
.details-btn,.partial,.history-actions button{color:var(--muted)}
.field input,.field select,.field textarea{font-size:1rem;min-width:0}
input::placeholder,textarea::placeholder{color:#62695f;opacity:1}
.history-row strong,.settings-item strong,.extra-card h3,.card-header h3{font-size:1rem}
.card-header p,.garden-copy p,.side-card p,.support-row small,.intro p,.side-note,.intro-foot{font-size:.8125rem;color:var(--muted)}
.tag,.date,.pill,.eyebrow,.pending-label,.family-note,.family-date,.family-status,.garden-label,.weekday,.day-dot{font-size:.75rem;color:var(--muted)}
.day-dot.checked{color:#fff}
.day-dot.current{color:#355b40}
/* Today's fully marked dot is dark green: its tick has to be white, or the
   .current colour above hides it on the same background. */
.day-dot.current.checked{color:#fff}
/* One tick per marked part of the day: a half-marked day is visibly started,
   a day with two parts carries two ticks in the same small circle. The class is
   "half", not "partial": .partial is the marking button and carries a tap size. */
.day-dot.half{background:#e3f0d7;border-color:#8ba86f;color:#3f613e}
.day-dot.current.half{color:#3f613e}
/* Two ticks need room to stay readable: the circle becomes a short pill. */
.day-dot.pair{width:auto;min-width:36px;padding:0 5px;border-radius:13px;font-size:.6875rem;letter-spacing:-.03em}
/* Written with the grid in front so it wins over .month-cell.has-entries. */
.month-grid .month-cell.is-partial{background:#dbe8c9}
.month-grid .month-cell.is-partial .month-marks{color:#3f613e}
.family-tick.pair{width:auto;min-width:28px;padding:0 4px;border-radius:11px;font-size:.625rem;letter-spacing:-.03em}
.is-part .family-tick{background:#e3f0d7;color:#3f613e}
.is-part .family-status{color:#5c6f52}
.family-heading .eyebrow{font-size:.6875rem;color:#5c4d69}
.family-member strong{font-size:.8125rem;overflow-wrap:anywhere}
.family-status,.family-date,.family-note{color:#5c4d69}
.support-row strong{font-size:.9375rem}
.bottom-nav button{font-size:.75rem;min-height:54px;color:var(--muted);line-height:1.25;min-width:0}
.bottom-nav button.active{color:#355b40}
#save-state{font-size:.75rem;color:#46553e;padding:4px 8px}
#toast{font-size:.875rem;line-height:1.5;bottom:calc(110px + env(safe-area-inset-bottom));max-height:35dvh;overflow:auto}
.voided{opacity:1;background:#f4f3ee;border-left:4px solid #7d8674}
.history-filters{background:#fff;border:1px solid var(--border);border-radius:20px;padding:0 16px 12px;margin-bottom:18px}
.filter-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.history-day{font-size:1rem;margin:24px 0 12px}
.history-more{width:100%}
.history-results:focus{outline-offset:4px}
.mood-counter{text-align:right;margin:4px 0 0}
.mood-delete-confirm button{max-width:100%}
.mood-hard-row{margin-top:12px;padding:12px 14px;background:#f3f0f7;border-radius:12px}.mood-hard-row p{margin:0 0 10px;font-size:13px;color:#52614e}.mood-hard-row button{margin:0 8px 8px 0}
.breath-ring{width:150px;height:150px;border-radius:50%;background:#dfe9cf;margin:18px auto;display:grid;place-items:center;font-size:12px;color:#4e683e;animation:breathe 8s ease-in-out infinite}@keyframes breathe{0%,100%{transform:scale(.7)}50%{transform:scale(1)}}
/* The drawing pad: a square sheet, six colours from the app's own palette, three
   line widths and an eraser. The buffer is sized in support-ui.js to the drawn
   width times the pixel density, so the sheet stays sharp on a phone. */
/* The sheet scrolls like the rest of the page until the person taps it; only
   then does it take the touch (touch-action is switched in support-ui.js). */
.draw-sheet{position:relative;margin:10px 0}
.draw-pad canvas{display:block;width:100%;height:auto;aspect-ratio:1/1;background:#fbfcf8;border:1px solid var(--border);border-radius:16px;touch-action:auto;margin:0}
.is-drawing canvas{border-color:#4b6b46;box-shadow:0 0 0 3px #dfe9cf;touch-action:none}
.draw-start{position:absolute;inset:0;width:100%;height:100%;border-radius:16px;border:1px dashed #9db38a;background:#fbfcf8cc;color:#355b40;font-weight:600;font-size:1rem}
.draw-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0}.draw-tools .draw-tool{padding:8px 10px;font-size:.875rem}.draw-tools .draw-tool[aria-pressed=true]{background:#e3f0d7;border-color:#4b6b46;color:#294d33}
.draw-stop{grid-column:1/-1}
.draw-colors{display:flex;flex-wrap:wrap;gap:10px}.draw-color{width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px var(--border);background:var(--draw-color)}.draw-color[aria-pressed=true]{box-shadow:0 0 0 3px #4b6b46;transform:scale(1.08)}
.draw-actions .subtle{flex:1}.draw-actions .subtle:disabled{opacity:.5}
.feel-tools-title{font-size:15px;margin:18px 0 4px}.feel-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 14px}.feel-tools button{width:100%;min-height:52px;text-align:center}.feel-tools .feel-tools-urgent{grid-column:1/-1;background:#f5eee7;border-color:#dcc9b4;color:#5a4634}
.mood-journal-block{margin-top:26px;padding-top:6px;border-top:1px solid var(--border)}.mood-journal-block>details{margin:12px 0}
.reminder-card .subtle{width:100%;margin-bottom:8px}.reminder-card .details-btn{display:block;min-height:44px}
.my-people{margin:16px 0 4px}.my-people h3{font-size:15px;margin:0 0 6px}.my-people-row{display:flex;gap:8px;align-items:center;margin:8px 0}.my-people-row a{flex:1;margin:0}.my-people-row button{flex-shrink:0}.my-people-form .subtle{margin-top:12px}
.discard-dialog{max-width:420px}
.mood-save-feedback{margin:8px 0;padding:12px;border:1px solid #bfd2b4;border-radius:12px;background:#eaf3e4;color:#294d33;font-size:.9375rem;font-weight:600;line-height:1.5;text-align:center}
.discard-dialog h2{font-size:1.35rem;line-height:1.4;margin-top:0}
.discard-dialog p{font-size:.9375rem;line-height:1.7;color:var(--muted)}
.discard-dialog button{width:100%;margin-top:14px}
@media(max-width:760px){.layout{margin-bottom:155px}.garden{min-height:220px}.garden-center{min-height:115px}.mascot{width:135px;height:125px}.garden-copy{max-width:170px}.garden-copy h3{font-size:22px}.demo-strip,.demo-strip span{font-size:.6875rem;line-height:1.5}.section-heading{gap:8px;flex-wrap:wrap}.bottom-nav{bottom:calc(28px + env(safe-area-inset-bottom))}}
@media(max-width:380px){.filter-pair{grid-template-columns:minmax(0,1fr)}.garden-label{display:none}.garden-center{gap:4px}.mascot{width:100px;height:115px}.garden-copy h3{font-size:21px}.garden{padding:16px}.bottom-nav{padding-inline:6px}.family-members{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.bottom-nav button{padding-left:2px;padding-right:2px;font-size:11.5px;letter-spacing:-.15px}.bottom-nav button span{white-space:nowrap}}

.dose-choice{border:0;padding:0;margin:14px 0 0;min-width:0}.dose-choice legend{font-size:14px;font-weight:650;padding:0}.dose-choice legend small{display:block;font-weight:400;color:var(--muted);font-size:12px;margin-top:3px}.dose-choice input[type=radio]{accent-color:#476841;width:21px;height:21px;flex-shrink:0}.check-row select{margin-left:auto;min-height:44px;border:1px solid #d7ddce;border-radius:11px;background:#fff;padding:8px 10px;max-width:45%}
.history-toggle{display:flex;gap:6px;margin-bottom:14px}.history-toggle button{flex:1;min-height:44px;border:1px solid #dce3d5;background:#f7f9f2;border-radius:12px;font-weight:600;font-size:.875rem;color:#3d4d3b}.history-toggle button.active{background:#446444;border-color:#446444;color:#fff}
.month-card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:14px 12px 10px;margin-bottom:16px}.month-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.month-nav .subtle{min-width:44px;padding:8px 12px;font-size:1.25rem;line-height:1}.month-nav .subtle:disabled{opacity:.4}.month-title{font-size:1rem;margin:0}
.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.month-head{text-align:center;font-size:.75rem;color:var(--muted);padding:4px 0}
.month-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:46px;min-width:0;border:1px solid transparent;border-radius:12px;background:#f7f8f3;padding:4px 0;font-size:.875rem;color:#293a32}.month-cell.empty{background:none}.month-cell:disabled{cursor:default}.month-cell.is-future{opacity:.35}.month-cell.has-entries{background:#eef3e4}.month-cell.is-routine{background:#446444;color:#fff}.month-cell.is-today{border-color:#66834b;box-shadow:inset 0 0 0 1px #66834b}.month-cell.is-selected{outline:3px solid #927bc9;outline-offset:1px}.month-number{font-weight:600;line-height:1}.month-marks{display:flex;align-items:center;gap:3px;min-height:12px;font-size:.75rem;line-height:1}
.month-marks .dot,.month-legend .dot{width:6px;height:6px;border-radius:50%;display:inline-block;flex-shrink:0}.dot.med{background:#b47d3c}.dot.prn{background:#927bc9}.is-routine .dot.med{background:#f2d3a8}.is-routine .dot.prn{background:#d9cff0}.month-legend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:.75rem;color:var(--muted);margin:10px 0 4px}.month-legend span{display:inline-flex;align-items:center;gap:5px}.legend-tick{color:#446444}.month-card .note{margin:6px 0 0}.month-card .details-btn{min-height:32px}
@media(max-width:360px){.month-cell{min-height:42px;font-size:.8125rem}.month-grid{gap:3px}.month-card{padding:12px 8px 8px}}
.offline-note{background:#f5eee7;border:1px solid #ecdcc9;border-radius:12px;padding:10px 12px;margin:12px 0 0;color:#7a5a3a}

.invite-card{margin-top:14px;border-color:#dbe6cd;background:#fbfdf6}.invite-card .card-icon{background:#e7f0d8}.invite-card .form-actions{margin-top:16px}.invite-card .invite-result:empty{display:none}

.detail-group h3{font-size:.75rem;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);font-weight:700;margin:20px 0 2px}.detail-group:first-of-type h3{margin-top:14px}.detail-group .item-detail:last-of-type{border-bottom:0}.detail-group+.detail-group{border-top:1px solid var(--border)}.detail-group .note{margin:8px 0 0}
