:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#20232b;background:#f2f2f7;font-size:16px;line-height:1.55;font-synthesis:none;--blue:#086cdb;--muted:#727681;--line:#e9eaf0}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #75b2fa;outline-offset:3px}button{border:0;background:none}input,textarea,select{border:1px solid #daddE5;background:#fff;border-radius:12px;padding:12px;color:inherit;max-width:100%}input:focus,textarea:focus,select:focus{outline:2px solid #8fc1fa;border-color:transparent}input[type=checkbox]{width:20px;height:20px;accent-color:var(--blue);flex:none}textarea{resize:vertical;width:100%}label{display:block}label>input:not([type=checkbox]){display:block;width:100%;margin-top:8px}h1,h2,h3,p{margin-top:0}h1{font-size:32px;line-height:1.25;letter-spacing:-1px;margin-bottom:0}h2{font-size:21px;letter-spacing:-.4px;margin-bottom:8px}h3{font-size:17px}p{margin-bottom:14px}small,.fine{font-size:13px;color:var(--muted)}a{color:var(--blue);text-decoration:none}.muted{color:var(--muted);font-size:15px;line-height:1.7}.eyebrow{color:var(--muted);font-size:14px;margin-bottom:10px}.layout{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:#fafafd;border-right:1px solid var(--line);padding:38px 22px;display:flex;flex-direction:column}.brand{font-size:24px;display:flex;align-items:center;gap:12px;font-weight:650}.brand-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:var(--blue);color:#fff;font-size:29px;line-height:1}.side-intro{margin:14px 0 38px 3px;font-size:14px}.nav-item{width:100%;text-align:left;display:flex;gap:14px;align-items:center;border-radius:12px;padding:13px 17px;color:#626875;margin-bottom:8px;font-weight:550}.nav-item>span{font-size:24px;line-height:1}.nav-item.active{background:#e6effd;color:var(--blue)}.side-bottom{margin-top:auto;display:flex;align-items:center;gap:12px;font-size:14px}.side-bottom small{display:block}.avatar{display:grid;place-items:center;flex:none;width:39px;height:39px;border-radius:50%;background:#e2eafa;color:#4b6e9f;font-size:17px}.avatar.large{width:58px;height:58px;font-size:23px}.workspace{max-width:1180px;margin-left:232px;padding:52px 48px 48px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:34px}.header-avatar{display:none}.card{background:#fff;border-radius:22px;border:1px solid #e9eaf0;box-shadow:0 3px 12px #20284503}.today-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:20px}.main-card{padding:30px}.section-icon{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;color:var(--blue);background:#ecf4ff;font-size:27px;flex:none;margin-bottom:22px}.main-card h2{font-size:24px}.mood-preview{display:flex;justify-content:space-between;align-items:center;padding:23px 5px 25px;color:#7b8090;font-size:14px}.mood-preview i{font-size:25px;font-style:normal;color:#c4cddd}.primary{background:var(--blue);color:#fff;border-radius:13px;padding:13px 19px;font-weight:600;min-height:49px}.primary:hover{background:#005dc5}.primary>span{float:right}.wide{width:100%}.main-card .fine{text-align:center;margin:13px 0 0}.secondary-stack{display:flex;flex-direction:column;gap:20px}.action-card{width:100%;padding:25px;text-align:left;display:flex;gap:16px;align-items:center;flex:1}.action-card .section-icon{margin:0}.action-card h2{font-size:19px}.action-card p{margin:0;font-size:14px}.lavender{color:#7161b6;background:#f0edfa}.pause-card{background:#f7fbff;border-color:#e1ebf7}.chevron{font-size:27px;color:#adb3bf;margin-left:auto}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:32px 0 15px}.section-head h2{font-size:19px;margin:0}.text-button{color:var(--blue);padding:8px 0;font-size:15px;min-height:42px}.record-list{overflow:hidden}.empty{padding:38px 24px;text-align:center;color:var(--muted)}.empty>span{display:block;font-size:29px;color:#a4b2c9;margin-bottom:12px}.empty h3{color:#525965;margin-bottom:8px}.empty p{font-size:14px;margin:0}.page-note{text-align:center;color:var(--muted);font-size:13px;margin:24px 0}.record-card{display:flex;align-items:center;gap:16px;padding:20px 23px;text-align:left;width:100%;border-bottom:1px solid var(--line)}.record-card:last-child{border-bottom:0}.record-card:hover{background:#fafbff}.record-icon{width:42px;height:42px;border-radius:13px;background:#ecf4ff;color:var(--blue);display:grid;place-items:center;font-size:24px;flex:none}.record-icon.interaction{background:#f0edfa;color:#7161b6}.record-content{flex:1;min-width:0}.record-top{display:flex;justify-content:space-between;gap:10px}.record-summary{display:block;font-size:14px;color:#676e7b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:4px 0}.record-content>small{font-size:12px}.bottom-nav{display:none}.auth{width:min(440px,100%);margin:60px auto;padding:22px}.auth>.brand{justify-content:center;margin-bottom:32px}.auth-card{padding:28px}.auth-card h1{font-size:26px;margin-bottom:14px}.auth-card label{margin-top:18px;font-size:14px}.auth-card .fine{text-align:center;margin:24px 0 0}.auth-footer{text-align:center;color:var(--muted);font-size:13px;margin-top:26px}.form-error{color:#b63e43;font-size:14px;margin:14px 0}.history-controls{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:22px}.segmented{background:#e6e7ed;padding:4px;border-radius:12px;display:flex}.segmented button{padding:8px 16px;font-size:14px;border-radius:9px}.segmented .selected{background:#fff;box-shadow:0 2px 5px #252d3910}.history-controls select{font-size:14px;background:transparent}.soft-button{padding:10px 17px;background:#eaf2ff;border-radius:11px;color:var(--blue);font-size:15px;min-height:44px}.trend{padding:20px 24px;margin-bottom:20px}.trend .section-head{margin:0 0 12px}.trend-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px;text-align:left;white-space:nowrap}th{font-size:13px;color:var(--muted);font-weight:400}td,th{padding:10px 12px 10px 0;border-bottom:1px solid var(--line)}tbody tr:last-child td{border:0}.profile{padding:24px;display:flex;align-items:center;gap:17px;margin-bottom:20px}.profile h2,.profile p{margin:0}.private-badge{font-size:12px;color:#758197;background:#f2f5fa;padding:4px 9px;border-radius:8px;white-space:nowrap}.profile .private-badge{margin-left:auto}.settings{padding:25px;margin-bottom:18px}.settings h2{font-size:18px}.settings-row{display:flex;width:100%;justify-content:space-between;text-align:left;color:var(--blue);padding:10px 0}.settings a{font-size:14px}.settings .fine{margin:14px 0 0}dialog{border:0;border-radius:24px;padding:0;width:min(600px,calc(100% - 32px));max-height:90dvh;box-shadow:0 30px 100px #202b4b30;color:inherit;background:white}dialog::backdrop{background:#19233c55;backdrop-filter:blur(5px)}.sheet{display:flex;flex-direction:column;max-height:90dvh}.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:12px 24px;border-bottom:1px solid var(--line);gap:12px}.sheet-head>span{font-size:13px;color:var(--muted)}.sheet-body{padding:24px;overflow-y:auto;overscroll-behavior:contain}.sheet-footer{padding:16px 24px;border-top:1px solid var(--line);background:#fff}.date-row{display:flex;gap:14px;margin-bottom:24px}.date-row label{flex:1;min-width:0;font-size:13px;color:var(--muted)}.date-row input,.date-row select{width:100%;margin-top:7px;font-size:14px;padding:10px}.field{border:0;padding:0;margin:0 0 25px;min-width:0}.field legend{font-weight:550;margin-bottom:12px;padding:0}.field textarea{display:block;margin-top:12px;font-weight:400}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{font-size:14px;padding:10px 13px;min-height:44px;background:#f2f3f7;border:1px solid transparent;border-radius:11px;color:#626978}.chip.chosen{color:#075fca;background:#eaf3ff;border-color:#a7caf8}.hours{display:flex;gap:12px;align-items:center;margin-top:12px;color:var(--muted);font-weight:400}.hours input{width:140px}.field:has(.hours){font-weight:550}details{border-top:1px solid var(--line);padding-top:16px;margin-bottom:14px}summary{cursor:pointer;color:var(--blue);min-height:44px}summary small{margin-left:8px}details[open]>summary{margin-bottom:14px}.values{margin:0}.values>div{padding:15px 0;border-bottom:1px solid var(--line)}dt{font-size:13px;color:var(--muted);margin-bottom:5px}dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.detail-actions{display:flex;gap:14px;margin-top:24px;align-items:center}.danger{color:#bd3c44}.danger-button{background:#bd3c44;color:#fff;border-radius:12px;padding:12px 18px}.check-row{display:flex;align-items:flex-start;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.check-row strong{font-weight:500;font-size:15px}.check-row small{display:block;margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere}.notice{padding:14px;background:#f2f6fc;color:#64748b;border-radius:12px;font-size:14px}.pause-sheet .sheet-body{text-align:center;padding:30px}.pause-symbol{width:72px;height:72px;border-radius:50%;background:#eaf3ff;color:var(--blue);display:grid;place-items:center;font-size:32px;margin:0 auto 24px}.pause-copy{font-size:20px;line-height:1.9;margin:24px 0;white-space:pre-wrap}.pause-sheet .primary{margin-top:20px}#toast{position:fixed;left:50%;bottom:35px;transform:translate(-50%,15px);opacity:0;pointer-events:none;z-index:10;padding:12px 20px;border-radius:14px;background:#253047;color:#fff;max-width:90%;width:max-content;font-size:14px;transition:.2s}#toast.visible{opacity:1;transform:translate(-50%,0)}.loading{text-align:center;margin-top:25vh;color:var(--muted)}
@media(min-width:1450px){.workspace{margin-right:auto;margin-left:max(232px,calc((100vw - 1050px)/2));max-width:1100px}}
@media(max-width:1050px){.sidebar{width:195px;padding:30px 16px}.workspace{margin-left:195px;padding:35px 26px}.today-grid{grid-template-columns:1fr}.secondary-stack{flex-direction:row}.action-card{padding:20px;gap:12px}.action-card .section-icon{display:none}.action-card h2{font-size:17px}.page-head h1{font-size:27px}}
@media(max-width:700px){.sidebar{display:none}.workspace{margin:0;padding:calc(30px + env(safe-area-inset-top)) 20px 110px}.page-head{margin-bottom:26px;gap:12px}.page-head h1{font-size:27px;letter-spacing:-.7px}.page-head .eyebrow{font-size:13px}.header-avatar{display:grid;width:35px;height:35px;font-size:15px}.today-grid{gap:15px}.main-card{padding:24px}.main-card h2{font-size:23px}.section-icon{margin-bottom:20px}.secondary-stack{gap:12px}.action-card{display:block;padding:20px 16px}.action-card h2{font-size:17px}.action-card p{font-size:13px}.action-card .section-icon{display:grid;width:35px;height:35px;border-radius:11px;font-size:22px;margin-bottom:14px}.action-card .chevron{display:none}.section-head{margin-top:27px}.section-head h2{font-size:17px}.record-card{padding:18px 16px;gap:12px}.record-icon{width:36px;height:36px;font-size:22px}.record-top strong{font-size:15px}.record-top small{font-size:12px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#fafafaeF;backdrop-filter:blur(18px);border-top:1px solid #e1e3e9;display:flex;padding:8px 20px calc(8px + env(safe-area-inset-bottom));z-index:2}.bottom-nav .nav-item{display:flex;flex-direction:column;gap:2px;padding:4px 10px;margin:0;font-size:12px;background:none;min-height:50px}.bottom-nav .nav-item>span{font-size:26px}.bottom-nav .active{color:var(--blue)}.auth{margin:28px auto;padding:18px}.auth-card{padding:24px}.history-controls{gap:8px}.segmented button{padding:8px 11px}.history-controls select{padding:10px 7px;max-width:110px}.trend{padding:17px}.trend .section-head{align-items:flex-start;flex-direction:column;gap:5px}.settings{padding:22px}.profile{padding:20px}.profile .private-badge{display:none}dialog{width:100%;max-width:100%;margin:auto 0 0;border-radius:24px 24px 0 0;max-height:94dvh}.sheet{max-height:94dvh}.sheet-body{padding:22px 20px}.sheet-head{padding:12px 20px}.sheet-footer{padding:14px 20px calc(14px + env(safe-area-inset-bottom))}.date-row{gap:9px}.date-row label:first-child{flex:.85}.chip{padding:10px 12px}.page-note{font-size:12px}.empty{padding:32px 20px}#toast{bottom:95px}.pause-copy{font-size:19px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.home-chart{padding:26px 30px}.chart-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.chart-heading .eyebrow{margin-bottom:4px}.chart-heading h2{margin-bottom:0;font-size:22px}.chart-tabs{margin-top:22px;max-width:360px}.chart-tabs button{flex:1}.chart-summary{margin:22px 0 0;display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.chart-summary strong{font-size:25px;font-weight:600}.record-chart{display:block;width:100%;height:270px;margin:8px auto 0;overflow:visible}.record-chart text{fill:#737b89;font-size:14px}.chart-grid{stroke:#e9edf3;stroke-dasharray:3 4}.chart-line{stroke:#287bdd;stroke-width:2;stroke-linecap:round}.chart-dot{fill:#287bdd;stroke:#fff;stroke-width:1.5}.chart-note{margin:8px 0 12px}.chart-values{margin:0;padding-top:10px}.chart-values summary{font-size:14px;min-height:32px}.quick-record{display:flex;gap:12px;align-items:center;margin:18px 0 0;flex-wrap:wrap}.quick-record .primary{flex:1}.quick-record .text-button{padding:8px 12px}.chart-values[open]{margin-bottom:10px}@media(max-width:700px){.home-chart{padding:21px 18px}.chart-heading h2{font-size:20px}.chart-tabs{max-width:none;margin-top:18px}.record-chart{height:auto;margin-top:12px}.chart-summary{margin-top:20px}.chart-summary strong{font-size:23px}.quick-record{gap:10px}.quick-record .primary,.quick-record .soft-button{flex:1;white-space:nowrap;padding:12px 10px;font-size:15px}.quick-record .text-button{flex-basis:100%;padding:4px 10px;min-height:36px}.chart-heading .eyebrow{font-size:13px}}
.mode-option{display:block;width:100%;text-align:left;padding:20px;border:1px solid #dce7f6;border-radius:16px;margin:12px 0;background:#f8fbff}.mode-option strong,.mode-option small{display:block}.mode-option small{margin-top:6px}.partner-start{padding:28px}.partner-start .fine{text-align:center;margin:12px 0 0}.interaction-sheet .field{margin-bottom:20px}.interaction-sheet .sheet-body{padding-top:20px}.interaction-sheet .chips{gap:7px}.interaction-sheet .chip{padding:9px 12px}.interaction-sheet details{margin-bottom:0}.interaction-sheet .field legend{margin-bottom:10px}
.admin-user{padding:18px 0;border-bottom:1px solid var(--line)}.admin-user h3{margin-bottom:5px}.audit-row{padding:15px 0;border-bottom:1px solid var(--line)}.audit-row p{font-size:14px;margin:6px 0}.sheet .detail-actions{flex-wrap:wrap}

.site-filing{text-align:center;padding:16px 12px 96px;font-size:12px}.site-filing a{color:#687383;text-decoration:none}
/* Personal diary layout: same palette and controls as the existing partner view. */
.self-home{max-width:760px;margin:auto}.self-brand{display:flex;justify-content:space-between;align-items:center;font-size:23px;font-weight:650;margin-bottom:22px}.self-brand .text-button{font-size:24px}.self-welcome{text-align:center}.self-welcome h1{font-size:30px;margin-bottom:12px}.self-welcome p{margin-bottom:8px;color:var(--muted)}.self-start{margin:25px 0 24px;text-align:center}.self-start .fine{margin:10px 0}.self-home .chart-tabs{margin:0;max-width:none}.self-home .chart-heading h2{font-size:19px;white-space:nowrap}.self-home .chart-summary{margin-top:18px}.self-home .chart-summary strong{font-size:20px}.self-home .record-chart{height:auto;max-height:260px}.mood-calendar{margin:20px 0 15px}.mood-row{display:grid;grid-template-columns:minmax(100px,1.8fr) repeat(7,1fr);align-items:center;min-height:30px;font-size:13px;color:var(--muted)}.mood-row>span:not(:first-child){display:flex;align-items:center;justify-content:center;height:30px;border-bottom:1px solid #f0f2f6}.mood-dot{display:block;width:9px;height:9px;border-radius:50%;background:var(--blue)}.latest-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:18px 22px;gap:15px}.latest-metrics strong{display:block;font-size:16px;overflow-wrap:anywhere}.latest-note{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 20px 20px;padding:14px;background:#f5f6fa;border-radius:12px;font-size:14px;color:#626978}.self-extras{margin-top:24px}.self-extras summary{font-size:14px}.status-sheet{background:#f2f2f7}.status-sheet .sheet-head{background:#fafafd}.status-sheet .sheet-body{padding:16px 20px}.status-date{display:flex;justify-content:center;margin-bottom:16px}.status-date label{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}.status-date input{width:auto;margin:0!important;padding:7px 10px;background:#fafafd}.status-section{background:white;border-radius:20px;padding:18px;margin-bottom:14px}.status-section .field{margin:0}.status-section .chips{gap:7px}.mood-section .chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.status-sheet .chip.chosen{background:var(--blue);border-color:var(--blue);color:white}.energy-section .chips{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.energy-section .chip{padding:9px 2px;font-size:12px}.sleep-section>label{font-weight:550}.sleep-stepper{display:flex;justify-content:center;align-items:center;gap:10px;margin:14px 0 17px}.sleep-stepper input{width:100px;text-align:center;padding:8px;border:0;background:#f7f8fb}.step-button{min-width:44px;min-height:44px;border:1px solid #e3eaf3;border-radius:50%;font-size:23px;color:var(--blue)}.sleep-section legend{font-size:13px;color:var(--muted);font-weight:400}.sleep-section .chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.sleep-section .chip{padding:8px 4px;font-size:13px}.status-more{border:0;background:white;border-radius:20px;padding:16px 18px;margin:0}.status-more summary{color:inherit;font-weight:550}.status-more summary small{display:block;margin:6px 0 0;font-weight:400;font-size:12px}.status-more select{display:block;margin-top:8px}.status-sheet .sheet-footer{text-align:center}.status-sheet .sheet-footer p{margin:0 0 10px}.status-sheet .form-error:empty{display:none}@media(max-width:700px){.self-welcome h1{font-size:26px}.self-home .home-chart{padding:20px 16px}.self-home .chart-tabs button{padding:7px 9px;min-height:40px}.self-home .chart-heading{gap:8px}.self-home .chart-summary{gap:8px}.status-section{padding:16px 14px}.status-sheet .sheet-body{padding:14px}.self-home .record-card{padding:16px}.self-home .record-icon{display:none}.mood-row{grid-template-columns:minmax(96px,1.8fr) repeat(7,1fr)}}
@media(max-width:700px){.status-date label{white-space:nowrap}.status-section{padding:14px;margin-bottom:10px}.status-sheet .sheet-body{padding:10px 14px}.status-date{margin-bottom:10px}.status-section .field legend{margin-bottom:9px}.sleep-stepper{margin:10px 0}.sleep-section legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.status-more{padding:12px 14px}.status-sheet .sheet-footer{padding:10px 20px calc(10px + env(safe-area-inset-bottom))}.status-sheet .sheet-footer p{margin-bottom:7px}}
/* Family space: a quiet sage palette, with everyday photos carrying the color. */
:root{--blue:#62775c;--muted:#747b71;--line:#e7ebe3;background:#f7f8f4;color:#29302a}.primary:hover{background:#50644b}.brand-icon{background:#e8efdf;color:#62775c}.sidebar{background:#f5f7f0}.nav-item.active{background:#eaf0e3;color:#53694d}.soft-button{background:#edf2e7;color:#53694d}.avatar{background:#e8ecdf;color:#58694f}.card{border-color:#e9ede5;box-shadow:none}.chip.chosen{color:#46603d;background:#edf3e6;border-color:#afc39e}.notice{background:#f0f3e9;color:#596650}.chart-dot{fill:#62775c}.chart-line{stroke:#62775c}.text-button{color:#53694d}.account-button{margin-left:auto}.family-home{max-width:700px;margin:auto}.family-top{display:flex;align-items:center;gap:14px;margin-bottom:25px}.family-logo{font-size:23px;font-weight:650;color:#62775c;white-space:nowrap}.family-name{font-size:14px;margin-left:auto;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:44px}.family-home>h1{font-size:28px;margin-bottom:10px}.daily-nudge{display:flex;align-items:center;gap:13px;padding:19px;background:#edf2e6;border-radius:20px;margin:22px 0 28px}.daily-nudge>div{flex:1}.daily-nudge strong{font-size:15px;font-weight:550}.daily-nudge small{display:block;margin-top:5px;font-size:12px}.daily-nudge .primary{white-space:nowrap;font-size:14px;padding:10px 13px;min-height:44px}.leaf{font-size:37px;color:#738968}.wall-feed{display:grid;gap:18px}.wall-post{padding:16px;overflow:hidden}.wall-post>header{display:flex;align-items:center;gap:10px;margin-bottom:12px}.wall-post header strong{font-size:14px}.wall-post header small{display:block;font-size:12px}.wall-post .avatar{width:34px;height:34px;font-size:15px}.wall-delete{margin-left:auto;font-size:12px;color:var(--muted)}.wall-photo{display:block;width:100%;max-height:530px;object-fit:contain;background:#f4f5f0;border-radius:13px}.wall-text{margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px}.wall-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:10px}.reaction{border:1px solid #e4e8df;border-radius:12px;padding:8px 10px;min-height:42px;font-size:13px;color:#626e5a}.reaction.selected{background:#edf3e6;border-color:#8ea480}.wall-actions .text-button{font-size:13px;margin-left:auto}.comment-preview{margin:10px 0 0;border-radius:10px;padding:10px;background:#f6f7f3;font-size:13px;overflow-wrap:anywhere;white-space:pre-wrap}.comment-preview strong{color:#5a7052}.wall-comment{border-bottom:1px solid var(--line);padding:12px 0}.wall-comment p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.photo-picker{display:inline-block;position:relative;margin-bottom:12px;cursor:pointer}.photo-picker input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.photo-picker:focus-within{outline:3px solid #90ab80}.family-empty{padding:28px}.family-subhead{margin-top:26px}.family-member{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.family-member>div{flex:1;min-width:0}.family-member small{display:block;font-size:12px}.family-member .text-button{font-size:13px}.family-record-privacy{margin:15px 0;background:#f2f5ed;padding:12px;border-radius:12px}.family-record-privacy p{margin:0}.family-record-privacy .check-row{border:0;font-size:14px}.family-review{margin:15px 0 20px}.family-review select{display:block;margin:8px 0;width:100%}.family-review .home-chart{margin-top:18px}#photo-preview img{display:block;width:100%;max-height:350px;object-fit:contain;border-radius:15px}#photo-preview{margin-bottom:18px}.history-controls{flex-wrap:wrap}.history-controls .segmented{flex-wrap:wrap}@media(max-width:700px){.family-top{gap:8px;margin-bottom:24px}.family-logo{font-size:20px}.family-home>h1{font-size:23px;letter-spacing:-.6px}.family-top .avatar{width:34px;height:34px}.family-name{font-size:13px}.daily-nudge{padding:15px 12px;gap:8px}.daily-nudge .leaf{display:none}.daily-nudge strong{font-size:14px}.daily-nudge .primary{font-size:13px;padding:9px 11px}.wall-post{padding:13px}.wall-actions{gap:5px}.reaction{padding:8px;font-size:12px}.family-empty{padding:23px}.history-controls .segmented button{padding:8px 9px;font-size:13px}}
.wall-comments{padding:6px 10px;background:#f5f7f1;border-radius:12px}.wall-comment-row{display:flex;align-items:flex-start;gap:6px}.comment-reply{flex:1;min-width:0;text-align:left;padding:9px 0;font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;min-height:44px}.comment-reply strong{color:#536b4a;font-weight:600}.comment-reply:hover{background:#edf2e6}.comment-remove{flex:none;padding:10px 3px;font-size:12px;min-height:44px;color:#747b71}.deleted-comment{padding:10px 0;color:#7c8377;font-size:13px}.reply-deleted{display:block;font-size:12px;color:#7c8377}.reply-context{margin:16px 0 0;padding:12px;background:#f0f3e9;border-radius:10px;color:#5d6d56;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}#comment-form .wall-comments{margin-bottom:20px}#comment-form .sheet-body{scroll-behavior:auto}
/* Video shares and family replies keep the same quiet, touch-friendly controls. */
.wall-video{display:block;width:100%;max-height:530px;object-fit:contain;background:#f0f2eb;border-radius:13px}.media-pickers{display:flex;flex-wrap:wrap;gap:10px}.media-pickers .photo-picker{margin-bottom:8px}#video-preview{margin-bottom:18px}#video-preview video{display:block;width:100%;max-height:350px;object-fit:contain;background:#f0f2eb;border-radius:15px}.video-file{overflow-wrap:anywhere;margin:8px 0 0}.upload-progress{padding:14px;background:#f0f3e9;border-radius:12px;margin:16px 0}.upload-progress progress{display:block;width:100%;height:9px;accent-color:#62775c}.upload-progress p{margin:10px 0 0;font-size:14px;color:#53694d}.photo-picker:has(input:disabled){opacity:.55;cursor:wait}.photo-picker input:disabled{cursor:wait}.header-actions{display:flex;align-items:center;gap:10px;flex:none;margin-left:auto}.header-actions .account-button{margin-left:0}.page-head>div:first-child{min-width:0}.notification-bell{position:relative;display:grid;place-items:center;flex:none;width:44px;min-height:44px;border-radius:50%;color:#5c7154;background:#edf2e7}.notification-bell:hover{background:#e4eddb}.notification-bell svg{width:23px;height:23px}.notification-badge{position:absolute;right:-2px;top:0;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;border-radius:10px;background:#996453;color:#fff;font-size:10px;line-height:18px;border:2px solid #f7f8f4}.notification-badge[hidden]{display:none}.notification-tools{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.notification-tools p{font-size:14px;margin:8px 0;flex:1}.notification-tools .text-button{flex:none;min-height:44px;font-size:13px}.notification-item{display:flex;align-items:flex-start;gap:10px;width:100%;text-align:left;padding:16px 8px;border-bottom:1px solid var(--line);border-radius:10px;min-height:70px}.notification-item:hover{background:#f5f7f1}.notification-item>span:nth-child(2){min-width:0;flex:1}.notification-item strong{font-size:14px;font-weight:550;overflow-wrap:anywhere}.notification-item small{display:block;font-size:12px;margin-top:4px}.notification-item p{font-size:14px;color:#697561;margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.notification-item.unread{background:#f1f5eb}.notification-dot{width:7px;height:7px;border-radius:50%;background:transparent;flex:none;margin-top:7px}.notification-item.unread .notification-dot{background:#a0725e}.notification-chevron{font-size:24px;color:#8a9482;margin-top:12px}.notification-note{margin-top:24px}.notification-empty>span{font-size:38px;color:#8da17f}.wall-dialog-context{padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--line)}.wall-dialog-context>small{display:block;margin-bottom:12px}.wall-dialog-context .wall-photo,.wall-dialog-context .wall-video{max-height:230px}.comment-highlight{background:#e8efdd;border-radius:9px}.wall-comment-row:focus-visible,.notification-bell:focus-visible,.notification-item:focus-visible{outline:2px solid #8ea480;outline-offset:2px}
@media(max-width:700px){.family-top .family-name{min-width:0;max-width:40%}.family-top .notification-bell{width:44px}.header-actions{gap:7px}.page-head{flex-wrap:wrap}.page-head h1{font-size:25px}.page-head .header-actions .soft-button{padding:10px 12px}.self-brand .header-actions .text-button{min-width:44px;min-height:44px}.notification-tools{gap:8px}.notification-item{padding:15px 4px}.wall-dialog-context .wall-photo,.wall-dialog-context .wall-video{max-height:200px}}
