/* ============================================================
   Crypto Tax Calculator — Dark Theme Styles
   Standalone version (no WordPress overrides needed)
   ============================================================ */

/* ---- Reset & Base ---- */
.uc-calculator,
.uc-calculator * {
  box-sizing: border-box;
}

.uc-calculator {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 48px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
  background: transparent;
}

.uc-calculator code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.uc-phase { display: none; }
.uc-phase.uc-active { display: block; }

/* ---- Result-state hero compression ---- */
.uc-result-state .hero {
  padding-top: 30px;
  padding-bottom: 18px;
}
.uc-result-state .hero::before {
  top: -150px;
  height: 300px;
  opacity: 0.58;
}
.uc-result-state .hero-badge,
.uc-result-state .hero-sub,
.uc-result-state .hero-trust-row {
  display: none;
}
.uc-result-state .hero-brand {
  margin-bottom: 4px;
}
.uc-result-state .hero h1 {
  font-size: clamp(2rem, 4.8vw, 3.1rem);
}

/* ---- Card (dark glass) ---- */
.uc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  padding: 28px 24px;
  margin-bottom: 14px;
}

/* ---- Hero / Badge ---- */
.uc-hero { text-align: center; margin-bottom: 32px; }
.uc-hero-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 40px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent-light);
  background: var(--accent-bg);
  border: 1px solid rgba(99, 102, 241, 0.2);
  text-transform: uppercase;
}
.uc-title { font-size: 32px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 10px; text-align: center; }
.uc-subtitle { font-size: 15px; color: var(--text-secondary); max-width: 460px; margin: 0 auto; line-height: 1.65; text-align: center; }

/* ---- Exchange Selector ---- */
.uc-exchange-selector {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.uc-exchange-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-card);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
  font-family: inherit;
}

.uc-exchange-btn:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

.uc-exchange-btn.active {
  border-color: var(--accent);
  background: var(--accent-bg);
  color: var(--accent-light);
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.uc-exchange-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* ---- Country & Year Selectors ---- */
.uc-selectors { margin-bottom: 20px; text-align: center; }
.uc-countries { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 32px; }
.uc-country-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 10px;
  border: 1.5px solid var(--border-strong); background: var(--bg-card);
  color: var(--text-secondary); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.15s ease; font-family: inherit;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); line-height: 1.4;
}
.uc-country-btn:hover { border-color: rgba(99, 102, 241, 0.4); color: var(--text-primary); }
.uc-country-btn.active {
  border-color: var(--accent); background: var(--accent-bg);
  color: var(--accent-light); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.uc-flag { font-size: 17px; line-height: 1; }

.uc-year-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); text-align: center; margin-bottom: 8px; display: block; }
.uc-year-buttons { display: flex; justify-content: center; gap: 6px; }
.uc-year-btn {
  padding: 9px 24px; border-radius: 10px;
  border: 1.5px solid var(--border-strong); background: var(--bg-card);
  font-size: 14px; font-weight: 600; color: var(--text-secondary);
  cursor: pointer; transition: all 0.15s ease; font-family: inherit;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.uc-year-btn:hover { border-color: rgba(99, 102, 241, 0.4); }
.uc-year-btn.active {
  border-color: var(--accent); background: var(--accent-bg);
  color: var(--accent-light); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.uc-method-selector {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.uc-method-label {
  margin-bottom: 0;
}

.uc-method-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.uc-method-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.uc-method-help {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: left;
}

/* ---- Error / Notice banners ---- */
.uc-error-banner { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); border-radius: 12px; padding: 12px 16px; color: #fca5a5; font-size: 14px; margin-bottom: 14px; }
.uc-notice-banner { background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.3); border-radius: 12px; padding: 12px 16px; color: var(--accent-light); font-size: 13px; margin-bottom: 14px; line-height: 1.5; }

/* ---- Input Card ---- */
.uc-input-card { max-width: 580px; margin: 0 auto; padding: 32px 28px; }
.uc-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }

/* CSV Upload Area */
.uc-csv-upload-area {
  border: 2px dashed var(--border-strong); border-radius: 14px;
  padding: 36px 20px; text-align: center; cursor: pointer;
  transition: all 0.2s ease; background: var(--bg-elevated);
}
.uc-csv-upload-area:hover, .uc-csv-upload-area.uc-dragging {
  border-color: var(--accent); background: var(--accent-bg);
}
.uc-csv-icon { font-size: 28px; display: block; margin-bottom: 8px; }
.uc-csv-browse { color: var(--accent-light); text-decoration: underline; cursor: pointer; background: none; border: none; font-size: 14px; font-weight: 600; font-family: inherit; }
.uc-csv-loaded {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3); border-radius: 12px;
  font-size: 14px; color: var(--green);
}
.uc-csv-check { font-size: 16px; font-weight: 600; color: var(--green); }
.uc-csv-remove { background: none; border: none; font-size: 18px; cursor: pointer; color: var(--text-muted); margin-left: auto; padding: 0 4px; }
.uc-csv-remove:hover { color: var(--red); }

/* ---- Help sections ---- */
.uc-help-section { margin-top: 10px; }
.uc-help-toggle { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--accent-light); background: none; border: none; cursor: pointer; padding: 0; font-family: inherit; font-weight: 500; }
.uc-help-toggle:hover { color: var(--accent); }
.uc-help-arrow { font-size: 11px; transition: transform 0.2s; }
.uc-help-arrow.uc-open { transform: rotate(90deg); }
.uc-help-box { overflow: hidden; max-height: 0; transition: max-height 0.3s ease; }
.uc-help-box.uc-open { max-height: 400px; }
.uc-help-content { padding: 10px 0 0 16px; font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.uc-help-title { font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.uc-hl { color: var(--accent-light); font-weight: 600; }
.uc-help-note { margin-top: 8px; font-style: italic; color: var(--text-muted); }
.uc-help-steps { text-align: left; padding-left: 20px; margin: 8px 0; list-style-position: outside; }
.uc-help-steps li { margin-bottom: 6px; font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ---- Activity checkboxes / DeFi gating ---- */
.uc-activity-section { margin-top: 24px; }
.uc-activity-divider { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.uc-activity-divider::before, .uc-activity-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.uc-activity-checks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.uc-check-label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-secondary); cursor: pointer; }
.uc-check-label input { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }
.uc-blocked-msg { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.3); border-radius: 14px; padding: 18px; margin-bottom: 16px; }
.uc-blocked-title { font-weight: 600; color: var(--amber); margin-bottom: 4px; font-size: 14px; }
.uc-blocked-msg p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 10px; }

/* Tool recommendation cards */
.uc-tool-cards { display: flex; flex-direction: column; gap: 8px; }
.uc-tool-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; background: var(--bg-elevated);
  border: 1px solid var(--border); border-radius: 14px;
  text-decoration: none; color: inherit; transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.uc-tool-card:hover { border-color: var(--accent); box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15); transform: translateY(-1px); }
.uc-tool-logo { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; flex-shrink: 0; }
.uc-tool-info { flex: 1; min-width: 0; }
.uc-tool-name { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.uc-tool-desc { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.uc-tool-cta { font-size: 13px; font-weight: 600; color: var(--accent-light); white-space: nowrap; flex-shrink: 0; }

/* ---- Primary button ---- */
.uc-btn-primary {
  display: block; width: 100%; padding: 16px;
  border: none; border-radius: 14px;
  font-size: 16px; font-weight: 700; cursor: pointer;
  transition: all 0.2s ease;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3), 0 1px 3px rgba(99, 102, 241, 0.15);
  font-family: inherit;
  margin-top: 8px;
}
.uc-btn-primary:hover { background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%); box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4); transform: translateY(-1px); }
.uc-btn-primary:disabled { background: var(--border-strong); box-shadow: none; cursor: not-allowed; transform: none; color: var(--text-muted); }

.uc-btn-secondary { display: inline-block; padding: 12px 24px; border: 1.5px solid var(--border-strong); border-radius: 12px; font-size: 14px; font-weight: 600; cursor: pointer; background: var(--bg-card); color: var(--text-secondary); transition: all 0.15s ease; font-family: inherit; }
.uc-btn-secondary:hover { border-color: var(--accent); color: var(--accent-light); }
.uc-btn-back { font-size: 13px; color: var(--text-muted); background: none; border: none; cursor: pointer; padding: 0; font-family: inherit; font-weight: 500; }
.uc-btn-back:hover { color: var(--accent-light); }

/* ---- Country info ---- */
.uc-country-info { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: var(--bg-elevated); font-size: 13px; color: var(--text-secondary); line-height: 1.5; text-align: center; }

/* ---- Trust signals ---- */
.uc-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; font-size: 13px; color: var(--text-muted); margin-top: 24px; font-weight: 500; }

/* ---- Scanning phase ---- */
.uc-scan-header { text-align: center; margin-bottom: 20px; }
.uc-scan-header h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); }
.uc-scan-header p { font-size: 14px; color: var(--text-secondary); }
.uc-scan-card { padding: 28px 24px; }
.uc-progress-track { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; margin-bottom: 18px; }
.uc-progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); border-radius: 3px; transition: width 0.4s ease; }
.uc-scan-steps { font-size: 13px; color: var(--text-secondary); }
.uc-step { padding: 4px 0; }
.uc-step-active { color: var(--accent-light); }
.uc-step-done { color: var(--green); font-weight: 500; }
.uc-scan-pct { font-size: 13px; color: var(--text-muted); margin-top: 8px; text-align: center; }

/* ---- Results phase ---- */
#uc-phase-results { text-align: left; }
.uc-results-header { margin-bottom: 14px; }

/* Report header */
.uc-report-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.uc-rh-left { display: flex; align-items: center; gap: 12px; }
.uc-rh-flag { font-size: 22px; }
.uc-rh-country { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.uc-rh-year { font-size: 13px; color: var(--text-secondary); }
.uc-rh-right { font-size: 12px; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; }

/* Hero grid */
.uc-hero-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.uc-hero-grid.uc-hero-grid-two-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.uc-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 20px 16px; text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.uc-stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; font-weight: 600; }
.uc-hero-value { font-size: 24px; font-weight: 800; }
.uc-pnl-pos { color: var(--green); }
.uc-pnl-neg { color: var(--red); }
.uc-stat-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.uc-hero-card-compact { padding: 18px 16px; }

.uc-results-summary-main {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  padding: 26px 24px 22px;
  border-radius: 22px;
  border: 1px solid rgba(129, 140, 248, 0.25);
  background:
    radial-gradient(circle at top right, rgba(129, 140, 248, 0.22), transparent 36%),
    linear-gradient(135deg, rgba(30, 27, 75, 0.96), rgba(15, 15, 26, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 50px rgba(9, 10, 20, 0.48);
}
.uc-results-summary-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.03), transparent 45%);
  pointer-events: none;
}
.uc-results-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.uc-results-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.24);
  background: rgba(99, 102, 241, 0.16);
  color: var(--accent-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.uc-results-summary-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(241, 245, 249, 0.56);
}
.uc-results-summary-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 20px;
  align-items: end;
  position: relative;
  z-index: 1;
}
.uc-results-summary-value {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: #f8fafc;
}
.uc-results-summary-copy h3 {
  font-size: 1.55rem;
  line-height: 1.05;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
  color: #f8fafc;
}
.uc-results-summary-copy p {
  font-size: 14px;
  line-height: 1.65;
  max-width: 34ch;
  color: rgba(241, 245, 249, 0.82);
}
.uc-results-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}
.uc-results-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}
.uc-results-chip-good {
  color: var(--green);
  border-color: rgba(34, 197, 94, 0.22);
  background: rgba(34, 197, 94, 0.1);
}
.uc-results-chip-warn {
  color: var(--amber);
  border-color: rgba(245, 158, 11, 0.22);
  background: rgba(245, 158, 11, 0.1);
}
.uc-results-chip-accent {
  color: var(--accent-light);
  border-color: rgba(129, 140, 248, 0.22);
  background: rgba(99, 102, 241, 0.1);
}
.uc-results-chip-muted {
  color: rgba(241, 245, 249, 0.72);
}

/* Mini CTA */
.uc-mini-cta { margin-bottom: 14px; }
.uc-mini-cta-text { font-size: 14px; font-weight: 600; color: var(--accent-light); }
.uc-btn-mini-cta { width: 100%; padding: 14px 18px; font-size: 15px; margin-top: 0; }

.uc-offer-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.85fr);
  gap: 22px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(129, 140, 248, 0.22);
  background:
    radial-gradient(circle at top left, rgba(129, 140, 248, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(18, 18, 32, 0.98), rgba(11, 11, 19, 1));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 48px rgba(0, 0, 0, 0.28);
}
.uc-offer-hero::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  top: -90px;
  right: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 70%);
  pointer-events: none;
}
.uc-offer-copy,
.uc-offer-panel {
  position: relative;
  z-index: 1;
}
.uc-offer-title {
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 14px 0 10px;
  color: #f8fafc;
}
.uc-offer-body {
  font-size: 15px;
  line-height: 1.7;
  max-width: 42ch;
  color: rgba(241, 245, 249, 0.82);
}
.uc-offer-reason {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  background: rgba(99, 102, 241, 0.08);
  color: rgba(241, 245, 249, 0.78);
  font-size: 13px;
  line-height: 1.55;
}
.uc-offer-reason-warn {
  border-color: rgba(245, 158, 11, 0.24);
  background: rgba(245, 158, 11, 0.08);
  color: #fcd34d;
}
.uc-offer-reason-accent {
  border-color: rgba(129, 140, 248, 0.24);
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-light);
}
.uc-offer-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-top: 18px;
}
.uc-offer-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(241, 245, 249, 0.74);
  font-size: 13px;
  line-height: 1.5;
}
.uc-offer-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(129, 140, 248, 0.16);
  background: rgba(8, 8, 14, 0.72);
  backdrop-filter: blur(8px);
}
.uc-offer-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(241, 245, 249, 0.5);
  margin-bottom: 8px;
}
.uc-offer-price-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.uc-offer-price {
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #f8fafc;
}
.uc-offer-price-copy {
  font-size: 13px;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.72);
  margin-bottom: 4px;
}
.uc-offer-price-note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(241, 245, 249, 0.68);
}
.uc-offer-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.uc-offer-proof span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(241, 245, 249, 0.72);
  font-size: 12px;
  font-weight: 600;
}
.uc-offer-footnote {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(241, 245, 249, 0.46);
}

/* Activity grid */
.uc-activity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.uc-stat-card {
  background: var(--bg-elevated); border-radius: 14px; padding: 16px;
  text-align: center; border: 1px solid var(--border);
}
.uc-stat-card-muted {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(129, 140, 248, 0.08);
  padding: 14px 14px 12px;
  box-shadow: none;
}
.uc-stat-card-muted .uc-stat-label {
  color: rgba(241, 245, 249, 0.38);
}
.uc-stat-card-muted .uc-stat-value {
  font-size: 18px;
}
.uc-stat-value { font-size: 20px; font-weight: 800; color: var(--text-primary); }

/* Section labels */
.uc-section-label { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.uc-found-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.uc-found-text strong { font-weight: 600; color: var(--text-primary); }

/* Coverage */
.uc-cov-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.uc-cov-score { font-size: 22px; font-weight: 800; color: var(--green); }
.uc-cov-sub { font-size: 13px; color: var(--green); margin-left: 6px; }
.uc-cov-badge { font-size: 12px; color: var(--green); background: rgba(34, 197, 94, 0.1); padding: 4px 12px; border-radius: 8px; font-weight: 600; }
.uc-cov-track { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; margin-bottom: 14px; }
.uc-cov-fill { height: 100%; background: var(--green); border-radius: 3px; transition: width 0.8s ease; }
.uc-cov-items { display: flex; flex-direction: column; gap: 6px; }
.uc-cov-item { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.uc-cov-icon { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; flex-shrink: 0; }
.uc-cov-icon-green { background: rgba(34, 197, 94, 0.15); color: var(--green); }
.uc-cov-icon-amber { background: rgba(245, 158, 11, 0.15); color: var(--amber); }
.uc-cov-label { color: var(--text-secondary); flex: 1; }
.uc-cov-status { font-size: 12px; color: var(--green); }

/* Top assets */
.uc-top-row { display: flex; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.uc-top-row:last-of-type { border-bottom: none; }
.uc-top-title { flex: 1; color: var(--text-secondary); font-weight: 500; }
.uc-top-pnl { font-weight: 700; }
.uc-top-vol { color: var(--text-muted); margin-left: 14px; font-size: 12px; }
.uc-more-hint { font-size: 12px; color: var(--accent-light); margin-top: 8px; cursor: pointer; font-weight: 500; }

/* Filing recommendation */
.uc-filing-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.uc-badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 8px; flex-shrink: 0; }
.uc-badge-low { background: rgba(34, 197, 94, 0.15); color: var(--green); }
.uc-badge-med { background: rgba(245, 158, 11, 0.15); color: var(--amber); }
.uc-badge-high { background: rgba(239, 68, 68, 0.15); color: var(--red); }

/* Tax note */
.uc-tax-note-text { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.uc-tax-note-highlight {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(129, 140, 248, 0.16);
  background: rgba(99, 102, 241, 0.08);
  color: rgba(241, 245, 249, 0.76);
  font-size: 13px;
  line-height: 1.6;
}

/* Features grid */
.uc-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.uc-feature-item { font-size: 13px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
.uc-feature-check { color: var(--green); font-weight: 600; }

/* Main CTA box */
.uc-cta-box {
  background: var(--bg-card);
  border: 2px solid var(--accent); border-radius: 20px;
  padding: 28px 24px; margin-bottom: 14px; text-align: center;
  box-shadow: 0 8px 40px rgba(99, 102, 241, 0.15);
}
.uc-cta-box h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); }
.uc-cta-box p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 16px; }
.uc-cta-box p strong { font-weight: 600; color: var(--text-primary); }
.uc-cta-includes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: 12px; color: var(--text-secondary); margin-bottom: 16px; }
.uc-btn-cta { margin-bottom: 6px; }
.uc-cta-price { font-size: 13px; color: var(--text-muted); display: block; margin-bottom: 16px; }
.uc-cta-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.uc-cta-buttons .uc-btn-primary { width: auto; padding: 14px 32px; }
.uc-cta-box.uc-cta-box-muted {
  border-color: rgba(129, 140, 248, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.uc-cta-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.uc-cta-summary-copy { max-width: 44ch; text-align: left; }
.uc-cta-summary-copy h3 { margin-bottom: 8px; }
.uc-cta-summary-muted { align-items: center; }
.uc-cta-summary-actions {
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.uc-cta-summary-meta {
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.uc-cta-summary-price {
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}
.uc-cta-summary-note {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.uc-reassurance-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.uc-reassurance-copy {
  max-width: 44ch;
  text-align: left;
}
.uc-reassurance-copy h3 {
  margin-bottom: 8px;
  color: var(--text-primary);
}
.uc-reassurance-copy p {
  margin-bottom: 0;
}
.uc-reassurance-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.uc-reassurance-list span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(129, 140, 248, 0.07);
  border: 1px solid rgba(129, 140, 248, 0.12);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}

/* Pricing table in CTA */
.uc-pricing-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.uc-pricing-table td { padding: 7px 14px; font-size: 13px; border-bottom: 1px solid var(--border); }
.uc-pricing-table td:first-child { color: var(--text-secondary); }
.uc-pricing-table td:last-child { text-align: right; font-weight: 600; color: var(--text-primary); }
.uc-pricing-table tr.uc-tier-active td { background: var(--accent-bg); color: var(--accent-light); }
.uc-pricing-table tr.uc-tier-active td:last-child { color: var(--accent-light); }
.uc-pricing-table tr.uc-tier-free td { color: var(--green); }
.uc-pricing-table tr.uc-tier-free td:last-child { color: var(--green); }

/* Disclaimer */
.uc-disclaimer { font-size: 11px; color: var(--text-muted); text-align: center; line-height: 1.6; margin-top: 10px; padding: 0 20px; }

/* ---- Thank You Page ---- */

/* Success banner — premium gradient matching preview hero */
.uc-ty-banner {
  position: relative;
  overflow: hidden;
  padding: 32px 24px 28px;
  border-radius: 22px;
  border: 1px solid rgba(34, 197, 94, 0.25);
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(30, 27, 75, 0.96), rgba(15, 15, 26, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 50px rgba(9, 10, 20, 0.48);
  text-align: center;
  margin-bottom: 14px;
}
.uc-ty-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.03), transparent 45%);
  pointer-events: none;
}
.uc-ty-banner > * { position: relative; z-index: 1; }

.uc-ty-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #16a34a);
  color: #fff; font-size: 28px; margin-bottom: 16px;
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.3);
}
.uc-ty-title {
  font-size: clamp(1.25rem, 3vw, 1.5rem); font-weight: 800;
  color: var(--green); margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.uc-ty-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.uc-ty-dl-btn {
  padding: 12px 28px; font-size: 15px; border-radius: 14px;
  cursor: pointer; font-weight: 700; border: none;
  transition: all 0.2s ease; display: inline-flex; align-items: center; gap: 8px;
}
.uc-ty-dl-btn:hover { transform: translateY(-2px); }
.uc-ty-dl-pdf {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}
.uc-ty-dl-pdf:hover { box-shadow: 0 6px 24px rgba(99, 102, 241, 0.45); }
.uc-ty-dl-csv {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1.5px solid var(--border-strong);
}
.uc-ty-dl-csv:hover { border-color: var(--accent); box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15); }
.uc-ty-meta { font-size: 13px; color: var(--text-muted); margin-top: 16px; }

/* Opt-in checkbox */
.uc-ty-optin { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.uc-ty-optin-label {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  font-size: 14px; color: var(--text-secondary); justify-content: center;
}
.uc-ty-optin-label input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; accent-color: var(--accent); flex-shrink: 0; }
.uc-ty-optin-status { font-size: 13px; margin-top: 6px; text-align: center; }

/* Filing Guide */
.uc-ty-guide {
  display: grid;
  gap: 20px;
  padding: 0;
}
.uc-ty-guide-head { display: grid; gap: 0; }
.uc-cta-box.uc-ty-guide-shell {
  text-align: left;
  padding: 34px 30px 28px;
  border: 2px solid rgba(99, 102, 241, 0.9);
  border-radius: 28px;
  background: var(--bg-card);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
}
.uc-ty-guide-surface {
  padding: 22px 22px 20px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(99, 102, 241, 0.08), rgba(99, 102, 241, 0) 110px),
    var(--bg-elevated);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.uc-ty-guide-surface-meta { display: grid; gap: 16px; }
.uc-ty-guide-title {
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.uc-ty-guide-country {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--accent);
}
.uc-ty-steps {
  display: grid;
  gap: 0;
  margin-bottom: 0;
}
.uc-ty-step {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}
.uc-ty-step:first-child { padding-top: 0; }
.uc-ty-step:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.uc-ty-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 88px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.22);
  background: rgba(99, 102, 241, 0.14);
  color: var(--accent-light);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.uc-ty-step-copy {
  font-size: 1.03rem;
  color: var(--text-secondary);
  line-height: 1.75;
}
.uc-ty-step-copy strong,
.uc-ty-step strong { color: var(--text-primary); font-weight: 700; }
.uc-ty-table-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.uc-ty-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.uc-ty-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
  font-size: 0.98rem;
  min-width: 640px;
}
.uc-ty-table th {
  background: var(--bg-elevated);
  color: var(--text-primary);
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}
.uc-ty-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}
.uc-ty-table tr:nth-child(even) td { background: var(--bg-elevated); }
.uc-ty-table tbody tr:last-child td { border-bottom: 0; }
.uc-ty-val {
  font-weight: 700;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  text-align: right;
  color: var(--text-primary);
}
.uc-ty-deadline {
  font-size: 0.98rem;
  color: var(--red);
  margin: 18px 0 20px;
  padding: 14px 16px;
  background: rgba(239, 68, 68, 0.1);
  border-left: 4px solid var(--red);
  border-radius: 10px;
}
.uc-ty-tips {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.uc-ty-tips strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.uc-ty-tips ul {
  display: grid;
  gap: 8px;
  padding-left: 24px;
  margin: 0;
}
.uc-ty-tips li { margin-bottom: 0; line-height: 1.7; }
.uc-ty-tips li::marker { color: var(--accent-light); }
.uc-ty-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(245, 158, 11, 0.34);
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber);
  font-size: 0.98rem;
  line-height: 1.75;
}
.uc-ty-note strong { color: var(--amber); font-weight: 800; }
.uc-cta-box.uc-ty-guide-shell .uc-ty-guide,
.uc-cta-box.uc-ty-guide-shell .uc-ty-guide * { text-align: left; }
.uc-cta-box.uc-ty-guide-shell .uc-ty-val { text-align: right; }
.uc-cta-box.uc-ty-guide-shell .uc-ty-table th:nth-child(2),
.uc-cta-box.uc-ty-guide-shell .uc-ty-table td:nth-child(2) { text-align: right; }

/* Loading state */
.uc-ty-loading {
  text-align: center; padding: 32px 24px;
  border-radius: 22px;
  border: 1px solid rgba(34, 197, 94, 0.15);
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.1), transparent 36%),
    linear-gradient(135deg, rgba(30, 27, 75, 0.96), rgba(15, 15, 26, 0.98));
  margin-bottom: 14px;
}
.uc-ty-loading-title { font-size: 18px; font-weight: 700; color: var(--green); margin-bottom: 8px; }
.uc-ty-loading-sub { color: var(--text-secondary); font-size: 14px; }
@keyframes ucTyPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.uc-ty-loading-sub { animation: ucTyPulse 2s ease-in-out infinite; }

/* ---- Wallet Connect Section ---- */
.uc-wallet-section {
  margin-top: 12px;
  animation: ucSlideDown 0.3s ease;
}
@keyframes ucSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.uc-wallet-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
}
.uc-wallet-header {
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}
.uc-wallet-icon { font-size: 16px; }
.uc-wallet-input-row { display: flex; align-items: center; gap: 6px; position: relative; }
.uc-wallet-input {
  flex: 1; padding: 10px 14px;
  border: 1px solid var(--border-strong); border-radius: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  color: var(--text-primary); background: var(--bg-card);
  outline: none; transition: border-color 0.15s;
}
.uc-wallet-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.uc-wallet-input::placeholder {
  color: var(--text-muted);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
}
.uc-wallet-clear {
  position: absolute; right: 8px; background: none; border: none;
  color: var(--text-muted); cursor: pointer; font-size: 18px; padding: 2px 6px; line-height: 1;
}
.uc-wallet-clear:hover { color: var(--text-secondary); }
.uc-wallet-badges {
  display: flex; gap: 12px; margin-top: 8px; font-size: 11px; color: var(--text-muted);
}
.uc-wallet-status { margin-top: 6px; font-size: 12px; min-height: 18px; }

/* ---- Multi-wallet styles ---- */
.uc-wallet-row { margin-bottom: 8px; }
.uc-wallet-row:last-child { margin-bottom: 0; }
.uc-wallet-row-status { margin-top: 4px; font-size: 12px; min-height: 16px; text-align: left; }
.uc-wallet-row-remove {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-size: 20px; padding: 2px 8px; line-height: 1;
  flex-shrink: 0; border-radius: 4px; transition: all 0.15s;
}
.uc-wallet-row-remove:hover { color: var(--red); background: rgba(239, 68, 68, 0.1); }
#uc-wallet-add-row { margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.uc-wallet-add-btn {
  background: none; border: 1px dashed var(--border-strong);
  border-radius: 8px; padding: 8px 16px; font-size: 13px; font-weight: 500;
  color: var(--accent-light); cursor: pointer; transition: all 0.15s;
}
.uc-wallet-add-btn:hover { border-color: var(--accent); background: var(--accent-bg); }
.uc-wallet-add-btn:disabled { color: var(--text-muted); border-color: var(--border); cursor: not-allowed; background: none; }
.uc-wallet-add-note { font-size: 11px; color: var(--text-muted); }

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .uc-calculator { padding: 16px 16px 36px; }
  .uc-title { font-size: 24px; }
  .uc-hero-grid { grid-template-columns: 1fr; }
  .uc-hero-grid.uc-hero-grid-two-cards { grid-template-columns: 1fr; }
  .uc-results-summary-body { grid-template-columns: 1fr; gap: 16px; }
  .uc-results-summary-copy p { max-width: none; }
  .uc-offer-hero { grid-template-columns: 1fr; padding: 20px; }
  .uc-offer-list { grid-template-columns: 1fr; }
  .uc-cta-summary { flex-direction: column; align-items: flex-start; }
  .uc-cta-summary-actions { min-width: 0; width: 100%; }
  .uc-cta-summary-meta { min-width: 0; width: 100%; align-items: flex-start; }
  .uc-reassurance-strip { flex-direction: column; align-items: flex-start; }
  .uc-reassurance-list { justify-content: flex-start; }
  .uc-activity-grid { grid-template-columns: repeat(2, 1fr); }
  .uc-features-grid { grid-template-columns: 1fr; }
  .uc-btn-mini-cta { width: 100%; }
  .uc-report-header { flex-direction: column; }
  .uc-ty-banner { padding: 24px 16px 20px; }
  .uc-ty-buttons { flex-direction: column; }
  .uc-ty-dl-btn { width: 100%; justify-content: center; }
  .uc-cta-box.uc-ty-guide-shell { padding: 24px 20px; border-radius: 24px; }
  .uc-ty-guide-surface { padding: 18px 16px; border-radius: 20px; }
  .uc-ty-guide-country { margin-bottom: 20px; padding-bottom: 14px; }
  .uc-ty-step { grid-template-columns: 1fr; gap: 10px; padding: 12px 0; }
  .uc-ty-step-num { min-width: 0; }
  .uc-ty-step-copy { font-size: 0.98rem; }
  .uc-ty-table { font-size: 11px; }
  .uc-ty-table th, .uc-ty-table td { padding: 10px 12px; }
  .uc-input-card { padding: 24px 20px; }
}

/* ---- Combined/Wallet preview full-width fixes ---- */
#uc-hero-grid > div:not(.uc-hero-card) { grid-column: 1 / -1; max-width: 100%; box-sizing: border-box; }
#uc-mini-cta > div { max-width: 100%; box-sizing: border-box; }
#uc-activity-grid > div:not(.uc-stat-card) { grid-column: 1 / -1; max-width: 100%; box-sizing: border-box; }
#uc-cta-report { max-width: 100%; box-sizing: border-box; }
.uc-pricing-table { width: 100%; }

@media (max-width: 640px) {
  #uc-hero-grid > div[style*="grid-template-columns"] { grid-template-columns: 1fr; }
  #uc-activity-grid > div[style*="grid-template-columns"] { grid-template-columns: 1fr; }
  #uc-cta-report div[style*="flex-wrap"] { justify-content: flex-start; }
}

[data-theme="light"] .uc-results-summary-main {
  background:
    radial-gradient(circle at top right, rgba(129, 140, 248, 0.16), transparent 34%),
    linear-gradient(135deg, #f3f1ff 0%, #eef2ff 58%, #f7f8fc 100%);
  border-color: rgba(79, 70, 229, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 22px 48px rgba(79, 70, 229, 0.12),
    0 8px 18px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .uc-results-summary-main::after {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.46), transparent 44%);
}

[data-theme="light"] .uc-results-kicker {
  border-color: rgba(79, 70, 229, 0.14);
  background: rgba(99, 102, 241, 0.08);
  color: #5b5fe7;
}

[data-theme="light"] .uc-results-summary-label {
  color: #7a8198;
}

[data-theme="light"] .uc-results-summary-value,
[data-theme="light"] .uc-results-summary-copy h3 {
  color: #141b2d;
}

[data-theme="light"] .uc-results-summary-copy p {
  color: #5a6272;
}

[data-theme="light"] .uc-results-chip {
  border-color: #dde1ef;
  background: rgba(255, 255, 255, 0.58);
  color: #5f6678;
}

[data-theme="light"] .uc-results-chip-muted {
  color: #5f6678;
}

[data-theme="light"] .uc-results-chip-accent {
  border-color: rgba(99, 102, 241, 0.18);
  background: rgba(99, 102, 241, 0.08);
  color: #5b5fe7;
}

[data-theme="light"] .uc-results-chip-good {
  border-color: rgba(34, 197, 94, 0.16);
  background: rgba(34, 197, 94, 0.08);
  color: #37a160;
}

[data-theme="light"] .uc-results-chip-warn {
  border-color: rgba(245, 158, 11, 0.18);
  background: rgba(245, 158, 11, 0.1);
  color: #b96b07;
}

[data-theme="light"] .uc-ty-banner {
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.12), transparent 34%),
    linear-gradient(135deg, #f0fdf4 0%, #f7fdf9 58%, #f7f8fc 100%);
  border-color: rgba(34, 197, 94, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 22px 48px rgba(34, 197, 94, 0.1),
    0 8px 18px rgba(15, 23, 42, 0.06);
}
[data-theme="light"] .uc-ty-banner::after {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.46), transparent 44%);
}
[data-theme="light"] .uc-ty-loading {
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.08), transparent 36%),
    linear-gradient(135deg, #f0fdf4 0%, #f7fdf9 58%, #f7f8fc 100%);
  border-color: rgba(34, 197, 94, 0.12);
}
[data-theme="light"] .uc-ty-table tr:nth-child(even) td { background: rgba(0, 0, 0, 0.02); }
[data-theme="light"] .uc-cta-box.uc-ty-guide-shell {
  border-color: rgba(79, 70, 229, 0.16);
  background: #ffffff;
  box-shadow:
    0 20px 44px rgba(79, 70, 229, 0.08),
    0 8px 18px rgba(15, 23, 42, 0.06);
}
[data-theme="light"] .uc-ty-guide-surface {
  background:
    linear-gradient(180deg, rgba(99, 102, 241, 0.06), rgba(99, 102, 241, 0) 120px),
    #fbfbff;
  border-color: #e3e6f3;
}
[data-theme="light"] .uc-ty-guide-country,
[data-theme="light"] .uc-ty-step-copy,
[data-theme="light"] .uc-ty-table td,
[data-theme="light"] .uc-ty-tips {
  color: #5a6272;
}

[data-theme="light"] .uc-offer-hero {
  background:
    radial-gradient(circle at top left, rgba(129, 140, 248, 0.12), transparent 30%),
    linear-gradient(145deg, #f7f5ff 0%, #f8f8fc 100%);
  border-color: rgba(79, 70, 229, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 22px 48px rgba(79, 70, 229, 0.12),
    0 8px 18px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .uc-offer-hero::before {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 72%);
}

[data-theme="light"] .uc-offer-title {
  color: #141b2d;
}

[data-theme="light"] .uc-offer-body {
  color: #5a6272;
}

[data-theme="light"] .uc-offer-reason {
  border-color: rgba(99, 102, 241, 0.14);
  background: rgba(99, 102, 241, 0.06);
  color: #5a6272;
}

[data-theme="light"] .uc-offer-reason-warn {
  border-color: rgba(245, 158, 11, 0.18);
  background: rgba(245, 158, 11, 0.1);
  color: #8b5a12;
}

[data-theme="light"] .uc-offer-item {
  color: #5a6272;
}

[data-theme="light"] .uc-offer-panel {
  background: rgba(255, 255, 255, 0.94);
  border-color: #d9dbeb;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 14px 28px rgba(79, 70, 229, 0.08),
    0 4px 10px rgba(15, 23, 42, 0.04);
  backdrop-filter: none;
}

[data-theme="light"] .uc-offer-tier {
  color: #7a8198;
}

[data-theme="light"] .uc-offer-price {
  color: #141b2d;
}

[data-theme="light"] .uc-offer-price-copy,
[data-theme="light"] .uc-offer-price-note {
  color: #5a6272;
}

[data-theme="light"] .uc-offer-proof span {
  background: rgba(79, 70, 229, 0.05);
  border-color: rgba(79, 70, 229, 0.1);
  color: #5a6272;
}

[data-theme="light"] .uc-offer-footnote {
  color: #8b93a7;
}

[data-theme="light"] .uc-tax-note-highlight {
  border-color: rgba(79, 70, 229, 0.14);
  background: rgba(79, 70, 229, 0.06);
  color: rgba(17, 24, 39, 0.72);
}

[data-theme="light"] .uc-stat-card-muted {
  background: rgba(79, 70, 229, 0.02);
  border-color: rgba(79, 70, 229, 0.08);
}

[data-theme="light"] .uc-stat-card-muted .uc-stat-label {
  color: rgba(17, 24, 39, 0.34);
}

[data-theme="light"] .uc-cta-box.uc-cta-box-muted {
  border-color: rgba(79, 70, 229, 0.12);
  box-shadow:
    0 18px 48px rgba(79, 70, 229, 0.08),
    0 2px 10px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .uc-cta-summary-note {
  color: rgba(17, 24, 39, 0.62);
}

[data-theme="light"] .uc-reassurance-list span {
  background: rgba(79, 70, 229, 0.05);
  border-color: rgba(79, 70, 229, 0.1);
  color: rgba(17, 24, 39, 0.68);
}

/* ===== Connect Wallet Button ===== */
.uc-wallet-connect {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.uc-btn-wallet-connect {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  justify-content: center;
  font-family: inherit;
}

.uc-btn-wallet-connect:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

.uc-btn-wallet-connect:disabled {
  opacity: 0.7;
  cursor: default;
}

.uc-btn-wallet-connect.uc-wallet-connected {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.uc-wallet-connect-icon {
  font-size: 18px;
  line-height: 1;
}

.uc-wallet-connect-note {
  font-size: 12px;
  color: var(--text-muted);
}

.uc-wallet-connect-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 12px;
  color: var(--text-muted);
  font-size: 13px;
}

.uc-wallet-connect-divider::before,
.uc-wallet-connect-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ===== Brand Logos ===== */
.brand-logo { width: 20px; height: 20px; vertical-align: middle; flex-shrink: 0; }
.brand-logo-sm { width: 16px; height: 16px; }
.brand-logo-lg { width: 24px; height: 24px; }

.dd-logo { width: 20px; height: 20px; margin-right: 8px; vertical-align: middle; flex-shrink: 0; }

.uc-exchange-logo { width: 18px; height: 18px; margin-right: 6px; vertical-align: middle; }

.uc-wallet-connect-icon img { width: 20px; height: 20px; vertical-align: middle; }

.hero-brand { display: flex; align-items: center; justify-content: center; gap: 12px; }
.hero-brand-logo { width: 36px; height: 36px; }

@media (max-width: 600px) {
  .hero-brand-logo { width: 28px; height: 28px; }
}

/* ===== Premium Marketing Sections For Unified Calculator Pages ===== */
body .features-row,
body .pricing-band,
body .country-section {
  position: relative;
}

body .features-row {
  max-width: var(--max-width);
  margin: 0 auto 72px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body .features-row > .features-head:first-child {
  grid-column: 1 / -1;
}

body .features-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 8px;
}

body .features-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-light);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body .features-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

body .features-head h2 {
  max-width: 900px;
  margin: 0 auto 14px;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  letter-spacing: -0.04em;
}

body .features-head p {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

body .feat,
body .price-card,
body .country-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

body .feat::before,
body .price-card::before,
body .country-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(165, 180, 252, 0) 0%, rgba(165, 180, 252, 0.5) 50%, rgba(165, 180, 252, 0) 100%);
  pointer-events: none;
}

body .feat,
body .price-card,
body .country-card {
  background: linear-gradient(180deg, rgba(18, 20, 36, 0.94) 0%, rgba(11, 13, 24, 0.98) 100%);
  border: 1px solid rgba(129, 140, 248, 0.12);
  box-shadow:
    0 18px 40px rgba(3, 7, 18, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

body .feat:hover,
body .price-card:hover,
body .country-card:hover {
  transform: translateY(-3px);
  border-color: rgba(129, 140, 248, 0.28);
  box-shadow:
    0 24px 48px rgba(3, 7, 18, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body .feat {
  padding: 30px 28px;
}

body .feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  border-radius: 18px;
  border: 1px solid rgba(129, 140, 248, 0.14);
  background: rgba(99, 102, 241, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: 1.6rem;
}

body .feat-eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
}

body .feat h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

body .feat p {
  color: var(--text-secondary);
  line-height: 1.6;
}

body .pricing-band {
  max-width: var(--max-width);
  margin: 0 auto 72px;
  padding: 0 24px;
  text-align: center;
}

body .pricing-band h2 {
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}

body .pricing-band .pricing-sub {
  max-width: 620px;
  margin: 0 auto 32px;
  color: var(--text-secondary);
  font-size: 1rem;
}

body .pricing-grid {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

body .price-card {
  padding: 24px 18px;
}

body .price-card .tier {
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

body .price-card .price {
  font-size: clamp(2rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
}

body .price-card.popular {
  border-color: rgba(129, 140, 248, 0.42);
  background:
    radial-gradient(circle at top center, rgba(99, 102, 241, 0.16), transparent 46%),
    linear-gradient(180deg, rgba(25, 28, 52, 0.98) 0%, rgba(13, 15, 28, 0.98) 100%);
  box-shadow:
    0 22px 48px rgba(79, 70, 229, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body .country-section {
  max-width: var(--max-width);
  margin: 0 auto 72px;
  padding: 0 24px;
  text-align: center;
}

body .country-section h2 {
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}

body .country-section .section-sub {
  max-width: 660px;
  margin: 0 auto 30px;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

body .country-grid {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

body .country-card {
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 18px 20px;
}

body .country-card .cc-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.14);
  font-size: 1.05rem;
}

body .country-card .cc-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
}

[data-theme="light"] body .features-kicker {
  border-color: #d9ddf5;
  background: rgba(99, 102, 241, 0.08);
  color: #5b5cf0;
}

[data-theme="light"] body .feat,
[data-theme="light"] body .price-card,
[data-theme="light"] body .country-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fe 100%);
  border-color: #e3e6f3;
  box-shadow:
    0 18px 34px rgba(99, 102, 241, 0.07),
    0 10px 22px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

[data-theme="light"] body .feat:hover,
[data-theme="light"] body .price-card:hover,
[data-theme="light"] body .country-card:hover {
  border-color: #cfd5f4;
  box-shadow:
    0 24px 44px rgba(99, 102, 241, 0.1),
    0 14px 28px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

[data-theme="light"] body .feat-icon,
[data-theme="light"] body .country-card .cc-flag {
  background: rgba(99, 102, 241, 0.08);
  border-color: #dfe3f4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

[data-theme="light"] body .price-card.popular {
  border-color: #bfc7f5;
  background:
    radial-gradient(circle at top center, rgba(99, 102, 241, 0.12), transparent 48%),
    linear-gradient(180deg, #fcfcff 0%, #f3f5ff 100%);
  box-shadow:
    0 24px 44px rgba(99, 102, 241, 0.12),
    0 14px 28px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

[data-theme="light"] body .hero-sub {
  color: rgba(17, 24, 39, 0.76);
}

[data-theme="light"] body .hero-trust-pill {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(79, 70, 229, 0.16);
  box-shadow: 0 14px 28px rgba(79, 70, 229, 0.08);
}

[data-theme="light"] body .uc-config-card,
[data-theme="light"] body .uc-premium-input-card,
[data-theme="light"] body .uc-step-panel {
  background: rgba(255, 255, 255, 0.99);
  border-color: rgba(79, 70, 229, 0.12);
  box-shadow: 0 18px 48px rgba(79, 70, 229, 0.08), 0 2px 10px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] body .uc-premium-input-card::before {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(99, 102, 241, 0) 28%, rgba(34, 197, 94, 0.05) 100%);
}

[data-theme="light"] body .uc-flow-copy {
  color: rgba(17, 24, 39, 0.72);
}

[data-theme="light"] body .uc-config-copy {
  color: rgba(17, 24, 39, 0.66);
}

[data-theme="light"] body .uc-flow-bullets span {
  background: rgba(79, 70, 229, 0.04);
  border-color: rgba(79, 70, 229, 0.1);
  color: rgba(17, 24, 39, 0.72);
}

[data-theme="light"] body .uc-csv-upload-area {
  background:
    radial-gradient(circle at top, rgba(79, 70, 229, 0.08), rgba(79, 70, 229, 0) 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(245, 247, 255, 0.98));
  border-color: rgba(79, 70, 229, 0.12);
}

[data-theme="light"] body .uc-csv-upload-area::before {
  border-color: rgba(79, 70, 229, 0.18);
}

[data-theme="light"] body .uc-flow-divider span {
  background: rgba(79, 70, 229, 0.04);
  border-color: rgba(79, 70, 229, 0.1);
  color: rgba(17, 24, 39, 0.68);
}

[data-theme="light"] body .uc-drop-visual {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.12);
}

[data-theme="light"] body .uc-help-note,
[data-theme="light"] body .uc-wallet-add-note {
  color: rgba(100, 116, 139, 0.88);
}

[data-theme="light"] body .uc-wallet-connect-divider {
  color: rgba(100, 116, 139, 0.9);
}

[data-theme="light"] body .uc-wallet-connect-divider::before,
[data-theme="light"] body .uc-wallet-connect-divider::after {
  background: rgba(148, 163, 184, 0.28);
}

[data-theme="light"] body .uc-wallet-input::placeholder {
  color: rgba(100, 116, 139, 0.82);
}

[data-theme="light"] body .uc-wallet-badges span,
[data-theme="light"] body .uc-inline-trust span {
  background: rgba(79, 70, 229, 0.05);
  border-color: rgba(79, 70, 229, 0.12);
  color: rgba(17, 24, 39, 0.72);
}

[data-theme="light"] body .uc-btn-primary:disabled {
  background: linear-gradient(180deg, rgba(226, 232, 240, 0.96), rgba(203, 213, 225, 0.92));
  color: rgba(71, 85, 105, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  opacity: 1;
}

@media (max-width: 960px) {
  body .features-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body .features-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body .feat,
  body .price-card {
    padding: 24px 20px;
  }

  body .country-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  body .country-grid {
    grid-template-columns: 1fr;
  }
}

/* Brazil monthly-first breakdown — appended under the offer when country=BR.
   Deliberately minimal: it reuses the existing card/chip vocabulary rather than
   introducing new tokens, so the look tracks the surrounding results surface. */
.uc-br-monthly {
  margin: 28px auto 0;
  padding: 26px 28px;
  max-width: var(--max-width);
  background: var(--bg-card);
  border: 1px solid rgba(129, 140, 248, 0.16);
  border-radius: var(--radius-lg);
}
.uc-br-monthly-head h3 {
  margin: 8px 0 4px;
  font-size: 1.2rem;
  color: var(--text-primary);
}
.uc-br-monthly-head p {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}
.uc-br-transition {
  margin: 0 0 18px;
  padding: 12px 14px;
  background: var(--accent-bg);
  border: 1px solid rgba(129, 140, 248, 0.25);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1.5;
}
.uc-br-monthly-pending h4 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--text-primary);
}
.uc-br-monthly-pending p {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.uc-br-monthly-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.uc-br-monthly-table th,
.uc-br-monthly-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(129, 140, 248, 0.1);
}
.uc-br-monthly-table th {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.uc-br-monthly-table tr.uc-br-month-taxable td {
  color: var(--text-primary);
  background: rgba(239, 68, 68, 0.06);
}
.uc-br-monthly-table tr.uc-br-month-exempt td {
  color: var(--text-secondary);
}
[data-theme="light"] .uc-br-monthly {
  border-color: rgba(79, 70, 229, 0.18);
}
[data-theme="light"] .uc-br-transition {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.22);
}
[data-theme="light"] .uc-br-monthly-table tr.uc-br-month-taxable td {
  background: rgba(239, 68, 68, 0.08);
}
@media (max-width: 640px) {
  .uc-br-monthly { padding: 20px 16px; }
  .uc-br-monthly-table { font-size: 0.82rem; }
  .uc-br-monthly-table th,
  .uc-br-monthly-table td { padding: 8px 8px; }
}
