/* ═══════════════════════════════════════════════
       OBSERVACIONES
    ═══════════════════════════════════════════════ */
    .obs-ta {
      width: 100%;
      min-height: 110px;
      border: 1.5px solid var(--plum-pale);
      border-radius: var(--r);
      padding: 12px 14px;
      font-family: var(--ff-sans);
      font-size: 13px;
      color: var(--ink);
      background: var(--plum-ghost);
      outline: none;
      resize: vertical;
      transition: border-color .2s, box-shadow .2s;
    }
    .obs-ta:focus {
      border-color: var(--plum-light);
      box-shadow: 0 0 0 3px rgba(91,45,142,.1);
      background: var(--white);
    }
    .obs-ta::placeholder { color: var(--mist); }

    /* ═══════════════════════════════════════════════
       ACTIONS
    ═══════════════════════════════════════════════ */
    .actions {
      display: flex;
      gap: 12px;
      justify-content: flex-end;
      padding: 4px 0 8px;
    }

    .btn {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 11px 22px;
      border-radius: 30px;
      font-family: var(--ff-sans);
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: all .2s;
      border: 1.5px solid transparent;
    }
    .btn--ghost {
      background: var(--white);
      border-color: var(--line);
      color: var(--ink-soft);
    }
    .btn--ghost:hover { border-color: var(--plum-light); color: var(--plum); }
    .btn--pdf {
      background: var(--plum);
      color: var(--white);
      box-shadow: 0 4px 16px rgba(91,45,142,.3);
    }
    .btn--pdf:hover {
      background: var(--plum-light);
      box-shadow: 0 6px 20px rgba(91,45,142,.4);
      transform: translateY(-1px);
    }
    .btn--pdf:active { transform: translateY(0); }

    /* ═══════════════════════════════════════════════
       TOAST
    ═══════════════════════════════════════════════ */
    .toast {
      position: fixed;
      bottom: 30px; right: 30px;
      background: var(--ink);
      color: var(--white);
      padding: 12px 20px;
      border-radius: 30px;
      font-size: 13px;
      font-weight: 500;
      opacity: 0;
      transform: translateY(12px);
      transition: all .3s;
      pointer-events: none;
      z-index: 9999;
      box-shadow: 0 8px 24px rgba(0,0,0,.3);
    }
    .toast.show { opacity: 1; transform: translateY(0); }

    /* ═══════════════════════════════════════════════
       FOOTER BAR
    ═══════════════════════════════════════════════ */
    .footer-bar {
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: var(--r2);
      padding: 14px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      font-size: 11px;
      color: var(--ink-soft);
      letter-spacing: 1px;
      box-shadow: var(--shadow);
    }
    .footer-bar__schedule { font-weight: 500; }
    .footer-bar__dot { color: var(--mist); }

.obs-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: 22px;
  box-shadow: var(--shadow);
}


/* Contenedor del odontograma */
.odontograma-wrap {
    width: 100%;
}
 
/* Canvas responsivo */
.odontograma-canvas {
    display: block;
    width: 100%;
    height: auto;        /* se calcula en JS según proporción de imagen */
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid var(--plum);
}
 
/* Barra de dientes seleccionados */
.odontograma-barra {
    margin-top: 8px;
    padding: 8px 14px;
    min-height: 36px;
    background: var(--line);
    border: 1px solid var(--plum);
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    color: #888;           /* color cuando está vacía */
    transition: color 0.2s;
    line-height: 1.4;
    word-break: break-word;
}
 
/* Cuando hay selección, la barra toma el color de texto normal */
.odontograma-barra[data-empty="false"] {
    color: #1a1a1a;
}