.health-record-editor,.health-record-history { display: grid; gap: 16px; }
.health-record-heading h2,.health-record-history h2 { margin: 4px 0; color: var(--navy); font: 800 20px/1.2 var(--font-ui); }
.health-record-heading p { margin: 4px 0 0; color: var(--muted-brand); font-size: 12px; line-height: 1.5; }
.health-record-editor form { display: grid; gap: 16px; }
.health-record-fields { display: grid; gap: 12px; }
.health-record-field { display: grid; gap: 6px; color: var(--navy); font-size: 12px; font-weight: 700; }
.health-record-field input,.health-record-field select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-brand); border-radius: 12px; background: #fff; color: var(--charcoal); font: 500 14px/1.3 var(--font-ui); }
.health-record-field input[type=file] { font-size: 12px; }
.health-record-field small { color: var(--muted-brand); font-size: 11px; font-weight: 500; line-height: 1.4; }
.health-record-remove-file { display: flex; align-items: center; gap: 9px; color: var(--navy); font-size: 12px; font-weight: 700; }
.health-record-remove-file[hidden] { display: none; }
.health-record-remove-file input { width: 18px; height: 18px; accent-color: var(--teal-deep); }
.health-record-field input:focus-visible,.health-record-field select:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.health-record-form-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.health-record-form-actions .feature-preview-action { margin: 0; min-height: 46px; }
.health-record-form-actions [data-health-record-cancel] { min-height: 46px; padding: 0 14px; border: 1px solid var(--line-brand); border-radius: 12px; background: #fff; color: var(--navy); font: 700 13px var(--font-ui); }
.health-record-error { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fff0ec; color: #8b3029; font-size: 12px; line-height: 1.4; }
.health-record-list { display: grid; gap: 10px; }
.health-record-item { padding: 14px; border: 1px solid var(--line-brand); border-radius: 16px; background: var(--off-white); }
.health-record-item-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.health-record-item-head small { color: var(--teal-deep); font-size: 10px; font-weight: 700; }
.health-record-item-head h3 { margin: 5px 0; color: var(--navy); font: 800 16px/1.2 var(--font-ui); overflow-wrap: anywhere; }
.health-record-item > h3 { margin: 5px 0; color: var(--navy); font: 800 16px/1.2 var(--font-ui); overflow-wrap: anywhere; }
.health-record-item-head > span { color: var(--teal-deep); font-size: 20px; }
.health-record-item p { margin: 7px 0; color: var(--muted-brand); font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.health-record-item .health-record-next { color: var(--navy); font-weight: 700; }
.health-record-proof { display: inline-block; padding: 4px 0; color: var(--teal-deep); font-size: 12px; font-weight: 700; }
.health-record-actions { display: flex; gap: 8px; margin-top: 10px; }
.health-record-actions button { min-height: 42px; padding: 0 14px; border: 1px solid var(--line-brand); border-radius: 11px; background: #fff; color: var(--navy); font: 700 12px var(--font-ui); }
.health-record-actions button:last-child { color: #8b3029; }
.health-record-empty { margin: 0; color: var(--muted-brand); font-size: 12px; }
@media (min-width: 390px) { .health-record-fields { grid-template-columns: repeat(2,minmax(0,1fr)); } }
