body[data-md-mode="patient"] .md-fixture-notice { display: none; }
body[data-md-mode="patient"] .hs-toolbar { padding: 0; }
body[data-md-mode="patient"] .hs-page-title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body[data-md-mode="patient"] .hs-main { padding-top: 1rem; }
.md-patient-home { max-width: 46rem; margin: 0 auto; text-align: center; }
.md-patient-welcome { margin: 0 0 1rem; color: var(--hs-muted-text); font-size: 1.125rem; }
.md-patient-card { max-width: 44rem; margin: 0 auto; padding: clamp(1.25rem, 3vw, 2rem); text-align: center; }
.md-patient-card .md-patient-art { display: block; width: 100%; max-width: 28rem; height: auto; margin: -.5rem auto 1.25rem; }
.md-patient-title { margin: 0 0 .75rem; color: var(--hs-text); font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.md-patient-description { max-width: 29rem; margin: 0 auto 1.75rem; color: var(--hs-text); font-size: 1.25rem; line-height: 1.6; }
.md-patient-card .md-patient-play { --hs-button-min-height: 5rem; --hs-button-font-size: clamp(1.375rem, 3.5vw, 1.75rem); --hs-button-padding-y: 1rem; --hs-button-padding-x: 1.5rem; --bs-border-radius-sm: .8rem; display: flex; align-items: center; justify-content: center; width: 100%; max-width: 25rem; min-height: 5rem; margin: 0 auto; padding: 1rem 1.5rem; border-radius: .8rem; font-size: clamp(1.375rem, 3.5vw, 1.75rem); font-weight: 650; }
.md-patient-saved { margin: 1.25rem 0 0; color: var(--hs-text); font-size: 1rem; }
.md-patient-meta { margin: 1.25rem 0 0; color: var(--hs-muted-text); font-size: .9375rem; }
.md-patient-eyebrow { margin: 0 0 .75rem; color: var(--hs-accent); font-size: 1rem; font-weight: 650; }
.md-patient-resume .md-patient-art, .md-patient-complete .md-patient-art { max-width: 20rem; }
.md-patient-controls { flex-direction: column; align-items: center; gap: .875rem; margin-top: 0; }
.md-patient-controls .btn, .md-patient-complete .btn { --hs-button-min-height: 3.5rem; --hs-button-font-size: 1.125rem; width: 100%; max-width: 25rem; min-height: 3.5rem; font-size: 1.125rem; }
.md-patient-controls .btn-primary { --hs-button-min-height: 4.25rem; --hs-button-font-size: 1.375rem; min-height: 4.25rem; font-size: 1.375rem; }
.md-patient-card .btn:focus-visible { outline: 3px solid var(--hs-accent); outline-offset: 4px; }
body[data-md-mode="patient"] .dropdown-item { min-height: 3.5rem; padding: .875rem 1.25rem; font-size: 1.125rem; white-space: normal; }
body[data-md-mode="patient"] .modal-title { font-size: 1.5rem !important; }
body[data-md-mode="patient"] .modal-body { font-size: 1.25rem; line-height: 1.6; }
body[data-md-mode="patient"] .modal-footer .btn { min-height: 3.5rem; font-size: 1.125rem; }
@media (max-width: 575.98px) {
  .md-patient-card { padding: 1.25rem; }
  .md-patient-art { margin-top: 0; }
  .md-patient-description { margin-bottom: 1.25rem; }
}

.md-patient-home { max-width: 66rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.md-patient-home > .md-patient-welcome, .md-patient-home > .md-patient-meta { grid-column: 1 / -1; }
.md-patient-home > .md-patient-card { width: 100%; display: flex; flex-direction: column; }
.md-patient-home > .md-patient-card .md-patient-art { height: auto; aspect-ratio: 16 / 9; flex-shrink: 0; }
.md-patient-home .md-patient-play { margin-top: auto; }
@media (max-width: 767.98px) { .md-patient-home { grid-template-columns: minmax(0, 1fr); } }
.md-patient-card .md-sort-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem; align-items: center; aspect-ratio: 16 / 9; }
.md-sort-preview-bowl { position: relative; width: 100%; height: auto; aspect-ratio: 1; }
.md-sort-preview-button { position: absolute; left: 28%; top: 33%; width: 44%; height: auto; aspect-ratio: 1; }

.md-patient-card .md-sock-preview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .25rem; align-items: center; aspect-ratio: 16 / 9; }
.md-patient-card .md-sock-preview, .md-patient-card .md-sort-preview { padding: .75rem; border: 1px solid #bdb2a0; border-radius: 1rem; background: #ede6db; }
.md-sock-preview .md-sock { width: 100%; height: auto; }
