:root {
  --bg: #f7f7f8;
  --bg-2: #ffffff;
  --panel: #ffffff;
  --ink: #1a1b1e;
  --muted: #5c616a;
  --line: #e4e6ea;
  --line-strong: #d0d3d9;
  --accent: #e2187a;
  --accent-soft: #fce7f1;
  --accent-ink: #9d0f54;
  --accent-2: #2a2d34;
  --danger: #c0392b;
  --shadow: 0 1px 2px rgba(26, 27, 30, 0.04), 0 8px 24px rgba(26, 27, 30, 0.05);
  --shadow-soft: 0 1px 2px rgba(26, 27, 30, 0.03);
  --radius: 14px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --shell: 1120px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 0% -5%, rgba(226, 24, 122, 0.06) 0%, transparent 55%),
    radial-gradient(720px 380px at 100% 0%, rgba(26, 27, 30, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #f3f4f6 100%);
}
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
.shell { width: min(var(--shell), calc(100% - 2rem)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, #ffffff 88%, transparent);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand-logo {
  height: 80px;
  width: auto;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  object-position: center center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  transition: transform 0.28s ease;
}
.brand:hover .brand-logo {
  transform: translateY(-1px) scale(1.015);
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
}
.site-nav a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover { color: var(--ink); }
.nav-ghost {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink) !important;
}
.nav-ghost:hover { border-color: var(--ink); }
.nav-cta {
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(226, 24, 122, 0.22);
}
.nav-cta:hover { color: #fff !important; filter: brightness(1.05); }

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 0.8rem 1.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 6px 16px rgba(226, 24, 122, 0.18);
}
.btn:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.04);
}
.btn.secondary {
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn.secondary:hover {
  color: var(--ink);
  border-color: var(--ink);
  filter: none;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 0.75rem; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 2.8vw, 2.35rem); letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; }
.lede, .section-lede {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}
.muted, .status { color: var(--muted); }
.error { color: var(--danger); }

.hero-plane {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
  min-height: calc(100vh - var(--header-h));
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0 4.5rem;
  max-width: 560px;
  width: min(560px, calc(100% - 2rem));
  margin-left: max(1rem, calc((100vw - var(--shell)) / 2));
  margin-right: auto;
  animation: rise-in 0.75s ease both;
}
.hero-brand {
  display: block;
  width: min(320px, 88%);
  height: auto;
  margin: 0 0 1.35rem;
  border-radius: 14px;
  background: #0a0a0a;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.65rem 0.85rem;
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-soft {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.85; }
}
@keyframes drift {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(6px); }
}
.hero-visual {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 35%, rgba(226, 24, 122, 0.12), transparent 42%),
    linear-gradient(165deg, #ffffff 0%, #f5f5f6 55%, #eeeef1 100%);
}
.signal-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(26, 27, 30, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26, 27, 30, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 58% 42%, black 18%, transparent 72%);
  animation: pulse-soft 7s ease-in-out infinite;
}
.signal-panel {
  position: absolute;
  left: 14%;
  right: 14%;
  top: 50%;
  transform: translateY(-50%);
  padding: 1.65rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.3rem;
  animation: rise-in 0.9s ease 0.12s both, drift 8s ease-in-out 1s infinite;
}
.signal-panel span:first-child {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.signal-panel strong {
  font-family: var(--display);
  font-size: 2.55rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.signal-panel span:last-child {
  color: var(--muted);
  margin-top: 0.15rem;
}

.section { padding: 4.75rem 0; }
.section-alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.1rem;
}
.feature-row article,
.dash-panel,
.auth-card,
.price-plan,
.pricing-note {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: var(--panel);
  padding: 1.45rem 1.5rem;
  box-shadow: var(--shadow-soft);
}
.feature-row article h3 { margin-bottom: 0.45rem; }
.feature-row article p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.signal-list {
  display: grid;
  gap: 0;
  margin-top: 1.75rem;
}
.signal-list div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.signal-list div:last-child { border-bottom: 0; }
.signal-list strong {
  font-family: var(--display);
  font-size: 1.15rem;
}
.signal-list span { color: var(--muted); line-height: 1.55; }
.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 1.75rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 1.85rem 2rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(120deg, rgba(226, 24, 122, 0.06), rgba(255, 255, 255, 0.9) 45%),
    #ffffff;
  box-shadow: var(--shadow-soft);
}
.cta-band h2 { margin-bottom: 0.4rem; }
.cta-band p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.55;
}
.cta-band .hero-actions { margin-top: 0; }

.page-hero { padding: 3.75rem 0 1.15rem; }
.page-hero .lede { max-width: 42rem; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
  align-items: stretch;
}
.price-plan {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.price-plan:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: var(--shadow);
}
.price-plan h2 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.plan-badge {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.plan-badge-slot {
  min-height: 1.7rem;
  margin-bottom: 0.35rem;
}
.plan-credits { color: var(--muted); margin: 0.15rem 0; font-size: 0.92rem; }
.plan-price {
  font-family: var(--display);
  font-size: 1.95rem;
  margin: 0.45rem 0;
  letter-spacing: -0.02em;
}
.plan-unit {
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 0.95rem;
  font-size: 0.92rem;
}
.price-plan ul {
  margin: 0 0 1.2rem;
  padding-left: 1.1rem;
  color: var(--muted);
  flex: 1 1 auto;
}
.price-plan ul li { margin: 0.35rem 0; line-height: 1.4; }
.price-plan .btn {
  margin-top: auto;
  width: 100%;
}
.price-plan.featured {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent),
    var(--shadow);
  background:
    linear-gradient(180deg, rgba(226, 24, 122, 0.04), transparent 42%),
    #ffffff;
}
.pricing-note { margin-top: 1.75rem; }
.pricing-note h3 { margin-bottom: 0.45rem; }
.pricing-note p { margin: 0; color: var(--muted); line-height: 1.6; }

.auth-shell {
  min-height: calc(100vh - 260px);
  display: grid;
  place-items: center;
  padding: 3rem 1rem;
}
.auth-card {
  width: min(440px, 100%);
}
.auth-card h1 { font-size: 2.15rem; }
label {
  display: block;
  margin: 0.8rem 0;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
}
input[type="email"],
input[type="text"],
input[type="password"],
input[type="file"] {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input[type="email"]:focus,
input[type="text"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: 0 0 0 3px rgba(226, 24, 122, 0.12);
}
.auth-switch { margin-top: 1.1rem; color: var(--muted); }

.dash-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}
.dash-account {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}
.credit-balance-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}
.credit-balance-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.credit-balance-chip strong {
  font-size: 1.15rem;
  font-family: var(--display);
}
.credit-balance-chip.is-low {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  background: var(--accent-soft);
}
.credits-panel {
  margin-bottom: 1.25rem;
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
  background:
    linear-gradient(120deg, rgba(226, 24, 122, 0.05), rgba(255, 255, 255, 0.95)),
    #ffffff;
}
.credits-panel.is-low {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent);
}
.credits-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}
.credits-panel-head h2 { margin-bottom: 0.35rem; }
.credits-warning {
  margin: 0 0 0.9rem;
  padding: 0.75rem 0.95rem;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 600;
}
.quick-buy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
  margin-top: 0.75rem;
  align-items: stretch;
}
.quick-buy-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  height: 100%;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fafafa;
}
.quick-buy-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.15rem;
}
.quick-buy-credits {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.quick-buy-price {
  margin: 0.15rem 0 0.7rem;
  font-family: var(--display);
  font-size: 1.35rem;
}
.quick-buy-card .btn {
  margin-top: auto;
  width: 100%;
}
.dash-heading { margin-top: 2.15rem; }
.projects-hint { margin: 0.35rem 0 0.95rem; }
.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: 0.8rem;
}
.project-empty { margin: 0.25rem 0 0; }
.project-card {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.project-card:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: var(--shadow);
}
.project-card.is-active {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent);
}
.project-name {
  font-weight: 700;
  letter-spacing: 0.01em;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}
.project-counts {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.table-wrap {
  overflow-x: auto;
  overflow-y: visible;
  margin-top: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}
table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}
th, td {
  text-align: left;
  padding: 0.85rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
tr:last-child td { border-bottom: 0; }
.url-row td { padding: 1.05rem 0.95rem; }
.url-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.url-title { font-weight: 650; margin-bottom: 0.2rem; }
.url-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.url-report {
  margin-top: 0.9rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fafafa;
  overflow: visible;
  max-width: 100%;
}
.scores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.report-summary { margin: 0.65rem 0 0; color: var(--ink); }
.report-section { margin-top: 0.85rem; }
.report-section summary {
  cursor: pointer;
  color: var(--accent-ink);
  font-weight: 650;
}
.report-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  margin: 0.55rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.92rem;
  line-height: 1.5;
  max-height: none;
  overflow: visible;
}
.report-improvements {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.report-improvements li { margin: 0.45rem 0; }
.report-improvements .prio {
  display: inline-block;
  min-width: 1.6rem;
  color: var(--accent);
  font-weight: 700;
}

.site-footer {
  margin-top: 3.5rem;
  border-top: 1px solid var(--line);
  padding: 2.35rem 0 2.75rem;
  color: var(--muted);
  background: #ffffff;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  color: var(--ink);
}
.footer-logo,
.footer-brand img {
  height: 56px;
  width: auto;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  object-position: center center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.footer-inner > div > p {
  margin: 0;
  max-width: 28rem;
  line-height: 1.55;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: flex-start;
}
.footer-links a {
  color: var(--muted);
  font-weight: 600;
}
.footer-links a:hover { color: var(--accent); }

@media (max-width: 1280px) {
  .price-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-plane { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy {
    width: min(var(--shell), calc(100% - 2rem));
    max-width: none;
    margin: 0 auto;
    padding: 3rem 0 2.5rem;
  }
  .hero-visual { min-height: 300px; border-left: 0; border-top: 1px solid var(--line); }
  .feature-row { grid-template-columns: 1fr; }
  .signal-list div { grid-template-columns: 1fr; gap: 0.35rem; }
}
@media (max-width: 720px) {
  .price-grid { grid-template-columns: 1fr; }
  .brand-logo {
    height: 64px;
    width: auto;
  }
  .site-nav a:not(.nav-ghost):not(.nav-cta) { display: none; }
  .cta-band { padding: 1.4rem; }
}

/* Page source viewer (dashboard) */
.source-modal {
  width: min(960px, calc(100vw - 2rem));
  max-height: min(88vh, 900px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 2px);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(20, 24, 40, 0.22);
}
.source-modal::backdrop {
  background: rgba(18, 22, 36, 0.45);
}
.source-modal-shell {
  display: flex;
  flex-direction: column;
  max-height: min(88vh, 900px);
}
.source-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 1.15rem 1.25rem 0.85rem;
  border-bottom: 1px solid var(--line);
}
.source-modal-head h2 {
  margin: 0;
  font-size: 1.25rem;
}
.source-modal-url {
  margin: 0.35rem 0 0;
  word-break: break-all;
  font-size: 0.9rem;
}
.source-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.source-modal .status {
  margin: 0;
  padding: 0.45rem 1.25rem 0;
}
.source-modal-body {
  margin: 0.75rem 1.25rem 1.25rem;
  padding: 0.9rem 1rem;
  overflow: auto;
  flex: 1 1 auto;
  min-height: 220px;
  max-height: calc(88vh - 170px);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink);
  background: #f7f7f8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.csv-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  margin: 0.85rem 0 0;
  padding: 1.65rem 1.25rem;
  text-align: center;
  cursor: pointer;
  border: 1.5px dashed color-mix(in srgb, var(--accent) 28%, var(--line-strong));
  border-radius: calc(var(--radius) + 2px);
  background:
    linear-gradient(180deg, rgba(226, 24, 122, 0.03), transparent 55%),
    #fafafa;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.csv-dropzone:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background:
    linear-gradient(180deg, rgba(226, 24, 122, 0.05), transparent 55%),
    #ffffff;
}
.csv-dropzone.is-dragover {
  border-color: var(--accent);
  border-style: solid;
  background: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(226, 24, 122, 0.1);
}
.csv-dropzone.has-file {
  border-style: solid;
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  background: #ffffff;
}
.csv-dropzone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.25rem;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
}
.csv-dropzone-title {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.csv-dropzone-sub {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
}
.csv-dropzone-hint {
  max-width: 34rem;
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 500;
}
.csv-dropzone-file {
  display: block;
  max-width: min(100%, 40rem);
  margin-top: 0.65rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.82rem;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
