/* Visual baseline taken from nutcracker_redian/apps/admin/src/styles.css */
:root {
  --canvas: #f7f8fa;
  --surface: #fff;
  --surface-subtle: #f8fafc;
  --soft: #f1f4f7;
  --ink: #101f36;
  --body: #526078;
  --muted: #6b778b;
  --quiet: #788497;
  --disabled: #b7bdc6;
  --placeholder: #a1a8b3;
  --accent: #ef171f;
  --accent-hover: #cf111a;
  --accent-soft: #fff2f1;
  --accent-border: #efb7bb;
  --line: #dce2e9;
  --line-soft: #e8ecf1;
  --success: #238a5a; --success-soft: #ebf7f0;
  --warning: #a8660b; --warning-soft: #fff6e8; --warning-border: #efd1a2;
  --danger: #d42f40; --danger-soft: #fff0f1;
  --info: #3f67c8; --info-soft: #eef3ff;
  --radius-card: 10px;
  --radius-control: 10px;
  --shadow-card: 0 1px 2px rgb(16 31 54 / 3%);
  --shadow-popover: 0 12px 32px rgb(19 34 56 / 14%), 0 2px 8px rgb(19 34 56 / 6%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--canvas); }
button, input, select { font: inherit; color: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- top bar ---------- */
.topbar { height: 80px; padding: 0 28px; display: flex; align-items: center; gap: 36px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.brand { font-size: 28px; font-weight: 820; letter-spacing: -.035em; color: var(--ink); white-space: nowrap; }
.nav { display: flex; align-self: stretch; gap: 10px; }
.nav a { display: flex; align-items: center; padding: 0 12px; font-size: 16px; font-weight: 560; color: var(--body); }
.nav a.active { font-weight: 720; color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
.topbar .spacer { flex: 1; }

/* ---------- buttons ---------- */
.btn { min-height: 40px; padding: 7px 16px; border: 1px solid #ddd7d1; border-radius: var(--radius-control); background: #fff; font-size: 14px; font-weight: 650; box-shadow: var(--shadow-card); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.btn:hover { background: var(--accent-soft); border-color: #f0a7ad; color: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn.primary { border-color: var(--accent); background: var(--accent); color: #fff; font-weight: 700; padding: 8px 18px; box-shadow: 0 5px 14px rgb(230 2 18 / 16%); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn.danger { border-color: var(--accent-border); color: var(--danger); box-shadow: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- layout ---------- */
.page { padding: 32px 34px 48px; max-width: 1560px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.two-col.wide-rail { grid-template-columns: minmax(0, 1fr) 390px; gap: 18px; }
.stack { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.kicker { font-size: 16px; font-weight: 650; color: #344054; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.h1 { margin: 0; font-size: clamp(30px, 3vw, 43px); font-weight: 800; line-height: 1.18; letter-spacing: -.035em; text-wrap: pretty; }
.h1.small { font-size: 32px; }
.sub { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 780px; }
.title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.title-row .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- card ---------- */
.card { border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-card); min-width: 0; }
.card-head { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 18px 14px; border-bottom: 1px solid var(--line-soft); }
.card-head h2 { margin: 0; font-size: 17px; font-weight: 650; }
.card-head .meta { font-size: 12px; color: var(--muted); }
.card-body { padding: 16px 18px 18px; }
.label { font-size: 12px; font-weight: 650; color: var(--muted); }

/* ---------- pills ---------- */
.pill { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; background: var(--soft); color: var(--body); font-size: 11px; font-weight: 650; line-height: 1.5; white-space: nowrap; }
.pill.success { background: var(--success-soft); color: var(--success); }
.pill.warning { background: var(--warning-soft); color: var(--warning); }
.pill.danger { background: var(--danger-soft); color: var(--danger); }
.pill.info { background: var(--info-soft); color: var(--info); }
.pill.accent { background: var(--accent-soft); color: var(--accent-hover); }
.pill.outline { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.pill.lg { font-size: 13px; padding: 2px 10px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; padding: 4px 11px; border-radius: 999px; background: var(--soft); color: var(--body); font-size: 12px; font-weight: 650; }

/* ---------- upload ---------- */
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 300px; padding: 40px; border: 1.5px dashed #cfd6df; border-radius: var(--radius-card); background: var(--surface-subtle); cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: #e78088; background: #fffafa; }
.drop:focus-within { border-color: #e78088; box-shadow: 0 0 0 3px rgb(230 2 18 / 10%); }
.drop .icon { width: 56px; height: 56px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.drop .big { font-size: 19px; font-weight: 650; }
.drop .small { font-size: 13px; color: var(--muted); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.select { height: 48px; padding: 0 14px; border: 1px solid #d5dce5; border-radius: 9px; background: #fff; font-size: 14px; font-weight: 500; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b778b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer; }
.select:focus { outline: none; border-color: #e78088; box-shadow: 0 0 0 3px rgb(230 2 18 / 10%); }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-left: 3px solid var(--info); border-radius: 0 10px 10px 0; background: var(--info-soft); font-size: 13px; line-height: 1.6; color: var(--body); }
.note svg { flex-shrink: 0; margin-top: 1px; }
.banner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--warning-border); border-radius: 10px; background: var(--warning-soft); font-size: 13px; line-height: 1.6; color: #7a4a08; }
.banner.error { border-color: #f3c2c7; background: var(--danger-soft); color: #9b1f2c; }
.banner .grow { flex: 1; }

/* ---------- stepper ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-right: 1px solid var(--line-soft); }
.step:last-child { border-right: 0; }
.step .dot { width: 36px; height: 36px; border-radius: 999px; border: 1px solid #d9d4cf; background: var(--surface-subtle); color: var(--body); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step .name { font-size: 15px; font-weight: 650; }
.step .desc { font-size: 12px; line-height: 1.5; color: var(--muted); }
.step.active { box-shadow: inset 0 -4px 0 var(--accent); }
.step.active .dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.step.active .name { color: var(--accent); }
.step.done .dot { background: var(--success-soft); border-color: var(--success-soft); color: var(--success); }
.step.failed .dot { background: var(--danger-soft); border-color: var(--danger-soft); color: var(--danger); }

/* ---------- list rows ---------- */
.rows { display: flex; flex-direction: column; }
.row-link { display: flex; flex-direction: column; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); color: inherit; }
.row-link:last-child { border-bottom: 0; }
.row-link:hover { background: var(--surface-subtle); color: inherit; }
.row-link .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.row-link .name { font-size: 15px; font-weight: 650; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-link .sub2 { font-size: 12px; color: var(--muted); }
.empty { padding: 36px 18px; text-align: center; font-size: 13px; color: var(--muted); }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.kv:last-child { border-bottom: 0; }
.kv span:first-child { color: var(--muted); }
.kv span:last-child { font-weight: 650; text-align: right; }

/* ---------- metric strips ---------- */
.strip { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.strip > div { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-right: 1px solid var(--line-soft); min-width: 0; }
.strip > div:last-child { border-right: 0; }
.strip .v { font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.strip .v.big { font-size: 26px; line-height: 1.1; }
.strip .v small { font-size: 13px; font-weight: 500; color: var(--muted); }
.border-b { border-bottom: 1px solid var(--line-soft); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split > div { padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.split > div:first-child { border-right: 1px solid var(--line-soft); }
.meter { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 3px; }
.meter i { height: 7px; border-radius: 2px; background: #e8e9e8; }
.meter i.on { background: var(--accent); }

/* ---------- transcript ---------- */
.seg { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); }
.seg .t { font-size: 12px; font-weight: 650; color: var(--quiet); padding-top: 2px; }
.seg .x { font-size: 14px; line-height: 1.65; color: var(--body); white-space: pre-wrap; overflow-wrap: anywhere; }
.seg.live { background: #fff9f5; box-shadow: inset 3px 0 0 var(--accent); }
.seg.live .t { color: var(--accent); }
.seg.pending .x { color: var(--disabled); }
.seg.q { background: #fff9f5; box-shadow: inset 3px 0 0 var(--accent); }
.seg mark { background: #ffe8a8; color: inherit; border-radius: 2px; }
.scroll { overflow-y: auto; }
.tabs { display: flex; gap: 20px; height: 64px; padding: 0 18px; border-bottom: 1px solid var(--line-soft); }
.tabs button { border: 0; background: none; padding: 0; font-size: 15px; font-weight: 560; color: var(--body); cursor: pointer; }
.tabs button.on { font-weight: 720; color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
.search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid #d5dce5; border-radius: 9px; background: #fff; }
.search:focus-within { border-color: #e78088; box-shadow: 0 0 0 3px rgb(230 2 18 / 10%); }
.search input { flex: 1; border: 0; outline: none; font-size: 14px; background: transparent; }
.rail { position: sticky; top: 98px; max-height: calc(100vh - 116px); display: flex; flex-direction: column; }
.rail .scroll { flex: 1; min-height: 0; }

/* ---------- report bits ---------- */
.prose { margin: 0; font-size: 15px; line-height: 1.75; text-wrap: pretty; }
.outline { display: flex; flex-direction: column; }
.outline div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.outline div:last-child { border-bottom: 0; }
.outline b { font-size: 14px; font-weight: 650; display: block; }
.outline p { margin: 2px 0 0; font-size: 13px; line-height: 1.6; color: var(--body); }
.ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.6; }
.ts { font-size: 12px; font-weight: 650; color: var(--quiet); }
.chart { width: 100%; height: auto; display: block; }
.chart text { font-family: Inter, "PingFang SC", sans-serif; }
.legend { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.legend i { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); display: inline-block; }
.examples { font-size: 12px; color: var(--muted); line-height: 1.5; }
table.list { width: 100%; border-collapse: collapse; font-size: 14px; }
table.list th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fff; }
table.list td { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.list tr:hover td { background: var(--surface-subtle); cursor: pointer; }
.table-wrap { overflow-x: auto; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 13px; z-index: 50; }

@media (max-width: 1120px) {
  .two-col, .two-col.wide-rail { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; max-height: 640px; }
}
@media (max-width: 760px) {
  .topbar { padding: 0 16px; gap: 16px; height: 64px; }
  .brand { font-size: 20px; }
  .nav a { font-size: 14px; padding: 0 6px; }
  .page { padding: 20px 16px 40px; }
  .steps, .split, .options { grid-template-columns: minmax(0, 1fr); }
  .step { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .split > div:first-child { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip > div { border-bottom: 1px solid var(--line-soft); }
}
.strip .pill { align-self: flex-start; }
.strip > div .chips { margin-top: 2px; }
table.list td a { font-weight: 650; }

/* ================= 2026-09-24 polish: loading, transitions, rail, upload layout ================= */

/* page transition: only on route change, not on polling re-renders */
.page.enter { animation: page-in .28s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* loading state (redian style: small status indicator + muted text) */
.loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 36px 18px; font-size: 13px; color: var(--muted); }
.loading.full { min-height: 46vh; font-size: 14px; }
.spin { width: 16px; height: 16px; border-radius: 999px; border: 2px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* processing: pulsing active step, shimmering next meter cell, typing dots on the live row */
.step.active .dot { position: relative; }
.step.active .dot::after { content: ""; position: absolute; inset: -5px; border-radius: 999px; border: 2px solid var(--accent); opacity: 0; animation: ring 1.6s ease-out infinite; }
@keyframes ring { 0% { opacity: .55; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.35); } }
.meter i { transition: background-color .4s ease; }
.meter i.next { background: linear-gradient(90deg, #e8e9e8 0%, #f6a3a6 50%, #e8e9e8 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.seg.live .x::after { content: ""; display: inline-block; width: 18px; text-align: left; animation: dots 1.2s steps(4, end) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
@media (prefers-reduced-motion: reduce) {
  .page.enter, .spin, .step.active .dot::after, .meter i.next, .seg.live .x::after { animation: none; }
}

/* report / processing right rail */
.two-col.wide-rail { grid-template-columns: minmax(0, 1fr) clamp(340px, 26vw, 400px); }
.rail { top: 96px; max-height: calc(100vh - 120px); overflow: hidden; }
.rail .tabs { height: auto; margin: 14px 16px 0; padding: 4px; gap: 4px; border: 0; border-radius: 10px; background: var(--soft); }
.rail .tabs button { flex: 1; height: 36px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--body); box-shadow: none; transition: background .15s, color .15s; }
.rail .tabs button:hover { color: var(--ink); }
.rail .tabs button.on { background: #fff; color: var(--accent); font-weight: 700; box-shadow: 0 1px 2px rgb(16 31 54 / 8%), 0 0 0 1px var(--line); }
.rail .search { height: 38px; }
aside.rail > div:has(> .search) { padding: 12px 16px 10px !important; border-bottom: 1px solid var(--line-soft); }
.rail .scroll { scrollbar-width: thin; scrollbar-color: #cfd6df transparent; }
.rail .seg { grid-template-columns: 50px minmax(0, 1fr); gap: 10px; padding: 11px 16px; transition: background .12s; }
.rail .seg:hover { background: var(--surface-subtle); }
.rail .seg .t { justify-self: start; align-self: start; padding: 1px 7px; border-radius: 6px; background: var(--soft); color: var(--body); font-size: 11.5px; line-height: 1.6; }
.rail .seg .x { font-size: 13.5px; line-height: 1.62; }
aside.rail > div:last-child { padding: 12px 16px 14px !important; background: #fff; }
aside.rail > div:last-child .btn { min-height: 36px; font-size: 13px; }
.card.rail:not(aside) .seg { padding: 12px 18px; }

/* upload page: wider, fuller layout; right column stretches down with the left one */
.page { max-width: 1680px; }

@media (max-width: 1120px) {
  .rail { position: static; max-height: 640px; }
}
@media (max-width: 760px) {
}

/* transcript evidence tags */
.x-wrap { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.x-wrap .x { color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 5px; font-size: 11.5px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.tag.q, .tag.thwart { background: #fde8e9; color: var(--accent-hover); }
.tag.support { background: var(--info-soft); color: var(--info); }
.tag.bloom { background: var(--soft); color: var(--body); }
.tag.fb { background: var(--success-soft); color: var(--success); }
aside.rail .seg.qrow { background: #fff5f4; box-shadow: inset 3px 0 0 var(--accent); }
aside.rail .seg.qrow .t { background: transparent; color: var(--accent); font-weight: 700; padding-left: 0; }

/* charts render near 1:1; never let one balloon */
.chart { max-height: 340px; }
.split > div, .card > div[style*="padding:18px"] { min-width: 0; }

/* upload page: right column hugs its content and stays in view (no stretched empty card) */

/* ================= upload landing page ================= */
.landing { gap: 26px; }
.hero { display: flex; flex-direction: column; gap: 10px; padding: 6px 0 2px; }
.hero .h1 { font-size: clamp(28px, 2.6vw, 38px); }
.hero .sub { max-width: 860px; font-size: 15.5px; }

.upload-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr); gap: 20px; align-items: stretch; }
.upload-card { padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.upload-card .drop { flex: 1; min-height: 260px; gap: 14px; padding: 32px; }
.upload-card .drop .big { font-size: 20px; }
.upload-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.models-line { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.model-chips { display: flex; gap: 6px; flex-wrap: wrap; }

.side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.stat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-tiles > div { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-right: 1px solid var(--line-soft); min-width: 0; }
.stat-tiles > div:last-child { border-right: 0; }
.stat-tiles .v { font-size: 24px; font-weight: 750; letter-spacing: -.02em; white-space: nowrap; }
.recent-card { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.recent-card .rows { flex: 1; overflow-y: auto; max-height: 360px; }
.recent-card .empty { padding: 48px 18px; }

.section { display: flex; flex-direction: column; gap: 14px; }
.section-title { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { display: flex; gap: 14px; padding: 18px; align-items: flex-start; transition: border-color .15s, box-shadow .15s, transform .15s; }
.feature:hover { border-color: #efc4c7; box-shadow: 0 6px 18px rgb(16 31 54 / 6%); transform: translateY(-1px); }
.feature h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.feature p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--body); }
.f-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); }
.f-icon.ok { background: var(--success-soft); color: var(--success); }

.how .steps { border-bottom: 1px solid var(--line-soft); }
.how .step .dot { background: #fff; }
.privacy { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; }
.privacy b { font-size: 14px; }
.privacy p { margin: 3px 0 0; font-size: 13px; line-height: 1.6; color: var(--body); }

@media (max-width: 1120px) {
  .upload-grid { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .features, .upload-foot { grid-template-columns: minmax(0, 1fr); }
  .stat-tiles .v { font-size: 20px; }
}

/* continuous progress bar */
.pbar { position: relative; height: 10px; border-radius: 999px; background: #eceef2; overflow: hidden; }
.pbar i { position: absolute; inset: 0 auto 0 0; display: block; border-radius: 999px; background: var(--accent); overflow: hidden; }
.pbar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgb(255 255 255 / 35%) 50%, transparent 100%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
@media (prefers-reduced-motion: reduce) { .pbar i::after { animation: none; } }
