/* =========================
   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--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;
}

.dashboard-owner-nav__count {
  color: var(--saas-muted, #666);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.1;
  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;
  }

  .saas-header--dashboard .dashboard-owner-nav__count {
    font-size: 0.68rem;
    font-weight: 600;
    color: inherit;
  }

  /* 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-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;
  }
}

.dashboard-account-page {
  padding: 24px 0;
  max-width: 520px;
}

.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__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 {
  min-height: 44px;
  padding: 10px 18px;
}

.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 0;
  }

  .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 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 — parejas de campos y ancho en móvil */
.workshop-form fieldset {
  min-width: 0;
}
.workshop-form input:not([type="checkbox"]):not([type="radio"]),
.workshop-form select,
.workshop-form textarea {
  box-sizing: border-box;
  max-width: 100%;
}
.workshop-form .workshop-date-pair,
.workshop-form .workshop-field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 639.98px) {
  .workshop-form .workshop-date-pair,
  .workshop-form .workshop-field-pair {
    grid-template-columns: minmax(0, 1fr);
  }
  .workshop-form .workshop-date-pair input[type="datetime-local"],
  .workshop-form textarea {
    width: 100%;
  }
}

/* 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;
  }
}
