:root{color:#273449;font-synthesis:none;--navy:#303e54;--teal:#147b7a;--border:#e5e7e6;--muted:#68717e;--peach:#cc704a;background:#faf9f6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans SC,PingFang SC,Microsoft YaHei,sans-serif;font-size:16px;line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit;background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 14px;font-weight:550;text-decoration:none;display:inline-flex}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}button:hover:not(:disabled){filter:brightness(.96);background-color:#efefeb}button.primary:hover{background-color:#243044}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #168c8a}h1,h2,h3,p{margin:0 0 12px}h1{letter-spacing:-.04em;font-size:2rem;font-weight:760;line-height:1.18}h2{letter-spacing:-.025em;font-size:1.25rem;line-height:1.3}h3{font-size:1.06rem;line-height:1.4}p{overflow-wrap:anywhere}small,.small{font-size:.82rem}.muted{color:var(--muted)}.teal{color:var(--teal)}.peach{color:var(--peach)}.strong{font-weight:750}.grow{flex:1;min-width:0}.inline{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.primary{background:var(--navy);color:#fff;border:1px solid var(--navy);border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:11px 18px;font-weight:650;display:inline-flex;box-shadow:0 2px 3px #28364a16}.outline{background:0 0;border:1px solid #bdc2c6}.text{color:var(--teal);min-height:40px;padding:6px}.danger{color:#a33131}.full{width:100%}.large{min-height:54px;padding:14px 24px}.icon-button{width:44px;height:44px;color:inherit;justify-content:center;align-items:center;padding:10px;display:inline-flex}.help{color:#516276;vertical-align:middle;width:36px;min-width:36px;min-height:36px;padding:5px}.brand{letter-spacing:-.06em;color:#243147;white-space:nowrap;font-size:1.6rem;font-weight:790}.brand-dot{color:#e99d7b}.brand:hover{text-decoration:none}.eyebrow{text-transform:uppercase;letter-spacing:.055em;font-size:.72rem;font-weight:750}.heading,.section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.heading p{margin-bottom:0}.heading h1{margin-bottom:4px}.section-heading h2{margin:0}.card{border:1px solid var(--border);background:#fff;border-radius:13px;margin:16px 0;padding:20px}.tinted{background:#f3f4f2}.row{text-align:left;border:1px solid var(--border);width:100%;color:inherit;background:#fff;border-radius:10px;justify-content:flex-start;gap:12px;min-height:54px;margin:8px 0;padding:12px 14px}.row .chevron{color:#697785;flex-shrink:0;margin-left:auto}.row small{color:var(--muted);display:block}.row:hover{text-decoration:none}.bordered-list{border:1px solid var(--border);border-radius:11px;margin:16px 0;overflow:hidden}.bordered-list .row{border:0;border-bottom:1px solid var(--border);border-radius:0;margin:0}.bordered-list .row:last-child{border-bottom:0}.category-icon{background:#f1f1ef;border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:47px;height:47px;display:inline-flex}.category-icon.meal,.pill.meal{color:#ad5c2e;background:#feebdc}.category-icon.sleep{color:#7960b3;background:#eee7ff}.category-icon.activity,.pill.activity{color:#267ca9;background:#e3f2ff}.category-icon.outdoor{color:#2e9661;background:#e0f8e7}.meta{color:#485465;flex-wrap:wrap;align-items:center;gap:20px;margin:15px 0;font-size:.85rem;display:flex}.meta>span{align-items:center;gap:7px;display:flex}.actions-wrap{flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0;display:flex}.two-buttons{grid-template-columns:1fr 1fr;gap:12px;margin:14px 0;display:grid}.two-buttons>*{min-width:0}.pill{background:#e6f2ef;border-radius:10px;padding:4px 12px;font-size:.8rem;display:inline-flex}.empty{color:var(--muted);text-align:center;justify-content:center;align-items:center;gap:12px;padding:30px 10px;display:flex}.notice{background:#fff2df;border:1px solid #ebcc9b;border-radius:9px;padding:12px;font-size:.9rem}.banner{z-index:100;text-align:center;background:#fff0cf;padding:8px;font-size:.9rem;position:relative}.toast{z-index:1000;color:#fff;overflow-wrap:anywhere;background:#253d3c;border-radius:12px;align-items:center;gap:10px;max-width:min(540px,100vw - 32px);padding:14px 18px;display:flex;position:fixed;bottom:90px;left:50%;transform:translate(-50%);box-shadow:0 5px 30px #0002}.toast.error{background:#7c2e35}.toast button{color:#fff;min-height:30px;padding:2px}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}input,select,textarea{width:100%;min-width:0;color:var(--navy);background:#fff;border:1px solid #d4d9da;border-radius:8px;min-height:46px;padding:11px 12px}textarea{resize:vertical;min-height:90px}input[type=checkbox]{width:19px;min-width:19px;height:19px;min-height:19px;accent-color:var(--teal);margin:0}.field{min-width:0;margin:14px 0}.field-label{align-items:center;gap:4px;margin-bottom:6px;font-size:.86rem;font-weight:650;display:flex}.form-grid{grid-template-columns:1fr 1fr;gap:0 16px;display:grid}.check{align-items:center;gap:10px;min-height:32px;margin:12px 0;font-size:.92rem;display:flex}.check.checked{color:var(--muted);text-decoration:line-through}fieldset{border:0;min-width:0;margin:0;padding:0}details{border-top:1px solid var(--border);margin:16px 0;padding-top:14px}summary{cursor:pointer;min-height:36px;font-weight:650}details details{margin-left:8px}dialog{border:1px solid var(--border);color:var(--navy);background:#fff;border-radius:17px;width:min(600px,100vw - 24px);max-height:90dvh;padding:0;box-shadow:0 25px 100px #182e4940}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1c283d66}dialog header{border-bottom:1px solid var(--border);z-index:1;background:#fff;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex;position:sticky;top:0}dialog header h2{margin:0}.modal-header>h2{overflow-wrap:anywhere;flex:auto;min-width:0}.modal-header-actions{flex:none;align-items:center;gap:12px;margin-left:auto;display:flex}.modal-header-actions>.icon-button{flex:0 0 44px}.modal-body{padding:20px;overflow:auto}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f4f3;border-radius:8px;padding:12px;font-size:.75rem}.code-editor{font-family:monospace;font-size:.8rem}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{border:1px solid var(--border);border-radius:20px;align-items:center;gap:6px;min-height:36px;padding:6px 12px;font-size:.83rem;display:inline-flex}.chip.active{color:#16645d;background:#e4f2ef;border-color:#71aaa4}.language{background:0 0;border:0;width:auto;max-width:150px}.auth-modal-language{flex:0 auto;min-width:0;max-width:125px;margin-left:auto;font-size:.875rem}.onboarding,.policy{max-width:640px;margin:40px auto;padding:24px}.onboarding h1{margin-top:28px}.policy h1{margin:36px 0 20px}.policy p{margin-bottom:24px}.landing{background:#faf9f6}.landing-header{justify-content:space-between;align-items:center;max-width:1240px;margin:auto;padding:24px 32px;display:flex}.hero{grid-template-columns:1.1fr 1fr;align-items:center;gap:90px;max-width:1160px;margin:32px auto 80px;padding:25px 32px;display:grid}.hero h1{letter-spacing:-.055em;margin:20px 0 24px;font-size:clamp(2.7rem,4.6vw,4.5rem);line-height:1.05}.hero-lead{color:#647078;max-width:440px;margin-bottom:28px;font-size:1.18rem;line-height:1.7}.hero-copy>.small{margin-top:14px}.hero-points{color:var(--teal);flex-wrap:wrap;gap:20px;margin-top:28px;font-size:.8rem;display:flex}.hero-points span{align-items:center;gap:5px;display:flex}.hero-demo{background:#fff;border:1px solid #e3e6e2;border-radius:26px;width:100%;max-width:400px;margin:auto;padding:27px;transform:rotate(1.5deg);box-shadow:0 20px 60px #3b463b12}.demo-top{justify-content:space-between;align-items:center;gap:10px;margin-bottom:24px;display:flex}.demo-top .brand{font-size:1.3rem}.demo-top .pill{font-size:.65rem}.hero-demo h2{font-size:1.7rem}.date-demo{word-spacing:18px;color:#6c7581;margin:18px 0 24px;font-size:.85rem}.date-demo b{background:var(--navy);color:#fff;border-radius:9px;padding:10px}.demo-row{align-items:center;gap:12px;margin:14px 0;font-size:.8rem;display:flex}.fake-button{background:var(--navy);color:#fff;border-radius:9px;justify-content:space-between;margin-bottom:12px;padding:10px 14px;font-size:.86rem;display:flex}.hero-demo .current-card{padding:17px}.hero-demo .current-card h3{margin:0}.feature-section{border-top:1px solid var(--border);max-width:1160px;margin:0 auto;padding:60px 32px}.feature-section>h2{margin:12px 0 40px;font-size:2.2rem}.features{grid-template-columns:repeat(3,1fr);gap:48px;display:grid}.features article>svg{color:var(--teal);margin-bottom:18px}.features article p{color:#69757b;font-size:.95rem;line-height:1.8}.landing-cta{text-align:center;margin:50px 24px 70px}.landing-cta>svg{color:var(--teal)}.landing-cta h2{margin:22px 0;font-size:1.8rem}.landing footer{border-top:1px solid var(--border);max-width:1100px;color:var(--muted);margin:auto;padding:36px 32px;font-size:.85rem}footer nav{flex-wrap:wrap;gap:24px;margin:20px 0;display:flex}.app-shell{background:#fff;max-width:1280px;min-height:100dvh;margin:auto}.app-header{z-index:20;border-bottom:1px solid var(--border);background:#fff;justify-content:space-between;align-items:center;padding:22px 24px;display:flex;position:sticky;top:0}.app-main{min-width:0;max-width:780px;margin:auto;padding:14px 24px 110px}.bottom-nav{padding:8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:30;background:#ffffffed;border-top:1px solid #e9e9e5;justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-nav a{color:#65707a;flex-direction:column;align-items:center;gap:3px;min-width:54px;padding:3px 6px 7px;font-size:.7rem;display:flex;position:relative}.bottom-nav a.active{color:#20314d;font-weight:700}.bottom-nav a.active:after{content:"";background:#293e5c;border-radius:2px;width:30px;height:3px;position:absolute;bottom:0}.bottom-nav a:hover{text-decoration:none}.day-controls{align-items:center;gap:5px;margin:18px 0 24px;display:flex}.date-strip{scrollbar-width:none;flex:1;justify-content:flex-start;gap:3px;min-width:0;padding:4px 0;display:flex;overflow:auto hidden}.date-strip::-webkit-scrollbar{display:none}.date-strip button{flex-direction:column;flex:0 0 calc(14.2857% - 2.57143px);gap:1px;min-width:44px;min-height:44px;padding:8px;line-height:1.6}.date-strip small{font-size:.65rem;font-weight:450}.date-strip strong{font-size:.92rem}.date-strip .selected{background:var(--navy);color:#fff;box-shadow:0 5px 15px #29364b22}.day-controls>.icon-button{flex-shrink:0}.date-strip button:focus-visible{outline-offset:-2px}.current-card{background:linear-gradient(120deg,#fff8f2,#fcf8f4);border:1px solid #f1e6da;border-left:6px solid #edaa8c;border-radius:13px;padding:18px 16px}.current-card.sleep{background:#faf7ff;border-left-color:#bda9de}.current-card.activity{background:#f4faff;border-left-color:#99c9e5}.current-card.outdoor{background:#f5fbf4;border-left-color:#98cf9f}.current-card h2{margin:3px 0;font-size:1.4rem}.current-card .category-icon{width:55px;height:55px}.title-link{text-align:left;justify-content:flex-start;min-height:32px;padding:10px 0 0;font-size:1.12rem;font-weight:550}.current-card .meta{margin:10px 0 18px}.alternatives{border-top:1px solid #e5ded5;margin-top:16px;padding-top:12px}.alternatives p{margin-bottom:6px}.alternatives .row{background:#fffa;border-color:#eee9e2;min-height:34px;margin:5px 0;padding:7px 10px;font-size:.85rem}.card-footer{border-top:1px solid #eee4da;justify-content:space-between;gap:8px;margin-top:16px;padding-top:10px;font-size:.8rem;display:flex}.card-footer>a{align-items:center;gap:7px;display:flex}.event-list .category-icon{border-radius:50%;width:40px;height:40px}.event-list .row{gap:11px;padding:10px;font-size:.9rem}.event-list .time{font-size:.86rem}.prepare{margin:16px 0;padding:14px}.prep-item{border-top:1px solid var(--border);padding:12px 0}.prep-item p{padding-left:29px}.day-grid>section+section{margin-top:22px}.summary-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:14px;padding:12px 0;display:flex}.shopping-row{border-bottom:1px solid var(--border);align-items:center;gap:8px;display:flex}.shopping-row:last-child{border:0}.search{background:#f6f7f5;border-radius:12px;margin:4px 0 12px}.catalog-grid{gap:14px;margin:20px 0;display:grid}.content-card{border:1px solid var(--border);text-align:left;background:#fff;align-items:flex-start;gap:16px;padding:18px;font-weight:400}.content-card h3{margin-bottom:5px}.content-card p{font-size:.88rem;line-height:1.6}.content-card svg{vertical-align:middle}.content-image{object-fit:cover;border-radius:12px;width:70px;height:70px}.detail-image{object-fit:cover;border-radius:14px;width:100%;max-height:350px}.detail-title{justify-content:space-between;align-items:center;gap:15px;display:flex}.detail-title h1{margin-top:12px}.back{margin:0 0 18px -5px}.segmented{background:#f4f4f3;border:1px solid #dadddc;border-radius:10px;margin:20px 0;padding:2px;display:flex}.segmented button{border-radius:8px;flex:1}.segmented button.active{background:var(--navy);color:#fff;box-shadow:0 1px 4px #0002}.tabs{border-bottom:1px solid var(--border);margin:22px 0 14px;display:flex}.tabs button{border-radius:0;flex:1;padding:15px;position:relative}.tabs .active{font-weight:750}.tabs .active:after{content:"";background:#258c87;border-radius:2px;height:3px;position:absolute;bottom:-1px;left:0;right:0}.steps{margin:18px 0;padding:0;list-style:none}.steps li{align-items:flex-start;gap:12px;margin:13px 0;display:flex}.steps li>span{background:#e3f2fe;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:.9rem;display:flex}.steps p{margin:0;padding-top:4px}.safety{color:#746650;border-left:3px solid #dfbd8a;margin:22px 0;padding:4px 0 4px 14px}.detail-actions{gap:10px;margin:20px 0;display:grid}.source{border-bottom:1px solid var(--border);padding:15px 0}.review{border-bottom:1px solid var(--border);padding:22px 0}.reply{border-left:2px solid #dfeae7;margin:10px 0 10px 20px;padding-left:15px}.review p{white-space:pre-wrap;margin-top:8px}.profile-links{grid-template-columns:1fr 1fr;gap:12px;display:grid}.profile-links .card{margin:0}.member{border-bottom:1px solid var(--border);padding:15px 0}.member:last-child{border:0}.table-wrap{max-width:100%;margin:20px 0;overflow:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:.85rem}td,th{border-bottom:1px solid var(--border);white-space:normal;overflow-wrap:anywhere;padding:10px}.chart{padding:12px 0}.unread{border-left:4px solid var(--teal)}.admin-shell{background:#faf9f6}.admin-header .logout{display:inline-flex}.admin-layout{min-height:calc(100dvh - 88px)}.admin-main{min-width:0;padding:20px 24px calc(92px + env(safe-area-inset-bottom))}.admin-sidebar{z-index:30;padding:4px 0 calc(4px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffed;border-top:1px solid #e9e9e5;position:fixed;bottom:0;left:0;right:0}.admin-nav{padding:0 max(12px, env(safe-area-inset-left));overscroll-behavior-x:contain;scrollbar-width:none;flex-direction:row;gap:4px;display:flex;position:relative;overflow:auto hidden}.admin-nav::-webkit-scrollbar{display:none}.admin-nav button{text-align:center;border-radius:11px;flex-direction:column;flex:0 0 80px;justify-content:center;align-items:center;gap:3px;min-height:60px;padding:4px;font-size:.7rem;line-height:1.2;display:flex}.admin-nav button svg{flex:none}.admin-nav button span{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.admin-nav .active{color:#1c5954;background:#e6efeb;font-weight:700}@media (width>=900px){.admin-layout{grid-template-columns:220px minmax(0,1fr);gap:0;display:grid}.admin-main{padding:20px 32px 60px}.admin-sidebar{z-index:auto;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;align-self:start;width:auto;max-height:calc(100dvh - 108px);padding:12px 12px 20px 20px;position:sticky;inset:100px auto auto;overflow-y:auto}.admin-nav{flex-direction:column;gap:5px;padding:0;overflow:visible}.admin-nav button{text-align:left;flex-direction:row;flex:none;justify-content:flex-start;gap:14px;width:100%;min-height:0;padding:11px 14px;font-size:.9rem}.admin-nav button span{display:block}}@media (width>=2200px){.admin-shell{max-width:1500px}}.admin-records .card{margin:12px 0}.admin-content-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;display:grid}.admin-content-grid .card{margin:0}.stat-grid{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:12px;display:grid}.stat-grid strong{font-size:2rem}.stat-grid .card{margin:0}.admin-settings-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));align-items:stretch}.admin-settings-grid>.card{min-width:0}.admin-settings-grid>.card>strong{overflow-wrap:break-word;font-size:1.25rem;line-height:1.35;display:block}.admin-settings-grid>.card>button{white-space:normal;overflow-wrap:break-word;text-align:center;min-width:0;max-width:100%;height:auto}.media-preview{object-fit:contain;max-width:100%;max-height:160px}.app-main>h1{margin:0 0 24px}@media (width>=900px){.app-shell{background:#faf9f6}.app-header{background:#faf9f6;padding:22px 36px}.app-main{max-width:none;margin-left:220px;padding:20px 32px 60px}.bottom-nav{background:0 0;border:0;flex-direction:column;align-items:stretch;gap:9px;width:185px;padding:0;inset:112px auto auto max(20px,50vw - 620px)}.bottom-nav a{border-radius:11px;flex-direction:row;justify-content:flex-start;gap:14px;padding:13px 18px;font-size:.9rem}.bottom-nav a.active{color:#1c5954;background:#e6efeb}.bottom-nav a.active:after{display:none}.day-grid{grid-template-columns:1.05fr 1fr;gap:24px;display:grid}.day-grid>section+section{margin-top:0}.day-controls{max-width:620px}.catalog-grid{grid-template-columns:1fr 1fr}.toast{bottom:28px}.logout{display:flex}}@media (width<=650px){.landing-header{padding:18px}.landing-header .brand{font-size:1.4rem}.landing-header .outline{display:none}.hero{flex-direction:column;gap:40px;margin:12px auto 40px;padding:18px 24px;display:flex}.hero h1{font-size:3.15rem}.hero-lead{font-size:1.05rem}.hero-demo{max-width:350px;padding:22px;transform:rotate(0)}.feature-section{padding:40px 24px}.feature-section>h2{font-size:1.8rem}.features{grid-template-columns:1fr;gap:30px}.landing-cta h2{font-size:1.6rem}.app-header{padding:18px 20px 10px}.app-main{padding:12px 18px 110px}.app-header .brand{font-size:1.5rem}.logout{display:none}.form-grid{gap:0 10px}.date-strip button{padding:7px 5px}.day-controls>.icon-button{width:26px;padding:3px}.two-buttons{gap:9px}.current-card .two-buttons{grid-template-columns:1.3fr 1fr}.current-card .two-buttons button{padding-left:8px;padding-right:8px;font-size:.9rem}.two-buttons .row{padding:10px;font-size:.83rem}.current-card{padding:17px 14px}.card-footer,.card-footer .text{font-size:.73rem}.onboarding,.policy{margin:20px auto;padding:20px}.modal-body{padding:18px}dialog header{padding:12px 18px}.content-card{gap:12px;padding:16px}.brand-dot{display:none}}@media (width<=350px){:root{font-size:15px}.app-main{padding-left:12px;padding-right:12px}.bottom-nav a{min-width:48px;font-size:.65rem}.form-grid{grid-template-columns:1fr}.date-strip button{padding:7px 1px}.card-footer{flex-wrap:wrap}}@media (width>=2200px){:root{font-size:18px}.app-shell{max-width:1500px}.bottom-nav{left:calc(50vw - 730px)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;animation:none!important}}.array-editor{border:1px solid var(--border);border-radius:12px;min-width:0;margin:16px 0;padding:14px}.array-editor legend{padding:0 6px;font-weight:700}.array-item{border-bottom:1px solid var(--border);margin-bottom:12px;padding:12px 0}.thumbnail{object-fit:cover;border-radius:10px;flex:0 0 44px;width:44px;height:44px}.today-timeline-section{width:100%;max-width:820px;margin:0 auto}.today-timeline{position:relative}.timeline-entry{grid-template-columns:65px 38px minmax(0,1fr) auto;gap:10px;min-height:65px;padding:5px 0 16px;display:grid;position:relative}.timeline-entry:before{content:"";background:var(--border);width:2px;position:absolute;top:39px;bottom:-6px;left:83px}.today-timeline>div:last-child .timeline-entry:before{bottom:12px}.timeline-time{color:var(--muted);flex-direction:column;padding-top:7px;font-size:.79rem;line-height:1.45;display:flex}.timeline-time strong{color:var(--navy);white-space:nowrap;font-size:.86rem}.timeline-time small{font-size:.72rem}.timeline-rail{z-index:1;justify-content:center;align-items:flex-start;padding-top:2px;display:flex}.timeline-rail .category-icon{border-radius:50%;flex-shrink:0;width:36px;height:36px}.timeline-rail .category-icon svg{width:20px;height:20px}.timeline-content{min-width:0;padding:5px 0 6px;position:relative}.timeline-title{text-align:left;min-height:35px;color:var(--navy);justify-content:flex-start;max-width:100%;padding:0;font-size:.96rem;font-weight:700;line-height:1.25;display:inline-flex}.timeline-title>span:first-child{overflow-wrap:anywhere}.timeline-heading{flex-wrap:wrap;align-items:center;gap:4px;min-width:0;display:flex}.timeline-note-indicator{min-width:35px;min-height:35px;color:var(--teal);flex-shrink:0;align-items:center;gap:3px;padding:3px 5px;font-size:.72rem;font-weight:650;display:inline-flex}.timeline-note-indicator:hover:not(:disabled){background:#eaf3f1}.timeline-content-link{text-align:left;min-height:25px;color:var(--teal);padding:0;font-size:.86rem;font-weight:500;line-height:1.35;display:block}.timeline-detail{color:var(--muted);flex-wrap:wrap;gap:4px 10px;padding-top:3px;font-size:.73rem;display:flex}.timeline-review{color:#a14c2f;font-weight:650}.timeline-state{z-index:3;padding-top:4px;position:relative}.timeline-entry.timeline-menu-open{z-index:10}.timeline-state-wrap{position:relative}.timeline-state-button{border:1px solid var(--border);border-radius:9px;flex-direction:column;justify-content:center;gap:0;min-width:44px;min-height:44px;padding:5px 7px;display:flex}.timeline-state-label{white-space:nowrap;font-size:.63rem;line-height:1.1}.timeline-entry:not(.timeline-completed):not(.timeline-skipped) .timeline-state-button{color:#65717d;border-color:#f0f2f1}.timeline-completed .timeline-state-button{color:#1c5954;background:#f1f8f5;border-color:#d5e8e2}.timeline-readonly-status{min-width:44px;color:var(--muted);padding:10px 2px;font-size:.72rem;display:block}.timeline-status-options{z-index:6;border:1px solid var(--border);background:#fff;border-radius:10px;flex-direction:column;align-items:stretch;width:max-content;min-width:132px;padding:6px;display:flex;position:absolute;top:46px;right:0;box-shadow:0 9px 24px #303e5433}.timeline-status-options button{justify-content:flex-start;min-height:42px;padding:8px 10px;font-size:.82rem}.timeline-active{background:#f7f8f5;border-radius:12px;margin-bottom:8px;padding:8px 7px 13px 0}.timeline-active:before{left:83px}.timeline-completed .timeline-title{color:var(--muted)}.timeline-skipped .timeline-title,.timeline-unconfirmed .timeline-title{color:var(--muted);text-decoration:line-through;text-decoration-thickness:1px}.timeline-now{color:var(--peach);align-items:center;gap:6px;margin:1px 0 8px 73px;font-size:.7rem;font-weight:750;display:flex}.timeline-now-dot{background:var(--peach);border-radius:50%;flex-shrink:0;width:10px;height:10px}.timeline-now-caption{white-space:nowrap}.timeline-now-inline{margin:8px 0 2px;position:static;transform:none}.timeline-now-inline .timeline-now-caption{background:0 0;padding:0;position:static}.timeline-current-actions{flex-wrap:wrap;gap:3px 10px;padding-top:7px;display:flex}.timeline-current-actions a,.timeline-current-actions button{min-height:35px;padding:4px 2px;font-size:.78rem}.timeline-alternatives{flex-wrap:wrap;align-items:center;gap:5px 10px;padding-top:7px;display:flex}.timeline-alternatives button{min-height:35px;padding:4px 0;font-size:.77rem}.timeline-actions{justify-content:flex-start}@media (width<=650px){.day-controls{gap:2px;margin:10px 0 12px}.day-controls>.icon-button{width:28px;min-width:28px;padding:0}.date-strip button{padding:5px 1px}.timeline-entry{grid-template-columns:48px 31px minmax(0,1fr) auto;gap:6px}.timeline-entry:before,.timeline-active:before{left:64px}.timeline-time strong{font-size:.76rem}.timeline-time small{font-size:.7rem}.timeline-rail .category-icon{width:30px;height:30px}.timeline-rail .category-icon svg{width:17px;height:17px}.timeline-title{font-size:.9rem}.timeline-state-label{font-size:.56rem}.timeline-state-button{min-width:44px;padding:3px}.timeline-now{margin-left:56px}}@media (width<=350px){.timeline-entry{grid-template-columns:43px 28px minmax(0,1fr) auto;gap:4px}.timeline-entry:before,.timeline-active:before{left:56px}.timeline-time strong{font-size:.72rem}.timeline-rail .category-icon{width:28px;height:28px}.timeline-now{margin-left:50px}.timeline-title{font-size:.85rem}}.event-notes-list{gap:12px;margin-bottom:18px;display:grid}.event-note-item{border:1px solid var(--border);overflow-wrap:anywhere;border-radius:10px;padding:12px}.event-note-heading{flex-wrap:wrap;justify-content:space-between;gap:10px;display:flex}.event-note-actions{flex-wrap:wrap;gap:4px;margin-top:8px;display:flex}.event-note-actions button{min-height:38px;padding:6px 10px}.event-note-history{gap:8px;margin-top:10px;display:grid}.event-note-history .event-note-item{background:#faf9f6}.app-header-family{grid-template-columns:minmax(0,1fr) auto;gap:1px 12px;padding-top:16px;padding-bottom:9px;display:grid}.app-header-family>.brand{grid-area:1/1;justify-self:start}.app-header-family>.header-actions{grid-area:1/2}.child-header-list{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;white-space:nowrap;grid-area:2/1/auto/-1;align-items:center;gap:0;width:100%;min-width:0;display:flex;overflow:auto hidden}.child-header-list::-webkit-scrollbar{display:none}.child-header-entry{flex:none;align-items:center;min-width:0;display:inline-flex}.child-header-separator{color:var(--muted);-webkit-user-select:none;user-select:none;margin-inline:7px;font-weight:800}.child-header-tab,.child-header-single{white-space:nowrap;border-radius:10px;flex:none;align-items:center;gap:5px;min-width:0;padding:5px 7px;font-size:.84rem;line-height:1.25;display:inline-flex}.child-header-tab{min-height:44px;color:var(--muted)}.child-header-single{color:#243147;min-height:35px}.child-header-tab:hover{background:#f3f5f3}.child-header-tab.is-selected{color:#1c5954;background:#e6efeb}.child-header-tab:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}.child-header-sex{flex:none}.child-header-name{text-overflow:ellipsis;max-width:12ch;font-weight:750;overflow:hidden}.child-header-age{color:var(--muted);font-size:.81rem}.child-header-tab.is-selected .child-header-age{color:#436965}@media (width>=900px){.app-header-family+.app-main+.bottom-nav{top:148px}.child-header-name{max-width:20ch}}.child-grants{margin:12px 0}.child-grant-options{flex-wrap:wrap;gap:4px 16px;display:flex}@media (width<=650px){.app-header-family{padding-top:13px;padding-bottom:6px}}@media (width<=390px){.app-header{padding-inline:12px}.app-header .inline{gap:6px}.child-header-separator{margin-inline:4px}}.event-editor-secondary-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:8px;display:grid}.event-editor-secondary{min-height:44px;padding:8px 10px;font-size:.84rem}.sleep-tracker{border-radius:12px;margin:7px 0 5px;padding:10px 12px}.sleep-tracker-line{align-items:center;gap:9px;min-height:44px;display:flex}.sleep-tracker-icon{color:#7960b3;background:#eee7ff;border-radius:10px;flex:0 0 33px;justify-content:center;align-items:center;width:33px;height:33px;display:inline-flex}.sleep-tracker-status{flex-direction:column;flex:1;min-width:0;line-height:1.25;display:flex}.sleep-tracker-status strong{font-size:.88rem}.sleep-tracker-status span{margin-top:3px;font-size:.72rem}.sleep-tracker-button{white-space:nowrap;flex:none;min-height:44px;padding:9px 11px;font-size:.83rem}.sleep-reminder{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:5px 10px;margin-top:7px;padding-top:6px;font-size:.77rem;display:flex}.sleep-reminder .text{flex-shrink:0;padding:5px 3px;font-size:.77rem}.sleep-details{margin:0 0 7px;font-size:.82rem}.sleep-details>summary{color:var(--muted);cursor:pointer;align-items:center;gap:6px;min-height:34px;padding:5px 2px;display:inline-flex}.sleep-details-item{border-bottom:1px solid var(--border);padding:9px 2px}.sleep-details-item p{margin:2px 0}.sleep-details-actions{flex-wrap:wrap;align-items:center;gap:3px 10px;display:flex}.sleep-details-actions button,.sleep-wake-item button{min-height:35px;padding:6px 2px;font-size:.78rem}.sleep-wake-item{margin:6px 0}@media (width<=600px){.sleep-tracker{padding:8px 10px}.sleep-tracker-button{padding:8px 9px;font-size:.78rem}}@media (width<=350px){.sleep-tracker-icon{flex-basis:28px;width:28px;height:28px}.sleep-tracker-status strong{font-size:.83rem}}.timeline-feedback-trigger{min-height:25px;color:var(--teal);white-space:nowrap;align-items:center;gap:4px;padding:0 2px;font-size:.73rem;line-height:1.25;display:inline-flex;position:relative}.timeline-feedback-trigger:before{content:"";position:absolute;inset:-8px -2px}.timeline-feedback-count{align-items:center;gap:2px;display:inline-flex}.family-feedback-editor{gap:7px;margin-bottom:8px}.family-feedback-context{gap:3px;margin-bottom:12px;display:grid}.family-feedback-context strong{font-size:.98rem}.family-feedback-reactions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.family-feedback-reactions button{min-width:0;min-height:48px;padding:9px}.family-feedback-selected{color:var(--teal);border-color:var(--teal)!important;background:#eef6f4!important}.family-feedback-secondary{flex-wrap:wrap;align-items:center;gap:4px 14px;margin-top:8px;display:flex}.family-feedback-secondary button{min-height:44px;padding:6px 2px;font-size:.84rem}.family-feedback-form{gap:8px;margin-top:10px;display:grid}.family-feedback-form>label:first-child{font-size:.85rem;font-weight:650}.family-feedback-form textarea{width:100%}.family-feedback-form .two-buttons{margin-top:2px}.family-feedback-list{border-top:1px solid var(--border);margin-top:16px;padding-top:12px}.family-feedback-entry{border-bottom:1px solid var(--border);padding:9px 0}.family-feedback-entry:last-child{border-bottom:0}.family-feedback-entry-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:6px;display:flex}.family-feedback-entry-heading>span{flex-wrap:wrap;align-items:center;gap:5px;font-size:.84rem;display:inline-flex}.family-feedback-entry-heading time{font-size:.7rem}.family-feedback-comment{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0;font-size:.86rem}.family-feedback-safety{color:#a14c2f;align-items:center;gap:5px;margin:8px 0 0;font-size:.8rem;font-weight:650;display:inline-flex}@media (width<=650px){dialog.family-feedback-sheet{width:100%;max-width:100%;max-height:calc(100dvh - 12px);padding-bottom:env(safe-area-inset-bottom);border-bottom:0;border-radius:18px 18px 0 0;margin:auto auto 0}dialog.family-feedback-sheet .modal-body{padding:14px 18px 20px}}.sleep-bowel-history-row{justify-content:space-between;align-items:flex-start;gap:8px;min-height:36px;margin:0 0 7px;display:flex}.sleep-bowel-history-row:has(>.sleep-details:not([open])){align-items:center}.sleep-bowel-history-row>.sleep-details{border:0;flex:1;min-width:0;margin:0;padding:0}.sleep-bowel-history-row>.sleep-details>summary{min-height:40px;padding:0 2px;display:flex}.sleep-bowel-history-row>.sleep-details>summary>svg{flex-shrink:0}.bowel-history-controls{flex:none;justify-content:flex-end;align-items:center;gap:3px;margin-left:auto;display:inline-flex}.bowel-history-link,.bowel-quick-add{min-height:36px;color:var(--muted);border-radius:8px;justify-content:center;align-items:center;gap:5px;padding:5px 3px;font-size:.82rem;display:inline-flex}.sleep-bowel-history-row .bowel-history-link,.sleep-bowel-history-row .bowel-quick-add{min-height:40px}.bowel-history-link:hover,.bowel-quick-add:hover{color:var(--teal)}.bowel-quick-add{min-width:36px;color:var(--teal);padding:6px}.bowel-history-entry{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:10px;padding:10px 0;display:flex}.bowel-history-entry>div{overflow-wrap:anywhere;min-width:0}.bowel-history-entry p{margin:4px 0}.bowel-record-form{gap:10px;display:grid}.bowel-photo-controls{gap:7px;display:grid}.bowel-photo-controls .actions-wrap{margin:0}.bowel-private-photo{object-fit:contain;border:1px solid var(--border);border-radius:10px;width:auto;max-width:100%;height:auto;max-height:300px;display:block}.bowel-hidden-input{display:none}.bowel-timeline-icon{color:var(--teal);background:#e8f4ef;justify-content:center;align-items:center;display:flex}.bowel-timeline-title{color:var(--navy);font-size:.9rem;line-height:35px}.timeline-bowel-entry{min-height:55px;padding-bottom:11px}.timeline-bowel-status{color:var(--muted);padding-top:12px;font-size:.7rem}.sleep-wake-toggle{cursor:pointer;font:inherit;border:0;padding:0}.sleep-wake-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.sleep-insights-days{border-top:1px solid var(--border);max-height:240px;overflow-y:auto}.sleep-insights-day{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:3px 9px;padding:7px 0;font-size:.8rem;display:flex}.sleep-insights-day strong{font-size:.78rem}.sleep-insights-extra{padding:10px 0;font-size:.84rem}.sleep-insights-recovery{border-top:1px solid var(--border);padding:8px 0}.sleep-insights-recovery h3{margin:7px 0;font-size:1rem}.entry-private-photos{border-block:1px solid var(--border);margin:10px 0;padding:10px 0}.bowel-photo-controls{margin:0}.photo-strip{min-width:0}.photo-strip-toolbar{justify-content:space-between;align-items:center;gap:12px;min-height:44px;display:flex}.photo-strip-title{color:var(--navy);align-items:center;gap:7px;font-size:.9rem;font-weight:650;display:inline-flex}.photo-strip-controls{align-items:center;gap:6px;display:inline-flex}.photo-strip-icon{width:42px;min-width:42px;height:42px;min-height:42px;color:var(--navy);border:1px solid var(--border);background:#fff;border-radius:10px;justify-content:center;align-items:center;padding:0;display:inline-flex}.photo-strip-icon[aria-expanded=true]{background:#f4f6f6}.photo-strip-add{color:var(--teal)}.photo-strip-actions{flex-wrap:wrap;gap:8px;padding:7px 0 5px;display:flex}.photo-strip-actions button{border:1px solid var(--border);min-height:40px;color:var(--navy);background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:7px 12px;font-size:.83rem;display:inline-flex}.photo-strip-thumbnails{align-items:center;gap:9px;max-width:100%;padding:6px 7px 11px 1px;display:flex;overflow:auto hidden}.photo-strip-tile{flex:0 0 70px;width:70px;height:70px;position:relative}.photo-strip-thumb{border:1px solid var(--border);background:#f6f6f4;border-radius:10px;width:70px;height:70px;min-height:0;padding:0;display:block;overflow:hidden}.photo-strip-thumb img{object-fit:cover;width:100%;height:100%;display:block}.photo-strip-remove{background:var(--navy);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;min-height:0;padding:6px;display:inline-flex;position:absolute;inset:auto -5px -6px auto}.photo-strip-hint{margin:0 0 4px}.photo-strip-privacy-panel{border:1px solid var(--border);border-radius:10px;margin:7px 0 4px;padding:10px 12px}.photo-strip-privacy-panel p{margin:0 0 8px}.photo-strip-privacy-panel button{white-space:normal;max-width:100%}@media (width<=420px){.photo-strip-actions{flex-direction:column;align-items:stretch}.photo-strip-actions button{justify-content:flex-start}}.private-photo-viewer{color:#fff;background:#101826f5;border:0;border-radius:0;width:100vw;max-width:none;height:100dvh;max-height:none;padding:0;overflow:hidden}.private-photo-viewer::backdrop{background:#101826cc}.private-photo-viewer-stage{touch-action:pan-y;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.private-photo-viewer-stage img{object-fit:contain;width:auto;max-width:85vw;height:auto;max-height:85dvh;display:block}.private-photo-viewer-close{top:max(12px, env(safe-area-inset-top));right:max(12px, env(safe-area-inset-right));color:#fff;z-index:2;background:#00000059;position:absolute}.private-photo-viewer-navigation{bottom:max(12px, env(safe-area-inset-bottom));background:#00000059;border-radius:20px;align-items:center;gap:12px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.private-photo-viewer-navigation button{color:#fff}.admin-shell .admin-main .card{min-width:0;margin:0;padding:14px 16px}.admin-shell .admin-records{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));align-items:start;gap:12px;display:grid}.admin-shell .admin-content-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));align-items:start;gap:12px}.admin-shell .admin-main>.card,.admin-shell .admin-main>.actions-wrap,.admin-shell .admin-main>.stat-grid,.admin-shell .admin-main>.admin-records,.admin-shell .admin-main>.admin-content-grid{margin-bottom:14px}.admin-shell .admin-main .card>:last-child{margin-bottom:0}.admin-shell .admin-main .card h3{overflow-wrap:anywhere}.admin-shell .admin-main .card .section-heading{min-width:0}.admin-shell .admin-main .card .section-heading>h3{flex:180px;min-width:0}.admin-shell .admin-main .card .actions-wrap{margin:10px 0 0}.admin-shell .admin-main .card button{max-width:100%}.admin-shell .admin-main .card pre{max-width:100%;overflow-x:auto}.admin-card-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;min-width:0;margin-bottom:7px;display:flex}.admin-card-heading>strong,.admin-card-heading>div{overflow-wrap:anywhere;min-width:0}.admin-card-heading p{margin:4px 0 0}.admin-edit-button{white-space:nowrap;flex:none}.admin-compact-card>p:last-child{margin-bottom:0}.admin-settings-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr));align-items:start;gap:10px;margin-bottom:14px;display:grid}.admin-shell .admin-main .admin-setting-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 14px;display:grid}.admin-setting-content{min-width:0}.admin-setting-title{overflow-wrap:anywhere;font-size:1rem;line-height:1.3;display:block}.admin-setting-value{overflow-wrap:anywhere;margin:4px 0 0;line-height:1.35}.admin-setting-meta{margin:4px 0 0;line-height:1.3}.admin-setting-history{border-top:1px solid var(--border);grid-column:1/-1;min-width:0;padding-top:3px}.admin-setting-history summary{cursor:pointer;min-height:44px;color:var(--teal);align-items:center;font-size:.86rem;display:flex}.admin-history-entry{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;min-width:0;padding:10px 0;display:flex}.admin-history-entry>*{overflow-wrap:anywhere;min-width:0}.admin-history-entry .actions-wrap{margin:0}dialog.admin-edit-dialog[open]{flex-direction:column;width:min(620px,100vw - 24px);max-height:calc(100dvh - 24px);display:flex;overflow:hidden}dialog.admin-edit-dialog>header{flex:none}dialog.admin-edit-dialog>.modal-body{overscroll-behavior:contain;flex:auto;min-height:0;padding:16px 20px 0;overflow-y:auto}.admin-edit-form{min-width:0}.admin-edit-form>:last-child{margin-bottom:0}.admin-dialog-actions{z-index:2;padding:12px 0 max(12px, env(safe-area-inset-bottom));border-top:1px solid var(--border);background:#fff;justify-content:flex-end;gap:10px;margin-top:16px;display:flex;position:sticky;bottom:0}.admin-dialog-actions>button{min-width:96px;margin:0}.admin-edit-dialog textarea{max-width:100%}@media (width<=480px){.admin-shell .admin-main{padding-left:14px;padding-right:14px}.admin-shell .admin-main .card{padding:12px 14px}dialog.admin-edit-dialog>.modal-body{padding:14px 16px 0}.admin-dialog-actions>button{flex:1 1 0;min-width:0}}.admin-shell .admin-main .admin-overview-link{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;flex-direction:column;justify-content:center;align-items:flex-start;transition:border-color .15s,background-color .15s;display:flex}.admin-overview-link span{margin-top:4px}.admin-overview-link:hover{border-color:var(--teal)}.admin-overview-link:focus-visible{outline-offset:3px;outline:3px solid}.admin-overview-status{overflow-wrap:anywhere;margin-top:8px}.admin-users-switch{margin-bottom:12px}.admin-overview-filter{flex-wrap:wrap;gap:12px;margin-bottom:12px}.help{border-radius:50%;flex:0 0 40px;justify-content:center;align-items:center;width:40px;min-width:40px;height:40px;min-height:40px;padding:9px;display:inline-flex}.help:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.help-popover{z-index:11000;width:min(300px,100vw - 24px);max-height:min(260px,100vh - 24px);color:var(--navy);background:#fff;border:1px solid #d4d9da;border-radius:12px;padding:12px 14px;position:fixed;overflow:auto;box-shadow:0 10px 30px #27334730}.help-popover-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.help-popover-head strong{font-size:.88rem}.help-popover-close{width:32px;height:32px;min-height:32px;color:var(--navy);border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.help-popover-close:focus-visible{outline:2px solid var(--teal)}.help-popover p{overflow-wrap:anywhere;white-space:pre-line;margin:6px 0 0;font-size:.88rem;line-height:1.45}.admin-overview-help{min-width:0;position:relative}.admin-overview-help>.admin-overview-link{width:100%;padding-right:43px}.admin-overview-help>.help{z-index:1;position:absolute;top:2px;right:2px}.admin-setting-heading{align-items:center;gap:2px;display:flex}.admin-help-editor summary{cursor:pointer}.admin-help-items{gap:8px;margin-top:12px;display:grid}.admin-help-item{border-top:1px solid #e3e8e9;justify-content:space-between;align-items:flex-start;gap:12px;padding:10px 0;display:flex}.admin-help-item strong{overflow-wrap:anywhere}.admin-help-item p{margin:3px 0}.admin-help-editor input[type=search]{width:100%;margin:10px 0 0}.admin-help-editor .admin-help-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.admin-help-editor .admin-help-actions button{min-width:76px}.guide-intro .modal-body{max-width:440px}.guide-layer{z-index:12000;position:relative}.guide-shield,.guide-dim{z-index:12000;position:fixed;inset:0}.guide-shield{background:0 0}.guide-dim{pointer-events:none;background:#13233194}.guide-spotlight{z-index:12001;pointer-events:none;border:2px solid #fff;border-radius:12px;position:fixed;box-shadow:0 0 0 9999px #13233194}.guide-card{z-index:12002;width:min(340px,100vw - 24px);max-height:min(400px,100dvh - 24px);color:var(--navy);background:#fff;border-radius:14px;padding:18px;position:fixed;overflow-y:auto;box-shadow:0 12px 38px #17233255}.guide-card h2{margin:6px 0 8px;font-size:1.15rem}.guide-card>p:not(.guide-counter){margin:0 0 14px;font-size:.93rem;line-height:1.5}.guide-counter{color:var(--teal);margin:0;font-size:.78rem;font-weight:600}.guide-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:18px;display:flex}.guide-actions button{min-height:40px}.guide-card button:focus-visible,.guide-intro button:focus-visible{outline:3px solid var(--teal);outline-offset:2px}.profile-links button.card{text-align:left;width:100%;font:inherit;color:inherit;cursor:pointer}@media (width<=375px){.guide-card{padding:14px}.guide-actions{gap:6px}}.landing .hero{grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:clamp(30px,5vw,70px)}.landing-product-shot{border:1px solid var(--border);background:#fff;border-radius:31px;width:min(100%,380px);margin:0 auto;padding:9px;box-shadow:0 22px 60px #28334915}.landing-product-shot img{object-fit:contain;border-radius:23px;width:100%;height:auto;display:block}.landing-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:38px 56px}.landing-step-number{width:34px;height:34px;color:var(--teal);background:#e7f0ec;border-radius:50%;justify-content:center;align-items:center;margin-bottom:12px;font-weight:700;display:inline-flex}.landing-statistics .stat-grid{max-width:100%}@media (width<=700px){.landing .hero{flex-direction:column;gap:30px;margin:12px auto 40px;display:flex}.landing-product-shot{width:min(100%,350px)}.landing-feature-grid{grid-template-columns:1fr;gap:30px}.landing .hero h1{overflow-wrap:break-word;font-size:clamp(2.4rem,11vw,3.15rem)}}.landing-editor-card-actions{flex-wrap:wrap;align-self:center;gap:10px;display:flex}.landing-edit-dialog .admin-edit-form>details{border-top:1px solid var(--border);padding:14px 0}.landing-edit-dialog .admin-edit-form>details>summary{cursor:pointer;font-weight:700}.landing-editor-lang{border-bottom:1px solid var(--border);padding:12px 0}.landing-editor-lang textarea{width:100%;display:block}.landing-editor-thumb{border:1px solid var(--border);border-radius:14px;width:min(175px,100%);height:auto;margin:12px auto;display:block}.landing-editor-preview{border:1px solid var(--border);background:#faf9f6;border-radius:16px;margin:16px auto;padding:20px}.landing-editor-preview img{float:right;border-radius:12px;width:min(140px,45%);height:auto;margin:0 0 12px 14px;display:block}.landing-editor-preview-mobile{max-width:340px}.landing-editor-preview-desktop{max-width:700px}@media (width<=650px){.landing-editor-card-actions{width:100%}.landing-editor-card-actions button{flex:1}}.admin-shell .admin-main .admin-setting-row.admin-landing-setting{grid-template-columns:minmax(0,1fr);align-items:start}.admin-landing-setting .admin-setting-content{min-width:0}.admin-landing-setting .landing-editor-card-actions{flex-wrap:wrap;grid-column:1/-1;align-self:stretch;align-items:stretch;gap:8px;width:100%;display:flex}.admin-landing-setting .landing-editor-card-actions>button{white-space:normal;overflow-wrap:normal;flex:145px;min-width:0}.admin-settings-disclosure>details{grid-column:1/-1;min-width:0}.admin-settings-disclosure>details>summary{cursor:pointer}.admin-settings-disclosure .admin-settings-disclosure-body{margin-top:12px}.admin-landing-setting .landing-editor-card-actions{margin-top:14px}.admin-registration-settings .admin-registration-subtitle{margin-bottom:8px;font-size:1rem;line-height:1.35}.admin-registration-settings .admin-settings-disclosure-body>hr{border:0;border-top:1px solid var(--border);margin:16px 0 12px}.admin-registration-settings .admin-settings-disclosure-body>form+.admin-registration-subtitle{border-top:1px solid var(--border);margin-top:16px;padding-top:14px}.admin-registration-settings .admin-compact-card{overflow-wrap:anywhere;min-width:0}@media (width<=600px){.admin-landing-setting .landing-editor-card-actions{grid-template-columns:minmax(0,1fr);display:grid}.admin-landing-setting .landing-editor-card-actions>button{width:100%}.admin-registration-settings .form-grid{grid-template-columns:minmax(0,1fr)}}.notification-row{align-items:center;min-width:0;display:flex}.notification-row .category-icon{border-radius:10px;width:34px;height:34px}.notification-row .category-icon svg{width:19px;height:19px}.notification-content{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.notification-title{white-space:nowrap;text-overflow:ellipsis;font-size:.9rem;display:block;overflow:hidden}.notification-detail{white-space:nowrap;text-overflow:ellipsis;font-size:.75rem;overflow:hidden}.family-notes-page{max-width:960px;margin-inline:auto;padding-bottom:32px}.family-notes-toolbar,.family-notes-card-top,.family-notes-card-meta,.family-notes-editor-actions,.family-notes-editor-header,.family-notes-state-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.family-notes-toolbar{margin-bottom:16px}.family-notes-toolbar h1{align-items:center;gap:10px;margin:0;font-size:1.55rem;display:flex}.family-notes-controls{gap:10px;margin-bottom:14px;display:grid}.family-notes-search{border:1px solid var(--border);background:#fff;border-radius:10px;align-items:center;gap:8px;padding:4px 10px;display:flex}.family-notes-search input{outline-offset:3px;background:0 0;border:0;width:100%;min-width:0;padding:7px}.family-notes-tabs{border-bottom:1px solid var(--border);gap:4px;display:flex}.family-notes-tabs button{border-radius:8px 8px 0 0}.family-notes-tabs button.active{color:var(--teal);border-bottom:3px solid var(--teal)}.family-notes-filters{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.family-notes-filters select{border:1px solid var(--border);max-width:200px;min-height:40px;color:var(--navy);background:#fff;border-radius:8px;padding:7px}.family-notes-filters .family-notes-sort select{width:210px;max-width:100%;padding:7px 32px 7px 12px}.family-notes-list{grid-template-columns:1fr;gap:10px;display:grid}.family-notes-list.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.family-notes-card{text-align:start;border:1px solid var(--border);background:#f0f8f3;border-left:6px solid #3eae78;border-radius:10px;width:100%;min-height:90px;padding:0;display:block;overflow:hidden}.family-notes-card.priority-red{background:#fcf2f2;border-left-color:#dc5c62}.family-notes-card.priority-gray{background:#f4f4f4;border-left-color:#9299a5}.family-notes-card-content{gap:5px;padding:12px 14px;display:grid}.family-notes-card-top{align-items:flex-start}.family-notes-card-top strong{overflow-wrap:anywhere}.family-notes-card-top time{color:var(--muted);white-space:nowrap;font-size:.73rem}.family-notes-card p{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:.86rem;overflow:hidden}.family-notes-card-meta{color:var(--muted);font-size:.75rem}.family-notes-card-meta>span:last-child{align-items:center;gap:5px;display:flex}.family-notes-more{margin:14px auto;display:flex}.family-notes-editor{width:min(640px,96vw);max-height:min(88vh,900px)}.family-notes-editor .modal-body{flex-direction:column;gap:8px;display:flex}.family-notes-editor .modal-body>label{font-size:.88rem;font-weight:600}.family-notes-editor input,.family-notes-editor textarea{width:100%;color:var(--navy);background:#fff;border:1px solid #bdc2c6;border-radius:9px;padding:11px}.family-notes-editor textarea{resize:vertical;min-height:160px}.family-notes-editor-header{flex-wrap:wrap}.family-notes-editor-header p{margin:0}.family-notes-colors{align-items:center;gap:10px;display:flex}.family-notes-color{color:#fff;border-radius:10px;width:42px;height:42px;min-height:42px;padding:5px}.family-notes-color-green{background:#3eae78}.family-notes-color-red{background:#dc5c62}.family-notes-color-gray{background:#9299a5}.family-notes-color.selected{outline:3px solid var(--navy);outline-offset:3px}.family-notes-editor-actions{margin-top:10px}.family-notes-state-actions{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:flex-start;margin:12px 0;padding-top:12px}.family-notes-feedback{border-top:1px solid var(--border);margin-top:10px;padding-top:16px}.family-notes-feedback h3{margin-bottom:10px}.family-notes-feedback form{gap:8px;display:grid}.family-notes-feedback .family-feedback-reactions{flex-wrap:wrap;gap:8px;display:flex}.family-notes-feedback .family-feedback-list{margin-top:14px}.family-notes-feedback .family-feedback-entry{margin-bottom:9px}.family-notes-feedback .family-feedback-entry-heading{gap:6px}.family-notes-page .sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=500px){.family-notes-toolbar h1{font-size:1.3rem}.family-notes-filters select{max-width:145px}.family-notes-list.tiles .family-notes-card-top{display:block}.family-notes-list.tiles .family-notes-card-top time{margin-top:5px;display:block}.family-notes-list.tiles .family-notes-card-meta{flex-wrap:wrap}.family-notes-editor{width:100%}}.today-page-heading{gap:8px;margin-bottom:12px}.today-page-heading h1{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;overflow:hidden}.today-page-heading-meta{flex:none;justify-content:flex-end;align-items:center;gap:8px;display:flex}.today-page-heading-date{white-space:nowrap;font-size:.84rem}.today-date-control{border-radius:8px;align-items:center;min-height:44px;display:inline-flex;position:relative}.today-date-control:focus-within{outline:2px solid var(--teal);outline-offset:2px}.today-date-picker{opacity:0;cursor:pointer;border:0;width:100%;height:100%;min-height:44px;margin:0;padding:0;position:absolute;inset:0}.today-date-picker::-webkit-calendar-picker-indicator{cursor:pointer;width:100%;height:100%;margin:0;padding:0;position:absolute;inset:0}@media (width<=420px){.today-page-heading h1{font-size:clamp(1.35rem,5.5vw,1.75rem)}.today-page-heading-meta{gap:5px}.today-page-heading-date{font-size:.76rem}}.quick-care-dialog{width:min(560px,100vw - 24px)}.quick-care-dialog>.modal-body{padding:24px 20px 20px}.quick-care-choices{justify-content:center;align-items:flex-start;gap:14px;display:flex}.quick-care-choices.is-expanded{gap:18px;padding:16px 0 8px}.quick-care-choices.is-compact{border-bottom:1px solid var(--border);padding:0 0 22px}.quick-care-choice{border:1px solid var(--border);color:var(--navy);background:#fff;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;min-width:60px;min-height:60px;padding:9px;display:flex}.quick-care-choice.is-selected{border-color:var(--teal);background:#e8f4ef}.quick-care-choices.is-expanded .quick-care-choice{gap:10px;width:min(42%,170px);min-height:115px}.quick-care-choices.is-expanded.has-activity{gap:clamp(6px,2vw,14px)}.quick-care-choices.is-expanded.has-activity .quick-care-choice{flex:1 1 0;width:auto;min-width:0;max-width:170px;padding:8px 4px}.quick-care-choice span{text-align:center;font-size:.78rem;font-weight:650;line-height:1.2}.quick-care-extra{border:1px solid var(--border);border-radius:14px;margin-top:12px}.quick-care-extra>summary,.quick-care-extra-actions>button{min-height:44px;color:var(--navy);text-align:start;font:inherit;cursor:pointer;background:#fff;align-items:center;gap:10px;padding:10px 12px;display:flex}.quick-care-extra>summary{border-radius:14px;font-weight:650;list-style:none}.quick-care-extra>summary::-webkit-details-marker{display:none}.quick-care-extra>summary>span,.quick-care-extra-actions>button>span{overflow-wrap:anywhere;flex:1;min-width:0}.quick-care-extra svg{color:var(--muted);flex-shrink:0}.quick-care-extra[open]>summary>svg{transform:rotate(180deg)}.quick-care-extra-actions>button{border:0;border-top:1px solid var(--border);border-radius:0;width:100%}.quick-care-extra-actions>button:last-child{border-radius:0 0 14px 14px}.quick-care-extra>summary:focus-visible,.quick-care-extra-actions>button:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}.quick-care-form{gap:14px;padding-top:21px;display:grid}.quick-care-form>.full{margin-top:4px}.timeline-care-entry{min-height:55px;padding-bottom:11px}.timeline-care-detail{min-width:0;color:var(--muted);flex-wrap:wrap;gap:4px 8px;padding-top:2px;font-size:.76rem;line-height:1.4;display:flex}.timeline-care-comment{white-space:nowrap;text-overflow:ellipsis;min-width:0;max-width:100%;display:inline-block;overflow:hidden}@media (width<=480px){.quick-care-dialog>.modal-body{padding:18px 16px}.quick-care-choices.is-expanded .quick-care-choice{width:min(45%,155px)}}.event-time-card{border:1px solid var(--border);border-radius:12px;margin-bottom:16px;padding:14px}.event-time-heading,.event-time-value,.event-time-actions{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.event-time-heading{justify-content:space-between;gap:4px 12px}.event-time-value{margin-top:8px;margin-bottom:10px}.event-time-value strong{font-variant-numeric:tabular-nums;font-size:1.12rem}.event-time-actions>*{flex:auto}.event-time-form .form-grid{margin-top:12px}.event-time-form .two-buttons{margin-bottom:0}.event-schedule-settings{margin-bottom:12px}.event-schedule-settings>button{margin-top:8px}@media (width<=480px){.event-time-actual-fields{grid-template-columns:1fr}}@media (width<=390px){.event-time-card{padding:12px}.event-time-value strong{font-size:1rem}.event-time-actions>*{flex-basis:100%}}.timeline-entry.timeline-during-outdoor:not(.timeline-active),.timeline-entry.timeline-recorded-outdoor:not(.timeline-active){background:#f7f8f5;border-radius:10px}.timeline-entry.timeline-during-outdoor:before,.timeline-entry.timeline-recorded-outdoor:before{background:var(--teal)}.timeline-walk-context{color:var(--teal);font-size:.72rem;line-height:1.35}.walk-future-choice{color:var(--navy);cursor:pointer;align-items:center;gap:8px;margin:8px 0;font-size:.85rem;display:flex}.walk-future-choice input{flex:none;width:18px;height:18px}.today-status-group{border:1px solid var(--border);background:#fff;border-radius:11px;margin:7px 0;overflow:hidden}.today-status-group>summary{cursor:pointer;min-height:46px;color:var(--navy);align-items:center;gap:9px;padding:10px 13px;font-size:.83rem;font-weight:650;list-style:none;display:flex}.today-status-group>summary::-webkit-details-marker{display:none}.today-status-chevron{color:var(--muted);flex-shrink:0;transition:transform .15s}.today-status-group[open] .today-status-chevron{transform:rotate(90deg)}@media (prefers-reduced-motion:reduce){.today-status-chevron{transition:none}}.today-status-count{color:var(--muted);background:#f1f3f1;border-radius:999px;padding:2px 7px;font-size:.74rem}.today-status-list{border-top:1px solid var(--border);padding:3px 12px}.today-status-row{grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:42px;padding:5px 0;display:grid}.today-status-row+.today-status-row{border-top:1px solid var(--border)}.today-status-time{color:var(--muted);font-size:.76rem;font-weight:650}.today-status-title{text-align:left;min-width:0;color:var(--navy);overflow-wrap:anywhere;padding:6px 0;font-size:.82rem;font-weight:600}.today-status-action{white-space:nowrap;min-height:35px;font-size:.76rem}@media (width<=350px){.today-status-row{grid-template-columns:42px minmax(0,1fr) auto;gap:5px}.today-status-list{padding:3px 8px}}.recurrence-icon{color:var(--muted);vertical-align:middle;flex-shrink:0;margin-inline-start:4px}.aap-idle{gap:7px;display:grid}.aap-suggestions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.aap-suggestion{border:1px solid var(--border);background:#f1f1ef;border-radius:10px;align-content:space-between;gap:6px;min-width:0;padding:8px;display:grid}.aap-suggestions-single{grid-template-columns:minmax(0,1fr)}.aap-suggestion.meal{color:#ad5c2e;background:#feebdc}.aap-suggestion.sleep{color:#7960b3;background:#eee7ff}.aap-suggestion.activity{color:#267ca9;background:#e3f2ff}.aap-suggestion.outdoor{color:#2e9661;background:#e0f8e7}.aap-suggestion-clock{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px;font-size:.72rem;font-weight:550;display:flex}.aap-suggestion-title{align-items:center;gap:6px;min-width:0;line-height:1.25;display:flex}.aap-suggestion-title strong{overflow-wrap:anywhere;min-width:0;font-size:.85rem}.aap-suggestion-title .category-icon{border-radius:8px;width:28px;height:28px}.aap-start{width:100%;min-height:44px;color:inherit;background:#ffffffa6;padding:6px;font-size:.83rem}.aap-fell-asleep{color:#7960b3;background:#eee7ff;border-color:#e4ddf2;width:100%;min-height:44px;padding:6px;font-size:.83rem}.aap-action-host{display:contents}.aap-action-host>.aap-start{display:none}.aap-global-active{z-index:19;background:#fff;border-radius:12px;gap:6px;margin:0 0 12px;padding:8px;display:grid;position:sticky;top:90px;box-shadow:0 3px 12px #29364b12}.aap-active-row{min-width:0;min-height:52px;color:var(--navy);background:#f4f4f2;border-radius:10px;align-items:center;gap:8px;padding:7px 8px;display:flex}.aap-active-row.meal{color:#ad5c2e;background:#feebdc}.aap-active-row.sleep{color:#7960b3;background:#eee7ff}.aap-active-row.activity{color:#267ca9;background:#e3f2ff}.aap-active-row.outdoor{color:#2e9661;background:#e0f8e7}.aap-active-row .category-icon{border-radius:10px;flex:0 0 33px;width:33px;height:33px}.aap-active-row .category-icon svg{width:20px;height:20px}.aap-active-text{flex-direction:column;flex:1;gap:3px;min-width:0;line-height:1.25;display:flex}.aap-active-text strong{overflow-wrap:anywhere;font-size:.86rem}.aap-active-text span{overflow-wrap:anywhere;font-size:.73rem}.aap-active-stop{min-height:44px;color:inherit;background:#ffffffa6;flex:none;padding:6px 12px;font-size:.83rem}.aap-wake-toggle{flex-basis:44px;min-width:44px;min-height:44px}.aap-overflow{justify-self:center;min-height:44px}.aap-active-list{gap:7px;display:grid}@media (width<=350px){.aap-global-active{padding:5px}.aap-active-row{gap:5px;padding:5px}}.aap-active-secondary{gap:6px;min-height:48px;padding:4px 6px}.aap-active-secondary .category-icon{border-radius:8px;flex-basis:28px;width:28px;height:28px}.aap-active-secondary .category-icon svg{width:18px;height:18px}.aap-active-context{border-inline-start:2px solid;margin-inline-start:8px}.aap-overflow-dialog{max-width:420px}.aap-overflow-dialog>.modal-body{max-height:min(60dvh,440px);overflow-y:auto}.aap-collapse-toggle{width:44px;min-width:44px;min-height:44px;color:inherit;background:0 0;border:0;flex:0 0 44px;justify-content:center;align-items:center;padding:0;display:inline-flex}.aap-global-active.aap-global-collapsed{gap:0;padding:1px 3px}.aap-collapsed-strip{width:100%;min-width:0;height:44px;color:var(--navy);text-align:start;background:0 0;border:0;align-items:center;gap:5px;padding:0 3px;display:flex}.aap-collapsed-item{flex:0 auto;align-items:center;gap:4px;min-width:0;display:flex}.aap-collapsed-item .category-icon{border-radius:8px;width:26px;height:26px}.aap-collapsed-item .category-icon svg{width:17px;height:17px}.aap-collapsed-time{font-variant-numeric:tabular-nums;white-space:nowrap;text-overflow:ellipsis;font-size:.78rem;overflow:hidden}.aap-collapsed-more{color:var(--muted);flex-shrink:0;font-size:.78rem}.aap-expand-icon{flex-shrink:0;margin-inline-start:auto}.aap-collapse-toggle:focus-visible,.aap-collapsed-strip:focus-visible{outline:2px solid var(--teal);outline-offset:1px}@media (width<=350px){.aap-active-row:has(.aap-collapse-toggle){flex-wrap:wrap}.aap-active-row:has(.aap-collapse-toggle) .aap-active-text{min-width:76px}.aap-collapsed-strip,.aap-collapsed-item{gap:3px}.aap-collapsed-time{font-size:.74rem}}.aap-global-active,.aap-active-list{container-type:inline-size}.aap-global-active:not(.aap-global-collapsed){max-height:var(--aap-available-height,none);overscroll-behavior-y:contain;grid-auto-rows:max-content;align-content:start;overflow:hidden auto}.aap-duration-compact{display:none}@container (width<=15em){.aap-active-row{flex-wrap:wrap;justify-content:flex-end}.aap-active-row .aap-active-text{flex:1 0 100%;order:-1;min-width:0}.aap-active-text strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.aap-active-row>.category-icon,.aap-active-row>.aap-wake-toggle{margin-inline-end:auto}.aap-active-row .aap-active-stop,.aap-active-row .sleep-tracker-button{white-space:normal;overflow-wrap:anywhere;max-width:100%}.aap-collapsed-strip{gap:3px}.aap-collapsed-item{flex:none;gap:2px}.aap-collapsed-item .category-icon{width:22px;height:22px}.aap-collapsed-time{overflow:visible}.aap-duration-full{display:none}.aap-duration-compact{display:inline}}.child-header-context-row{grid-area:2/1/auto/-1;align-items:center;min-width:0;display:flex}.child-header-context-row>.child-header-list{flex:1 1 0}.contextual-status-host{flex:none;display:inline-flex}.contextual-status{color:#68717e;align-items:center;gap:5px;padding-inline:3px 6px;display:inline-flex}.contextual-status>span{align-items:center;display:inline-flex}.contextual-status-overflow{font-size:.72rem;font-weight:750}.app-shell:has(>.app-header .contextual-status[data-contextual-theme=sleep]){--context-shell:#edf0fa;--context-header:#e4e9f8;--context-icon:#45567a;--context-selected:#d8dff4;--context-selected-text:#3d4d73;--muted:#505e72;--context-motif:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='82' viewBox='0 0 112 82' fill='none' stroke='%23808a9b' stroke-opacity='.20' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M40 10a24 24 0 1 0 22 36A25 25 0 0 1 40 10Z'/%3E%3Cpath d='M83 12v12m-6-6h12M99 43v10m-5-5h10M70 65v8m-4-4h8'/%3E%3C/svg%3E")}.app-shell:has(>.app-header .contextual-status[data-contextual-theme=illness]){--context-shell:#faeeee;--context-header:#f2e0df;--context-icon:#774c4a;--context-selected:#ebd0cf;--context-selected-text:#69413f;--muted:#685454;--context-motif:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='82' viewBox='0 0 112 82' fill='none' stroke='%23958989' stroke-opacity='.20' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M27 42V15a6 6 0 0 1 12 0v27a12 12 0 1 1-12 0Zm6-22v29'/%3E%3Cpath d='M64 24h10v-10h10v10h10v10H84v10H74V34H64Z'/%3E%3C/svg%3E")}.app-shell:has(>.app-header .contextual-status:is([data-contextual-theme=sleep],[data-contextual-theme=illness])){background:var(--context-shell)}.app-shell:has(>.app-header .contextual-status:is([data-contextual-theme=sleep],[data-contextual-theme=illness]))>.app-header{background:var(--context-header)}.app-shell:has(>.app-header .contextual-status:is([data-contextual-theme=sleep],[data-contextual-theme=illness])) .contextual-status{color:var(--context-icon)}.app-shell:has(>.app-header .contextual-status:is([data-contextual-theme=sleep],[data-contextual-theme=illness]))>.bottom-nav{background:var(--context-header)}.app-shell:has(>.app-header .contextual-status:is([data-contextual-theme=sleep],[data-contextual-theme=illness]))>.bottom-nav a:not(.active){color:var(--context-icon)}@media (width>=400px) and (height>=500px){.app-shell:has(>.app-header .contextual-status:is([data-contextual-theme=sleep],[data-contextual-theme=illness])){background-image:var(--context-motif);background-position:right 20px bottom 92px;background-repeat:no-repeat}}@media (width>=900px){.app-shell:has(>.app-header .contextual-status:is([data-contextual-theme=sleep],[data-contextual-theme=illness]))>.bottom-nav{background:0 0}.app-shell:has(>.app-header .contextual-status:is([data-contextual-theme=sleep],[data-contextual-theme=illness]))>.bottom-nav a.active{background:var(--context-selected);color:var(--context-selected-text)}}@media (forced-colors:active){.app-shell:has(>.app-header .contextual-status:is([data-contextual-theme=sleep],[data-contextual-theme=illness])){background-image:none}}.illness-banner{border-color:var(--context-icon);margin-bottom:8px;padding:10px 12px}.illness-banner-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.illness-title{font-weight:600}.illness-banner-row>button:last-child{margin-inline-start:auto}.illness-notice{text-align:start;margin-block:6px;font-size:.84rem;line-height:1.45;display:block}.illness-child{margin-top:0;font-weight:600}.illness-date{border:0;min-width:0;margin:12px 0;padding:0}.illness-date legend{font-weight:600}.illness-check{align-items:flex-start;gap:8px;margin:12px 0;display:flex}.illness-check input{flex:none;width:auto;margin-top:4px}.illness-history-row{margin-block:8px}.illness-note{white-space:pre-wrap;overflow-wrap:anywhere}.calendar-month{justify-content:space-between;align-items:center;gap:.5rem;margin:.75rem 0;display:flex}.health-calendar-grid{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));gap:.2rem;margin:.5rem 0 1rem;display:grid}.health-calendar-grid>button{flex-direction:column;justify-content:center;align-items:center;gap:.15rem;min-width:0;min-height:2.7rem;padding:.2rem;display:flex}.health-calendar-grid>small{text-overflow:ellipsis;overflow:hidden}.health-calendar-marks{justify-content:center;gap:2px;min-height:11px;display:flex}.health-calendar-record{overflow-wrap:anywhere;flex-direction:column;gap:.4rem;margin:.5rem 0;display:flex}.health-photo-stage{touch-action:none;overflow:hidden}.health-photo-stage img{transform-origin:50%;-webkit-user-select:none;user-select:none}.health-photo-viewer-controls{color:#fff;background:#101826e6;max-height:30%;padding:12px;position:absolute;bottom:0;left:0;right:0;overflow:auto}.health-photo-viewer-controls .actions-wrap{justify-content:center;align-items:center}.health-photo-viewer-controls p{white-space:pre-wrap;overflow-wrap:anywhere}dialog.health-compact-dialog[open]{flex-direction:column;display:flex;overflow:hidden}dialog.health-compact-dialog>.modal-header{flex:none}dialog.health-compact-dialog>.modal-body{overscroll-behavior:contain;flex:auto;min-height:0;overflow:auto}.health-form-footer{padding:12px 20px;padding-bottom:max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--border);background:#fff;flex:none;max-height:35dvh;overflow:auto}.health-form-footer .actions-wrap{justify-content:flex-end;align-items:center;gap:8px;margin:0;display:flex}.health-form-footer .primary{flex:auto;min-width:0}.health-form-footer>small{overflow-wrap:anywhere;margin-bottom:6px;display:block}.health-form-disclosure{border:1px solid var(--border);border-radius:8px;min-width:0;margin:10px 0;padding:10px 12px}.health-form-disclosure>summary{cursor:pointer;overflow-wrap:anywhere;font-weight:600}.health-form-disclosure>summary>small{color:var(--muted);margin-inline-start:1em;font-weight:400;display:block}.health-form-fields{border:0;min-width:0;margin:0;padding:0}.health-compact-dialog .illness-notice{margin:0 0 8px}.health-compact-dialog .field{margin:10px 0}@media (width<=650px){.health-form-footer{padding-inline:16px}}.health-calendar-dialog>.modal-header .modal-header-actions{gap:4px}.health-calendar-layout>.modal-body{padding:8px 14px 12px}.health-calendar-layout .illness-child{margin:0;font-size:.9rem}.health-calendar-layout .illness-notice{text-align:start;margin:0;padding:2px 0;font-size:.78rem;font-weight:400;line-height:1.3}.health-calendar-filters,.health-calendar-views{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:2px 0;display:grid}.health-calendar-filters{grid-template-columns:minmax(0,.75fr) minmax(0,1.15fr) minmax(0,1.15fr)}.health-calendar-filters button,.health-calendar-views button{white-space:normal;overflow-wrap:anywhere;min-width:0;min-height:44px;padding:4px 2px;font-size:.86rem;line-height:1.2}.health-calendar-layout .health-calendar-filters>button{box-shadow:none;border-radius:999px}.health-calendar-layout .health-calendar-views{border-bottom:1px solid var(--border);padding-bottom:0}.health-calendar-layout .health-calendar-views>button{border:0;box-shadow:none;color:var(--muted);background:0 0;border-bottom:2px solid #0000;border-radius:0;font-weight:500}.health-calendar-layout .health-calendar-views>button[aria-pressed=true]{color:var(--navy);background:0 0;border-bottom-color:currentColor;font-weight:650}.health-calendar-layout .health-calendar-views>button:hover:not(:disabled){background:0 0}.health-calendar-layout .health-calendar-views>button:focus-visible{outline-offset:-3px}.health-calendar-layout .calendar-month{gap:4px;margin:2px 0}.health-calendar-layout .calendar-month button{min-width:44px;padding:4px}.health-calendar-layout .health-calendar-grid{gap:0 2px;margin:2px 0 8px}.health-calendar-layout .health-calendar-grid>button{gap:0;min-height:44px;padding:2px}.health-calendar-selected-date{margin:8px 0 4px;font-weight:600}.health-calendar-empty{color:var(--muted);margin:6px 0}.health-calendar-chooser,.health-calendar-privacy{gap:4px;display:grid}.health-calendar-chooser .row,.health-calendar-privacy .row,.health-calendar-privacy>div>button{text-align:start;overflow-wrap:anywhere;justify-content:flex-start;width:100%}.health-calendar-chooser .row>svg,.health-calendar-privacy .row>svg{flex-shrink:0}.health-calendar-privacy>div>button{min-height:54px}.health-calendar-form-layout>.modal-body{padding:12px 14px}.health-calendar-form-layout .illness-child{margin:0 0 4px}.health-calendar-form-layout .illness-notice{text-align:start;margin:0 0 6px;padding:4px 2px}.health-calendar-form-layout .field{margin:6px 0}.health-calendar-form-layout .health-form-date{margin:4px 0}.health-form-mode{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:4px 0;display:grid}.health-form-mode button{white-space:normal;overflow-wrap:anywhere;min-width:0;min-height:44px;padding:4px;font-size:.9rem;line-height:1.2}.health-calendar-form-layout .health-form-disclosure{margin:5px 0;padding:0 10px}.health-calendar-form-layout .health-form-disclosure>summary{min-height:44px;padding:6px 0;line-height:1.25}.health-calendar-form-layout .health-form-disclosure>summary>small{font-size:.78rem}.health-calendar-form-layout .health-form-disclosure>fieldset{margin:4px 0 8px}.health-form-time{align-items:flex-end;gap:8px;display:flex}.health-form-time .field{flex:1;min-width:0}.health-form-time>button,.health-add-time{min-height:44px;padding:4px}.health-calendar-form-layout .health-form-footer{padding:8px 14px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.health-form-confirm{align-items:center;min-height:36px;margin:0 0 6px;font-size:.88rem}.health-date-error{overflow-wrap:anywhere;display:block}.health-calendar-layout .health-calendar-record{gap:6px;margin:6px 0;padding:8px}.health-record-heading{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:2px;display:grid}.health-record-summary{text-align:start;width:100%;min-width:0;min-height:44px;color:inherit;white-space:normal;background:0 0;border:0;align-items:flex-start;gap:8px;padding:6px 2px;display:flex}.health-record-summary>svg{flex:none;margin-top:2px}.health-record-summary-text{overflow-wrap:anywhere;flex:1;gap:3px;min-width:0;font-weight:400;line-height:1.35;display:grid}.health-record-summary-text>strong{font-weight:650}.health-record-summary-text>small{color:var(--muted);font-size:.78rem}.health-record-summary[aria-expanded=true]>.health-record-chevron{transform:rotate(180deg)}.health-record-menu{min-width:44px}.health-record-menu-toggle{min-width:44px;min-height:44px}.health-record-heading:has(.health-record-action-list){grid-template-columns:minmax(0,1fr) 44px}.health-record-menu:has(.health-record-action-list){display:contents}.health-record-action-list{border:1px solid var(--border);border-radius:8px;grid-column:1/-1;gap:2px;padding:4px;display:grid}.health-record-action-list>button{text-align:start;white-space:normal;overflow-wrap:anywhere;justify-content:flex-start;min-height:44px}.health-record-details{border-top:1px solid var(--border);gap:6px;min-width:0;padding:8px 2px 2px;display:grid}.health-record-details>p{overflow-wrap:anywhere;margin:0}.health-record-details>button{white-space:normal;overflow-wrap:anywhere;min-height:44px}.sleep-tracker.aap-idle{box-shadow:none;background:0 0;border:0;gap:5px;margin:4px 0;padding:0}.aap-suggestions{gap:5px}.aap-suggestion{grid-template-columns:minmax(0,1fr) auto;align-content:start;align-items:center;gap:2px 4px;padding:5px 6px}.aap-suggestion-clock{grid-column:1/-1;gap:3px}.aap-suggestion-title{gap:3px}.aap-suggestion-title .category-icon{flex:0 0 20px;width:20px;height:24px}.aap-suggestion-title .category-icon svg{width:17px;height:17px}.aap-suggestion-title strong{font-size:.81rem;line-height:1.2}.aap-suggestion>.aap-start{white-space:nowrap;justify-self:end;gap:3px;width:auto;min-width:48px;min-height:48px;padding:3px 5px;font-size:.75rem}.aap-suggestion>.aap-start svg,.aap-active-stop svg{flex-shrink:0}.aap-suggestion>.aap-start.aap-stop,.aap-active-row>.aap-active-stop.aap-stop{background:var(--navy);color:#fff;border-color:#0000}.aap-active-row>.aap-active-stop{gap:4px;min-width:48px;min-height:48px;padding:4px 8px}.aap-idle>.aap-fell-asleep{min-height:44px;padding:3px 6px}.today-page-heading{margin-bottom:4px}.day-controls{gap:2px;margin:4px 0 7px}.date-strip{scroll-snap-type:x mandatory;padding:2px 0;container-type:inline-size}.date-strip button{scroll-snap-align:center;padding:3px 1px}@container (width<=325px){.date-strip button{flex-basis:calc(20% - 2.4px)}}@container (width<=231px){.date-strip button{flex-basis:calc(33.3333% - 2px)}}.sleep-bowel-history-row{margin-bottom:2px}.today-timeline .timeline-entry{min-height:58px;padding-block:3px 8px}.today-timeline .timeline-content{padding-block:2px 3px}.today-timeline .timeline-state{padding-top:2px}.today-timeline .timeline-state-button{flex-direction:row;gap:3px;min-height:44px}.today-timeline .timeline-title{min-height:32px}.today-timeline .timeline-detail{row-gap:3px;padding-top:1px}.today-timeline .timeline-active{margin-bottom:4px;padding-block:5px 8px}@media (width<=350px){.aap-suggestion{grid-template-columns:minmax(0,1fr)}.aap-suggestion>.aap-start{justify-self:stretch}.today-timeline .timeline-state-button{flex-direction:column;gap:0}}.aap-sleep-actions{flex:none;align-items:center;gap:4px;display:flex}.aap-sleep-actions>button{white-space:normal;gap:3px;min-width:48px;min-height:48px;padding:4px 7px;font-size:.75rem}.aap-sleep-actions>button svg{flex-shrink:0}.aap-sleep-secondary{color:inherit;background:#ffffffa6}.aap-active-row.sleep .aap-active-text{min-width:56px}.aap-suggestion.sleep>.aap-start{white-space:normal;max-width:100%}.timeline-sleep-wakings{color:var(--muted);overflow-wrap:anywhere;border:0;max-width:100%;margin:0;padding:0;font-size:.76rem}.timeline-sleep-wakings>summary{cursor:pointer;color:#7960b3;align-content:center;min-height:44px;font-weight:500;line-height:1.35}.timeline-sleep-wakings .sleep-wake-item{margin:2px 0;padding-inline-start:12px}@media (width<=390px){.aap-active-row.sleep{flex-wrap:wrap}.aap-active-row.sleep .aap-sleep-actions{flex:100%;order:2}.aap-sleep-actions>button{flex:1}}@container (width<=15em){.aap-active-row.sleep .aap-sleep-actions{flex-wrap:wrap;flex:100%}}
