@font-face{font-family:Noto;src:url('/fonts/noto-sans-latin-400-normal.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Noto;src:url('/fonts/noto-sans-latin-600-normal.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Noto;src:url('/fonts/noto-sans-latin-700-normal.woff2') format('woff2');font-weight:700;font-display:swap}
:root{font-family:Noto,system-ui,sans-serif;color:#233d3a;background:#f7f8f4;font-synthesis:none;--ink:#233d3a;--muted:#687975;--teal:#216d61;--line:#e1e8e2;--paper:#fff;--shadow:0 8px 30px #23473b06;color-scheme:light}
*{box-sizing:border-box}body{margin:0;min-width:300px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #438cbe;outline-offset:4px}button,a{touch-action:manipulation}button{border:0;background:none}a{color:var(--teal)}svg{display:block}img{max-width:100%;display:block}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-size:34px;line-height:1.15;letter-spacing:-1.4px}h2{font-size:20px;line-height:1.35;letter-spacing:-.5px}h3{font-size:18px}small{font-size:12px}.icon{width:22px;height:22px;flex:0 0 auto}.app-header{height:80px;max-width:1136px;margin:auto;padding:16px 28px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:10px;padding:0;min-height:44px;font-size:19px;font-weight:700;letter-spacing:-.65px}.brand img{border-radius:11px}.settings-button{display:flex;align-items:center;gap:9px;min-height:44px;padding:0 3px}.settings-button>.icon{width:19px;height:19px}.avatar{width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;flex:none;background:var(--avatar,#287d72);color:#fff;border-radius:18px;font-weight:600;font-size:22px}.avatar.small{width:33px;height:33px;border-radius:12px;font-size:15px}.main-container{max-width:1080px;margin:auto;padding:22px 0 calc(120px + env(safe-area-inset-bottom));position:relative}.page-heading{margin:8px 0 30px}.heading-row{display:flex;align-items:center;justify-content:space-between;gap:18px}.page-heading p{font-size:14px;color:var(--muted);margin-top:10px;line-height:1.6}.profile-picker{display:flex;align-items:center;gap:9px;background:#fff;padding:7px 10px 7px 7px;border:1px solid var(--line);border-radius:16px;min-height:49px;max-width:200px;text-align:left;flex-shrink:0}.profile-picker>span:not(.avatar){font-size:13px;font-weight:600;min-width:0;overflow-wrap:anywhere}.profile-picker small{display:block;color:var(--muted);font-size:10px;font-weight:400}.profile-picker>.icon{width:15px;height:15px}.bottom-nav{position:fixed;z-index:20;bottom:18px;left:50%;transform:translateX(-50%);display:flex;width:450px;max-width:calc(100% - 36px);background:#fffefef5;backdrop-filter:blur(16px);border:1px solid #e1e7e3;border-radius:23px;box-shadow:0 8px 40px #2b4f4314;padding:7px}.nav-item{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;font-size:11px;font-weight:600;color:#6d7f79;min-height:54px;border-radius:17px}.nav-item .icon{width:23px;height:23px}.nav-item.active{background:#e7f3ed;color:#236958}.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.metric-tile{display:flex;flex-direction:column;align-items:stretch;text-align:left;position:relative;overflow:hidden;border-radius:25px;padding:20px;min-height:217px;transition:transform .18s,box-shadow .18s;border:1px solid #00000004}.metric-tile:not(:disabled):active{transform:scale(.975)}.teal{background:#e0f0e9;color:#285f50}.coral{background:#f9e9e1;color:#934e3b}.lilac{background:#ece8f6;color:#675783}.sand{background:#f4edda;color:#887043}.blue{background:#e5eef7;color:#416d8e}.tile-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.metric-icon{width:37px;height:37px;background:#ffffff85;display:flex;align-items:center;justify-content:center;border-radius:13px}.tile-add{font-size:24px;line-height:1;font-weight:400;opacity:.75}.tile-title{font-size:14px;font-weight:600;color:var(--ink)}.tile-value{display:block;font-size:29px;line-height:1.35;font-weight:600;letter-spacing:-1px;margin:8px 0 0;white-space:nowrap;color:var(--ink)}.tile-value small{font-size:12px;font-weight:400;letter-spacing:0;margin-left:5px}.tile-value .no-value{font-size:23px;letter-spacing:-.5px}.tile-description{font-size:11px;margin-top:auto;padding-top:11px;line-height:1.5;color:#526c62}.coral .tile-description{color:#7e655c}.lilac .tile-description{color:#6f657f}.sand .tile-description{color:#7f7156}.photo-art{display:flex;height:35px;align-items:center;gap:7px;margin-top:8px}.photo-art i{width:23px;height:29px;border-radius:7px 7px 5px 5px;border:1.5px solid #b8a879;position:relative;background:#fff8}.photo-art i:before{content:'';position:absolute;left:7px;top:4px;border-radius:50%;width:7px;height:7px;background:#cbbb94}.photo-art i:after{content:'';position:absolute;left:4px;top:14px;border-radius:6px 6px 2px 2px;width:13px;height:11px;background:#d5c8a7}.photo-art i:nth-child(2){transform:rotate(-8deg)}.photo-art i:nth-child(3){transform:rotate(8deg)}.log-links{display:flex;align-items:stretch;gap:16px;margin:18px 0 32px}.log-links>.button{flex:1}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:12px 18px;border-radius:15px;border:1px solid transparent;font-weight:600;font-size:14px;text-decoration:none;line-height:1.45}.button.primary{background:var(--teal);color:#fff;box-shadow:0 3px 0 #174f4510}.button.secondary{background:#fff;color:var(--ink);border-color:var(--line)}.button.danger{background:#a3483a;color:#fff}.button:disabled{opacity:.45}.wide{width:100%}.small-button{min-height:44px;padding:8px 12px;font-size:12px}.text-button{display:inline-flex;align-items:center;gap:5px;min-height:44px;padding:8px 0;color:var(--teal);font-size:13px;font-weight:600}.text-button .icon{width:18px;height:18px}.history-link{flex:1.5;min-height:62px;display:flex;align-items:center;gap:13px;border-radius:17px;padding:9px 16px;background:#eff1e9;text-align:left;font-size:14px;font-weight:600}.history-link>span{flex:1}.history-link small{font-size:11px;color:#748077;display:block;font-weight:400;margin-top:4px}.history-link>.icon:first-child{color:#688076;width:23px}.history-link>.icon:last-child{width:16px}.section-card{background:var(--paper);border:1px solid var(--line);border-radius:23px;box-shadow:var(--shadow);overflow:hidden}.section-heading{display:flex;justify-content:space-between;align-items:center;padding:23px 24px 15px;gap:12px}.section-heading p{font-size:12px;color:var(--muted);margin-top:5px}.entry-row{width:100%;display:flex;align-items:center;gap:13px;padding:18px 24px;text-align:left;min-height:83px}.entry-row+.entry-row{border-top:1px solid #edf0ec}.entry-icon{display:flex;align-items:center;justify-content:center;width:43px;height:43px;flex:0 0 auto;border-radius:14px}.entry-icon .icon{width:23px;height:23px}.entry-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:6px}.entry-info strong{font-size:14px;font-weight:600}.entry-info>span{font-size:11px;color:var(--muted);line-height:1.6}.entry-reading{display:flex;flex-direction:column;gap:2px;align-items:flex-end;font-size:18px;font-weight:600;white-space:nowrap}.entry-reading small{font-size:10px;font-weight:400;color:var(--muted)}.entry-edit{width:16px;height:16px;color:#94a69f;margin-left:5px}.empty-state{text-align:center;padding:46px 20px;max-width:420px;margin:auto}.empty-icon{width:56px;height:56px;background:#edf3ed;border-radius:20px;display:flex;align-items:center;justify-content:center;color:#728a7a;margin:0 auto 19px}.empty-icon .icon{width:28px;height:28px}.empty-state h3{font-size:17px;margin-bottom:9px;font-weight:600;letter-spacing:-.2px}.empty-state p{color:var(--muted);font-size:13px;line-height:1.8}.timezone-caption{color:var(--muted);font-size:11px;text-align:center;margin:20px 0;line-height:1.8;overflow-wrap:anywhere}.read-only-note{font-size:12px;color:var(--muted);margin:-13px 0 20px}.back-button{display:flex;align-items:center;gap:5px;min-height:44px;padding:0 0 10px;color:var(--teal);font-size:14px;font-weight:600;margin-bottom:12px}.back-button .icon{width:18px}.view-historical .quick-grid{margin-bottom:20px}.history-toolbar{display:flex;align-items:flex-end;gap:14px;margin-bottom:28px}.history-toolbar>.field{flex:1}.history-day{margin-top:25px}.history-day>h2{font-size:13px;color:#6c7b74;margin:0 0 12px 4px;letter-spacing:0;font-weight:600}.field{display:flex;flex-direction:column;gap:9px;font-size:13px;font-weight:600;position:relative}.field input,.field select,.field textarea{width:100%;min-width:0;min-height:51px;background:#fff;border:1px solid #d9e1da;border-radius:13px;color:var(--ink);padding:13px 14px;font-size:16px;font-weight:400;line-height:1.5}.field textarea{resize:vertical;min-height:83px}.field input::placeholder,.field textarea::placeholder{color:#8a9792}.field select{appearance:auto;padding-right:10px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#65a28f;outline-color:#b8d9c8;outline-offset:1px}.optional{position:absolute;right:0;top:1px;font-size:11px;font-weight:400;color:#8a9990}.field-help{font-weight:400;color:var(--muted);font-size:11px;line-height:1.7;overflow-wrap:anywhere}.progress-controls{display:flex;gap:24px;align-items:flex-end;margin-bottom:22px;justify-content:space-between}.metric-select{min-width:220px;flex:1;max-width:390px}.segmented{display:flex;gap:3px;background:#ecefe7;padding:4px;border-radius:14px}.segmented button{flex:1;min-height:43px;padding:7px 15px;font-size:12px;font-weight:600;border-radius:10px;white-space:nowrap;color:#69776b}.segmented button.active{background:#fff;box-shadow:0 2px 7px #2945350a;color:var(--teal)}.glucose-filter{max-width:320px;margin-bottom:20px}.unit-pill{font-size:11px;color:#647a6d;white-space:nowrap;border:1px solid #e4eae3;background:#f7f9f4;padding:7px 11px;border-radius:20px}.chart-card{padding:0 4px 4px}.chart-wrap{margin:16px 8px 0;overflow:hidden}.progress-chart{width:100%;height:auto;max-height:410px;overflow:visible}.axis-label,.chart-unit{font-size:11px;fill:#75847a;font-family:inherit}.chart-grid{stroke:#e9eee7;stroke-width:1;stroke-dasharray:3 4}.chart-line{fill:none;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.line-0{stroke:#3c8a72}.line-1{stroke:#af7f74}.chart-dot{fill:#fff;stroke-width:2.3}.chart-dot.selected{fill:#3c8a72;stroke:#fff;stroke-width:2.5}.chart-hit{fill:transparent;stroke:none}.chart-point{cursor:pointer}.chart-point:focus .chart-dot{fill:#3c8a72;stroke:#204e72;stroke-width:4}.chart-legend{display:flex;justify-content:center;gap:23px;font-size:11px;color:var(--muted);margin:6px 0}.chart-legend>span{display:flex;align-items:center;gap:6px}.chart-legend i{width:17px;height:3px;background:#3c8a72;border-radius:4px}.chart-legend>span+span i{background:#af7f74}.chart-tip,.chart-note{font-size:11px;color:var(--muted);text-align:center;margin:10px 20px;line-height:1.6}.chart-note{font-size:10px;color:#8a948c}.chart-tooltip{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;font-size:11px;line-height:1.7;padding:9px 16px;background:#f1f7ef;border-radius:11px;margin:10px 20px}.chart-tooltip strong{font-size:16px}.chart-tooltip strong small{font-size:10px;font-weight:400}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #e8ede6;margin:23px 20px 4px;padding:21px 0;gap:10px}.stat-grid>div{display:flex;align-items:flex-start;flex-direction:column;gap:7px;padding:0 15px;border-right:1px solid #e8ede6}.stat-grid>div:first-child{padding-left:0}.stat-grid>div:last-child{border-right:0}.stat-grid>div>span{font-size:11px;color:var(--muted)}.stat-grid strong{font-size:21px;letter-spacing:-.6px;font-weight:600}.stat-grid strong>span{font-weight:400;color:#a1afa3}.stat-grid small{font-size:10px;color:var(--muted)}.goal-note{display:flex;align-items:center;gap:10px;padding:17px 5px;font-size:12px;color:#6a7e68}.goal-note .icon{width:19px}.goal-note strong{font-weight:600;margin-left:5px}.chart-card+.wide,.goal-note+.wide{margin-top:18px}.family-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.family-card{text-align:left;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);padding:24px;border-radius:24px}.family-card-heading{display:flex;align-items:center;gap:12px}.family-card-heading>span:not(.avatar){flex:1;min-width:0}.family-card-heading strong{display:block;font-size:17px;overflow-wrap:anywhere}.family-card-heading small{display:block;margin-top:4px;color:var(--muted);font-size:11px}.family-card-heading>.icon{width:17px;color:#8d9e93}.family-weight{display:flex;align-items:baseline;gap:8px;margin:25px 0;font-size:12px;color:var(--muted);flex-wrap:wrap}.family-weight strong{font-size:34px;letter-spacing:-1px;font-weight:600;color:var(--ink)}.activity-days{display:flex;gap:4px}.activity-days>span{height:19px;flex:1;min-width:0;background:#edf1e9;border-radius:4px}.activity-days>span.logged{background:#74a894}.family-card-footer{display:flex;gap:10px;justify-content:space-between;margin-top:9px;font-size:10px;color:#77877b}.privacy-note{display:flex;gap:12px;padding:24px 8px;color:var(--muted);font-size:12px;line-height:1.8;max-width:690px;margin:auto}.privacy-note>.icon{margin-top:2px;width:21px}.family-summary{display:flex;gap:28px;padding:0 4px 26px;font-size:12px;color:var(--muted)}.family-summary strong{font-size:20px;font-weight:600;color:var(--ink);margin-right:5px}.family-metrics{display:flex;gap:14px;flex-wrap:wrap;margin:-8px 0 23px;color:#627469;font-size:11px}.family-metrics strong{font-size:13px;color:var(--ink);font-weight:600;display:block;margin-top:3px}.family-change{font-size:11px;width:100%;color:#6a7b71}.photo-toolbar{display:flex;align-items:center;gap:15px;justify-content:space-between;margin-bottom:19px}.photo-filter{flex:1;max-width:420px}.photo-guide{font-size:12px;color:var(--muted);margin:14px 1px 24px}.photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.photo-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:19px;overflow:hidden}.photo-card.selected{outline:3px solid #378575;outline-offset:3px}.photo-open{padding:0;width:100%;display:block}.photo-open img{width:100%;aspect-ratio:3/4;object-fit:cover;background:#e6ebe5}.photo-select{position:absolute;top:10px;right:10px;width:44px;height:44px;display:flex;align-items:center;justify-content:center}.photo-select:before{content:'';position:absolute;inset:7px;border:2px solid #fff;box-shadow:0 2px 9px #0003;border-radius:50%;background:#fff8}.selected .photo-select:before{background:var(--teal)}.photo-select>.icon{position:relative;z-index:1;color:#fff;width:17px;height:17px}.photo-caption{padding:15px;display:flex;flex-direction:column;gap:5px}.photo-caption strong{font-size:13px;font-weight:600}.photo-caption>span{font-size:11px;color:var(--muted)}.compare-bar{display:flex;align-items:center;gap:10px;background:#e8f2eb;border:1px solid #d3e3d9;border-radius:16px;padding:9px 12px;margin-bottom:22px;font-size:12px}.compare-bar>span{flex:1}.sheet{padding:0;background:#fff;border:0;border-radius:25px;width:calc(100% - 40px);max-width:480px;max-height:calc(100dvh - 48px);color:var(--ink);box-shadow:0 24px 100px #1f3e3730;overflow:auto;overscroll-behavior:contain}.sheet.wide-sheet{max-width:830px}.sheet::backdrop,#confirm-dialog::backdrop{background:#22392f65;backdrop-filter:blur(4px)}.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:20px 24px 15px;position:sticky;top:0;z-index:3;background:#fff;border-bottom:1px solid #edf1ec}.sheet-heading h2{font-size:20px}.icon-button{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:#f1f5ef;flex:none}.icon-button>.icon{width:20px;height:20px}.sheet-content{padding:24px}.sheet-description{font-size:12px;color:var(--muted);line-height:1.7;margin-bottom:20px}.entry-form,.settings-form,.photo-form,.password-form{display:flex;flex-direction:column;gap:22px}.entry-form-intro{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted)}.entry-form-intro small{display:block;margin-top:4px;font-size:12px;color:var(--ink);font-weight:600}.measurement-field{gap:11px}.unit-input{display:flex;align-items:center;position:relative}.unit-input input{padding-right:63px}.unit-input>span{position:absolute;right:15px;font-size:12px;font-weight:400;color:var(--muted)}.measurement-field .unit-input input{font-size:33px;letter-spacing:-1px;padding-top:15px;padding-bottom:15px;min-height:79px;background:#fbfcf9;font-weight:600}.bp-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.bp-fields .unit-input input{padding-right:14px;padding-bottom:32px;font-size:30px}.bp-fields .unit-input>span{bottom:11px;left:15px;right:auto;font-size:10px}.current-time-note{display:flex;gap:8px;align-items:center;color:#788477;font-size:11px;line-height:1.7;background:#f5f7f1;padding:10px 12px;border-radius:11px}.current-time-note .icon{width:16px;height:16px}.timestamp-fields{display:flex;flex-direction:column;gap:7px}.time-choice{margin-top:12px}.form-error,.page-error{font-size:13px;line-height:1.7;background:#fbebe6;color:#973f32;border:1px solid #edcbbf;border-radius:13px;padding:12px 14px;overflow-wrap:anywhere}.form-error{margin:0}.page-error{display:flex;align-items:center;gap:15px;margin:0 0 22px}.page-error>span{flex:1}.page-error button{min-height:44px;font-weight:600;text-decoration:underline}.danger-text{color:#9d4e40;align-self:center}.reading-detail{text-align:center}.reading-detail>.entry-icon{margin:0 auto 20px;width:64px;height:64px}.reading-detail>strong{font-size:34px;font-weight:600;display:block}.reading-detail>strong small{font-size:13px;font-weight:400;color:var(--muted)}.reading-detail>p{font-size:13px;color:var(--muted);line-height:1.8;margin:16px 0}.entry-note{white-space:pre-wrap;background:#f4f6f0;padding:16px;border-radius:13px;text-align:left;overflow-wrap:anywhere}.reading-detail>.field-help{font-size:11px}.more-grid{display:flex;flex-direction:column;gap:8px}.more-grid button{display:flex;align-items:center;gap:12px;text-align:left;min-height:68px;padding:8px;border-radius:12px}.more-grid strong{flex:1;font-size:14px;font-weight:600}.more-grid small{color:var(--muted)}.more-grid button>.icon{width:17px;color:#9da99f}.view-field{border:0;padding:0;margin:0}.view-field legend{font-size:13px;font-weight:600;padding:0;margin-bottom:10px}.photo-view-choice{display:flex;gap:9px}.photo-view-choice>label{flex:1;position:relative;cursor:pointer}.photo-view-choice input{position:absolute;opacity:0;left:50%;top:50%}.photo-view-choice span{display:block;min-height:46px;line-height:44px;text-align:center;border:1px solid var(--line);border-radius:12px;font-size:13px;background:#fff}.photo-view-choice input:checked+span{color:#246851;background:#eaf4ed;border-color:#7caf99;font-weight:600}.photo-view-choice input:focus-visible+span{outline:3px solid #438cbe;outline-offset:2px}.photo-preview{display:flex;align-items:center;justify-content:center;min-height:205px;max-height:380px;overflow:hidden;border-radius:17px;background:#f2f4ed;border:1px dashed #cdd9ce}.photo-preview>span{display:flex;align-items:center;flex-direction:column;gap:12px;color:#8a9a89;font-size:13px}.photo-preview>span>.icon{width:38px;height:38px}.photo-preview img{width:100%;height:100%;max-height:380px;object-fit:contain}.photo-source-buttons{display:flex;gap:10px;margin-top:-10px}.photo-source-buttons>label{flex:1;cursor:pointer}.photo-form>.field-help{margin-top:-10px}.photo-detail img{max-height:65dvh;object-fit:contain;width:100%;border-radius:14px;background:#f2f4ee}.photo-detail p{font-size:13px;line-height:1.8;margin:16px 0;color:var(--muted)}.photo-detail>.danger-text{display:flex;justify-content:center;width:100%}.photo-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.photo-comparison figure{margin:0}.photo-comparison img{width:100%;height:50dvh;object-fit:contain;background:#f2f4ee;border-radius:12px}.photo-comparison figcaption{padding-top:12px;display:flex;flex-direction:column;gap:4px}.photo-comparison strong{font-size:12px;font-weight:600}.photo-comparison span{font-size:11px;color:var(--muted)}.comparison-person{font-size:13px;color:var(--muted);margin-bottom:20px}.profile-list{display:flex;flex-direction:column;gap:10px}.profile-list>button{display:flex;align-items:center;gap:12px;padding:10px 2px;text-align:left}.profile-list>button>span:not(.avatar){flex:1}.profile-list strong{font-size:15px;display:block}.profile-list small{font-size:11px;color:var(--muted);display:block;margin-top:5px}.profile-list .icon{width:19px;color:#708b7e}.account-card{display:flex;align-items:center;gap:13px;padding-bottom:23px;margin-bottom:25px;border-bottom:1px solid var(--line)}.account-card strong{font-size:16px;display:block}.account-card small{font-size:12px;color:var(--muted);display:block;margin-top:5px}.device-timezone{font-size:11px;text-align:left;margin-top:-19px;align-self:flex-start;word-break:break-word}.settings-details{margin:26px 0;border-block:1px solid var(--line);padding:10px 0}.settings-details>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;font-size:11px;color:var(--muted)}.settings-details strong{font-size:11px;font-weight:600;color:var(--ink);text-align:right}.install-help{padding:0 2px;margin:20px 0}.sign-out-button{margin-top:12px}.security-options{border-top:1px solid var(--line);padding-top:17px;margin-top:24px;display:flex;flex-direction:column;gap:9px}.security-options>.button{justify-content:flex-start}.password-form .sheet-description{margin:0}.login-page{min-height:100dvh;max-width:460px;margin:auto;padding:70px 24px 40px;display:flex;flex-direction:column;justify-content:center}.login-brand{display:flex;align-items:center;gap:16px;margin:0 8px 38px}.login-brand img{border-radius:20px}.login-brand h1{font-size:27px;letter-spacing:-1px}.login-card{background:#fff;border:1px solid var(--line);border-radius:27px;padding:30px;box-shadow:0 14px 60px #21472e07}.login-card h2{font-size:25px}.login-card>p{font-size:13px;color:var(--muted);margin-top:9px;margin-bottom:27px}.login-card form{display:flex;flex-direction:column;gap:22px}.login-card>.form-error{margin:0 0 20px}.login-card .button{margin-top:5px;justify-content:space-between}.boot{min-height:80dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;color:var(--muted);font-size:13px}.boot-mark{width:65px;height:65px;border-radius:22px;background:#2d7a69;color:#fff;font-size:48px;line-height:59px;text-align:center;font-weight:400}.loading-line{position:absolute;top:0;left:0;width:100%;height:2px;overflow:hidden;background:#e4ede5}.loading-line:after{content:'';width:35%;height:100%;background:#70a58c;position:absolute;animation:load 1.6s ease-in-out infinite}@keyframes load{from{left:-35%}to{left:100%}}.connection-banner,.update-banner{max-width:1080px;margin:0 auto 8px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:12px;padding:10px 15px;background:#efe9d5;color:#78673a;border-radius:12px;line-height:1.6}.connection-banner .icon{width:17px;height:17px}.update-banner{background:#e6eee9;color:#416a54}.update-banner button{font-weight:600;min-height:44px;text-decoration:underline;padding:3px 10px}.toast{position:fixed;z-index:100;bottom:calc(103px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);padding:13px 19px;border-radius:15px;background:#274e42;color:#fff;box-shadow:0 6px 25px #0002;font-size:13px;line-height:1.6}.toast.error{background:#884536}#confirm-dialog{border:0;border-radius:23px;padding:23px;max-width:420px;width:calc(100% - 40px);color:var(--ink);box-shadow:0 24px 100px #203b3030}#confirm-dialog .sheet-heading{padding:0;border:0}#confirm-dialog h2{font-size:20px}#confirm-dialog>p{color:var(--muted);font-size:13px;line-height:1.8;margin:18px 0 23px}.confirm-actions{display:flex;gap:10px}.confirm-actions>.button{flex:1;font-size:13px;padding:11px}.skip-link{position:fixed;left:10px;top:-60px;z-index:200;background:#fff;padding:12px 18px;border:2px solid var(--teal);border-radius:10px}.skip-link:focus{top:10px}
@media(hover:hover){.metric-tile:not(:disabled):hover{box-shadow:0 5px 20px #2d543311;transform:translateY(-2px)}.entry-row:hover,.more-grid button:hover,.profile-list>button:hover{background:#f7faf5}.button.primary:hover{background:#185d52}.family-card:hover{border-color:#a9c3b0}.photo-open:hover img{filter:brightness(.97)}}
@media(max-width:1136px){.main-container{margin-inline:28px}.connection-banner,.update-banner{margin-inline:28px}}
@media(max-width:760px){.app-header{height:73px;padding:14px 22px}.main-container{margin-inline:22px;padding-top:17px}.page-heading{margin:9px 0 25px}.heading-row{align-items:center;gap:10px}.page-heading p{font-size:12px;max-width:240px}h1{font-size:32px}.profile-picker{max-width:150px}.profile-picker .avatar{display:none}.profile-picker{padding:8px 10px;min-height:44px}.profile-picker>span:not(.avatar){font-size:12px}.profile-picker small{font-size:10px}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.metric-tile{padding:17px;min-height:190px;border-radius:22px}.tile-top{margin-bottom:15px}.tile-title{font-size:13px}.tile-value{font-size:29px}.tile-value small{font-size:10px;margin-left:4px}.tile-description{font-size:10px;line-height:1.55}.log-links{display:flex;flex-direction:column;gap:12px;margin:17px 0 26px}.log-links>.button{min-height:49px}.history-link{min-height:69px}.section-heading{padding:21px 19px 14px}.section-heading h2{font-size:18px}.section-heading p{font-size:11px}.entry-row{padding:17px 18px;gap:10px}.entry-info strong{font-size:12px}.entry-info>span{font-size:10px}.entry-icon{width:38px;height:38px;border-radius:12px}.entry-reading{font-size:17px}.entry-edit{display:none}.family-grid{gap:14px}.family-card{padding:19px}.family-card-heading{gap:9px}.family-card-heading .avatar{width:38px;height:38px;border-radius:14px;font-size:18px}.family-card-heading strong{font-size:14px}.family-card-heading small{font-size:10px}.family-card-heading>.icon{display:none}.family-card-footer{flex-direction:column;gap:4px}.family-weight{gap:5px;margin:20px 0;font-size:10px}.family-weight strong{font-size:30px}.activity-days{gap:3px}.activity-days>span{height:15px;border-radius:3px}.progress-controls{align-items:stretch;flex-direction:column;gap:17px}.metric-select{max-width:none}.segmented button{padding-inline:10px}.chart-card{border-radius:20px}.chart-wrap{margin:12px 0 0}.progress-chart{min-height:180px}.axis-label{font-size:12px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 10px;padding:20px 0;margin-inline:17px}.stat-grid>div{padding:0 11px}.stat-grid>div:nth-child(odd){padding-left:0}.stat-grid>div:nth-child(even){border:0}.stat-grid>div>span{font-size:10px}.stat-grid strong{font-size:23px}.photo-toolbar{flex-wrap:wrap}.photo-filter{max-width:none;width:100%}.photo-toolbar>.button{width:100%}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.photo-caption{padding:13px}.bottom-nav{bottom:0;max-width:100%;width:100%;border-radius:23px 23px 0 0;border-bottom:0;padding:8px 12px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -5px 28px #234c3108}.nav-item{min-height:55px;gap:5px;font-size:10px}.nav-item.active{background:none;position:relative}.nav-item.active .icon{background:#dbece1;box-shadow:0 0 0 7px #dbece1;border-radius:4px;margin-top:2px;margin-bottom:4px}.nav-item.active span{font-weight:700}.history-toolbar{gap:10px;align-items:flex-end}.history-toolbar>.field{min-width:0}.export-button{font-size:11px;padding:12px;gap:6px}.export-button>.icon{width:17px}.connection-banner,.update-banner{margin-inline:22px}.privacy-note{font-size:11px;padding:24px 2px}.family-summary{gap:20px;font-size:10px;line-height:1.8}.family-summary strong{font-size:18px}.family-metrics{gap:9px;font-size:9px}.family-metrics strong{font-size:11px}.family-change{font-size:10px;line-height:1.6}}
@media(max-width:480px){.sheet{width:100%;max-width:none;margin:auto 0 0;max-height:calc(100dvh - env(safe-area-inset-top) - 16px);border-radius:25px 25px 0 0;padding-bottom:env(safe-area-inset-bottom)}.sheet-heading{padding:16px 20px 12px}.sheet-heading h2{font-size:19px}.sheet-content{padding:22px 20px 28px}.photo-comparison{gap:10px}.photo-comparison img{height:43dvh}.photo-comparison strong{font-size:11px}.photo-comparison span{font-size:10px}.family-grid{grid-template-columns:1fr}.family-card{padding:22px}.family-card-heading .avatar{width:46px;height:46px;border-radius:16px;font-size:20px}.family-card-heading strong{font-size:17px}.family-card-heading small{font-size:11px}.family-card-heading>.icon{display:block}.family-card-footer{flex-direction:row;font-size:10px}.family-weight{margin:20px 0;font-size:11px}.activity-days>span{height:18px}.family-metrics{gap:25px;font-size:11px}.family-metrics strong{font-size:13px}.family-change{font-size:11px}}
@media(max-width:350px){.app-header{padding-inline:16px}.brand{font-size:18px;gap:8px}.brand img{width:30px;height:30px}.settings-button{gap:7px}.main-container{margin-inline:16px}.heading-row{gap:7px}h1{font-size:29px}.profile-picker{max-width:128px}.metric-tile{padding:15px;min-height:184px}.tile-value{font-size:24px}.tile-title{font-size:12px}.tile-value small{font-size:9px}.tile-description{font-size:9px}.tile-value .no-value{font-size:21px}.entry-row{padding:16px 14px;gap:9px}.entry-info strong{font-size:11px}.entry-info>span{font-size:9px}.entry-reading{font-size:15px}.entry-icon{width:33px;height:35px}.entry-icon>.icon{width:21px;height:21px}.section-heading{padding-inline:15px}.section-heading h2{font-size:17px}.section-heading>.text-button{font-size:11px}.field input,.field select,.field textarea{font-size:16px}.login-card{padding:25px}.login-page{padding:40px 17px}.login-brand{gap:12px;margin-inline:3px}.login-brand h1{font-size:25px}.login-brand img{width:57px;height:57px}.compare-bar{gap:7px;font-size:10px;padding-inline:9px}.compare-bar .button{gap:6px;font-size:11px;padding-inline:9px}.compare-bar .text-button{font-size:11px}.connection-banner,.update-banner{margin-inline:16px}.photo-caption>span{font-size:10px}.stat-grid strong{font-size:21px}.toast{font-size:12px}}
@media(orientation:landscape) and (max-height:650px){.app-header{height:62px;padding-top:9px;padding-bottom:9px}.main-container{padding-top:12px;padding-bottom:110px}.page-heading{margin:5px 0 22px}.quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.metric-tile{padding:16px;min-height:179px}.tile-title{font-size:12px}.tile-value{font-size:25px}.tile-value small{font-size:9px}.tile-description{font-size:9px}.tile-top{margin-bottom:13px}.log-links{flex-direction:row}.history-link small{font-size:10px}.bottom-nav{width:430px;max-width:calc(100% - 40px);bottom:8px;border-radius:20px;padding:5px 8px}.nav-item{min-height:49px}.nav-item>.icon{width:20px;height:20px}.nav-item.active{background:#e7f3ed}.nav-item.active .icon{background:none;box-shadow:none;margin:0}.sheet{width:calc(100% - 48px);max-width:580px;max-height:calc(100dvh - 28px);margin:auto;border-radius:22px;padding-bottom:0}.sheet.wide-sheet{max-width:820px}.sheet-heading{padding:10px 20px}.sheet-content{padding:20px}.sheet-heading h2{font-size:18px}.login-page{min-height:100dvh;max-width:790px;flex-direction:row;align-items:center;gap:25px;padding:26px}.login-brand{flex-direction:column;align-items:flex-start;gap:15px;min-width:200px;margin:0}.login-card{padding:25px;flex:1}.login-card form{gap:14px}.login-card>p{margin-bottom:17px}.login-card .field{gap:6px}.login-card .field input{min-height:45px;padding:9px 12px}.family-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.photo-comparison img{height:55dvh}.photo-preview,.photo-preview img{max-height:240px}.toast{bottom:83px}.progress-controls{flex-direction:row;align-items:flex-end}.metric-select{min-width:170px}.history-toolbar{margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.loading-line:after{left:30%}}

@media(max-width:760px){.axis-label{font-size:19px}.chart-unit{font-size:18px}}
@media(orientation:landscape) and (max-height:500px){.app-header{height:55px}.main-container{padding-top:6px}.page-heading{margin:3px 0 16px}.page-heading h1{font-size:28px}.page-heading p{margin-top:5px;font-size:11px}.progress-controls{gap:16px;margin-bottom:14px}.progress-controls>.field{gap:5px}.progress-controls select{min-height:44px;padding-block:9px}.chart-card>.section-heading{padding-top:16px;padding-bottom:7px}.chart-wrap{margin-top:5px}.view-progress .heading-row{align-items:center}.view-progress .page-heading{margin-bottom:12px}}

.profile-settings-section{display:flex;flex-direction:column;gap:20px;padding-bottom:24px;border-bottom:1px solid var(--line)}
.profile-settings-section h3,.settings-subheading{font-size:16px;font-weight:600;letter-spacing:-.25px}
.profile-optional-note{font-size:11px;line-height:1.7;color:var(--muted);margin:0 0 -5px}
.profile-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}
.profile-field-grid .field{min-width:0}.profile-field-grid input[type=date]{min-width:0;max-width:100%}
.profile-details{background:#eef3eb;border:1px solid #e0e8dc;border-radius:17px;margin:-7px 0 24px}
.profile-details>summary{list-style:none;display:flex;align-items:center;gap:10px;padding:12px 15px;min-height:48px;font-size:13px;font-weight:600;cursor:pointer;color:#4b6959}
.profile-details>summary::-webkit-details-marker{display:none}.profile-details>summary>span{flex:1}.profile-details>summary .icon{width:19px;height:19px}.profile-details>summary .icon:last-child{width:15px;height:15px;transition:transform .15s}.profile-details[open]>summary .icon:last-child{transform:rotate(180deg)}
.profile-details-content{padding:0 16px 15px}.profile-details dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:9px 0 0}.profile-details dt{font-size:11px;color:var(--muted);margin-bottom:6px}.profile-details dd{font-size:13px;font-weight:600;margin:0;overflow-wrap:anywhere}.profile-details-content>p{font-size:12px;color:var(--muted);line-height:1.8;margin-top:5px}.profile-details .text-button{font-size:12px;margin:5px 0 -6px}
@media(max-width:760px){.profile-details dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.profile-details{margin-bottom:22px}.profile-details>summary{font-size:12px}}
@media(max-width:380px){.profile-field-grid>.field:nth-child(-n+2){grid-column:1/-1}}
@media(orientation:landscape) and (max-height:500px){.profile-details{margin-bottom:14px}.profile-details>summary{min-height:44px;padding-block:9px}}

.photo-tile:not(:disabled):active{transform:none}
.photo-tile .tile-top{margin-bottom:10px}
.photo-tile .photo-source-buttons{flex-direction:column;gap:8px;margin:12px 0 0}
.photo-tile .photo-source-buttons>.button{justify-content:flex-start;min-height:44px;padding:8px 10px;font-size:12px;line-height:1.35;gap:8px;background:#fff9;border-color:#b8a87955}
.photo-tile .photo-source-buttons .icon{width:18px;height:18px}
.photo-source-buttons>.button{min-width:0;text-align:center}
.photo-toolbar>.photo-source-buttons{margin:0;flex-wrap:wrap}
.photo-toolbar>.photo-source-buttons>.button{flex:1;white-space:nowrap}
.photo-replace{padding-top:18px;border-top:1px solid var(--line)}
.photo-replace>p{font-size:12px;font-weight:600;margin-bottom:12px;color:var(--muted)}
.photo-replace>.photo-source-buttons{margin:0}
.photo-replace .button{font-size:12px;padding:10px;gap:7px}
@media(max-width:760px){.photo-toolbar>.photo-source-buttons{width:100%}.photo-toolbar>.photo-source-buttons>.button{font-size:12px;padding:11px 9px;gap:8px}}
@media(max-width:350px){.photo-tile .photo-source-buttons>.button{padding-inline:7px;font-size:11px;gap:6px}.photo-tile .photo-source-buttons .icon{width:16px;height:16px}}

.photo-source-buttons>.button{flex:1}
.privacy-settings-section{display:flex;flex-direction:column;gap:22px;border-top:1px solid var(--line);padding-top:26px}
.privacy-settings-section>h3{font-size:18px;font-weight:600}
.privacy-settings-section>p{font-size:12px;color:var(--muted);line-height:1.75;margin-top:-10px}
.visibility-group{padding:0;margin:0;border:0}
.visibility-group>legend{font-size:13px;font-weight:600;padding:0;margin-bottom:9px;color:var(--muted)}
.visibility-row{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:54px;padding:9px 0;border-bottom:1px solid #edf1ec;cursor:pointer;font-size:13px}
.visibility-row:last-child{border-bottom:0}
.visibility-row>span:first-child{flex:1;min-width:0}
.visibility-control{display:flex;align-items:center;gap:10px;position:relative;flex:none}
.visibility-control>input{position:absolute;width:44px;height:26px;left:0;top:0;margin:0;opacity:0;cursor:pointer}
.visibility-track{display:block;width:44px;height:26px;border-radius:20px;background:#dce3dd;border:1px solid #c7d1c9;transition:background .15s}
.visibility-track:after{content:'';display:block;width:20px;height:20px;margin:2px;border-radius:50%;background:white;box-shadow:0 1px 3px #233b2930;transition:transform .15s}
.visibility-control>input:checked+.visibility-track{background:var(--teal);border-color:var(--teal)}
.visibility-control>input:checked+.visibility-track:after{transform:translateX(18px)}
.visibility-control>input:focus-visible+.visibility-track{outline:3px solid #438cbe;outline-offset:4px}
.visibility-status{min-width:41px;font-size:11px;color:var(--muted)}
.visibility-family{display:none}
.visibility-control>input:checked~.visibility-status .visibility-family{display:inline;color:var(--teal)}
.visibility-control>input:checked~.visibility-status .visibility-private{display:none}
@media(max-width:350px){.visibility-row{font-size:12px;gap:8px}.visibility-control{gap:7px}}

.settings-tabs{display:flex;gap:4px;padding:5px;background:#edf2eb;border-radius:14px;margin:0 0 25px}
.settings-tabs>button{flex:1;min-height:44px;padding:8px 6px;border-radius:10px;font-size:12px;font-weight:600;color:var(--muted)}
.settings-tabs>button.active{background:#fff;color:var(--teal);box-shadow:0 2px 7px #2b4f4310}
.settings-panel .privacy-settings-section{border:0;padding-top:0}
.settings-panel .dashboard-settings-section>p{font-size:12px;color:var(--muted);line-height:1.75;margin-bottom:18px}
.profile-height{display:flex;gap:14px;align-items:center;justify-content:space-between;background:#f3f6ee;border-radius:14px;padding:15px}
.profile-height>span{display:flex;flex-direction:column;gap:6px}.profile-height>span>small{font-size:11px;color:var(--muted)}
.profile-height strong{font-size:23px;font-weight:600}.profile-height strong>small{font-size:12px;font-weight:400}
.dashboard-toggle{margin-top:-5px}

/* Clear everyday actions, illustrated measurements, and comfortable phone sizing. */
:root{--ink:#203c39;--muted:#61756f;--teal:#176d60;--line:#dfe9e3;--shadow:0 6px 24px #244d3b07;background:#f6f9f5;color:var(--ink)}
body{background:radial-gradient(ellipse at 10% 0,#eaf5ed99,transparent 40rem),#f6f9f5}
.app-header{border-bottom:1px solid #dfe9e377}
.brand{font-size:20px;letter-spacing:-.6px}
.brand img{box-shadow:0 3px 10px #24736315}
.settings-button{border:1px solid #dbe6de;background:#ffffffb3;border-radius:17px;padding:5px 8px 5px 6px;gap:10px}
.settings-button>.icon{color:#4e7167}
.avatar{box-shadow:inset 0 0 0 1px #ffffff30}
.profile-picker{box-shadow:0 3px 12px #274b3d04;border-color:#d6e3da;border-radius:15px}
.profile-picker small{font-size:11px;color:#62766d}
.page-heading p{color:#61756f}
.quick-grid{gap:17px}
.metric-tile{min-height:226px;border-radius:25px;padding:21px;border-color:#ffffff9c;box-shadow:0 3px 12px #1e574205;isolation:isolate}
.metric-tile.teal{background:linear-gradient(145deg,#e3f4ec,#d9eee6);color:#286854}
.metric-tile.coral{background:linear-gradient(145deg,#fcece3,#f8e3db);color:#995444}
.metric-tile.lilac{background:linear-gradient(145deg,#f0eafb,#e7e2f6);color:#716090}
.metric-tile.sand{background:linear-gradient(145deg,#faf1d9,#f5eace);color:#866b35}
.metric-tile.blue{background:linear-gradient(145deg,#eaf2fb,#dfecf7);color:#416f91}
.tile-top{min-height:45px;margin-bottom:18px;gap:12px}
.metric-icon{width:45px;height:45px;border-radius:16px;background:#fff9;box-shadow:0 2px 5px #274a3910,inset 0 0 0 1px #ffffff9c;flex-shrink:0}
.metric-icon>.icon{width:26px;height:26px}
.metric-illustration{display:block;width:40px;height:40px;flex:none}
.tile-add{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#ffffff70;opacity:1;font-size:23px;color:currentColor;flex-shrink:0}
.tile-title{font-size:15px;line-height:1.5;font-weight:600;letter-spacing:-.2px}
.tile-value{display:flex;flex-wrap:wrap;align-items:baseline;gap:1px 5px;font-size:33px;line-height:1.25;letter-spacing:-1px;margin-top:10px;white-space:normal}
.tile-value small{display:block;flex-basis:100%;margin:3px 0 0;font-size:12px;font-weight:400;line-height:1.4;letter-spacing:0;color:#526b62}
.tile-value .no-value{font-size:23px;letter-spacing:-.6px;font-weight:600;line-height:1.4}
.tile-description{font-size:12px;padding-top:14px;line-height:1.6;overflow-wrap:anywhere}
.photo-illustration{display:block;width:67px;height:47px;flex:none;max-width:50%}
.photo-tile .tile-top{margin-bottom:12px}
.photo-tile .photo-source-buttons{gap:9px;margin-top:14px}
.photo-tile .photo-source-buttons>.button{background:#fff9;border-color:#e6d4a9;min-height:45px;border-radius:12px;padding:9px 11px;font-size:13px;gap:8px;color:#67552e;line-height:1.4}
.photo-tile .photo-source-buttons .icon{width:19px;height:19px}
.photo-tile .tile-description{padding-top:14px}
.button{border-radius:15px;min-height:51px;font-size:14px;transition:background .15s,box-shadow .15s}
.button.primary{background:linear-gradient(145deg,#247b6b,#176d60);box-shadow:0 4px 10px #186b6020,inset 0 1px 0 #ffffff15;border-color:#1a6b5e;color:#fff}
.button.secondary{border-color:#d8e5db;background:#fff;box-shadow:0 2px 5px #244a3a03}
.button:disabled{opacity:.5}
.small-button{min-height:44px}
.log-links{margin:19px 0 30px;gap:14px}
.log-links>.button{justify-content:flex-start;padding-inline:18px}
.log-links>.button>.icon{background:#eaf4ed;box-sizing:content-box;padding:7px;border-radius:11px;color:#337261}
.history-link{background:#edf3e9;border:1px solid #e1e9d9;min-height:65px;border-radius:17px;font-size:14px;padding:12px 16px}
.history-link small{font-size:12px;color:#637360;line-height:1.5}
.history-link>.icon:first-child{color:#668557}
.section-card,.family-card,.photo-card{box-shadow:var(--shadow);border-color:#dde7df}
.section-heading{padding-top:24px;padding-bottom:17px}
.section-heading h2{font-size:20px;letter-spacing:-.5px}
.section-heading p{font-size:12px;line-height:1.6}
.entry-row{padding-block:19px;min-height:88px}
.entry-icon{width:45px;height:45px;border-radius:15px}
.entry-info strong{font-size:14px;line-height:1.4}
.entry-info>span{font-size:12px;line-height:1.55}
.entry-reading{font-size:20px;letter-spacing:-.5px}
.entry-reading small{font-size:11px;letter-spacing:0}
.empty-state{padding:36px 24px 40px}
.empty-icon{width:72px;height:64px;border-radius:22px;background:#edf5ec;margin-bottom:19px}
.empty-illustration{display:block;width:92px;height:72px;flex:none;margin:0 auto 17px}
.empty-icon:has(.empty-illustration){width:92px;height:72px;background:none;border-radius:0}
.empty-icon>.empty-illustration{margin:0}
.empty-state h3{font-size:18px;line-height:1.5}
.empty-state p{font-size:13px;line-height:1.8}
.family-summary{font-size:13px;gap:24px;line-height:1.7}
.family-card{border-radius:23px}
.family-card-heading small,.family-card-footer,.family-change{font-size:12px;line-height:1.6}
.family-card-heading strong{line-height:1.45}
.family-metrics{font-size:12px;line-height:1.55}
.family-metrics strong{font-size:14px}
.activity-days>span{background:#edf2ec}
.activity-days>span.logged{background:#6ba891}
.photo-caption{padding:15px}
.photo-caption strong{font-size:14px}
.photo-caption>span{font-size:12px;line-height:1.6}
.photo-guide,.privacy-note,.timezone-caption{font-size:12px;line-height:1.7}
.bottom-nav{border-color:#dce6df;box-shadow:0 7px 30px #24493714;background:#ffffffed}
.nav-item{font-size:12px;color:#62776f}
.nav-item.active{background:#e6f3ec;color:#176d60}
.sheet{border:1px solid #ffffffb3;box-shadow:0 24px 100px #163e3730}
.sheet::backdrop,#confirm-dialog::backdrop{background:#173a3261}
.sheet-heading{background:#fffffff5;backdrop-filter:blur(12px);border-bottom-color:#e3ebe5;padding-top:17px;padding-bottom:15px}
.sheet-heading h2{font-size:21px;line-height:1.4;letter-spacing:-.5px}
.icon-button{background:#eef4ed;border:1px solid #e2ebe0;color:#526d60}
.sheet-content{padding:25px}
.sheet-description{font-size:13px;line-height:1.75}
.entry-form,.settings-form,.photo-form,.password-form{gap:23px}
.entry-form-intro{font-size:13px;line-height:1.5;background:#f2f7f0;border:1px solid #e4ede0;border-radius:17px;padding:13px 14px;gap:13px}
.entry-form-intro>.entry-icon{width:49px;height:49px;flex:none}
.entry-form-intro .metric-illustration{width:44px;height:44px}
.entry-form-intro small{font-size:14px;margin-top:3px}
.field{font-size:14px;line-height:1.5;gap:9px}
.field input,.field select,.field textarea{border-color:#d6e2d8;border-radius:14px;min-height:53px;padding:13px 14px}
.field input::placeholder,.field textarea::placeholder{color:#81958c}
.field input:focus,.field select:focus,.field textarea:focus{border-color:#418874;outline-color:#a8d1c1}
.field textarea{min-height:87px}
.measurement-field .unit-input input{min-height:84px;font-size:36px;padding-top:16px;padding-bottom:16px;background:#f7faf5;border-color:#cadccb}
.unit-input>span{font-size:13px;color:#617768}
.bp-fields{gap:15px}
.bp-fields .unit-input input{font-size:32px;padding-bottom:33px}
.bp-fields .unit-input>span{font-size:12px}
.optional,.field-help{font-size:12px;color:#677c70}
.optional{top:2px}
.current-time-note{font-size:12px;line-height:1.6;background:#f2f6ee;color:#60765f;padding:11px 13px;border-radius:12px}
.current-time-note>.icon{width:18px;height:18px}
.entry-actions{display:flex;flex-direction:column;gap:12px;margin-top:2px}
.entry-actions>.button.primary,.entry-form>.button.primary{min-height:55px;font-size:16px;font-weight:700;letter-spacing:-.1px}
.dashboard-toggle,.button.secondary.dashboard-toggle{width:100%;min-height:47px;background:transparent;border:0;border-radius:12px;box-shadow:none;color:#587367;font-size:13px;font-weight:600;margin:0;padding:11px 10px;line-height:1.5;gap:8px}
.dashboard-toggle>.icon{width:19px;height:19px;color:#769283}
.entry-actions .dashboard-toggle{border-top:1px solid #e7ede7;border-radius:0 0 12px 12px;padding-top:14px}
.danger-text{font-size:13px}
.more-grid{gap:9px}
.more-grid button{min-height:72px;padding:11px;background:#f7faf5;border:1px solid #e6eee2;border-radius:15px;gap:12px}
.more-grid strong{font-size:14px;line-height:1.5}
.more-grid small{font-size:12px}
.more-grid .entry-icon{width:43px;height:43px}
.more-grid button>.icon{color:#70917d}
.account-card{padding-bottom:21px;margin-bottom:20px;gap:13px}
.account-card strong{font-size:19px;line-height:1.4}
.account-card small{font-size:13px}
.settings-tabs{margin-bottom:24px;padding:5px;gap:4px;background:#edf4e9;border:1px solid #e1eadc;border-radius:15px}
.settings-tabs>button{font-size:13px;min-height:46px;border-radius:10px;color:#62735f}
.settings-tabs>button.active{color:#176d60;background:#fff;box-shadow:0 2px 6px #244f3711}
.settings-panel .dashboard-settings-section>p,.privacy-settings-section>p{font-size:13px;line-height:1.7}
.profile-settings-section{gap:21px}
.profile-optional-note{font-size:12px;line-height:1.7}
.profile-height{background:#edf5ea;border:1px solid #dfead9;border-radius:16px;padding:16px;gap:12px}
.profile-height>span>small{font-size:12px}
.profile-height .button{min-height:44px;font-size:12px;padding:10px 12px}
.visibility-group>legend{font-size:13px;font-weight:700;color:#5d755f;letter-spacing:.1px;margin-bottom:7px}
.visibility-row{font-size:14px;line-height:1.5;min-height:57px;padding:11px 0;gap:12px;border-color:#e7ede6}
.visibility-control{gap:9px}
.visibility-status{font-size:12px;min-width:43px}
.settings-details>div,.settings-details strong,.device-timezone{font-size:12px;line-height:1.6}
.profile-details{background:#eff5ea;border-color:#dce7d5}
.profile-details>summary{font-size:13px;min-height:50px;color:#4d7055}
.profile-details dt{font-size:12px}
.profile-details dd{font-size:14px}
.photo-preview{background:#f1f5ec;border-color:#cbdcc6;border-radius:18px}
.photo-view-choice span{min-height:49px;line-height:47px;font-size:14px;border-color:#d7e3d8}
.photo-view-choice input:checked+span{background:#e8f4ec;border-color:#64a286;color:#216b50}
.photo-view-choice input:focus-visible+span{outline:3px solid #438cbe;outline-offset:4px}
.photo-replace>p,.photo-replace .button{font-size:13px}
@media(hover:hover){.button.primary:hover{background:#155f53;box-shadow:0 5px 13px #176b6029}.button.secondary:hover{background:#f7faf5;border-color:#bad2c1}.dashboard-toggle:hover,.button.secondary.dashboard-toggle:hover{background:#f2f7ef;color:#28684e}.metric-tile:not(:disabled):hover{box-shadow:0 7px 22px #244a3a0e;transform:translateY(-2px)}.more-grid button:hover{background:#edf5e8;border-color:#ccdebf}}
@media(max-width:760px){
  .app-header{height:78px;padding:14px 22px}.brand{font-size:20px}.main-container{padding-top:19px}
  .page-heading{margin:8px 0 25px}.page-heading p{font-size:13px;line-height:1.6}.profile-picker small{font-size:11px}
  .quick-grid{gap:13px}.metric-tile{padding:17px;min-height:222px;border-radius:23px}.tile-top{min-height:43px;margin-bottom:15px}.metric-icon{width:43px;height:43px;border-radius:15px}
  .tile-title{font-size:14px;line-height:1.45}.tile-value{font-size:30px;margin-top:9px}.tile-value small{font-size:12px}.tile-value .no-value{font-size:22px}.tile-description{font-size:12px;line-height:1.55;padding-top:13px}
  .photo-illustration{width:56px;height:43px}.photo-tile .photo-source-buttons>.button{font-size:12px;padding:9px;gap:7px}.photo-tile .photo-source-buttons .icon{width:18px;height:18px}
  .log-links{gap:11px;margin:17px 0 27px}.log-links>.button{min-height:57px}.history-link{min-height:66px}.history-link small{font-size:12px}
  .section-heading{padding:21px 19px 15px}.section-heading h2{font-size:19px}.section-heading p{font-size:12px}
  .entry-row{padding:18px;gap:10px;min-height:85px}.entry-info strong{font-size:13px}.entry-info>span{font-size:11px}.entry-icon{width:40px;height:40px;border-radius:13px}.entry-reading{font-size:18px}.entry-reading small{font-size:11px}
  .family-card-heading strong{font-size:16px}.family-card-heading small,.family-card-footer,.family-change{font-size:12px}.family-metrics{font-size:12px;gap:12px}.family-metrics strong{font-size:14px}.family-summary{font-size:12px;gap:21px}.family-weight{font-size:12px}
  .photo-caption>span{font-size:12px}.privacy-note{font-size:12px}
  .bottom-nav{border-radius:23px 23px 0 0;padding:9px 12px calc(9px + env(safe-area-inset-bottom))}.nav-item{min-height:56px;font-size:11px}.nav-item.active{background:transparent}.nav-item.active .icon{background:#dfefe5;box-shadow:0 0 0 7px #dfefe5}
  .stat-grid>div>span,.stat-grid small,.chart-tip{font-size:12px}.stat-grid strong{font-size:24px}.unit-pill{font-size:12px}.segmented button{font-size:13px}
}
@media(max-width:480px){
  .sheet{border-radius:26px 26px 0 0;border-bottom:0}.sheet-heading{padding:16px 20px 13px}.sheet-heading h2{font-size:20px}.sheet-content{padding:22px 20px 27px}
  .family-card-heading strong{font-size:17px}.family-card-heading small{font-size:12px}.family-card-footer{font-size:11px}.family-metrics{gap:23px}.family-weight{font-size:12px}
  .entry-form-intro{padding:12px}.photo-comparison strong{font-size:12px}.photo-comparison span{font-size:11px}
}
@media(max-width:350px){
  .app-header{padding-inline:16px}.brand{font-size:18px;gap:8px}.settings-button{gap:7px;padding-right:6px}.settings-button>.icon{width:17px;height:17px}.main-container{margin-inline:16px}
  .quick-grid{gap:11px}.metric-tile{padding:14px;min-height:222px;border-radius:21px}.metric-icon{width:40px;height:40px;border-radius:14px}.metric-illustration{width:37px;height:37px}.tile-top{gap:8px}.tile-title{font-size:14px}.tile-value{font-size:28px}.tile-value small{font-size:11px}.tile-value .no-value{font-size:20px}.tile-description{font-size:11px}
  .photo-illustration{width:46px;height:40px}.photo-tile .photo-source-buttons>.button{font-size:11px;padding-inline:6px;gap:5px}.photo-tile .photo-source-buttons .icon{width:16px;height:16px}
  .entry-row{padding:16px 14px;gap:9px}.entry-icon{width:35px;height:37px}.entry-info strong{font-size:12px}.entry-info>span{font-size:11px}.entry-reading{font-size:16px}.entry-reading small{font-size:10px}
  .sheet-heading{padding-inline:17px}.sheet-content{padding-inline:17px}.sheet-heading h2{font-size:19px}.entry-form-intro{gap:10px;font-size:12px}.entry-form-intro small{font-size:13px}.entry-form-intro>.entry-icon{width:44px;height:44px}.entry-form-intro .metric-illustration{width:40px;height:40px}
  .bp-fields{gap:12px}.bp-fields .unit-input input{font-size:30px}.settings-tabs>button{font-size:12px}.visibility-row{font-size:13px;gap:9px}.visibility-control{gap:7px}.visibility-status{font-size:11px;min-width:39px}.profile-height{padding:14px;gap:9px}.profile-height .button{font-size:11px;padding-inline:10px}
}
@media(orientation:landscape) and (max-height:650px){
  .app-header{height:63px;padding-block:8px}.main-container{padding-top:13px}.page-heading{margin:5px 0 22px}.page-heading p{font-size:12px}.quick-grid{gap:12px}.metric-tile{padding:16px;min-height:216px}.tile-top{margin-bottom:13px;min-height:40px}.metric-icon{width:40px;height:40px;border-radius:14px}.metric-illustration{width:37px;height:37px}.tile-title{font-size:14px}.tile-value{font-size:28px}.tile-value small,.tile-description{font-size:11px}.photo-illustration{width:50px;height:40px}.photo-tile .photo-source-buttons>.button{font-size:12px;padding-inline:8px}
  .history-link small{font-size:12px}.log-links{flex-direction:row}.bottom-nav{width:450px;max-width:calc(100% - 40px);bottom:8px;border-radius:21px;padding:5px 8px}.nav-item{min-height:49px;font-size:11px}.nav-item.active{background:#e6f3ec}.nav-item.active .icon{background:none;box-shadow:none;margin:0}
  .sheet{max-height:calc(100dvh - 24px);border-radius:23px}.sheet-heading{padding:9px 20px}.sheet-heading h2{font-size:19px}.sheet-content{padding:20px 24px}.entry-form-intro{padding:11px 13px}.entry-form,.settings-form,.photo-form,.password-form{gap:20px}.measurement-field .unit-input input{min-height:77px}.photo-caption>span{font-size:12px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* The unit stays readable beside a number on pointer and touch devices. */
.unit-input input[type=number]{appearance:textfield;-moz-appearance:textfield}
.unit-input input[type=number]::-webkit-inner-spin-button,.unit-input input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
