:root {
  --bg:        var(--tg-theme-bg-color, #ffffff);
  --bg-2:      var(--tg-theme-secondary-bg-color, #f0f2f5);
  --text:      var(--tg-theme-text-color, #0f172a);
  --hint:      var(--tg-theme-hint-color, #64748b);
  --link:      var(--tg-theme-link-color, #2481cc);
  --accent:    var(--tg-theme-button-color, #2481cc);
  --on-accent: var(--tg-theme-button-text-color, #ffffff);
  --section:   var(--tg-theme-section-bg-color, #ffffff);
  --separator: var(--tg-theme-section-separator-color, rgba(0,0,0,0.06));

  --danger:    #ef4444;
  --success:   #10b981;
  --warning:   #f59e0b;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-2: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-accent: 0 8px 28px -8px color-mix(in srgb, var(--accent) 50%, transparent);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-2: 0 4px 14px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0;
  padding: 0;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Inter", system-ui, Roboto, sans-serif;
  font-feature-settings: "ss01", "cv01", "cv11";
  min-height: 100vh;
  padding: env(safe-area-inset-top, 0) 0 env(safe-area-inset-bottom, 0);
  letter-spacing: -0.005em;
}

#app {
  padding: var(--space-4);
  max-width: 560px;
  margin: 0 auto;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ Skeletons (loading) ============ */
.skeleton-screen {
  padding: var(--space-4);
  max-width: 560px;
  margin: 0 auto;
}
.skeleton {
  background: linear-gradient(90deg,
    var(--bg-2) 0%,
    color-mix(in srgb, var(--bg-2) 60%, var(--bg) 40%) 50%,
    var(--bg-2) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius);
}
.skeleton-hero { height: 180px; margin-bottom: var(--space-3); }
.skeleton-line { height: 20px; width: 60%; margin: var(--space-3) 0 var(--space-4); border-radius: var(--radius-sm); }
.skeleton-card { height: 70px; margin-bottom: var(--space-2); }
@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ============ Header ============ */
.app-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding: var(--space-1) 0;
}
.app-header .logo {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #4f46e5));
  color: var(--on-accent);
  border-radius: 11px;
  box-shadow: var(--shadow-accent);
  font-size: 20px;
}
.app-header .titles { flex: 1; min-width: 0; }
.app-header .title { font-size: 17px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.app-header .subtitle { font-size: 12px; color: var(--hint); margin-top: 2px; }

/* ============ Hero (counter) ============ */
.hero {
  position: relative;
  padding: var(--space-6) var(--space-5);
  background:
    radial-gradient(circle at 0% 0%, color-mix(in srgb, #818cf8 90%, transparent) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, color-mix(in srgb, #06b6d4 90%, transparent) 0%, transparent 50%),
    linear-gradient(135deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 60%, #4338ca) 100%);
  color: var(--on-accent);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  box-shadow: var(--shadow-accent);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%; right: -30%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,0.22) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -55%; left: -15%;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 15s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(20px, 20px) scale(1.08); }
}
.hero-content { position: relative; z-index: 1; }
.hero .label-top {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: var(--space-2);
}
.hero .counter {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}
.hero .counter.pulse {
  animation: pulse 0.5s ease;
}
@keyframes pulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.08); text-shadow: 0 0 20px rgba(255,255,255,0.5); }
  100% { transform: scale(1); text-shadow: none; }
}
.hero .counter .total {
  font-size: 32px;
  font-weight: 600;
  opacity: 0.55;
  margin-left: 2px;
}
.hero .label { font-size: 15px; opacity: 0.9; margin-top: var(--space-1); }
.hero .progress {
  height: 6px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  margin-top: var(--space-4);
  overflow: hidden;
}
.hero .progress-fill {
  height: 100%;
  background: var(--on-accent);
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(255,255,255,0.4);
}
.hero .stats {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-3);
  font-size: 13px;
  opacity: 0.85;
}
.hero .stats .stat { display: flex; align-items: center; gap: 4px; }
.hero .stats svg { width: 14px; height: 14px; }

/* ============ Trust strip ============ */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-3) var(--space-2);
  background: var(--section);
  border-radius: var(--radius);
  border: 1px solid var(--separator);
  gap: 4px;
}
.trust-item svg { width: 22px; height: 22px; color: var(--accent); margin-bottom: 2px; }
.trust-item .v { font-size: 13px; font-weight: 600; }
.trust-item .l { font-size: 10px; color: var(--hint); line-height: 1.2; }

/* ============ Section ============ */
.section {
  background: var(--section);
  border-radius: var(--radius);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
  box-shadow: var(--shadow-1);
  border: 1px solid var(--separator);
}
.section h2 {
  margin: 0 0 var(--space-3);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hint);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section h2 .count {
  background: var(--bg-2);
  color: var(--hint);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
}

/* ============ Buttons ============ */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  padding: 14px 18px;
  background: var(--accent);
  color: var(--on-accent);
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: -0.005em;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  margin-bottom: var(--space-2);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
  box-shadow: var(--shadow-1);
  position: relative;
  overflow: hidden;
}
.btn:hover { box-shadow: var(--shadow-2); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn.primary {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 75%, #4f46e5));
  box-shadow: var(--shadow-accent);
}
.btn.primary:hover { box-shadow: 0 12px 32px -8px color-mix(in srgb, var(--accent) 60%, transparent); }

.btn.secondary {
  background: var(--bg-2);
  color: var(--text);
  box-shadow: none;
  border: 1px solid var(--separator);
}
.btn.success {
  background: linear-gradient(135deg, var(--success), color-mix(in srgb, var(--success) 80%, #059669));
}
.btn.danger {
  background: var(--bg);
  color: var(--danger);
  box-shadow: none;
  border: 1px solid color-mix(in srgb, var(--danger) 25%, transparent);
}
.btn.ghost {
  background: transparent;
  color: var(--hint);
  box-shadow: none;
  font-weight: 500;
}

/* ============ Group cards ============ */
.group-card {
  display: block;
  padding: var(--space-4);
  background: var(--section);
  border-radius: var(--radius);
  margin-bottom: var(--space-2);
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--separator);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.group-card:hover { box-shadow: var(--shadow-2); transform: translateY(-1px); }
.group-card:active { transform: scale(0.99); }
.group-card .row1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
  gap: var(--space-2);
}
.group-card .role {
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.group-card .role svg { width: 16px; height: 16px; color: var(--warning); }
.group-card .info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--hint);
  font-size: 13px;
  gap: var(--space-3);
}
.group-card .price-info {
  font-weight: 600;
  color: var(--text);
}

/* Stacked avatars (inside group cards / on home) */
.avatar-stack {
  display: flex;
  align-items: center;
}
.avatar-stack .av {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--section);
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
  color: var(--hint);
  margin-left: -6px;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar-stack .av:first-child { margin-left: 0; }
.avatar-stack .av img { width: 100%; height: 100%; object-fit: cover; }
.avatar-stack .more {
  font-size: 11px; color: var(--hint); margin-left: 6px; font-weight: 500;
}

/* ============ Badges ============ */
.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 10px;
  text-transform: none;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.badge.forming      { background: color-mix(in srgb, var(--hint) 12%, transparent); color: var(--hint); }
.badge.ready_check  { background: color-mix(in srgb, var(--warning) 15%, transparent); color: var(--warning); }
.badge.paying       { background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent); }
.badge.sealed       { background: color-mix(in srgb, var(--success) 15%, transparent); color: var(--success); }
.badge.released     { background: var(--success); color: white; }

/* ============ Avatar palette (deterministic by user_id) ============ */
.avatar.c0, .av.c0 { background: linear-gradient(135deg, #fda4af, #fb7185); color: #fff; }
.avatar.c1, .av.c1 { background: linear-gradient(135deg, #fcd34d, #f59e0b); color: #fff; }
.avatar.c2, .av.c2 { background: linear-gradient(135deg, #6ee7b7, #10b981); color: #fff; }
.avatar.c3, .av.c3 { background: linear-gradient(135deg, #93c5fd, #3b82f6); color: #fff; }
.avatar.c4, .av.c4 { background: linear-gradient(135deg, #c4b5fd, #8b5cf6); color: #fff; }
.avatar.c5, .av.c5 { background: linear-gradient(135deg, #f9a8d4, #ec4899); color: #fff; }
.avatar.c6, .av.c6 { background: linear-gradient(135deg, #67e8f9, #06b6d4); color: #fff; }
.avatar.c7, .av.c7 { background: linear-gradient(135deg, #fdba74, #f97316); color: #fff; }

/* ============ Members list ============ */
.member {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--separator);
}
.member:first-child { padding-top: 0; }
.member:last-child  { border-bottom: none; padding-bottom: 0; }
.member .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-2), color-mix(in srgb, var(--bg-2) 70%, var(--accent) 30%));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  flex-shrink: 0;
  font-size: 16px;
}
.member .avatar img { width: 100%; height: 100%; object-fit: cover; }
.member .name {
  flex: 1;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.member .name .crown { width: 14px; height: 14px; color: var(--warning); flex-shrink: 0; }
.member .name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member .status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
}
.member .status svg { width: 14px; height: 14px; }
.member .status.paid    { background: color-mix(in srgb, var(--success) 12%, transparent); color: var(--success); }
.member .status.ready   { background: color-mix(in srgb, var(--success) 12%, transparent); color: var(--success); }
.member .status.declined{ background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }
.member .status.pending { background: var(--bg-2); color: var(--hint); }

/* ============ Price block ============ */
.price-block {
  text-align: center;
  padding: var(--space-5);
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--accent) 8%, var(--bg)) 0%,
    color-mix(in srgb, var(--accent) 12%, var(--bg)) 100%);
  border-radius: var(--radius-lg);
  margin: var(--space-3) 0;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}
.price-block .label-top {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hint);
  margin-bottom: var(--space-2);
}
.price-block .price {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.price-block .price-sub {
  color: var(--hint);
  font-size: 13px;
  margin-top: var(--space-2);
}
.price-block .meta {
  display: flex;
  justify-content: space-around;
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px dashed color-mix(in srgb, var(--accent) 25%, transparent);
}
.price-block .meta-item .v { font-weight: 700; font-size: 16px; }
.price-block .meta-item .l { font-size: 11px; color: var(--hint); margin-top: 2px; }

/* ============ Sub-page header ============ */
.page-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-3);
  gap: var(--space-3);
  padding: var(--space-1) 0;
}
.page-header .back {
  background: transparent;
  border: none;
  padding: 8px;
  margin-left: -8px;
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
}
.page-header .back svg { width: 22px; height: 22px; }
.page-header .back:active { background: var(--bg-2); }
.page-header h1 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  flex: 1;
  letter-spacing: -0.01em;
}

/* ============ Empty state ============ */
.empty {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  color: var(--hint);
}
.empty .icon {
  width: 56px; height: 56px;
  margin: 0 auto var(--space-3);
  background: var(--bg-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--hint);
}
.empty .icon svg { width: 28px; height: 28px; }
.empty .title { font-weight: 600; color: var(--text); margin-bottom: 4px; font-size: 15px; }
.empty .desc  { font-size: 13px; line-height: 1.45; }

/* ============ Toast ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--space-6) + env(safe-area-inset-bottom, 0));
  transform: translateX(-50%) translateY(20px);
  background: rgba(15, 23, 42, 0.95);
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  max-width: 90%;
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============ Savings hint ============ */
.savings-hint {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--success) 12%, var(--bg)),
    color-mix(in srgb, var(--success) 6%, var(--bg)));
  border: 1px dashed color-mix(in srgb, var(--success) 35%, transparent);
  border-radius: var(--radius);
  margin-bottom: var(--space-3);
  font-size: 13px;
  line-height: 1.4;
}
.savings-hint .icon-circle {
  width: 32px; height: 32px;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--success) 15%, var(--bg));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--success);
}
.savings-hint .icon-circle svg { width: 16px; height: 16px; }
.savings-hint .text strong { color: var(--success); }

/* ============ Section entrance stagger ============ */
.stagger > * { opacity: 0; transform: translateY(8px); animation: slideUp 0.4s ease forwards; }
.stagger > *:nth-child(1) { animation-delay: 0.00s; }
.stagger > *:nth-child(2) { animation-delay: 0.06s; }
.stagger > *:nth-child(3) { animation-delay: 0.12s; }
.stagger > *:nth-child(4) { animation-delay: 0.18s; }
.stagger > *:nth-child(5) { animation-delay: 0.24s; }
.stagger > *:nth-child(6) { animation-delay: 0.30s; }
.stagger > *:nth-child(7) { animation-delay: 0.36s; }
.stagger > *:nth-child(8) { animation-delay: 0.42s; }
@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============ Misc ============ */
.text-hint { color: var(--hint); font-size: 13px; line-height: 1.5; }
.text-center { text-align: center; }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }

/* ============ Admin ============ */
.admin-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  margin-bottom: var(--space-2);
  background: var(--bg-2);
  color: var(--hint);
  border: 1px dashed var(--separator);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.admin-link svg { width: 16px; height: 16px; }

.admin-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.admin-stat {
  background: var(--section);
  border: 1px solid var(--separator);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
}
.admin-stat .l { font-size: 11px; color: var(--hint); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.admin-stat .v { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.admin-stat .v.accent { color: var(--accent); }
.admin-stat .v.success { color: var(--success); }
.admin-stat .v.warning { color: var(--warning); }
.admin-stat .sub { font-size: 11px; color: var(--hint); margin-top: 2px; }

.kv-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--separator);
  font-size: 14px;
}
.kv-row:last-child { border-bottom: none; }
.kv-row .k { color: var(--hint); }
.kv-row .v { font-weight: 600; font-variant-numeric: tabular-nums; }
.kv-row .v.ok  { color: var(--success); }
.kv-row .v.bad { color: var(--danger); }

/* Filter chips */
.chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 0;
  margin-bottom: var(--space-3);
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  padding: 6px 12px;
  background: var(--bg-2);
  color: var(--hint);
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.12s;
}
.chip.active {
  background: var(--accent);
  color: var(--on-accent);
}
.chip:active { transform: scale(0.96); }

.admin-group-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-3) var(--space-4);
  background: var(--section);
  border: 1px solid var(--separator);
  border-radius: var(--radius);
  margin-bottom: var(--space-2);
  text-decoration: none;
  color: var(--text);
}
.admin-group-row .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-group-row .gid { font-weight: 700; font-size: 15px; }
.admin-group-row .meta { display: flex; justify-content: space-between; color: var(--hint); font-size: 12px; }

/* "How it works" steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.step { display: flex; gap: var(--space-3); align-items: flex-start; }
.step .num {
  width: 28px; height: 28px;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.step .content .t { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.step .content .d { font-size: 13px; color: var(--hint); line-height: 1.45; }

/* Notice / banner */
.notice {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--warning) 10%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--warning) 30%, transparent);
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: var(--space-3);
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}
.notice svg { width: 16px; height: 16px; color: var(--warning); flex-shrink: 0; margin-top: 2px; }
