/* O CSS do painel espera a grade em body.dash. Aqui ela fica no wrapper da área logada. */
.dash-frame {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
}

@media (max-width: 860px) {
  .dash-frame {
    grid-template-columns: 1fr;
  }
}

/* Equipe e administração */
.dash-demo--error { background: #fdecec; color: #a3262b; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { padding: 10px 12px; text-align: left; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fafbfd; }
.data-table td small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table .date { white-space: nowrap; color: var(--muted); }
.data-table .cell-url { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #eef1f4; color: var(--muted); font-size: 11.5px; vertical-align: middle; }
.user-chip--admin { background: #eaf1ff; color: #1d4aa8; }
.btn.btn--sm { padding: 6px 12px; min-height: 0; font-size: 13px; }
.f-input.f-input--sm { width: auto; min-width: 140px; padding-top: 7px; padding-bottom: 7px; font-size: 14px; }
.inline-form { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.inline-details { display: inline-block; }
.inline-details summary { list-style: none; cursor: pointer; }
.inline-details summary::-webkit-details-marker { display: none; }
.inline-details[open] > .inline-form { display: flex; margin-top: 8px; }
.row-actions--wrap { flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.team-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.admin-badge { display: inline-block; margin: 0 0 12px 4px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-filters .f-input { width: auto; flex: 1 1 180px; }
.admin-filters input[type="search"] { flex: 3 1 260px; }
.admin-count { margin: 14px 0 6px; font-size: 13px; color: var(--muted); }
.admin-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Voucher no checkout */
.voucher__toggle { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.voucher__row { display: flex; gap: 8px; margin-top: 6px; }
.voucher__row .f-input { flex: 1; text-transform: uppercase; letter-spacing: .04em; }
.voucher__msg { margin-top: 8px; font-size: 14px; color: #a3262b; }
.voucher__msg--unavailable { color: #8a5a00; }
.voucher__ok { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(137,236,176,.22); color: #135c35; font-size: 14px; }
.voucher__ok .link { background: none; border: 0; padding: 0; margin-top: 6px; cursor: pointer; font: inherit; font-size: 13px; }
.voucher__prices { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.voucher__prices s { color: var(--muted); }
.voucher__prices strong { font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.voucher__prices small { color: var(--muted); }
