@charset "UTF-8";
:root{color-scheme:light;--bg:#f6f8f6;--surface:#fff;--ink:#273d33;--muted:#728078;--line:#e7ede8;--green:#386552;--hover:#2b5141;--soft:#edf4ee;--peach:#f9ece3;--purple:#eeebf5;--input:#fafbf9;--error:#a83f3a;--shadow:0 6px 28px #293c3210;--radius:24px}
:root[data-theme=dark]{color-scheme:dark;--bg:#151e1a;--surface:#1f2b24;--ink:#e4eee7;--muted:#a6b7ac;--line:#35453b;--green:#aacdb5;--hover:#bedfc8;--soft:#2b4134;--peach:#493a2e;--purple:#383446;--input:#24332a;--error:#ffb4ad;--shadow:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .18s,transform .18s}button:active{transform:scale(.98)}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #d5a77c;outline-offset:4px}button{border:0}input,textarea{width:100%;min-width:0;background:var(--input);border:1px solid var(--line);border-radius:12px;padding:14px;outline:none;transition:border-color .15s}input:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #6f9f7e1a}input[type=date],input[type=datetime-local]{min-height:54px;max-width:100%}input::-webkit-inner-spin-button{appearance:none}input[type=number]{-moz-appearance:textfield}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.4;font-weight:650;letter-spacing:.02em}h2{font-size:21px;font-weight:650}h3{font-size:17px;font-weight:600}.sprite,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}.header{height:94px;max-width:1160px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 36px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-size:24px;font-weight:700;letter-spacing:.08em}.brand small{font-size:14px;font-weight:400;color:var(--muted);margin-left:12px;letter-spacing:.12em}.brand-mark{display:grid;place-items:center;background:var(--peach);width:45px;height:49px;border-radius:16px 16px 18px 18px;color:#93684c;transform:rotate(-8deg)}.brand-mark svg{width:28px;height:28px}.header-actions{display:flex;gap:10px}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;background:transparent;border-radius:12px;color:var(--muted)}.icon-button:hover{background:var(--soft);color:var(--green)}.container{max-width:1160px;margin:auto;padding:22px 36px 0}.greeting{display:flex;align-items:center;justify-content:space-between;margin:3px 0 28px;gap:16px}.eyebrow{font-size:14px;letter-spacing:.03em;color:var(--muted);margin-bottom:8px}.subtitle{font-size:15px;margin-top:9px;color:var(--muted)}.local-badge{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--green);white-space:nowrap;border:1px solid var(--line);border-radius:30px;padding:7px 12px}.local-badge svg{width:15px;height:15px}.overview{display:grid;grid-template-columns:1.15fr 1fr;gap:22px;margin-bottom:26px}.next-card{background:var(--soft);padding:24px 28px;border-radius:var(--radius);position:relative;overflow:hidden;min-width:0}.card-top,.next-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;position:relative;z-index:1}.small-label{display:flex;align-items:center;gap:8px;font-size:15px;color:var(--green);font-weight:550}.small-label svg{width:19px;height:19px}.text-button{padding:8px 0;min-height:44px;color:var(--green);background:none;font-size:14px;font-weight:550}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.next-time{font-size:51px;font-weight:600;line-height:1.25;letter-spacing:-.025em;font-variant-numeric:tabular-nums;margin:12px 0 4px;position:relative;z-index:1}.next-time small{font-size:16px;letter-spacing:0;margin-left:12px;font-weight:450}.countdown{font-size:14px;position:relative;z-index:1;min-height:24px}.next-bottom{border-top:1px solid #76958126;margin-top:24px;padding-top:14px;font-size:13px;color:var(--muted);flex-wrap:wrap}.bottle-decoration{position:absolute;width:120px;height:150px;right:30px;top:65px;stroke-width:.7;color:var(--green);opacity:.10;transform:rotate(22deg)}.stats{display:grid;grid-template-columns:1fr 1fr;gap:18px}.stat-card{padding:24px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--line)}.stat-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;margin-bottom:13px}.stat-icon svg{width:22px;height:22px}.peach{background:var(--peach);color:#ad7c59}.lavender{background:var(--purple);color:#8e80a7}.stat-card p{font-size:14px;color:var(--muted)}.stat-card strong{font-size:38px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.8;letter-spacing:-.03em}.stat-card div>span{font-size:14px;color:var(--muted);margin-left:8px}.stat-card small{font-size:12px;color:var(--muted)}.workspace{display:grid;grid-template-columns:1fr 1.15fr;gap:24px;align-items:start}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:25px 28px;box-shadow:var(--shadow);min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;margin-bottom:23px}.section-heading h2{display:flex;align-items:center;gap:10px}.heading-icon{width:26px;height:26px;background:var(--soft);color:var(--green);border-radius:9px;display:grid;place-items:center}.heading-icon svg{width:18px;height:18px}.muted{color:var(--muted);font-size:13px}.field-label{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:550;min-height:36px;margin-bottom:8px}.field-label .text-button{min-height:36px;padding:2px 0}.amount-label{margin-top:22px}.amount-input{position:relative}.amount-input input{padding:16px 65px 16px 18px;font-size:38px;font-weight:550;line-height:1.2;letter-spacing:-.02em}.amount-input input::placeholder{color:#b6c0b8}.amount-input>span{position:absolute;right:20px;top:27px;font-size:17px;color:var(--muted)}.amount-presets,.interval-presets{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.amount-presets button,.interval-presets button{background:var(--input);border:1px solid var(--line);border-radius:10px;min-height:44px;font-size:14px;flex:1;white-space:nowrap;padding:6px 10px;color:var(--muted)}.amount-presets button:hover,.interval-presets button:hover,.amount-presets button.selected,.interval-presets button.selected{background:var(--soft);border-color:var(--green);color:var(--green)}.note-details{margin:22px 0}.note-details summary{cursor:pointer;color:var(--muted);font-size:14px;min-height:36px}.note-details summary span{font-size:12px;margin-left:6px;opacity:.7}.note-details textarea{margin-top:8px;resize:vertical;font-size:15px}.primary-button,.secondary-button{min-height:50px;width:100%;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;font-size:16px;font-weight:550}.primary-button{background:var(--green);color:var(--surface)}.primary-button:hover{background:var(--hover)}:root[data-theme=dark] .primary-button{color:#17271d}.primary-button svg{width:20px;height:20px}.secondary-button{background:var(--input);border:1px solid var(--line);color:var(--ink)}.secondary-button:hover{background:var(--soft)}.cancel-edit{margin-top:12px}.form-footnote{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;color:var(--muted);margin-top:15px}.form-footnote svg{width:14px;height:14px}.form-error{margin:12px 0;color:var(--error);font-size:14px}.history-panel{min-height:548px}.count-pill{font-size:12px;line-height:23px;min-width:24px;text-align:center;color:var(--muted);background:var(--bg);border-radius:7px}.history-date{display:flex;align-items:center;justify-content:space-between;background:var(--input);border-radius:12px;border:1px solid var(--line);padding:2px 6px;margin-bottom:10px}.history-date input{background:none;border:0;text-align:center;width:180px;padding:8px;min-height:44px;font-size:15px}.history-date .previous svg{transform:rotate(180deg)}.records{max-height:540px;overflow-y:auto}.record-row{display:grid;grid-template-columns:auto 1fr auto;column-gap:14px;align-items:start;padding:19px 0;border-bottom:1px solid var(--line)}.record-row:last-child{border:0}.record-dot{width:35px;height:35px;background:var(--soft);color:var(--green);border-radius:12px;display:grid;place-items:center;margin-top:4px}.record-dot svg{width:18px;height:18px}.record-main{min-width:0}.record-info{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.record-time{font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}.record-amount{font-size:18px;font-weight:600;color:var(--green);white-space:nowrap}.record-amount span{font-weight:400;font-size:13px;margin-left:4px}.record-note{color:var(--muted);font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap;margin-top:4px}.record-gap{color:var(--muted);font-size:12px;margin-top:4px}.record-actions{display:flex}.record-actions .icon-button{min-width:38px;min-height:44px}.record-actions svg{width:17px;height:17px}.empty-history{text-align:center;min-height:340px;display:flex;flex-direction:column;align-items:center;justify-content:center}.empty-icon{display:grid;place-items:center;background:var(--bg);width:80px;height:80px;border-radius:50%;color:#a9baac;margin:10px 0 20px}.empty-icon svg{width:37px;height:37px;stroke-width:1.1;transform:rotate(-12deg)}.empty-history h3{font-size:16px;font-weight:550}.empty-history p{font-size:14px;color:var(--muted);margin-top:8px;line-height:1.9}.history-total{border-top:1px solid var(--line);padding-top:16px;font-size:13px;color:var(--muted);margin-top:4px}.install-banner{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:var(--surface);border:1px dashed #b9cabc;border-radius:18px;padding:17px 22px;margin-top:26px;color:var(--ink)}.install-banner:hover{background:var(--soft)}.install-mark{width:40px;height:40px;background:var(--soft);color:var(--green);border-radius:12px;display:grid;place-items:center}.install-mark svg{width:21px;height:21px}.install-banner strong{display:block;font-size:14px;font-weight:550}.install-banner small{display:block;color:var(--muted);font-size:12px;margin-top:3px}.install-label{font-size:13px;color:var(--green);margin-left:auto;white-space:nowrap}footer{padding:28px 0 25px;color:var(--muted);font-size:12px;text-align:center}footer>span{margin-left:16px}dialog{border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--ink);padding:26px 28px;width:calc(100% - 32px);max-width:480px;max-height:90dvh;overflow-y:auto;box-shadow:0 20px 80px #13251c30}dialog::backdrop{background:#14231bb3;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.dialog-heading .eyebrow{font-size:12px;margin:0 0 4px}.dialog-heading h2{font-size:23px}#settingsForm>.field-label:not(:first-child){margin-top:20px}.interval-input{position:relative}.interval-input input{padding-right:60px}.interval-input span{position:absolute;right:16px;top:15px;font-size:14px;color:var(--muted)}.helper{color:var(--muted);font-size:13px;line-height:1.8;margin:14px 0 20px}.backup-section{border-top:1px solid var(--line);margin-top:26px;padding-top:24px}.backup-section h3{font-size:17px}.backup-buttons{display:flex;gap:10px}.backup-buttons button{font-size:14px;min-width:0}.backup-buttons svg{width:18px;height:18px}.csv-button{margin-top:6px}#backupInfo{margin-bottom:0;font-size:12px}.install-guide{margin-top:18px}.install-guide h3{font-size:16px;margin:18px 0 5px}.install-guide p{font-size:14px;color:var(--muted);line-height:1.8}.confirm-text{white-space:pre-line;font-size:15px;line-height:1.9}.confirm-actions{display:flex;gap:12px;margin-top:24px}.toast{position:fixed;bottom:max(28px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:var(--ink);color:var(--surface);padding:13px 22px;border-radius:14px;z-index:50;box-shadow:var(--shadow);font-size:14px;max-width:calc(100% - 32px);width:max-content}.notice{padding:16px 20px;border-radius:14px;margin-bottom:20px;font-size:14px}.danger{color:var(--error);border:1px solid var(--error);background:var(--surface)}
@media(min-width:1100px){.container{padding-top:30px}.greeting{margin-bottom:34px}.overview{margin-bottom:30px}.next-card{padding-top:22px;padding-bottom:22px}.workspace{grid-template-columns:.9fr 1.1fr}}
@media(max-width:800px){.header{padding:0 22px;height:80px}.container{padding:16px 22px 0}.overview{grid-template-columns:1fr;gap:16px}.stats{gap:16px}.stat-card{padding:18px 20px;display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center}.stat-icon{grid-row:1/4;margin:0;width:44px;height:44px}.stat-card strong{font-size:29px;line-height:1.6}.stat-card small{grid-column:2;font-size:11px}.stat-card p{font-size:13px}.workspace{grid-template-columns:1fr 1.1fr;gap:16px}.panel{padding:20px}.record-actions{flex-direction:column}.record-actions .icon-button{min-height:40px;min-width:34px}.record-row{column-gap:10px}.record-dot{display:none}.record-row{grid-template-columns:1fr auto}.record-info{gap:8px}.section-heading{margin-bottom:18px}.section-heading>.muted{display:none}.amount-presets{gap:5px}.amount-presets button{padding:7px;font-size:12px}h1{font-size:27px}.greeting{margin-bottom:23px}}
@media(max-width:600px){:root{--radius:20px}.header{height:75px;padding:0 20px;border-bottom:1px solid var(--line)}.brand{font-size:23px;gap:10px}.brand small{font-size:12px;margin-left:8px;letter-spacing:.05em}.brand-mark{width:37px;height:41px;border-radius:13px}.brand-mark svg{width:25px;height:25px}.header-actions{gap:3px}.container{padding:25px 16px 0}.greeting{margin:0 3px 24px;align-items:start;position:relative}h1{font-size:25px}.eyebrow{font-size:13px;margin-bottom:9px}.subtitle{font-size:14px;margin-top:8px}.local-badge{padding:4px 8px;font-size:11px;position:absolute;right:0;top:-1px;gap:3px}.local-badge svg{width:12px;height:12px}.overview{gap:14px;margin-bottom:18px}.next-card{padding:17px 22px 19px}.next-time{font-size:46px;margin-top:8px}.next-bottom{margin-top:20px;font-size:12px}.countdown{font-size:13px}.stats{gap:12px}.stat-card{padding:16px 14px;column-gap:8px}.stat-card p{font-size:12px}.stat-icon{width:34px;height:38px;border-radius:11px}.stat-icon svg{width:20px;height:20px}.stat-card strong{font-size:28px}.stat-card div>span{font-size:12px;margin-left:5px}.stat-card small{grid-column:1/3;margin-top:8px;font-size:11px}.workspace{grid-template-columns:1fr;gap:18px}.panel{padding:22px}.section-heading h2{font-size:20px}.section-heading>.muted{display:block;font-size:12px}.amount-input input{font-size:40px;min-height:84px}.amount-presets{gap:8px}.amount-presets button{padding:8px;font-size:14px}.note-details{margin:18px 0}.primary-button{min-height:54px}.history-panel{min-height:330px}.empty-history{min-height:250px}.record-dot{display:grid}.record-row{grid-template-columns:auto 1fr auto;column-gap:12px}.record-actions{flex-direction:row}.record-actions .icon-button{min-height:44px;min-width:38px}.records{max-height:none}.history-date input{font-size:16px}.record-time,.record-amount{font-size:18px}.record-info{gap:14px}.install-banner{padding:16px;margin-top:20px;gap:10px}.install-banner strong{font-size:13px}.install-label{font-size:12px}.install-mark{width:34px;height:38px}.install-banner small{font-size:11px}footer{padding:24px 0 calc(24px + env(safe-area-inset-bottom))}footer>span{display:block;margin:4px 0 0}dialog{padding:22px;max-height:88dvh;border-radius:20px}.toast{bottom:calc(20px + env(safe-area-inset-bottom))}.record-panel{scroll-margin-top:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
select{font:inherit;color:var(--ink);width:100%;min-width:0;min-height:54px;padding:12px 38px 12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--input);appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23728078' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat}select:focus{outline:2px solid var(--green);outline-offset:1px}.view-tabs{display:flex;gap:6px;background:var(--line);padding:5px;border-radius:15px;margin:0 0 26px;width:max-content;max-width:100%}.view-tabs button{background:none;color:var(--muted);font-size:15px;padding:12px 24px;min-height:48px;border-radius:11px}.view-tabs button.active{background:var(--surface);box-shadow:0 2px 8px #203b2c10;color:var(--ink);font-weight:600}.health-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.health-intro h2{font-size:24px}.health-intro p{font-size:15px;color:var(--muted);margin-top:5px}.health-intro .secondary-button{width:auto;flex-shrink:0;font-size:14px}.health-context{background:var(--peach);padding:18px 22px;border-radius:16px;margin-bottom:20px}.health-context strong{font-size:15px;font-weight:600}.health-context p{font-size:14px;line-height:1.8;margin-top:5px}.health-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.health-stat{background:var(--surface);padding:20px;border:1px solid var(--line);border-radius:18px;min-width:0}.health-stat>span{display:block;color:var(--muted);font-size:14px}.health-stat strong{display:block;font-size:21px;font-weight:550;margin:8px 0;overflow-wrap:anywhere}.health-stat small{display:block;font-size:13px;color:var(--muted);line-height:1.7}.followup-card{border:1px solid var(--line);border-radius:18px;background:var(--surface);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;margin-bottom:24px}.followup-card strong{display:block;font-size:22px;margin:6px 0;font-weight:550}.followup-card p{font-size:14px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.followup-card .text-button{flex-shrink:0}.health-workspace{display:grid;grid-template-columns:1fr 1.15fr;gap:24px;align-items:start}.health-right-column{display:grid;gap:20px;min-width:0}.health-field-gap{margin-top:18px}.health-two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.health-two-fields .field-label{font-size:14px}.health-form-panel textarea{resize:vertical;font-size:16px}.health-form-panel .primary-button{margin-top:20px}.health-form-panel .helper{font-size:14px;margin:12px 0 0}.health-form-panel .section-heading{flex-wrap:wrap}.symptom-list{display:grid;gap:8px}.symptom-list label{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 12px;background:var(--input);border:1px solid var(--line);border-radius:10px;font-size:14px;cursor:pointer}.symptom-list input{accent-color:var(--green);width:19px;height:19px;min-width:19px;padding:0;border-radius:4px}.care-card{padding:20px 22px;border-radius:18px;background:var(--surface);border:1px solid var(--line);font-size:14px;line-height:1.85}.care-card h3{font-size:17px;line-height:1.6}.care-card p{margin-top:12px}.care-card small{display:block;font-size:13px;color:var(--muted);margin-top:14px}.care-card a{color:var(--green);text-underline-offset:3px}.urgent-care{border-color:#d5aaa0;background:var(--peach)}.health-history-panel .section-heading{margin-bottom:16px}.health-empty{padding:50px 10px;text-align:center;line-height:1.9;color:var(--muted);font-size:14px}.health-record{padding:18px 0;border-bottom:1px solid var(--line)}.health-record:last-child{border:0}.health-record-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.health-record-heading strong{font-size:14px;font-weight:550}.health-record-heading time{font-size:14px;color:var(--muted)}.health-record-value{font-size:19px;font-weight:550;margin-top:6px;overflow-wrap:anywhere;line-height:1.7}.health-record-meta{font-size:13px;color:var(--muted);margin-top:5px}.record-caution{border-left:3px solid #c48d65;padding:6px 10px;background:var(--peach);font-size:14px;margin-top:10px;line-height:1.8}.health-record-actions{display:flex;gap:24px;justify-content:flex-end;margin-top:4px}.health-record-actions button{min-width:44px}.hospital-guide summary{cursor:pointer;font-size:16px;font-weight:550;min-height:44px;padding-top:8px}.health-form-panel #healthSaveNotice{margin:18px 0 0;font-size:14px}.health-form-panel h2{scroll-margin-top:20px}
@media(max-width:800px){.health-overview{gap:12px}.health-stat{padding:16px}.health-stat strong{font-size:18px}.health-workspace{grid-template-columns:1fr 1.1fr;gap:16px}.health-intro h2{font-size:22px}.health-intro .secondary-button{padding:10px 14px}.health-two-fields{grid-template-columns:1fr;gap:8px}}
@media(max-width:600px){.view-tabs{width:100%;margin-bottom:24px}.view-tabs button{flex:1;padding:10px 8px;font-size:14px}.health-intro{display:block;margin:0 4px 20px}.health-intro h2{font-size:22px}.health-intro p{font-size:14px}.health-intro .secondary-button{margin-top:14px;width:100%;min-height:48px}.health-context{padding:16px 18px}.health-overview{grid-template-columns:1fr;gap:12px}.health-stat{padding:16px 20px}.health-stat strong{font-size:22px;margin:5px 0}.followup-card{padding:18px;gap:10px;align-items:start;flex-direction:column}.followup-card strong{font-size:21px}.followup-card .text-button{padding:4px 0;min-height:44px}.health-workspace{grid-template-columns:1fr;gap:18px}.health-two-fields{grid-template-columns:1fr 1fr;gap:10px}.health-right-column{gap:18px}.health-record .record-note{font-size:14px}.care-card{padding:18px 20px}.health-form-panel .section-heading>.muted{display:none}#profileForm .helper{font-size:14px}#profileForm .primary-button{margin-top:20px}}
.language-select{width:auto;min-width:112px;min-height:44px;padding:8px 34px 8px 12px;font-size:14px;background-color:var(--surface)}.header-actions{align-items:center}.health-record-value,.health-intro h2,.greeting h1{overflow-wrap:anywhere}html[lang=en] .brand{letter-spacing:0}html[lang=en] .brand small{letter-spacing:0;margin-left:8px}html[lang=en] .next-bottom{align-items:start}html[lang=en] .next-bottom>span{max-width:100%}html[lang=en] .stat-card small{line-height:1.6;display:block}html[lang=en] .next-time small{white-space:normal}html[lang=en] .section-heading{flex-wrap:wrap}html[lang=en] .install-banner>span:nth-child(2){min-width:0}html[lang=en] .record-info{gap:8px 12px}html[lang=en] .health-two-fields{grid-template-columns:1fr}html[lang=en] .health-two-fields .field-label{line-height:1.6}html[lang=en] .health-record-heading{align-items:start}html[lang=en] .health-record-heading strong{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){.header{gap:10px}.header-actions{gap:2px}.language-select{min-width:96px;font-size:13px;padding-left:9px;padding-right:28px;background-position:right 9px center}.header-actions .icon-button{min-width:38px}.brand small{display:none}html[lang=en] .brand{font-size:22px}html[lang=en] .greeting{padding-top:24px}html[lang=en] .local-badge{left:0;right:auto;top:-4px}html[lang=en] .greeting h1{font-size:25px}html[lang=en] .stat-card{grid-template-columns:1fr;gap:3px}html[lang=en] .stat-icon{grid-row:auto;width:32px;height:32px;margin-bottom:6px}html[lang=en] .stat-card small{grid-column:1;margin-top:4px}html[lang=en] .stat-card p{font-size:13px}html[lang=en] .record-actions{flex-direction:column}html[lang=en] .record-row{column-gap:10px}html[lang=en] .section-heading>.muted{display:none}html[lang=en] .field-label{line-height:1.7}html[lang=en] .install-banner{flex-wrap:wrap}html[lang=en] .install-label{padding-left:44px;width:100%;margin-left:0}html[lang=en] .view-tabs button{padding:10px 6px;font-size:14px}html[lang=en] .record-info{align-items:baseline}html[lang=en] .record-time{font-size:17px}html[lang=en] .record-amount{font-size:17px}.brand-mark{flex-shrink:0}}
@media(max-width:360px){.header{padding:0 14px;gap:8px}.brand-mark{display:none}.header-actions .icon-button{min-width:44px}.brand{gap:0}.greeting h1{font-size:23px}html[lang=en] .greeting h1{font-size:23px}}
.dialog-heading h2,.dialog-heading>div{min-width:0;overflow-wrap:anywhere}.dialog-language-select{margin-left:auto;min-width:98px;max-width:110px;flex-shrink:0;font-size:13px}.dialog-heading{gap:10px}.dialog-heading>.icon-button{flex-shrink:0}
.shared-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px 20px;margin:0 0 24px}.sync-copy{min-width:0}.sync-copy strong{font-size:15px;font-weight:600}.sync-copy p{font-size:13px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.sync-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.sync-actions button{width:auto;white-space:nowrap}.sync-actions .secondary-button{font-size:14px;min-height:44px;padding:8px 12px}.shared-login{max-width:470px;margin:40px auto 64px;padding:32px}.shared-login h2{font-size:26px;line-height:1.5}.login-mark{background:var(--peach);color:var(--green);width:60px;height:60px;border-radius:20px;display:grid;place-items:center;margin:0 0 20px}.login-mark svg{width:34px;height:34px}.shared-login .helper{font-size:14px;margin-top:14px}.shared-login .primary-button{margin-top:20px}.shared-login .eyebrow{font-size:13px}.login-footnote{margin-bottom:0!important}.shared-toolbar[data-phase=offline],.shared-toolbar[data-phase=pending],.shared-toolbar[data-phase=error]{border-color:#d5aaa0}.shared-toolbar[data-phase=online] .sync-copy strong{color:var(--green)}
@media(max-width:600px){.shared-toolbar{display:block;padding:16px 18px;margin-bottom:20px}.sync-actions{margin-top:10px;gap:12px}.sync-actions .text-button{font-size:13px}.shared-login{padding:24px;margin:26px 0 40px}.shared-login h2{font-size:24px}.sync-copy p{font-size:13px}}
