/* ============================================================================
 * GraphMaker — styles
 * ==========================================================================*/

:root {
  --bg: #0a0f1c;
  --bg-soft: #0d1424;
  --card: #111a2c;
  --card-soft: #0f1626;
  --border: #223050;
  --border-strong: #2e3f63;
  --text: #e6edf7;
  --text-soft: #c9d5ea;
  --muted: #8ea0bd;
  --accent: #60a5fa;
  --accent-2: #a78bfa;
  --accent-3: #34d399;
  --danger: #f87171;
  --warn: #fbbf24;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 44px -20px rgba(2, 8, 20, 0.95);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(1100px 500px at 85% -140px, rgba(96, 165, 250, 0.14), transparent 62%),
    radial-gradient(900px 460px at 8% -180px, rgba(167, 139, 250, 0.12), transparent 60%),
    var(--bg);
}

h1, h2, p { margin: 0; }
code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 6px;
  padding: 1px 6px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.hidden { display: none !important; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection { background: rgba(96, 165, 250, 0.32); }

/* -------------------------------------------------------------- scrollbars */

* { scrollbar-width: thin; scrollbar-color: #2b3a5c transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: #2b3a5c; border-radius: 8px; }
*::-webkit-scrollbar-track { background: transparent; }

/* ------------------------------------------------------------------ topbar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(10, 15, 28, 0.78);
  border-bottom: 1px solid rgba(34, 48, 80, 0.7);
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #dbeafe;
  background: linear-gradient(135deg, #1d4ed8, #7c3aed 60%, #0ea5e9);
  box-shadow: 0 6px 20px -8px rgba(96, 165, 250, 0.75);
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.22; min-width: 0; }
.brand-text strong { font-size: 16px; letter-spacing: -0.01em; }
.brand-text span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card-soft);
  color: var(--muted);
  white-space: nowrap;
}
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.status.ready { color: #b9f0d6; border-color: rgba(52, 211, 153, 0.35); }
.status.ready .dot { background: var(--accent-3); box-shadow: 0 0 10px rgba(52, 211, 153, 0.8); }
.status.loading, .status.busy { color: #fde8b8; border-color: rgba(251, 191, 36, 0.35); }
.status.loading .dot, .status.busy .dot { background: var(--warn); animation: pulse 1.2s ease-in-out infinite; }
.status.error { color: #fecaca; border-color: rgba(248, 113, 113, 0.4); }
.status.error .dot { background: var(--danger); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.78); }
}

/* -------------------------------------------------------------------- page */

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 22px 60px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
/* the toast stack is a flex child of .page: keep it out of the vertical rhythm */
.page > .toasts { margin: -8px 0 0; }

/* -------------------------------------------------------------------- hero */

.hero { display: flex; flex-direction: column; gap: 24px; }
.hero-copy { max-width: 780px; display: flex; flex-direction: column; gap: 14px; }
.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.grad {
  background: linear-gradient(92deg, #7dd3fc, #a78bfa 55%, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede { color: var(--muted); font-size: 16px; max-width: 640px; }

.hero.docked .hero-copy { display: none; }
.hero.docked .feature-row, .hero.docked .hero-actions-note { display: none; }

.dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 48px 26px;
  border: 1.6px dashed var(--border-strong);
  border-radius: 20px;
  background:
    radial-gradient(460px 150px at 50% 0%, rgba(96, 165, 250, 0.09), transparent 70%),
    var(--card-soft);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.dropzone:hover { border-color: var(--accent); background-color: #101a30; }
.dropzone:active { transform: scale(0.995); }
.dropzone.dragging {
  border-color: var(--accent);
  border-style: solid;
  background-color: rgba(96, 165, 250, 0.1);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.5), 0 0 50px -18px rgba(96, 165, 250, 0.65);
}
.dropzone.disabled { opacity: 0.55; cursor: progress; }
.dz-icon { color: var(--accent); margin-bottom: 4px; }
.dz-title { font-size: 18px; font-weight: 650; }
.dz-sub { color: var(--muted); font-size: 13.5px; }
.dz-sub b { color: var(--text-soft); font-weight: 600; }
.dropzone.docked { padding: 20px; }
.dropzone.docked .dz-icon { width: 24px; height: 24px; flex: none; }
.dropzone.docked .dz-title { font-size: 15px; }

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-actions-note { color: var(--muted); font-size: 13px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  color: #061224;
  background: linear-gradient(135deg, #7dd3fc, #93b4fb 55%, #c4b5fd);
  border: 0;
  border-radius: 12px;
  padding: 10px 18px;
  cursor: pointer;
  box-shadow: 0 10px 26px -12px rgba(125, 211, 252, 0.75);
  transition: transform 0.14s ease, box-shadow 0.14s ease, opacity 0.14s ease;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(147, 180, 251, 0.8); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.env-warn {
  border: 1px solid rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.08);
  color: #fde8b8;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13.5px;
}

.feature-row {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.feature-row li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card-soft);
  color: var(--muted);
  font-size: 13px;
}
.feature-row .fi { font-size: 19px; }
.feature-row b { display: block; color: var(--text-soft); font-size: 13.5px; }

/* --------------------------------------------------------------- workspace */

.workspace { display: flex; flex-direction: column; gap: 18px; }

.card {
  background: linear-gradient(180deg, var(--card), var(--card-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.controls { padding: 18px; display: flex; flex-direction: column; gap: 16px; }

.controls-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.file-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(96, 165, 250, 0.07);
  color: var(--text-soft);
  font-size: 13px;
}
.file-pill svg { color: var(--accent); flex: none; }
.file-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.controls-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 7px 12px;
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease;
}
.ghost-btn:hover { border-color: var(--accent); color: #fff; background: rgba(96, 165, 250, 0.14); }
.ghost-btn:active { transform: translateY(1px); }

.controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px 18px;
  align-items: start;
}
.control { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.control-wide { grid-column: span 2; }
@media (max-width: 720px) { .control-wide { grid-column: span 1; } }

.control label, .control .label {
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.control label em, .control .label em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: #6d7f9e;
}

select, input[type="text"] {
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: #0c1526;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 12px;
  width: 100%;
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%238ea0bd' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
select:hover, input[type="text"]:hover { border-color: var(--border-strong); }
select:focus, input[type="text"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 36px; }
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #0c1526;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease, transform 0.1s ease;
}
.chip:hover { border-color: var(--accent); }
.chip:active { transform: scale(0.97); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid #4a5d80;
  background: transparent;
  transition: all 0.14s ease;
  flex: none;
}
.chip.on {
  border-color: var(--accent);
  background: rgba(96, 165, 250, 0.16);
  color: #eaf2ff;
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.35) inset;
}
.chip.on .chip-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 9px rgba(96, 165, 250, 0.85); }
.chip.disabled { opacity: 0.44; cursor: not-allowed; }
.chip.disabled:hover { border-color: var(--border-strong); }
.chips-empty { color: var(--muted); font-size: 13px; align-self: center; }

.opts { display: flex; flex-direction: column; gap: 7px; padding-top: 2px; }
.opt { display: flex; align-items: center; gap: 9px; color: var(--text-soft); font-size: 13.5px; cursor: pointer; }
.opt input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }

/* ---------------------------------------------------------------- notes bar */

.note-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(96, 165, 250, 0.3);
  background: rgba(96, 165, 250, 0.07);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: #cfe2ff;
}
.note-bar.error { border-color: rgba(248, 113, 113, 0.4); background: rgba(248, 113, 113, 0.08); color: #fecaca; }
.note-item { display: inline-flex; align-items: center; gap: 6px; }
.note-item::before { content: "•"; color: currentColor; opacity: 0.7; }

/* -------------------------------------------------------------- charts grid */

.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 18px;
  scroll-margin-top: 80px;
}

.chart-card { padding: 16px 16px 12px; display: flex; flex-direction: column; }
.chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 2px 12px;
}
.chart-head h2 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.chart-head p { font-size: 12.5px; color: var(--muted); margin-top: 1px; }

.canvas-wrap {
  position: relative;
  height: 268px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(96, 165, 250, 0.045), rgba(96, 165, 250, 0.012)),
    #0d1424;
  border: 1px solid rgba(34, 48, 80, 0.65);
  padding: 10px;
}
.canvas-wrap canvas { width: 100% !important; height: 100% !important; }
.chart-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13.5px;
}
.chart-note { padding: 9px 2px 0; font-size: 12px; color: var(--muted); }

/* ------------------------------------------------------------------ preview */

.preview { overflow: hidden; }
.preview summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  color: var(--text-soft);
  font-size: 13.5px;
  font-weight: 600;
}
.preview summary::-webkit-details-marker { display: none; }
.preview summary:hover { color: #fff; }
.preview .chev { transition: transform 0.18s ease; color: var(--muted); }
.preview[open] .chev { transform: rotate(180deg); }

.table-wrap { overflow: auto; max-height: 340px; border-top: 1px solid var(--border); }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: 13px; }
.table-wrap th, .table-wrap td {
  text-align: left;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(34, 48, 80, 0.55);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.table-wrap th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #101a2e;
  color: var(--text-soft);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.table-wrap tbody tr:hover { background: rgba(96, 165, 250, 0.06); }
.table-wrap td { color: var(--text-soft); }
.dim { color: #5c6c8a; }
.tdot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: 1px;
}
.tdot.number { background: var(--accent); }
.tdot.date { background: var(--accent-2); }
.tdot.text { background: #64748b; }

/* ------------------------------------------------------------------- footer */

.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px 46px;
  color: #66789a;
  font-size: 12.5px;
  line-height: 1.7;
}
.footer code { font-size: 0.92em; }
.footer b { color: var(--text-soft); }

/* ------------------------------------------------------------------- toasts */

.toasts {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: min(420px, calc(100vw - 36px));
  pointer-events: none;
}
.toasts > * { pointer-events: auto; }
.toast {
  background: #101a2e;
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent);
  border-radius: 11px;
  padding: 11px 15px;
  font-size: 13.5px;
  color: var(--text-soft);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.9);
  cursor: pointer;
  animation: toast-in 0.22s ease both;
}
.toast.warn { border-left-color: var(--warn); }
.toast.error { border-left-color: var(--danger); color: #fecaca; }
.toast.leaving { opacity: 0; transform: translateY(6px); transition: all 0.3s ease; }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------------- progress (top bar) */

.progress {
  border-top: 1px solid rgba(34, 48, 80, 0.6);
  background: rgba(13, 20, 36, 0.9);
}
.progress-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 22px 9px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.progress-track {
  flex: 1;
  height: 5px;
  border-radius: 99px;
  background: #1b2742;
  overflow: hidden;
}
.progress-fill {
  width: 0;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #38bdf8, #a78bfa);
  transition: width 0.18s ease;
}
.progress-fill.indeterminate {
  width: 38%;
  animation: boot-run 1.25s ease-in-out infinite;
  transition: none;
}
.progress-label {
  flex: none;
  font-size: 12.5px;
  color: var(--text-soft);
  max-width: 46ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.progress-cancel { flex: none; padding: 4px 10px; }

.progress.done { opacity: 0; transition: opacity 0.3s ease; }

/* The background Excel warm-up reuses the progress styling but sits in its own
   strip, so it never competes with a real parse for the same bar. */
.excel-warm { border-top: 1px solid rgba(34, 48, 80, 0.6); background: rgba(13, 20, 36, 0.75); }
.excel-warm .progress-track { max-width: 220px; }
.excel-warm .progress-label { max-width: none; color: var(--muted); }
.excel-warm .progress-fill { background: linear-gradient(90deg, #64748b, #7dd3fc); }

/* ------------------------------------------------------------ file error bar */

.file-error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.09);
  border-radius: var(--radius-sm);
}
.file-error-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(248, 113, 113, 0.2);
  color: #fecaca;
  font-size: 12px;
  font-weight: 700;
}
.file-error-body { flex: 1; min-width: 0; }
.file-error-title { font-size: 13.5px; font-weight: 650; color: #fecaca; }
.file-error-text { font-size: 13px; color: #f3c9c9; margin-top: 2px; overflow-wrap: anywhere; }

/* ---------------------------------------------------------- parse options row */

.parse-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(8, 13, 24, 0.45);
}
.parse-options .control:has(select:disabled) { opacity: 0.5; }
.detected-hint {
  font-size: 13px;
  color: var(--text-soft);
  padding: 9px 0;
  overflow-wrap: anywhere;
}
.control-detected { min-width: 0; }

/* -------------------------------------------------------------- drop overlay */

.drop-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 11, 21, 0.82);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}
.drop-overlay.active { opacity: 1; }
.drop-overlay-card {
  width: min(560px, 100%);
  text-align: center;
  padding: 40px 30px;
  border: 2px dashed var(--accent);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 28, 48, 0.96), rgba(14, 21, 36, 0.96));
  box-shadow: 0 24px 70px -30px rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.drop-overlay-card .dz-icon { color: var(--accent); }
.drop-overlay-title { font-size: 19px; font-weight: 700; }
.drop-overlay-name {
  font-size: 14px;
  color: var(--accent);
  font-family: var(--mono);
  overflow-wrap: anywhere;
  max-width: 100%;
}
.drop-overlay-sub { font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------------ dropzone */

.dz-hint { font-size: 12.5px; color: #6d7f9e; margin-top: 2px; }
.dz-hint kbd {
  font-family: var(--mono);
  font-size: 11px;
  padding: 1px 5px;
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #0c1526;
  color: var(--text-soft);
}
.dropzone.docked .dz-hint { display: none; }
.dropzone.docked { padding: 16px 20px; flex-direction: row; gap: 12px; text-align: left; }
.dropzone.docked .dz-sub { display: none; }
.dropzone.docked .dz-title { font-size: 14.5px; font-weight: 600; }

/* --------------------------------------------------------------- responsive */

@media (max-width: 860px) {
  /* a fixed toast stack would sit on top of the controls on a phone */
  .toasts {
    position: static;
    width: auto;
    margin: 0;
  }
  .toast { cursor: default; }
}

@media (max-width: 640px) {
  .page { padding: 24px 14px 48px; }
  .topbar-inner { padding: 10px 14px; }
  .progress-inner { padding: 7px 14px 8px; }
  .progress-label { max-width: 18ch; }
  .brand-text span { display: none; }
  .status { font-size: 11.5px; padding: 5px 10px; }
  .dropzone { padding: 30px 16px; }
  .dropzone.docked { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 30px; }
  .canvas-wrap { height: 232px; }
  .controls { padding: 14px; }
  .parse-options { padding: 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto !important; }
}
