*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{color-scheme:light;--primary:#4d52b4;--hover:#383c92;--on-primary:#fff;--soft:#e1edd4;--bg:#f4f9f7;--surface:#fff;--text:#223d48;--muted:#4c616b;--line:#82959b;--focus:#4d52b4;--ok:#176342;--okbg:#e8f5ee;--warn:#855000;--warnbg:#fff4df;--danger:#a32738;--dangerbg:#ffebee;--shadow:0 8px 32px #17374b06;--accent:#70d6c5;--accent2:#4e9ce8;--accent3:#cae5bc}[data-theme=blue],[data-theme=green]{--primary:#4d52b4;--hover:#383c92;--soft:#e1edd4;--bg:#f4f9f7;--surface:#fff;--text:#223d48;--muted:#4c616b;--line:#82959b;--focus:#4d52b4;--accent:#70d6c5;--accent2:#4e9ce8;--accent3:#cae5bc;--on-primary:#fff}[data-theme=rose]{--primary:#903d60;--hover:#79314f;--soft:#f5cdd0;--bg:#fff7f9;--surface:#fff;--text:#463344;--muted:#6e5264;--line:#ab899b;--focus:#75445e;--accent:#eb6e9b;--accent2:#e69cba;--accent3:#826e8b;--on-primary:#fff}[data-theme=violet]{--primary:#572866;--hover:#3d2a5d;--soft:#efe7f3;--bg:#f8f5fb;--surface:#fff;--text:#2b103c;--muted:#665071;--line:#a48ab0;--focus:#572866;--accent:#8f529b;--accent2:#ac91c0;--accent3:#3d2a5d;--on-primary:#fff}[data-theme=night]{--primary:#3d5387;--hover:#182346;--soft:#e7e9f2;--bg:#f4f5fa;--surface:#fff;--text:#182346;--muted:#505e7a;--line:#8a94af;--focus:#3d5387;--accent:#7c83ad;--accent2:#bfa9ba;--accent3:#3d5387;--on-primary:#fff}[data-theme=sand]{--primary:#40516c;--hover:#2b3b53;--soft:#f5e4c4;--bg:#fffaf2;--surface:#fff;--text:#3c3840;--muted:#655847;--line:#a88e6c;--focus:#40516c;--accent:#f5b297;--accent2:#c78997;--accent3:#8a99b1;--on-primary:#fff}[data-theme=berry]{--primary:#812d35;--hover:#632129;--soft:#f2e0e9;--bg:#fcf6f9;--surface:#fff;--text:#402c3d;--muted:#715063;--line:#af879c;--focus:#536ca5;--accent:#b9689f;--accent2:#536ca5;--accent3:#934372;--accent4:#c388a9;--on-primary:#fff}[data-mode=dark]{color-scheme:dark;--bg:#121e25;--surface:#1c2e36;--text:#edf6f4;--muted:#b7ccc9;--line:#7b9198;--primary:#70d6c5;--hover:#a2e5d9;--on-primary:#162d36;--soft:#2a4345;--focus:#cae5bc;--ok:#a6e8c3;--okbg:#183e31;--warn:#ffda9c;--warnbg:#493820;--danger:#ffb4bd;--dangerbg:#4b2730}[data-mode=dark][data-theme=rose]{--bg:#251c26;--surface:#342734;--text:#fff1f5;--muted:#d9bdce;--line:#a9849a;--primary:#f4b3c7;--hover:#f5cdd0;--soft:#503548;--on-primary:#352332;--focus:#f4b3c7}[data-mode=dark][data-theme=violet]{--bg:#1d1228;--surface:#2b1c39;--text:#f7effc;--muted:#d1bddf;--line:#9f83b4;--primary:#cfb6df;--hover:#e4d1ee;--soft:#432c53;--on-primary:#2b103c;--focus:#cfb6df}[data-mode=dark][data-theme=night]{--bg:#0e0d15;--surface:#182346;--text:#f0f2fc;--muted:#c6c6dc;--line:#838bb1;--primary:#bfa9ba;--hover:#ddc9d8;--soft:#30365b;--on-primary:#182346;--focus:#c6c6dc}[data-mode=dark][data-theme=sand]{--bg:#24211e;--surface:#332d29;--text:#fff3df;--muted:#ddcbb5;--line:#a4937f;--primary:#f5d6a2;--hover:#f5e4c4;--soft:#4a3e34;--on-primary:#332d29;--focus:#f5b297}[data-mode=dark][data-theme=berry]{--bg:#261923;--surface:#392535;--text:#fff0f7;--muted:#dfbfce;--line:#ac8299;--primary:#e5afd0;--hover:#f3cee5;--soft:#573346;--on-primary:#402333;--focus:#c9d4f0}*{box-sizing:border-box}html{font-size:20px;scroll-behavior:smooth}html.large{font-size:23px}body{background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.55}body,h1,h2,h3,p{margin:0}h1{font-size:clamp(1.65rem,3.2vw,2.25rem);font-weight:750;line-height:1.2;letter-spacing:-.04em}h2{font-size:1.25rem;line-height:1.3;letter-spacing:-.02em}h2,h3{font-weight:700}h3{font-size:1.05rem}a{color:var(--primary)}button,input,select,textarea{font:inherit}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}:focus-visible{outline:3px solid var(--focus);outline-offset:4px}a{text-underline-offset:4px}input,select,textarea{background:var(--surface);color:var(--text);border:1.5px solid var(--line);border-radius:12px;padding:.7rem .85rem;min-height:58px;width:100%}input[type=checkbox]{width:24px;height:24px;min-height:24px;accent-color:var(--primary);flex-shrink:0}textarea{resize:vertical;min-height:90px}label{display:block;font-weight:600;margin-bottom:.35rem}.small,small{font-size:.8rem}[hidden]{display:none!important}svg{flex-shrink:0}a svg,button svg{pointer-events:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-weight:600;min-height:58px;border-radius:14px;border:1px solid transparent;padding:.7rem 1.2rem;background:var(--primary);color:var(--on-primary);text-decoration:none;transition:background .18s,transform .18s}.btn:hover{background:var(--hover);transform:translateY(-1px)}.btn:active{transform:translateY(1px)}[data-mode=dark] .btn{color:var(--on-primary)}.btn.secondary{background:var(--surface);color:var(--primary);border-color:var(--line)}.btn.secondary:hover{background:var(--soft)}.btn.ghost{background:transparent;color:var(--primary)}.btn.danger{background:var(--danger);color:var(--surface)}.btn.compact{min-height:48px;padding:.4rem .8rem;font-size:.85rem}.card{background:var(--surface);border:1px solid color-mix(in srgb,var(--line) 60%,transparent);border-radius:24px;padding:1.35rem;box-shadow:var(--shadow)}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:.65rem;font-weight:750;color:var(--primary)}.stack>*+*{margin-top:1rem}.row{gap:.8rem}.row,.spread{display:flex;align-items:center}.spread{justify-content:space-between;gap:1rem}.actions{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center}.field{margin-bottom:1rem}.field small{display:block;color:var(--muted);margin-top:.3rem}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.check{display:flex;gap:.6rem;align-items:flex-start;font-weight:400;min-height:44px}.error{color:var(--danger);background:var(--dangerbg);border-radius:12px;padding:.8rem;margin:.8rem 0}.notice{border:1px solid var(--line);padding:.85rem 1rem;border-radius:16px}.badge,.notice{background:var(--soft)}.badge{display:inline-flex;gap:.35rem;align-items:center;padding:.25rem .55rem;border-radius:30px;font-size:.7rem;font-weight:650;color:var(--muted)}.badge.within{background:var(--okbg);color:var(--ok)}.badge.outside{background:var(--warnbg);color:var(--warn)}.avatar{width:52px;height:52px;border-radius:50%;-o-object-fit:cover;object-fit:cover;background:var(--soft)}.avatar.large{width:100px;height:100px}.icon-wrap{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:16px;background:var(--soft);color:var(--primary)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.\!fixed{position:fixed!important}.fixed{position:fixed}.my-3{margin-top:.75rem}.mb-3,.my-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.block{display:block}.table{display:table}.list-item{display:list-item}.hidden{display:none}.w-full{width:100%}.text-center{text-align:center}.font-semibold{font-weight:600}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.loading{min-height:80vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;text-align:center}.skip{position:fixed;top:-100px;left:20px;z-index:100;background:var(--surface);padding:1rem}.skip:focus{top:10px}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:var(--primary);color:var(--on-primary);padding:3rem;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-story:after{content:"";position:absolute;width:650px;height:650px;border:1px solid #ffffff30;border-radius:50%;right:-300px;bottom:-250px;box-shadow:0 0 0 80px #ffffff08,0 0 0 160px #ffffff06;pointer-events:none}.auth-story h1{font-size:clamp(2.2rem,4vw,3.5rem);max-width:12ch;color:#fff}.auth-story p{max-width:35ch;color:#e5f3fb}.brand{display:flex;align-items:center;gap:.65rem;font-weight:750;font-size:.92rem;line-height:1.25;text-decoration:none;color:inherit}.brand img{width:46px;height:46px}.auth-form{padding:2.5rem;display:flex;flex-direction:column;justify-content:center;max-width:650px;width:100%;margin:auto;gap:1.5rem}.auth-form .brand{display:none}.password-wrap{position:relative}.password-wrap input{padding-right:5.1rem}.password-wrap button{position:absolute;right:5px;top:4px;bottom:4px;min-width:86px;border:0;border-radius:10px;background:var(--soft);color:var(--primary);font-size:.8rem}.auth-foot{font-size:.7rem;color:var(--muted);display:flex;justify-content:center;flex-wrap:wrap;gap:.7rem}.auth-foot a{min-height:30px}.shell{display:grid;grid-template-columns:255px minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;width:255px;height:100vh;background:var(--surface);border-right:1px solid var(--line);padding:1.5rem 1rem;display:flex;flex-direction:column;gap:1.5rem}.sidebar nav{display:grid;gap:.35rem}.navlink{display:flex;align-items:center;gap:.7rem;padding:.75rem .8rem;border-radius:14px;text-decoration:none;color:var(--muted);min-height:58px;font-size:.9rem;font-weight:600}.navlink.active,.navlink:hover{background:var(--soft);color:var(--primary)}.sidebar-footer{margin-top:auto;font-size:.65rem;color:var(--muted);line-height:1.8}.workspace{grid-column:2;min-width:0}.topbar{height:90px;justify-content:space-between;padding:0 2rem;border-bottom:1px solid var(--line);background:var(--surface);gap:1rem}.profile-link,.topbar{display:flex;align-items:center}.profile-link{color:var(--text);text-decoration:none;gap:.65rem;font-size:.8rem}.content{max-width:1200px;padding:2rem;margin:auto}.page-heading{margin-bottom:1.5rem}.page-heading p{margin-top:.5rem;color:var(--muted)}.bottom-nav{display:none}.hero{display:grid;grid-template-columns:1fr auto;align-items:center;gap:1rem;background:var(--soft);border-radius:24px;padding:1.5rem 1.7rem;margin-bottom:1.5rem}.hero h2{font-size:1.5rem}.hero p{margin:.4rem 0 1rem;color:var(--muted)}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.9rem;margin:1rem 0 1.5rem}.metric-value{font-size:1.95rem;font-weight:750;letter-spacing:-.05em;line-height:1.3;margin:.8rem 0 .3rem}.metric-unit{font-size:.7rem;color:var(--muted);font-weight:400;letter-spacing:0}.metric-card{padding:1rem}.metric-card h3{font-size:.9rem}.metric-card .badge{margin-top:.8rem;font-size:.6rem}.metric-card .timestamp{font-size:.65rem;color:var(--muted);margin-top:.25rem}.section-title{margin:1.3rem 0 .8rem}.form-section{border-bottom:1px solid var(--line);padding:1.2rem 0}.form-section:first-child{padding-top:0}.form-section:last-child{border-bottom:0}.form-section h2{margin-bottom:.9rem}.unit-input{display:flex;border:1.5px solid var(--line);border-radius:12px;overflow:hidden;align-items:stretch}.unit-input input{border:0;border-radius:0;min-width:0;font-size:1.15rem}.unit-input span{display:flex;align-items:center;padding:0 .75rem;background:var(--soft);color:var(--muted);font-size:.8rem}.chips{display:flex;gap:.5rem;flex-wrap:wrap}.chips label{display:flex;align-items:center;padding:.65rem .8rem;min-height:56px;border:1.5px solid var(--line);border-radius:12px;font-size:.8rem;cursor:pointer}.chips input{position:absolute;width:1px;height:1px;opacity:0}.chips label:has(input:checked){background:var(--primary);color:var(--on-primary);border-color:var(--primary)}[data-mode=dark] .chips label:has(input:checked){color:var(--on-primary)}.chips label:has(input:focus-visible){outline:3px solid var(--focus)}.form-actions{display:flex;gap:.75rem;margin-top:1.2rem}.form-actions .btn:first-child{flex:1}.form-narrow{max-width:800px}.filters{display:flex;flex-wrap:wrap;gap:.8rem;align-items:end;margin-bottom:1rem}.filters .field{margin:0;flex:1;min-width:150px}.filters label{font-size:.8rem}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:.8rem}th{text-align:left;color:var(--muted);background:var(--soft);font-weight:650}td,th{padding:.8rem .65rem;border-bottom:1px solid var(--line);vertical-align:top}td small{display:block}.table-wrap table{min-width:650px}.empty{text-align:center;padding:2.5rem 1rem;color:var(--muted)}.empty svg{margin:0 auto 1rem}.stat{border-left:3px solid var(--primary);padding:.5rem 1rem}.stat strong{display:block;font-size:1.3rem}.chart{width:100%;height:230px;display:block;color:var(--primary)}.chart text{fill:var(--muted);font-size:12px}.chart .gridline{stroke:var(--line);stroke-width:1}.chart .trend{stroke:var(--primary);stroke-width:3;fill:none}.chart .dot{fill:var(--primary)}.chart .second{stroke:var(--muted);stroke-dasharray:6 4}.chart text{font-family:inherit}.legal{max-width:850px;margin:auto}.legal h2{margin:1.5rem 0 .6rem}.legal p{margin:.8rem 0;color:var(--muted)}.legal ul{list-style:disc;padding-left:1.4rem;color:var(--muted)}.legal-header{padding:1rem 0}.preference-choice{display:flex;gap:.7rem;align-items:center}.theme-dot{display:block;width:30px;height:30px;border-radius:50%;background:#145a86}.theme-dot.green{background:#25634e}.theme-dot.rose{background:#934563}.preview-palette{background:var(--soft);padding:1.2rem;border-radius:18px}.list-item{display:block;padding:1rem 0;border-bottom:1px solid var(--line)}.list-item:last-child{border:0}.tabs{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem}.tabs button{background:var(--surface);color:var(--muted);border:1px solid var(--line);min-height:54px;padding:.6rem .9rem;border-radius:14px;font-weight:600}.tabs button.active{background:var(--primary)}.tabs button.active,[data-mode=dark] .tabs button.active{color:var(--on-primary)}.report-only{display:none}.print-header{border-bottom:2px solid var(--primary);padding-bottom:1rem;margin-bottom:1rem}.report-disclaimer{font-size:.7rem;border-top:1px solid var(--line);padding-top:.7rem;margin-top:1rem}.metric-options{display:flex;gap:.6rem;flex-wrap:wrap}.report-sheet{background:var(--surface);padding:1.5rem;border-radius:20px}.audit{font-family:ui-monospace,monospace;font-size:.65rem;overflow-wrap:anywhere}#toast{position:fixed;bottom:1.5rem;left:50%;transform:translateX(-50%);max-width:90vw;padding:1rem 1.5rem;border-radius:16px;background:var(--text);color:var(--surface);box-shadow:0 10px 40px #0002;z-index:99}dialog{border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--text);padding:1.5rem;max-width:500px;width:90vw}dialog::backdrop{background:#0e203785}dialog p{margin:1rem 0}.busy{opacity:.6;pointer-events:none}@media(max-width:1150px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.content{padding:1.4rem}.topbar{padding:0 1.4rem}.shell{grid-template-columns:220px minmax(0,1fr)}.sidebar{width:220px}}@media(max-width:800px){.auth-layout{display:block}.auth-story{display:none}.auth-form{padding:1.5rem 1rem;min-height:100vh}.auth-form .brand{display:flex;margin-bottom:1rem}.shell{display:block}.sidebar{display:none}.topbar{height:76px;padding:0 1rem}.topbar .eyebrow{display:none}.topbar .brand{font-size:.8rem}.topbar .brand img{width:36px;height:36px}.profile-link span{display:none}.content{padding:1.3rem 1rem 6.5rem}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,1fr);background:var(--surface);border-top:1px solid var(--line);padding:.35rem .3rem calc(.35rem + env(safe-area-inset-bottom));z-index:40}.bottom-nav .navlink{flex-direction:column;gap:.15rem;padding:.4rem .1rem;font-size:.65rem;min-height:62px}.hero{padding:1.2rem}.hero .hero-icon{display:none}.hero h2{font-size:1.35rem}.grid3{grid-template-columns:1fr}.page-heading .spread{align-items:flex-start;flex-direction:column}.form-actions{flex-direction:column}.form-actions .btn{width:100%}.metric-card{padding:1rem}.metric-value{font-size:1.7rem}#toast{bottom:100px}.card{padding:1.1rem;border-radius:20px}.report-sheet{padding:1rem}}@media(max-width:480px){.grid2,.metrics{grid-template-columns:1fr}.metric-card{display:grid;grid-template-columns:1fr auto;gap:.2rem .6rem}.metric-card .metric-value{grid-column:2;grid-row:1/3;margin:0;text-align:right;align-self:center}.metric-card .badge{grid-column:1/-1;justify-self:start;margin-top:.3rem}.chips label{flex:1;justify-content:center}.actions .btn{flex:1}.filters{display:grid;grid-template-columns:1fr 1fr}.filters .field{min-width:0}.filters .btn{grid-column:1/-1}.topbar .brand{max-width:210px}.large .topbar .brand{font-size:.65rem}}.mobile-brand{display:none}.auth-story{background:#145a86}.auth-story .eyebrow{color:#d3eaf8}@media(max-width:800px){.desktop-title{display:none}.mobile-brand{display:block}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media print{@page{size:A4;margin:16mm 12mm}html{font-size:10pt!important}body{background:#fff!important;color:#142c3e!important}#toast,.bottom-nav,.no-print,.sidebar,.skip,.topbar{display:none!important}.shell{display:block}.content{padding:0;max-width:none}.report-only{display:block}.report-sheet{border:0;padding:0;box-shadow:none;background:#fff;color:#142c3e}.report-sheet *{color:#142c3e!important}.report-sheet .table-wrap{overflow:visible}.report-sheet table{min-width:0;font-size:8pt}.report-sheet td,.report-sheet th{padding:5pt 4pt}.report-sheet th{background:#e8f3fb!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.report-sheet thead{display:table-header-group}.print-header,.report-sheet tr{-moz-column-break-inside:avoid;break-inside:avoid}.report-sheet .badge{border:1px solid #8297a7;background:none;font-size:7pt}.card{box-shadow:none}.avatar{-webkit-print-color-adjust:exact;print-color-adjust:exact}.report-sheet .chart{height:160px}a{text-decoration:none}.report-disclaimer{position:static}}.measurement-help{margin:.8rem 0 1rem;border:1px solid var(--line);border-radius:14px;padding:1rem;background:var(--soft)}.measurement-help ul{list-style:disc;padding-left:1.4rem;margin:.8rem 0}.measurement-help li{margin:.55rem 0}.reference-box{background:var(--soft);border-left:4px solid var(--primary);padding:.8rem 1rem;border-radius:10px;margin:.8rem 0}.glucose-entry{border-bottom:1px solid var(--line);padding:.7rem 0 1rem}.week-days{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.7rem}.week-day{display:flex;flex-direction:column;gap:.5rem;text-align:left;padding:1rem;min-height:145px;border:2px solid var(--line);border-radius:18px;color:var(--text);background:var(--surface)}.week-day small,.week-day span{color:var(--muted)}.week-day.selected{background:var(--soft)}.week-day.selected,.week-day:hover{border-color:var(--primary)}.week-day:focus-visible{outline:3px solid var(--focus);outline-offset:3px}@media(max-width:480px){.week-days{grid-template-columns:1fr}.week-day{min-height:110px}}@media(max-width:800px){.week-days{display:flex;overflow-x:auto;gap:.6rem;padding:.2rem .2rem .6rem;scroll-snap-type:x proximity}.week-day{flex:0 0 230px;min-height:135px;scroll-snap-align:start}.week-day.selected{border-width:3px}}@media(max-width:480px){#glucose-week-filter{grid-template-columns:1fr}#glucose-week-filter input{width:100%}}.appearance-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:1.2rem;align-items:start}.theme-picker{border:0;padding:0;min-width:0;margin:0}.theme-picker legend{font-weight:650;margin-bottom:.5rem}.theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.theme-card{position:relative;display:flex;flex-direction:column;gap:.6rem;border:2px solid var(--line);border-radius:18px;padding:.8rem;cursor:pointer;background:var(--surface);margin:0;transition:transform .18s,border-color .18s;min-width:0}.theme-card:hover{transform:translateY(-2px);border-color:var(--primary)}.theme-card:has(input:checked){border:3px solid var(--primary);padding:calc(.8rem - 1px);background:var(--soft)}.theme-card:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:4px}.theme-card input{position:absolute;top:.75rem;right:.65rem;width:22px;height:22px;min-height:22px;accent-color:var(--primary)}.theme-name{display:block;padding-right:1.5rem;font-size:.85rem;line-height:1.35;min-height:2.3em}.theme-description{font-size:.72rem;font-weight:400;color:var(--muted);line-height:1.4}.theme-selected{font-size:.7rem;font-weight:650;color:var(--primary);margin-top:auto}.theme-mini{display:flex;border-radius:12px;overflow:hidden;border:1px solid var(--line);height:140px;background:var(--bg);pointer-events:none}.mini-bar{width:18%;background:var(--primary);border-right:6px solid var(--accent)}.mini-surface{display:flex;flex-direction:column;gap:10px;padding:12px;width:82%;color:var(--text)}.mini-greeting{font-size:12px;letter-spacing:0;font-weight:700}.mini-row{display:flex;gap:7px}.mini-row span{height:22px;border-radius:6px;flex:1;background:var(--soft);border-top:4px solid var(--accent2)}.mini-button{display:block;align-self:start;background:var(--primary);color:var(--on-primary);border-radius:6px;padding:4px 10px;font-size:11px;font-weight:650}@media(min-width:1450px){.theme-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1050px){.appearance-layout{grid-template-columns:1fr}}@media(max-width:420px){.theme-grid{gap:.6rem}.theme-card{padding:.65rem}.theme-card:has(input:checked){padding:calc(.65rem - 1px)}.theme-mini{height:125px}.mini-surface{padding:10px}.theme-name{font-size:.8rem}}.hero{background:linear-gradient(115deg,var(--soft),var(--surface));border:1px solid var(--line);border-top:4px solid var(--accent)}.navlink.active{box-shadow:inset 4px 0 var(--accent)}.mini-row span:nth-child(2){border-top-color:var(--accent3)}.hero-icon{color:var(--primary)}