
/* Odontograma, opción A (2026-10-15): herramientas en una columna a la izquierda, dientes lo más grandes posible, estadísticas en una sola franja abajo */
@media (min-width: 835px) {
  html body #odontogramaModal .odonto-body { display: grid !important; grid-template-columns: 310px minmax(0, 1fr) !important; flex: 1; min-height: 0; }
  html body #odontogramaModal .odonto-side { display: flex !important; flex-direction: column; gap: 10px; padding: 14px 14px 12px; border-right: 1px solid var(--line); background: var(--card); overflow-y: auto; min-height: 0; }
  html body #odontogramaModal .odonto-main { order: 0 !important; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow-y: auto; container-type: inline-size; justify-content: center; }
  html body #odontogramaModal .odonto-tools-palette { order: 1; display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; align-items: stretch !important; gap: 4px !important; padding: 0 !important; border: 0 !important; background: transparent !important; overflow: visible !important; }
  html body #odontogramaModal .odonto-g { display: flex !important; flex-direction: column; align-items: stretch; gap: 4px; padding: 0 !important; border: 0 !important; margin: 0 0 8px; }
  html body #odontogramaModal .odonto-g > .odonto-grp { display: block; margin: 4px 0 2px !important; font-size: .68rem !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  html body #odontogramaModal .odonto-tool-chip { width: 100% !important; justify-content: flex-start; padding: 7px 10px !important; font-size: .82rem !important; font-weight: 600; border-radius: 10px; white-space: nowrap; }
  html body #odontogramaModal .odonto-tool-chip { margin: 0 !important; min-height: 42px !important; height: 42px; font-size: .95rem !important; padding: 0 14px !important; gap: 10px; }
  html body #odontogramaModal .odonto-tool-chip .tool-dot { width: 14px !important; height: 14px !important; }
  html body #odontogramaModal .odonto-g > .odonto-grp { font-size: .74rem !important; margin: 8px 0 4px !important; }
  html body #odontogramaModal .odonto-g { margin: 0 0 4px !important; gap: 3px !important; }
  html body #odontogramaModal .odonto-main > .odonto-temp-row { flex: none; flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 8px 20px !important; border-top: 1px dashed var(--line); font-size: .8rem; }
  html body #odontogramaModal .odonto-main > .odonto-temp-row .odonto-temp-hint { display: inline; }
  html body #odontogramaModal .odonto-main > .odonto-temp-row .odonto-temp-actions { flex-direction: row !important; }
  html body #odontogramaModal .odonto-main > .odonto-ai-box { flex: none; margin: 0 20px 10px !important; }
  html body #odontogramaModal .odonto-main > .odonto-ai-box.ai-open { max-height: 34vh; overflow-y: auto; }
  html body #odontogramaModal .odonto-card { --tw: clamp(40px, calc(0.9 * min(calc((100cqw - 150px) / 17.6), calc((100vh / var(--zv, 0.75) - 430px) / 3.84))), 110px); }
}
@media (min-width: 835px) and (max-height: 820px) {
  html body #odontogramaModal .odonto-tool-chip { min-height: 34px !important; height: 34px; font-size: .85rem !important; }
  html body #odontogramaModal .odonto-footer { padding: 10px 20px; }
  html body #odontogramaModal .odonto-footer > div:last-child { display: none; }
}
