:root {
  --bg: #f4f2ea;
  --ink: #1a1d29;
  --panel: #fffdf8;
  --line: #d7d1bf;
  --accent: #0d9488;
  --accent-2: #f97316;
  --muted: #5f6371;
  --good: #137a41;
  --bad: #9f1239;
  --shadow: 0 12px 42px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 10% 10%, #fffaf0, #f4f2ea 45%),
    radial-gradient(circle at 90% 90%, #e6f7f5, transparent 35%),
    var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.3;
  z-index: -1;
}

.orb-a {
  top: -220px;
  left: -120px;
  background: #34d399;
}

.orb-b {
  right: -180px;
  bottom: -260px;
  background: #f59e0b;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  backdrop-filter: blur(14px);
  background: rgba(255, 253, 248, 0.72);
  border-bottom: 1px solid rgba(215, 209, 191, 0.75);
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand i {
  color: var(--accent);
  font-size: 1.3rem;
}

nav {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 160ms ease;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

nav a i {
  font-size: 1rem;
}

nav a:hover {
  border-color: var(--line);
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.5);
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #0f766e);
  color: white;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.user-badge i {
  font-size: 1.1rem;
}

.page {
  width: min(1120px, 95vw);
  margin: 1.5rem auto 2rem;
  display: grid;
  gap: 1rem;
}

.page:has(.auctions-page) {
  width: min(1600px, 98vw);
}

.panel {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 240, 0.96));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
}

body.sales-export-pending .sales-edit-panel {
  display: none;
}

.hero h1 {
  margin: 0.2rem 0 0.5rem;
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
}

.hero-text {
  max-width: 70ch;
  color: var(--muted);
}

.kicker {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.card-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.module-card {
  display: grid;
  gap: 0.9rem;
  transition: all 240ms ease;
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 240ms ease;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.15);
}

.module-card:hover::before {
  opacity: 1;
}

.module-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.module-head h2 {
  margin: 0;
  font-size: 1.12rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.module-head h2 i {
  color: var(--accent);
  font-size: 1.3rem;
}

.badge {
  font-size: 0.76rem;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
}

.form-panel {
  display: grid;
  gap: 1rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 0.9rem;
}

.field-grid.single-column {
  grid-template-columns: 1fr;
}

label {
  display: grid;
  gap: 0.42rem;
  font-size: 0.9rem;
}

label span {
  color: var(--muted);
  font-size: 0.86rem;
}

.span-2 {
  grid-column: span 2;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.62rem 0.7rem;
  font: inherit;
  color: var(--ink);
}

textarea {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
}

.toggle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.7rem;
}

.toggle {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
}

.toggle input {
  width: 1rem;
  height: 1rem;
}

.toggle span {
  margin: 0;
  color: var(--ink);
}

.align-end {
  align-content: end;
}

.rarity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.rarity-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.68rem;
  background: #fff;
  cursor: pointer;
  transition: 160ms ease;
}

.rarity-chip input {
  width: 0.95rem;
  height: 0.95rem;
}

.rarity-chip span {
  color: var(--ink);
  font-size: 0.84rem;
}

.rarity-limited {
  background: #fef9c3;
  border-color: #facc15;
}

.rarity-rare {
  background: #fee2e2;
  border-color: #ef4444;
}

.rarity-super {
  background: #dbeafe;
  border-color: #2563eb;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  padding: 0.6rem 1rem;
  color: var(--ink);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  transition: 170ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-accent {
  background: linear-gradient(90deg, var(--accent), #0f766e);
  border-color: transparent;
  color: #fff;
}

.btn-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.flash-list {
  display: grid;
  gap: 0.45rem;
}

.flash {
  border-radius: 12px;
  padding: 0.56rem 0.72rem;
  border: 1px solid var(--line);
  background: #fff;
}

.flash-success {
  border-color: #bbf7d0;
  color: var(--good);
}

.flash-error {
  border-color: #fecdd3;
  color: var(--bad);
}

.errors {
  color: var(--bad);
  font-size: 0.9rem;
}

.log-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.8rem;
}

.table-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 940px;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid #ebe6d8;
  padding: 0.5rem 0.55rem;
  text-align: left;
  font-size: 0.82rem;
  vertical-align: top;
}

.data-table th {
  position: sticky;
  top: 0;
  background: #f8f5eb;
  z-index: 1;
  font-weight: 700;
}

.price-head-actions {
  display: grid;
  gap: 0.3rem;
}

.btn-compact {
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
  line-height: 1.1;
}

.compact-table .data-table {
  min-width: 720px;
}

.data-table td pre {
  max-height: 140px;
}

.inline-bid-form {
  width: 116px;
  min-width: 116px;
}

.refresh-hint {
  align-self: center;
  color: var(--muted);
}

.market-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.market-toolbar-main,
.market-tags,
.market-refresh-form {
  display: flex;
  align-items: center;
}

.market-toolbar-main { gap: 1.5rem; }
.market-toolbar h2 { margin: 0; }
.market-toolbar-eyebrow { margin: 0 0 .18rem; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.market-tags { gap: .45rem; }
.market-tags span { display: inline-flex; align-items: center; gap: .35rem; padding: .42rem .68rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .78rem; font-weight: 600; }
.market-tags .fa-gem { color: #dc2626; }
.market-refresh-form { justify-content: flex-end; gap: .75rem; }
.market-sync-status { display: grid; gap: .2rem; color: var(--muted); }
.market-sync-status small { display: flex; align-items: center; gap: .35rem; white-space: nowrap; }
.market-sync-status i { width: .9rem; color: var(--accent); text-align: center; }
.market-sync-status strong { color: var(--ink); font-weight: 600; }

.auction-filters {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(120px, 1fr)) auto auto auto;
  gap: 0.65rem;
  align-items: end;
  margin-bottom: 0.9rem;
}

.favorite-filter-control {
  display: flex;
  align-items: center;
  height: 42px;
  gap: .4rem;
  white-space: nowrap;
}

.auction-filters > label > input:not([type="checkbox"]),
.auction-filters > label > select,
.filter-actions .btn {
  box-sizing: border-box;
  height: 42px;
}

.favorite-filter-control input { width: 1rem; height: 1rem; margin: 0; }
.favorite-filter-control small { color: var(--muted); }

.filter-actions {
  display: flex;
  gap: 0.35rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.pagination-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}

.pagination-icon:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.pagination-icon.is-disabled { border-color: var(--line); color: #c5c1b6; }

.sortable-heading,
.sort-buttons,
.page-jump {
  display: inline-flex;
  align-items: center;
}

.sortable-heading {
  gap: 0.45rem;
}

.sort-buttons {
  gap: 0.15rem;
}

.sort-button {
  color: var(--muted);
  padding: 0.15rem;
  line-height: 1;
}

.sort-button:hover,
.sort-button.is-active {
  color: var(--accent);
}

.page-jump {
  gap: 0.4rem;
}

.page-jump input[type="number"] {
  width: 4.5rem;
  padding: 0.4rem 0.5rem;
  -moz-appearance: textfield;
  appearance: textfield;
}

.page-jump input[type="number"]::-webkit-inner-spin-button,
.page-jump input[type="number"]::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }

.auction-main-row {
  cursor: pointer;
  transition: background 140ms ease;
}

.auction-identity {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.favorite-toggle {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #b8b5aa;
  padding: .25rem;
  cursor: pointer;
  font-size: .92rem;
  line-height: 1;
  transition: color 140ms ease, transform 140ms ease;
}

.favorite-toggle:hover { color: #d4a514; transform: scale(1.12); }
.favorite-toggle.is-favorite { color: #eab308; }
.favorite-toggle:disabled { opacity: .5; cursor: wait; }
.empty-auctions { padding: 2rem !important; text-align: center !important; color: var(--muted); }

.player-thumb,
.team-badge {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  object-fit: contain;
}

.player-thumb {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef2f1;
}

.team-badge {
  width: 25px;
  height: 25px;
}

.image-fallback {
  color: var(--muted);
  background: #eef2f1;
  font-size: 0.75rem;
}

.team-badge.image-fallback {
  border-radius: 7px;
}

.auction-main-row:hover {
  background: #f0fdfa;
}

.auction-main-row.is-winning {
  background: #ecfdf5;
  box-shadow: inset 4px 0 0 var(--good);
}

.auction-main-row.is-outbid {
  background: #fff7ed;
  box-shadow: inset 4px 0 0 #f97316;
}

.winning-badge {
  display: block;
  width: max-content;
  margin-top: 0.25rem;
  padding: 0.18rem 0.4rem;
  border-radius: 999px;
  background: var(--good);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
}

.outbid-badge {
  display: block;
  width: max-content;
  margin-top: 0.25rem;
  padding: 0.18rem 0.4rem;
  border-radius: 999px;
  background: #f97316;
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .auction-filters { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
  .market-toolbar { align-items: flex-start; flex-direction: column; }
  .market-refresh-form { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .market-toolbar-main, .market-refresh-form { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .market-tags { flex-wrap: wrap; }
}

.inline-bid-amount {
  display: flex;
  gap: 0.35rem;
}

.inline-bid-amount input {
  box-sizing: border-box;
  width: 82px;
  min-width: 0;
  padding: 0.4rem;
  -webkit-appearance: none;
  appearance: none;
}

.single-bid-review {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  cursor: pointer;
}

.single-bid-review:hover { background: var(--accent); color: #fff; }

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  white-space: nowrap;
}

.inline-check input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.batch-bid-bar,
.bid-modal-actions {
  display: flex;
  align-items: center;
}

.batch-bid-bar {
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1rem;
}

.bid-modal[hidden] { display: none; }
.bid-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1rem; }
.bid-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .65); }
.bid-modal-card { position: relative; width: min(620px, 100%); max-height: 85vh; overflow: auto; background: var(--panel); border-radius: 16px; padding: 1.4rem; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.bid-modal-close { position: absolute; top: .6rem; right: .8rem; border: 0; background: transparent; font-size: 1.8rem; cursor: pointer; }
.bid-review-list { display: grid; gap: .5rem; margin: 1rem 0; }
.bid-review-item { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: .8rem; padding: .7rem; border: 1px solid var(--line); border-radius: 10px; }
.bid-review-item small { color: var(--muted); }
.bid-review-visuals { position: relative; display: block; width: 46px; height: 40px; }
.bid-review-player, .bid-review-team { display: grid; place-items: center; overflow: hidden; background: #eef2f1; color: var(--muted); }
.bid-review-player { width: 38px; height: 38px; border-radius: 50%; }
.bid-review-team { position: absolute; right: 0; bottom: -1px; width: 21px; height: 21px; border: 2px solid var(--panel); border-radius: 6px; }
.bid-review-player img, .bid-review-team img { width: 100%; height: 100%; object-fit: contain; }
.bid-review-price { color: var(--accent); font-weight: 700; font-family: 'IBM Plex Mono', monospace; }
.review-credit { display: inline-flex; grid-template-columns: none; align-items: center; gap: .4rem; white-space: nowrap; }
.review-credit input { width: 1rem; height: 1rem; margin: 0; }
.review-credit span { color: var(--muted); font-size: .75rem; }
.bid-modal-actions { justify-content: flex-end; gap: .6rem; }
.modal-open { overflow: hidden; }
.bid-modal.is-submitting .bid-modal-card { cursor: wait; }
.bid-submit-progress { display: grid; grid-template-columns: auto 1fr; column-gap: .65rem; align-items: center; margin-top: 1rem; padding: .8rem; border-radius: 10px; background: #eef8f6; color: var(--ink); }
.bid-submit-progress[hidden] { display: none; }
.bid-submit-progress small { grid-column: 2; color: var(--muted); }
.bid-spinner { grid-row: 1 / 3; width: 22px; height: 22px; border: 3px solid #b7ddd7; border-top-color: var(--accent); border-radius: 50%; animation: bid-spin .75s linear infinite; }
@keyframes bid-spin { to { transform: rotate(360deg); } }

@media (max-width: 700px) {
  .batch-bid-bar { align-items: stretch; flex-direction: column; }
  .bid-review-item { grid-template-columns: auto 1fr auto; }
  .bid-review-item small { grid-column: 2 / -1; }
  .bid-modal-actions { align-items: stretch; flex-direction: column-reverse; }
}

.history-row td {
  background: #f8faf8;
  padding: 0.8rem;
}

.history-sales {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem;
}

.history-sale {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.15rem 0.45rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.history-sale i {
  grid-row: span 3;
  color: var(--accent);
}

.history-sale span,
.history-sale small {
  color: var(--muted);
  font-size: 0.72rem;
}

.history-instant i { color: var(--accent-2); }
.history-trade i { color: #6366f1; }

.auction-warning {
  margin: 1rem 0 0;
  padding: 0.7rem;
  color: var(--bad);
  background: #fff1f2;
  border-radius: 10px;
  font-size: 0.82rem;
}

.in-season-row {
  background: #ecfdf5;
}

.confirm-card {
  display: grid;
  gap: 0.9rem;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #fffef9, #f6fbfa);
  padding: 1rem;
}

.confirm-card-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
}

.confirm-card-kicker {
  margin: 0 0 0.15rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.confirm-card h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.3rem;
}

.confirm-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.confirm-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.confirm-chip-good {
  border-color: #86efac;
  color: var(--good);
  background: #f0fdf4;
}

.confirm-stat-grid,
.confirm-price-grid,
.confirm-rays-row {
  display: grid;
  gap: 0.7rem;
}

.confirm-stat-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.confirm-stat,
.confirm-price-box,
.confirm-rays-card {
  display: grid;
  gap: 0.18rem;
  padding: 0.75rem 0.8rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #ece5d5;
}

.confirm-stat span,
.confirm-price-box span,
.confirm-rays-card span {
  color: var(--muted);
  font-size: 0.78rem;
}

.confirm-stat strong,
.confirm-price-box strong,
.confirm-rays-card strong {
  font-size: 1rem;
}

.confirm-rays-row {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.confirm-rays-card-accent {
  background: linear-gradient(135deg, #ecfeff, #f0fdfa);
  border-color: #99f6e4;
}

.confirm-price-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.confirm-price-box-sale {
  background: linear-gradient(135deg, #0f766e, #115e59);
  border-color: transparent;
}

.confirm-price-box-sale span,
.confirm-price-box-sale strong {
  color: #fff;
}

.processing-indicator {
  display: none;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  background: #ffffff;
}

.processing-indicator.is-visible {
  display: flex;
}

.processing-indicator p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.processing-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4);
  animation: pulse 1.3s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.45);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 12px rgba(13, 148, 136, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0);
  }
}

pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 300px;
  overflow: auto;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfcfb;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  animation: rise 420ms ease forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 780px) {
  .field-grid {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .user-badge {
    align-self: flex-end;
  }

  .table-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .confirm-card-head {
    flex-direction: column;
  }

  .confirm-chip-row {
    justify-content: flex-start;
  }
}
