/* Calm, legible family dashboard. Category colours remain in the activity icons. */
body{background:#f7f6f2;color:#26332d}.shell{max-width:1160px}.topbar{padding:20px 0;margin-bottom:0;border-bottom:1px solid #e3e7df}.brand-logo{max-width:230px;height:auto}.brand small{font-size:11px}.home-heading{margin:32px 0 20px}.home-heading h1{font-size:38px;line-height:1.1;letter-spacing:-1px;color:#263c32}.home-heading p{font-size:14px;color:#657169;line-height:1.5}.home-heading .eyebrow{font-size:10px;letter-spacing:2px;color:#778579;margin-bottom:10px}.home-select{background:#fff;border:1px solid #e1e6df;border-radius:18px;padding:13px 18px;box-shadow:0 3px 10px #26332d03;max-width:100%;font-size:12px;color:#67766a;gap:16px}.home-select:before{content:'♡';display:grid;place-items:center;background:#e8eee3;color:#53674b;min-width:42px;height:42px;border-radius:14px;font-size:25px}.home-select select{max-width:none;padding:10px 28px 10px 6px;border:0;background:#fff;color:#263c32;font-size:16px;font-weight:700}.home-quick{background:#fff;border:1px solid #e1e6df;border-radius:24px;padding:22px;margin-top:22px;box-shadow:0 5px 20px #293d2904}.home-quick h2{margin:0 0 18px;font:700 17px/1.3 inherit;letter-spacing:-.3px}.home-quick h2 small{display:block;font:400 12px/1.6 system-ui;color:#728075;margin-top:5px}.care-action{background:#fff;border:1px solid #e3e8e1;border-radius:17px;color:#26332d;min-height:116px;gap:8px;padding:16px 8px;box-shadow:0 2px 6px #243b2c03}.care-action .care-action-icon{width:48px;height:48px;border-radius:16px;background:var(--care-fill);color:#253b39;box-shadow:inset 0 0 0 1px #00000004}.care-action .care-action-icon svg{width:27px;height:27px}.care-action strong{font-size:13px;font-weight:650}.care-action>span:last-child{font-size:10px;color:#718075;font-weight:500}.care-action:hover:enabled{border-color:#aebfae;box-shadow:0 5px 15px #263c3210;transform:translateY(-2px)}.care-quick{gap:12px}.home-quick .care-quick{margin:0}.home-reminder{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:#edf0e7;border:1px solid #dde4d3;border-radius:18px;padding:18px 20px;margin:18px 0;color:#31432c;font:inherit}.home-reminder .reminder-icon{width:40px;height:40px;border-radius:13px;background:#fff9;display:grid;place-items:center;flex-shrink:0}.home-reminder svg{width:22px;height:22px}.home-reminder .reminder-copy{flex:1}.home-reminder strong{display:block;font-size:15px}.home-reminder small{display:block;font-size:12px;line-height:1.5;color:#64715b;margin-top:4px}.home-reminder .reminder-arrow{font-size:23px}.home-shortcuts{gap:12px;margin:22px 0}.home-feature{background:#fff;border:1px solid #e1e6df;min-height:150px;border-radius:19px;padding:18px;gap:10px;box-shadow:0 3px 12px #26332d03}.home-feature>span{display:grid;background:var(--feature-color);width:40px;height:40px;border-radius:13px}.home-feature svg{width:23px;height:23px}.home-feature strong{font-size:16px;font-weight:650;letter-spacing:-.2px}.home-feature small{font-size:12px;color:#6d786e}.home-care{--feature-color:#e6b9c9}.home-sounds{--feature-color:#d3c8e9}.home-books{--feature-color:#bcdcca}.home-invite{--feature-color:#f2dcad}.home-children-heading{margin-top:34px}.home-children-heading h2{font-size:23px}.home-child{border-radius:20px;box-shadow:none;min-height:190px;padding:22px;background:#fff}.home-child:after{display:none}.home-child h3{font-size:26px}.home-child .eyebrow{font-size:9px;color:#6d7b64}.home-child .age{font-size:12px}.home-child .btn{font-size:12px;border-radius:11px}.home-secondary .btn{font-size:12px}.care-shell{background:#fff;border:1px solid #e1e6df;box-shadow:0 8px 30px #26332d04}.care-heading h2{color:#263c32}.care-jump button{border-color:#e0e6dc;background:#f7f8f4;border-radius:11px}.care-last{background:#f8f9f5;border-color:#e5e9e0}.care-journal{box-shadow:none}.reminder-options{display:grid;gap:12px;margin-top:18px}.reminder-options a{display:block;text-align:center;text-decoration:none}.reminder-help{font-size:13px;line-height:1.6;color:#606d60;background:#f2f5ed;padding:14px 16px;border-radius:12px}.account-menu{position:relative}.account-menu summary{list-style:none;border:1px solid #dfe5dc;border-radius:11px;background:#fff;padding:10px 14px;cursor:pointer;font-size:12px;font-weight:650}.account-menu summary::-webkit-details-marker{display:none}.account-panel{position:absolute;right:0;top:46px;z-index:35;min-width:220px;padding:14px;background:#fff;border:1px solid #dfe5dc;border-radius:15px;box-shadow:0 12px 35px #26332d20;display:grid;gap:10px}.account-panel .tiny{display:block;overflow-wrap:anywhere;font-size:11px}.account-panel .btn{width:100%}.top-actions{gap:8px}.header-tools{align-items:center}.topbar .btn{border-radius:11px}.footer{font-size:11px;color:#778073}
@media(max-width:700px){.shell{padding:0 16px 50px}.topbar{padding:15px 0;gap:10px;flex-wrap:nowrap;align-items:center}.brand-logo{width:160px;max-width:100%}.brand small{display:none}.header-tools{gap:6px;flex-wrap:nowrap}.topbar .sleep-launch{display:none}.top-actions .tiny{display:none}.account-panel .tiny{display:block}.topbar #topHome{padding:9px;font-size:11px}.account-menu summary{padding:9px 10px}.home-heading{margin:26px 0 18px}.home-heading h1{font-size:32px}.home-heading .eyebrow{display:block;font-size:9px;margin-bottom:8px}.home-heading p{font-size:13px;max-width:280px;margin-top:9px}.home-select{padding:10px 12px;gap:8px;font-size:11px;border-radius:15px;margin:16px 0}.home-select:before{min-width:34px;height:34px;border-radius:11px;font-size:22px}.home-select select{font-size:14px;padding-right:20px;min-height:42px}.home-quick{padding:17px 12px;margin-top:16px;border-radius:20px}.home-quick h2{font-family:inherit;font-size:16px;margin:0 4px 15px}.home-quick .care-quick{gap:8px}.home-quick .care-action,.care-action{min-height:106px;padding:12px 3px 10px;gap:6px;border-radius:13px}.care-action .care-action-icon,.home-quick .care-action .care-action-icon{width:42px;height:42px;border-radius:13px;background:var(--care-fill)}.care-action .care-action-icon svg{width:25px;height:25px}.home-quick .care-action strong{font-size:12px}.home-reminder{padding:15px 14px;margin:14px 0;border-radius:16px;gap:11px}.home-reminder strong{font-size:14px}.home-reminder small{font-size:11px}.home-shortcuts{gap:10px;margin:18px 0}.home-feature{padding:16px 14px;min-height:146px;gap:9px;border-radius:16px}.home-feature>span{display:grid;width:35px;height:35px;border-radius:11px}.home-feature strong{font-size:14px}.home-feature small{font-size:11px;line-height:1.5}.home-child{padding:20px;min-height:175px}.care-shell{padding:16px 12px}.account-panel{max-width:calc(100vw - 32px)}.care-heading h2{font-size:29px}}
@media(prefers-reduced-motion:reduce){.care-action{transition:none}.care-action:hover:enabled{transform:none}}

.home-care-links{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.home-care-links button{display:flex;justify-content:space-between;align-items:center;gap:8px;border:1px solid #e1e6df;border-radius:11px;background:#f5f7f1;color:#354a35;padding:13px 12px;font:600 12px system-ui;min-height:46px}.home-care-links button:hover{background:#eaf0e3}.password-wrap{display:flex;border:1px solid #d8dfd2;border-radius:12px;background:white;overflow:hidden}.password-wrap input{border:0!important;flex:1;min-width:0;box-shadow:none!important}.password-wrap button{border:0;background:#f2f5ed;padding:0 15px;font-size:12px;font-weight:700;color:#40523b;min-width:62px}.password-wrap:focus-within{outline:2px solid #637859;outline-offset:2px}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #637859;outline-offset:3px}.auth-section{scroll-margin-top:20px}.landing-hero{padding-top:32px}.landing-copy h1{font-size:clamp(42px,5vw,64px)}.auth-heading h2{font-size:32px}.home-heading h1{font-size:34px}.modal-card{overscroll-behavior:contain}.account-panel button{min-height:44px}
@media(max-width:700px){.landing-hero{padding-top:24px;gap:24px}.landing-copy h1{font-size:43px}.landing-copy .lead{font-size:16px;line-height:1.6}.hero-visual{max-height:280px;min-height:220px}.hero-photo{height:280px}.auth-section{margin-top:28px;padding:24px 0}.auth-heading h2{font-size:27px}.auth-card{padding:22px 18px}.home-heading{margin-top:22px}.home-heading h1{font-size:29px}.home-care-links{gap:6px}.home-care-links button{padding:12px 8px;font-size:11px}.field input,.field select,.field textarea{font-size:16px}.modal-card{max-height:calc(100dvh - 28px);padding:22px 18px}.home-select:before{display:none}}

.quick-record-details{margin:12px 0;border:1px solid #dfe5db;border-radius:12px;background:#f8faf5;padding:0 13px}.quick-record-details>summary{cursor:pointer;padding:15px 0;font-size:13px;font-weight:600;color:#4c6048;min-height:48px}.quick-record-details>.field{margin-top:10px}.quick-record-choices{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.quick-record-choices button{flex:1;min-width:85px;min-height:48px;border:1px solid #cad5c4;border-radius:12px;background:white;color:#344c30;font-size:14px;font-weight:600;padding:10px}.quick-record-choices button[aria-pressed=true]{background:#e8efdf;border:2px solid #617750;padding:9px}.amount-presets{display:grid;grid-template-columns:repeat(3,1fr)}.amount-presets button{min-width:0}.quick-record-save{min-height:54px;margin-top:14px;font-size:16px;position:sticky;bottom:0;box-shadow:0 -8px 12px #fffdf9}.care-form-head .eyebrow{display:none}.care-form-head{margin-bottom:12px}.care-form-head>div{display:flex;align-items:center;gap:12px}.care-form-head .care-action-icon{margin:0}.care-form-head h2{margin:0}.care-nappy-types .care-choice-chip{min-height:60px;font-size:15px}

.simple-home{max-width:680px;margin:28px auto}.simple-home-title h1{font-size:32px;color:#263c32}.simple-home-title p{font-size:13px;color:#697769;margin:7px 0 18px}.simple-main-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 10px}.simple-main-actions .care-action{min-height:125px}.simple-main-actions .care-action strong{font-size:17px}.simple-more-activities{display:flex;justify-content:space-between;align-items:center;width:100%;padding:15px 18px;border:1px solid #dce4d7;background:#edf2e7;border-radius:13px;color:#3b5135;font-weight:650;min-height:50px}.home-recent{background:#fff;border:1px solid #e1e6df;border-radius:18px;padding:18px;margin-top:20px}.recent-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.recent-title h2{font-family:inherit;font-size:14px}.recent-title button{border:0;background:transparent;color:#576d4e;font-size:12px;min-height:44px;padding:8px}.home-recent-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:12px 0;border-top:1px solid #edf0e9;font-size:13px}.home-recent-row>span{flex:1;color:#65715f}.home-recent-row strong{color:#2e4230;font-size:13px}.home-recent-row small{width:100%;text-align:right;color:#65715f}.home-recent .btn{margin-top:12px}.home-more-menu{margin-top:18px;border:1px solid #dce3d8;border-radius:15px;background:white}.home-more-menu summary{display:flex;justify-content:space-between;cursor:pointer;list-style:none;padding:18px;font-size:14px;font-weight:650;color:#344b30;min-height:54px}.home-more-menu summary::-webkit-details-marker{display:none}.home-more-menu nav{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 12px 12px}.home-more-menu nav button{background:#f6f8f2;border:1px solid #e3e8dd;border-radius:10px;color:#344a30;min-height:52px;font-size:12px;padding:10px}.simple-home .home-select{margin-top:12px}.simple-main-actions .care-action:disabled,.simple-more-activities:disabled{opacity:.6;cursor:default}@media(max-width:700px){.simple-home{margin:20px auto}.simple-main-actions{gap:8px}.simple-main-actions .care-action{min-height:112px}.simple-main-actions .care-action strong{font-size:15px}.home-recent{padding:12px 16px;margin-top:16px}.simple-home-title h1{font-size:29px}.home-recent-row{padding:10px 0}}

.app-navigation{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);width:min(560px,calc(100% - 32px));display:grid;grid-template-columns:repeat(4,1fr);padding:7px;background:#fffefbea;border:1px solid #dce5d7;border-radius:22px;box-shadow:0 8px 32px #243b2c20;backdrop-filter:blur(16px);z-index:45}.app-navigation button{border:0;border-radius:15px;background:transparent;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-height:57px;color:#65715e;font:600 11px system-ui}.app-navigation button svg{width:23px;height:23px}.app-navigation button[aria-current=page]{background:#e9efdf;color:#30482b}.has-app-navigation .shell{padding-bottom:125px}.main-menu-grid{display:grid;gap:10px;margin-top:20px}.main-menu-grid button{display:flex;align-items:center;text-align:left;gap:16px;padding:16px;border:1px solid #dfe6d7;border-radius:15px;background:#fafbf7;color:#30452c}.main-menu-grid svg{width:35px;height:35px;flex-shrink:0}.main-menu-grid button>span{font-weight:650;font-size:15px}.main-menu-grid small{display:block;font-size:12px;color:#6b7663;font-weight:400;margin-top:5px}.simple-main-actions .care-action{border-radius:22px;box-shadow:0 5px 16px #303e2407;min-height:148px;background:linear-gradient(160deg,#fff,var(--care-bg));padding:14px 8px}.simple-main-actions .care-action .care-action-icon{width:65px;height:65px;background:transparent;border-radius:20px}.simple-main-actions .care-action .care-action-icon svg{width:62px;height:62px}.simple-main-actions .care-action strong{font-size:17px}.simple-main-actions .care-action>span:last-child{color:#5d6956;font-size:11px}.care-action .care-action-icon .care-illustration{width:39px;height:39px}.home-recent{box-shadow:0 5px 18px #303e2404}.simple-home-title p{font-size:13px}.care-mini-icon .care-illustration,.care-entry-icon .care-illustration{width:30px;height:30px}@media(max-width:700px){.app-navigation{bottom:0;width:100%;border-radius:20px 20px 0 0;padding:7px 10px max(8px,env(safe-area-inset-bottom));border-bottom:0}.app-navigation button{min-height:57px}.simple-main-actions{gap:9px}.simple-main-actions .care-action{min-height:145px;border-radius:19px}.simple-main-actions .care-action .care-action-icon{width:59px;height:59px}.simple-main-actions .care-action .care-action-icon svg{width:56px;height:56px}.has-app-navigation .shell{padding-bottom:115px}.has-app-navigation #topHome{display:none}.has-app-navigation .topbar{justify-content:space-between}}@media print{.app-navigation{display:none!important}}

.has-app-navigation .simple-home .home-more-menu{display:none}.has-app-navigation .simple-home #homeCare{display:none}.has-app-navigation .simple-home .home-care-links{grid-template-columns:1fr}.has-app-navigation .simple-home #homeCharts{justify-content:center;gap:8px}.main-menu-grid button:focus-visible{outline:3px solid #637859;outline-offset:3px}

/* Activity swatches use the same pastel fill in buttons, cards and charts. */
.care-mini-icon,.care-entry-icon{background:var(--care-fill);color:var(--care-color)}
.care-last{border-top-color:var(--care-fill)}
.care-running{background:var(--care-bg);border-color:var(--care-fill)}
.care-running strong{color:var(--care-color)}
.care-running .care-stop{background:var(--care-fill);color:#26332d}
.simple-main-actions .care-action .care-action-icon{background:var(--care-fill)}
.pattern-event{opacity:1;box-shadow:inset 0 0 0 1px #26332d30}
.pattern-legend i,.pattern-table i{box-shadow:inset 0 0 0 1px #26332d30}

/* Child portraits and a shared, legible activity column. */
.child-identity{display:flex;align-items:center;gap:18px;min-width:0}
.child-identity>div{min-width:0}
.child-portrait{position:relative;display:grid;place-items:center;flex:none;width:88px;height:88px;border-radius:50%;border:2px solid #fff;background:#dfe7d5;color:#35442e;overflow:hidden;padding:0;box-shadow:0 0 0 1px #53644235}
button.child-portrait{cursor:pointer}
.child-portrait img{display:block;width:100%;height:100%;object-fit:cover}
.portrait-initial{font-size:34px;font-weight:600}
.portrait-label{position:absolute;bottom:0;left:0;right:0;background:#34442e;color:white;font-size:10px;padding:5px 1px;text-align:center}
.child-portrait:focus-visible{outline:3px solid #536442;outline-offset:4px}
.portrait-preview{display:flex;justify-content:center;margin:20px 0}
.portrait-preview .child-portrait{width:144px;height:144px}
.portrait-picker{display:block;position:relative;text-align:center;overflow:hidden;cursor:pointer}
.portrait-picker input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.portrait-picker:focus-within{outline:3px solid #536442;outline-offset:2px}
#childPhotoForm>.btn,.profile-photo-edit{margin-bottom:10px}
.pattern-event{cursor:pointer}
.pattern-event:focus>span,.pattern-event:hover>span,.pattern-single .pattern-event:focus>span,.pattern-single .pattern-event:hover>span{display:block;position:absolute;left:0;top:100%;min-width:130px;max-width:220px;background:#fffef9;color:#26332d;padding:6px 8px;white-space:normal;font:12px/1.4 system-ui;border:1px solid #c7cebf;border-radius:8px;z-index:5;box-shadow:0 3px 12px #0002}
.pattern-event:hover,.pattern-event:focus{z-index:5}
.pattern-column:last-child .pattern-event>span{left:auto;right:0}
@media(max-width:700px){.child-identity{gap:12px}.child-portrait{width:72px;height:72px}.child-identity h1{font-size:28px}.portrait-label{font-size:9px}}

/* Photo controls sit below the image, never across it. */
.photo-watermark{display:none!important}
.portrait-control{display:flex;flex-direction:column;align-items:center;gap:6px;border:0;padding:0;background:none;color:#35442e;cursor:pointer;flex:none}
.portrait-control .portrait-label{position:static;background:none;color:inherit;font-size:11px;font-weight:700;padding:0}
.portrait-control:focus-visible{outline:3px solid #536442;outline-offset:4px;border-radius:12px}
.photo-download-status{margin:9px 0 14px;color:#555f50}
[data-download-photo]{display:inline-flex;margin:9px 0 14px;min-height:44px;align-items:center}
.browser-reminder-row{padding:16px 0;border-top:1px solid #deddd3}.browser-reminder-row p{margin:6px 0;overflow-wrap:anywhere}#browserReminders [hidden]{display:none!important}#pushReminderForm input,#pushReminderForm select{font:inherit}#browserReminders details{line-height:1.55}
/* Compact memory albums: open only the group you want and page through its media. */
.memory-card.memory-card-compact{grid-template-columns:minmax(0,1fr)}
.memory-gallery{min-width:0;border-top:1px solid #e2dfd4;background:#faf9f4}
.memory-gallery summary{display:flex;align-items:center;gap:10px;min-height:56px;padding:14px 20px;cursor:pointer;list-style:none;font-weight:700;color:#35442e}
.memory-gallery summary::-webkit-details-marker{display:none}
.memory-gallery summary:focus-visible{outline:3px solid #637859;outline-offset:-3px}
.gallery-symbol{font-size:24px;font-weight:400;line-height:1}.gallery-count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:28px;padding:2px 8px;border-radius:999px;background:#e6ecdc;font-size:13px}
.gallery-chevron{margin-left:auto;font-size:22px;transition:transform .15s}.memory-gallery[open] .gallery-chevron{transform:rotate(180deg)}
.memory-gallery-content{border-top:1px solid #e2dfd4;padding:12px;background:#eee9df}
.memory-gallery-content img,.memory-gallery-content video{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;object-position:center center}
.gallery-pager,.timeline-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.gallery-pager .btn,.timeline-pager .btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:6px}.gallery-pager button:disabled,.timeline-pager button:disabled{opacity:.35;cursor:default}.gallery-page-count{font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
.timeline-pager{margin:12px 0 18px;padding:10px 0}.timeline-pager>span{font-size:13px;white-space:nowrap}.memory-gallery-content figure{margin:0}
@media(max-width:420px){.memory-gallery summary{padding:12px 16px}.gallery-pager .btn,.timeline-pager .btn{padding:8px 10px;font-size:13px}}
.remove-selected-file svg{width:18px;height:18px;pointer-events:none}.remove-selected-file{display:inline-flex;align-items:center;gap:5px}.memory-attachment-manager{margin:18px 0;padding:14px;border:1px solid #dddccd;border-radius:16px;background:#f7f7f0}.memory-attachment-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #e2dfd4}.memory-attachment-row:last-child{border-bottom:0}.memory-attachment-row img{display:block;width:68px;height:68px;object-fit:contain;background:#ece9df;border-radius:8px;flex:none}.memory-attachment-row>span{min-width:0;overflow-wrap:anywhere;flex:1;font-size:14px}.memory-attachment-row .btn{min-height:44px;flex:none}

.memory-attachment-row{flex-wrap:wrap}.memory-attachment-row>span{min-width:36px}

.attachment-order-buttons{display:flex;gap:6px;margin-left:auto}.attachment-order-buttons .btn{min-width:44px;min-height:44px;font:22px system-ui;padding:4px 10px}

.care-arrange-toolbar{display:flex;justify-content:flex-end;margin:0 0 12px}.care-arrange-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid var(--line,#e2dfd5)}.care-arrange-row label{display:flex;align-items:center;gap:10px;min-width:0}.care-arrange-row input{width:22px;height:22px;flex-shrink:0}.care-arrange-row>div{display:flex;gap:4px}.care-arrange-row button{min-width:44px;min-height:44px}.care-arrange-row .care-mini-icon{width:36px;height:36px;flex-shrink:0}
.home-buttons-help{font-size:14px;line-height:1.6;color:#596650}.home-button-copy{display:flex;align-items:center;gap:9px;min-width:0}.home-button-copy strong{font-size:14px;overflow-wrap:anywhere}.home-button-number{font-size:12px;color:#738068;min-width:10px}.home-button-remove{background:#f0f2eb;font-size:24px;line-height:1;color:#52613f}.home-button-actions{display:flex;gap:10px;margin:16px 0}.home-button-actions button{min-height:44px}.home-button-actions #saveHomeButtons{flex:1}.home-button-choice-title{font:700 16px system-ui,sans-serif;margin:24px 0 14px}.home-button-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.home-button-choices .care-action{min-height:108px}.home-button-choices .care-action strong{overflow-wrap:anywhere}.home-button-rows:empty{display:none}
