:root {
  color-scheme: light;
  --font-body: "SF Pro Display", "SF Pro Text", "Neue Haas Grotesk", "Manrope", "Helvetica Neue", "Helvetica", "Segoe UI",
    sans-serif;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f2f4f8;
  --text: #0f172a;
  --text-strong: #0b1220;
  --muted: #667085;
  --primary: #1d4ed8;
  --primary-strong: #1e40af;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #e11d48;
  --border: #e5e7eb;
  --accent: #eef2ff;
  --shadow-sm: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 26px 60px rgba(15, 23, 42, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --secondary-bg: var(--surface-2);
  --secondary-border: #d2d8e2;
  --drop-border: #ccd5e3;
  --drop-bg: #f6f8fc;
  --drop-bg-active: #eef2ff;
  --progress-bg: #e4e8f0;
  --glow: 0 16px 40px rgba(29, 78, 216, 0.16);
  --topbar-bg: #ffffff;
  --nav-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --focus-ring: 0 0 0 3px rgba(29, 78, 216, 0.2);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 32px;
  --text-4xl: 40px;
  --text-hero: clamp(36px, 5vw, 56px);
  --outline: var(--border);
  --card-bg: var(--surface);
  --shadow: var(--shadow-md);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --font-body: "SF Pro Display", "SF Pro Text", "Neue Haas Grotesk", "Manrope", "Helvetica Neue", "Helvetica", "Segoe UI",
    sans-serif;
  --bg: #0c0f14;
  --surface: #161b22;
  --surface-2: #11161d;
  --text: #e6e9ef;
  --text-strong: #f7f9fc;
  --muted: #9aa3b2;
  --primary: #5d8dff;
  --primary-strong: #4a7cff;
  --success: #32b56e;
  --warning: #f2a23a;
  --danger: #ef5555;
  --border: #252c36;
  --accent: #172030;
  --shadow-sm: 0 12px 30px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 22px 60px rgba(0, 0, 0, 0.55);
  --secondary-bg: var(--surface-2);
  --secondary-border: #2a323e;
  --drop-border: #2a3340;
  --drop-bg: #131923;
  --drop-bg-active: #1b2330;
  --progress-bg: #1f2530;
  --glow: 0 20px 50px rgba(92, 141, 255, 0.22);
  --topbar-bg: rgba(10, 13, 18, 0.86);
  --nav-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  --focus-ring: 0 0 0 3px rgba(92, 141, 255, 0.28);
  --outline: var(--border);
  --card-bg: var(--surface);
  --shadow: var(--shadow-md);
}

:root[data-theme="dark"] .plans-hero-card {
  background: linear-gradient(140deg, rgba(93, 141, 255, 0.18), rgba(22, 27, 34, 0.8));
  border-color: #263040;
}

:root[data-theme="dark"] .plan-card {
  background: var(--surface);
  border-color: #263040;
}

:root[data-theme="dark"] .plan-card-highlight {
  background: #1c2533;
  border-color: #2f3b4d;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

:root[data-theme="dark"] .plan-card-highlight::before {
  background: #e2e8f0;
  color: #0b1220;
}

:root[data-theme="dark"] .plan-tag {
  background: #1a2230;
  border-color: #2a3442;
  color: var(--muted);
}

:root[data-theme="dark"] .plans-compare {
  background: var(--surface);
  border-color: #263040;
}

:root[data-theme="dark"] .compare-row.compare-head {
  background: var(--surface);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: var(--text-md);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html.auth-checking body {
  opacity: 0;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--text-strong);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-toggle-btn:focus-visible,
.nav-link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-pill);
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--outline);
  box-shadow: var(--nav-shadow);
}

.nav-shell {
  width: min(1200px, 94vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 12px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-strong);
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.brand-text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-block {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: var(--text-strong);
}

.nav-link.active {
  color: var(--text-strong);
  font-weight: 600;
  background: var(--secondary-bg);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.nav-menu .theme-toggle {
  margin-left: 6px;
}

.nav-divider {
  width: 1px;
  height: 18px;
  background: var(--border);
}

.site-header .btn {
  font-size: 14px;
  padding: 8px 16px;
}

.site-header .btn-primary {
  background: #111827;
  color: #fff;
  border-color: transparent;
  box-shadow: none;
}

.site-header .btn-primary:hover {
  background: #0b1220;
  transform: none;
  box-shadow: none;
}

.site-header .btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-strong);
}

.site-header .btn-ghost:hover {
  background: var(--secondary-bg);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--outline);
  background: var(--card-bg);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle-btn span,
.nav-toggle-btn span::before,
.nav-toggle-btn span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-strong);
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.nav-toggle-btn span::before {
  transform: translateY(-6px);
}

.nav-toggle-btn span::after {
  transform: translateY(4px);
}

.nav-toggle:checked + .nav-toggle-btn span {
  background: transparent;
}

.nav-toggle:checked + .nav-toggle-btn span::before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-btn span::after {
  transform: translateY(-2px) rotate(-45deg);
}

.card,
.feature-card,
.pricing-card,
.app-card,
.status-card,
.auth-card,
.contact-card,
.step {
  background: var(--card-bg);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  color: var(--text-strong);
}

.top-bar {
  display: none;
}

.logo {
  font-weight: 600;
  letter-spacing: -0.2px;
}

.hero {
  color: var(--text-strong);
  background: linear-gradient(180deg, #f8fafc 0%, var(--bg) 100%);
  padding: 96px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.hero h1 {
  font-size: var(--text-hero);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 10px 0 16px;
}

.tagline {
  margin: 0 0 12px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  color: var(--text-strong);
}

.hero .lead {
  color: var(--muted);
  max-width: 520px;
  font-size: var(--text-lg);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--primary-strong);
  margin: 0;
}

.lead {
  color: var(--text);
}

.cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.app-link {
  margin: 12px 0 0;
  color: var(--text-strong);
}

.app-link a {
  color: var(--primary-strong);
  font-weight: 600;
}

.app-link a:hover {
  text-decoration: underline;
}

.hero-highlights {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--secondary-bg);
  border: 1px solid var(--secondary-border);
  font-size: var(--text-sm);
  color: var(--text-strong);
  font-weight: 600;
}
.plan-pill {
  padding: 6px 10px;
  background: var(--secondary-bg);
  color: var(--text-strong);
  border: 1px solid var(--secondary-border);
  font-size: var(--text-xs);
  font-weight: 600;
}
.usage-summary {
  margin-top: 6px;
  color: var(--muted);
}
.usage-summary.usage-summary-warning {
  color: var(--warning);
  font-weight: 600;
}
.usage-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.usage-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: var(--text-sm);
  color: var(--text-strong);
}
.usage-bar-label {
  color: var(--muted);
  font-weight: 500;
}
.usage-bar-track {
  width: 100%;
  height: 8px;
  background: var(--secondary-bg);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--secondary-border);
}
.usage-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--primary);
  transition: width 200ms ease;
}
.usage-bar-fill.warning {
  background: var(--warning);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.panel {
  width: 100%;
  max-width: 460px;
  background: var(--card-bg);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--glow);
  overflow: hidden;
}

.panel-header {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(16, 24, 40, 0.95);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #243145;
  display: inline-block;
}

.panel-body {
  padding: 18px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.list-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.badge {
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(126, 182, 255, 0.16);
  color: var(--primary-strong);
  font-weight: 700;
  font-size: var(--text-sm);
}

.badge-blue {
  background: rgba(80, 205, 255, 0.28);
  color: #0b0b0b;
}

.badge-green {
  background: rgba(34, 197, 94, 0.28);
  color: #0b0b0b;
}

.lines {
  height: 12px;
  border-radius: 999px;
  background: #1e2c3f;
  width: 72%;
}

.lines.short {
  width: 48%;
}

.lines.long {
  width: 82%;
}

.bar {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #34d399, #22c55e);
  margin-top: 6px;
}

.card-stack {
  position: absolute;
  bottom: -18px;
  right: 8%;
  display: flex;
  gap: 10px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 12px 14px;
  width: 160px;
}

.card.mini {
  padding: 10px 12px;
}

.card.offset {
  transform: translateY(12px);
}

.tiny-bar {
  height: 8px;
  width: 48%;
  background: var(--primary-strong);
  border-radius: 999px;
  margin-bottom: 10px;
}

.tiny-bar.wide {
  width: 72%;
}

.tiny-line {
  height: 8px;
  width: 100%;
  background: #1e2c3f;
  border-radius: 999px;
}

.section {
  padding: 88px 0;
}

.section-muted {
  background: #f8fafc;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-header h2 {
  margin: 12px 0 10px;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--text-strong);
}

.section-lead {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step {
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.step h3,
.step p {
  color: var(--text-strong);
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(126, 182, 255, 0.18);
  color: var(--primary-strong);
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.features-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.feature-card p {
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}

.pricing-card {
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.pricing-card ul li {
  position: relative;
  padding-left: 22px;
}

.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

.pricing-card .price {
  margin: 0;
  font-size: var(--text-3xl);
  font-weight: 700;
}

.pricing-card .price span {
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--muted);
}

.pricing-card .badge {
  align-self: flex-start;
}

.pricing-card .footnote {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-xs);
}

.pricing-card.featured {
  border-color: rgba(29, 78, 216, 0.35);
  background: #f4f7ff;
  box-shadow: 0 20px 40px rgba(29, 78, 216, 0.18);
  position: relative;
}

.pricing-card.featured::after {
  content: "Most popular";
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--primary);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 700;
}

.badge.muted {
  background: var(--secondary-bg);
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--text-md);
  line-height: 1;
  border: 1px solid transparent;
  transition: box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-sm {
  padding: 8px 12px;
  font-size: var(--text-sm);
}

.btn-lg {
  padding: 14px 24px;
  font-size: var(--text-lg);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(10, 102, 255, 0.24);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(10, 102, 255, 0.28);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-strong);
}

.btn-ghost:hover {
  background: var(--secondary-bg);
}

.btn-secondary {
  background: var(--secondary-bg);
  color: var(--text);
  border: 1px solid var(--secondary-border);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--accent);
  transform: none;
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  border-color: var(--outline);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-strong);
  box-shadow: 0 10px 24px rgba(10, 102, 255, 0.15);
  transform: translateY(-1px);
}

.auth-provider-row {
  margin: 12px 0 0;
}

.upload-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--secondary-bg);
  border: 1px solid var(--secondary-border);
  font-size: var(--text-sm);
  color: var(--text-strong);
}

.pin-limit-hint {
  margin: 8px 0 0;
}

.notice-card {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--secondary-border);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.02));
  color: var(--text-strong);
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice-card::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(10, 102, 255, 0.12);
  flex: 0 0 auto;
}

.notice-card-info::before {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(10, 102, 255, 0.12);
}

.notice-card-warn::before {
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

.upload-note {
  margin-top: 6px;
  padding: 0;
  border: none;
  background: transparent;
  color: #b45309;
  font-size: var(--text-sm);
  line-height: 1.3;
  max-width: 100%;
}

.plans-hero {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
  margin-bottom: 28px;
}

.plans-hero-card {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--outline);
  background: linear-gradient(140deg, rgba(29, 78, 216, 0.12), rgba(255, 255, 255, 0.7));
  box-shadow: var(--shadow-sm);
}

.plans-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 24px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--outline);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.plan-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-strong);
}

.plan-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--outline);
  background: var(--secondary-bg);
}

.plan-price {
  margin: 0;
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 700;
  color: var(--text-strong);
}

.plan-price span {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
}

.plan-subprice {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

.plan-desc {
  margin: 0;
  color: var(--muted);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 4px 0 6px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.plan-features li {
  position: relative;
  padding-left: 22px;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

.plan-cta {
  align-self: flex-start;
  padding: 10px 18px;
}

.plan-card-highlight {
  border-color: rgba(29, 78, 216, 0.4);
  background: #f4f7ff;
  box-shadow: 0 20px 40px rgba(29, 78, 216, 0.18);
  position: relative;
}

.plan-card-highlight::before {
  content: "Most popular";
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
}

.plans-auth {
  margin: 20px 0;
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed var(--outline);
  background: rgba(15, 23, 42, 0.03);
  text-align: center;
}

.plans-features {
  margin-top: 16px;
}

.plans-compare {
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid var(--outline);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.compare-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(2, minmax(140px, 1fr));
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid var(--outline);
  min-width: 480px;
  font-size: 14px;
}

.compare-row:first-child {
  border-top: none;
}

.compare-row.compare-head {
  background: #f8fafc;
  font-weight: 600;
  color: var(--text-strong);
}

.compare-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.compare-cell:not(:first-child) {
  justify-content: center;
}

.compare-cell-muted {
  color: var(--muted);
}

.compare-cell-check::before {
  content: "✓";
  font-weight: 700;
  color: var(--primary);
}

.compare-cell-cross::before {
  content: "—";
  font-weight: 700;
  color: var(--muted);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, var(--danger));
  color: #fff;
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.25);
}

.btn-danger:hover {
  box-shadow: 0 12px 26px rgba(239, 68, 68, 0.35);
}

.contact-card {
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer {
  border-top: 1px solid var(--outline);
  background: var(--card-bg);
  padding: 18px 0;
  color: var(--text);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.app .footer-content {
  padding: 0 12px;
  box-sizing: border-box;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--text);
}

.footer a:hover {
  color: var(--primary-strong);
}

.legal-shell {
  max-width: 760px;
}

.legal-shell h1 {
  margin: 12px 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--text-strong);
}

.legal-updated {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
}

.legal-lead {
  color: var(--muted);
  margin-bottom: 24px;
}

.legal-block {
  padding: 18px 0;
  border-top: 1px solid var(--outline);
}

.legal-block p + p {
  margin-top: 10px;
}

.legal-block ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.legal-block li {
  margin-bottom: 6px;
}

.status-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--outline);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  margin: 16px 0 24px;
}

.status-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-strong);
}

.status-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
}
.status-updated {
  margin: 6px 0 0;
}

.status-card {
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.status-card h2 {
  margin: 0 0 14px;
  font-size: 18px;
  color: var(--text-strong);
}

.status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.status-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.status-service {
  display: block;
  font-weight: 600;
  color: var(--text-strong);
}

.status-meta {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
  flex: none;
}
.status-dot-ok {
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(58, 167, 109, 0.18);
}
.status-dot-warn {
  background: var(--warning);
  box-shadow: 0 0 0 4px rgba(242, 169, 59, 0.18);
}
.status-dot-down {
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(216, 87, 75, 0.18);
}
.status-dot-maint {
  background: #7a889a;
  box-shadow: 0 0 0 4px rgba(122, 136, 154, 0.18);
}

.status-dot-lg {
  width: 14px;
  height: 14px;
  animation: statusPulse 2.4s ease-in-out infinite;
}

@keyframes statusPulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.08);
  }
}

.legal-block h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text-strong);
}

.legal-block p {
  margin: 0;
  color: var(--muted);
}

.auth-redirect {
  min-height: calc(100vh - 96px);
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.auth-card {
  box-shadow: var(--shadow-sm);
  padding: 24px 28px;
  width: min(480px, 100%);
  text-align: center;
}

.auth-card h1 {
  margin: 0 0 6px;
}

.auth-card .tagline {
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 600;
}

.auth-card .hint {
  margin: 0;
}

.pin-form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  text-align: left;
}

.pin-form label {
  font-weight: 600;
  color: var(--text-strong);
}

.pin-input {
  text-align: center;
  font-size: var(--text-xl);
  letter-spacing: 4px;
}

.pin-input:focus {
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
  outline: none;
}

.pin-error {
  color: var(--danger);
  min-height: 20px;
}

.legacy-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--outline);
  background: var(--secondary-bg);
  text-align: left;
  margin: 16px 0;
}

.legacy-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
}

.legacy-text {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

@media (max-width: 720px) {
  .hero-grid {
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .nav-shell {
    padding: 12px 16px;
  }

  .hero {
    padding-top: 64px;
  }

  .panel {
    max-width: 100%;
  }

  .card-stack {
    position: static;
    margin-top: 14px;
    justify-content: center;
  }
}

/* App (post-auth) styles */
.app {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  background: radial-gradient(circle at 20% 0%, rgba(10, 102, 255, 0.08), transparent 38%),
    radial-gradient(circle at 90% 20%, rgba(0, 0, 0, 0.04), transparent 40%),
    var(--bg);
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
}

.app.auth-pending {
  opacity: 0;
  pointer-events: none;
}

.app-shell {
  width: min(1200px, 94vw);
  margin: 0 auto;
  padding: 24px 0 56px;
}


.app .user-status {
  font-size: 14px;
  color: var(--text-strong);
  font-weight: 600;
}

.app-actions .btn,
.app-actions .profile-menu-btn {
  font-size: 14px;
  padding: 8px 12px;
}

.app .plan-pill {
  font-size: 14px;
  font-weight: 600;
}

.app-main {
  margin-top: 12px;
}

.app-panel {
  background: var(--card-bg);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px;
}

.app-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.app-head h1 {
  margin: 6px 0 8px;
  font-size: clamp(24px, 3.4vw, 30px);
}

.app-head .eyebrow {
  font-size: 14px;
  letter-spacing: 0.12em;
}

.app-title {
  margin: 6px 0 8px;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.app-head .lead {
  margin: 0 0 12px;
  max-width: 640px;
}

.app-metrics {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .app-metrics {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .app-metrics .pill {
    white-space: nowrap;
    font-size: 12px;
    padding: 5px 10px;
  }
}

.app-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  align-items: start;
}

.app-column {
  display: grid;
  gap: 16px;
}

.app-card {
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.app-card-secondary {
  background: var(--secondary-bg);
  border-color: transparent;
  box-shadow: none;
}

.active-uploads-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.uploads-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.uploads-scroll {
  max-height: 460px;
  overflow-y: auto;
  padding-right: 6px;
}

.active-uploads-footer {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.upload-item {
  border: 1px solid var(--outline);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: var(--card-bg);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.upload-meta {
  display: grid;
  gap: 4px;
  color: var(--text-strong);
}

.upload-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.upload-expiry {
  font-size: var(--text-xs);
  color: var(--muted);
}

.app-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
  color: var(--text-strong);
}

.billing-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.billing-actions button {
  width: auto;
}

.billing-toggle {
  display: inline-flex;
  gap: 8px;
  margin-top: 10px;
}

.billing-toggle .btn.is-active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 14px rgba(10, 102, 255, 0.2);
}

.billing-meta {
  margin-top: 10px;
  display: grid;
  gap: 6px;
  font-size: var(--text-xs);
  color: var(--muted);
}

.billing-meta strong {
  color: var(--text-strong);
}

.billing-debug {
  margin-top: 12px;
  border-top: 1px solid var(--outline);
  padding-top: 10px;
}

.billing-debug pre {
  margin: 6px 0 0;
  padding: 8px 10px;
  font-size: var(--text-xs);
  white-space: pre-wrap;
  border-radius: 10px;
  background: var(--card-bg);
  border: 1px solid var(--outline);
  color: var(--text);
}

.profile-form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.form-field span {
  color: var(--text-strong);
  font-weight: 600;
}

.input,
.select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--secondary-border);
  background: var(--card-bg);
  color: var(--text);
  font-weight: 500;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus,
.select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
  outline: none;
}

.input:disabled,
.select:disabled,
textarea:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.input[readonly] {
  background: var(--secondary-bg);
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.danger-zone {
  margin-top: 16px;
  border-top: 1px solid var(--outline);
  padding-top: 12px;
  display: grid;
  gap: 10px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 14, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 24px;
}

.modal-card {
  background: var(--card-bg);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: min(520px, 92vw);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 12px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.pin-display {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--secondary-bg);
  border: 1px solid var(--secondary-border);
  border-radius: 12px;
  padding: 12px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.pin-copy-btn::part(label) {
  display: none;
}

.pin-code {
  font-size: 20px;
  letter-spacing: 4px;
  font-weight: 700;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-strong);
  font-size: var(--text-sm);
}

.checkbox-row input {
  margin-top: 4px;
}

.app .btn.btn-danger {
  width: auto;
  padding: 10px 16px;
}

.app h1 {
  margin: 0;
}

.app p {
  color: var(--muted);
}

.app input[type="file"] {
  width: 100%;
  margin: 12px 0 20px 0;
}

.app .drop-zone {
  border: 1.5px dashed var(--drop-border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--drop-bg);
  margin-bottom: 18px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.app .drop-zone.active {
  border-color: var(--primary);
  background: var(--drop-bg-active);
  box-shadow: var(--glow);
}

.app .hint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.app .file-details {
  width: 100%;
  margin: 12px 0 20px;
  padding: 12px;
  border-radius: 8px;
  background: var(--secondary-bg);
  color: var(--text);
  text-align: left;
  min-height: 48px;
  border: 1px solid var(--secondary-border);
}

.app .retention-row {
  margin: 6px 0 10px;
  display: grid;
  gap: 4px;
}

.app .retention-row label {
  font-weight: 600;
  color: var(--text-strong);
}

.app select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--secondary-border);
  background: var(--card-bg);
  color: var(--text);
  font-weight: 600;
}

.retention-hint {
  margin: 0;
  font-size: var(--text-xs);
}

.app .btn {
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.app .btn.btn-secondary {
  width: auto;
  margin-top: 0;
}

.app .btn.btn-secondary:hover {
  box-shadow: none;
  transform: none;
}

.profile-menu {
  position: relative;
}

.profile-menu-list {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  min-width: 180px;
  max-width: min(240px, 90vw);
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--outline);
  background: var(--card-bg);
  box-shadow: var(--shadow-md);
  margin-top: 8px;
  gap: 6px;
  z-index: 20;
}

.profile-menu-list::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.profile-menu:hover .profile-menu-list {
  display: grid;
}

.profile-menu.open .profile-menu-list {
  display: grid;
}

.profile-menu-btn {
  width: auto;
}

.profile-menu:hover .profile-menu-btn {
  background: var(--secondary-border);
}

.profile-menu-item {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-strong);
  font-weight: 500;
  font-size: 14px;
  border: 1px solid transparent;
}

.profile-menu-item:hover {
  border-color: var(--outline);
  background: var(--secondary-bg);
}

.app progress {
  display: none;
  width: 100%;
  height: 12px;
  margin: 14px 0 6px 0;
  accent-color: var(--primary);
  background-color: var(--progress-bg);
  border-radius: 10px;
  overflow: hidden;
}

.app .progress-info {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
  text-align: center;
}

/* Keep upload success content in one aligned column on mobile. */
.app .upload-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 100%;
}

.app .upload-flow > * {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.app .upload-flow .drop-zone,
.app .upload-flow .file-details,
.app .upload-flow .retention-row,
.app .upload-flow #result,
.app .upload-flow progress,
.app .upload-flow .progress-info {
  margin: 0;
}

.app #result {
  margin-top: 12px;
  text-align: left;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app #result p {
  margin: 0;
}

.app #result a {
  color: var(--primary);
  text-decoration: none;
}

.app #result code {
  display: inline-block;
  padding: 2px 6px;
  background: var(--secondary-bg);
  border-radius: 6px;
  font-size: 13px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.app .download-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.app .toast-stack {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1200;
  width: min(360px, calc(100% - 32px));
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}

.app .toast-stack sl-alert {
  pointer-events: auto;
}

.app .icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--secondary-border);
  background: var(--secondary-bg);
  color: var(--text);
  box-shadow: none;
  font-size: 18px;
}

.app .icon-btn:hover {
  background: var(--secondary-border);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.theme-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.theme-toggle-box {
  width: 58px;
  height: 30px;
  background: #ffffff;
  border: 2px solid #0b1220;
  border-radius: 999px;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle-ball {
  width: 24px;
  height: 24px;
  background: #0b1220;
  border-radius: 50%;
  position: absolute;
  top: 1px;
  left: 2px;
  transition: transform 0.2s ease;
  z-index: 1;
}

.theme-toggle input:checked + .theme-toggle-box {
  background: inherit;
  border-color: inherit;
}

.theme-toggle input:checked + .theme-toggle-box .theme-toggle-ball {
  transform: translateX(26px);
}

.theme-toggle input:focus-visible + .theme-toggle-box {
  outline: 2px solid var(--primary-strong);
  outline-offset: 2px;
}

:root[data-theme="dark"] .theme-toggle-box {
  background: #0b1220;
  border-color: #0b1220;
}

:root[data-theme="dark"] .theme-toggle-ball {
  background: #ffffff;
}


.app .hidden {
  display: none !important;
}

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

  .app-head {
    flex-direction: column;
  }

  .nav-toggle-btn {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    background: var(--card-bg);
    border: 1px solid var(--outline);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    display: flex;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.25s ease, opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-toggle:checked ~ .nav-menu {
    max-height: 480px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links,
  .nav-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-actions {
    order: 1;
  }

  .nav-links {
    order: 2;
  }

  .nav-menu .theme-toggle {
    order: 3;
    align-self: flex-start;
    margin-left: 0;
  }

  .nav-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-actions {
    border-left: none;
    padding-left: 0;
  }

  .nav-divider {
    width: 100%;
    height: 1px;
  }

  .profile-menu {
    width: 100%;
  }

  .profile-menu-btn {
    width: 100%;
  }

  .profile-menu-list {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
    min-width: 0;
    max-width: 100%;
    left: 0;
    right: auto;
  }
}

.billing-page .app-head {
  align-items: flex-end;
  gap: 18px;
}

.billing-page .billing-toggle {
  margin-top: 0;
}

.billing-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.billing-plan-card {
  display: grid;
  gap: 18px;
}

.billing-plan-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.billing-plan-intro {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
  align-items: center;
}

.billing-illustration {
  width: 120px;
  height: 120px;
  border-radius: 18px;
  border: 1px solid var(--outline);
  background: var(--secondary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.billing-illustration svg {
  width: 80%;
  height: 80%;
}

.billing-price-row {
  margin-top: 8px;
  display: grid;
  gap: 4px;
}

.billing-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.billing-price-amount {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-strong);
}

.billing-price-suffix {
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--muted);
}

.billing-subprice {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--muted);
}

.billing-upsell {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--primary-strong);
  font-weight: 600;
}

.billing-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.billing-status {
  margin-top: 8px;
}

.billing-features {
  margin-top: 16px;
}

.billing-feature-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 10px;
  color: var(--text-strong);
}

.billing-feature-list li {
  position: relative;
  padding-left: 22px;
}

.billing-feature-list li::before {
  content: \"✓\";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

.billing-side-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.billing-error {
  justify-content: space-between;
}

.billing-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

@media (max-width: 720px) {
  .billing-plan-intro {
    grid-template-columns: 1fr;
  }

  .billing-illustration {
    width: 96px;
    height: 96px;
  }
}

@media (min-width: 900px) {
  .billing-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  }
}

@media (max-width: 540px) {
  .app-shell {
    padding: 16px 0 32px;
  }

  .app-panel {
    padding: 20px;
  }

  .app-top {
    flex-wrap: wrap;
  }

  .app .user-status {
    max-width: 100%;
    text-align: left;
  }

  .app button {
    font-size: 15px;
  }

  .app .file-details p {
    margin: 0 0 4px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    padding: 0 4px;
  }

  .app .download-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .app .download-actions > * {
    width: 100%;
  }

  .app .download-actions sl-copy-button {
    width: 100%;
  }
}
