/* Dental Chart — light clinical studio (mint + blue) */

:root {
  --dc-bg: #eef3f9;
  --dc-bg-tint-a: rgba(0, 194, 168, 0.10);
  --dc-bg-tint-b: rgba(47, 124, 255, 0.08);
  --dc-surface: #ffffff;
  --dc-surface-2: #f6f9fd;
  --dc-surface-sunken: #eef3f9;
  --dc-border: #e2e9f2;
  --dc-border-strong: rgba(0, 194, 168, 0.45);
  --dc-text: #0f1b2d;
  --dc-text-soft: #3c4a60;
  --dc-text-muted: #7c8aa1;
  --dc-mint: #00c2a8;
  --dc-mint-strong: #02a890;
  --dc-mint-soft: rgba(0, 194, 168, 0.12);
  --dc-blue: #2f7cff;
  --dc-blue-soft: rgba(47, 124, 255, 0.12);
  --dc-amber: #f59e0b;
  --dc-amber-soft: rgba(245, 158, 11, 0.12);
  --dc-rose: #f43f5e;
  --dc-radius: 20px;
  --dc-radius-md: 14px;
  --dc-radius-sm: 10px;
  --dc-shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.05), 0 2px 8px rgba(15, 27, 45, 0.04);
  --dc-shadow: 0 8px 30px rgba(28, 55, 90, 0.10), 0 2px 8px rgba(28, 55, 90, 0.06);
  --dc-shadow-lg: 0 20px 60px rgba(28, 55, 90, 0.16);
  --dc-glow: 0 0 0 4px rgba(0, 194, 168, 0.14);
  --dc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", system-ui, sans-serif;
}

html:has(.dental-page) {
  height: 100%;
  overflow: hidden;
}

body:has(.dental-page) {
  height: 100%;
  overflow: hidden;
  background: var(--dc-bg);
  background-image:
    radial-gradient(ellipse 70% 50% at 15% -10%, var(--dc-bg-tint-a), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 0%, var(--dc-bg-tint-b), transparent 55%);
  background-attachment: fixed;
  color: var(--dc-text);
  font-family: var(--dc-font);
  -webkit-font-smoothing: antialiased;
}

body:has(.dental-page) .app-main {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body:has(.dental-page) .app-header {
  flex-shrink: 0;
}

/* page shell — fills viewport under the header; no page scroll */

.dental-page {
  width: 80%;
  max-width: none;
  margin: 0 auto;
  padding: 1.5rem 0 0;
  box-sizing: border-box;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header */

.dental-header {
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.dental-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dental-header__brand {
  min-width: 0;
}

.dental-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  background: linear-gradient(120deg, var(--dc-text) 20%, var(--dc-mint-strong) 110%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dental-subtitle {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--dc-text-muted);
}

.dental-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dental-meta__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--dc-border);
  border-radius: 999px;
  background: var(--dc-surface);
  box-shadow: var(--dc-shadow-sm);
  font-size: 0.8125rem;
  color: var(--dc-text);
}

.dental-meta__chip strong { font-weight: 650; }

.dental-meta__label {
  font-size: 0.6875rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dc-text-muted);
}

.dental-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius-sm);
  background: var(--dc-surface);
  box-shadow: var(--dc-shadow-sm);
  color: var(--dc-text-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  flex-shrink: 0;
}

.dental-back:hover {
  border-color: var(--dc-border-strong);
  color: var(--dc-mint-strong);
  box-shadow: var(--dc-shadow);
  transform: translateY(-1px);
  text-decoration: none;
}

.dental-back svg { flex-shrink: 0; }

/* Dentition switcher — segmented pill group */

.stage-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
  padding: 0.3rem;
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius-md);
  background: var(--dc-surface);
  box-shadow: var(--dc-shadow-sm);
  flex-shrink: 0;
}

.stage-switcher__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid transparent;
  border-radius: var(--dc-radius-sm);
  background: transparent;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
}

.stage-switcher__btn:hover {
  background: var(--dc-surface-2);
}

.stage-switcher__btn--active {
  background: linear-gradient(135deg, var(--dc-mint-soft), var(--dc-blue-soft));
  border-color: var(--dc-mint);
  box-shadow: var(--dc-glow), inset 0 0 0 1px rgba(0, 194, 168, 0.25);
}

.stage-switcher__name {
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--dc-text);
}

.stage-switcher__btn--active .stage-switcher__name {
  color: var(--dc-mint-strong);
  font-weight: 700;
}

.stage-switcher__btn--active .stage-switcher__meta {
  color: var(--dc-mint-strong);
  font-weight: 600;
}

.stage-switcher__meta {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--dc-text-muted);
}

.stage-description {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: var(--dc-text-muted);
  flex-shrink: 0;
}

.stage-description--hint {
  color: var(--dc-amber);
  font-weight: 600;
}

/* Playground canvas */

.dental-chart-wrapper {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Left of chart — remove (top) / add (bottom) */

.chart-edit-overlay {
  position: fixed;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(47, 124, 255, 0.35);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 18px 50px rgba(47, 124, 255, 0.12),
    0 2px 8px rgba(28, 55, 90, 0.06);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-sizing: border-box;
}

.chart-edit-overlay__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--dc-border);
  border-radius: 10px;
  background: var(--dc-surface-2);
  color: var(--dc-text-soft);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, color 0.15s;
}

.chart-edit-overlay__btn:hover {
  border-color: rgba(0, 194, 168, 0.45);
  background: #ffffff;
}

.chart-edit-overlay__btn--active {
  box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.16);
}

.chart-edit-overlay__btn--add.chart-edit-overlay__btn--active {
  border-color: var(--dc-mint);
  background: rgba(0, 194, 168, 0.12);
  color: var(--dc-mint-strong);
}

.chart-edit-overlay__btn--remove:hover {
  border-color: rgba(244, 63, 94, 0.45);
}

.chart-edit-overlay__btn--remove.chart-edit-overlay__btn--active {
  border-color: #f43f5e;
  background: rgba(244, 63, 94, 0.1);
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.14);
  color: #e11d48;
}

.chart-edit-overlay__icon {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
}

.chart-edit-overlay__label {
  font-size: 0.625rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chart-edit-overlay__extra-types {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--dc-border);
}

.chart-edit-overlay__extra-types[hidden] {
  display: none;
}

.chart-edit-overlay__extra-label {
  font-size: 0.625rem;
  font-weight: 650;
  color: var(--dc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chart-edit-overlay__extra-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.chart-edit-overlay__type-btn {
  padding: 0.3rem 0.45rem;
  border: 1px solid var(--dc-border);
  border-radius: 8px;
  background: #f6f9fd;
  font-size: 0.625rem;
  font-weight: 650;
  color: var(--dc-text-soft);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.chart-edit-overlay__type-btn:hover {
  border-color: var(--dc-mint);
  background: rgba(0, 194, 168, 0.08);
  color: var(--dc-mint-strong);
}

.chart-edit-overlay__type-btn--active {
  border-color: var(--dc-mint);
  background: rgba(0, 194, 168, 0.14);
  color: var(--dc-mint-strong);
  box-shadow: 0 0 0 2px rgba(0, 194, 168, 0.14);
}

.dental-page:has(.dental-chart--readonly) .chart-edit-overlay {
  opacity: 0.45;
  pointer-events: none;
}

.dental-chart {
  position: relative;
  width: 100%;
  min-height: 500px;
  padding: 2.75rem clamp(1.5rem, 5vw, 4rem) 3rem;
  border: 1px solid rgba(0, 194, 168, 0.28);
  border-radius: var(--dc-radius);
  background:
    radial-gradient(ellipse 85% 55% at 50% 42%, rgba(0, 194, 168, 0.22), transparent 62%),
    radial-gradient(ellipse 55% 45% at 8% 18%, rgba(47, 124, 255, 0.14), transparent 58%),
    radial-gradient(ellipse 50% 40% at 95% 85%, rgba(47, 124, 255, 0.12), transparent 55%),
    linear-gradient(165deg, #d5e6ef 0%, #c7dce8 48%, #b9d0e0 100%);
  box-shadow:
    var(--dc-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(47, 124, 255, 0.06);
  overflow-x: hidden;
  box-sizing: border-box;
}

/* subtle dotted "design tool" grid */
.dental-chart::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: calc(var(--dc-radius) - 8px);
  background-image: radial-gradient(rgba(2, 168, 144, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}

.dental-chart > * { position: relative; z-index: 1; }

.dental-chart-wrapper.dental-chart--paint-mode .dental-chart,
.dental-chart-wrapper.dental-chart--edit-mode .dental-chart {
  cursor: crosshair;
}

.dental-chart-wrapper.dental-chart--paint-mode .tooth,
.dental-chart-wrapper.dental-chart--edit-mode .tooth,
.dental-chart-wrapper.dental-chart--paint-mode .tooth-gap,
.dental-chart-wrapper.dental-chart--paint-mode .arch-midline-gap {
  cursor: crosshair;
}

/* Arch layout */

.dental-arch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.dental-arch--upper { padding-bottom: 1rem; }
.dental-arch--lower { padding-top: 1rem; }

.dental-arch__half {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.dental-arch--lower .dental-arch__half { align-items: flex-start; }
.dental-arch__half--right { flex-direction: row; justify-content: flex-end; }
.dental-arch__half--left { flex-direction: row; justify-content: flex-start; }

/* Occlusal plane */

.occlusal-plane {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0;
  height: 38px;
}

.occlusal-plane::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dc-border-strong) 30%, var(--dc-border-strong) 70%, transparent);
}

.occlusal-plane__label {
  position: relative;
  z-index: 1;
  padding: 0.28rem 0.95rem;
  font-size: 0.625rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dc-mint-strong);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--dc-border-strong);
  border-radius: 999px;
  box-shadow: var(--dc-shadow-sm);
}

/* Quadrant labels */

.quadrant-label {
  position: absolute;
  font-size: 0.625rem;
  font-weight: 650;
  color: #5a6d86;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.quadrant-label--ur { top: 0.4rem; left: 0.9rem; }
.quadrant-label--ul { top: 0.4rem; right: 0.9rem; }
.quadrant-label--lr { bottom: 0.4rem; left: 0.9rem; }
.quadrant-label--ll { bottom: 0.4rem; right: 0.9rem; }

/* Tooth element */

.tooth {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Share row width so all stages fit inside the chart (no horizontal scroll). */
  flex: 1 1 0;
  min-width: 0;
  max-width: 100px;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.tooth:hover {
  transform: translateY(-3px) scale(1.04);
  filter: drop-shadow(0 8px 14px rgba(0, 194, 168, 0.25));
  z-index: 3;
}

.tooth--selected .tooth__icon {
  outline: 2px solid var(--dc-mint);
  outline-offset: 3px;
  border-radius: 14px;
  box-shadow: var(--dc-glow);
}

.tooth--selected .tooth__number {
  color: var(--dc-mint-strong);
  font-weight: 750;
}

.tooth--excluded {
  flex: 0 0 auto;
  opacity: 0.4;
  filter: grayscale(0.8);
  cursor: not-allowed;
}

.tooth--excluded:hover { transform: none; filter: grayscale(0.8); }

.tooth--excluded .tooth__number {
  text-decoration: line-through;
  color: var(--dc-text-muted);
}

.tooth--excluded .tooth__enamel { fill: #dfe6ef; }

.dental-arch--treatment-disabled .tooth--arch-disabled,
.dental-arch--treatment-disabled .tooth-gap--arch-disabled {
  opacity: 0.4;
  filter: grayscale(0.7);
  cursor: not-allowed;
}

.dental-arch--treatment-disabled .tooth--arch-disabled:hover,
.dental-arch--treatment-disabled .tooth-gap--arch-disabled:hover {
  transform: none;
}

.tooth--pull-next { margin-right: -20px; position: relative; z-index: 1; }
.tooth--pull-prev { margin-left: -20px; position: relative; z-index: 1; }
.dental-arch__half--right .tooth--pull-midline { margin-right: -16px; }
.dental-arch__half--left .tooth--pull-midline { margin-left: -16px; }

.dental-chart-wrapper.dental-chart--add-mode .tooth--excluded {
  cursor: pointer;
  opacity: 0.55;
}

.dental-chart-wrapper.dental-chart--add-mode .tooth--excluded:hover {
  opacity: 0.8;
  transform: scale(1.04);
}

.dental-chart-wrapper.dental-chart--remove-mode .tooth:not(.tooth--excluded) {
  cursor: crosshair;
}

.tooth--extra .tooth__number {
  color: var(--dc-mint-strong);
  font-weight: 750;
}

.tooth--extra .tooth__icon {
  max-width: 100%;
  height: auto;
  aspect-ratio: 11 / 16;
  outline: 2px dashed var(--dc-mint);
  outline-offset: -8px;
  border-radius: 14px;
}

.dental-chart-wrapper.dental-chart--remove-extra-mode .tooth--extra { cursor: crosshair; }

.dental-chart-wrapper.dental-chart--remove-extra-mode .tooth--extra:hover {
  transform: scale(1.07);
  outline: 2px solid var(--dc-amber);
  outline-offset: 2px;
}

.tooth__number {
  font-size: 0.6875rem;
  font-weight: 650;
  color: var(--dc-text-muted);
  line-height: 1;
  margin: 5px 0;
  user-select: none;
  font-variant-numeric: tabular-nums;
}

.tooth__number--upper { order: 0; }
.tooth__number--lower { order: 2; }

.tooth__icon {
  order: 1;
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 11 / 16;
}

.tooth__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(28, 55, 90, 0.18));
  overflow: visible;
}

.tooth__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(28, 55, 90, 0.22));
  pointer-events: none;
}

/* Custom tooth art: SVGs are cropped to the tooth bounds, so the image fills the
   icon box. Sizing the box to the tooth lets the selection outline, markers, and
   numbers all frame and align correctly. */
.tooth--custom-image .tooth__icon {
  max-width: 100%;
  height: auto;
  aspect-ratio: 11 / 16;
  overflow: visible;
}

.tooth--custom-image .tooth__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

/* Upper PNGs: pin crowns to the occlusal edge so 16–18 stay on the same line
   when the art is letterboxed inside the icon box. */
.tooth--upper.tooth--custom-image .tooth__image {
  object-position: center bottom;
}

.tooth--lower.tooth--custom-image .tooth__image {
  object-position: center top;
}

/* SVG tooth anatomy — pearl on light tray */

.tooth__enamel {
  fill: #fdfeff;
  stroke: #c2d0e2;
  stroke-width: 0.7;
  stroke-linejoin: round;
}

.tooth__enamel-shade {
  fill: #e7eef6;
  stroke: none;
  opacity: 0.9;
}

.tooth__gloss {
  fill: #ffffff;
  opacity: 0.75;
  stroke: none;
}

.tooth__cusp {
  fill: none;
  stroke: #aebccd;
  stroke-width: 0.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tooth__root {
  fill: #ecd9bf;
  stroke: #d6bd9a;
  stroke-width: 0.6;
  stroke-linejoin: round;
}

.tooth:hover .tooth__enamel { stroke: var(--dc-border-strong); }

.tooth--missing .tooth__number {
  color: var(--dc-blue);
  font-weight: 750;
}

.tooth--missing .tooth__enamel { fill: #dbe3ee; }
.tooth--missing .tooth__root { opacity: 0.5; }

.tooth__missing-x {
  stroke: var(--dc-blue);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.arch-midline {
  width: 18px;
  flex-shrink: 0;
}

/* All dentition stages share the same tooth slot size (sized for 8 teeth/half
   so milky / without wisdom / with wisdom match, with no horizontal scroll). */
.dental-chart-wrapper.dental-chart--stage-with_wisdom .dental-chart,
.dental-chart-wrapper.dental-chart--stage-without_wisdom .dental-chart,
.dental-chart-wrapper.dental-chart--stage-milky .dental-chart {
  padding-left: clamp(0.85rem, 3vw, 2.25rem);
  padding-right: clamp(0.85rem, 3vw, 2.25rem);
  overflow-x: hidden;
}

.dental-chart-wrapper.dental-chart--stage-with_wisdom .dental-arch__half,
.dental-chart-wrapper.dental-chart--stage-without_wisdom .dental-arch__half,
.dental-chart-wrapper.dental-chart--stage-milky .dental-arch__half {
  gap: 0;
}

.dental-chart-wrapper.dental-chart--stage-with_wisdom .arch-midline,
.dental-chart-wrapper.dental-chart--stage-without_wisdom .arch-midline,
.dental-chart-wrapper.dental-chart--stage-milky .arch-midline {
  width: 10px;
}

.dental-chart-wrapper.dental-chart--stage-with_wisdom .tooth,
.dental-chart-wrapper.dental-chart--stage-without_wisdom .tooth,
.dental-chart-wrapper.dental-chart--stage-milky .tooth {
  flex: 0 1 calc((100% - 42px) / 8);
  width: calc((100% - 42px) / 8);
  max-width: calc((100% - 42px) / 8);
  min-width: 0;
}

.dental-chart-wrapper.dental-chart--stage-with_wisdom .tooth__icon,
.dental-chart-wrapper.dental-chart--stage-with_wisdom .tooth--custom-image .tooth__icon,
.dental-chart-wrapper.dental-chart--stage-with_wisdom .tooth--extra .tooth__icon,
.dental-chart-wrapper.dental-chart--stage-without_wisdom .tooth__icon,
.dental-chart-wrapper.dental-chart--stage-without_wisdom .tooth--custom-image .tooth__icon,
.dental-chart-wrapper.dental-chart--stage-without_wisdom .tooth--extra .tooth__icon,
.dental-chart-wrapper.dental-chart--stage-milky .tooth__icon,
.dental-chart-wrapper.dental-chart--stage-milky .tooth--custom-image .tooth__icon,
.dental-chart-wrapper.dental-chart--stage-milky .tooth--extra .tooth__icon {
  aspect-ratio: 10 / 16;
}

.dental-chart-wrapper.dental-chart--stage-with_wisdom .tooth-gap,
.dental-chart-wrapper.dental-chart--stage-without_wisdom .tooth-gap,
.dental-chart-wrapper.dental-chart--stage-milky .tooth-gap {
  flex: 0 0 6px;
  min-width: 4px;
  max-width: 8px;
}

@media (max-width: 768px) {
  /* Small screens: allow page scroll so content is not clipped */
  html:has(.dental-page),
  body:has(.dental-page) {
    height: auto;
    overflow: auto;
  }

  body:has(.dental-page) .app-main {
    height: auto;
    overflow: visible;
  }

  .dental-page {
    width: 100%;
    padding: 1rem 0.75rem 7rem;
    overflow: visible;
    flex: none;
    min-height: 0;
  }

  .dental-chart-wrapper {
    flex: none;
    overflow: visible;
  }

  .dental-chart { padding: 1.5rem 0.85rem 2rem; min-height: 420px; }
  .tooth {
    flex: 1 1 0;
    min-width: 0;
    max-width: 76px;
  }
  .tooth__icon,
  .tooth--custom-image .tooth__icon,
  .tooth--extra .tooth__icon {
    max-width: 100%;
    height: auto;
    aspect-ratio: 11 / 16;
  }
  .dental-title { font-size: 1.25rem; }
}
