:root{--motion-easing:cubic-bezier(.22, 1, .36, 1);--motion-enter:.36s;--font-editorial:"Keweisi Editorial", "Noto Serif CJK SC", "Songti SC", "STSong", Georgia, serif;--font-sans:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;--text-xs:.75rem;--text-sm:.875rem;--text-base:1rem;--text-lg:1.25rem;--text-title:clamp(2rem, 4vw, 2.75rem);--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--space-8:64px;--canvas:#f7f5ef;--surface:#fbfaf6;--surface-soft:#efede5;--surface-selected:#e8e9dd;--text:#343930;--text-muted:#626858;--border:#dfded2;--accent:#4d6048;--accent-hover:#394d35;--success:#365d42;--success-surface:#eaf1e7;--attention:#805d27;--attention-surface:#f7efdf;--radius-sm:8px;--radius-md:14px;--radius-lg:20px;--radius-pill:999px;--shadow-floating:0 16px 60px #24302a24;--content-width:1280px;--motion-fast:.15s;font-family:var(--font-sans);color:var(--text);background:var(--canvas);font-synthesis:none;text-rendering:optimizelegibility}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;cursor:pointer}button{cursor:pointer}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button:disabled{cursor:not-allowed;opacity:.5}.ui-button{justify-content:center;align-items:center;gap:var(--space-2);border-radius:var(--radius-sm);background:var(--accent);color:#fff;min-height:44px;font-size:var(--text-sm);transition:background var(--motion-fast), transform var(--motion-fast);border:1px solid #0000;padding:10px 16px;font-weight:550;text-decoration:none;display:inline-flex}.ui-button:hover{background:var(--accent-hover)}.ui-button:active{transform:translateY(1px)}.ui-button.secondary{color:var(--text);background:var(--surface);border-color:var(--border)}.ui-button.secondary:hover{background:var(--surface-soft)}.ui-badge{border-radius:var(--radius-pill);background:var(--surface-soft);color:var(--text-muted);font-size:var(--text-xs);white-space:nowrap;align-items:center;gap:6px;padding:5px 9px;line-height:1.4;display:inline-flex}.ui-badge.success{color:var(--success);background:var(--success-surface)}.ui-badge.attention{color:var(--attention);background:var(--attention-surface)}.ui-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg)}.ui-icon{flex:none;width:20px;height:20px}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@font-face{font-family:Keweisi Editorial;src:url(/fonts/keweisi-editorial.woff2)format("woff2");font-style:normal;font-weight:400;font-display:swap}html{scroll-padding-bottom:100px}.workbench{min-height:100dvh}.skip-link{z-index:20;background:var(--accent);color:#fff;padding:12px 20px;position:fixed;top:-80px;left:16px}.skip-link:focus{top:12px}.masthead{max-width:var(--content-width);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:40px;margin:0 auto;padding:25px 64px;display:flex}.brand{letter-spacing:3px;flex-shrink:0;align-items:center;gap:12px;font-size:19px;font-weight:500;text-decoration:none;display:flex}.brand small{letter-spacing:2px;color:var(--text-muted);margin-top:5px;font-size:10px;font-weight:400;display:block}.brand-mark{letter-spacing:-4px;font-family:Georgia,serif;font-size:46px;font-weight:400;line-height:1}.brand-mark span{color:#6d7d5d}.masthead>nav{gap:26px;display:flex}.nav-link{min-height:44px;color:var(--text-muted);align-items:center;gap:12px;padding:10px 0;font-size:13px;text-decoration:none;transition:color .18s,background .18s;display:flex;position:relative}.nav-link:hover,.nav-link.selected{color:var(--text)}.nav-phase{margin-left:auto;font-size:11px}.masthead .nav-link .ui-icon,.masthead .nav-phase{display:none}.nav-link:before{content:"";background:var(--accent);transform-origin:100%;width:100%;height:1px;transition:transform .24s var(--motion-easing);position:absolute;bottom:0;left:0;transform:scaleX(0)}.masthead .nav-link:hover:before,.masthead .nav-link:focus-visible:before{transform-origin:0;transform:scaleX(1)}.masthead .nav-link.selected:after{content:"";background:var(--accent);width:18px;height:1px;position:absolute;bottom:0;left:calc(50% - 9px)}.main-content{max-width:var(--content-width);margin:0 auto;padding:62px 64px 22px}.page-header{animation:space-enter var(--motion-enter) var(--motion-easing) both;justify-content:space-between;align-items:center;gap:48px;margin-bottom:48px;display:flex}.home-content .page-header{min-height:310px}.inner-content .page-header{min-height:190px}.eyebrow{color:var(--text-muted);letter-spacing:.2em;margin:0 0 26px;font-size:11px}h1{font-family:var(--font-editorial);letter-spacing:-.025em;text-wrap:balance;margin:0;font-size:clamp(40px,4.7vw,66px);font-weight:400;line-height:1.3}h1:focus-visible{outline:2px solid var(--accent);outline-offset:8px}.page-description{max-width:350px;color:var(--text-muted);margin:27px 0 0;font-size:14px;line-height:2}.quiet-art{perspective:800px;flex-shrink:0;width:360px;margin:0 22px 0 0}.quiet-art svg{width:100%;height:auto;transition:transform .6s var(--motion-easing);transform-origin:50%;display:block}.quiet-art figcaption{color:var(--text-muted);letter-spacing:.08em;justify-content:space-between;gap:12px;padding:10px 45px 0;font-size:11px;display:flex}.quiet-art .ribbon-form{transform-origin:50%;animation:object-enter .8s var(--motion-easing) .1s both}.section-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.section-kicker{letter-spacing:2px;color:var(--text-muted);font-family:Georgia,serif;font-size:11px}.section-kicker+h2{margin-top:10px}h2{font-family:var(--font-editorial);letter-spacing:1px;margin:0;font-size:21px;font-weight:400;line-height:1.6}.section-meta{color:var(--text-muted);font-size:12px}.ui-panel,.ui-button{border-radius:3px}.today{min-height:178px;animation:space-enter var(--motion-enter) var(--motion-easing) 55ms both;background:#ebeee4;border:0;grid-template-columns:210px minmax(0,1fr);padding:30px 36px;display:grid}.today>.section-heading{border-right:1px solid #d8dccd;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:20px;padding-right:32px}.quiet-state{color:var(--text-muted);font-size:12px}.empty-state{text-align:center;padding:46px 24px}.empty-state h3{margin:22px 0 12px;font-size:19px;font-weight:400}.empty-state p{color:var(--text-muted);max-width:440px;margin:0 auto 22px;font-size:14px;line-height:1.9}.empty-symbol{place-content:center;gap:6px;width:56px;height:56px;margin:0 auto;display:grid}.empty-symbol span{background:#7b876d;width:25px;height:1px}.empty-symbol span:nth-child(2){width:18px}.empty-symbol span:nth-child(3){width:11px}.today .empty-state{text-align:left;padding:5px 0 5px 48px}.today .empty-symbol{display:none}.today .empty-state h3{font-family:var(--font-editorial);letter-spacing:1px;margin:0 0 10px;font-size:23px}.today .empty-state p{max-width:none;margin:8px 0 14px;font-size:14px}.today .ui-button{color:var(--text);background:0 0;border:0;gap:16px;min-height:44px;padding:8px 0;font-size:13px;font-weight:400;position:relative}.today .ui-button:hover{color:var(--accent)}.today .ui-button:after{content:"";transform-origin:100%;height:1px;transition:transform .24s var(--motion-easing);background:currentColor;position:absolute;bottom:5px;left:0;right:0;transform:scaleX(0)}.today .ui-button:hover:after,.today .ui-button:focus-visible:after{transform-origin:0;transform:scaleX(1)}.today-foot{display:none}.life-section{animation:space-enter var(--motion-enter) var(--motion-easing) .11s both;margin-top:48px}.channel-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:38px;margin-top:28px;display:grid}.channel-card{transition:border-color var(--motion-fast);border-top:1px solid #cccfc1;flex-direction:column;padding:24px 0 0;text-decoration:none;display:flex;position:relative}.channel-card:before{content:"";background:var(--accent);transform-origin:100%;width:100%;height:1px;transition:transform .38s var(--motion-easing);position:absolute;top:-1px;left:0;transform:scaleX(0)}.channel-card:hover:before,.channel-card:focus-visible:before{transform-origin:0;transform:scaleX(1)}.channel-card:active{opacity:.72}.channel-card:focus-visible{outline-offset:8px;border-radius:2px}.channel-top{justify-content:space-between;align-items:center;display:flex}.channel-icon{color:#697b60}.channel-icon .ui-icon{width:23px;height:23px}.channel-number{color:var(--text-muted);font-family:Georgia,serif;font-size:11px}.channel-card h3{font-family:var(--font-editorial);letter-spacing:2px;transition:color .18s ease, transform .38s var(--motion-easing);margin:26px 0 10px;font-size:26px;font-weight:400}.channel-card p{color:var(--text-muted);margin:0;font-size:13px;line-height:2}.channel-bottom{color:var(--text-muted);justify-content:space-between;align-items:center;margin-top:auto;padding-top:24px;font-size:12px;display:flex}.channel-bottom .ui-icon{width:16px}.channel-bottom .ui-icon,.ui-button .ui-icon,.attention-area a .ui-icon{transition:transform .22s var(--motion-easing)}.attention-area{border-top:1px solid var(--border);animation:space-enter var(--motion-enter) var(--motion-easing) .15s both;align-items:center;gap:14px;margin-top:44px;padding:22px 0;display:flex}.attention-symbol{display:none}.attention-area strong{font-size:13px;font-weight:400}.attention-area p{color:var(--text-muted);margin:6px 0 0;font-size:12px;line-height:1.9}.attention-area a{white-space:nowrap;min-height:44px;color:var(--text-muted);align-items:center;gap:8px;margin-left:auto;font-size:12px;text-decoration:none;display:inline-flex}.attention-area a:hover{color:var(--text)}.attention-area .ui-icon{width:16px}.page-footer{border-top:1px solid var(--border);color:var(--text-muted);justify-content:space-between;align-items:center;gap:20px;margin-top:12px;padding:20px 0;font-size:12px;display:flex}.page-footer a{align-items:center;min-height:44px;text-decoration:none;display:flex}.system-panel{animation:space-enter var(--motion-enter) var(--motion-easing) 55ms both;padding:30px}.system-facts{margin:24px 0}.system-facts>div{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:20px;padding:18px 0;font-size:13px;display:flex}.system-facts dt{color:var(--text-muted)}.system-facts dd{text-align:right;margin:0}.system-explanation{color:var(--text-muted);max-width:640px;margin:0;font-size:13px;line-height:1.9}.roadmap{animation:space-enter var(--motion-enter) var(--motion-easing) .11s both;margin-top:36px}.milestone{border-bottom:1px solid var(--border);align-items:center;gap:24px;padding:22px 0;font-size:13px;display:flex}.milestone-code{color:var(--text-muted);font-size:12px}.milestone strong{font-weight:400}.milestone .ui-badge{margin-left:auto}.channel-empty{animation:space-enter var(--motion-enter) var(--motion-easing) 55ms both;padding:28px 30px}.channel-empty .empty-state{padding:70px 16px}.mobile-nav{display:none}.spaces-dialog{border:1px solid var(--border);width:min(440px,100% - 32px);max-height:calc(100dvh - 48px);color:var(--text);background:var(--surface);box-shadow:var(--shadow-floating);border-radius:12px;padding:28px;overflow-y:auto}.spaces-dialog::backdrop{background:#242a1e4d}.spaces-dialog[open]{animation:sheet-enter .24s var(--motion-easing) both}.spaces-dialog .nav-link{border-bottom:1px solid var(--border);padding:12px 10px}.spaces-dialog .nav-link:hover{background:var(--surface-soft)}.spaces-dialog .nav-link.selected{color:var(--accent)}.spaces-dialog .nav-link:before{display:none}.dialog-heading{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.dialog-heading h2{margin-top:6px}.close-button{width:44px;height:44px;color:var(--text);background:0 0;border:0;place-items:center;display:grid}.close-button:hover{background:var(--surface-soft)}@keyframes space-enter{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes sheet-enter{0%{opacity:0;transform:translateY(14px)scale(.99)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes object-enter{0%{opacity:0;transform:translateY(16px)rotate(5deg)}to{opacity:1;transform:translateY(0)rotate(0)}}@media (hover:hover) and (pointer:fine){.quiet-art:hover svg{transform:rotate(-3deg)translateY(-4px)}.channel-card:hover h3{color:var(--accent);transform:translate(3px)}.channel-card:hover .channel-bottom .ui-icon,.ui-button:hover .ui-icon,.attention-area a:hover .ui-icon{transform:translate(4px)}}@media (width<=1100px){.masthead,.main-content{padding-left:40px;padding-right:40px}.masthead{gap:24px}.masthead>nav{gap:18px}.quiet-art{width:290px;margin-right:0}.channel-grid,.page-header{gap:28px}}@media (width<=900px){.masthead,.main-content{padding-left:28px;padding-right:28px}.masthead>nav{gap:14px}.nav-link{font-size:12px}.brand{letter-spacing:2px;gap:8px;font-size:17px}.brand-mark{font-size:38px}.brand small{font-size:9px}.quiet-art{width:250px}h1{font-size:48px}.today{grid-template-columns:170px minmax(0,1fr);padding:28px}.today .empty-state{padding-left:28px}.channel-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 32px}}@media (width<=760px){.masthead{margin:0 24px;padding:21px 0}.masthead>nav{display:none}.brand{gap:10px;font-size:17px}.brand-mark{font-size:36px}.main-content{padding:36px 24px calc(96px + env(safe-area-inset-bottom))}.page-header{align-items:flex-start;gap:0;margin-bottom:32px;position:relative}.home-content .page-header{min-height:252px}.inner-content .page-header{min-height:150px}.page-header>div:first-child{z-index:1;position:relative}h1{font-size:43px;line-height:1.5}.eyebrow{margin-bottom:20px;font-size:11px}.page-description{max-width:210px;margin-top:20px;font-size:13px;line-height:1.9}.quiet-art{opacity:.9;width:125px;position:absolute;top:91px;right:-5px}.quiet-art figcaption{display:none}.today{grid-template-columns:1fr;gap:20px;min-height:0;padding:24px}.today>.section-heading{border:0;flex-direction:row;align-items:center;padding:0}.today .empty-state{border-top:1px solid #d8dccd;padding:20px 0 0}.today .empty-state h3{letter-spacing:0;font-size:19px}.today .empty-state p{max-width:265px;font-size:13px}.section-kicker{font-size:10px}h2{font-size:20px}.section-kicker+h2{margin-top:5px}.life-section{margin-top:38px}.life-section .section-meta{display:none}.channel-grid{gap:26px 24px;margin-top:24px}.channel-card{padding-top:18px}.channel-card h3{margin:20px 0 10px;font-size:24px}.channel-bottom{padding-top:18px}.attention-area{flex-direction:column;align-items:flex-start;gap:8px;margin-top:36px;padding:22px 0 14px}.attention-area a{margin-left:0}.page-footer{gap:14px;font-size:10px}.page-footer>span{max-width:175px;line-height:1.8}.mobile-nav{z-index:5;padding:8px 16px calc(8px + env(safe-area-inset-bottom));background:var(--canvas);border-top:1px solid var(--border);grid-template-columns:repeat(4,1fr);gap:8px;display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-nav a,.mobile-nav button{min-height:48px;color:var(--text-muted);background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:6px;font-size:12px;text-decoration:none;transition:color .18s,background .18s;display:flex}.mobile-nav .ui-icon{width:19px;height:19px}.mobile-nav .selected{color:var(--text);font-weight:550}.mobile-nav .selected .ui-icon{color:var(--accent)}.mobile-nav a:active,.mobile-nav button:active{background:var(--surface-selected)}.system-panel,.channel-empty{padding:22px}.system-panel>.section-heading{flex-wrap:wrap}.system-facts>div{gap:14px;font-size:12px}.system-facts dt{flex-shrink:0}.roadmap .section-heading{flex-wrap:wrap}.milestone{gap:12px}.channel-empty .empty-state{padding:36px 0}}@media (width<=359px){.masthead{margin:0 20px}.main-content{padding-left:20px;padding-right:20px}h1{font-size:38px}.quiet-art{width:88px;top:96px;right:-3px}.page-description{max-width:190px}.today{padding:20px}.today .empty-state h3{font-size:17px}.channel-grid{gap:24px 20px}.channel-card h3{font-size:23px}.page-footer>span{max-width:155px}}@media (prefers-reduced-motion:reduce){.page-header,.today,.system-panel,.channel-empty,.life-section,.roadmap,.attention-area,.spaces-dialog[open],.quiet-art .ribbon-form{animation:none}.quiet-art:hover svg,.channel-card:hover h3,.channel-card:hover .channel-bottom .ui-icon,.ui-button:hover .ui-icon,.attention-area a:hover .ui-icon{transform:none}}.today-records{flex:1;min-width:0}.today-records .empty-state{padding:0 0 20px}.personal-login{max-width:560px;padding:4px 0}.personal-login h3,.personal-section-title{font-family:var(--font-editorial);font-size:23px;font-weight:400}.personal-login>p,.personal-space p{color:var(--text-muted);line-height:1.9}.record-form{flex-wrap:wrap;align-items:end;gap:16px;margin:20px 0;display:flex}.record-form label,.record-controls label{flex-direction:column;flex:160px;gap:8px;min-width:0;font-size:13px;display:flex}.record-form input,.record-form select,.record-controls select{border:1px solid var(--border);background:var(--surface);width:100%;min-height:44px;color:var(--text);font:inherit;border-radius:4px;padding:10px 12px}.record-form input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.record-form input:disabled{opacity:.7}.record-form>p{flex-basis:100%;margin:0}.data-error{overflow-wrap:anywhere;color:#8a342b!important}.personal-space{padding:32px 0}.personal-space>section{margin:36px 0}.personal-list{margin:24px 0;padding:0;list-style:none}.personal-record{border-top:1px solid var(--border);min-width:0;padding:24px 0}.personal-record h3,.personal-record h4{overflow-wrap:anywhere;margin:0 0 8px;font-size:18px;font-weight:500}.record-heading,.record-controls,.account-line{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.record-heading{justify-content:space-between}.record-heading>span{color:var(--text-muted);font-size:13px}.record-controls{align-items:end;margin:20px 0}.record-controls label{max-width:220px}.record-meta{color:var(--text-muted);font-size:12px;line-height:1.8}.create-record,.recycle-bin{border-top:1px solid var(--border);margin:20px 0;padding:20px 0}.create-record>summary,.recycle-bin>summary,.record-history>summary{cursor:pointer;min-height:44px;color:var(--accent);padding:12px 0}.record-history{font-size:13px}.record-history li{overflow-wrap:anywhere;padding:8px 0;line-height:1.8}.record-history ul{padding-left:20px}.account-line{color:var(--text-muted);border-bottom:1px solid var(--border);justify-content:space-between;padding:12px 0;font-size:13px}@media (width<=760px){.record-form{align-items:stretch}.record-form label{flex-basis:100%}.record-form .ui-button{min-height:44px}.personal-space{padding:20px 0}}.health-panel{padding:clamp(20px,4vw,36px)}.health-section{border-bottom:1px solid var(--border,#ddd8cf);padding-block:24px}.health-section h3{margin:0 0 16px}.health-form fieldset{border:0;min-width:0;margin:14px 0;padding:0}.health-form legend{margin-bottom:12px;font-weight:600}.health-form-grid,.health-values{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.health-form label{flex-direction:column;gap:6px;margin-bottom:12px;display:flex}.health-form input,.health-form select,.health-form textarea{box-sizing:border-box;width:100%;min-width:0;font:inherit;color:#292b25;background:#fffdfa;border:1px solid #aaa69c;border-radius:6px;padding:10px}.health-form textarea{resize:vertical;min-height:72px}.health-hint{color:#63655d;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.health-records{margin:18px 0;padding:0;list-style:none}.health-record{overflow-wrap:anywhere;border:1px solid #ddd8cf;border-radius:10px;margin-bottom:16px;padding:18px}.health-record details{margin-block:12px}.health-values{margin:0;font-size:14px}.health-values dt{color:#63655d}.health-values dd{margin:5px 0 0;font-size:16px}.health-record .health-record{background:#fffdfa}.health-panel summary{cursor:pointer;padding-block:8px}.health-panel .ui-button{margin:6px 8px 6px 0}@media (width<=600px){.health-form-grid,.health-values{grid-template-columns:minmax(0,1fr)}.health-panel .section-heading{flex-wrap:wrap;gap:12px}.health-record{padding:12px}}.health-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-block:24px;display:grid}.health-summary div{background:#f4f2eb;border-radius:8px;padding:14px}.health-summary dt{color:#63655d;font-size:14px}.health-summary dd{margin:8px 0 0}.health-panel summary{box-sizing:border-box;min-height:44px}@media (width<=600px){.health-summary{grid-template-columns:minmax(0,1fr)}}.health-editor{box-sizing:border-box;border:1px solid var(--border);background:var(--surface,#fffdfa);width:min(680px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--text);overscroll-behavior:contain;border-radius:16px;padding:0 24px;position:fixed;inset:0;overflow:auto}.health-editor::backdrop{background:#1e221b73}.health-editor-heading{z-index:1;background:var(--surface,#fffdfa);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding-block:16px;display:flex;position:sticky;top:0}.health-editor-heading h2{margin:0;font-size:22px}.health-actions,.health-form-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.health-form-actions{background:var(--surface,#fffdfa);border-top:1px solid var(--border);justify-content:flex-end;padding-block:16px;position:sticky;bottom:0}.health-editor .ui-button{min-height:44px;margin:0}.health-editor .health-form{margin:0}.health-editor .health-form>fieldset>legend{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.health-form input[readonly]{background:var(--background,#f4f2eb);color:var(--text-muted)}.health-discard{border:1px solid var(--border);border-radius:8px;margin-block:16px;padding:16px}.health-discard p{margin-top:0}.health-section>.section-heading h3{margin-bottom:0}.health-trash{margin-top:16px}@media (width<=600px){.health-editor{width:calc(100vw - 16px);max-height:calc(100dvh - 24px);padding-inline:16px}.health-editor .health-form input,.health-editor .health-form select,.health-editor .health-form textarea{font-size:16px}.health-section>.section-heading{align-items:center}}.health-load-status{min-height:24px}.health-category-button{min-height:44px;color:var(--text-muted);font:inherit;text-underline-offset:4px;background:0 0;border:0;padding:4px 0;text-decoration:underline}.health-category-button:hover{color:var(--accent)}.health-section h3{scroll-margin-top:24px}.health-form .health-choice-group{grid-column:1/-1;margin:0 0 12px}.health-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.health-form .health-choice{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;justify-content:center;min-height:48px;margin:0;padding:12px 16px;position:relative}.health-form .health-choice input{clip-path:inset(50%);border:0;width:1px;height:1px;margin:0;padding:0;position:absolute;overflow:hidden}.health-choice:has(input:checked){border-color:var(--accent);background:var(--surface-selected);box-shadow:inset 0 0 0 1px var(--accent);font-weight:600}.health-choice:has(input:focus-visible){outline:3px solid var(--accent);outline-offset:3px}.health-choice:has(input:disabled){cursor:default;opacity:.7}.health-choice:hover{border-color:var(--accent)}.health-form .health-primary-value{font-variant-numeric:tabular-nums;padding-block:14px;font-size:28px}.health-optional{border:1px solid var(--border);border-radius:var(--radius-sm);margin-block:16px;padding-inline:14px}.health-optional>summary{cursor:pointer;min-height:48px;padding-block:14px}.health-optional>summary span{color:var(--text-muted);font-size:13px;font-weight:400}.health-optional[open]>summary{border-bottom:1px solid var(--border);margin-bottom:12px}.health-optional .health-form-grid{padding-block:4px}.health-discard{border:0;margin:0;padding:24px 0}.health-discard .health-actions{justify-content:flex-end;margin-top:24px}.health-charts{margin:32px 0}.health-charts-heading{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:20px;display:flex}.health-charts-heading h3{margin:6px 0;font-size:26px}.health-charts-heading p{color:var(--muted);margin:0}.health-chart-eyebrow{letter-spacing:.18em;font-size:11px}.health-chart-range{border:1px solid var(--border);border-radius:10px;gap:4px;padding:4px;display:flex}.health-chart-range legend{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.health-chart-range label{cursor:pointer;position:relative}.health-chart-range input{clip-path:inset(50%);width:1px;height:1px;position:absolute}.health-chart-range span{text-align:center;border-radius:6px;min-width:44px;padding:12px 10px;display:block}.health-chart-range input:checked+span{color:#fff;background:#4b5f46}.health-chart-range input:focus-visible+span{outline-offset:2px;outline:2px solid #4b5f46}.health-chart-layout{grid-template-columns:1fr 1fr;gap:16px;display:grid}.health-chart-card{border:1px solid var(--border);background:#fffdfa;border-radius:16px;min-width:0;padding:24px}.measurement-chart{background:#f1f3e9;grid-column:1/-1}.health-chart-card header{justify-content:space-between;align-items:center;gap:16px;display:flex}.health-chart-card h4{margin:0;font-size:20px}.health-chart-card header label{color:#62675e;align-items:center;gap:8px;font-size:12px;display:flex}.health-chart-card select{border:1px solid var(--border);min-height:44px;color:var(--text);background:0 0;border-radius:8px;max-width:140px;padding:8px 12px}.health-chart-readout{margin-top:20px}.health-chart-readout strong{font-variant-numeric:tabular-nums;font-size:36px;font-weight:500}.health-chart-readout strong span{color:#62675e;margin-left:8px;font-size:14px}.health-chart-readout p{color:#62675e;min-height:18px;font-size:12px}.health-chart-canvas{position:relative}.health-chart-canvas svg{width:100%;max-height:260px;display:block}.chart-grid{stroke:#dadfd2;stroke-dasharray:3 5}.chart-label{fill:#62675e;font-family:sans-serif;font-size:12px}.chart-line{stroke:#4b5f46;stroke-width:2px}.chart-dot{fill:#4b5f46;stroke:#fffdfa;stroke-width:2px}.chart-bar{stroke:#6e8470;stroke-width:12px;stroke-linecap:round}.sleep-chart .chart-bar{stroke:#686d8f}.sleep-chart .chart-dot{fill:#686d8f}.chart-bar.estimated{stroke-dasharray:4 5}.chart-dot.estimated{fill:#fffdfa;stroke:#686d8f}.chart-hit{cursor:pointer}.chart-hit:focus{stroke:#26372a;stroke-width:2px;outline:none}.health-chart-empty{text-align:center;color:#62675e;background:#fffdfaee;padding:12px;font-size:14px;position:absolute;inset:30% 10% auto}.health-chart-footer{justify-content:space-between;align-items:center;gap:12px;min-height:44px;display:flex}.health-chart-footer p,.health-chart-legend{color:#62675e;font-size:12px}.health-chart-navigation{gap:4px;display:flex}.health-chart-navigation .ui-button{min-width:44px;min-height:44px;margin:0;padding:8px 12px}.health-chart-table{margin-top:12px;font-size:13px;overflow-x:auto}.health-chart-table summary{cursor:pointer;align-content:center;min-height:44px}.health-chart-table table{border-collapse:collapse;text-align:left;width:100%}.health-chart-table caption{text-align:left;padding:12px 0}.health-chart-table th,.health-chart-table td{border-bottom:1px solid var(--border);padding:8px}.health-chart-legend span{vertical-align:middle;border-top:3px solid #686d8f;width:16px;margin-right:4px;display:inline-block}.health-chart-legend .legend-estimated{border-top-style:dashed;margin-left:12px}@media (width<=700px){.health-charts-heading{flex-direction:column;align-items:flex-start;gap:16px}.health-chart-layout{grid-template-columns:1fr}.health-chart-card{padding:16px}.health-chart-card header{align-items:flex-start}.health-chart-card header label{flex-direction:column;align-items:flex-end;gap:4px}.health-chart-readout strong{font-size:32px}}.sleep-chart .chart-bar.estimated{stroke-linecap:butt;stroke-dasharray:7 5}@media (width<=700px){.chart-label{font-size:24px}}.health-overview-heading h2{margin-bottom:8px}.health-overview-heading p{margin:0}.health-record-launcher{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.health-record-launcher label{align-items:center;gap:8px;font-size:14px;display:flex}.health-record-launcher select{border:1px solid var(--border);min-height:44px;color:var(--text);background:0 0;border-radius:8px;padding:8px}.health-overview-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0;display:grid}.health-panel .health-metric-card{text-align:left;font:inherit;color:var(--text);border:1px solid var(--border);cursor:pointer;background:#f8f7f2;border-radius:12px;min-width:0;padding:20px}.health-metric-card.selected{background:#edf0e5;border-color:#4b5f46}.health-metric-card>span{display:block}.health-metric-label{color:var(--muted);font-size:14px}.health-metric-card strong{font-variant-numeric:tabular-nums;margin:8px 0;font-size:clamp(28px,3vw,42px);font-weight:500;line-height:1.4;display:block}.health-metric-card strong span{color:var(--muted);margin-left:6px;font-size:14px}.health-metric-date,.health-metric-context{color:var(--muted);font-size:12px;line-height:1.6}.health-trend .health-chart-canvas{max-width:760px;margin:auto}.health-trend-change{color:var(--muted);margin:0;font-size:14px}.health-record-tabs{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.health-record-tabs button{min-height:44px;font:inherit;color:var(--muted);border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:8px;padding:8px 16px}.health-record-tabs button[aria-pressed=true]{color:#fff;background:#4b5f46;border-color:#4b5f46}.health-compact-record{border:0;border-bottom:1px solid var(--border);border-radius:0;margin:0;padding:0}.health-compact-record>details{margin:0}.health-panel .health-record-summary{grid-template-columns:110px minmax(0,1fr) auto 44px;align-items:center;gap:16px;padding:16px 0;list-style:none;display:grid}.health-record-summary::-webkit-details-marker{display:none}.health-record-summary strong{font-variant-numeric:tabular-nums;font-size:20px;font-weight:500}.health-record-date,.health-detail-cue{color:var(--muted);font-size:13px}.health-detail-cue:after{content:" ＋"}.health-record-detail[open]>summary .health-detail-cue:after{content:" −"}.health-record-detail[open]>summary{border-bottom:1px solid var(--border)}.health-record-body{background:#f8f7f2;border-radius:8px;margin-bottom:12px;padding:20px}.health-category-content{min-height:130px}.health-category-empty{padding:28px 0}.health-recent{margin-top:32px}.health-recent h3{margin:0}.health-trash{border-top:1px solid var(--border);margin-top:28px;padding-top:12px}.health-panel button:focus-visible,.health-record-summary:focus-visible{outline-offset:3px;outline:2px solid #4b5f46}@media (width<=700px){.health-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.health-panel .health-metric-card{padding:14px}.health-record-launcher{width:100%}.health-panel .health-record-summary{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px}.health-record-date{grid-column:1}.health-record-summary strong{grid-area:1/2/span 2;font-size:18px}.health-record-name{grid-column:1;font-size:14px}.health-detail-cue{text-align:right;grid-column:2}.health-record-body{padding:12px}}.health-custom-range{flex-wrap:wrap;gap:12px;margin:12px 0;display:flex}.health-custom-range label{align-items:center;gap:8px;font-size:14px;display:flex}.health-custom-range input{border:1px solid var(--border);min-height:44px;font:inherit;color:var(--text);background:0 0;border-radius:8px;padding:8px}@media (width<=600px){.health-chart-range{flex-wrap:wrap}.health-chart-range span{min-width:36px;padding-inline:8px}}.health-content.main-content{padding-top:32px}.health-content .page-header{min-height:0;margin-bottom:24px}.health-content .eyebrow{margin-bottom:8px}.health-content .page-header h1{font-size:40px}.health-content .page-description{max-width:none;margin-top:8px}.health-panel .health-load-status{min-height:0;margin-block:0}.health-load-status:empty{display:none}.health-panel .health-record-launcher .ui-button{margin:0}@media (width<=700px){.health-record-launcher label>span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.health-record-launcher select{max-width:110px}.health-record-launcher .ui-button{padding-inline:14px}}
