.health { color: var(--text, #203b34); overflow-wrap: anywhere; }
.health-panel { display: grid; gap: 20px; }
.health-heading { padding: 8px 0 2px; }
.health-heading h1 { margin: 8px 0 12px; font-size: clamp(1.8rem, 6vw, 2.5rem); letter-spacing: -.04em; line-height: 1.25; }
.health-heading>p:last-child { color: var(--muted, #53665d); line-height: 1.7; }
.health-back { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; color: #275f50; text-underline-offset: 4px; margin-bottom: 12px; }
.health-privacy { background: #f0f6f2; border-left: 3px solid #6c9380; border-radius: 0 12px 12px 0; padding: 14px 16px; line-height: 1.7; color: #355448; font-size: .9rem; }
.health .card { margin: 0; }
.health h2 { font-size: 1.25rem; line-height: 1.5; }
.health form label { display: grid; gap: 8px; font-weight: 600; line-height: 1.6; }
.health input:not([type="radio"]), .health select, .health textarea { font: inherit; color: inherit; background: #fff; border: 1px solid #b3c7bc; border-radius: 12px; padding: 12px; box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; }
.health textarea { resize: vertical; }
.health input:focus-visible, .health textarea:focus-visible, .health select:focus-visible, .health button:focus-visible, .health summary:focus-visible, .health a:focus-visible { outline: 3px solid #ba6d29; outline-offset: 3px; }
.health button, .health summary { min-height: 48px; touch-action: manipulation; }
.health .button-row { display: flex; gap: 8px; flex-wrap: wrap; }
.health .button-row>* { flex: 1 1 140px; }
.health input:disabled, .health button:disabled { opacity: .62; cursor: wait; }
.health-choices { padding: 0; margin: 0; border: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.health-choices legend { font-weight: 700; margin-bottom: 12px; padding: 0; }
.health .health-choices label { position: relative; display: flex; align-items: center; gap: 8px; padding: 12px 8px; border: 1px solid #b9cdc1; border-radius: 12px; font-size: .95rem; cursor: pointer; min-height: 56px; box-sizing: border-box; background: #fff; }
.health-choices label:has(input:checked) { border-color: #316f55; background: #e9f4ed; color: #174b37; }
.health input[type="radio"] { flex: 0 0 20px; width: 20px; height: 20px; accent-color: #316f55; margin: 0; }
.health-photo-picker { padding: 16px; background: #f5f7f4; border: 1px dashed #9eb4a7; border-radius: 12px; }
.health-photo-picker span, .health form label>span { font-weight: 400; color: #53665d; }
.health .health-photo-picker input { border: 0; padding: 4px 0; background: transparent; font-size: .88rem; }
.health-form-status:empty { display: none; }
.health-form-status { line-height: 1.6; color: #5e4d2c; }
.health-records { display: grid; gap: 0; }
.health-record { padding: 18px 0; border-bottom: 1px solid #dce5df; }
.health-record:last-child { border-bottom: 0; padding-bottom: 0; }
.health-record-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.health-record time { font-size: .88rem; color: #52645a; }
.health-prewrap { white-space: pre-wrap; line-height: 1.75; }
.health-photo { display: block; width: 100%; max-height: 320px; object-fit: contain; border-radius: 12px; background: #edf2ed; margin-top: 12px; }
.health [hidden] { display: none !important; }
.health-photo-wrap>span { display: block; padding: 16px; background: #f3f5f1; font-size: .9rem; border-radius: 12px; }
.health-delete { margin-top: 10px; color: #6c4f43; font-size: .88rem; }
.health-delete summary { display: inline-flex; align-items: center; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.health-summary-list { padding-left: 20px; line-height: 1.9; margin: 12px 0; }
.health-empty { padding: 24px 8px; color: #596b60; text-align: center; line-height: 1.8; }
.health-step-card { background: #f2f7ed; }
.health-step-number { font-size: clamp(2.6rem, 10vw, 4rem); letter-spacing: -.05em; font-weight: 700; line-height: 1.25; margin: 8px 0; }
.health-step-number span { display: inline-block; margin-left: 10px; font-size: 1rem; letter-spacing: 0; font-weight: 400; }
.health-progress-label { display: grid; gap: 10px; padding: 12px 0; font-size: .9rem; }
.health progress { width: 100%; height: 10px; accent-color: #5d8151; }
.health-manual-steps { margin-top: 16px; border-top: 1px solid #c9d6c4; padding-top: 8px; }
.health-manual-steps summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.health-manual-steps form { margin-top: 16px; }
.health-form-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.health-tool-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.health-tool-grid a { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 18px 12px; min-height: 76px; border-radius: 16px; text-decoration: none; background: #eef4ee; color: #214d3a; }
.health-tool-grid a:nth-child(2) { background: #f4f0e8; color: #684b2b; }
.health-tool-grid a:nth-child(3) { background: #edf1f6; color: #334e70; }
.health-tool-grid span { font-size: .85rem; line-height: 1.5; }
@media (max-width: 480px) { .health-choices { grid-template-columns: 1fr; } .health .health-choices label { min-height: 48px; padding: 10px 12px; } .health-tool-grid { grid-template-columns: 1fr; } .health-tool-grid a { min-height: 64px; padding: 14px 16px; } }
@media (max-width: 360px) { .health-form-pair { grid-template-columns: 1fr; } }
