:root{--green:#6b9b5f;--green-dark:#4d7850;--green-pale:#edf4e9;--orange:#d97835;--teal:#3d5a6c;--ink:#29392f;--muted:#8a958c;--line:#e9eee7;--paper:#fff;--bg:#f7f8f4;--red:#b96051;--shadow:0 8px 24px #29392f0b}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}.boot{height:100vh;display:grid;align-content:center;justify-items:center;color:#8b968d}.boot p{font-size:12px}.brand-mark{height:34px;width:34px;border-radius:11px;background:var(--green);display:grid;place-items:center;color:white;font-size:17px;position:relative;flex:0 0 auto}.brand-mark:after{content:"⌁";position:absolute;top:6px;color:#f8ba83;font-size:18px}.brand{display:flex;gap:10px;align-items:center;color:var(--green-dark);font-size:18px;font-weight:800;letter-spacing:-.6px}.brand-light{color:#68766d;font-weight:500}.brand small{display:block;color:#a1aba2;font-size:8px;font-weight:700;letter-spacing:2px;margin-top:1px}.app-frame{min-height:100vh}.sidebar{position:fixed;z-index:5;inset:0 auto 0 0;width:246px;background:#fff;border-right:1px solid var(--line);padding:25px 16px 16px;display:flex;flex-direction:column}.sidebar .brand{margin:0 0 28px 5px}.workspace-chip{margin:0 4px 25px;background:#f5f7f2;color:#819080;border-radius:7px;padding:8px 9px;font-size:8px;font-weight:700;letter-spacing:.7px}.live-dot{display:inline-block;background:#74a46a;height:7px;width:7px;border-radius:50%;margin-right:6px}.nav-label,.eyebrow{color:#9aa59b;font-size:9px;font-weight:700;letter-spacing:1.3px}.nav-label{margin:0 0 8px 10px}.side-nav{display:grid;gap:4px;margin-bottom:21px}.nav-link{height:40px;padding:0 11px;border-radius:8px;color:#79857b;display:flex;align-items:center;gap:11px;font-size:11px;font-weight:550;position:relative}.nav-link:hover{background:#f7f8f5}.nav-link.active{background:var(--green-pale);color:#557a4e;font-weight:700}.nav-icon{font-size:17px;width:20px;text-align:center}.nav-count{margin-left:auto;background:#e5ede0;color:#597b50;border-radius:10px;padding:1px 6px;font-size:9px}.sidebar-bottom{margin-top:auto}.safety-note{display:flex;gap:10px;padding:12px 11px;background:#f5f7f1;border-radius:10px;margin-bottom:13px}.safety-note>span{color:var(--orange);font-size:15px}.safety-note strong{font-size:10px}.safety-note p{font-size:9px;color:#8e998f;line-height:1.5;margin:3px 0 0}.user-menu{border-top:1px solid var(--line);padding:13px 4px 2px;display:flex;align-items:center;gap:9px}.avatar{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;background:#f3e5d6;color:#a26c46;font-size:11px;font-weight:700;flex:0 0 auto}.user-menu strong,.user-menu small{display:block;max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-menu strong{font-size:10px}.user-menu small{font-size:8px;color:#9aa49b;margin-top:2px}.menu-dots{margin-left:auto;color:#9aa49b;letter-spacing:2px}.main-area{margin-left:246px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:59px;position:sticky;top:0;z-index:4;display:flex;align-items:center;padding:0 34px;background:#f9faf7ed;backdrop-filter:blur(12px);border-bottom:1px solid #ebeee9}.breadcrumbs{display:flex;align-items:center;gap:9px;color:#a0a9a0;font-size:10px}.breadcrumbs b{font-weight:400;color:#c7cec5}.breadcrumbs strong{color:#59685d;font-weight:600}.top-actions{margin-left:auto;display:flex;align-items:center;gap:13px}.server-chip{border:1px solid #e7ece5;background:white;border-radius:20px;padding:5px 10px;color:#829083;font-size:8px}.server-chip i{height:6px;width:6px;background:#77a86c;border-radius:50%;display:inline-block;margin-right:5px}.icon-button{height:31px;width:31px;border:1px solid #e7ece5;border-radius:8px;background:white;color:#728075;display:grid;place-items:center;position:relative}.icon-button i{position:absolute;right:5px;top:4px;height:6px;width:6px;background:var(--orange);border-radius:50%}.mobile-brand{display:none}.page-wrap{width:min(1280px,100%);padding:28px 34px 35px;flex:1}.app-footer{padding:11px 34px 18px;text-align:center;color:#a4ada5;font-size:8px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 19px}.page-heading h1{font-size:25px;line-height:1.2;letter-spacing:-.8px;margin:6px 0 7px;font-weight:700}.page-heading p{margin:0;color:#87938a;font-size:11px;line-height:1.6;max-width:620px}.heading-action{display:flex;align-items:center;gap:10px}.date-chip{background:white;border:1px solid var(--line);padding:8px 11px;border-radius:8px;color:#728075;font-size:9px;white-space:nowrap}.demo-banner{display:flex;align-items:center;gap:9px;border-radius:8px;background:#eff4eb;padding:10px 12px;margin-bottom:16px;color:#70836d;font-size:9px;line-height:1.5}.demo-banner b{color:#58754f}.demo-banner a{margin-left:auto;white-space:nowrap;color:#5d8054;font-weight:700}.banner-icon{color:#78956d;font-size:13px}.compact-banner{margin:0 0 16px}.panel{background:var(--paper);border:1px solid #e9eee7;border-radius:11px;box-shadow:var(--shadow)}.dashboard-grid{display:grid;gap:12px}.metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-card{padding:16px 17px 13px;min-height:130px}.metric-head{display:flex;align-items:center;gap:9px}.metric-head>div{display:flex;flex-direction:column;min-width:0}.metric-icon{height:28px;width:28px;border-radius:9px;display:grid;place-items:center;font-size:14px;flex:0 0 auto}.metric-icon.orange,.metric-choice-icon.orange{background:#fff2e6;color:#d58247}.metric-icon.blue,.metric-choice-icon.blue{background:#edf3f6;color:#5d7e91}.metric-icon.green{background:#eef4e9;color:#65885d}.metric-label{font-size:10px;font-weight:650;color:#68766b}.metric-head small{font-size:8px;color:#9ca59c;margin-top:2px}.mini-link{margin-left:auto;color:#718b68;font-size:8px;white-space:nowrap}.metric-value{font-size:27px;font-weight:730;letter-spacing:-1px;margin:12px 0 1px}.metric-value i{font-style:normal;color:#b4bcb4;font-size:19px;padding:0 2px}.metric-value small{font-size:9px;font-weight:500;color:#929c93;letter-spacing:0}.metric-foot{font-size:8px;color:#9da69e}.progress-track{height:5px;background:#eef1ed;border-radius:99px;margin:8px 0 5px;overflow:hidden}.progress-track span{height:100%;display:block;background:var(--green);border-radius:inherit;transition:width .3s}.dashboard-columns{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:14px}.dashboard-panel{padding:17px 17px 13px;min-width:0}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-title h2{font-size:14px;letter-spacing:-.3px;margin:4px 0 0}.section-title>.button-quiet{white-space:nowrap}.panel-description{font-size:9px;color:#9aa49b;margin:6px 0 12px;line-height:1.55}.button-primary,.button-secondary,.button-quiet{min-height:34px;padding:0 12px;border-radius:7px;font-size:9px;font-weight:650;display:inline-flex;justify-content:center;align-items:center;gap:6px;transition:background .15s,border .15s;white-space:nowrap}.button-primary{border:1px solid var(--green);background:var(--green);color:white}.button-primary:hover{background:#5d8a53}.button-primary:disabled{opacity:.5;cursor:not-allowed}.button-secondary{border:1px solid #e3e9e1;background:white;color:#66766a}.button-secondary:hover{background:#f7f9f5;border-color:#ccd7c9}.button-quiet{border:0;background:transparent;color:#68885e;padding:0 4px;min-height:28px}.button-quiet:hover{background:#f5f8f2}.today-habits{display:grid}.habit-row{min-height:48px;display:flex;align-items:center;gap:9px;border-bottom:1px solid #f0f2ee}.habit-toggle{height:18px;width:18px;display:grid;place-items:center;border:1.5px solid #d6ded4;border-radius:6px;background:white;color:white;font-size:10px;padding:0;flex:0 0 auto}.habit-toggle.checked{background:var(--green);border-color:var(--green)}.habit-emoji{width:21px;text-align:center;font-size:15px}.habit-copy{flex:1;min-width:0}.habit-copy strong,.habit-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.habit-copy strong{font-size:10px;font-weight:600}.habit-copy small{color:#a1aaa1;font-size:8px;margin-top:2px}.is-done .habit-copy strong{color:#95a093}.panel-link-row{display:flex;justify-content:space-between;align-items:center;padding-top:11px;color:#9aa49b;font-size:8px}.panel-link-row a,.inline-link{color:#66865e;font-size:8px;font-weight:650}.trend-legend{display:flex;align-items:center;gap:11px;margin:8px 0;font-size:8px;color:#8d978e}.trend-legend span{display:flex;align-items:center;gap:5px}.trend-legend i{width:7px;height:7px;border-radius:50%}.legend-bp{background:#d8804b}.legend-bg{background:#6b9b5f}.trend-span{margin-left:auto;color:#a3aca3;font-size:8px}.dual-chart{height:104px;position:relative;padding-bottom:13px}.dual-chart svg{height:87px;width:100%;overflow:visible}.chart-grid{stroke:#edf1eb;stroke-width:.7;stroke-dasharray:1 2}.chart-line{fill:none;stroke-width:1.4}.bp-stroke{stroke:#d8804b}.bg-stroke{stroke:#6b9b5f}.bp-fill{fill:#fff;stroke:#d8804b;stroke-width:1.3}.bg-fill{fill:#fff;stroke:#6b9b5f;stroke-width:1.3}.chart-days{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;color:#abb3ab;font-size:7px}.reading-mini-list{display:grid;gap:6px;margin-top:5px}.reading-mini-list>div{display:flex;gap:6px;align-items:center;color:#66746a;font-size:8px}.reading-mini-list small{margin-left:auto;color:#9ba49b}.reading-mini-dot{height:6px;width:6px;border-radius:50%}.reading-mini-dot.bp{background:#d8804b}.reading-mini-dot.glucose{background:#6b9b5f}.lower-columns{margin-top:13px}.week-panel,.ai-preview{min-height:160px}.week-bars{height:83px;display:flex;align-items:end;justify-content:space-around;gap:12px;padding:10px 16px 0}.week-day{height:100%;display:flex;align-items:center;flex-direction:column;justify-content:flex-end;gap:5px;flex:1}.bar-rail{height:60px;width:22px;background:#f2f5f0;border-radius:6px 6px 3px 3px;display:flex;align-items:end;overflow:hidden}.bar-rail i{width:100%;min-height:3px;background:#8bb17d;border-radius:6px 6px 0 0}.week-day small{font-size:7px;color:#a3aca3}.week-caption{font-size:8px;color:#a0a9a0;margin-top:9px}.ai-badge,.test-mode-pill{background:#f3f1e8;color:#95844b;border-radius:5px;padding:5px 7px;font-size:7px;font-weight:750;letter-spacing:.5px;white-space:nowrap}.ai-preview{position:relative}.summary-headline{font-weight:700;font-size:11px;margin:13px 0 4px}.summary-copy{font-size:9px;color:#7f8b81;line-height:1.6;margin:0 0 8px}.ai-disclaimer{border-top:1px solid #f0f2ee;padding-top:8px;margin-top:10px;color:#a2aaa2;font-size:7px}.quick-actions{display:flex;align-items:center;gap:8px;margin-top:14px;flex-wrap:wrap}.quick-actions>span{color:#9ba59b;font-size:8px;margin-right:3px}.setup-nudge{margin-top:14px;background:#eff4eb;border-radius:10px;padding:14px}.setup-nudge p{color:#879385;font-size:9px;margin:7px 0 0}.page-heading+.full-panel,.full-panel{padding:18px 19px;margin:0 0 13px}.habit-overview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin:0 0 14px}.habit-overview{padding:14px 16px}.habit-overview strong{display:block;font-size:24px;letter-spacing:-1px;margin:5px 0 1px}.habit-overview small{color:#99a39a;font-size:8px}.habit-list-full{margin-top:10px}.habit-week-dots{display:flex;gap:8px}.habit-week-dots i{height:7px;width:7px;border:1px solid #dfe5dc;border-radius:50%}.habit-week-dots i.filled{background:var(--green);border-color:var(--green)}.habit-week-total{min-width:26px;text-align:right;color:#89958a;font-size:8px}.habit-actions{display:flex;gap:4px;margin-left:6px;opacity:.55}.habit-actions button{border:0;background:none;color:#71816f;font-size:8px;padding:4px}.habit-actions button:hover{color:var(--green-dark)}.inline-form,.reading-form{display:grid;grid-template-columns:1.4fr 1fr 1fr auto;gap:10px;align-items:end;margin-top:13px}.inline-form label,.reading-form label,.settings-form label{display:grid;gap:5px;color:#667469;font-size:9px;font-weight:600}.inline-form input,.inline-form select,.reading-form input,.reading-form select,.settings-form input,.settings-form select,.settings-form textarea,.filter-select,.search-input,.composer-top select,.onboard-select select,.field-grid input,.field-grid select,.field-grid textarea{min-width:0;height:35px;padding:0 9px;border:1px solid #e3e9e1;border-radius:7px;background:white;color:#445249;font-size:10px;outline:none}.inline-form input:focus,.reading-form input:focus,.settings-form input:focus,.search-input:focus,.composer-panel textarea:focus,.auth-form input:focus{border-color:#9ab68e;box-shadow:0 0 0 3px #6b9b5f18}.reading-cards{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:11px;margin-bottom:13px}.reading-summary-card{padding:14px 15px;position:relative;min-height:111px}.reading-summary-card>.metric-icon{margin-bottom:6px}.reading-summary-card .metric-label{display:block;font-size:9px}.reading-summary-card>strong{font-size:22px;display:inline-block;margin:4px 4px 0 0}.reading-summary-card>small{color:#9ba49b;font-size:8px}.reading-safety p{font-size:9px;color:#849084;line-height:1.6;margin:8px 0 0}.filter-select{height:30px}.table-wrap{overflow:auto;margin-top:13px}.data-table{width:100%;border-collapse:collapse;text-align:left;min-width:690px}.data-table th{background:#f8f9f6;color:#9da69d;font-size:8px;font-weight:650;padding:9px}.data-table td{border-bottom:1px solid #f0f2ee;padding:10px 9px;font-size:9px;color:#6f7b71}.data-table td strong{color:#3d4e42;font-size:10px}.data-table td small{color:#9da69d;font-size:8px}.source-pill,.sample-pill,.category-pill,.plan-tag{background:#f1f5ee;color:#74896d;border-radius:5px;padding:4px 7px;font-size:7px;font-weight:700}.source-pill.personal{background:#eef3f6;color:#718393}.row-delete{height:23px;width:23px;background:#faf7f5;border:0;border-radius:6px;color:#aa7863}.empty-cell{text-align:center!important;padding:25px!important;color:#9da69d!important}.wide-field{grid-column:span 2}.reading-form{grid-template-columns:1fr 1fr 1.2fr 1.3fr auto;margin-top:13px}.reading-form .bp-fields{display:flex;gap:8px}.reading-form .bp-fields label{flex:1}.glucose-field[hidden],.bp-fields[hidden]{display:none!important}.unit-note{color:#9da69d;font-weight:400}.report-disclaimer{display:flex;gap:11px;padding:12px 14px;border:1px solid #f0ead7;background:#fbf8ed;border-radius:9px;margin-bottom:13px;color:#857b5b;font-size:9px}.report-disclaimer b{white-space:nowrap}.report-trigger{display:flex;align-items:center;justify-content:space-between;padding:17px 19px;margin-bottom:14px}.report-trigger h2{font-size:15px;margin:5px 0}.report-trigger p{font-size:9px;color:#909a91;margin:0}.generated-report{padding:20px 21px;margin-bottom:14px}.report-meta{display:flex;justify-content:space-between;align-items:center}.report-meta time{color:#99a29a;font-size:8px}.generated-report h2{font-size:17px;margin:15px 0 6px}.generated-report>p{font-size:10px;color:#748076;line-height:1.75}.insight-list{display:grid;gap:8px;margin:13px 0}.insight-list>div{font-size:9px;color:#68776c;display:flex;gap:8px;align-items:flex-start}.insight-list span{color:var(--orange)}.suggestion{border-radius:8px;background:#f4f7f2;padding:12px;margin:12px 0}.suggestion b{font-size:9px}.suggestion p{font-size:9px;color:#7d897e;margin:5px 0 0}.ai-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:15px}.ai-steps>div{display:grid;grid-template-columns:23px 1fr;column-gap:7px}.ai-steps b{grid-row:span 2;color:#81a078;font-size:10px}.ai-steps strong{font-size:9px}.ai-steps small{color:#929c93;font-size:8px;line-height:1.5;margin-top:3px}.empty-card{border:1px dashed #dfe6dc;background:#fbfcfa;border-radius:10px;padding:25px;text-align:center;color:#9aa59b;font-size:10px;margin:12px 0}.community-safety{display:flex;gap:10px;background:#f2f5f0;padding:11px 13px;border-radius:9px;margin-bottom:13px;color:#829081}.community-safety>span{color:#77926e}.community-safety b{font-size:9px}.community-safety p{font-size:8px;margin:2px 0 0}.composer-panel{display:flex;gap:10px;padding:14px;margin-bottom:13px}.composer-panel>.avatar{margin-top:2px}.composer-panel form{flex:1;min-width:0}.composer-top{display:flex;justify-content:space-between;align-items:center}.composer-top select{height:27px;font-size:9px}.composer-top span{color:#9ca69c;font-size:8px}.composer-panel textarea{width:100%;min-height:70px;resize:vertical;border:1px solid #e8ede6;border-radius:8px;margin:8px 0;padding:9px;font-size:10px;outline:none}.composer-foot{display:flex;justify-content:space-between;align-items:center}.composer-foot small{color:#a1aaa1;font-size:8px}.community-controls,.shop-controls{display:flex;align-items:center;gap:10px;margin:0 0 13px}.filter-pills{display:flex;gap:5px;overflow:auto}.filter-pill{border:1px solid transparent;background:transparent;border-radius:20px;padding:6px 9px;color:#839084;font-size:8px;white-space:nowrap}.filter-pill.active{background:#eaf1e6;color:#5c7d53;font-weight:700}.search-input{height:32px;flex:1;max-width:250px}.feed-list{display:grid;gap:11px}.post-card{padding:15px 17px}.post-top{display:flex;align-items:center;gap:9px}.post-author strong,.post-author small{display:block}.post-author strong{font-size:9px}.post-author small{color:#9ca69d;font-size:8px;margin-top:2px}.soft-avatar{background:#edf1e9;color:#64805e}.sample-pill{margin-left:5px;font-size:6px}.category-pill{margin-left:auto}.post-body{font-size:10px;line-height:1.7;color:#606e63;margin:13px 0}.post-actions{display:flex;gap:15px;border-top:1px solid #f0f2ee;padding-top:8px}.post-actions button{border:0;background:none;color:#889389;font-size:8px;padding:3px}.post-actions button.liked{color:#bd705f}.post-actions .post-flag{margin-left:auto}.post-comments{display:none;padding-top:6px}.comments-open .post-comments{display:block}.comment-row{display:flex;gap:7px;align-items:flex-start;margin:7px 0}.comment-avatar{height:20px;width:20px;border-radius:50%;background:#f1f4ed;color:#7d9075;display:grid;place-items:center;font-size:7px;flex:0 0 auto}.comment-row p{margin:2px 0;color:#7e897f;font-size:8px;line-height:1.5}.comment-row b{color:#556459}.comment-form{display:flex;gap:6px;margin-top:8px}.comment-form input{height:30px;border:1px solid #e6ebe4;border-radius:6px;flex:1;padding:0 8px;font-size:9px}.comment-form button{height:30px;width:30px;border:0;border-radius:6px;background:#edf4e9;color:#64845c}.moderation-note{color:#a4ada4;text-align:center;font-size:8px;padding:14px}.shop-demo-banner{display:flex;gap:9px;background:#f2f5f0;padding:9px 11px;border-radius:8px;color:#879286;font-size:8px;margin-bottom:13px}.shop-demo-banner b{color:#657863}.shop-controls>span{margin-left:auto;color:#9aa49a;font-size:8px}.filter-select{font-size:9px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.product-card{padding:10px 10px 13px}.product-art{height:128px;border-radius:8px;display:grid;place-items:center;font-size:39px;position:relative}.product-art.green,.product-thumb.green{background:#edf4e9;color:#71966a}.product-art.orange,.product-thumb.orange{background:#fff2e6;color:#dc935e}.product-art.blue,.product-thumb.blue{background:#edf3f6;color:#5e7c8c}.product-art i{position:absolute;top:8px;left:8px;background:#fff8e4;color:#9b8a53;font-size:6px;font-style:normal;font-weight:750;border-radius:4px;padding:4px}.product-category{font-size:7px;color:#98a397;letter-spacing:1px;text-transform:uppercase;margin:11px 2px 4px}.product-card h2{font-size:11px;margin:0 2px 5px}.product-card p{font-size:8px;color:#8c978d;line-height:1.55;min-height:37px;margin:0 2px 9px}.product-buy{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eff1ed;padding-top:9px}.product-buy strong{font-size:11px}.product-buy .button-secondary{min-height:29px;font-size:8px}.checkout-layout{display:grid;grid-template-columns:1.5fr .8fr;gap:13px;align-items:start}.basket-panel,.order-summary,.checkout-form{padding:17px}.basket-line{display:flex;align-items:center;gap:10px;border-bottom:1px solid #f0f2ee;padding:11px 0}.product-thumb{height:42px;width:42px;display:grid;place-items:center;border-radius:8px;font-size:20px}.basket-copy{flex:1;min-width:0}.basket-copy b,.basket-copy small{display:block}.basket-copy b{font-size:9px}.basket-copy small{font-size:8px;color:#9aa49b;margin-top:3px}.basket-line>strong{font-size:10px}.order-summary{position:sticky;top:73px}.order-summary h2{font-size:14px;margin:5px 0 15px}.summary-row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f0f2ee;color:#89948b;font-size:9px}.summary-row b{color:#56655b}.summary-row.total{margin:5px 0 10px;border-bottom:0;color:#36473a;font-weight:700}.summary-row.total b{font-size:13px}.order-summary>p{font-size:8px;color:#9aa39a;line-height:1.5}.checkout-step{display:flex;align-items:center;gap:8px;color:#71836f;font-size:9px;font-weight:700}.checkout-step b{height:20px;width:20px;border-radius:50%;background:#edf4e9;display:grid;place-items:center}.checkout-form h2{font-size:16px;margin:13px 0 4px}.small-line{margin:8px 0}.test-payment{display:flex;gap:10px;padding:13px;background:#f5f7f3;border-radius:8px;margin:16px 0}.test-lock{color:#6d8b66;font-size:16px}.test-payment b{font-size:9px}.test-payment p{font-size:8px;color:#879286;line-height:1.5;margin:3px 0 0}.demo-agree{display:flex;align-items:center;gap:7px;font-size:8px;color:#768277;margin:10px 0}.demo-agree input{accent-color:var(--green)}.full-button{width:100%}.cancel-link{display:block;text-align:center;color:#89958b;font-size:8px;margin-top:11px}.checkout-total{font-size:24px;font-weight:750;margin-top:10px}.checkout-total small{font-size:9px;color:#939d94}.secure-note{border-top:1px solid #eef1ec;padding-top:10px;color:#8c998d;font-size:8px;margin-top:13px}.checkout-success{max-width:560px;padding:25px;margin:0 auto;text-align:center}.success-mark,.ready-emblem{height:43px;width:43px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;background:#edf4e9;color:#618957;font-size:20px}.checkout-success h2{font-size:17px;margin:8px 0}.checkout-success>p{color:#88948a;font-size:9px}.receipt-line{display:flex;justify-content:space-between;padding:10px 3px;border-bottom:1px solid #eef1ec;font-size:9px;color:#879287}.receipt-line b{color:#536257}.checkout-success .button-primary{margin-top:17px}.test-mode-pill{display:flex;align-items:center;gap:5px}.test-mode-pill i{height:6px;width:6px;border-radius:50%;background:#78a36d}.settings-layout{display:grid;grid-template-columns:1.2fr .9fr;gap:13px;align-items:start}.settings-main,.settings-side{display:grid;gap:12px}.settings-card,.service-panel,.api-console{padding:16px}.settings-form{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:13px}.settings-form label:first-child{grid-column:1/-1}.settings-form textarea{height:58px;padding:8px;resize:vertical}.settings-form button{justify-self:start}.profile-email{font-size:8px;color:#98a299;margin-top:12px}.profile-email b{color:#67756b}.switch-row,.preference-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #eff2ed}.switch-row b,.preference-row b{display:block;font-size:9px}.switch-row small,.preference-row small{display:block;font-size:8px;color:#9aa49b;margin-top:3px}.switch-row input,.preference-row input{accent-color:var(--green)}.settings-card form>.button-secondary{margin-top:11px}.settings-buttons,.plan-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.plan-tag{font-size:8px}.service-list{margin-top:11px}.service-row{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:9px 0;border-bottom:1px solid #f0f2ee}.service-row b,.service-row small{display:block}.service-row b{font-size:8px}.service-row small{color:#9aa49b;font-size:7px;margin-top:2px}.service-state{border-radius:5px;background:#f5f1e7;color:#95844f;padding:4px 6px;font-size:7px;white-space:nowrap}.service-state.ok{background:#eef4e9;color:#64845a}.console-caption{font-size:7px;color:#a0a99f;margin:8px 0}.api-events{max-height:290px;overflow:auto}.api-event{display:grid;grid-template-columns:34px 1fr 31px 31px;gap:5px;align-items:center;border-top:1px solid #f0f2ee;padding:6px 0}.api-event code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#77847a;font-size:7px}.api-event small,.api-event b{font-size:7px;color:#9ba59b}.method{font-size:6px;font-weight:750;color:#618355}.method.post{color:#bc8852}.method.patch{color:#68859a}.method.delete{color:#b46c5d}.status-ok{color:#6c9a62!important}.status-bad{color:#b46558!important}.text-button{border:0;background:none;color:#69885f;font-size:8px;padding:6px 0}.notification-list{padding:7px 16px}.notification-row{display:flex;align-items:flex-start;gap:11px;padding:14px 0;border-bottom:1px solid #eff2ed}.notification-row:last-child{border-bottom:0}.notification-row.read{opacity:.63}.notification-icon{height:27px;width:27px;background:#eff4eb;color:#69875e;border-radius:8px;display:grid;place-items:center}.notification-row b{font-size:9px}.notification-row p{font-size:8px;color:#859087;margin:3px 0}.notification-row small{font-size:7px;color:#a4aca4}.notification-row .text-button,.read-label{margin-left:auto;white-space:nowrap}.read-label{font-size:7px;color:#9ba59b}.auth-page{min-height:100vh;background:#f7f8f4;padding:25px max(22px,calc((100vw - 1060px)/2)) 34px}.auth-brand{display:flex;justify-content:space-between;align-items:center}.auth-eyebrow{font-size:8px;color:#9ba69d;letter-spacing:1px}.auth-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:70px;align-items:center;max-width:980px;margin:8vh auto 0}.auth-story{padding:24px 0}.auth-story h1{font-size:39px;line-height:1.15;letter-spacing:-1.5px;margin:10px 0}.auth-story h1 em{font-style:normal;color:var(--green-dark)}.auth-story>p{font-size:12px;color:#849087;line-height:1.8;max-width:450px}.auth-feature-list{display:grid;gap:15px;margin:28px 0}.auth-feature-list>div{display:grid;grid-template-columns:32px 1fr;column-gap:9px}.auth-feature-list>div>span{grid-row:span 2;height:29px;width:29px;border-radius:9px;background:white;color:#6a8b60;display:grid;place-items:center}.auth-feature-list b{font-size:10px}.auth-feature-list small{font-size:8px;color:#929c93;margin-top:2px}.auth-disclaimer{border-top:1px solid #e9ede6;padding-top:12px;color:#9aa49b;font-size:8px}.auth-card{background:white;border:1px solid #e9eee7;border-radius:14px;box-shadow:0 15px 40px #28392e0d;padding:21px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f5f7f3;padding:3px;border-radius:8px}.auth-tabs button{height:30px;background:none;border:0;border-radius:6px;color:#89948a;font-size:9px}.auth-tabs button.active{background:white;color:#52664f;box-shadow:0 1px 4px #0000000c;font-weight:700}.auth-card-head{margin:18px 0 13px}.auth-card-head h2{font-size:17px;margin:0 0 4px}.auth-card-head p{font-size:8px;color:#98a198;margin:0}.demo-login-card{display:flex;align-items:center;width:100%;gap:9px;padding:10px;border:1px solid #e8eee5;background:#f9fbf8;border-radius:9px;text-align:left}.demo-avatar{height:31px;width:31px;background:#eaf2e6;color:#5f8457;border-radius:8px;display:grid;place-items:center;font-weight:700}.demo-login-card>span:nth-child(2){flex:1}.demo-login-card b,.demo-login-card small{display:block}.demo-login-card b{font-size:9px}.demo-login-card small{font-size:7px;color:#97a197;margin-top:2px}.demo-login-card>span:last-child{color:#7d9675}.auth-divider{display:flex;align-items:center;gap:9px;color:#a3aca3;font-size:7px;margin:14px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#eef1ec;flex:1}.auth-form{display:grid;gap:10px}.auth-form label{display:grid;gap:5px;font-size:8px;font-weight:650;color:#69776d}.auth-form input{height:35px;border:1px solid #e5ebe3;border-radius:7px;padding:0 9px;font-size:9px;outline:none}.demo-credentials{display:flex;align-items:center;gap:6px;flex-wrap:wrap;background:#f7f8f5;border-radius:7px;padding:8px;margin-top:11px;color:#8c988e;font-size:7px}.demo-credentials b{color:#657469}.demo-credentials span{font-family:ui-monospace,monospace;color:#6d7e70}.auth-legal{text-align:center;color:#a2aba2;font-size:7px;margin:13px 0 0}.onboarding-screen{min-height:100vh;background:#f7f8f4;padding:20px 28px 32px}.onboard-top{max-width:1160px;margin:0 auto 19px;display:flex;align-items:center;justify-content:space-between}.onboard-top .brand{font-size:15px}.onboard-top .brand-mark{width:30px;height:30px}.onboarding-shell{max-width:1160px;min-height:calc(100vh - 95px);margin:auto;background:white;border:1px solid #e9eee7;border-radius:14px;box-shadow:var(--shadow);display:grid;grid-template-columns:275px 1fr;overflow:hidden}.onboard-aside{background:#f3f6f0;padding:26px 22px;display:flex;flex-direction:column}.onboard-aside h2{font-size:20px;line-height:1.3;letter-spacing:-.5px;margin:8px 0}.onboard-aside>p{font-size:9px;color:#89958b;line-height:1.7;margin:0 0 25px}.onboard-step-list{display:grid;gap:8px}.onboard-step{display:flex;align-items:center;gap:9px;color:#99a399;font-size:9px}.onboard-step span{height:22px;width:22px;border:1px solid #dfe6dc;border-radius:50%;display:grid;place-items:center;font-size:8px}.onboard-step.current{color:#526e4f;font-weight:700}.onboard-step.current span,.onboard-step.complete span{background:#6b9b5f;color:#fff;border-color:#6b9b5f}.onboard-step.complete{color:#728471}.onboard-safe{margin-top:auto;border-top:1px solid #e4e9e0;padding-top:12px;color:#98a297;font-size:8px;line-height:1.6}.onboard-main{padding:25px 36px 18px;display:flex;flex-direction:column}.onboarding-progress{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px}.onboarding-progress>span{font-size:7px;color:#9aa49b;font-weight:700;letter-spacing:.8px}.onboarding-progress>div{display:flex;gap:5px}.onboarding-progress i{height:4px;width:22px;border-radius:99px;background:#edf0eb}.onboarding-progress i.done{background:#78a36d}.onboard-content{max-width:650px;min-height:400px}.onboard-kicker{color:#82927e;font-size:8px;font-weight:750;letter-spacing:1px}.onboard-content h1{font-size:23px;line-height:1.3;letter-spacing:-.5px;margin:7px 0}.onboard-content>p{color:#87938a;font-size:10px;line-height:1.7;margin:0 0 16px;max-width:610px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.field-grid label,.onboard-select{display:grid;gap:5px;color:#68766b;font-size:8px;font-weight:650}.field-grid input,.field-grid select{width:100%}.field-grid label small{color:#9aa49b;font-size:7px;font-weight:400}.onboard-callout{display:flex;flex-direction:column;gap:3px;background:#f5f7f2;border-radius:8px;padding:11px 12px;margin-top:15px}.onboard-callout b{font-size:8px;color:#687b65}.onboard-callout span{font-size:8px;line-height:1.6;color:#8d988d}.metric-choice-list{display:grid;gap:9px;margin:16px 0}.metric-choice{position:relative;display:flex;align-items:center;gap:11px;border:1px solid #e6ece3;border-radius:9px;padding:12px;cursor:pointer}.metric-choice input,.habit-choice input{position:absolute;opacity:0}.metric-choice:has(input:checked),.habit-choice:has(input:checked){border-color:#a9c2a0;background:#f8fbf6}.metric-choice-icon{height:33px;width:33px;display:grid;place-items:center;border-radius:9px}.metric-choice b,.metric-choice small{display:block}.metric-choice b{font-size:10px}.metric-choice small{font-size:8px;color:#929c93;margin-top:2px}.metric-choice>span:nth-child(3){flex:1}.metric-choice>i,.habit-choice>i{font-style:normal;border:1px solid #dae2d7;border-radius:50%;height:16px;width:16px;color:transparent;display:grid;place-items:center;font-size:8px}.metric-choice:has(input:checked)>i,.habit-choice:has(input:checked)>i{background:var(--green);color:white;border-color:var(--green)}.onboard-select{max-width:190px}.onboard-select select{width:100%}.habit-choice-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:15px 0}.habit-choice{position:relative;display:flex;flex-direction:column;align-items:flex-start;border:1px solid #e7ece5;border-radius:9px;padding:11px 9px;min-height:91px;cursor:pointer}.habit-choice>span{font-size:17px}.habit-choice>b{font-size:8px;margin-top:5px}.habit-choice>small{font-size:7px;line-height:1.4;color:#9ba49b;margin-top:2px}.habit-choice>i{position:absolute;right:7px;top:7px}.onboarding-screen .field-grid{margin-top:15px}.baseline-tabs{display:flex;gap:8px;margin:14px 0}.baseline-tabs label{display:flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid #e7ece5;border-radius:7px;color:#768378;font-size:8px}.baseline-tabs input{accent-color:var(--green)}.baseline-entry{display:flex;gap:10px;max-width:400px;margin:10px 0}.baseline-entry label{display:grid;gap:5px;flex:1;font-size:8px;color:#657267}.baseline-entry input{height:34px;border:1px solid #e3e9e1;border-radius:7px;padding:0 9px}.baseline-entry[hidden]{display:none!important}.preference-list{display:grid;margin:12px 0}.preference-row input{accent-color:var(--green)}.ready-emblem{margin:0 0 12px}.ready-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:19px}.ready-preview>div{background:#f7f9f5;border-radius:8px;padding:11px;display:grid;gap:4px}.ready-preview span{color:#6d9262;font-size:13px}.ready-preview b{font-size:8px}.ready-preview small{font-size:7px;line-height:1.5;color:#9aa39a}.onboard-footer{border-top:1px solid #eef1ec;margin-top:auto;padding-top:13px;display:flex;align-items:center;justify-content:space-between;gap:9px}.onboard-footer>span{font-size:7px;color:#9ba49b}.offline-screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center}.offline-screen h1{font-size:21px}.offline-screen p{font-size:10px;color:#929d93}.toast-region{position:fixed;z-index:20;right:18px;bottom:18px;display:grid;gap:7px}.toast{max-width:330px;background:#304136;color:white;padding:10px 13px;border-radius:8px;font-size:9px;box-shadow:0 6px 20px #0002;animation:toastin .2s ease-out}.toast.error{background:#954f45}.toast.info{background:#486478}@keyframes toastin{from{transform:translateY(7px);opacity:0}to{transform:none;opacity:1}}[hidden]{display:none!important}
@media(max-width:1100px){.page-wrap{padding-left:25px;padding-right:25px}.topbar{padding:0 25px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.habit-actions{opacity:1}.settings-layout{grid-template-columns:1fr}.settings-side{grid-template-columns:1fr 1fr}.auth-grid{gap:35px}.onboarding-shell{grid-template-columns:235px 1fr}.onboard-main{padding-left:25px;padding-right:25px}}
@media(max-width:760px){.sidebar{display:none}.main-area{margin-left:0}.topbar{height:54px;padding:0 15px}.mobile-brand{display:flex;align-items:center;gap:7px;font-weight:700;font-size:12px;color:#597b51}.mobile-brand .brand-mark{height:25px;width:25px;border-radius:8px;font-size:12px}.mobile-brand .brand-mark:after{font-size:13px;top:4px}.breadcrumbs{display:none}.server-chip{display:none}.page-wrap{padding:22px 15px 88px}.app-footer{padding:8px 15px 75px;font-size:7px}.mobile-nav{position:fixed;z-index:10;left:0;right:0;bottom:0;height:59px;background:#fff;border-top:1px solid #e6ebe4;display:flex;justify-content:space-around;align-items:center;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -4px 18px #2435260b}.mobile-nav .nav-link{height:52px;display:grid;justify-items:center;align-content:center;gap:1px;padding:3px 5px;min-width:55px;font-size:7px;background:none}.mobile-nav .nav-icon{height:20px;font-size:16px}.mobile-nav .nav-count{position:absolute;top:2px;right:6px}.page-heading h1{font-size:21px}.page-heading p{font-size:9px}.date-chip{display:none}.demo-banner{font-size:8px}.metrics-grid{grid-template-columns:1fr 1fr}.habit-metric{grid-column:span 2}.metric-card{padding:13px;min-height:118px}.metric-value{font-size:23px}.dashboard-columns{grid-template-columns:1fr}.dashboard-panel{padding:14px}.lower-columns{margin-top:11px}.quick-actions{gap:5px}.quick-actions>span{width:100%}.quick-actions .button-secondary{font-size:8px;padding:0 8px}.habit-overview-grid{gap:7px}.habit-overview{padding:11px}.habit-overview strong{font-size:20px}.habit-list-full .habit-row{gap:6px}.habit-week-dots{gap:4px}.habit-week-dots i{height:6px;width:6px}.habit-actions{gap:0;margin-left:0}.habit-actions button{padding:3px;font-size:7px}.inline-form,.reading-form{grid-template-columns:1fr 1fr;gap:8px}.inline-form button,.reading-form>button{grid-column:1/-1}.reading-form .bp-fields{gap:6px}.reading-form .bp-fields label{min-width:0}.reading-form .wide-field{grid-column:1/-1}.reading-cards{grid-template-columns:1fr 1fr}.reading-safety{grid-column:span 2}.report-trigger{align-items:flex-start;gap:8px;flex-direction:column}.report-disclaimer{flex-direction:column;gap:3px}.ai-steps{gap:7px}.ai-steps>div{grid-template-columns:1fr}.ai-steps b{grid-row:auto;margin-bottom:4px}.community-controls{align-items:flex-start;flex-direction:column}.filter-pills{width:100%}.search-input{max-width:none;width:100%}.post-card{padding:12px}.post-actions{gap:8px}.product-grid{grid-template-columns:1fr 1fr;gap:8px}.product-art{height:100px}.product-card{padding:8px}.product-card h2{font-size:10px}.product-card p{font-size:7px;min-height:50px}.product-buy .button-secondary{padding:0 6px}.checkout-layout{grid-template-columns:1fr}.order-summary{position:static}.settings-side{grid-template-columns:1fr}.settings-form{grid-template-columns:1fr}.settings-form label:first-child{grid-column:auto}.auth-page{padding:17px 15px 30px}.auth-eyebrow{font-size:6px}.auth-grid{grid-template-columns:1fr;gap:10px;margin:19px auto 0}.auth-story{padding:4px 4px 0}.auth-story h1{font-size:27px;margin:6px 0}.auth-story>p{font-size:9px;line-height:1.55}.auth-feature-list{display:none}.auth-disclaimer{font-size:7px;padding-top:8px}.auth-card{padding:15px}.onboarding-screen{padding:10px 10px 20px}.onboard-top{margin-bottom:9px;padding:0 2px}.onboarding-shell{display:block;min-height:calc(100vh - 69px);border-radius:11px}.onboard-aside{padding:12px 14px 8px}.onboard-aside .eyebrow,.onboard-aside h2,.onboard-aside>p,.onboard-safe{display:none}.onboard-step-list{display:flex;justify-content:space-between;gap:4px}.onboard-step{display:grid;justify-items:center;gap:3px;font-size:6px;flex:1}.onboard-step span{height:19px;width:19px}.onboard-main{padding:17px 15px 13px;min-height:570px}.onboard-content{min-height:433px}.onboard-content h1{font-size:19px}.onboard-content>p{font-size:9px}.onboarding-progress{margin-bottom:14px}.habit-choice-grid{grid-template-columns:repeat(2,1fr)}.habit-choice{min-height:76px}.habit-choice:last-child{grid-column:span 2}.field-grid{grid-template-columns:1fr}.field-grid label{grid-column:auto}.ready-preview{gap:5px}.ready-preview>div{padding:8px}.onboard-footer{flex-wrap:wrap}.onboard-footer>span{order:3;width:100%;text-align:center}.onboard-footer .button-secondary,.onboard-footer .button-primary{min-width:92px}.baseline-tabs{flex-direction:column}.checkout-success{padding:19px}.api-event{grid-template-columns:34px 1fr 27px 27px}}
@media print{.sidebar,.topbar,.mobile-nav,.app-footer,.page-heading button,.button-primary,.button-secondary,.button-quiet,.toast-region{display:none!important}.main-area{margin:0}.page-wrap{padding:0}.panel{box-shadow:none;break-inside:avoid}}
.clinical-overview{padding:18px;margin-top:14px}.clinical-overview>p,.clinical-reference-note{font-size:9px;color:#7f8b80;line-height:1.65}.clinical-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0}.clinical-metrics>div{background:#f7f9f5;border-radius:8px;padding:12px;display:grid;gap:4px}.clinical-metrics b{font-size:9px;color:#67766a}.clinical-metrics strong{font-size:16px;color:#36483a}.clinical-metrics small{font-size:8px;color:#8e998f;line-height:1.5}.clinical-prompt{display:flex;gap:9px;align-items:flex-start;background:#f4f7ef;border-radius:8px;padding:10px 12px;margin-top:9px;font-size:9px;color:#72816f;line-height:1.6}.clinical-prompt b{color:#536d4f;white-space:nowrap}.clinical-prompt span{font-size:9px}.clinical-reference-note{background:#f5f7f3;border-radius:8px;padding:10px 12px;margin:10px 0}.clinical-urgent{display:flex;flex-direction:column;gap:4px;background:#fff0ed;border:1px solid #f2c7bf;border-radius:9px;padding:13px 15px;margin:0 0 13px;color:#80493f;font-size:10px;line-height:1.6}.clinical-urgent b{font-size:11px;color:#8d3e33}.reading-export{display:flex;align-items:center;gap:10px;padding-top:12px}.reading-export span{font-size:8px;color:#929d93}.rich-reading-form{grid-template-columns:repeat(2,minmax(0,1fr))}.rich-reading-form .bp-fields,.rich-reading-form .glucose-field{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.rich-reading-form .bp-fields[hidden],.rich-reading-form .glucose-field[hidden]{display:none}.rich-reading-form label{display:grid;align-content:start;gap:5px;font-size:8px;color:#68766b}.rich-reading-form fieldset{min-width:0;border:1px solid #e9eee7;border-radius:8px;padding:9px;display:flex;flex-wrap:wrap;gap:8px}.rich-reading-form legend{font-size:8px;color:#69786c;padding:0 4px}.rich-reading-form fieldset label{display:flex;align-items:center;gap:4px;font-size:8px;font-weight:400}.rich-reading-form fieldset input{accent-color:var(--green)}.quality-flags,.symptom-flags{grid-column:1/-1}.measurement-guide{margin-top:12px;border-top:1px solid #edf0eb;padding-top:11px;color:#59685d;font-size:9px}.measurement-guide summary{cursor:pointer;font-weight:700}.measurement-guide div{color:#7d897e;line-height:1.7}.measurement-guide p{font-size:9px}.data-table td small{display:block;color:#8d988e;font-size:7px;margin-top:3px}.clinician-outlook{min-height:100vh;display:grid;align-content:center;justify-items:center;gap:12px;max-width:600px;margin:auto;padding:28px;text-align:center}.clinician-outlook h1{font-size:25px;margin:0}.clinician-outlook>p,.clinician-outlook .panel p{font-size:12px;color:#78867a;line-height:1.7}.clinician-outlook .panel{padding:17px;text-align:left;width:100%}
@media(max-width:760px){.clinical-metrics{grid-template-columns:1fr}.clinical-prompt{display:grid}.clinical-prompt b{white-space:normal}.rich-reading-form{grid-template-columns:1fr}.rich-reading-form .bp-fields,.rich-reading-form .glucose-field{grid-template-columns:1fr}.reading-export{align-items:flex-start;flex-direction:column}}
.signup-consents{display:grid;gap:10px;margin:2px 0 5px}.consent-check{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:9px!important;background:#f7f9f5;border:1px solid #e5ebe2;border-radius:8px;padding:10px;font-size:10px!important;line-height:1.55;color:#526253!important}.consent-check input{accent-color:var(--green);width:16px;height:16px;flex:0 0 auto;margin:1px 0 0}.consent-check span{font-weight:500}.privacy-summary{border:1px solid #e9eee7;border-radius:8px;padding:8px 10px;color:#758176;font-size:9px;line-height:1.6}.privacy-summary summary{cursor:pointer;font-weight:700;color:#5e705f}.privacy-summary p{margin:8px 0 0}.auth-card .auth-form .full-button{margin-top:3px}.auth-card .resend-code{display:block;margin:10px auto 0}.consent-gate{min-height:100vh;display:grid;align-content:center;justify-items:center;gap:18px;padding:20px}.consent-gate .auth-card{width:min(520px,100%)}.consent-gate .auth-card-head h1{font-size:21px;margin:4px 0}.user-menu .signout-button{margin-left:auto}.top-actions .signout-button{white-space:nowrap;padding:0 10px;min-height:30px;border:1px solid #e7ece5;border-radius:8px;background:#fff;color:#657568;font-size:10px}.auth-card .auth-legal{line-height:1.5}
@media(max-width:760px){.top-actions .signout-button{font-size:8px;padding:0 7px}.user-menu .signout-button{font-size:9px}.consent-gate{align-content:start;padding-top:36px}}

/* Alevate's public landing page: warm paper, garden green, distinct chapters. */
.landing-page{--lp-ink:#24372b;--lp-muted:#647466;--lp-green:#4f7650;--lp-line:#dfe7dc;--lp-paper:#faf9f4;background:#faf9f4;color:var(--lp-ink);overflow-x:clip}
.landing-nav{height:76px;max-width:1320px;padding:0 6vw;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9ece4;position:relative;z-index:5}
.landing-brand{display:inline-flex;align-items:center;gap:10px;color:#38583d;font-weight:750;letter-spacing:-.5px;text-decoration:none;font-size:20px}.landing-brand i{font-style:normal;color:#718572;font-weight:450}.landing-brand .brand-mark{width:34px;height:34px;display:grid;place-items:center;background:#e6eee2;color:#54784e;border-radius:11px;font-size:15px}
.landing-nav nav{display:flex;align-items:center;gap:30px}.landing-nav nav>a{color:#5d6c60;text-decoration:none;font-size:13px;font-weight:550}.landing-nav nav>a:hover,.landing-text-link:hover{color:#38583d}.landing-nav nav .landing-nav-cta{padding:12px 17px;border-radius:8px;background:#456c49;color:white}.landing-menu{display:none;border:0;background:none;font-size:22px;color:#456c49}
.landing-hero{max-width:1320px;margin:auto;min-height:min(760px,calc(100svh - 76px));padding:76px 6vw 68px;display:grid;grid-template-columns:.94fr 1.06fr;align-items:center;gap:4vw;position:relative}
.hero-copy{position:relative;z-index:2;padding-bottom:20px}.landing-eyebrow{font-size:11px;letter-spacing:1.7px;text-transform:uppercase;font-weight:700;color:#728270;display:inline-flex;align-items:center;gap:9px}.landing-eyebrow>i{height:7px;width:7px;border-radius:50%;background:#bd8d65}.hero-copy h1{font:500 clamp(48px,6vw,82px)/.99 Georgia,'Times New Roman',serif;letter-spacing:-3.3px;margin:26px 0 21px;color:#293b2e}.hero-copy h1 em{font-weight:400;color:#628362}.hero-copy>p,.privacy-copy>p,.setup-copy>p{max-width:490px;font-size:17px;line-height:1.7;color:#637264;margin:0}.hero-actions{display:flex;align-items:center;gap:23px;margin-top:28px}.landing-primary{display:inline-flex;align-items:center;gap:18px;text-decoration:none;color:white;background:#496f4b;padding:15px 19px;border-radius:9px;font-size:14px;font-weight:650;box-shadow:0 7px 18px #496f4b24;transition:transform .2s,background .2s}.landing-primary:hover{background:#385c3c;transform:translateY(-2px)}.landing-primary span{font-size:19px;line-height:14px}.landing-text-link{color:#547553;font-size:13px;font-weight:650;text-decoration:none}.hero-note{margin-top:25px;display:flex;gap:9px;align-items:center;color:#778578;font-size:12px}.hero-note span{width:18px;height:18px;display:grid;place-items:center;background:#e7eee4;border-radius:50%;color:#527b50;font-size:11px}
.hero-scene{height:520px;position:relative;isolation:isolate;margin-right:-2vw}.hero-photo{position:absolute;inset:2% 4% 7% 13%;width:83%;height:88%;object-fit:cover;object-position:center 43%;border-radius:48% 48% 18px 18px;box-shadow:0 30px 60px #33453626;z-index:1}.scene-halo{position:absolute;z-index:0;inset:0 3% 0 20%;border-radius:50% 50% 24% 24%;background:#e1e8d6}.scene-paper{position:absolute;z-index:2;left:3%;bottom:3%;height:30%;width:48%;background:linear-gradient(145deg,#f4ecde,#e8deca);clip-path:polygon(0 18%,100% 0,94% 100%,0 88%);filter:drop-shadow(0 12px 15px #29392f1a)}.reading-note{position:absolute;z-index:3;left:0;bottom:9%;width:245px;padding:20px 22px;background:#fffdf8;border:1px solid #ece8dc;border-radius:11px;box-shadow:0 15px 40px #29392f1c;display:grid;gap:7px}.note-label{font-size:9px;letter-spacing:1.3px;color:#879188;font-weight:700}.reading-note>b{font:500 22px Georgia,serif;color:#3c583f}.reading-note>small{color:#718073;font-size:11px;line-height:1.5;max-width:175px}.reading-note>i{position:absolute;right:17px;top:39px;font-style:normal;color:#bc8961;font-size:22px}.scene-caption{position:absolute;right:2%;bottom:1%;font:italic 13px Georgia,serif;color:#718073}.hero-bottom{position:absolute;left:6vw;right:6vw;bottom:19px;display:flex;align-items:center;gap:13px;color:#98a196;font-size:9px;letter-spacing:1.5px}.hero-bottom i{display:block;width:28px;height:1px;background:#cad4c7}
.landing-act{position:relative}.landing-how{background:#e9eee2;color:#293c2d;min-height:100vh}.how-stage{max-width:1200px;margin:auto;min-height:100vh;padding:130px 7vw;display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:10vw}.how-intro h2,.privacy-copy h2,.rhythm-heading h2,.setup-copy h2{font:500 clamp(42px,5vw,67px)/1.04 Georgia,serif;letter-spacing:-2px;margin:22px 0 16px}.how-intro>p{font-size:15px;line-height:1.75;color:#667567;max-width:385px}.how-stack{position:relative;min-height:440px;display:flex;flex-direction:column;justify-content:center;gap:14px}.track-card{position:relative;display:grid;gap:8px;width:min(100%,470px);padding:23px 27px 22px 29px;border-radius:12px;border:1px solid #e5e8df;background:#fffdf8;box-shadow:0 12px 35px #29392f12}.track-card:nth-child(2){margin-left:8%}.track-card:nth-child(3){margin-left:16%}.track-card>span{font-size:9px;color:#869085;letter-spacing:1.2px;font-weight:700}.track-card>b{font:500 24px Georgia,serif;color:#344937}.track-card>small{font-size:12px;color:#748175}.track-card>i{position:absolute;right:24px;top:28px;font-style:normal;color:#b77d59;font-size:23px}.sugar-track>i{color:#7990a1}.habit-track>i{color:#648267}
.landing-privacy{background:#f8f5eb;min-height:640px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:8vw;padding:105px max(8vw,calc((100vw - 1160px)/2))}.privacy-copy h2{font-size:clamp(40px,4.6vw,60px)}.privacy-copy>p{font-size:15px;max-width:500px}.privacy-copy>.landing-text-link{display:inline-block;margin-top:17px}.privacy-points{display:grid;grid-template-columns:1fr;gap:11px;margin-top:28px}.privacy-points>div{display:flex;align-items:center;gap:12px;font-size:13px;color:#58695a}.privacy-points b{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#e5ecdf;color:#547751;font-size:12px}.privacy-object{position:relative;height:360px;display:grid;place-items:center}.privacy-orbit{position:absolute;border:1px solid #d9e2d3;border-radius:50%;transform:rotate(-18deg)}.orbit-one{width:330px;height:235px}.orbit-two{width:250px;height:350px;transform:rotate(58deg);border-color:#eadfd0}.privacy-log{position:relative;width:min(300px,80%);padding:22px;background:#fffdf8;border:1px solid #ebe9df;border-radius:13px;box-shadow:0 24px 54px #3445361c;display:grid;gap:13px}.privacy-log>span{font-size:9px;letter-spacing:1.4px;color:#8a9588}.privacy-log>b{font-size:14px;font-weight:550;border-bottom:1px solid #eef0e9;padding-bottom:10px}.privacy-log>b i{float:right;width:7px;height:7px;margin-top:7px;border-radius:50%;background:#84a27c}.privacy-log>small{color:#758274;font-size:11px;padding-top:4px}
.landing-rhythm{background:#f0e9dc;min-height:590px}.rhythm-stage{min-height:590px;padding:95px 0 74px 9vw;overflow:hidden;display:flex;flex-direction:column;justify-content:center}.rhythm-heading{max-width:1100px;margin:0 auto 24px;width:100%;padding:0 7vw 0 0}.rhythm-heading h2{font-size:clamp(38px,4vw,52px);margin:12px 0}.rhythm-rail{display:flex;gap:15px;width:max-content;will-change:transform;padding:6px 10vw 18px 0}.rhythm-rail article{width:260px;height:220px;position:relative;background:#fffdf8;border:1px solid #ece4d6;border-radius:11px;padding:23px;display:flex;flex-direction:column;gap:10px;box-shadow:0 12px 28px #4439230d}.rhythm-rail article>span{font-size:9px;color:#8a9387;letter-spacing:1.1px}.rhythm-rail article>b{font:500 23px Georgia,serif;color:#3a503d}.rhythm-rail article>p{max-width:185px;font-size:12px;line-height:1.55;color:#718071}.rhythm-rail article>i{position:absolute;right:20px;bottom:16px;font-style:normal;color:#bd8a62;font-size:25px}.rhythm-hint{max-width:1100px;width:100%;margin:0 auto;color:#7a8477;font-size:11px}
.landing-setup{min-height:620px;background:#4f6c51;color:#f6f4e9;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:8vw;padding:110px max(8vw,calc((100vw - 1160px)/2));position:relative;overflow:hidden}.setup-orbit{height:350px;width:350px;border:1px solid #c3d0b850;border-radius:50%;display:flex;align-items:center;justify-content:center;gap:13px;position:relative;justify-self:center}.setup-orbit:before,.setup-orbit:after{content:'';position:absolute;inset:28px;border:1px solid #c3d0b830;border-radius:50%;transform:rotate(32deg)}.setup-orbit:after{inset:65px;transform:rotate(-28deg)}.setup-orbit span{z-index:1;width:76px;height:76px;display:grid;place-items:center;border-radius:50%;background:#f6f3e9;color:#4e6d50;font-size:12px;letter-spacing:1px;box-shadow:0 8px 24px #273f2a55}.setup-orbit i{font-style:normal;color:#d4b08b;font-size:19px}.setup-copy h2{font-size:clamp(44px,5vw,64px);margin:18px 0}.setup-copy .landing-eyebrow{color:#dae2d5}.setup-copy>p{color:#e0e7db;font-size:15px;max-width:440px}.setup-copy .landing-primary{background:#f8f4e9;color:#3e603f;margin-top:25px}.setup-copy>small{display:block;color:#d5dfd2;font-size:11px;margin-top:16px}.landing-footer{min-height:86px;padding:22px 6vw;display:flex;justify-content:space-between;align-items:center;gap:18px;background:#faf9f4;border-top:1px solid #e8ebe2}.landing-footer>.landing-brand{font-size:15px}.landing-footer>.landing-brand .brand-mark{width:28px;height:28px;font-size:12px}.landing-footer>span{font:italic 13px Georgia,serif;color:#7c897c}.landing-footer>div{display:flex;gap:22px}.landing-footer>div a{font-size:11px;color:#657366;text-decoration:none}
.landing-page .sc-in{animation:none}.landing-page [data-sc-in]{transition:opacity .55s ease,transform .55s ease}.landing-page .sc-in[data-sc-in]{opacity:1;transform:none}
@media(max-width:850px){.landing-nav{height:64px;padding:0 20px}.landing-nav nav{gap:17px}.landing-nav nav>a{font-size:12px}.landing-hero{min-height:auto;padding:60px 6vw 62px;grid-template-columns:1fr 1fr;gap:2vw}.hero-copy h1{font-size:clamp(46px,7vw,64px)}.hero-scene{height:420px}.reading-note{width:210px;padding:16px}.how-stage{padding:90px 6vw;gap:5vw}.landing-privacy{padding:85px 7vw;gap:4vw}.privacy-object{height:310px}.landing-setup{padding:85px 7vw;gap:4vw}.setup-orbit{width:290px;height:290px}}
@media(max-width:620px){.landing-nav{height:60px;padding:0 17px}.landing-brand{font-size:17px}.landing-nav nav{display:none;position:absolute;top:59px;left:0;right:0;background:#faf9f4;padding:18px;box-shadow:0 15px 20px #24372b12;flex-direction:column;align-items:stretch;gap:17px}.landing-nav.menu-open nav{display:flex}.landing-nav nav>a{font-size:14px}.landing-nav nav .landing-nav-cta{text-align:center}.landing-menu{display:block}.landing-hero{display:flex;flex-direction:column;align-items:stretch;padding:47px 21px 56px;gap:25px}.hero-copy{padding:0}.hero-copy h1{font-size:clamp(46px,13vw,64px);letter-spacing:-2px;margin:20px 0 14px}.hero-copy>p{font-size:15px}.hero-actions{align-items:flex-start;flex-direction:column;gap:16px;margin-top:22px}.hero-scene{height:min(430px,105vw);width:100%;margin:0 0 8px}.hero-photo{inset:0 3% 7% 12%;width:84%;height:88%}.reading-note{width:190px;left:0;bottom:8%;padding:14px 15px}.reading-note>b{font-size:19px}.scene-caption{right:2%;font-size:11px}.hero-bottom{left:21px;right:21px;bottom:19px;gap:8px;font-size:7px}.hero-bottom i{width:18px}.how-stage{min-height:760px;padding:85px 23px 70px;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:22px}.how-intro h2,.privacy-copy h2,.setup-copy h2{font-size:44px;margin:14px 0}.how-intro>p{font-size:14px}.how-stack{min-height:330px;gap:10px}.track-card{padding:18px;width:96%}.track-card:nth-child(2){margin-left:3%}.track-card:nth-child(3){margin-left:6%}.track-card>b{font-size:21px}.landing-privacy{padding:74px 23px;display:flex;flex-direction:column;align-items:stretch;gap:23px}.privacy-copy>p,.setup-copy>p{font-size:14px}.privacy-object{height:290px;order:-1}.orbit-one{width:270px;height:195px}.orbit-two{width:205px;height:285px}.privacy-log{width:260px}.privacy-points{margin-top:22px}.landing-rhythm,.rhythm-stage{min-height:530px}.rhythm-stage{padding:70px 0 52px 23px}.rhythm-heading{padding-right:20px}.rhythm-heading h2{font-size:42px}.rhythm-rail article{width:235px;height:205px}.rhythm-hint{padding-right:20px}.landing-setup{padding:73px 23px 78px;display:flex;flex-direction:column;gap:26px;align-items:stretch}.setup-orbit{width:230px;height:230px;order:2}.setup-orbit span{width:59px;height:59px;font-size:10px}.setup-orbit i{font-size:14px}.setup-copy h2{font-size:45px}.landing-footer{padding:22px;flex-wrap:wrap}.landing-footer>span{display:none}.landing-footer>div{gap:13px}.landing-footer>div a{font-size:10px}}
@media(prefers-reduced-motion:reduce){.landing-page *{scroll-behavior:auto!important;transition:none!important;animation:none!important}.hero-photo,.scene-halo,.scene-paper,.reading-note{transform:none!important}}

/* Readability pass: calmer, clearer health records and dashboard cards. */
:root{--ink:#26352b;--muted:#68766b;--line:#e3e9e1;--shadow:0 3px 14px #29392f0a}
body{font-size:15px;line-height:1.6}
.page-wrap{width:min(1360px,100%)}
.page-heading{margin-bottom:22px}
.page-heading h1{font-size:28px;letter-spacing:-.55px}
.page-heading p{font-size:14px;color:#667469;line-height:1.65}
.eyebrow{font-size:10px;letter-spacing:1px;color:#768477}
.panel{border-radius:12px;box-shadow:var(--shadow)}
.section-title h2{font-size:17px;letter-spacing:-.2px}
.panel-description{font-size:13px;color:#68766b;line-height:1.6}
.metric-label{font-size:13px;color:#536256}
.metric-head small,.metric-foot{font-size:11px;color:#667469}
.metric-value{font-size:30px}
.dashboard-panel,.full-panel{padding:20px}
.reading-cards{gap:12px}
.reading-summary-card{padding:18px;min-height:126px;display:grid;align-content:start;gap:7px}
.reading-summary-card .metric-label{font-size:13px}
.reading-summary-card strong{font-size:25px;line-height:1.2;color:#26352b}
.reading-summary-card small{font-size:12px;color:#68766b}
.reading-safety p{font-size:13px;line-height:1.6;color:#536256}
.data-table{font-size:13px}
.data-table th{font-size:11px;color:#68766b;letter-spacing:.2px}
.data-table td{padding:12px 10px;line-height:1.5}
.data-table td strong{font-size:14px;color:#26352b}
.data-table td small{font-size:11px;color:#68766b}
.table-wrap{border:1px solid #e7ece5;border-radius:10px}
.filter-select,.reading-form input,.reading-form select,.rich-reading-form input,.rich-reading-form select{min-height:42px;font-size:14px;color:#29392f}
.reading-form,.rich-reading-form{gap:14px}
.reading-form label,.rich-reading-form label{font-size:12px;color:#536256}
.reading-form .button-primary{min-height:42px;font-size:13px}
.habit-overview{padding:16px;display:grid;gap:5px}
.habit-overview strong{font-size:26px;color:#26352b}
.habit-overview small{font-size:12px;color:#68766b}
.habit-list-full .habit-row{min-height:58px}
.habit-copy strong{font-size:13px}
.habit-copy small{font-size:11px;color:#68766b}
.week-panel,.full-panel{margin-top:14px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #8dbb7e;outline-offset:2px}
@media(max-width:760px){
 body{font-size:14px}
 .page-wrap{padding:19px 14px 88px}
 .page-heading{align-items:flex-start;flex-direction:column;gap:12px}
 .page-heading h1{font-size:24px}
 .page-heading p{font-size:13px}
 .dashboard-panel,.full-panel{padding:15px}
 .reading-cards{grid-template-columns:1fr 1fr}
 .reading-summary-card{padding:13px;min-height:118px}
 .reading-summary-card strong{font-size:22px}
 .reading-safety{grid-column:1/-1}
 .table-wrap{overflow-x:auto}
 .data-table{min-width:680px;font-size:12px}
 .data-table td{padding:10px 8px}
 .reading-form,.rich-reading-form{gap:10px}
}

/* Clear layouts for grouped habits, the reading calendar, and measurement guides. */
.personal-summary{padding:20px 22px;margin:0 0 15px;border-left:4px solid #79a96e;background:#fff}
.personal-summary h2{font-size:20px;line-height:1.35;margin:6px 0;color:#26352b}
.personal-summary p{font-size:14px;line-height:1.65;color:#536256;margin:0 0 8px}
.personal-summary>small{font-size:11px;color:#718074}
.daily-rhythm{margin-top:15px;padding:20px}
.habit-groups{display:grid;gap:9px;margin-top:10px}
.habit-group{border:1px solid #e5ebe3;border-radius:10px;background:#fff;overflow:hidden}
.habit-group>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer;list-style:none;padding:13px 15px;font-size:14px;font-weight:700;color:#344638}
.habit-group>summary::-webkit-details-marker{display:none}
.habit-group>summary::after{content:'⌄';color:#778879;font-size:17px;margin-left:5px}
.habit-group:not([open])>summary::after{content:'›'}
.habit-group>summary small{margin-left:auto;color:#68766b;font-size:12px;font-weight:500}
.habit-group>div{padding:0 12px 8px;border-top:1px solid #edf0eb}
.habit-group .habit-row{min-height:54px}
.panel-link-row{display:flex;justify-content:space-between;gap:10px;padding-top:13px;margin-top:7px;border-top:1px solid #edf0eb;font-size:12px;color:#68766b}
.panel-link-row a,.mini-link{color:#4d7850;font-weight:700}
.measurement-guides{margin-top:22px}
.measurement-guides .section-title{margin-bottom:11px}
.measurement-guides h2{font-size:18px}
.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.guide-card{padding:17px 18px}
.guide-card h3{font-size:16px;margin:13px 0 7px}
.guide-card ol{padding-left:22px;margin:0;color:#536256;font-size:13px;line-height:1.7}
.guide-card li+li{margin-top:5px}
.guide-image-placeholder{min-height:112px;border-radius:9px;background:#f1f5ee;border:1px dashed #cbd8c6;display:grid;place-items:center;text-align:center;color:#657b61;font-size:12px;font-weight:650}
.measurement-guides>.fine-print{font-size:12px;line-height:1.6;color:#68766b;margin-top:9px}
.habit-groups-page{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.habit-group-card{padding:18px}
.habit-group-count{font-size:12px;color:#68766b}
.habit-group-card .habit-list-full{border-top:1px solid #edf0eb;margin-top:10px}
.reading-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:0 0 14px}
.reading-counts>div{background:#fff;border:1px solid #e5ebe3;border-radius:10px;padding:13px 15px;display:grid;gap:2px}
.reading-counts b{font-size:22px;color:#26352b}
.reading-counts span{font-size:12px;color:#68766b}
.reading-calendar,.selected-day-readings,.reading-entry{padding:19px;margin-top:14px}
.calendar-nav{display:flex;align-items:center;gap:10px}
.calendar-nav strong{min-width:145px;text-align:center;font-size:14px}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:14px}
.calendar-weekday{text-align:center;padding:5px 2px;font-size:11px;font-weight:700;color:#68766b}
.calendar-day{min-height:58px;border:1px solid #e8ede6;border-radius:8px;background:#fff;color:#344638;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:14px}
.calendar-day small{font-size:9px;color:#68766b;line-height:1.1}
.calendar-day .day-dot{width:5px;height:5px;border-radius:50%;background:transparent}
.calendar-day.has-records{border-color:#c5d8be;background:#f5f9f2}
.calendar-day.has-records small{color:#4d7850}
.calendar-day.selected{background:#4d7850;border-color:#4d7850;color:white}
.calendar-day.selected small{color:#f3f7f0}
.calendar-pad{min-height:58px}
.day-record-count{font-size:12px;color:#68766b}
.day-reading-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:12px}
.day-reading-card{border:1px solid #e5ebe3;border-radius:10px;padding:14px;display:grid;gap:5px}
.day-reading-card h3{font-size:13px;margin:0;color:#536256}
.day-reading-card strong{font-size:22px;color:#26352b}
.day-reading-card p,.day-reading-card small{font-size:12px;color:#68766b;margin:0;line-height:1.5}
.summary-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:14px}
.summary-detail-grid article{padding:16px;display:grid;align-content:start;gap:7px}
.summary-detail-grid strong{font-size:19px;color:#26352b}
.summary-detail-grid small{font-size:12px;color:#68766b}
.community-gate{padding:24px;margin-top:15px}
.community-gate h2{font-size:19px;margin:0 0 7px}
.community-gate p{font-size:14px;color:#68766b;line-height:1.65;margin:0}
.community-flow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.community-option{padding:21px;display:flex;flex-direction:column;align-items:flex-start}
.community-option-head{display:flex;align-items:center;gap:12px}
.community-symbol{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#f0f3e8;color:#667e42;font-size:20px}
.updates-symbol{background:#f8eee5;color:#c76a2c}
.community-option .eyebrow{font-size:9px;letter-spacing:.09em;color:#87964b;font-weight:700}
.community-option h2{font-family:Georgia,serif;font-size:20px;color:#35495c;margin:3px 0 0}
.community-option>p{font-size:13px;line-height:1.65;color:#68766b;margin:15px 0 18px}
.community-option form{width:100%;display:grid;gap:11px;margin-top:auto}
.community-status{font-size:11px;line-height:1.5;color:#778277}
.community-preferences{border-top:1px solid #edf0eb;padding-top:7px}
.community-pref-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid #edf0eb;cursor:pointer}
.community-pref-row span{display:grid;gap:4px}
.community-pref-row b{font-size:13px;color:#354238}
.community-pref-row small{font-size:11px;line-height:1.5;color:#7c877d}
.community-pref-row input{width:18px;height:18px;flex:0 0 auto;accent-color:#647f4c}
.community-preferences>button{justify-self:start;margin-top:5px}
.community-privacy{padding:17px 20px;margin-top:14px;background:#f8f9f5}
.community-privacy h2{font-size:14px;margin:0 0 5px;color:#405469}
.community-privacy p{font-size:12px;line-height:1.6;color:#68766b;margin:0}
@media(max-width:760px){
 .daily-rhythm{padding:14px}
 .habit-groups-page,.guide-grid,.summary-detail-grid{grid-template-columns:1fr}
 .guide-card{padding:14px}
 .reading-counts{gap:6px}
 .reading-counts>div{padding:10px 8px}
 .reading-counts b{font-size:18px}
 .reading-counts span{font-size:10px;line-height:1.35}
 .reading-calendar,.selected-day-readings,.reading-entry{padding:13px}
 .calendar-nav{gap:5px}
 .calendar-nav strong{min-width:105px;font-size:12px}
 .calendar-grid{gap:3px}
 .calendar-day,.calendar-pad{min-height:44px}
 .calendar-day{border-radius:6px;font-size:12px}
 .calendar-day small{font-size:8px}
 .day-reading-grid{grid-template-columns:1fr}
 .day-reading-card{padding:12px}
 .panel-link-row{font-size:11px;align-items:flex-start}
 .community-flow{grid-template-columns:1fr;gap:10px}.community-option{padding:16px}.community-option h2{font-size:18px}.community-privacy{padding:14px}
 .habit-group>summary{padding:11px;font-size:13px}
 .habit-group>summary small{font-size:10px}
}

.day-reading-row span{display:block;margin-top:3px;font-size:12px;line-height:1.5;color:#68766b}
.day-reading-row small{display:block;margin-top:4px;font-size:11px;color:#78867a}

/* Public, low-friction storefront and just-in-time health consent. */
.public-shop{min-height:100vh;padding:24px clamp(16px,5vw,70px) 45px;background:var(--bg)}
.public-shop-head{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding-bottom:16px}
.public-shop-head nav{display:flex;align-items:center;gap:16px}
.public-shop-head nav a{font-size:13px;font-weight:650;color:#4d7850}
.public-shop-head nav .button-primary{display:inline-flex;align-items:center;min-height:40px;padding:0 15px;color:white;border-radius:8px}
.public-shop-intro{max-width:720px;margin:42px auto 26px;text-align:center}
.public-shop-intro h1{font-size:clamp(26px,4vw,38px);letter-spacing:-.8px;margin:8px 0;color:#26352b}
.public-shop-intro p{font-size:15px;line-height:1.6;color:#68766b;margin:0}
.public-shop .shop-demo-banner,.public-shop .shop-controls,.public-shop .product-grid{max-width:1120px;margin-left:auto;margin-right:auto}
.device-ownership{display:grid;grid-template-columns:1fr 1fr;gap:10px;border:1px solid #e5ebe3;border-radius:9px;padding:12px;margin:0 0 14px}
.device-ownership legend{padding:0 5px;font-size:12px;font-weight:700;color:#536256}
.device-ownership label{display:grid;gap:5px;font-size:11px;color:#536256}
.device-ownership select{min-height:38px;border:1px solid #e1e8df;border-radius:7px;padding:0 8px;background:white;color:#344638}
.device-ownership small{grid-column:1/-1;font-size:10px;color:#68766b;line-height:1.5}
.health-start-card{padding:22px;margin-top:18px}
.health-start-card h2{font-size:19px;margin:7px 0}
.health-start-card p{font-size:14px;line-height:1.6;color:#68766b}
.device-nudge{background:#f5f8f2;border:1px solid #dfe8db;border-radius:10px;padding:16px;margin:14px 0}
.device-nudge h2{font-size:15px;margin:0 0 8px}
.device-nudge p{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:#536256;line-height:1.5;margin:8px 0}
.device-nudge .button-secondary{white-space:nowrap}
@media(max-width:640px){
 .public-shop{padding:16px 14px 30px}
 .public-shop-head .brand{font-size:15px}
 .public-shop-head nav{gap:10px}
 .public-shop-head nav a{font-size:12px}
 .public-shop-intro{margin:28px auto 20px;text-align:left}
 .public-shop-intro h1{font-size:27px}
 .public-shop-intro p{font-size:13px}
 .device-ownership{grid-template-columns:1fr}
 .device-ownership small{grid-column:auto}
 .device-nudge p{align-items:flex-start;flex-direction:column}
}
.google-sign-in{display:flex;align-items:center;justify-content:center;gap:10px;background:#fff;color:#243526;border:1px solid #d8e0d7}.google-sign-in:hover{background:#f8faf8}.google-mark{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#fff;color:#4285f4;font-weight:800;font-size:15px}
.brand-mark{overflow:hidden;background:#f4f0e4!important;border:1px solid #e8e1cf;isolation:isolate}
.brand-mark:after{display:none}
.brand-mark img{position:absolute;left:-16.2px;top:-3.6px;width:65px;max-width:none;height:auto;display:block}
.mobile-brand .brand-mark img{left:-11.9px;top:-2.7px;width:47.8px}
.landing-brand .brand-mark img{left:-16.2px;top:-3.6px;width:65px}
.landing-footer .brand-mark img{left:-13.4px;top:-3px;width:54px}
.brand{color:#596a7c}
.brand-light{color:#7e8a70}
.landing-brand{color:#45586b}
.landing-brand i{color:#7c8d4e}
.brand-mark,.landing-brand .brand-mark{background:#f4f0e4}
:root{--green:#87964b;--green-dark:#68783b;--green-pale:#eff0df;--orange:#d97935;--teal:#536b7e;--ink:#405469;--muted:#7f8993;--line:#e6e3d8;--paper:#fffefa;--bg:#f5f2e8;--red:#b96051;--shadow:0 8px 24px #3542540d}
body{color:var(--ink)}
.sidebar{background:#fcfaf3;border-right-color:#e8e4d7}
.topbar{background:#f8f5eced;border-bottom-color:#e8e4d9}
.nav-link.active{background:#eff0df;color:#65753d}
.button-primary{background:#526a7e;border-color:#526a7e}
.button-primary:hover{background:#40576b}
.button-quiet,.mini-link,.panel-link-row a{color:#687b43}
.personal-summary{border-left-color:#87964b;background:#fffefa}
.guide-image-placeholder{background:#f4f0e4}
.measurement-guides{margin-top:4px;margin-bottom:18px}
.measurement-guides .section-title{margin-bottom:12px}
.guide-grid{margin-top:14px}
.guide-card .mini-link{display:inline-flex;margin-top:12px;font-size:12px}
.today-readings{margin:20px 0 15px}
.today-readings>.section-title{margin:0 0 11px}
.today-readings .section-title h2{font-size:19px;margin:5px 0 0}
.today-reading-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.today-reading-card{padding:16px 18px;min-width:0}
.today-reading-card .metric-head{gap:10px}
.today-reading-card .button-quiet{margin-left:auto;white-space:nowrap}
.today-reading-list{margin-top:13px;border-top:1px solid #ece8dc}
.today-reading-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 2px;border-bottom:1px solid #efede5}
.today-reading-row:last-child{border-bottom:0;padding-bottom:2px}
.today-reading-row>div:first-child{display:grid;gap:3px}
.today-reading-row strong{font-size:17px;letter-spacing:-.3px;color:#405469}
.today-reading-row strong small{font-size:10px;font-weight:500;color:#8b928f}
.today-reading-row span,.today-reading-pulse small{font-size:11px;color:#7a8588}
.today-reading-pulse{min-width:56px;text-align:right;display:grid;gap:1px}
.today-reading-pulse b{font-size:18px;color:#d97935;line-height:1.15}
.today-reading-empty{padding:14px 2px 4px;color:#7b8689;font-size:12px}
.brand-copy{display:grid;gap:3px;min-width:0;line-height:1.05}
.brand-copy strong{display:block;color:#45586b;font-size:16px;letter-spacing:-.35px;font-weight:750;white-space:nowrap}
.brand-copy small{display:block!important;color:#748549!important;font-size:11px!important;font-weight:650!important;letter-spacing:.35px!important;line-height:1.2;margin:0!important}
.landing-brand .brand-copy strong{font-size:16px}
.landing-brand .brand-copy small,.landing-footer .brand-copy small{font-size:10px!important}
.mobile-brand .brand-copy{gap:3px}
.mobile-brand .brand-copy strong{font-size:13px}
.mobile-brand .brand-copy small{font-size:10px!important}
.auth-brand .brand-copy strong,.onboard-top .brand-copy strong{font-size:17px}
.auth-brand .brand-copy small,.onboard-top .brand-copy small{font-size:10px!important}
@media(max-width:760px){.brand-mark img{left:-11.9px;top:-2.7px;width:47.8px}.landing-brand .brand-mark img{left:-13.4px;top:-3px;width:54px}.today-reading-grid{grid-template-columns:1fr}.today-reading-card{padding:14px}.measurement-guides .section-title h2{font-size:20px}.guide-grid{grid-template-columns:1fr}.guide-card{padding:14px}}
.selected-day-readings .day-reading-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.habit-day ul{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:7px}
.habit-day li{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:7px;border-top:1px solid #edf0eb;font-size:12px;color:#536256}
.habit-day li b{font-size:10px;font-weight:600;color:#879087;white-space:nowrap}
.habit-day li.done b{color:#4d7850}
.home-habit-add{margin-top:12px;border-top:1px solid #edf0eb;padding-top:10px}
.home-habit-add summary{cursor:pointer;color:#4d7850;font-size:13px;font-weight:700;list-style:none}
.home-habit-add summary::-webkit-details-marker{display:none}
.home-habit-add form{margin-top:12px}
@media(max-width:1000px){.selected-day-readings .day-reading-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.selected-day-readings .habit-day{grid-column:1/-1}}
@media(max-width:760px){.selected-day-readings .day-reading-grid{grid-template-columns:1fr}.selected-day-readings .habit-day{grid-column:auto}}
.reading-overview{padding:19px;margin-top:14px}
.period-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.period-summary{border:1px solid #e5ebe3;border-radius:10px;background:#fffefa;padding:15px}
.period-summary h3{font-size:17px;color:#405469;margin:5px 0 9px}
.period-summary p{font-size:13px;line-height:1.6;color:#536256;margin:8px 0}
.period-summary>small{display:block;font-size:11px;line-height:1.5;color:#718074;margin-top:10px}
.summary-nudge{padding:10px 12px;border-left:3px solid #d97835;background:#fff7ee;border-radius:6px;color:#775337!important}
.monthly-download{margin-top:5px}
.reading-state{display:inline-block!important;width:fit-content;margin-top:5px;padding:3px 7px;border-radius:5px;background:#f3f5ea;color:#596842!important;font-size:10px!important;line-height:1.4!important}
.guide-card button.mini-link{border:0;padding:0;background:transparent;font:inherit;text-align:left;cursor:pointer}
@media(max-width:760px){.period-summary-grid{grid-template-columns:1fr}.reading-overview{padding:13px}.period-summary{padding:13px}}

/* Blood sugar timeline controls and device ownership clarity */
.glucose-timeline{grid-column:1/-1;min-width:0;border:0;padding:0;margin:2px 0 0}
.glucose-timeline legend{font-size:9px;font-weight:700;color:#536256;margin-bottom:8px}
.timeline-options{display:flex;flex-wrap:wrap;gap:7px}
.timeline-choice{border:1px solid #dfe7dc;border-radius:999px;background:#fff;padding:8px 11px;color:#536256;font:inherit;font-size:9px;cursor:pointer}
.timeline-choice[aria-pressed="true"]{border-color:#6d9262;background:#f0f5ed;color:#3f6338;box-shadow:0 0 0 1px #6d9262 inset}
.bp-only[hidden]{display:none!important}
.device-shop-note{margin-top:14px}
.curated-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}
.curated-product{overflow:hidden;padding:0;display:grid;grid-template-columns:minmax(150px,.78fr) minmax(0,1fr);min-height:258px;border:1px solid #e6eadf;border-radius:14px;box-shadow:0 8px 24px #29392f09;background:#fff}
.curated-product-image{position:relative;display:flex;align-items:center;justify-content:center;min-height:100%;padding:18px;background:linear-gradient(145deg,#f6f4e9,#eef2e7)}
.curated-product-image img{display:block;width:100%;height:100%;max-height:220px;object-fit:contain;mix-blend-mode:multiply}
.curated-product-image>span{position:absolute;left:12px;top:12px;border-radius:999px;background:#fff;color:#4d7850;padding:5px 8px;font-size:9px;font-weight:750;letter-spacing:.06em}
.curated-product-copy{padding:20px 19px;display:flex;flex-direction:column;align-items:flex-start}
.curated-product-brand{font-size:9px;font-weight:750;letter-spacing:.11em;color:#718047}
.curated-product-copy h2{font-family:Georgia,serif;font-size:20px;line-height:1.2;letter-spacing:-.02em;color:#35495c;margin:9px 0 8px}
.curated-product-copy p{font-size:12px;line-height:1.6;color:#69766d;margin:0 0 14px}
.product-availability{display:flex;align-items:center;gap:7px;margin-top:auto;padding:9px 0;color:#526352;font-size:10px;line-height:1.4}
.availability-dot{height:7px;width:7px;flex:0 0 auto;border-radius:50%;background:#d97835}
.shop-whatsapp-button{margin-top:7px;min-height:38px;text-decoration:none}
.shop-whatsapp-button:disabled{opacity:.62;cursor:not-allowed}
.shop-welcome{max-width:1120px;margin:20px auto 0;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:#f1f4e9;border-color:#e5eadb}
.shop-welcome>div:first-child{max-width:670px}
.shop-welcome h2{font-family:Georgia,serif;font-size:22px;line-height:1.25;color:#35495c;margin:5px 0}
.shop-welcome p{font-size:12px;line-height:1.6;color:#69766d;margin:0}
.shop-contact-box{display:grid;gap:7px;min-width:220px;padding-left:22px;border-left:1px solid #d9e0d1}
.shop-contact-box>span{font-size:10px;font-weight:700;color:#526352}
.shop-contact-link{font-size:11px;font-weight:700;color:#4d7850}
.shop-contact-pending{font-weight:500;color:#758075}
.shop-disclaimer{max-width:1120px;margin:16px auto 0;color:#7b867c;font-size:10px;line-height:1.6}
@media(max-width:900px){.curated-product-grid{grid-template-columns:1fr}.curated-product{min-height:230px}.shop-welcome{align-items:flex-start;flex-direction:column}.shop-contact-box{padding:14px 0 0;border-left:0;border-top:1px solid #d9e0d1;width:100%}}
@media(max-width:600px){.curated-product{grid-template-columns:1fr;min-height:0}.curated-product-image{height:210px;min-height:210px}.curated-product-copy{padding:16px}.curated-product-copy h2{font-size:19px}.shop-welcome{padding:17px}.shop-contact-box{min-width:0}}
.shop-whatsapp-widget{max-width:1120px;margin:28px auto 12px;padding:24px 27px;display:flex;align-items:center;gap:18px;border:1px solid #d9e7d4;border-radius:16px;background:linear-gradient(115deg,#edf4e9 0%,#f7f7ed 100%);box-shadow:0 9px 24px #29392f0a}
.shop-chat-icon{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border-radius:50%;background:#4d7850;color:#fff;font-size:25px;font-weight:700}
.shop-chat-copy{flex:1}
.shop-chat-copy .eyebrow{color:#6d8548}
.shop-chat-copy h2{margin:2px 0 4px;font-family:Georgia,serif;font-size:20px;color:#35495c}
.shop-chat-copy p{margin:0;color:#66746a;font-size:12px;line-height:1.55}
.shop-chat-action{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:0 16px;border-radius:9px;background:#4d7850;color:#fff;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap;transition:background .16s ease,transform .16s ease}
.shop-chat-action:hover{background:#3f6543;transform:translateY(-1px)}
.shop-chat-action:focus-visible{outline:3px solid #d97835;outline-offset:3px}
.shop-chat-pending{font-size:11px;color:#758075}
@media(max-width:680px){.shop-whatsapp-widget{align-items:flex-start;flex-wrap:wrap;padding:18px;gap:12px}.shop-chat-icon{width:40px;height:40px;flex-basis:40px}.shop-chat-copy{min-width:calc(100% - 55px)}.shop-chat-action{width:100%}}
/* Legal, consent, and keyboard navigation */
.reading-source-note{margin:16px 0 0;color:#647267;font-size:13px;line-height:1.65}
.reading-source-note a{color:#466f45;text-decoration:underline;text-underline-offset:2px}
.skip-link{position:fixed;z-index:120;top:8px;left:8px;transform:translateY(-160%);padding:10px 14px;border-radius:7px;background:#29392f;color:#fff;font-size:14px;font-weight:700}
.skip-link:focus{transform:translateY(0);outline:3px solid #8dbb7e;outline-offset:3px}
#app:focus{outline:none}
.consent-banner{position:fixed;z-index:110;left:16px;right:16px;bottom:16px;max-width:1120px;margin-inline:auto;padding:18px 20px;display:flex;align-items:center;gap:22px;background:#fff;border:1px solid #dce5d8;border-radius:14px;box-shadow:0 12px 42px #18231c30}
.consent-banner h2{margin:0 0 4px;font-size:16px;color:var(--ink)}
.consent-banner p{margin:0;color:#667469;font-size:13px;line-height:1.55}
.consent-banner a,.legal-copy a{color:#466f45;text-decoration:underline;text-underline-offset:2px}
.consent-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}
.consent-actions .button-primary,.consent-actions .button-secondary,.cookie-controls .button-primary,.cookie-controls .button-secondary{min-height:40px;padding-inline:14px;font-size:13px}
.privacy-page{max-width:900px}
.legal-copy{padding:clamp(20px,4vw,34px);font-size:15px;line-height:1.75;color:#48574c}
.legal-copy p{margin:0 0 18px}
.legal-copy h2{margin:27px 0 8px;color:#29392f;font-size:19px;line-height:1.35}
.legal-copy h2:first-of-type{margin-top:22px}
.legal-copy .legal-updated{margin-top:26px;padding-top:16px;border-top:1px solid var(--line);color:#657267;font-size:13px}
.legal-nav{display:flex;gap:18px;flex-wrap:wrap;padding-top:7px}
.cookie-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:26px;padding:16px;background:#f5f8f3;border-radius:10px}
.cookie-controls p{margin:0 auto 0 0}
textarea:focus-visible,button:focus-visible{outline:3px solid #8dbb7e;outline-offset:2px}
@media(max-width:700px){.consent-banner{left:8px;right:8px;bottom:8px;padding:15px;display:block;max-height:75vh;overflow:auto}.consent-actions{justify-content:flex-start;margin-top:12px}.consent-actions .button-primary,.consent-actions .button-secondary{flex:1 1 auto}.legal-copy{font-size:14px;line-height:1.7}.cookie-controls{align-items:stretch}.cookie-controls p{flex-basis:100%}}

/* Tablet and phone ergonomics: keep the app shell spacious and controls usable. */
@media (min-width: 901px) {
  .app-frame > .mobile-nav { display: none; }
}

@media (max-width: 900px) {
  .app-frame > .sidebar { display: none; }
  .app-frame > .main-area { margin-left: 0; }
  .app-frame .topbar { height: 60px; padding-inline: 20px; }
  .app-frame .mobile-brand { display: flex; }
  .app-frame .breadcrumbs,
  .app-frame .server-chip { display: none; }
  .app-frame .mobile-nav {
    position: fixed;
    z-index: 10;
    inset: auto 0 0;
    height: calc(68px + env(safe-area-inset-bottom, 0px));
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 4px 8px env(safe-area-inset-bottom, 0px);
    background: #fff;
    border-top: 1px solid #e6ebe4;
    box-shadow: 0 -4px 18px #2435260b;
  }
  .app-frame .mobile-nav .nav-link {
    flex: 1 1 0;
    min-width: 0;
    min-height: 52px;
    height: auto;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    padding: 4px 3px;
    font-size: 11px;
    line-height: 1.2;
    color: #657369;
    background: transparent;
  }
  .app-frame .mobile-nav .nav-link.active { color: #557a4e; }
  .app-frame .mobile-nav .nav-icon { height: 22px; width: auto; font-size: 20px; }
  .app-frame .mobile-nav .nav-count { top: 1px; right: calc(25% - 7px); font-size: 10px; }
  .app-frame .page-wrap { width: 100%; padding: 24px 24px calc(100px + env(safe-area-inset-bottom, 0px)); }
  .app-frame .app-footer { padding: 12px 20px calc(88px + env(safe-area-inset-bottom, 0px)); font-size: 11px; line-height: 1.5; }
  .app-frame .app-footer .text-button { min-height: 44px; padding-inline: 8px; font-size: 12px; }
  .app-frame .page-heading p,
  .app-frame .panel-description { font-size: 14px; }
  .app-frame .eyebrow { font-size: 11px; }
  .app-frame .button-primary,
  .app-frame .button-secondary { min-height: 44px; padding-inline: 14px; font-size: 14px; }
  .app-frame .icon-button { width: 44px; height: 44px; }
  .app-frame .top-actions { gap: 9px; }
  .app-frame .top-actions .signout-button { min-height: 44px; padding-inline: 10px; font-size: 13px; }
  .app-frame .habit-toggle { width: 44px; height: 44px; font-size: 14px; }
  .app-frame .habit-actions button { min-width: 40px; min-height: 40px; padding: 6px; font-size: 12px; }
  .app-frame input:not([type="checkbox"]):not([type="radio"]),
  .app-frame select,
  .app-frame textarea { min-height: 46px; font-size: 16px; }
  .auth-page { padding: 22px max(18px, calc((100vw - 720px) / 2)) 34px; }
  .auth-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin: 24px auto 0; gap: 18px; }
  .auth-story { padding: 0; }
  .auth-story h1 { font-size: clamp(34px, 6vw, 44px); }
  .auth-story > p,
  .auth-form label { font-size: 14px; }
  .auth-card { padding: 22px; }
  .auth-card .button-primary,
  .auth-card .button-secondary { min-height: 46px; font-size: 14px; white-space: normal; line-height: 1.35; text-align: center; }
  .auth-card .text-button { min-height: 44px; padding: 6px 8px; font-size: 14px; }
  .auth-form { min-width: 0; grid-template-columns: minmax(0, 1fr); }
  .auth-form > label,
  .signup-consents,
  .consent-check { min-width: 0; max-width: 100%; }
  .consent-check span { min-width: 0; overflow-wrap: anywhere; }
  .auth-form input:not([type="checkbox"]):not([type="radio"]),
  .auth-form select,
  .auth-form textarea { min-height: 48px; font-size: 16px; }
  .consent-actions .button-primary,
  .consent-actions .button-secondary,
  .cookie-controls .button-primary,
  .cookie-controls .button-secondary { min-height: 44px; font-size: 14px; }
  body:has(.app-frame) #consent-root .consent-banner {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    max-height: min(75vh, 460px);
    overflow-y: auto;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .app-frame .topbar { height: 60px; padding-inline: 12px; }
  .app-frame .mobile-brand { gap: 8px; font-size: 14px; }
  .app-frame .mobile-brand .brand-mark { width: 32px; height: 32px; }
  .app-frame .page-wrap { padding: 20px 14px calc(100px + env(safe-area-inset-bottom, 0px)); }
  .app-frame .page-heading h1 { font-size: 24px; }
  .app-frame .page-heading p { font-size: 14px; line-height: 1.55; }
  .app-frame .dashboard-panel,
  .app-frame .full-panel { padding: 16px; }
  .app-frame .mobile-nav { height: calc(64px + env(safe-area-inset-bottom, 0px)); padding-inline: 4px; }
  .app-frame .mobile-nav .nav-link { min-height: 54px; font-size: 11px; }
  .app-frame .top-actions .signout-button { min-width: 72px; }
  .auth-page { padding: 16px 12px 28px; }
  .landing-menu { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  .auth-grid { margin: 18px auto 0; }
  .auth-card { padding: 18px; }
  .auth-story h1 { font-size: 30px; }
  .auth-story > p,
  .auth-form label { font-size: 14px; }
  .auth-card { padding: 18px; }
  .auth-card .button-primary,
  .auth-card .button-secondary { min-height: 46px; font-size: 14px; white-space: normal; line-height: 1.35; text-align: center; }
  .auth-card .text-button { min-height: 44px; padding: 6px 8px; font-size: 14px; }
  .auth-form input:not([type="checkbox"]):not([type="radio"]),
  .auth-form select,
  .auth-form textarea { min-height: 48px; font-size: 16px; }
  .consent-banner { padding: 16px; }
  .consent-banner p { font-size: 14px; }
  .consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consent-actions .button-primary { grid-column: 1 / -1; }
  .consent-actions .button-primary,
  .consent-actions .button-secondary { min-height: 44px; }
}

@media (max-width: 480px) {
  .app-frame .page-wrap { padding-inline: 12px; }
  .app-frame .top-actions { gap: 6px; }
  .app-frame .top-actions .signout-button { min-width: 64px; padding-inline: 8px; }
  .app-frame .quick-actions { align-items: stretch; }
  .app-frame .quick-actions .button-secondary { flex: 1 1 100%; min-height: 44px; font-size: 13px; }
  .app-frame .inline-form,
  .app-frame .reading-form { grid-template-columns: minmax(0, 1fr); }
  .app-frame .inline-form button,
  .app-frame .reading-form > button { grid-column: auto; width: 100%; }
  .app-frame .product-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .app-frame .product-card { padding: 14px; }
  .app-frame .product-card h2 { font-size: 16px; }
  .app-frame .product-card p { min-height: 0; font-size: 13px; }
  .app-frame .product-art { height: 150px; }
  .app-frame .product-buy .button-secondary { min-height: 44px; font-size: 13px; }
  .app-frame .reading-counts span { font-size: 11px; }
  .app-frame .habit-copy strong { font-size: 13px; }
  .app-frame .habit-copy small { font-size: 11px; }
  .app-frame .habit-actions { gap: 3px; }
  .app-frame .habit-actions button { min-width: 38px; min-height: 38px; }
}

/* Publish verified business contact details with comfortable links on every screen. */
.app-frame .app-footer { font-size: 11px; line-height: 1.55; }
.app-footer .business-details,
.landing-footer .landing-business-contact,
.landing-footer .landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 14px;
}
.app-footer .business-details { margin-bottom: 7px; }
.app-footer .business-details a,
.landing-footer .landing-business-contact a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  color: #526b55;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.app-footer .footer-service-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 9px;
}
.landing-footer .landing-footer-links a { min-height: 36px; display: inline-flex; align-items: center; }
@media (max-width: 700px) {
  .app-frame .app-footer { padding-inline: 12px; }
  .app-footer .business-details,
  .app-footer .footer-service-details { gap: 4px 10px; }
  .landing-footer { align-items: flex-start; }
  .landing-footer .landing-business-contact,
  .landing-footer .landing-footer-links { justify-content: flex-start; gap: 4px 12px; width: 100%; }
  .landing-footer .landing-business-contact a,
  .landing-footer .landing-footer-links a { min-height: 40px; font-size: 12px; }
}
