.anesthesia-course { max-width: 58rem; margin: 1rem auto; }
.anesthesia-course > progress { width: 100%; accent-color: var(--accent); }
.anesthesia-section, .anesthesia-practice {
  padding: .85rem 1rem;
  margin: .75rem 0;
  border: 1px solid var(--line);
  border-radius: .6rem;
}
.anesthesia-section > summary { cursor: pointer; font-weight: 650; }
.anesthesia-point { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.anesthesia-point:last-child { border-bottom: 0; }
.anesthesia-dose, .anesthesia-outcome {
  padding: .6rem .8rem;
  margin: .65rem 0;
  background: var(--accent-soft);
  border-left: .2rem solid var(--accent);
}
.anesthesia-patient { display: grid; grid-template-columns: minmax(8rem, 1fr) 3fr; gap: .4rem .8rem; }
.anesthesia-patient dt { font-weight: 650; }
.anesthesia-patient dd { margin: 0; }
.anesthesia-decision fieldset { min-width: 0; border: 0; padding: 0; margin: 0 0 1rem; }
.anesthesia-decision legend { font-size: 1.1rem; font-weight: 650; margin-bottom: .65rem; }
.anesthesia-decision fieldset label {
  display: flex; gap: .6rem; align-items: baseline;
  border: 1px solid var(--line); border-radius: .45rem; padding: .6rem; margin-bottom: .45rem;
}
.anesthesia-decision input[type=radio] { width: auto; margin: 0; accent-color: var(--accent); }
.anesthesia-decision select { margin: .4rem 0 .8rem; }
.anesthesia-waveform { max-width: 36rem; margin: 1rem 0; }
.anesthesia-waveform svg, .anesthesia-waveform img { width: 100%; height: auto; }
.anesthesia-table-wrap { overflow-x: auto; }
.anesthesia-course table { width: 100%; border-collapse: collapse; }
.anesthesia-course th, .anesthesia-course td { text-align: left; padding: .6rem; border-bottom: 1px solid var(--line); }
@media (max-width: 550px) {
  .anesthesia-patient { grid-template-columns: 1fr; }
  .anesthesia-patient dd { margin-bottom: .35rem; }
}


.anesthesia-card-controls {display:flex;gap:8px;flex-wrap:wrap;margin:16px 0;}
.anesthesia-card-preview {padding:16px;border:1px solid var(--line);border-radius:12px;margin-block:20px;}
.anesthesia-card-preview>button,.anesthesia-card-controls>button,.anesthesia-course>button {min-height:44px;margin:4px;}
.anesthesia-card-preview>a {display:block;margin:8px 0;}
.anesthesia-lessons {margin-block:16px;padding:16px;border:1px solid var(--line);border-radius:12px;}
.anesthesia-error {color:var(--error);}

.anesthesia-course {overflow-wrap:anywhere;}
.anesthesia-course button,.anesthesia-course summary {min-height:var(--tap-target,44px);}
