/* =========================
   SaaS Dashboard (Owner/Admin/Staff shell)
   Loaded only from core/dashboard/base.html after saas.css
   ========================= */

/* =========================
   Dashboard — list layout + status badges
   ========================= */

/* List pages (clientes y futuras tablas): más ancho que --maxw / --saas-max */
.wrap.wrap--list {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

/* Columna Acciones fija a la derecha al hacer scroll horizontal */
@media (min-width: 640px) {
  .dashboard-table-scroll th.cell-actions,
  .dashboard-table-scroll td.cell-actions {
    position: sticky;
    right: 0;
    background: var(--bg);
    min-width: 90px;
    white-space: nowrap;
    box-shadow: -8px 0 8px -6px rgba(0, 0, 0, 0.16);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
  }
  .dashboard-table-scroll th.cell-actions {
    z-index: 2;
  }
  .dashboard-table-scroll td.cell-actions {
    z-index: 1;
  }
}

.status-badges--stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}
.status-badge--activo {
  background: rgba(46, 125, 50, 0.12);
  color: #2e7d32;
}
.status-badge--proximo {
  background: rgba(230, 81, 0, 0.12);
  color: #e65100;
}
.status-badge.status-badge--inscripcion-pendiente {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  background: var(--saas-status-inscripcion-bg, #f6e7b0);
  color: var(--saas-status-inscripcion, #5c4700);
  border: 1px solid var(--saas-status-inscripcion-border, #d4b84a);
}
.status-badge.status-badge--clase-prueba {
  font-weight: 600;
  background: rgba(106, 27, 154, 0.12);
  color: #6a1b9a;
}
.status-badge--prueba {
  background: rgba(106, 27, 154, 0.12);
  color: #6a1b9a;
}
.status-badge--vencido {
  background: rgba(198, 40, 40, 0.12);
  color: #c62828;
}
.status-badge--sin-plan {
  background: rgba(153, 153, 153, 0.16);
  color: #999;
}
.status-badge--congelado,
.status-badge--completado,
.status-badge--cancelado,
.status-badge--inactivo,
.status-badge--otro {
  background: rgba(102, 102, 102, 0.14);
  color: #666;
}

/* =========================
   Dashboard — header chrome / nav / account
   ========================= */

.saas-header--dashboard .saas-wrap {
  padding-left: 28px;
  padding-right: 28px;
}

.saas-header--dashboard .saas-header-row {
  justify-content: space-between;
  gap: 12px;
}

/* Nav Owner/Admin: un solo <nav>; móvil = bottom bar; escritorio = franja. */
.dashboard-owner-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.dashboard-owner-nav__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--saas-muted, #666);
  padding: 8px 10px;
  border-radius: 10px;
  border-bottom: 2px solid transparent;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
}

.dashboard-owner-nav__item:hover {
  background: #f6f6f6;
  color: var(--saas-text, #111);
}

.dashboard-owner-nav__item.is-active {
  background: #f6f6f6;
  color: var(--saas-text, #111);
  border-bottom-color: #c8a96e;
}

.dashboard-owner-nav__icon {
  display: none;
  flex-shrink: 0;
}

.dashboard-owner-nav__label {
  white-space: nowrap;
}

/* Bottom bar móvil (< 900px) */
@media (max-width: 899px) {
  .saas-header--dashboard .dashboard-owner-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    flex: none;
    justify-content: space-around;
    gap: 0;
    margin: 0;
    padding: 8px 6px max(10px, env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--saas-border, #eaeaea);
    border-radius: 0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
  }

  .saas-header--dashboard .dashboard-owner-nav__item {
    flex: 1 1 0;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-height: 48px;
    padding: 6px 4px;
    border-radius: 10px;
    border-bottom: none;
    font-size: 0.68rem;
    font-weight: 600;
    text-align: center;
    color: var(--saas-muted, #666);
    background: transparent;
  }

  .saas-header--dashboard .dashboard-owner-nav__item:hover {
    background: transparent;
    color: #b88a2e;
  }

  .saas-header--dashboard .dashboard-owner-nav__item.is-active {
    background: transparent;
    color: #b88a2e;
    border-bottom: none;
  }

  .saas-header--dashboard .dashboard-owner-nav__icon {
    display: block;
  }

  /* Evitar que CTAs y el footer queden bajo la bottom bar (safe-area iPhone). */
  body:has(.saas-header--dashboard) main {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  body:has(.saas-header--dashboard) .footer {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

.dashboard-more-list {
  margin-top: 20px;
}

.dashboard-more-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dashboard-more-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid #ede8df;
  border-radius: 10px;
  background: #fdfcfa;
  color: #5a4a3a;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.dashboard-more-list a:hover {
  color: #c8a96e;
}

.dashboard-more-list__sep {
  border: 0;
  border-top: 1px solid var(--saas-border, #eaeaea);
  margin: 14px 0;
}

.dashboard-app-message-page {
  padding: 24px 0 32px;
  max-width: 560px;
}

.dashboard-app-message-form {
  margin-top: 24px;
}

.dashboard-app-message-form .dashboard-form-field {
  margin-bottom: 1rem;
}

.dashboard-app-message-form .dashboard-form-field--last {
  margin-bottom: 0;
}

.dashboard-app-message-form .dashboard-form-section input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.dashboard-app-message-form .dashboard-form-section select,
.dashboard-app-message-form .dashboard-form-section textarea {
  max-width: 100%;
}

.dashboard-app-message-form__actions {
  margin-top: 20px;
}

.dashboard-app-message-form__clear {
  margin-top: 16px;
}

/* Guardar sin cambios: claramente inactivo (grisáceo, sin cursor de acción). */
.dashboard-app-message-form .btn:disabled,
.dashboard-app-message-form .btn:disabled:hover {
  opacity: 1;
  background: #ece9e2;
  border-color: #d9d4c8;
  color: #8a8478;
  cursor: not-allowed;
}

.dashboard-reviews-page {
  padding: 24px 0 32px;
  max-width: 560px;
}

.dashboard-reviews-page h1 {
  margin-bottom: 8px;
}

.dashboard-reviews-empty {
  margin-top: 20px;
}

.dashboard-review-card {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #ede8df;
  border-radius: 10px;
  background: #fdfcfa;
}

.dashboard-review-card h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.dashboard-review-card__total {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.dashboard-review-card__delta,
.dashboard-review-card__note {
  margin: 4px 0 0;
  font-weight: 600;
  color: var(--saas-muted, #666);
}

.dashboard-review-card--met .dashboard-review-card__delta {
  color: #2e7d32;
}

.dashboard-review-card--missed .dashboard-review-card__delta {
  color: #8a5a00;
}

.dashboard-review-card__last {
  margin: 8px 0 0;
  font-size: 0.92rem;
}

.dashboard-review-card__last--met {
  color: #2e7d32;
}

.dashboard-review-card__last--missed {
  color: #8a5a00;
}

.dashboard-review-history {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.dashboard-review-history caption {
  text-align: left;
  font-weight: 600;
  margin-bottom: 6px;
}

.dashboard-review-history th,
.dashboard-review-history td {
  padding: 6px 8px 6px 0;
  text-align: left;
  border-bottom: 1px solid #ede8df;
}

.dashboard-reviews-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 280px;
}

.dashboard-reviews-form__field {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-reviews-form input {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #ede8df;
  border-radius: 8px;
  font: inherit;
}

.dashboard-reviews-form button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #5a4a3a;
  color: #fff;
  font: inherit;
  font-weight: 600;
}

.dashboard-account-menu {
  position: relative;
  margin-left: auto;
  flex-shrink: 0;
}

.dashboard-account-menu__trigger {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 8px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--saas-border, #e5e5e5);
  background: #fff;
  font-size: 0.9rem;
  color: inherit;
}

.dashboard-account-menu__trigger::-webkit-details-marker {
  display: none;
}

.dashboard-account-menu__trigger:hover {
  background: #f6f6f6;
}

.dashboard-account-menu__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
  object-fit: cover;
}

.dashboard-account-menu__avatar--photo {
  padding: 0;
  border: 0;
}

.dashboard-account-menu__name {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-account-menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 200px;
  padding: 6px;
  border: 1px solid var(--saas-border, #e5e5e5);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 40;
}

.dashboard-account-menu__panel a,
.dashboard-account-menu__logout button {
  display: block;
  width: 100%;
  text-align: left;
  text-decoration: none;
  color: inherit;
  background: none;
  border: none;
  padding: 10px 12px;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

.dashboard-account-menu__panel a:hover,
.dashboard-account-menu__logout button:hover {
  background: #f6f6f6;
}

.dashboard-account-menu__sep {
  border: 0;
  border-top: 1px solid var(--saas-border, #e5e5e5);
  margin: 4px 0;
}

.dashboard-account-menu__logout {
  margin: 0;
}

@media (max-width: 760px) {
  .saas-header--dashboard .saas-header-row {
    flex-direction: row;
    align-items: center;
  }

  .dashboard-account-menu__name {
    max-width: 96px;
  }
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/atmaia/cormorant-garamond-latin-400-600.ec4225ec161b.woff2") format("woff2");
}

.teacher-greeting {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.15;
  color: var(--saas-text, #111);
}

.teacher-greeting__sub {
  margin: 8px 0 12px;
  color: #777;
  font-size: 0.95rem;
}

.dashboard-account-page {
  /* Mismo margen lateral que .saas-wrap del panel (celular). */
  padding: 24px 18px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.dashboard-account-page__auth-link {
  margin: 10px 0 0;
}

.dashboard-account-page__auth-link a {
  text-decoration: underline;
  color: inherit;
}

.dashboard-account-page__auth-body {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  padding: 16px;
  border: 1px solid #e0d9c8;
  border-radius: 10px;
  background: #fdfcfa;
}

.dashboard-account-page__intro {
  margin-top: 8px;
}

.dashboard-account-page__card {
  margin-top: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  background: rgba(0, 0, 0, 0.025);
}

.dashboard-account-page__card-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--saas-text);
}

.dashboard-account-page__card .dashboard-form-field {
  margin-bottom: 1rem;
}

.dashboard-account-page__card .dashboard-form-field--last {
  margin-bottom: 0;
}

.dashboard-account-page__label {
  font-size: 0.85rem;
}

.dashboard-account-page__value {
  margin-top: 4px;
}

.dashboard-account-page__value--strong {
  font-weight: 500;
}

.dashboard-account-page__form {
  margin-top: 0;
}

.dashboard-account-page__form input[type="text"],
.dashboard-account-page__form input[type="email"] {
  display: block;
  width: 100%;
  min-height: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  background-color: #fff;
  color: var(--saas-text, #111);
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}

.dashboard-account-page__form input[type="text"]:focus-visible,
.dashboard-account-page__form input[type="email"]:focus-visible {
  outline: 2px solid var(--accent, #c9a15b);
  outline-offset: 1px;
}

.dashboard-account-page__help {
  font-size: 0.8rem;
  margin: 4px 0 0;
}

.dashboard-account-page__error {
  color: #c00;
  font-size: 0.85rem;
  margin: 4px 0 0;
}

/* Avatar de cuenta — reutiliza token --accent (dorado) del file-input de marca/staff */
.dashboard-account-avatar {
  margin-top: 6px;
}

.dashboard-account-avatar__row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.dashboard-account-avatar__preview {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #111;
  border: 1px solid var(--saas-border);
}

.dashboard-account-avatar__preview--initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.5rem;
}

.dashboard-account-avatar__body {
  flex: 1;
  min-width: 0;
}

.dashboard-account-avatar__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

/* Acciones tipo branding (logo/favicon): links de texto, no pills. */
.dashboard-account-avatar__action,
.dashboard-account-avatar__clear {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent, #b88a2e);
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.dashboard-account-avatar__action:hover,
.dashboard-account-avatar__clear:hover {
  text-decoration: underline;
}

.dashboard-account-avatar:has(input[type="file"]:focus-visible) .dashboard-account-avatar__action,
.dashboard-account-avatar__clear:has(input:focus-visible) {
  outline: 2px solid var(--accent, #b88a2e);
  outline-offset: 2px;
  border-radius: 2px;
}

.dashboard-account-avatar__help {
  flex-basis: 100%;
  order: 2;
  font-size: 0.8rem;
  margin: 0;
}

.dashboard-account-avatar__clear-pending {
  display: none;
}

.dashboard-account-avatar__clear:has(input:checked) {
  flex-basis: 100%;
  order: 3;
  color: var(--saas-text);
}

.dashboard-account-avatar__clear:has(input:checked) .dashboard-account-avatar__clear-idle {
  display: none;
}

.dashboard-account-avatar__clear:has(input:checked) .dashboard-account-avatar__clear-pending {
  display: inline;
}

.dashboard-account-avatar__status {
  min-height: 1.25em;
  margin: 6px 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--saas-text);
  word-break: break-word;
}

.dashboard-account-avatar__status:empty {
  display: none;
}

.dashboard-account-page__actions {
  margin-top: 1rem;
}

.dashboard-account-page__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  box-sizing: border-box;
}

/* Mis datos (profesor): mismos controles que portal «Mis datos» / Datos de cuenta. */
.dashboard-account-page__private-form .dashboard-form-field > label.dashboard-account-page__label {
  display: block;
  margin-bottom: 6px;
}

.dashboard-account-page__private-form .dashboard-account-page__control,
.dashboard-account-page__private-form input[type="text"],
.dashboard-account-page__private-form input[type="tel"],
.dashboard-account-page__private-form select {
  display: block;
  width: 100%;
  min-height: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  background-color: #fff;
  color: var(--saas-text, #111);
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.dashboard-account-page__private-form select.dashboard-account-page__control,
.dashboard-account-page__private-form select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236e6a67' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.dashboard-account-page__private-form .dashboard-account-page__control:focus-visible,
.dashboard-account-page__private-form input:focus-visible,
.dashboard-account-page__private-form select:focus-visible {
  outline: 2px solid var(--accent, #c9a15b);
  outline-offset: 1px;
}

.dashboard-account-page__auth-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 500;
  line-height: 1.4;
}

.dashboard-account-page__auth-check input {
  margin-top: 3px;
  flex-shrink: 0;
}

.dashboard-account-page__auth-status {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.45;
}

.dashboard-account-page__security {
  margin-top: 1.5rem;
}

.dashboard-account-page__security-desc {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.dashboard-account-page__security .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  box-sizing: border-box;
}

@media (max-width: 430px) {
  .dashboard-account-page {
    padding: 16px 18px;
  }

  .dashboard-account-page__card {
    padding: 1rem 1.1rem;
  }

  .dashboard-account-avatar__row {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-account-page__security .btn {
    width: 100%;
  }

  .dashboard-account-menu__panel {
    min-width: min(200px, calc(100vw - 24px));
    right: 0;
  }
}

/* Dashboard: enlace de regreso destacado (no botón) */
.dashboard-back {
  margin-bottom: 1rem;
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent, #b88a2e);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}
.btn-back:hover {
  color: #8f671f;
  text-decoration: underline;
}
.btn-back:focus-visible {
  outline: 2px solid transparent;
  color: #8f671f;
  text-decoration: underline;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent, #c9a15b);
}

/* =========================
   Dashboard — clientes list (mobile cards)
   ========================= */
@media (max-width: 639.98px) {
  .dashboard-customers-list .dashboard-table-scroll {
    overflow-x: visible;
    -webkit-overflow-scrolling: auto;
  }

  .dashboard-customers-list .dashboard-customers-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
  }

  .dashboard-customers-list .dashboard-customers-table thead {
    display: none;
  }

  .dashboard-customers-list .dashboard-customers-table,
  .dashboard-customers-list .dashboard-customers-table tbody,
  .dashboard-customers-list .dashboard-customers-table tr,
  .dashboard-customers-list .dashboard-customers-table td {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .dashboard-customers-list .dashboard-customers-table tr {
    margin-bottom: 16px;
    border: 1px solid var(--saas-border, #e5e0d8);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    box-sizing: border-box;
    max-width: 100%;
  }

  .dashboard-customers-list .dashboard-customers-table__empty {
    border: none;
    padding: 0;
    margin-bottom: 0;
    background: transparent;
  }

  .dashboard-customers-list .dashboard-customers-table td {
    padding: 6px 0;
    border: none;
    min-width: 0;
    max-width: none;
    white-space: normal;
  }

  .dashboard-customers-list .dashboard-customers-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--saas-muted, #666);
    margin-bottom: 2px;
  }

  .dashboard-customers-list .dashboard-customers-table__empty td::before {
    display: none;
  }

  .dashboard-customers-list .dashboard-customers-table td[data-label="Acciones"] a,
  .dashboard-customers-list .dashboard-customers-table td[data-label="Acciones"] button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .dashboard-table-scroll th.cell-actions,
  .dashboard-table-scroll td.cell-actions {
    position: static;
    z-index: auto;
    min-width: 0;
    box-shadow: none;
    border-left: none;
  }
}

/* =========================
   Dashboard — compras list (mobile cards)
   ========================= */
@media (max-width: 639.98px) {
  .dashboard-purchases-list .dashboard-table-scroll {
    overflow-x: visible;
    -webkit-overflow-scrolling: auto;
  }

  .dashboard-purchases-list .dashboard-purchases-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
  }

  .dashboard-purchases-list .dashboard-purchases-table thead {
    display: none;
  }

  .dashboard-purchases-list .dashboard-purchases-table,
  .dashboard-purchases-list .dashboard-purchases-table tbody,
  .dashboard-purchases-list .dashboard-purchases-table tr,
  .dashboard-purchases-list .dashboard-purchases-table td {
    display: block;
    width: 100%;
  }

  .dashboard-purchases-list .dashboard-purchases-table tr {
    margin-bottom: 16px;
    border: 1px solid var(--saas-border, #e5e0d8);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
  }

  .dashboard-purchases-list .dashboard-purchases-table__empty {
    border: none;
    padding: 0;
    margin-bottom: 0;
    background: transparent;
  }

  .dashboard-purchases-list .dashboard-purchases-table td {
    padding: 6px 0;
    border: none;
    min-width: 0;
    max-width: none;
    white-space: normal;
  }

  .dashboard-purchases-list .dashboard-purchases-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--saas-muted, #666);
    margin-bottom: 2px;
  }

  .dashboard-purchases-list .dashboard-purchases-table__empty td::before {
    display: none;
  }

  .dashboard-purchases-list .dashboard-purchases-table td[data-label="Acciones"] a,
  .dashboard-purchases-list .dashboard-purchases-table td[data-label="Acciones"] button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* =========================
   Dashboard — reservas del detalle de sesión (tarjetas en móvil)
   ========================= */
.session-bookings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.session-bookings-table thead tr {
  border-bottom: 2px solid #e0d9c8;
  text-align: left;
}

.session-bookings-table th {
  padding: 8px 10px;
}

.session-bookings-table tbody tr {
  border-bottom: 1px solid #f0ece3;
}

.session-bookings-table td {
  padding: 10px 10px;
}

.session-bookings-table__attendance {
  white-space: nowrap;
}

.session-bookings-table__attendance form {
  display: inline;
}

.session-bookings-table__attendance form + form {
  margin-left: 6px;
}

@media (max-width: 639.98px) {
  .session-bookings-table thead {
    display: none;
  }

  .session-bookings-table,
  .session-bookings-table tbody,
  .session-bookings-table tr,
  .session-bookings-table td {
    display: block;
    width: 100%;
  }

  .session-bookings-table tbody tr {
    box-sizing: border-box;
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid #e0d9c8;
    border-radius: 8px;
    background: #fff;
  }

  .session-bookings-table td {
    padding: 4px 0;
  }

  .session-bookings-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--saas-muted, #666);
    margin-bottom: 2px;
  }

  .session-bookings-table__attendance {
    white-space: normal;
  }

  .session-bookings-table__attendance:has(form) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .session-bookings-table__attendance:has(form)::before {
    grid-column: 1 / -1;
  }

  .session-bookings-table__attendance form + form {
    margin-left: 0;
  }

  .session-bookings-table__attendance button {
    width: 100%;
    min-height: 44px;
  }

  .session-bookings-table__attendance [data-attendance-not-open] {
    grid-column: 1 / -1;
  }

  /* «Cancelar» (discreto) ocupa su propia fila bajo los dos botones. */
  .session-bookings-table__attendance form[data-session-booking-cancel] {
    grid-column: 1 / -1;
  }
}

/* Dashboard forms — inputs compartidos */
.dashboard-form-section input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.dashboard-form-section select,
.dashboard-form-section textarea {
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--saas-border);
  border-radius: var(--saas-radius);
  font-size: 1rem;
  font-family: inherit;
}
.dashboard-form-section input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus-visible,
.dashboard-form-section select:focus-visible,
.dashboard-form-section textarea:focus-visible {
  outline: none;
  border-color: var(--accent, #b88a2e);
  box-shadow: 0 0 0 3px rgba(184, 138, 46, 0.25);
}
.dashboard-form-section input:disabled,
.dashboard-form-section select:disabled,
.dashboard-form-section textarea:disabled {
  background: #f5f5f5;
  color: var(--saas-muted);
  cursor: not-allowed;
}
.dashboard-form-section input[type="file"]::file-selector-button {
  padding: 8px 14px;
  border: 1px solid var(--saas-border);
  border-radius: var(--saas-radius);
  background: #fff;
  font-family: inherit;
  cursor: pointer;
}
.dashboard-form-section .dashboard-settings-field:has(.dashboard-field-error) input,
.dashboard-form-section .dashboard-settings-field:has(.dashboard-field-error) select,
.dashboard-form-section .dashboard-settings-field:has(.dashboard-field-error) textarea {
  border-color: #c00;
}
@media (max-width: 639.98px) {
  .dashboard-form-section input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  .dashboard-form-section select,
  .dashboard-form-section textarea {
    max-width: 100%;
  }
}

/* Formulario de talleres — ancho útil, campos completos, parejas en móvil */
.workshop-similar {
  margin: -4px 0 16px;
  padding: 12px 14px;
  border: 1px solid #c9d8ef;
  border-radius: var(--saas-radius, 8px);
  background: #f2f6fc;
  color: #1f3b63;
  font-size: 0.95rem;
}
.workshop-similar__item + .workshop-similar__item {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #d9e3f2;
}
.workshop-similar__text {
  margin: 0 0 8px;
}
.workshop-similar__status {
  color: #4a5f80;
  font-size: 0.85rem;
}
.workshop-form-page {
  max-width: 880px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.workshop-form fieldset {
  min-width: 0;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 0 0 20px;
}
.workshop-form legend {
  font-weight: 600;
  padding: 0 8px;
  color: #333;
}
.workshop-form .workshop-field {
  margin-bottom: 16px;
}
.workshop-form .workshop-field__label {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
}
.workshop-form .workshop-field__required,
.workshop-form .workshop-field__error {
  color: #c00;
}
.workshop-form .workshop-field__error {
  font-size: 0.85rem;
  margin: 4px 0 0;
}
.workshop-form .workshop-field__help {
  color: #888;
  font-size: 0.8rem;
  margin: 4px 0 0;
}
.workshop-form input:not([type="checkbox"]):not([type="radio"]),
.workshop-form select,
.workshop-form textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
.workshop-form input[type="text"],
.workshop-form input[type="url"],
.workshop-form input[type="number"],
.workshop-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.workshop-form textarea {
  resize: vertical;
  line-height: 1.5;
  min-height: 4.5em;
}
.workshop-form textarea[name="body"] {
  min-height: 18em;
}
.workshop-form textarea[name="attendee_info"] {
  min-height: 15em;
}
.workshop-form textarea[name="practical_info"],
.workshop-form textarea[name="facilitator_bio"] {
  min-height: 12em;
}
.workshop-form .workshop-field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.workshop-form .workshop-days__intro {
  margin: 0 0 12px;
}
.workshop-form .workshop-day {
  padding: 10px 16px 0;
  margin: 0 0 12px;
  border-color: #e4e4e4;
}
.workshop-form .workshop-day[hidden] {
  display: none;
}
.workshop-form .workshop-day__legend {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0 6px;
}
.workshop-form .workshop-day__note {
  margin: 0 0 8px;
}
.workshop-form .workshop-day__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 0 12px;
}
.workshop-form .workshop-day__grid--advanced {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* Etiqueta, control, error y ayuda en filas compartidas: los controles quedan
   alineados aunque una etiqueta o un error ocupen dos líneas. */
.workshop-form .workshop-day__grid > .workshop-field {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  align-content: start;
}
.workshop-form .workshop-day__grid .workshop-field__label {
  align-self: end;
}
.workshop-form .workshop-day input[type="date"],
.workshop-form .workshop-day input[type="datetime-local"],
.workshop-form .workshop-day select {
  min-height: 44px;
  font-family: inherit;
  font-size: 1rem;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
}
.workshop-form input[aria-invalid="true"],
.workshop-form select[aria-invalid="true"],
.workshop-form textarea[aria-invalid="true"],
.workshop-form .workshop-day input[aria-invalid="true"],
.workshop-form .workshop-day select[aria-invalid="true"] {
  border-color: #c00;
}
.workshop-form .workshop-day__remove,
.workshop-form .workshop-day-add,
.workshop-form .workshop-preview__toggle {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fafafa;
  color: #333;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  touch-action: manipulation;
}
.workshop-form .workshop-day__remove {
  display: block;
  margin: -6px 0 8px auto;
  border-color: transparent;
  background: transparent;
  color: #8a1c1c;
  text-decoration: underline;
}
.workshop-form .workshop-day-add {
  margin: 0 0 16px;
}
.workshop-form .workshop-day__remove[hidden],
.workshop-form .workshop-day-add[hidden] {
  display: none;
}
.workshop-form .workshop-day__remove:focus-visible,
.workshop-form .workshop-day-add:focus-visible {
  outline: 2px solid var(--saas-text);
  outline-offset: 2px;
}
.workshop-form .workshop-preview {
  margin-top: 8px;
}
.workshop-form .workshop-preview[hidden],
.workshop-form .workshop-preview__region[hidden] {
  display: none;
}
.workshop-form .workshop-preview__toggle:focus-visible {
  outline: 2px solid var(--saas-text);
  outline-offset: 2px;
}
.workshop-form .workshop-preview__region {
  margin-top: 8px;
  padding: 12px 16px;
  border: 1px dashed #cfc6b4;
  border-radius: 8px;
  background: #fff;
  min-width: 0;
  overflow-wrap: anywhere;
}
.workshop-form .workshop-preview__caption {
  margin: 0 0 8px;
  color: #888;
  font-size: 0.8rem;
}
.workshop-form .workshop-preview__status {
  margin: 0;
  font-size: 0.9rem;
}
.workshop-form .workshop-preview__status:empty {
  display: none;
}
.workshop-form .workshop-preview__status.is-error {
  color: #c00;
}
.workshop-form .workshop-preview__body > :first-child {
  margin-top: 0;
}
.workshop-form .workshop-preview__body > :last-child {
  margin-bottom: 0;
}
.workshop-form .workshop-preview__body h2 {
  margin: 16px 0 8px;
  font-size: 1.15rem;
}
.workshop-form .workshop-preview__body p,
.workshop-form .workshop-preview__body ul,
.workshop-form .workshop-preview__body ol {
  margin: 0 0 10px;
  line-height: 1.55;
}
.workshop-form .workshop-preview__body ul,
.workshop-form .workshop-preview__body ol {
  padding-left: 1.4em;
}
.workshop-form .workshop-format-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.workshop-form .workshop-format-toolbar[hidden] {
  display: none;
}
.workshop-form .workshop-format-toolbar__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fafafa;
  color: #333;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}
.workshop-form .workshop-format-toolbar__btn:hover,
.workshop-form .workshop-format-toolbar__btn:active {
  background: #ececec;
}
.workshop-form .workshop-format-toolbar__btn:focus-visible {
  outline: 2px solid var(--saas-text);
  outline-offset: 2px;
}
.workshop-form .workshop-counter {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: #666;
  font-variant-numeric: tabular-nums;
}
.workshop-form .workshop-counter.is-over {
  color: #8a5300;
  font-weight: 600;
}
.workshop-form .workshop-counter.is-over-max {
  color: #b00020;
  font-weight: 600;
}
.workshop-form .workshop-counter__note:not(:empty)::before {
  content: " · ";
}
@media (max-width: 639.98px) {
  .workshop-form .workshop-field-pair,
  .workshop-form .workshop-day__grid--advanced {
    grid-template-columns: minmax(0, 1fr);
  }
  .workshop-form .workshop-day {
    padding: 8px 10px 0;
  }
  .workshop-form .workshop-day__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 10px;
  }
  .workshop-form .workshop-day__grid > .workshop-field:first-child {
    grid-column: 1 / -1;
  }
  .workshop-form .workshop-day__grid--advanced > .workshop-field:first-child {
    grid-column: auto;
  }
  .workshop-form .workshop-day input[type="date"],
  .workshop-form .workshop-day input[type="datetime-local"],
  .workshop-form .workshop-day select {
    font-size: 16px;
  }
  .workshop-form-page {
    padding-left: 12px;
    padding-right: 12px;
  }
  .workshop-form fieldset {
    padding: 12px;
  }
  .workshop-form input[type="text"],
  .workshop-form input[type="url"],
  .workshop-form input[type="number"],
  .workshop-form textarea {
    font-size: 16px;
  }
  .workshop-form .workshop-format-toolbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .workshop-form .workshop-format-toolbar__btn {
    justify-content: center;
    min-width: 0;
    padding: 0 4px;
  }
  .workshop-form .workshop-format-toolbar__btn > [aria-hidden="true"] {
    display: none;
  }
  .workshop-form .workshop-format-toolbar__btn[data-format="bold"] {
    font-weight: 700;
  }
}

/* Input de archivo de branding (logo / favicon / og_image) */
.dashboard-settings-field:has(.dashboard-file-input) + .dashboard-settings-field:has(.dashboard-file-input) {
  padding-top: 16px;
  border-top: 1px solid var(--saas-border);
}
.dashboard-file-input__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.dashboard-file-input__preview {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  max-width: 44px;
  max-height: 44px;
  flex-shrink: 0;
  object-fit: contain;
  border: 1px solid var(--saas-border);
  border-radius: 6px;
  background: #fff;
}
.dashboard-file-input__preview--staff-photo {
  width: auto;
  height: auto;
  max-width: 160px;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
}
.dashboard-file-input__body {
  min-width: 0;
  flex: 1;
}
.dashboard-file-input__eyebrow,
.dashboard-file-input__name,
.dashboard-file-input__kept,
.dashboard-file-input__pending {
  margin: 0;
}
.dashboard-file-input__eyebrow {
  font-size: 0.75rem;
  color: var(--saas-muted);
}
.dashboard-file-input__name,
.dashboard-file-input__kept {
  font-size: 0.9rem;
  color: var(--saas-text);
  word-break: break-all;
}
.dashboard-file-input__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-top: 6px;
}
.dashboard-file-input__native-clear {
  margin-top: 8px;
  font-size: 0.85rem;
}
.dashboard-file-input__native-clear label {
  font-weight: 400;
}
.dashboard-file-input__pending {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--saas-text);
}
.dashboard-file-input__action {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent, #b88a2e);
  cursor: pointer;
  text-decoration: none;
}
.dashboard-file-input__action[hidden] {
  display: none !important;
}
.dashboard-file-input__action:focus-visible,
.dashboard-file-input:has(input[type="file"]:focus-visible) .dashboard-file-input__action[for] {
  outline: 2px solid var(--accent, #b88a2e);
  outline-offset: 2px;
  border-radius: 2px;
}
@media (max-width: 480px) {
  .dashboard-file-input__row {
    flex-direction: column;
  }
}

/* =========================
   Cierre de mes: clases impartidas (Owner /dashboard/evidencia/ y profesor)
   ========================= */
.delivery-month {
  padding-block: 24px;
  max-width: 720px;
}

.delivery-month__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 20px;
}

.delivery-month__title {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 1.15rem;
  color: #5a4a3a;
}

.delivery-month__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid #e0d9c8;
  background: #fdfcfa;
  color: #5a4a3a;
  text-decoration: none;
  font-size: 1.1rem;
}

.delivery-month__nav-btn.is-disabled {
  border-color: #eee;
  color: #ccc;
}

.delivery-month__summary {
  margin: 0 0 16px;
  font-size: 1.05rem;
  color: #3d3229;
}

.delivery-month__pending {
  color: #b45309;
  font-weight: 600;
}

.delivery-month__staff,
.delivery-month__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.delivery-month__staff-item {
  margin-bottom: 10px;
  border: 1px solid #e0d9c8;
  border-radius: 10px;
  background: #fdfcfa;
}

.delivery-month__staff-item.is-open {
  border-color: #c8a96e;
}

.delivery-month__staff-link {
  display: list-item;
  list-style: disclosure-closed inside;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
  line-height: 1.4;
}

.delivery-month__staff-item.is-open .delivery-month__staff-link {
  list-style-type: disclosure-open;
}

.delivery-month__staff-link::marker {
  color: #6b5d4f;
}

.delivery-month__staff-name {
  font-weight: 700;
  color: #3d3229;
}

.delivery-month__detail {
  padding: 0 12px 12px;
}

.delivery-month__confirm-all {
  margin: 0 4px 12px;
}

.delivery-month__row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 4px 12px;
  align-items: center;
  padding: 10px 4px;
  border-top: 1px solid #eee6d6;
}

.delivery-month__row a {
  color: inherit;
}

.delivery-month__when {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  color: #5a4a3a;
  line-height: 1.2;
}

.delivery-month__time {
  font-weight: 400;
  font-size: 0.85rem;
  color: #888;
}

.delivery-month__class {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.owner-delivery-report .delivery-month__row {
  grid-template-columns: 64px 1fr auto 16px;
}

.owner-delivery-report .delivery-month__class-link {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.delivery-month__chevron {
  color: #b8a98f;
  font-size: 1.4rem;
  line-height: 1;
  text-decoration: none;
  text-align: center;
}

.delivery-month__row a.delivery-month__chevron {
  color: #b8a98f;
}

.delivery-month__hint {
  font-size: 0.82rem;
  color: #888;
}

.delivery-month__status {
  font-size: 0.82rem;
  font-weight: 600;
  text-align: right;
  color: #5a4a3a;
}

.delivery-month__row--delivered .delivery-month__status {
  color: #2e7d32;
}

.delivery-month__row--pending_review .delivery-month__status {
  color: #b45309;
}

.delivery-month__row--not_delivered .delivery-month__status {
  color: #999;
}

.delivery-month__actions {
  grid-column: 2 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}

.delivery-month__actions form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.delivery-month .btn {
  min-height: 44px;
  background: #fdfcfa;
  border-color: #c8a96e;
  color: #5a4a3a;
  cursor: pointer;
}

.delivery-month .btn-primary {
  background: #c8a96e;
  color: #fff;
}

.delivery-month .btn-alt {
  border-color: #cfc6b4;
  color: #6b5d4f;
}

.delivery-month__note summary {
  cursor: pointer;
  font-size: 0.85rem;
  color: #6b5d4f;
}

.delivery-month__note input {
  margin-top: 6px;
  min-height: 40px;
  width: 100%;
  max-width: 280px;
}

@media (max-width: 480px) {
  .delivery-month__row {
    grid-template-columns: 52px 1fr;
  }

  .delivery-month__status {
    grid-column: 2;
    text-align: left;
  }

  .delivery-month__actions {
    grid-column: 1 / -1;
  }

  .owner-delivery-report .delivery-month__row {
    grid-template-columns: 52px 1fr 16px;
  }

  .owner-delivery-report .delivery-month__chevron {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

/* —— Auth panel (login / reset): campos 44px, sin menú público —— */
.auth-page {
  max-width: 420px;
  margin: 32px auto 48px;
  padding: 0 18px;
}

.auth-page h1 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  line-height: 1.25;
}

.auth-page__lead {
  margin: 0 0 8px;
}

.auth-page__form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.auth-page__label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
}

.auth-page__label .auth-input,
.auth-page__label .auth-password-wrap {
  margin-top: 6px;
}

.auth-input {
  display: block;
  width: 100%;
  min-height: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--saas-text, #111);
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}

.auth-input--password {
  padding-right: 44px;
}

.auth-input:focus-visible {
  outline: 2px solid var(--accent, #c9a15b);
  outline-offset: 1px;
}

.auth-password-wrap {
  position: relative;
}

.auth-password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  padding: 8px;
  line-height: 0;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-page__submit {
  min-height: 44px;
  width: 100%;
}

.auth-page__muted {
  text-align: center;
  margin-top: 14px;
  font-size: 0.88rem;
}

.auth-page__muted a {
  color: #888;
}

.auth-page__error {
  color: #b00020;
  font-size: 0.9rem;
  margin: 0;
}

.auth-page__error-box {
  background: #fee;
  border: 1px solid #fcc;
  border-radius: 8px;
  padding: 12px;
  color: #c00;
  font-size: 0.9rem;
}

.auth-shell-header .saas-brand {
  pointer-events: none;
}

/* .saas-header-row { padding: 14px 0 } anula el padding horizontal de .saas-wrap. */
.auth-shell-header .saas-wrap.saas-header-row {
  padding: 14px 18px;
}

.auth-shell-footer__inner {
  padding: 16px 18px;
  text-align: center;
  color: #888;
  font-size: 0.85rem;
}
