/* =========================================================
   Control de Ventas — estilos
   ========================================================= */

:root {
  --primary: #4f46e5;
  --primary-600: #4338ca;
  --primary-50: #eef2ff;
  --money: #059669;

  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e5e7eb;
  --text: #0f172a;
  --muted: #64748b;

  --sidebar: #111827;
  --sidebar-text: #cbd5e1;
  --sidebar-active: #1f2937;

  --amber: #b45309;   --amber-bg: #fef3c7;
  --blue: #1d4ed8;    --blue-bg: #dbeafe;
  --green: #047857;   --green-bg: #d1fae5;
  --red: #b91c1c;     --red-bg: #fee2e2;
  --gray: #475569;    --gray-bg: #e2e8f0;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .25);

  --sidebar-w: 248px;
  --topbar-h: 64px;
  --bottomnav-h: 64px;

  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1020;
    --surface: #121a2f;
    --surface-2: #0f172a;
    --border: #23304d;
    --text: #e5e7eb;
    --muted: #94a3b8;
    --primary-50: #1e1b4b;
    --sidebar: #070b16;
    --sidebar-active: #172036;
    --amber-bg: #422006;  --amber: #fbbf24;
    --blue-bg: #172554;   --blue: #93c5fd;
    --green-bg: #052e16;  --green: #6ee7b7;
    --red-bg: #450a0a;    --red: #fca5a5;
    --gray-bg: #1e293b;   --gray: #cbd5e1;
    --money: #34d399;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
h1 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 1.1rem; font-weight: 650; }
h3 { font-size: 1rem; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.money { color: var(--money); font-weight: 650; font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }

/* ---------- Boot / spinner ---------- */
.boot { min-height: 100vh; display: grid; place-items: center; }
.spinner {
  width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid var(--border); border-top-color: var(--primary);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: .65rem 1.1rem; font: inherit; font-weight: 600; font-size: .92rem;
  cursor: pointer; transition: background .15s, box-shadow .15s, transform .05s;
  background: var(--surface); color: var(--text); border-color: var(--border);
  text-decoration: none !important; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 6px 16px rgba(79, 70, 229, .25); }
.btn-primary:hover { background: var(--primary-600); }
.btn-success { background: #059669; color: #fff; border-color: #059669; }
.btn-success:hover { background: #047857; }
.btn-danger { background: var(--surface); color: var(--red); border-color: var(--red-bg); }
.btn-danger:hover { background: var(--red-bg); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: .4rem .75rem; font-size: .82rem; }
.btn-block { width: 100%; }
.btn .ico { font-size: 1.05em; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .88rem; }
.field .hint { color: var(--muted); font-size: .8rem; }
.input, select.input, textarea.input {
  width: 100%; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: .7rem .85rem; transition: border-color .15s, box-shadow .15s;
}
textarea.input { min-height: 90px; resize: vertical; }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, .18); }
.input-money { position: relative; }
.input-money span { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.input-money .input { padding-left: 2rem; font-size: 1.25rem; font-weight: 700; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }

/* Selector tipo "pills" (radio) */
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills label {
  border: 1px solid var(--border); background: var(--surface); border-radius: 999px;
  padding: .5rem .95rem; font-weight: 550; font-size: .88rem; cursor: pointer; user-select: none;
}
.pills input:checked + label { background: var(--primary-50); border-color: var(--primary); color: var(--primary); }
.pills input:focus-visible + label { box-shadow: 0 0 0 3px rgba(79, 70, 229, .25); }

.file-drop {
  display: flex; align-items: center; gap: .75rem; padding: .9rem;
  border: 1.5px dashed var(--border); border-radius: var(--radius-sm); background: var(--surface-2); cursor: pointer;
}
.file-drop:hover { border-color: var(--primary); }
.file-drop input { display: none; }
.file-drop .ico { font-size: 1.5rem; }

/* ---------- Auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-hero {
  background: radial-gradient(1200px 600px at -10% -10%, #818cf8 0%, transparent 60%),
              linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #db2777 100%);
  color: #fff; padding: 3rem; display: flex; flex-direction: column; justify-content: space-between;
}
.auth-hero .brand { font-size: 1.2rem; font-weight: 700; display: flex; gap: .6rem; align-items: center; }
.auth-hero h1 { font-size: 2.4rem; margin: 2rem 0 1rem; max-width: 14ch; }
.auth-hero ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.auth-hero li { display: flex; gap: .75rem; align-items: flex-start; opacity: .95; }
.auth-hero li span:first-child { background: rgba(255, 255, 255, .18); border-radius: 10px; width: 36px; height: 36px; display: grid; place-items: center; flex: none; }
.auth-main { display: grid; place-items: center; padding: 2rem 1.25rem; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h2 { font-size: 1.6rem; margin-bottom: .35rem; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 4px; margin: 1.5rem 0; }
.tabs a { text-align: center; padding: .55rem; border-radius: 9px; font-weight: 600; color: var(--muted); text-decoration: none; }
.tabs a.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-hero { padding: 1.75rem 1.25rem 2.25rem; }
  .auth-hero h1 { font-size: 1.6rem; margin: 1rem 0 .25rem; }
  .auth-hero ul, .auth-hero .foot { display: none; }
  .auth-main { align-items: start; margin-top: -1.25rem; }
  .auth-card { background: var(--surface); border-radius: 18px; padding: 1.5rem 1.25rem; box-shadow: var(--shadow); }
}

/* ---------- App shell ---------- */
.shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar-w) 1fr; }
.sidebar {
  background: var(--sidebar); color: var(--sidebar-text);
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 1.25rem .9rem;
}
.sidebar .brand { color: #fff; font-weight: 700; font-size: 1.05rem; display: flex; gap: .6rem; align-items: center; padding: .25rem .6rem 1.5rem; }
.brand-logo { width: 36px; height: 36px; border-radius: 10px; flex: none; display: block; box-shadow: 0 4px 12px rgba(124, 58, 237, .35); }
.brand-name { line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.auth-hero .brand-logo { width: 44px; height: 44px; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
.topbar .mobile-brand { min-width: 0; }
.topbar .mobile-brand .brand-name { font-size: .95rem; }
.nav { display: flex; flex-direction: column; gap: .2rem; }
.nav-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #64748b; padding: 1rem .75rem .4rem; }
.nav a {
  display: flex; align-items: center; gap: .75rem; padding: .62rem .75rem; border-radius: 10px;
  color: var(--sidebar-text); text-decoration: none; font-weight: 550;
}
.nav a:hover { background: var(--sidebar-active); color: #fff; }
.nav a.active { background: var(--sidebar-active); color: #fff; box-shadow: inset 3px 0 0 #818cf8; }
.nav a .ico { width: 1.4rem; text-align: center; }
.nav a .count { margin-left: auto; background: #ef4444; color: #fff; border-radius: 999px; font-size: .72rem; padding: 0 .45rem; font-weight: 700; }
.sidebar .user { margin-top: auto; border-top: 1px solid #1f2937; padding-top: 1rem; display: flex; align-items: center; gap: .7rem; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #6366f1, #22c55e); flex: none; }
.sidebar .user .who { min-width: 0; }
.sidebar .user .who b { display: block; color: #fff; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar .user .who span { font-size: .78rem; color: #94a3b8; }
.sidebar .user .btn { margin-left: auto; color: #94a3b8; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: var(--topbar-h); display: flex; align-items: center; gap: 1rem; padding: 0 2rem;
  background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--border);
}
.topbar .title { font-weight: 700; font-size: 1.05rem; }
.topbar .actions { margin-left: auto; display: flex; gap: .5rem; align-items: center; }
.topbar .mobile-brand { display: none; }
.content { padding: 1.75rem 2rem 3rem; max-width: 1240px; width: 100%; }

.bottomnav { display: none; }

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .topbar { padding: 0 1rem; padding-top: env(safe-area-inset-top); height: calc(var(--topbar-h) + env(safe-area-inset-top)); }
  .topbar .mobile-brand { display: flex; }
  .topbar .title { display: none; }
  .content { padding: 1rem 1rem calc(var(--bottomnav-h) + 2rem + env(safe-area-inset-bottom)); }
  .bottomnav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 30;
    background: var(--surface); border-top: 1px solid var(--border);
    height: calc(var(--bottomnav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  }
  .bottomnav a {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    color: var(--muted); font-size: .7rem; font-weight: 600; text-decoration: none; position: relative;
  }
  .bottomnav a .ico { font-size: 1.25rem; line-height: 1; }
  .bottomnav a.active { color: var(--primary); }
  .bottomnav a .count { position: absolute; top: 6px; left: 55%; background: #ef4444; color: #fff; border-radius: 999px; font-size: .65rem; padding: 0 .35rem; font-weight: 700; }
  .bottomnav a.fab .ico {
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem;
    background: var(--primary); color: #fff; margin-top: -26px; box-shadow: 0 8px 20px rgba(79, 70, 229, .4); border: 4px solid var(--bg);
  }
}

/* ---------- Page header ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.page-head p { color: var(--muted); margin-top: .25rem; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 1.25rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.card-body { padding: 1.25rem; }
.stack { display: grid; gap: 1.25rem; }
.cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.25rem; }
@media (max-width: 1050px) { .cols { grid-template-columns: 1fr; } }
.narrow { max-width: 720px; }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .kpis { gap: .65rem; } }
.kpi { padding: 1.1rem 1.2rem; position: relative; overflow: hidden; }
.kpi .label { color: var(--muted); font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.kpi .value { font-size: 1.6rem; font-weight: 750; margin-top: .35rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi .sub { color: var(--muted); font-size: .78rem; margin-top: .15rem; }
.kpi .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: .95rem; }
.kpi.c-indigo .ico { background: var(--primary-50); }
.kpi.c-green .ico { background: var(--green-bg); }
.kpi.c-amber .ico { background: var(--amber-bg); }
.kpi.c-blue .ico { background: var(--blue-bg); }
@media (max-width: 600px) {
  .kpi { padding: .9rem; }
  .kpi .value { font-size: 1.25rem; }
}

/* Banners */
.banner { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.25rem; border: 1px solid; flex-wrap: wrap; }
.banner .ico { font-size: 1.4rem; }
.banner .txt { flex: 1; min-width: 200px; }
.banner.warn { background: var(--amber-bg); border-color: color-mix(in srgb, var(--amber) 25%, transparent); color: var(--amber); }
.banner.info { background: var(--blue-bg); border-color: color-mix(in srgb, var(--blue) 25%, transparent); color: var(--blue); }
.banner b { display: block; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .6rem; border-radius: 999px; font-size: .76rem; font-weight: 650; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-pendiente { background: var(--amber-bg); color: var(--amber); }
.b-verificada, .b-activo { background: var(--blue-bg); color: var(--blue); }
.b-pagada { background: var(--green-bg); color: var(--green); }
.b-rechazada, .b-bloqueado { background: var(--red-bg); color: var(--red); }
.b-admin { background: var(--primary-50); color: var(--primary); }
.b-vendedor { background: var(--gray-bg); color: var(--gray); }

/* Chips / filtros */
.toolbar { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.chips { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; max-width: 100%; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  border: 1px solid var(--border); background: var(--surface); color: var(--muted); border-radius: 999px;
  padding: .4rem .85rem; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.chip.active { background: var(--text); color: var(--surface); border-color: var(--text); }
.chip .n { opacity: .7; margin-left: .25rem; }
.toolbar .search { flex: 1; min-width: 200px; max-width: 340px; margin-left: auto; }
@media (max-width: 700px) { .toolbar .search { max-width: none; margin-left: 0; } }

/* ---------- Tabla responsive (se convierte en tarjetas en móvil) ---------- */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 650; padding: .75rem 1.25rem; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.table td { padding: .9rem 1.25rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr.click { cursor: pointer; }
.table tbody tr.click:hover { background: var(--surface-2); }
.table .r { text-align: right; }
.cell-main { font-weight: 600; max-width: 340px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell-sub { color: var(--muted); font-size: .8rem; }

@media (max-width: 760px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: .9rem 1rem; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1fr auto; gap: .2rem .75rem; }
  .table tr:last-child { border-bottom: 0; }
  .table td { padding: 0; border: 0; }
  .table td[data-m="hide"] { display: none; }
  .table td[data-m="full"] { grid-column: 1 / -1; }
  .table td[data-m="end"] { text-align: right; }
  .table .r { text-align: right; }
  .cell-main { max-width: 60vw; }
}

/* Listas simples */
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; gap: .9rem; padding: .85rem 1.25rem; border-bottom: 1px solid var(--border); }
.list li:last-child { border-bottom: 0; }
.list li .grow { flex: 1; min-width: 0; }
.list li.click { cursor: pointer; }
.list li.click:hover { background: var(--surface-2); }

.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty .ico { font-size: 2.4rem; margin-bottom: .5rem; }
.empty b { display: block; color: var(--text); margin-bottom: .25rem; }

/* Info en detalle */
.dl { display: grid; grid-template-columns: 150px 1fr; gap: .6rem 1rem; margin: 0; }
.dl dt { color: var(--muted); font-size: .85rem; }
.dl dd { margin: 0; font-weight: 550; word-break: break-word; }
@media (max-width: 520px) { .dl { grid-template-columns: 1fr; gap: .1rem; } .dl dd { margin-bottom: .6rem; } }
.section-title { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin: 1.25rem 0 .6rem; }
.receipt-img { max-width: 100%; max-height: 360px; border-radius: var(--radius-sm); border: 1px solid var(--border); display: block; }
.commission-box { display: flex; justify-content: space-between; align-items: center; padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--green-bg); color: var(--green); font-weight: 600; margin-bottom: 1rem; }
.commission-box b { font-size: 1.25rem; }

/* Vendedores */
.sellers { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.seller-card { padding: 1.1rem; display: flex; flex-direction: column; gap: .8rem; }
.seller-card .top { display: flex; gap: .8rem; align-items: center; }
.seller-card .top .grow { flex: 1; min-width: 0; }
.seller-card .top b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seller-card .stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .5rem; background: var(--surface-2); border-radius: var(--radius-sm); padding: .6rem; text-align: center; }
.seller-card .stats b { display: block; font-size: 1rem; }
.seller-card .stats span { font-size: .72rem; color: var(--muted); }
.seller-card .actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* Pagos agrupados */
.payout-card { padding: 1.1rem 1.25rem; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; }
.payout-card .payout-data { font-size: .88rem; color: var(--muted); margin-top: .35rem; }
.payout-card .total { text-align: right; }
.payout-card .total b { font-size: 1.4rem; display: block; }
@media (max-width: 600px) {
  .payout-card { grid-template-columns: 1fr; }
  .payout-card .total { text-align: left; display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
}

/* ---------- Modal ---------- */
dialog.modal {
  border: 0; padding: 0; border-radius: 18px; width: min(560px, calc(100vw - 2rem));
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); max-height: calc(100vh - 2rem);
}
dialog.modal::backdrop { background: rgba(15, 23, 42, .55); backdrop-filter: blur(2px); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.modal-body { padding: 1.25rem; }
.modal-foot { display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; padding: 1rem 1.25rem; border-top: 1px solid var(--border); position: sticky; bottom: 0; background: var(--surface); }
@media (max-width: 600px) {
  dialog.modal { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 18px 18px 0 0; max-height: 92vh; }
  .modal-foot { padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
  .modal-foot .btn { flex: 1; }
}

/* ---------- Toasts ---------- */
#toasts { position: fixed; top: 1rem; right: 1rem; z-index: 1000; display: grid; gap: .5rem; max-width: calc(100vw - 2rem); }
.toast {
  background: var(--text); color: var(--surface); padding: .8rem 1rem; border-radius: 12px; box-shadow: var(--shadow-lg);
  font-weight: 550; font-size: .9rem; animation: toast-in .2s ease-out; max-width: 380px;
}
.toast.ok { background: #065f46; color: #fff; }
.toast.err { background: #991b1b; color: #fff; }
@keyframes toast-in { from { transform: translateY(-8px); opacity: 0; } }
@media (max-width: 600px) { #toasts { left: 1rem; right: 1rem; } .toast { max-width: none; } }

.row { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.mt { margin-top: 1rem; }
.load-more { display: flex; justify-content: center; padding: 1rem; }

.mobile-only { display: none; }
@media (max-width: 760px) { .mobile-only { display: inline; } }
@media (max-width: 900px) { .desktop-only { display: none !important; } }
