.lw-space-health{--health-accent:#2e6f89;--health-soft:color-mix(in srgb,var(--health-accent) 5%,var(--lw-panel,#fff));box-sizing:border-box;height:100%;overflow:auto;overscroll-behavior:contain;padding:clamp(18px,3.5vw,34px);color:var(--lw-ink,#202525);background:var(--lw-panel,#fff);font:14px/1.55 var(--lw-sans,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);scrollbar-width:thin;-webkit-tap-highlight-color:transparent}
.lw-space-health *{box-sizing:border-box}.lw-space-health [hidden]{display:none!important}.lw-space-health h1,.lw-space-health h2,.lw-space-health h3{line-height:1.25;letter-spacing:-.035em}.lw-space-health h1{margin:0;font-size:30px;font-weight:650}.lw-space-health h2{margin:0;font-size:17px;font-weight:620}.lw-space-health h3{margin:0 0 8px;font-size:15px}.lw-space-health p{margin:0}.lw-space-health button,.lw-space-health input,.lw-space-health select{font-family:inherit}.lw-space-health button{cursor:pointer}.lw-space-health button:disabled{cursor:wait;opacity:.48}.lw-space-health button:focus-visible,.lw-space-health input:focus-visible,.lw-space-health select:focus-visible,.lw-space-health summary:focus-visible{outline:2px solid var(--lw-ink,#17191c);outline-offset:3px}.lw-space-health a{color:var(--health-accent);text-underline-offset:3px}
.lw-health-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:center;padding-bottom:24px}.lw-health-mark{display:none}.lw-health-cost{grid-column:1;margin-top:5px!important;color:var(--lw-muted,#787e82);font-size:13px}.lw-health-freshness{display:flex;align-items:center;gap:6px;grid-column:2;grid-row:1/3;font-size:11px;white-space:nowrap;color:var(--lw-muted,#787e82)}.lw-health-freshness:before{content:'';height:6px;width:6px;border-radius:50%;background:var(--lw-line,#d4d8da)}.lw-health-freshness.is-connected:before{background:#669b82}.lw-health-status{font-size:12px;color:var(--lw-muted,#787e82);margin:0 0 16px!important}.lw-health-status:empty,.lw-health-result:empty{display:none}
.lw-health-groups{display:flex;gap:7px;overflow:auto;scrollbar-width:none;margin:0 -2px 17px;padding:2px;white-space:nowrap}.lw-health-groups::-webkit-scrollbar{display:none}.lw-health-groups button{border:0;border-radius:99px;padding:7px 12px;color:var(--lw-muted,#787e82);background:transparent;font-size:12px;font-weight:550;flex-shrink:0;min-height:34px}.lw-health-groups button[aria-pressed=true]{background:var(--lw-hover,#f0f2f3);color:var(--lw-ink,#202525)}
.lw-health-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:25px}.lw-health-metric-card{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:130px;padding:15px 16px 13px;border:1px solid var(--lw-line,#e5e8e9);border-radius:19px;background:var(--lw-panel,#fff);color:var(--lw-ink,#202525);transition:border-color .18s,background .18s,transform .18s}.lw-health-metric-card:hover{border-color:color-mix(in srgb,var(--metric-color) 50%,var(--lw-line,#e5e8e9))}.lw-health-metric-card:active{transform:scale(.985)}.lw-health-metric-card.is-selected{border-color:color-mix(in srgb,var(--metric-color) 70%,transparent);background:color-mix(in srgb,var(--metric-color) 4%,var(--lw-panel,#fff))}.lw-health-metric-label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:550;color:var(--lw-muted,#787e82)}.lw-health-metric-label:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--metric-color)}.lw-health-metric-card strong{margin:10px 0 2px;font-size:23px;letter-spacing:-.045em;font-weight:630;line-height:1.2;font-variant-numeric:tabular-nums;max-width:100%;overflow-wrap:anywhere}.lw-health-metric-card small{font-size:10px;color:var(--lw-muted,#787e82);z-index:1}.lw-health-sparkline{position:absolute;right:10px;bottom:10px;width:62px;height:26px;color:var(--metric-color);opacity:.55;z-index:-1}
.lw-health-query{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:12px;margin:0 0 18px}.lw-space-health label{display:grid;min-width:0;gap:6px;font-size:11px;font-weight:550;color:var(--lw-muted,#787e82)}.lw-space-health select,.lw-space-health input:not([type=checkbox]):not([type=file]){appearance:none;-webkit-appearance:none;display:block;width:100%;min-width:0;min-height:42px;margin:0;padding:10px 12px;border:1px solid var(--lw-line,#e5e8e9);border-radius:12px;background:var(--lw-panel,#fff);color:var(--lw-ink,#202525);font-size:14px;line-height:1.4;font-weight:400}.lw-space-health select{padding-right:26px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23858b90' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");background-position:right 9px center;background-size:12px;background-repeat:no-repeat}.lw-health-metric-filter,.lw-health-query .lw-health-permission{grid-column:1/-1}.lw-health-update{order:4;justify-self:end;min-height:34px;padding:7px 12px;border:0;background:transparent;color:var(--health-accent);font-size:12px;font-weight:600}.lw-health-period{order:3;display:flex;align-items:center;gap:3px;padding:3px;border-radius:11px;background:var(--lw-hover,#f1f3f4);width:max-content}.lw-health-period button{border:0;border-radius:8px;padding:6px 13px;font-size:11px;font-weight:600;line-height:1.3;color:var(--lw-muted,#787e82);background:transparent}.lw-health-period button[aria-pressed=true]{background:var(--lw-panel,#fff);color:var(--lw-ink,#202525);box-shadow:0 1px 4px #0000000a}.lw-health-custom{order:5;grid-column:1/-1;color:var(--lw-muted,#787e82);font-size:11px}.lw-health-custom summary{cursor:pointer;list-style:none;width:max-content}.lw-health-custom[open]{display:grid;grid-template-columns:1fr 1fr;gap:10px}.lw-health-custom summary{grid-column:1/-1}.lw-health-custom button{border:0;background:transparent;color:var(--lw-muted,#787e82);text-align:left;font-size:11px;padding:0}.lw-space-health summary::-webkit-details-marker{display:none}
.lw-health-result{padding:22px 19px 16px;border:1px solid var(--lw-line,#e5e8e9);border-radius:23px;background:var(--lw-panel,#fff);margin:0 0 28px}.lw-health-result[aria-busy=true]{opacity:.75;transition:opacity .2s}.lw-health-result-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.lw-health-result-header h2{font-size:14px;font-weight:600}.lw-health-result-header span{font-size:11px;color:var(--lw-muted,#787e82)}.lw-health-main-value{display:block;font-size:42px;line-height:1.1;font-weight:620;letter-spacing:-.06em;font-variant-numeric:tabular-nums}.lw-health-value-note{font-size:11px;color:var(--lw-muted,#787e82);margin-top:6px!important}.lw-health-chart{margin:18px -8px 0}.lw-health-plot{position:relative;touch-action:pan-y}.lw-health-trend{display:block;width:100%;height:auto;color:var(--metric-color,var(--health-accent));overflow:visible}.lw-health-gridline{stroke:var(--lw-line,#e5e8e9);stroke-width:.75;stroke-dasharray:3 5}.lw-health-axis{fill:var(--lw-muted,#787e82);font:10px var(--lw-sans,Inter,-apple-system,sans-serif)}.lw-health-selected-line{stroke:var(--metric-color,var(--health-accent));stroke-opacity:.28;stroke-width:1;stroke-dasharray:3 4}.lw-health-selected-dot{fill:var(--lw-panel,#fff);stroke:var(--metric-color,var(--health-accent));stroke-width:2}.lw-health-chart-selection{position:absolute;top:0;right:10px;display:flex;align-items:baseline;gap:7px;background:var(--lw-panel,#fff);border-radius:8px;padding:1px 5px;color:var(--lw-ink,#202525);pointer-events:none}.lw-health-chart-selection strong{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.lw-health-chart-selection span{font-size:10px;color:var(--lw-muted,#787e82)}.lw-health-chart-controls{position:absolute;top:11%;bottom:16%;left:9.2%;right:3.3%;display:grid}.lw-health-chart-controls button{display:block;min-width:0;padding:0;border:0;border-radius:3px;background:transparent;touch-action:pan-y}.lw-health-chart-controls button:focus-visible{outline:1px solid var(--lw-ink,#17191c);outline-offset:-2px}.lw-health-chart figcaption{margin:0 0 15px;text-align:center;font-size:10px;color:var(--lw-muted,#787e82)}.lw-health-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border-top:1px solid var(--lw-line,#e5e8e9);padding-top:15px;margin:0}.lw-health-insights dt{font-size:10px;color:var(--lw-muted,#787e82)}.lw-health-insights dd{margin:4px 0 0;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}.lw-health-result-tools{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-top:20px;color:var(--lw-muted,#787e82);font-size:10px}.lw-health-result-tools button{font:inherit;color:inherit;border:0;background:transparent;padding:0}.lw-health-result-tools details summary{cursor:pointer;list-style:none}.lw-space-health table{border-collapse:collapse;width:100%;font-size:11px;margin-top:10px}.lw-space-health th,.lw-space-health td{font-weight:400;padding:6px 4px;border-bottom:1px solid var(--lw-line,#e5e8e9);text-align:left}.lw-space-health td{text-align:right;font-variant-numeric:tabular-nums}
.lw-health-connections{border-top:1px solid var(--lw-line,#e5e8e9);padding:18px 0;color:var(--lw-muted,#787e82);font-size:12px}.lw-health-connections>summary,.lw-health-help>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:550;color:var(--lw-ink,#202525)}.lw-health-connections>summary:after,.lw-health-help>summary:after{content:'+';font-size:17px;font-weight:400;color:var(--lw-muted,#787e82)}.lw-health-connections[open]>summary:after,.lw-health-help[open]>summary:after{content:'−'}.lw-health-connections[open]>*+*{margin-top:15px}.lw-health-connections button{border:1px solid var(--lw-line,#e5e8e9);padding:9px 12px;min-height:38px;border-radius:11px;color:var(--lw-ink,#202525);background:var(--lw-panel,#fff);font-size:12px;line-height:1.4}.lw-health-connections>button[data-health-apple]{color:var(--health-accent);font-weight:600}.lw-health-phone-connect{display:grid;justify-items:start;gap:12px;padding:18px;border-radius:16px;background:var(--lw-hover,#f5f6f6)}.lw-health-phone-connect h2,.lw-health-share h2{font-size:14px}.lw-health-help{font-size:11px}.lw-health-help ol{padding-left:18px;margin:12px 0}.lw-health-help li+li{margin-top:7px}.lw-health-permission{display:flex!important;align-items:flex-start;gap:8px!important;font-size:11px!important;font-weight:400!important;line-height:1.6}.lw-health-permission input{flex-shrink:0;accent-color:var(--health-accent);width:15px;height:15px;margin:2px 0 0}.lw-health-share{display:grid;gap:12px}.lw-health-share-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;border:1px solid var(--lw-line,#e5e8e9);border-radius:12px;max-height:250px;overflow:auto}.lw-health-import{position:relative;gap:3px!important;padding:13px 15px;border-radius:13px;background:var(--lw-hover,#f5f6f6);cursor:pointer}.lw-health-import strong{font-size:12px;color:var(--lw-ink,#202525)}.lw-health-import span{font-size:10px;font-weight:400}.lw-health-import input[type=file]{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.lw-health-import:focus-within{outline:2px solid var(--lw-ink,#17191c);outline-offset:3px}.lw-health-saved{margin-top:20px}.lw-health-saved h2{margin-bottom:14px}.lw-health-snapshot{border:1px solid var(--lw-line,#e5e8e9);border-radius:18px;padding:18px;margin:0 0 12px}.lw-health-snapshot>strong{font-size:24px;letter-spacing:-.04em}.lw-health-snapshot>p{font-size:11px;color:var(--lw-muted,#787e82)}.lw-health-snapshot button{border:0;background:transparent;padding:0;color:var(--lw-muted,#787e82);font-size:11px}
@media(min-width:900px){.lw-health-overview{grid-template-columns:repeat(4,minmax(0,1fr))}.lw-health-metric-card{min-height:138px}.lw-health-main-value{font-size:46px}}
@media(max-width:430px){.lw-health-hero{padding-bottom:20px}.lw-space-health h1{font-size:27px}.lw-health-freshness{font-size:10px}.lw-health-metric-card{padding:13px;min-height:123px}.lw-health-metric-card strong{font-size:21px}.lw-health-metric-label{font-size:11px}.lw-health-main-value{font-size:36px}.lw-health-result{padding:19px 14px 15px}.lw-health-insights{gap:7px}.lw-health-insights dd{font-size:12px}.lw-health-insights dt{font-size:9px}.lw-health-query select{font-size:13px}.lw-health-share-metrics{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.lw-space-health *{transition:none!important}}
.lw-health-connect-callout{margin:0 0 24px;padding:20px;border:1px solid var(--lw-line,#e5e8e9);border-radius:19px;background:var(--health-soft)}.lw-health-connect-callout h2{font-size:18px;margin-bottom:5px}.lw-health-connect-callout p{font-size:12px;color:var(--lw-muted,#787e82)}.lw-health-connect-callout button{margin-top:16px;border:0;border-radius:11px;padding:10px 14px;background:var(--health-accent);color:white;font-size:12px;font-weight:600}
.lw-health-sleep-note{font-size:10px;color:var(--lw-muted,#787e82);margin-top:14px!important}
.lw-health-permission-review{margin:0 0 18px;padding:10px 13px;border:1px solid var(--lw-line,#e5e8e9);border-radius:11px;color:var(--health-accent);background:var(--lw-panel,#fff);font-size:12px;font-weight:550}

.lw-health-import-panel{display:grid;gap:12px}.lw-health-import-panel:not([open])>*:not(summary){display:none}.lw-health-import-panel>summary{cursor:pointer;list-style:none;font-weight:500;color:var(--lw-ink,#202525)}.lw-health-import-panel[open]>*+*{margin-top:12px}.lw-health-import-panel>.lw-health-help{font-weight:400}.lw-health-import-panel>label:has([data-health-export-source]){max-width:380px}

.lw-health-freshness{padding:0;border:0;background:transparent;text-align:right;font-family:inherit;cursor:pointer}.lw-health-conversation:empty{display:none}.lw-health-conversation{display:grid;gap:24px;margin:0 0 28px}.lw-health-private-turn{display:grid;gap:16px;min-width:0}.lw-health-private-question{justify-self:end;max-width:88%;padding:12px 16px;border-radius:20px;background:color-mix(in srgb,var(--health-accent) 10%,var(--lw-panel,#fff));color:var(--lw-ink,#202525);font-size:14px;overflow-wrap:anywhere}.lw-health-private-answer{font-size:14px;line-height:1.65;overflow-wrap:anywhere}.lw-health-private-answer p+p{margin-top:12px}
.lw-space-health .lw-health-connection-dialog:not([open]){display:none}.lw-health-connection-dialog{width:min(520px,calc(100% - 24px));max-height:min(78dvh,760px);margin:auto auto max(12px,var(--lw-safe-bottom,env(safe-area-inset-bottom)));padding:20px;border:1px solid var(--lw-line,#e5e8e9);border-radius:24px;background:var(--lw-panel,#fff);color:var(--lw-ink,#202525);overflow:auto;overscroll-behavior:contain}.lw-health-connection-dialog::backdrop{background:#10182035}.lw-health-connection-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}.lw-health-connection-head button{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;padding:10px;border:0;border-radius:50%;background:var(--lw-hover,#f1f3f3);color:inherit}.lw-health-connection-head svg{width:20px;height:20px}.lw-health-connection-dialog .lw-health-connections{border:0;padding:0}.lw-health-connection-dialog .lw-health-connections>*{margin-top:15px}

/* Health panels share the iOS Space header, composer, and dock. */
.lw-space-content[data-layout="sheet"][data-window-type="health"]:is(.lw-ios-shell-active *, :has(.lw-ios-health)) > .lw-space-content-head {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  grid-template-rows: 44px;
  align-items: center;
  gap: 8px;
  padding: var(--lw-ios-header-top, 14px) var(--lw-ios-header-right, 14px) 4px var(--lw-ios-header-left, 14px);
  height: auto;
  min-height: 0;
  flex-basis: auto;
  position: relative;
  border: 0;
  background: var(--lw-ios-page, #fff);
}
.lw-space-content[data-layout="sheet"][data-window-type="health"]:is(.lw-ios-shell-active *, :has(.lw-ios-health)) .lw-space-content-chrome { grid-column: 2; grid-row: 1; text-align: center; }
.lw-space-content[data-layout="sheet"][data-window-type="health"]:is(.lw-ios-shell-active *, :has(.lw-ios-health)) .lw-space-content-chrome h2 { font: 650 18px/1.2 -apple-system, BlinkMacSystemFont, system-ui, sans-serif; }
.lw-space-content[data-layout="sheet"][data-window-type="health"]:is(.lw-ios-shell-active *, :has(.lw-ios-health)) .lw-space-browser-controls { grid-column: 3; grid-row: 1; }
.lw-space-content[data-layout="sheet"][data-window-type="health"]:is(.lw-ios-shell-active *, :has(.lw-ios-health)) .lw-space-content-close { display: none !important; }
.lw-space-content[data-layout="sheet"][data-window-type="health"]:is(.lw-ios-shell-active *, :has(.lw-ios-health)) .lw-conversation-tools { background: transparent; }
.lw-space-content[data-window-type="health"]:has(.lw-health-pending) [data-conversation-more] { visibility: hidden; }

.lw-space-content[data-layout="sheet"][data-window-type="health"]:is(.lw-ios-shell-active *, :has(.lw-ios-health)) .lw-mobile-product-navigation:not([hidden]),
.lw-ios-health-local-header [data-health-menu],
.lw-space-content[data-layout="sheet"][data-window-type="health"] [data-health-menu] {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--lw-ios-hairline, #00000013);
  border-radius: 50%;
  background: var(--lw-ios-glass, #fffc);
  color: var(--lw-ink, #171a1d);
  box-shadow: var(--lw-ios-pill-shadow, 0 8px 26px #14201b13);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
}
.lw-space-content[data-layout="sheet"][data-window-type="health"] [data-health-menu] { padding: 10px; }
.lw-ios-health-local-header {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  grid-template-rows: 44px;
  align-items: center;
  gap: 8px;
  padding: var(--lw-ios-header-top, 14px) 14px 7px;
}
.lw-ios-health-local-header h1 { grid-column: 2; text-align: center; font-size: 18px; }
.lw-ios-health [data-health-menu] svg { width: 22px; height: 22px; }
.lw-ios-health {
  --ios-health-edge: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
  --ios-health-bg: var(--lw-ios-page, var(--lw-panel, #fff));
  --ios-health-line: var(--lw-ios-hairline, #171a1d17);
  padding: 8px 0 calc(var(--lw-workspace-composer-height, 80px) + var(--lw-ios-dock-height, 64px) + 8px);
  background: var(--ios-health-bg);
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  scrollbar-width: none;
}
.lw-ios-health::-webkit-scrollbar, .lw-ios-health-prompts::-webkit-scrollbar { display: none; }
.lw-ios-health > :is(.lw-health-hero, .lw-health-connect-callout, .lw-health-saved),
.lw-ios-health [data-health-save] { display: none; }
.lw-ios-health-tabs { display: flex; align-items: center; gap: 8px; padding: 0 var(--ios-health-edge); }
.lw-ios-health-tabs button {
  min-height: 44px;
  padding: 7px 13px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--lw-ios-muted, #64686d);
  font-size: 16px;
  font-weight: 550;
}
.lw-ios-health-tabs button[aria-selected="true"] {
  color: var(--lw-ink, #171a1d);
  background: color-mix(in srgb, var(--lw-ink, #171a1d) 5%, transparent);
}
.lw-ios-health-panel { margin: 14px var(--ios-health-edge) 0; }
.lw-health-pending {
  --ios-health-edge: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
  min-height: 100%;
  padding: 8px var(--ios-health-edge) 0;
  background: var(--lw-ios-page, var(--lw-panel, #fff));
}
.lw-health-shell-placeholder::before,
.lw-health-shell-placeholder::after,
.lw-ios-health-empty[aria-busy="true"]::before,
.lw-ios-health-account small[aria-busy="true"]::before {
  content: "";
  display: block;
  border-radius: 99px;
  background: color-mix(in srgb, var(--lw-ink, #171a1d) 8%, transparent);
}
.lw-health-shell-placeholder::before { width: min(220px, 70%); height: 24px; margin: 10px 0; }
.lw-health-shell-placeholder::after { width: min(390px, 100%); height: 94px; margin-top: 38px; border-radius: 25px; }
.lw-health-opening-error { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--lw-ios-muted, #64686d); }
.lw-health-opening-error button { min-height: 44px; padding: 6px 16px; border: 1px solid var(--lw-ios-hairline, #171a1d17); border-radius: 99px; color: var(--lw-ink, #171a1d); background: var(--lw-panel, #fff); font: inherit; cursor: pointer; }
.lw-ios-health-prompts {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(83%, 390px);
  gap: 12px;
  width: calc(100% + var(--ios-health-edge) * 2);
  margin-inline: calc(var(--ios-health-edge) * -1);
  padding: 3px var(--ios-health-edge) 11px;
  overflow: auto hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-padding-inline: var(--ios-health-edge);
}
.lw-ios-health-prompts button {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 94px;
  padding: 16px 18px;
  border: 1px solid var(--ios-health-line);
  border-radius: 25px;
  color: var(--lw-ink, #171a1d);
  background: var(--lw-panel, #fff);
  font-size: 16px;
  text-align: left;
  scroll-snap-align: start;
  box-shadow: 0 3px 13px #22312a08;
}
.lw-ios-health-prompt-icon { display: grid; flex: 0 0 42px; place-items: center; font-size: 28px; }
.lw-ios-health-prompt-text { display: grid; min-width: 0; gap: 2px; }
.lw-ios-health-prompt-text strong { font-weight: 620; }
.lw-ios-health-prompt-text small { color: var(--lw-ios-muted, #64686d); font-size: 13px; }
.lw-ios-health .lw-ios-health-empty {
  min-height: 78px;
  margin: 10px 0 0;
  padding: 18px 16px;
  border: 1px solid var(--ios-health-line);
  border-radius: 20px;
  color: var(--lw-ios-muted, #64686d);
  background: var(--lw-panel, #fff);
  font-size: 14px;
}
.lw-ios-health .lw-ios-health-empty[aria-busy="true"],
.lw-ios-health .lw-ios-health-account small[aria-busy="true"] { font-size: 0; }
.lw-ios-health-empty[aria-busy="true"]::before { width: min(220px, 78%); height: 12px; margin-top: 8px; }
.lw-ios-health-account small[aria-busy="true"]::before { width: 72px; height: 12px; margin-block: 4px; }
.lw-ios-health-explore { margin-top: 18px; }
.lw-ios-health-explore > summary { margin-bottom: 12px; font-weight: 620; cursor: pointer; }
.lw-ios-health .lw-health-status { margin-top: 10px !important; }

.lw-ios-health-chat-list button, .lw-ios-health-account-add, .lw-ios-health-account {
  display: grid;
  align-items: center;
  width: 100%;
  min-height: 65px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--ios-health-line);
  background: transparent;
  color: var(--lw-ink, #171a1d);
  font-size: 16px;
  text-align: left;
}
.lw-ios-health-chat-list button strong, .lw-ios-health-chat-list button small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lw-ios-health-chat-list button strong, .lw-ios-health-account strong { font-size: 17px; font-weight: 550; }
.lw-ios-health-chat-list button small, .lw-ios-health-account small { color: var(--lw-ios-muted, #64686d); font-size: 14px; }
.lw-ios-health-chat-list button:last-child, .lw-ios-health-account:last-child { border-bottom: 0; }
.lw-ios-health-chat-back, .lw-ios-health-account button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}
.lw-ios-health-chat-back { margin: 0 0 10px; }
.lw-ios-health-chat-back svg, .lw-ios-health-account button svg { width: 22px; height: 22px; }

.lw-ios-health-account-add, .lw-ios-health-account { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
.lw-ios-health-account { grid-template-columns: 44px minmax(0, 1fr) 44px; }
.lw-ios-health-account > span:nth-child(2) { display: grid; gap: 2px; }
.lw-ios-health-account-glyph {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--lw-ink, #171a1d) 5%, transparent);
  color: var(--lw-ios-muted, #64686d);
}
.lw-ios-health-account-glyph svg { width: 20px; height: 20px; }
.lw-ios-health-apple-mark { color: #ce3758; background: #ce37580c; }
.lw-ios-health-apple-mark svg { fill: currentColor; }

.lw-ios-health-menu[hidden] { display: none; }
.lw-ios-health-menu {
  position: absolute;
  z-index: 12;
  top: calc(var(--lw-ios-header-top, 14px) + 9px);
  right: var(--lw-ios-header-right, 14px);
  width: min(242px, calc(100vw - 28px));
  padding: 8px;
  border: 1px solid var(--lw-ios-hairline, #00000013);
  border-radius: 25px;
  background: var(--lw-ios-glass, #fffc);
  box-shadow: 0 14px 42px #1e242527;
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
}
.lw-ios-health-menu button {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 42px;
  padding: 7px 11px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--lw-ink, #171a1d);
  text-align: left;
  font: 500 15px/1.25 -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
.lw-ios-health-menu button:is(:focus-visible,:hover,:active) { background: var(--lw-ios-selected, #171a1d12); }
.lw-ios-health-menu svg { width: 22px; height: 22px; }

.lw-ios-health-info-sheet[open] {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(100%, 540px);
  height: min(calc(var(--lw-visible-height, 100dvh) - max(42px, var(--lw-safe-top, 0px))), 860px);
  max-width: 100%;
  max-height: 100%;
  margin: auto auto 0;
  padding: 15px 24px max(24px, var(--lw-safe-bottom, env(safe-area-inset-bottom)));
  border: 0;
  border-radius: 34px 34px 0 0;
  color: var(--lw-ink, #171a1d);
  background: var(--ios-health-bg, #fff);
  animation: lw-ios-health-sheet-in .24s cubic-bezier(.2, .7, .2, 1) both;
}
.lw-ios-health-info-sheet:not([open]) { display: none; }
.lw-ios-health-info-sheet::backdrop { background: #14191c38; }
.lw-ios-health-info-heading { position: relative; padding: 31px 0 3px; text-align: center; }
.lw-ios-health-info-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 17px);
  width: 34px;
  height: 5px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--lw-ink, #171a1d) 26%, transparent);
}
.lw-ios-health-info-heading h2 { font-size: clamp(21px, 5.7vw, 27px); font-weight: 680; margin: 9px 24px 10px; }
.lw-ios-health-info-heading p { max-width: 30ch; margin: auto; color: var(--lw-ios-muted, #64686d); font-size: 16px; }
.lw-ios-health-info-close {
  position: absolute;
  top: 1px;
  right: -5px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--ios-health-line);
  border-radius: 50%;
  color: inherit;
  background: var(--lw-ios-glass, #fff);
  box-shadow: var(--lw-ios-pill-shadow, 0 8px 26px #14201b13);
}
.lw-ios-health-info-close svg { width: 22px; height: 22px; }
.lw-ios-health-info-content { flex: 1 1 auto; min-height: 0; padding: 4px 1px; overflow: auto; }
.lw-ios-health-info-field, .lw-ios-health-info-entry {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 4px 11px 4px 16px;
  border: 1px solid var(--ios-health-line);
  border-radius: 99px;
  background: var(--lw-panel, #fff);
  box-shadow: 0 3px 16px #22312a0b;
}
.lw-ios-health-info-field > span { color: var(--lw-ios-muted, #64686d); }
.lw-ios-health .lw-ios-health-info-field input[type="text"] {
  padding: 7px 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
}
.lw-ios-health-info-field button, .lw-ios-health-info-entry button {
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--ios-health-line);
  border-radius: 50%;
  background: var(--lw-panel, #fff);
  color: inherit;
}
.lw-ios-health-info-field svg, .lw-ios-health-info-entry svg { display: block; width: 20px; height: 20px; }
.lw-ios-health-info-entry { grid-template-columns: minmax(0, 1fr) 44px; margin-top: 11px; }
.lw-ios-health-info-entry span { overflow-wrap: anywhere; }
.lw-ios-health-info-entry button {
  color: var(--lw-ink, #171a1d);
  background: var(--lw-ios-selected, rgb(31 38 44 / .10));
  border: 0;
}
.lw-ios-health .lw-ios-health-info-status { min-height: 1.45em; margin-top: 10px; font-size: 13px; color: var(--lw-ios-muted, #64686d); }
.lw-ios-health-info-done {
  flex: 0 0 52px;
  min-height: 52px;
  border: 0;
  border-radius: 99px;
  color: var(--lw-panel, #fff);
  background: var(--lw-ink, #171a1d);
  font-size: 17px;
  font-weight: 620;
}
@keyframes lw-ios-health-sheet-in {
  from { transform: translateY(32px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .lw-ios-health-info-sheet[open] { animation: none; }
}
