/* Здоровье: приём лекарств, назначения, аптечка и семья. Карточки и сводные плашки используют
   общие классы «Помещений» (room-card, property-summary), здесь — только то, чего у них нет. */
.pill-icon,.person-avatar { display:block; flex:0 0 auto; }
.health-card-photo { padding:0; }
/* Иконка инструкции в списках препаратов, приёмов и назначений: открывает файл или ссылку, не открывая карточку. */
.health-instruction-link { display:inline-flex; align-items:center; justify-content:center; inline-size:26px; block-size:26px; margin-left:9px; border-radius:8px; vertical-align:1px; color:var(--blue); background:color-mix(in srgb,var(--blue) 15%,transparent); text-decoration:none; }
.health-instruction-link:hover { background:color-mix(in srgb,var(--blue) 28%,transparent); }
.health-instruction-link svg { display:block; }
.room-card.health-card.is-archived { opacity:.62; }
.room-card.health-dose { grid-template-columns:84px minmax(0,1fr) auto; column-gap:21px; min-height:0; padding:16px 20px; }
.room-card.health-dose .room-card-photo { width:84px; height:84px; }
.room-card.health-dose.is-taken { opacity:.72; }
.room-card.health-dose.is-skipped { opacity:.55; }
.health-dose-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:10px; }
.health-dose-actions .primary,.health-dose-actions .secondary { min-height:42px; padding:0 16px; font-weight:700; }
.health-state { font-size:15px; font-weight:750; }
.health-state.taken { color:#2d8b63; }
.health-state.late { color:#c83447; }
.health-state.skipped { color:var(--muted); }
html[data-theme="dark"] .health-state.taken { color:#9af1c8; }
html[data-theme="dark"] .health-state.late { color:#ff9fa4; }
.health-time { margin:26px 0 10px; font-size:20px; letter-spacing:.02em; color:var(--muted); }
.health-time:first-of-type { margin-top:6px; }
.health-date-nav { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.health-date-nav b { min-width:240px; text-align:center; font-size:17px; }
.health-date-nav .secondary { min-height:42px; padding:0 16px; font-size:20px; line-height:1; }
.health-date-nav .secondary:last-child:not(:first-child) { font-size:15px; }
.health-filter-grid { grid-template-columns:minmax(260px,1.6fr) minmax(220px,1fr) minmax(200px,.8fr); align-items:end; }
.health-filter-grid.health-filter-grid:has(> label:only-child) { grid-template-columns:minmax(260px,420px); }
.health-check { display:flex!important; align-items:center; gap:9px; min-height:44px; color:var(--ink)!important; font-weight:650!important; }
.health-check input { width:20px!important; height:20px!important; margin:0; flex:0 0 auto; }
.health-chip { display:inline-flex; align-items:center; padding:4px 11px; border-radius:999px; font-size:14px; font-weight:700; line-height:1.3; color:var(--ink); background:color-mix(in srgb,var(--muted) 16%,transparent); }
.health-chip.ok { color:#1f7a52; background:color-mix(in srgb,#2d8b63 17%,transparent); }
.health-chip.warn { color:#9a6421; background:color-mix(in srgb,#f5a623 22%,transparent); }
.health-chip.bad { color:#c83447; background:color-mix(in srgb,#e5484d 17%,transparent); }
html[data-theme="dark"] .health-chip.ok { color:#9af1c8; }
html[data-theme="dark"] .health-chip.warn { color:#f0c985; }
html[data-theme="dark"] .health-chip.bad { color:#ff9fa4; }
.health-person-chip { display:inline-flex; align-items:center; gap:7px; padding:4px 11px 4px 9px; border-radius:999px; font-size:14px; font-weight:700; color:var(--ink); background:color-mix(in srgb,var(--person) 20%,transparent); }
.health-person-chip i { width:11px; height:11px; border-radius:50%; background:var(--person); }
.health-warn { color:#b86e00; }
.health-bad { color:#c83447; }
html[data-theme="dark"] .health-warn { color:#f0c985; }
html[data-theme="dark"] .health-bad { color:#ff9fa4; }
.health-muted { margin:6px 0 0; color:var(--muted); font-size:15px; }
.health-link-button { padding:0; border:0!important; background:none!important; box-shadow:none!important; color:var(--accent); font:inherit; text-decoration:underline; cursor:pointer; }
.health-metric-wide,.room-card-metrics .health-wide { min-width:0; }
.health-alerts { display:grid; gap:8px; }
.health-alert { display:flex; align-items:center; gap:11px; width:100%; padding:11px 14px; text-align:left; font:inherit; font-size:15px; font-weight:650; line-height:1.35; color:#9a6421; background:color-mix(in srgb,#f5a623 16%,transparent)!important; border:1px solid color-mix(in srgb,#f5a623 45%,transparent)!important; border-radius:12px; cursor:pointer; box-shadow:none!important; }
.health-alert svg { flex:0 0 auto; }
.health-alert.out,.health-alert.expired { color:#c83447; background:color-mix(in srgb,#e5484d 13%,transparent)!important; border-color:color-mix(in srgb,#e5484d 45%,transparent)!important; }
html[data-theme="dark"] .health-alert { color:#f0c985; }
html[data-theme="dark"] .health-alert.out,html[data-theme="dark"] .health-alert.expired { color:#ff9fa4; }
.health-entries { display:flex; flex-wrap:wrap; gap:7px; margin-top:12px; }
.health-entry { display:inline-flex; align-items:center; gap:7px; padding:4px 6px 4px 11px; border-radius:999px; font-size:14px; font-weight:650; color:#1f7a52; background:color-mix(in srgb,#2d8b63 17%,transparent); }
html[data-theme="dark"] .health-entry { color:#9af1c8; }
.health-entry button { display:grid; place-items:center; width:22px; height:22px; padding:0!important; border:0!important; border-radius:50%!important; color:inherit; background:transparent!important; cursor:pointer; }
/* Диалоги */
.health-dialog { width:min(780px,calc(100% - 28px)); max-height:calc(100dvh - 28px); overflow:auto; padding:0; color:var(--ink); background:var(--paper); border:1px solid var(--line); }
.health-dialog form,.health-viewer-body { padding:25px; }
.health-dialog.health-viewer { width:min(900px,calc(100% - 28px)); }
.health-dialog .room-form-grid input,.health-dialog .room-form-grid select,.health-dialog .room-form-grid textarea { width:100%; min-width:0; box-sizing:border-box; }
.health-viewer-title { display:flex; align-items:center; gap:16px; min-width:0; }
.health-viewer-title h2 { margin:0 0 8px; overflow-wrap:anywhere; }
.health-viewer-icon,.health-widget-icon { display:grid; place-items:center; flex:0 0 auto; }
.health-viewer-summary { margin:18px 0; }
.health-viewer-summary b { font-size:20px; }
.health-section { margin-top:22px; }
.health-section h3 { margin:0 0 10px; font-size:18px; }
.health-section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
.health-section-head h3 { margin:0; }
.health-links { display:flex; flex-wrap:wrap; gap:10px; }
/* Ссылки-кнопки выглядят так же, как настоящие button: у a.secondary нет скругления, его задаёт только button. */
.health-links .secondary { display:inline-flex; align-items:center; min-height:42px; padding:0 15px; border-radius:10px; text-decoration:none; }
.health-links + .health-muted { margin-top:16px; }
.health-notes { margin:0; white-space:pre-wrap; line-height:1.45; }
.health-user { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:8px 0; }
.health-table { width:100%; border-collapse:collapse; }
.health-table th,.health-table td { padding:10px 12px; border-bottom:1px solid var(--line); text-align:left; font-size:15px; }
.health-table th { color:var(--muted); font-size:13px; font-weight:700; }
.health-table th.num,.health-table td.num { text-align:right; font-variant-numeric:tabular-nums; }
.health-table tr.is-empty td { color:var(--muted); }
.health-pack-actions { white-space:nowrap; text-align:right; }
/* Внешний вид препарата */
.health-look-preview { display:grid; place-items:center; width:104px; height:104px; margin:6px 0 12px; border:1px solid var(--line); border-radius:14px; background:#f2f5f8; }
html[data-theme="dark"] .health-look-preview { background:#263549; border-color:#4a5d76; }
.health-shapes { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:8px; }
.health-shape { display:grid; justify-items:center; gap:2px; padding:8px 4px 6px!important; border:2px solid var(--line)!important; border-radius:12px!important; background:transparent!important; box-shadow:none!important; color:var(--muted); cursor:pointer; }
.health-shape small { font-size:11px; font-weight:650; line-height:1.1; text-align:center; }
.health-shape.is-active { border-color:var(--accent)!important; color:var(--ink); }
.health-colors { display:grid; gap:12px; margin-top:14px; }
.health-colors span { display:block; margin-bottom:6px; color:var(--muted); font-size:14px; font-weight:650; }
.health-swatches { display:flex; flex-wrap:wrap; gap:8px; }
.health-swatch { position:relative; display:block; width:28px; height:28px; padding:0!important; border:2px solid var(--line)!important; border-radius:50%!important; background:var(--swatch,transparent)!important; cursor:pointer; overflow:hidden; }
.health-swatch.is-active { border-color:var(--ink)!important; }
.health-swatch.custom { background:conic-gradient(#e5484d,#f5a623,#ffe27a,#5bbf8a,#4c83d8,#b78ae6,#e5484d)!important; }
.health-swatch.custom input { position:absolute; inset:0; width:100%; height:100%; padding:0; border:0; opacity:0; cursor:pointer; }
.health-avatar-field { display:flex; justify-content:center; }
/* Расписание назначения */
.health-schedule { display:grid; gap:12px; }
.health-inline { display:flex; align-items:center; flex-wrap:wrap; gap:9px; color:var(--ink)!important; font-size:16px!important; font-weight:600!important; }
.health-inline input { width:84px!important; height:42px; text-align:center; }
.health-inline input[type="time"] { width:120px!important; }
.health-weekdays { display:flex; flex-wrap:wrap; gap:8px; }
.health-weekday { min-width:50px; height:44px; padding:0 12px!important; border:2px solid var(--line)!important; border-radius:12px!important; font-weight:700; cursor:pointer; }
.health-weekday.is-active { border-color:var(--accent)!important; color:var(--accent); }
.health-times { display:grid; gap:10px; }
.health-time-chips { display:flex; flex-wrap:wrap; gap:8px; min-height:32px; align-items:center; }
.health-time-chip { display:inline-flex; align-items:center; gap:6px; padding:5px 6px 5px 13px; border-radius:999px; font-size:16px; font-weight:700; background:color-mix(in srgb,var(--accent) 15%,transparent); }
.health-time-chip button { display:grid; place-items:center; width:22px; height:22px; padding:0!important; border:0!important; border-radius:50%!important; color:inherit; background:transparent!important; cursor:pointer; }
.health-time-add { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.health-time-add > input[type="time"] { width:130px; height:42px; }
.health-time-add .secondary { min-height:42px; padding:0 14px; }
/* Виджет на главной */
.health-widget-row { display:flex; align-items:center; gap:12px; padding:9px 0; border-bottom:1px solid var(--line); }
/* Иконка препарата — как значки в остальных виджетах главной; подложки нет, рисунок прозрачный */
.health-widget-icon { width:40px; height:40px; background:transparent; }
.health-widget-row > div { flex:1 1 auto; min-width:0; }
.health-widget-row b { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.health-widget-row small { color:var(--muted); font-size:14px; }
.health-widget-row.late small { color:#c83447; }
/* Вторая строка: имя — зелёным, время — оранжевым (и в опоздавших строках тоже) */
.health-widget-row small .health-widget-person { color:#00a441; }
.health-widget-row small .health-widget-time { color:#fb923c; }
html[data-theme="dark"] .health-widget-row small .health-widget-person { color:#46d08d; }
html[data-theme="dark"] .health-widget-row small .health-widget-time { color:#ffab5e; }
.health-widget-row .secondary { min-height:36px; padding:0 13px; font-weight:700; }
.health-widget-summary { margin:14px 0 8px; color:var(--muted); font-size:15px; font-weight:650; }
.health-widget-link { display:inline-block; margin-top:12px; color:var(--accent); font-weight:700; text-decoration:none; }
.home-widget .health-alert { margin-top:10px; font-size:14px; }
.health-card .room-card-metrics dd { overflow-wrap:break-word; word-break:normal; }
.room-card-metrics.health-cols-regimen { grid-template-columns:minmax(70px,.6fr) minmax(0,2fr) minmax(0,1.5fr); }
.room-card-metrics.health-cols-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.person-photo { display:block; max-width:100%; max-height:100%; object-fit:contain; background:transparent; }
.health-avatar-field { align-items:center; gap:18px; }
.health-avatar-field > span { display:grid; place-items:center; width:112px; height:112px; flex:0 0 auto; }
.health-avatar-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.health-avatar-actions small { flex:1 0 100%; color:var(--muted); font-size:13px; line-height:1.35; }
.health-file-button { position:relative; display:inline-flex; align-items:center; min-height:42px; padding:0 16px; border-radius:10px; cursor:pointer; }
.health-file-button input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
/* extra.css подключается позже и перекрашивает любые button в тёмной теме (html[data-theme="dark"] button:not(.primary)),
   поэтому у кнопок-«чипов» раздела специфичность выше за счёт повторения класса. */
html body button.health-swatch.health-swatch { background:var(--swatch,transparent)!important; border-color:var(--line)!important; }
html body button.health-swatch.health-swatch.is-active { border-color:var(--ink)!important; }
html body button.health-shape.health-shape,html body button.health-weekday.health-weekday { background:transparent!important; border-color:var(--line)!important; }
html body button.health-shape.health-shape.is-active,html body button.health-weekday.health-weekday.is-active { border-color:var(--accent)!important; }
html body .health-entry button.health-entry-x,html body .health-time-chip button.health-time-x { background:transparent!important; border:0!important; color:inherit!important; }
html body button.health-alert.health-alert { background:color-mix(in srgb,#f5a623 16%,transparent)!important; border-color:color-mix(in srgb,#f5a623 45%,transparent)!important; color:#9a6421!important; }
html body button.health-alert.health-alert.out,html body button.health-alert.health-alert.expired { background:color-mix(in srgb,#e5484d 14%,transparent)!important; border-color:color-mix(in srgb,#e5484d 45%,transparent)!important; color:#c83447!important; }
html[data-theme="dark"] body button.health-alert.health-alert { color:#f0c985!important; }
html[data-theme="dark"] body button.health-alert.health-alert.out,html[data-theme="dark"] body button.health-alert.health-alert.expired { color:#ff9fa4!important; }
/* Рисунок члена семьи — без рамки и подложки, вписан по высоте и ширине. Повторение класса нужно,
   чтобы перебить тёмную тему .room-card-photo из extra.css. */
html body .room-card .room-card-photo.health-avatar-box.health-avatar-box { width:128px; height:128px; overflow:visible; background:transparent!important; border:0!important; box-shadow:none!important; }
.health-avatar-box .person-photo { width:auto; height:auto; max-width:128px; max-height:128px; }
.health-avatar-field .person-photo { width:auto; height:auto; max-width:112px; max-height:112px; }
.health-muted a { color:#176bb5; }
html[data-theme="dark"] .health-muted a { color:#8ec7ff; }
.health-quick { display:grid; gap:10px; margin-top:6px; padding:14px 16px; border:1px dashed var(--line); border-radius:14px; }
.health-quick > b { font-size:16px; }
.health-quick .health-muted { margin:0; }
html[data-theme="dark"] .health-dialog input[type="time"]::-webkit-calendar-picker-indicator,html[data-theme="dark"] .health-dialog input[type="date"]::-webkit-calendar-picker-indicator { filter:invert(.85); cursor:pointer; }
/* История и статистика приёма */
html body .health-tabs { grid-template-columns:repeat(3,minmax(0,1fr))!important; margin:26px 0 20px!important; }
html body .health-tabs .calendar-filter.all.active { background:var(--accent)!important; color:#fff!important; border-color:var(--accent)!important; }
.health-filter-grid.health-hist-filters { grid-template-columns:repeat(var(--cols,4),minmax(0,1fr)); gap:14px; }
.health-time small { margin-left:12px; color:var(--muted); font-size:15px; font-weight:600; letter-spacing:0; }
.health-history { padding:4px 16px; margin:0 0 6px; }
.health-hrow { display:flex; align-items:center; gap:14px; padding:12px 0; border-bottom:1px solid var(--line); }
.health-hrow:last-child { border-bottom:0; }
.health-hrow.is-missed { background:linear-gradient(90deg,color-mix(in srgb,#e5484d 8%,transparent),transparent 60%); }
.health-hicon { flex:0 0 auto; display:grid; place-items:center; width:44px; height:44px; }
.health-htext { flex:1 1 auto; min-width:0; display:grid; gap:4px; }
.health-htext b { font-size:17px; font-weight:650; overflow-wrap:anywhere; }
.health-htext span { display:flex; flex-wrap:wrap; align-items:center; gap:4px 10px; }
.health-htext em { color:var(--muted); font-size:15px; font-style:normal; }
.health-htext em b { color:var(--ink); font-size:15px; }
.health-hactions { flex:0 0 auto; display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.health-hactions .secondary { min-height:38px; padding:0 14px; }
.health-intake-who { margin:0 0 4px; color:var(--muted); font-size:16px; }
.health-intake-who b { color:var(--ink); }
html body button.health-clock-action.health-clock-action { min-height:42px; }
html body button.health-entry-edit.health-entry-edit { padding:0!important; border:0!important; background:transparent!important; box-shadow:none!important; color:inherit!important; font:inherit; cursor:pointer; }
.property-summary.health-summary-4 { grid-template-columns:repeat(4,minmax(0,1fr))!important; }
.health-summary-4 b small { font-size:14px; font-weight:600; opacity:.8; }
.health-stat-block { margin:0 0 16px; padding:16px 18px; }
.health-stat-block h3 { margin:0 0 12px; font-size:18px; }
.health-heat { display:flex; gap:8px; overflow-x:auto; padding-bottom:6px; }
.health-heat-days { display:grid; grid-template-rows:repeat(7,24px); gap:4px; color:var(--muted); font-size:12px; line-height:24px; }
.health-heat-grid { display:grid; grid-auto-flow:column; grid-template-rows:repeat(7,24px); grid-auto-columns:40px; gap:4px; }
.health-heat-grid i { display:block; width:40px; height:24px; border-radius:7px; }
.health-legend i { display:block; width:26px; height:16px; border-radius:5px; }
.health-heat i.is-full,.health-legend i.is-full { background:#3fb37f; }
.health-heat i.is-most,.health-legend i.is-most { background:#9bcf5b; }
.health-heat i.is-some,.health-legend i.is-some { background:#f2b94b; }
.health-heat i.is-zero,.health-legend i.is-zero { background:#e5484d; }
.health-heat i.is-none,.health-legend i.is-none { background:color-mix(in srgb,var(--muted) 22%,transparent); }
.health-heat i.is-empty { background:transparent; }
.health-legend { display:flex; flex-wrap:wrap; gap:6px 18px; margin:10px 0 4px; color:var(--muted); font-size:14px; }
.health-legend span { display:inline-flex; align-items:center; gap:7px; }

.health-bar { display:inline-block; width:64px; height:8px; margin-right:8px; border-radius:4px; background:color-mix(in srgb,var(--muted) 22%,transparent); vertical-align:middle; overflow:hidden; }
.health-bar i { display:block; height:100%; border-radius:4px; background:#3fb37f; }
.health-hours { display:grid; grid-template-columns:repeat(24,minmax(0,1fr)); gap:6px; align-items:end; height:130px; }
.health-hours div { display:grid; grid-template-rows:1fr auto; height:100%; gap:4px; text-align:center; }
.health-hours i { align-self:end; width:100%; min-height:2px; border-radius:5px 5px 0 0; background:linear-gradient(180deg,#5b92c6,#3d74ad); }
.health-hours small { height:14px; color:var(--muted); font-size:12px; }
html[data-theme="dark"] .health-hours i { background:linear-gradient(180deg,#6aa4d8,#4a82b8); }
.health-date-nav { position:relative; }
html body button.health-date-pick.health-date-pick { display:inline-flex; align-items:center; gap:10px; min-width:260px; justify-content:center; min-height:42px; padding:0 16px!important; border:1px solid var(--line)!important; border-radius:10px!important; background:var(--soft)!important; color:var(--ink)!important; font:inherit; font-size:16px; font-weight:700; cursor:pointer; }
html body button.health-date-pick.health-date-pick svg { color:var(--muted); }
html body button.health-date-pick.health-date-pick:hover { border-color:var(--accent)!important; }
.health-tile-icon { display:inline-block; margin-right:9px; font-style:normal; font-size:22px; line-height:1; vertical-align:-3px; }
.health-tab-icon { margin-right:9px; font-style:normal; font-size:19px; vertical-align:-2px; }
.health-dialog.health-drug-editor { width:min(980px,calc(100% - 28px)); }
.health-link-field { display:flex; gap:10px; align-items:center; }
.health-link-field input { flex:1 1 auto; min-width:0; }
.health-link-field .secondary { flex:0 0 auto; min-height:44px; padding:0 16px; white-space:nowrap; }
.health-link-field .secondary:disabled { opacity:.45; cursor:default; }
.health-file-row { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.health-file-input { position:absolute; width:1px; height:1px; margin:0; padding:0; border:0; opacity:0; overflow:hidden; pointer-events:none; }
.health-file-row,.health-avatar-actions { position:relative; }
.health-file-row.is-drag { outline:2px dashed var(--accent); outline-offset:6px; border-radius:10px; }
.health-dialog input[hidden] { display:none!important; }
.health-dialog .field select[data-choice] + input { margin-top:8px; }
.health-groups { display:grid; gap:12px; }
.health-group { display:grid; gap:10px; padding:14px 16px; border:1px solid var(--line); border-radius:14px; background:color-mix(in srgb,var(--muted) 6%,transparent); }
.health-group-head { display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:16px; }
html body button.health-group-remove.health-group-remove { display:grid; place-items:center; width:28px; height:28px; padding:0!important; border:0!important; border-radius:50%!important; background:transparent!important; box-shadow:none!important; color:var(--muted)!important; cursor:pointer; }
html body button.health-group-remove.health-group-remove:hover { background:color-mix(in srgb,#e5484d 18%,transparent)!important; color:#e5484d!important; }
.health-group .health-weekday:disabled { opacity:.3; cursor:default; }
.health-groups > .secondary { justify-self:start; min-height:42px; padding:0 16px; }
.health-heat i.is-pending,.health-legend i.is-pending { background:repeating-linear-gradient(135deg,color-mix(in srgb,#5b92c6 55%,transparent) 0 5px,color-mix(in srgb,#5b92c6 16%,transparent) 5px 10px); }
.health-tile-note { display:block; margin-top:2px; color:inherit; font-size:13px; font-weight:600; opacity:.75; }

/* Карточки аптечки и назначений — той же высоты, что строки приёма; кнопки в ряд, без подложки под значком */
html body .room-card .room-card-photo.health-card-photo { background:transparent!important; border:0!important; box-shadow:none!important; }
@media (min-width:1181px) {
  .room-card.health-compact { grid-template-columns:84px minmax(200px,.85fr) minmax(430px,1.6fr) auto; column-gap:21px; min-height:0; padding:16px 20px; }
  .room-card.health-compact .room-card-metrics:not(.health-cols-regimen) dd { white-space:nowrap; font-size:17px; }
  .room-card.health-compact .room-card-photo { width:84px; height:84px; }
  .room-card.health-compact .room-card-actions { flex-direction:row; align-items:center; gap:10px; }
}
.health-orange { color:#b3640a; }
html[data-theme="dark"] .health-orange { color:#ffbf6b; }

/* Окна редактирования: неоморфизм. Плашки и кнопки выбора — объёмные, выбранные — утоплены, блок быстрого заполнения — приподнят. */
.health-sub { display:block; margin:0 0 6px; color:var(--muted); font-size:14px; font-weight:650; }
.health-time-new { display:grid; gap:2px; }
html body .health-group { padding:16px 18px; border:1px solid color-mix(in srgb,var(--neo-light-shadow) 42%,var(--line)); border-radius:16px; background:var(--neo-raised); box-shadow:4px 4px 10px var(--neo-dark-shadow),-3px -3px 8px var(--neo-light-shadow),inset 1px 1px 0 color-mix(in srgb,var(--neo-light-shadow) 58%,transparent); }
html body .health-quick { padding:16px 18px; border:1px solid color-mix(in srgb,var(--neo-light-shadow) 42%,var(--line)); border-radius:16px; background:var(--neo-raised); box-shadow:4px 4px 10px var(--neo-dark-shadow),-3px -3px 8px var(--neo-light-shadow),inset 1px 1px 0 color-mix(in srgb,var(--neo-light-shadow) 58%,transparent); }
html body .health-look-preview { width:112px; height:112px; border:1px solid color-mix(in srgb,var(--neo-light-shadow) 42%,var(--line))!important; border-radius:18px; background:var(--neo-raised)!important; box-shadow:4px 4px 10px var(--neo-dark-shadow),-3px -3px 8px var(--neo-light-shadow),inset 1px 1px 0 color-mix(in srgb,var(--neo-light-shadow) 58%,transparent); }
html body button.health-shape.health-shape,html body button.health-weekday.health-weekday { border:1px solid color-mix(in srgb,var(--neo-light-shadow) 42%,var(--line))!important; background:var(--neo-raised)!important; box-shadow:3px 3px 7px var(--neo-dark-shadow),-2px -2px 5px var(--neo-light-shadow),inset 1px 1px 0 color-mix(in srgb,var(--neo-light-shadow) 50%,transparent)!important; transition:transform .15s ease,box-shadow .15s ease; }
html body button.health-shape.health-shape:hover,html body button.health-weekday.health-weekday:hover:not(:disabled) { transform:translateY(-1px); }
html body button.health-shape.health-shape.is-active,html body button.health-weekday.health-weekday.is-active { border-color:var(--accent)!important; background:color-mix(in srgb,var(--accent) 9%,var(--neo-raised))!important; box-shadow:inset 2px 2px 5px var(--neo-inset-dark),inset -2px -2px 4px var(--neo-inset-light)!important; transform:none; }
html body button.health-weekday.health-weekday:disabled { box-shadow:none!important; background:transparent!important; }
html body button.health-swatch.health-swatch { border:2px solid color-mix(in srgb,var(--neo-light-shadow) 55%,var(--line))!important; box-shadow:2px 2px 5px var(--neo-dark-shadow),-1px -1px 3px var(--neo-light-shadow)!important; transition:transform .15s ease,box-shadow .15s ease; }
html body button.health-swatch.health-swatch:hover { transform:translateY(-1px); }
html body button.health-swatch.health-swatch.is-active { border-color:var(--ink)!important; box-shadow:inset 2px 2px 4px rgba(0,0,0,.28),inset -1px -1px 3px rgba(255,255,255,.3)!important; transform:none; }
html body .health-time-chip { border:1px solid color-mix(in srgb,var(--accent) 28%,var(--line)); background:color-mix(in srgb,var(--accent) 12%,var(--neo-raised)); box-shadow:2px 2px 5px var(--neo-dark-shadow),-1px -1px 3px var(--neo-light-shadow); }
