:root{--pink:#b94b73;--pink-dark:#913555;--pink-light:#f6e6ec;--ink:#3e3038;--muted:#93848b;--line:#eee5e8;--bg:#fcf9f7;--white:#fff;--radius:20px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 'Segoe UI',Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button{border:0;background:none;color:inherit}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1.1px;line-height:1.3;font-weight:650}h2{font-size:17px;letter-spacing:-.3px;font-weight:650}p{color:var(--muted)}small{font-size:12px}input,select,textarea{width:100%;border:1px solid #e7dce1;border-radius:11px;padding:12px 14px;background:#fff;color:var(--ink);min-height:46px}textarea{resize:vertical;min-height:90px}input:focus,select:focus,textarea:focus{outline:2px solid #dfadc0;outline-offset:2px}button:focus-visible,a:focus-visible{outline:3px solid #d39bb1;outline-offset:3px}select{cursor:pointer}label{display:block;font-size:13px;font-weight:600;margin-bottom:17px}label input,label select,label textarea{margin-top:6px;font-weight:400}.primary,.outline{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border-radius:11px;padding:11px 18px;font-weight:600;font-size:13px}.primary{background:var(--pink);color:#fff;box-shadow:0 4px 12px #b94b7316}.primary:hover{background:var(--pink-dark)}.outline{background:#fff;border:1px solid #e4d9de;color:#715261}.outline:hover{background:#fbf3f6}.wide{width:100%}.text-button{color:var(--pink);font-weight:600;padding:10px 0;font-size:12px}.icon-button{min-width:36px;min-height:36px;border-radius:9px;font-size:20px;color:#9b8490}.icon-button:hover{background:var(--pink-light)}.muted{color:var(--muted);font-size:12px}.pill{display:inline-flex;align-items:center;border-radius:8px;padding:5px 11px;color:var(--pink);background:#faedf2;font-size:11px;font-weight:600}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:#b48c9b}.sidebar{width:238px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:33px 22px 20px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;font-size:26px;font-weight:750;letter-spacing:-1px;color:#543b47;line-height:1.2}.brand-dot{color:var(--pink)}.brand-mark{position:relative;display:inline-flex;align-items:center;justify-content:center;width:38px;height:40px;background:var(--pink);color:white;border-radius:12px;margin-right:10px;font:italic 38px/1 Georgia,serif;padding-bottom:6px}.brand-mark span{position:absolute;top:4px;right:4px;font:9px Arial;color:#f6cadb}.family-label{font-size:9px;letter-spacing:1.9px;color:#baa5ae;font-weight:600;margin:41px 12px 17px}.nav-item{width:100%;display:flex;align-items:center;gap:13px;min-height:47px;padding:10px 15px;margin-bottom:5px;border-radius:11px;color:#95858d;text-align:left;font-size:13px}.nav-item:hover{background:#fcf4f7;color:var(--pink)}.nav-item.active{color:var(--pink);background:#f9eaf0;font-weight:650}.nav-icon{width:22px;font-size:21px;text-align:center;line-height:1}.nav-item i{width:5px;height:5px;background:var(--pink);border-radius:50%;margin-left:auto}.sidebar-bottom{margin-top:auto;padding-top:24px}.love-note{padding:16px;background:#fcf6f7;border:1px solid #f6e9ee;border-radius:13px;margin:0 4px 17px}.love-note>span{font-size:25px;color:#c57c96;display:block;line-height:1.2;margin-bottom:9px}.love-note b{font-size:11px;color:#9a6a7b}.love-note p{font-size:10px;line-height:1.8;margin-top:5px;color:#b79aa6}.app-shell{margin-left:238px}.topbar{height:83px;padding:0 45px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#ffffffb8}.breadcrumb{font-size:11px;color:#ac9ca4}.breadcrumb span{padding:0 13px;color:#d4c7cd}.breadcrumb b{color:#806876;font-weight:500}.header-actions{display:flex;gap:23px;align-items:center}.saved-indicator{color:#9aaba0;font-size:10px}.avatar{width:34px;height:34px;border-radius:50%;background:#f4dce6;color:#a65d78;font-weight:600;font-size:12px}main{max-width:1350px;padding:34px 45px 15px;margin:auto}.greeting-row,.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px}.greeting-row h1{margin-top:7px}.greeting-row p,.page-heading p{margin-top:8px;font-size:12px}.wave{color:#d4aa64;font-size:28px;margin-left:5px}.baby-banner{position:relative;overflow:hidden;display:flex;align-items:center;gap:20px;padding:27px 30px;border-radius:var(--radius);background:linear-gradient(110deg,#f9e6ed,#fbedf0 70%,#f5dce5);border:1px solid #f1dce5;margin-bottom:29px}.baby-avatar{width:73px;height:73px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:52px;line-height:1;border:5px solid #fff8;background:#f0c6d5;color:#fff;border-radius:50%;box-shadow:0 3px 15px #b9738d10}.baby-identity{z-index:1}.baby-identity .eyebrow{font-size:8px;letter-spacing:1.6px;color:#b08094}.baby-identity h2{font-size:28px;font-weight:650;color:#7b425b;margin:4px 0}.baby-identity h2 span{font-size:17px;color:#c6819a}.baby-identity p{font-size:11px;color:#ad8597}.baby-identity p span{margin:0 10px}.baby-select{margin-left:auto;z-index:1;min-width:143px}.baby-select label{font-size:8px;letter-spacing:1.5px;color:#bc8f9e;margin:0 0 5px}.baby-select select{background:#fff8;border-color:#fff8;min-height:38px;font-size:12px}.banner-flower{position:absolute;right:85px;top:-58px;transform:rotate(20deg);font-size:220px;color:#e9bbcc3b}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.section-heading>span.muted{font-size:10px}.section-heading p{font-size:11px;margin-top:3px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}.stat-card{position:relative;min-height:157px;border:1px solid var(--line);border-radius:16px;background:white;padding:19px 20px;display:flex;flex-direction:column;align-items:flex-start}.stat-card .activity-icon{position:absolute;right:15px;top:17px;width:33px;height:33px;border-radius:10px;font-size:19px}.stat-card>span:not(.activity-icon){font-size:11px;color:#a08c98}.stat-card strong{font-size:29px;font-weight:650;letter-spacing:-1px;margin-top:12px}.stat-card>small{font-size:9px;color:#b2a3aa;margin-top:auto;padding-top:9px}.activity-icon{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;font-size:25px;flex-shrink:0;border-radius:13px}.rose{background:#fae9ef;color:#bf6e8a}.lavender{background:#eeebf8;color:#9382bd}.peach{background:#fcf0e3;color:#cfa36b}.blue{background:#eaf1f9;color:#7e9fc4}.green{background:#eaf2e9;color:#8ea67b}.quick-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:27px}.quick-grid button{border:1px solid var(--line);background:white;border-radius:14px;display:flex;flex-direction:column;align-items:center;gap:10px;padding:17px 10px 12px;transition:transform .15s,box-shadow .15s}.quick-grid button:hover{transform:translateY(-3px);box-shadow:0 5px 15px #6a314b0b;border-color:#e5c2d0}.quick-grid b{font-size:10px;font-weight:600;color:#8d747f}.quick-grid button>span:last-child{font-size:15px;color:#c5a7b3;line-height:1}.dashboard-columns{display:grid;grid-template-columns:1.65fr 1fr;gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px}.panel>h2{margin-bottom:20px}.timeline article{display:flex;align-items:center;gap:14px;padding:16px 0;position:relative;border-bottom:1px solid #f5eff2}.timeline article:last-child{border-bottom:0}.timeline-content{flex:1;min-width:0}.timeline-content b{font-size:12px;font-weight:600}.timeline-content p{font-size:11px;margin-top:2px;overflow-wrap:anywhere}.timeline-content small{font-size:9px;color:#b5a6ad}.timeline .activity-icon{width:37px;height:37px;border-radius:11px;font-size:23px}.timeline .delete{font-size:19px;min-width:25px}.timeline .icon-button{font-size:16px;min-width:26px}.live-dot{color:#b94b73;font-size:9px;margin-left:7px}.reminders{margin:9px 0 20px}.reminder{display:flex;align-items:flex-start;gap:11px;padding:13px 0;border-bottom:1px solid #f4edf0}.reminder>div{flex:1;min-width:0}.reminder b{font-size:11px;font-weight:600;display:block;overflow-wrap:anywhere}.reminder small{display:block;font-size:10px;color:#ae9ca6;margin-top:4px}.check{border:1px solid #e0cbd4;border-radius:7px;min-width:24px;height:24px;color:var(--pink);margin-top:1px}.completed b{text-decoration:line-through;color:#ac9da4}.completed .check{background:#fae9ef}.late{font-size:9px;color:#bd6d79}.gentle-note{background:#fbf5ed;border-radius:13px;margin-top:21px;padding:18px 20px}.gentle-note>span{display:block;color:#c9a777;font-size:24px}.gentle-note b{font-size:11px;color:#a78a65}.gentle-note p{font-size:10px;margin-top:5px;color:#bba88e}.empty{padding:36px 18px;text-align:center;display:flex;flex-direction:column;align-items:center;color:#aa95a0}.empty>span{font-size:30px;color:#cda9b9;margin-bottom:8px}.empty b{font-size:13px;color:#9d7e8b}.empty p{font-size:11px;max-width:290px;margin-top:8px}.page-footer{display:flex;justify-content:space-between;gap:16px;max-width:1350px;padding:27px 45px;color:#beafb6;font-size:9px;margin:auto}.mobile-nav{display:none}.timer-grid{display:grid;gap:12px;margin-bottom:25px}.active-timer{border-radius:15px;display:flex;align-items:center;gap:14px;padding:17px 20px}.active-timer>div{flex:1}.active-timer b{font-size:12px}.active-timer small{display:block;font-size:10px;margin-top:2px}.active-timer>strong{font-size:24px;font-variant-numeric:tabular-nums;font-weight:600}.active-timer .primary{min-height:36px;padding:8px 12px;font-size:11px}.page-heading{margin:3px 0 28px}.page-heading h1{margin:8px 0}.filterbar{display:flex;gap:12px;margin-bottom:10px}.filterbar input{flex:1.6}.filterbar select{flex:1}.three{grid-template-columns:repeat(3,1fr)}.growth-chart{display:block;width:100%;max-height:340px;margin:25px 0 15px;overflow:visible}.growth-chart text{font-family:'Segoe UI',sans-serif;font-size:12px;fill:#a48190}.mt{margin-top:22px}.soft-banner{display:flex;gap:22px;align-items:center;padding:25px 30px;border-radius:18px;margin-bottom:25px}.soft-banner>span{font-size:45px}.soft-banner h2{margin-bottom:5px}.soft-banner p{font-size:12px;color:inherit;opacity:.8}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:12px}th{font-weight:600;color:#aa8595;background:#fcf6f8}th,td{padding:15px;border-bottom:1px solid var(--line)}td{color:#927d88}.settings-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:22px}.profile-row{display:flex;align-items:center;gap:12px;margin:10px 0 20px}.profile-row>div{flex:1}.profile-row small{display:block;color:#b09ca7;font-size:10px}.baby-avatar.small{width:40px;height:40px;font-size:30px;border-width:2px}.profile-row .outline{min-height:34px;padding:6px 10px}.settings-grid .panel>p{margin:15px 0 20px}.welcome-empty{padding:50px 20px;text-align:center}.welcome-empty h1{margin:15px 0}.welcome-empty>p{max-width:430px;margin:auto}.welcome-empty .baby-art{height:220px;max-width:300px;margin:auto}.auth-page{min-height:100dvh;display:grid;place-items:center;padding:40px;background:#fcf6f8}.auth-wrap{display:grid;grid-template-columns:1.1fr 1fr;max-width:1000px;width:100%;background:#fff;border:1px solid #f1e3e9;border-radius:28px;overflow:hidden;box-shadow:0 25px 90px #ae7c9015}.auth-story{padding:45px;background:linear-gradient(145deg,#fae8ef,#f8f0e8)}.auth-story>.eyebrow{display:block;margin-top:52px;font-size:9px}.auth-story h1{font-size:39px;color:#815066;margin-top:14px;line-height:1.3}.auth-story>p:not(.eyebrow){font-size:13px;max-width:320px;margin-top:17px;color:#b08b9b}.baby-art{position:relative;height:200px;display:grid;place-items:center}.face{width:120px;height:120px;border-radius:48% 48% 46% 46%;background:#f5d6c0;position:relative;text-align:center;font-size:54px;color:#965e55;padding-top:13px;box-shadow:0 0 0 18px #fff7,0 0 0 40px #fff3;transform:rotate(-7deg)}.face:before,.face:after{content:'';position:absolute;width:7px;height:9px;border-radius:50%;background:#9a6e67;top:51px}.face:before{left:35px}.face:after{right:35px}.baby-art>i{position:absolute;right:20%;top:28px;font-style:normal;color:#cf8fa8;font-size:30px}.baby-art>b{position:absolute;left:15%;bottom:25px;font-size:33px;color:#b39ac4}.baby-art>span{position:absolute;left:24%;top:25px;color:#b8956f;font-size:25px}.privacy-line{text-align:center;font-size:11px;color:#b38b9c;margin-top:18px}.auth-card{padding:55px 45px;align-self:center}.auth-card h2{font-size:26px;letter-spacing:-.7px;margin-top:17px}.auth-card>.muted{margin:8px 0 28px}.auth-card .wide{margin-top:10px}.auth-card>small{display:block;margin-top:15px;font-size:10px}.error,.form-error{color:#b34763;font-size:12px}.error{background:#fff1f4;border-radius:10px;padding:12px;margin:15px 0}.error p{color:inherit}dialog{width:min(520px,calc(100% - 28px));max-height:90dvh;border:1px solid var(--line);border-radius:22px;padding:25px;color:var(--ink);box-shadow:0 24px 100px #38233030}dialog::backdrop{background:#3c2a3759;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-head h2{font-size:21px}.form-actions{display:flex;gap:12px;justify-content:flex-end;border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.form-error:empty{display:none}.timer-start{text-align:center;border-radius:15px;padding:25px;margin-bottom:20px}.timer-start .activity-icon{display:flex;margin:auto}.timer-start strong{display:block;font-size:35px;font-variant-numeric:tabular-nums;margin:10px 0}.timer-start p{font-size:12px;color:inherit}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);max-width:calc(100% - 30px);background:#624552;color:white;border-radius:13px;box-shadow:0 8px 25px #39212c24;padding:13px 23px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:100}#toast.show{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}
@media(min-width:1500px){main{padding-top:40px}.stats-grid{gap:22px}.stat-card{min-height:169px}.quick-grid{gap:17px}.baby-banner{padding:32px}}
@media(max-width:1150px){.sidebar{width:205px;padding:30px 15px 20px}.app-shell{margin-left:205px}main{padding:28px}.topbar{padding:0 28px}.page-footer{padding:25px 28px}.brand{font-size:24px}.stat-card{padding:16px 14px}.stat-card .activity-icon{width:27px;height:27px;right:10px;top:12px}.stat-card>span:not(.activity-icon){max-width:75%;font-size:10px}.quick-grid{gap:8px}.baby-banner{padding:23px;gap:16px}.baby-identity .eyebrow{max-width:220px;display:block}.dashboard-columns{gap:16px;grid-template-columns:1.5fr 1fr}.panel{padding:20px}.timeline article{gap:10px}.saved-indicator{display:none}}
@media(max-width:850px){.sidebar{width:77px;padding:24px 11px}.sidebar .brand{font-size:0}.sidebar .brand-mark{margin:0}.sidebar .brand-dot,.family-label,.sidebar .nav-item>span:not(.nav-icon),.sidebar .nav-item i,.love-note{display:none}.sidebar nav{margin-top:40px}.sidebar .nav-item{padding:11px 16px}.sidebar-bottom .nav-item{font-size:19px}.app-shell{margin-left:77px}.quick-grid{grid-template-columns:repeat(3,1fr);gap:12px}.quick-grid button{flex-direction:row;padding:14px;gap:12px}.quick-grid button>span:last-child{margin-left:auto}.quick-grid b{font-size:11px}.baby-banner{flex-wrap:wrap}.baby-select{min-width:130px}.baby-identity h2{font-size:24px}.dashboard-columns{grid-template-columns:1fr}.agenda{display:grid;grid-template-columns:1fr 1fr;gap:10px 25px}.agenda>.section-heading{grid-column:1/-1;margin-bottom:0}.agenda>.reminders,.agenda>.empty{grid-row:2/4;margin:0}.agenda>.gentle-note{margin-top:0}.settings-grid{grid-template-columns:1fr}.auth-wrap{max-width:750px}.auth-story{padding:32px}.auth-card{padding:40px 30px}.auth-story h1{font-size:32px}.active-timer{flex-wrap:wrap}.stats-grid{gap:12px}.stat-card{min-height:145px}.stat-card strong{font-size:25px}.stat-card .activity-icon{display:none}}
@media(max-width:600px){body{font-size:14px}.sidebar{display:none}.app-shell{margin:0}.topbar{height:62px;padding:0 20px;background:white}.breadcrumb{font-size:10px}.breadcrumb span{padding:0 9px}.avatar{width:31px;height:31px}.topbar:before{content:'MairaQu.';font-weight:750;font-size:21px;letter-spacing:-.8px;color:#9c4968}.breadcrumb{display:none}main{padding:24px 18px 8px}h1{font-size:27px}.greeting-row{align-items:flex-start;margin-bottom:21px}.greeting-row .eyebrow{font-size:8px;letter-spacing:1.1px}.greeting-row h1{font-size:27px;margin-top:7px}.greeting-row p{font-size:11px;max-width:215px;line-height:1.8}.greeting-row>.outline{font-size:0;border:0;background:var(--pink);color:#fff;width:43px;height:43px;min-width:43px;padding:0;margin-top:18px;box-shadow:0 4px 10px #b94b7320}.greeting-row>.outline:before{content:'＋';font-size:25px}.baby-banner{border-radius:17px;padding:21px 18px;gap:13px;margin-bottom:25px}.baby-avatar{width:60px;height:60px;font-size:42px}.baby-identity{flex:1}.baby-identity h2{font-size:25px}.baby-identity .eyebrow{font-size:6px;letter-spacing:1.1px}.baby-identity p{font-size:9px}.baby-identity p span{margin:0 4px}.baby-select{width:100%;display:flex;align-items:center;gap:16px;border-top:1px solid #ebced9;padding-top:12px;margin-top:6px}.baby-select label{font-size:7px;flex:1;margin:0}.baby-select select{width:155px;min-height:34px;padding:5px 10px;font-size:11px}.banner-flower{font-size:170px;right:-35px;top:-25px}.section-heading h2{font-size:16px}.section-heading>span.muted{font-size:8px;max-width:120px;text-align:right}.stats-grid{grid-template-columns:repeat(2,1fr);gap:11px;margin-bottom:26px}.stat-card{padding:15px;min-height:137px;border-radius:14px}.stat-card .activity-icon{display:flex;right:11px;top:12px;width:27px;height:27px;font-size:17px;border-radius:8px}.stat-card>span:not(.activity-icon){font-size:10px;max-width:75%}.stat-card strong{font-size:26px;margin-top:13px}.stat-card>small{font-size:8px}.quick-grid{gap:9px;margin-bottom:23px}.quick-grid button{flex-direction:column;gap:8px;padding:14px 6px 10px;border-radius:13px}.quick-grid button>span:last-child{margin:0;line-height:1;font-size:15px}.quick-grid b{font-size:10px}.quick-grid .activity-icon{width:36px;height:36px;font-size:23px;border-radius:11px}.panel{padding:19px 16px;border-radius:17px}.dashboard-columns{gap:18px}.timeline article{padding:15px 0;gap:10px}.timeline-content b{font-size:11px}.timeline-content p{font-size:10px}.timeline-content small{font-size:8px}.timeline .activity-icon{width:32px;height:34px;font-size:21px}.timeline .icon-button{min-width:24px;padding:0}.timeline .delete{min-width:22px}.agenda{display:block}.agenda>.section-heading{margin-bottom:15px}.agenda .reminders{margin-bottom:20px}.gentle-note{margin-top:20px!important}.page-footer{padding:25px 18px 105px;display:block;text-align:center;font-size:8px}.page-footer span{display:block;line-height:2}.mobile-nav{display:flex;justify-content:space-around;align-items:flex-start;position:fixed;bottom:0;left:0;right:0;border-top:1px solid var(--line);background:#fffffff5;backdrop-filter:blur(12px);padding:9px 5px calc(9px + env(safe-area-inset-bottom));z-index:20}.mobile-nav .nav-item{width:20%;margin:0;min-height:49px;display:flex;flex-direction:column;gap:3px;border-radius:10px;padding:5px 0;font-size:9px;text-align:center}.mobile-nav .nav-icon{font-size:23px}.mobile-nav .nav-item i{display:none}.mobile-nav .nav-item.active{background:#fbedf2}.page-heading{display:block;margin-bottom:22px}.page-heading h1{font-size:26px}.page-heading .eyebrow{font-size:8px}.page-heading p{font-size:11px}.page-heading>button{margin-top:17px;width:100%}.filterbar{flex-wrap:wrap;gap:8px}.filterbar input{flex-basis:100%}.filterbar select{width:calc(50% - 4px);font-size:11px;min-width:0;padding:10px}.active-timer{padding:15px;gap:10px}.active-timer>.activity-icon{width:31px;height:31px;font-size:20px}.active-timer>div{min-width:160px}.active-timer b{font-size:11px}.active-timer small{font-size:9px}.active-timer>strong{margin-left:41px;font-size:23px}.active-timer .primary{margin-left:auto}.three{grid-template-columns:repeat(3,1fr);gap:8px}.three .stat-card{padding:13px 10px;min-height:120px}.three .stat-card>.activity-icon{display:none}.three .stat-card>span:not(.activity-icon){max-width:100%;font-size:9px}.three .stat-card strong{font-size:23px}.three .stat-card strong small{font-size:10px}.three .stat-card>small{font-size:7px}.soft-banner{padding:20px;gap:15px}.soft-banner>span{font-size:32px}.soft-banner h2{font-size:15px}.soft-banner p{font-size:11px}.profile-row{gap:10px}.profile-row b{font-size:12px}.profile-row .text-button{font-size:10px}.profile-row .baby-avatar{width:32px;height:32px;font-size:24px}.profile-row .outline{font-size:11px}.settings-grid .panel{min-width:0}.welcome-empty{padding:35px 8px}.welcome-empty h1{font-size:30px}.welcome-empty>p{font-size:13px}.auth-page{padding:20px 14px}.auth-wrap{display:block;border-radius:22px}.auth-story{padding:28px}.auth-story .brand{font-size:26px}.auth-story>.eyebrow{margin-top:30px;font-size:8px}.auth-story h1{font-size:31px}.auth-story>p:not(.eyebrow){font-size:11px;margin-top:12px}.auth-story .baby-art,.privacy-line{display:none}.auth-card{padding:28px}.auth-card h2{font-size:24px}.auth-card>.muted{font-size:11px;margin-bottom:23px}dialog{padding:22px 18px;border-radius:19px;max-height:88dvh}.modal-head h2{font-size:20px}input,select,textarea{font-size:16px}#toast{bottom:90px;width:max-content;text-align:center}.table-wrap{margin:0 -8px}th,td{padding:13px 10px;font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:600px){.greeting-row p,.page-heading p{font-size:13px}.baby-identity p{font-size:11px}.stat-card>span:not(.activity-icon){font-size:12px}.stat-card>small{font-size:10px}.quick-grid b{font-size:12px}.timeline-content b{font-size:13px}.timeline-content p{font-size:12px}.timeline-content small{font-size:11px}.mobile-nav .nav-item{font-size:11px}.reminder b{font-size:13px}.reminder small{font-size:12px}.gentle-note b{font-size:13px}.gentle-note p{font-size:12px}.profile-row b{font-size:14px}.profile-row small{font-size:12px}.muted{font-size:12px}.three .stat-card>span:not(.activity-icon){font-size:10px}.three .stat-card>small{font-size:10px}.active-timer b{font-size:13px}.active-timer small{font-size:11px}.empty b{font-size:14px}.empty p{font-size:12px}}
.diaper-overview,.formula-overview{margin:0 0 25px}.diaper-counts,.formula-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:16px}.diaper-counts>div,.formula-grid>div{padding:15px;border:1px solid var(--line);border-radius:13px;background:#fdf8fa}.diaper-counts span{font-size:12px;color:#a08290}.diaper-counts strong,.formula-grid strong{display:block;font-size:29px;color:var(--pink);margin:6px 0}.diaper-counts strong small,.formula-grid strong small{font-size:12px}.diaper-counts p,.formula-grid p{font-size:11px}.formula-grid>div{background:#fdf9f3}.formula-grid strong{color:#b58c59}.formula-grid b{display:block;font-size:15px;margin-top:9px;color:#9d7950}.formula-grid small{display:block;font-size:10px;color:#af9c84}.formula-fields{border:1px solid #f0dfc7;border-radius:13px;background:#fffcf7;padding:18px;margin-bottom:18px}.formula-fields>p{margin-bottom:16px}.report-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:15px}.report-filters label{flex:1;min-width:150px;margin:0}.report-filters button{flex-shrink:0}.report-bars{margin-top:20px}.report-bar-row{display:flex;align-items:center;gap:15px;margin:9px 0;font-size:11px}.report-bar-row>span{min-width:80px;color:#987c89}.report-bar-row>b{min-width:22px;text-align:right;color:var(--pink)}.recipe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px}.recipe-card{border:1px solid var(--line);border-radius:15px;padding:18px;display:flex;flex-direction:column;background:#fffdfa}.recipe-card h3{font-size:16px;margin-bottom:10px;overflow-wrap:anywhere}.recipe-card p{font-size:12px;white-space:pre-line;margin-bottom:12px;overflow-wrap:anywhere}.recipe-card>small{font-size:11px;color:#aa9281;margin:auto 0 16px}.recipe-card .section-heading{margin-bottom:10px}.recipe-copy{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;color:#806e78;margin:12px 0 25px}.recipe-meta{padding:12px;background:#fbf3e7;border-radius:10px;margin-bottom:22px;color:#a58b65}.recipe-actions{display:flex;flex-wrap:wrap;gap:10px;padding-top:20px;border-top:1px solid var(--line)}.checkbox-label{display:flex;align-items:center;gap:10px}.checkbox-label input{width:20px;min-height:20px;margin:0;accent-color:var(--pink)}
@media(max-width:900px){.recipe-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.diaper-counts,.formula-grid{gap:8px}.diaper-counts>div,.formula-grid>div{padding:12px 8px}.diaper-counts strong,.formula-grid strong{font-size:25px}.diaper-counts span{font-size:11px}.diaper-counts p{font-size:9px}.formula-grid{grid-template-columns:1fr}.formula-grid>div{padding:15px}.formula-grid p,.formula-grid small{font-size:12px}.report-filters{gap:10px}.report-filters label{min-width:100%;}.report-filters button{flex:1}.recipe-grid{grid-template-columns:1fr}.recipe-card h3{font-size:18px}.recipe-card p{font-size:14px}.recipe-card>small{font-size:12px}.recipe-card .primary{padding:10px}.diaper-overview .section-heading h2{font-size:15px}.formula-overview .section-heading{align-items:flex-start}}
.formula-preview{background:#f8f0e4;border-radius:10px;padding:13px;margin-top:15px;font-size:12px;color:#9b754e}.formula-preview p{font-size:12px;color:inherit;margin-top:5px}

/* Comfortable controls and clear navigation on small screens. */
:root{--muted:#76646e}
.skip-link{position:fixed;top:-80px;left:16px;padding:12px 18px;background:var(--pink-dark);color:white;z-index:200;border-radius:12px}
.skip-link:focus{top:12px}
#main:focus{outline:none}
.field-hint{display:block;color:var(--muted);font-weight:400;margin-top:5px;font-size:12px}
.explore-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.explore-item{display:flex;align-items:center;gap:14px;min-height:96px;padding:18px;background:white;border:1px solid var(--line);border-radius:16px;text-align:left}
.explore-item:hover{border-color:#d7a6b9;background:#fffafd}
.explore-item>span:nth-child(2){flex:1;min-width:0}
.explore-item b{display:block;font-size:15px}
.explore-item small{display:block;color:var(--muted);font-size:12px;margin-top:3px}
.explore-item>span:last-child{font-size:24px;color:var(--pink)}
.quick-add{display:none}
.saved-indicator{color:#496e59}
.saved-indicator.disconnected{color:#9c4d20}
.form-error{background:#fff0f0;color:#9f2c3e;padding:12px;border-radius:10px;margin:12px 0}
body:has(dialog[open]){overflow:hidden}
.modal-head{position:sticky;top:-25px;background:white;z-index:2;padding:10px 0}
.modal-head .icon-button{min-width:44px;min-height:44px}
.form-actions{position:sticky;bottom:-25px;background:white;padding-bottom:16px;z-index:2}
.table-wrap{overscroll-behavior-x:contain}
@media(max-width:900px){.explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  body{font-size:15px}
  main{padding:24px 16px 12px}
  .topbar{padding-top:env(safe-area-inset-top);height:calc(64px + env(safe-area-inset-top));gap:12px}
  .topbar:before{font-size:23px}
  .header-actions{gap:10px;margin-left:auto}
  .saved-indicator{font-size:10px;max-width:120px;text-align:right}
  .avatar{width:44px;height:44px;flex-shrink:0;font-size:16px}
  .greeting-row>.outline{font-size:13px;width:auto;height:auto;min-height:44px;padding:10px 12px;margin-top:5px;border:1px solid var(--line);box-shadow:none}
  .greeting-row>.outline:before{content:none}
  .greeting-row{gap:12px;flex-wrap:wrap}
  .greeting-row>div{flex:1;min-width:170px}
  .greeting-row p{max-width:none}
  .baby-banner{padding:18px 16px;flex-wrap:wrap}
  .baby-identity{min-width:0}
  .baby-identity h2{overflow-wrap:anywhere;font-size:25px}
  .baby-identity .eyebrow{font-size:9px;letter-spacing:1px;line-height:1.6}
  .baby-identity p{font-size:12px}
  .baby-select label{font-size:10px;letter-spacing:.8px}
  .baby-select select{min-height:44px;font-size:16px;width:55%;min-width:0}
  .eyebrow,.page-heading .eyebrow{font-size:10px;overflow-wrap:anywhere}
  .stat-card{min-width:0;min-height:145px;padding:16px}
  .stat-card>small{font-size:12px;line-height:1.5;color:var(--muted)}
  .stat-card>span:not(.activity-icon){color:#796570}
  .quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .quick-grid button{min-height:104px;padding:14px 8px}
  .quick-grid b{font-size:12px;color:#6e4e5d}
  .section-heading{flex-wrap:wrap;gap:10px}
  .section-heading p{font-size:13px}
  .section-heading>span.muted{font-size:11px;max-width:none}
  .section-heading select{width:100%;font-size:16px}
  .section-heading .text-button{min-height:44px;display:inline-flex;align-items:center}
  .timeline article{flex-wrap:wrap;gap:8px}
  .timeline-content{flex-basis:calc(100% - 50px)}
  .timeline-content b{font-size:14px}
  .timeline-content p{font-size:13px;color:#76646e}
  .timeline-content small{font-size:12px;color:#76646e}
  .timeline .icon-button,.timeline .delete{min-width:44px;min-height:44px;background:#fbf3f6;font-size:20px}
  .timeline .icon-button:first-of-type{margin-left:auto}
  .reminder .check{min-width:44px;min-height:44px;flex-shrink:0}
  .reminder b{font-size:14px}
  .icon-button{min-width:44px;min-height:44px}
  .text-button{min-height:44px;font-size:13px}
  .primary,.outline{font-size:14px;min-height:48px}
  .active-timer{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px}
  .active-timer>div{min-width:0}
  .active-timer>strong{margin:0;font-size:28px;grid-column:1/-1;text-align:center}
  .active-timer .primary{grid-column:1/-1;width:100%;margin:0}
  .three{grid-template-columns:1fr;gap:10px}
  .three .stat-card{min-height:100px;display:grid;grid-template-columns:1fr auto;gap:6px;align-items:center;padding:16px}
  .three .stat-card strong{margin:0;font-size:27px;grid-column:2;grid-row:1/3}
  .three .stat-card>span:not(.activity-icon){font-size:14px}
  .three .stat-card>small{font-size:12px;padding:0}
  .three .stat-card strong small{font-size:14px}
  .diaper-counts{grid-template-columns:1fr;gap:0}
  .diaper-counts>div{display:grid;grid-template-columns:1fr auto;align-items:center;border:0;border-radius:0;padding:12px 0;background:white;border-bottom:1px solid var(--line)}
  .diaper-counts strong{grid-column:2;grid-row:1/3;margin:0;font-size:27px}
  .diaper-counts span{font-size:13px;color:#76646e}
  .diaper-counts p{font-size:12px}
  .diaper-overview .section-heading h2{font-size:17px}
  .formula-grid small{color:#766046}
  .profile-row{flex-wrap:wrap;gap:10px}
  .profile-row>div{flex:1;min-width:150px;overflow-wrap:anywhere}
  .profile-row .outline{margin-left:auto;font-size:14px}
  .profile-row .text-button{padding:10px 14px;font-size:14px}
  .settings-grid .panel p{overflow-wrap:anywhere}
  .explore-grid{grid-template-columns:1fr;gap:10px}
  .explore-item{min-height:88px;padding:16px}
  .explore-item small{font-size:13px}
  .mobile-nav{padding:8px 6px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -4px 24px #543b4708}
  .mobile-nav .nav-item{min-height:54px;font-size:11px;gap:6px;color:#76646e}
  .mobile-nav .nav-item.active{color:var(--pink-dark);background:#f8e5ed}
  .quick-add{display:flex;position:fixed;right:16px;bottom:calc(88px + env(safe-area-inset-bottom));align-items:center;gap:6px;min-height:50px;padding:10px 20px;background:var(--pink-dark);color:white;border-radius:28px;font-weight:650;box-shadow:0 6px 22px #91355538;z-index:19}
  .quick-add>span{font-size:23px;line-height:1}
  body:has(dialog[open]) .quick-add{visibility:hidden}
  .page-footer{padding:24px 16px calc(164px + env(safe-area-inset-bottom));font-size:11px}
  dialog{width:100%;max-width:600px;max-height:calc(100dvh - env(safe-area-inset-top) - 12px);margin:auto 0 0;padding:0 20px;border-radius:24px 24px 0 0;border-bottom:0;overscroll-behavior:contain;scroll-padding-top:85px;scroll-padding-bottom:100px}
  .modal-head{top:0;padding:20px 0 12px;margin-bottom:16px;border-bottom:1px solid var(--line)}
  .modal-head h2{font-size:21px}
  .form-actions{bottom:0;padding:14px 0 calc(14px + env(safe-area-inset-bottom));gap:10px}
  .form-actions button{flex:1}
  label{font-size:14px}
  input,select,textarea{font-size:16px;min-height:50px;max-width:100%;min-width:0}
  textarea{min-height:110px}
  .field-hint{font-size:12px}
  #toast{bottom:calc(150px + env(safe-area-inset-bottom));font-size:14px;width:calc(100% - 32px);max-width:420px}
  .auth-card{padding:26px 22px}
  .auth-story>p:not(.eyebrow){font-size:14px}
  .auth-card>.muted{font-size:14px}
  .auth-story>.eyebrow{font-size:10px}
}

.password-toggle{display:block;margin:-12px 0 16px auto;padding:8px 0;min-height:44px}

.daily-care{margin-bottom:24px}
.daily-care-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.daily-care-grid>div{display:flex;align-items:center;gap:12px}
.daily-care-grid b,.daily-care-grid small{display:block}
.daily-care-grid b{font-size:20px}
.daily-care-grid small{color:var(--muted);font-size:12px;font-weight:400}
.daily-care-grid b small{display:inline}
@media(max-width:600px){.daily-care-grid{grid-template-columns:1fr;gap:16px}.daily-care .section-heading{align-items:flex-start}.daily-care-grid small{font-size:13px}}

/* App interface: consistent line icons and a compact, thumb-friendly shell. */
.activity-icon svg,.nav-icon svg{width:24px;height:24px;display:block}
.activity-icon svg{width:23px;height:23px}
.nav-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0}
.app-brand{display:none}
@media(max-width:600px){
  :root{--bg:#f8f6f8;--line:#eee8ed;--ink:#382d38;--pink:#b94b73;--radius:22px}
  body{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-.15px}
  .app-shell{padding-bottom:calc(106px + env(safe-area-inset-bottom))}
  .topbar{position:sticky;top:0;z-index:18;height:calc(76px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 20px 0;background:#f8f6f8ed;backdrop-filter:blur(18px);border-bottom:0}
  .topbar:before{display:none}
  .app-brand{display:flex;align-items:center;gap:10px;min-width:0}
  .app-brand .brand-mark{width:37px;height:39px;border-radius:13px;margin:0;font-size:34px;box-shadow:0 4px 12px #b94b7320}
  .app-brand b{font-size:20px;letter-spacing:-.8px;line-height:1.2;display:block}
  .app-brand small{display:block;font-size:11px;color:var(--muted);line-height:1.5;margin-top:3px}
  .header-actions{gap:8px}
  .saved-indicator{display:none}
  .saved-indicator.disconnected{display:block;max-width:80px;font-size:10px}
  .avatar{border:3px solid white;background:#f1dce6;box-shadow:0 2px 8px #5237470a;font-size:15px;width:43px;height:43px}
  main{padding:14px 18px 20px}
  .greeting-row{margin:6px 0 20px}
  .greeting-row .eyebrow{font-size:11px;letter-spacing:1px;color:#947f8e}
  .greeting-row h1{font-size:27px;margin:7px 0 0;letter-spacing:-1px}
  .greeting-row p{font-size:13px;margin-top:6px;color:#887581}
  .wave{font-size:23px}
  .baby-banner{border:0;border-radius:24px;padding:20px;gap:14px;background:linear-gradient(125deg,#efd3e0,#f9e9ef);box-shadow:0 8px 22px #b94b7308;margin-bottom:24px}
  .baby-avatar{width:57px;height:57px;font:600 25px/1 system-ui;border:3px solid #ffffffb3;background:#fff8;color:#a34c70;box-shadow:none}
  .baby-identity .eyebrow{display:none}
  .baby-identity h2{font-size:25px;letter-spacing:-.7px;margin:0 0 3px;color:#753d58}
  .baby-identity h2 span{font-size:14px}
  .baby-identity p{font-size:11px;color:#8a6175;line-height:1.7}
  .baby-select{padding-top:12px;margin-top:0;border-color:#c99bb344;gap:8px}
  .baby-select label{font-size:10px;color:#8a6175;letter-spacing:.7px}
  .baby-select select{width:54%;min-height:40px;font-size:14px;border:0;border-radius:12px;background:#ffffffad}
  .banner-flower{font-size:190px;opacity:.6;right:-45px;top:-45px;pointer-events:none}
  .section-heading{margin-bottom:13px}
  .section-heading h2{font-size:17px;font-weight:700;letter-spacing:-.45px}
  .section-heading>.muted{max-width:140px;font-size:10px;line-height:1.6}
  .pill{border-radius:20px;background:#f3e4ec;font-size:10px;padding:5px 10px}
  .stats-grid{gap:10px;margin-bottom:24px}
  .stat-card{border:0;border-radius:19px;min-height:122px;padding:16px;background:white;box-shadow:0 3px 12px #52374704}
  .stat-card .activity-icon{width:29px;height:29px;right:12px;top:13px;border-radius:10px}
  .stat-card .activity-icon svg{width:18px;height:18px}
  .stat-card>span:not(.activity-icon){font-size:11px;max-width:75%;font-weight:500;color:#796570}
  .stat-card strong{font-size:29px;line-height:1.2;margin-top:12px;letter-spacing:-1px}
  .stat-card>small{font-size:10px;padding-top:6px;line-height:1.5;color:#927f8b}
  .quick-grid{gap:9px;margin-bottom:24px}
  .quick-grid button{padding:14px 5px 12px;min-height:91px;border:0;border-radius:18px;gap:8px;box-shadow:0 3px 12px #52374704}
  .quick-grid button:active,.explore-item:active{transform:scale(.97);background:#faedf3}
  .quick-grid .activity-icon{width:39px;height:39px;border-radius:14px}
  .quick-grid b{font-size:11px}
  .quick-grid button>span:last-child{display:none}
  .panel{border:0;border-radius:22px;padding:20px 17px;box-shadow:0 3px 14px #52374704}
  .dashboard-columns{gap:20px}
  .daily-care-grid{gap:14px}
  .daily-care-grid>div{gap:12px}
  .daily-care-grid b{font-size:19px}
  .daily-care-grid small{font-size:12px}
  .daily-care-grid .activity-icon{width:39px;height:39px;border-radius:13px}
  .timeline article{display:grid;grid-template-columns:35px minmax(0,1fr) 44px;align-items:start;column-gap:10px;row-gap:2px;padding:16px 0}
  .timeline .activity-icon{grid-column:1;grid-row:1/3;width:35px;height:35px;border-radius:12px;margin-top:2px}
  .timeline .activity-icon svg{width:20px;height:20px}
  .timeline-content{grid-column:2;grid-row:1/3;min-width:0}
  .timeline-content b{font-size:13px;line-height:1.5}
  .timeline-content p{font-size:12px;margin:3px 0 5px;line-height:1.65;color:#887581}
  .timeline-content small{font-size:10px;line-height:1.8;color:#9b8593}
  .timeline .icon-button,.timeline .delete{grid-column:3;min-width:44px;width:44px;min-height:44px;height:44px;background:transparent;font-size:18px;color:#ab8296;margin:0!important}
  .timeline .icon-button:first-of-type{grid-row:1}
  .timeline .delete{grid-row:2;color:#bba8b3}
  .gentle-note{display:none}
  .page-heading{margin:5px 0 22px}
  .page-heading h1{font-size:26px;line-height:1.25;letter-spacing:-.9px}
  .page-heading .eyebrow{font-size:9px;letter-spacing:1.1px;margin-bottom:8px;display:block}
  .page-heading p{font-size:13px;line-height:1.7}
  .explore-item{border:0;background:white;border-radius:19px;padding:16px;min-height:85px;box-shadow:0 3px 12px #52374704}
  .explore-item .activity-icon{width:43px;height:43px;border-radius:15px}
  .explore-item small{font-size:12px}
  .mobile-nav{left:0;right:0;bottom:0;background:#fffffff5;border:0;border-top:1px solid #f0e9ee;border-radius:23px 23px 0 0;padding:10px 9px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -5px 25px #55384b08;z-index:20}
  .mobile-nav .nav-item{padding:5px 0;min-height:55px;gap:5px;font-size:10px;border-radius:16px;color:#9b8794}
  .mobile-nav .nav-icon{height:26px;width:42px;border-radius:14px;transition:background .15s}
  .mobile-nav .nav-icon svg{width:23px;height:23px;stroke-width:1.7}
  .mobile-nav .nav-item.active{background:transparent;color:#a23d67;font-weight:700}
  .mobile-nav .nav-item.active .nav-icon{background:#f7e6ee}
  .mobile-nav .nav-item.active .nav-icon svg{stroke-width:2}
  .quick-add{right:20px;bottom:calc(92px + env(safe-area-inset-bottom));min-height:51px;padding:12px 20px;border-radius:18px;font-size:14px;background:#ac416b;box-shadow:0 6px 20px #91355535}
  .quick-add:active{transform:scale(.96)}
  .page-footer{display:none}
  dialog{background:#fff;border-radius:27px 27px 0 0}
  .modal-head:before{content:'';position:absolute;width:35px;height:4px;border-radius:3px;top:8px;left:calc(50% - 17px);background:#eadfe6}
  .modal-head{padding-top:28px}
  .modal-head h2{font-size:22px;letter-spacing:-.5px}
  #toast{bottom:calc(151px + env(safe-area-inset-bottom));border-radius:16px}
}
@media(min-width:601px){.sidebar .nav-icon svg{width:22px;height:22px}}
@media(display-mode:standalone){.topbar{padding-top:env(safe-area-inset-top)}body{overscroll-behavior-y:contain}}

.temporal-field{margin-bottom:17px;min-width:0}
.temporal-field>label{margin:0 0 6px}
.temporal-control{display:flex;align-items:stretch;position:relative;min-width:0}
.temporal-control input{padding-right:57px;min-width:0}
.temporal-open{position:absolute;right:4px;top:3px;bottom:3px;min-width:46px;border-radius:9px;display:flex;align-items:center;justify-content:center;color:var(--pink)}
.temporal-open:hover{background:var(--pink-light)}
.temporal-open svg{width:23px;height:23px}
.report-filters .temporal-field{flex:1;min-width:180px;margin:0}
#date-picker{width:min(420px,calc(100% - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:22px;border-radius:24px;overscroll-behavior:contain;scrollbar-gutter:auto}
#date-picker::backdrop{background:#38263270;backdrop-filter:blur(3px)}
.picker-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:18px}
.picker-heading h2{font-size:21px}
.picker-heading .eyebrow{font-size:9px}
.picker-heading .icon-button{min-width:44px;min-height:44px}
.calendar-toolbar{display:grid;grid-template-columns:36px minmax(0,1fr) 90px 36px;gap:4px;align-items:center;margin-bottom:12px}
.calendar-toolbar select{padding:8px 6px;font-size:14px;min-height:44px;border:0;background:#fcf5f8}
.calendar-toolbar .icon-button{min-width:36px;min-height:44px;font-size:28px;padding:0}
.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.calendar-weekdays{font-size:11px;color:var(--muted);margin-bottom:6px}
.calendar-weekdays span{padding:6px 0}
.calendar-day{min-height:44px;border-radius:12px;font-size:14px;padding:0;position:relative}
.calendar-day:hover{background:#fbecf3}
.calendar-day.today:after{content:'';position:absolute;width:4px;height:4px;bottom:5px;left:calc(50% - 2px);background:var(--pink);border-radius:50%}
.calendar-day.selected{background:var(--pink-dark);color:#fff;font-weight:700}
.calendar-day.selected:after{background:white}
.calendar-day:disabled{opacity:.25;cursor:default}
.picker-time{display:flex;gap:9px;align-items:center;padding-top:16px;margin-top:16px;border-top:1px solid var(--line)}
.picker-time>div{flex:1;min-width:0}
.picker-time b{font-size:13px}
.picker-time small{display:block;font-size:10px;color:var(--muted)}
.picker-time label{width:68px;margin:0;font-size:11px;color:var(--muted)}
.picker-time select{font-size:18px;min-height:48px;font-variant-numeric:tabular-nums;padding:8px}
.time-colon{font-size:21px;padding-top:18px}
.picker-preview{background:#fcf0f5;color:var(--pink-dark);border-radius:12px;margin:16px 0 0;padding:11px;text-align:center;font-weight:600;font-size:14px;font-variant-numeric:tabular-nums}
.picker-actions{display:flex;gap:10px;margin-top:15px}
.picker-actions button{flex:1;min-height:46px}
@media(max-width:600px){
 #date-picker{padding:18px;width:calc(100% - 24px);border-radius:24px;margin:auto;max-width:420px}
 .report-filters .temporal-field{min-width:100%}
 .calendar-toolbar{grid-template-columns:32px minmax(0,1fr) 78px 32px}
 .calendar-toolbar .icon-button{min-width:32px}
 .picker-heading h2{font-size:20px}
 .calendar-days{gap:2px}
}

/* Original MairaQu logo, shared by all menu screens. */
.brand-logo{display:block;width:58px;height:58px;object-fit:contain;flex:0 0 auto;margin-right:10px}
.app-brand .brand-logo{width:48px;height:48px;margin:0}
.auth-story .brand-logo{width:68px;height:68px}
.auth-logo-art{display:block;width:min(280px,100%);height:auto;object-fit:contain;margin:20px auto}
@media(min-width:601px) and (max-width:1000px){.sidebar .brand-logo{width:46px;height:46px;margin:0}}
@media(max-width:600px){.auth-story .brand-logo{width:54px;height:54px}.auth-logo-art{width:140px;margin:12px auto}.app-brand .brand-logo{width:48px;height:48px}}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--pink-dark);
  outline-offset: 2px;
}
.report-bar-row progress {
  width: 100%;
  height: 9px;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--pink-light);
  overflow: hidden;
}
.report-bar-row progress::-webkit-progress-bar { background: var(--pink-light) }
.report-bar-row progress::-webkit-progress-value { background: var(--pink-dark) }
.report-bar-row progress::-moz-progress-bar { background: var(--pink-dark) }

@media (max-width:600px) {
  :root { --muted:#71616b }
  html { scroll-padding-top:calc(76px + env(safe-area-inset-top)); scroll-padding-bottom:calc(145px + env(safe-area-inset-bottom)) }
  .auth-page { display:block; padding:0 }
  .auth-wrap { gap:14px; padding:calc(18px + env(safe-area-inset-top)) 16px 24px; margin:0 auto }
  .auth-story { padding:10px 4px; background:none; box-shadow:none; border:0 }
  .auth-story > :not(.brand) { display:none }
  .auth-story .brand { justify-content:flex-start; margin:0; font-size:25px }
  .auth-card { padding:24px 18px; min-width:0 }
  .auth-card h2 { margin-top:0 }
  .auth-card :is(input,button), .page-heading > button,
  .reminder :is(.check,.icon-button), .modal-head .icon-button,
  .recipe-actions button, .profile-row button, .avatar { min-height:44px }
  .reminder :is(.check,.icon-button), .modal-head .icon-button, .avatar { min-width:44px }
  .auth-card input, .baby-select select, .filterbar :is(input,select),
  .report-filters select, #modal-form :is(input,textarea,select) { font-size:16px }
  .auth-card .password-toggle { text-align:left }
  .quick-record-grid { margin:0 0 16px }
  .quick-record-grid button > b:last-child { display:block; font-size:12px }
  .mobile-nav .nav-item { color:#71616b }
  .baby-identity h2, .timeline-content p, .reminder b, .profile-row b, .recipe-card :is(h3,p) { overflow-wrap:anywhere }
  .timeline-content small { font-size:12px; color:#71616b }
  .baby-select select { max-width:100%; min-height:44px }
  .quick-add { right:max(14px,env(safe-area-inset-right)); bottom:calc(84px + env(safe-area-inset-bottom)) }
  .quick-add:focus-visible { outline-offset:3px }
  #modal-form { padding-bottom:env(safe-area-inset-bottom) }
}

.measurement-field{margin-bottom:17px;min-width:0}
.measurement-field>label{margin:0 0 6px}
.measurement-control{display:flex;gap:8px}
.measurement-control input{flex:1;min-width:0}
.measurement-control button{flex:0 0 48px;min-height:44px;padding:0;font-size:22px}