/*
 * UC Onboarding Engine – Public UI
 * Design: Clean light · Airy · Premium SaaS
 * Version: 2.4.18-light
 */

/* ─────────────────────────────────────────────
   FONT IMPORT  (must be first non-comment line)
───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

/* ─────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --ucoe-page-bg:    #f4f6fb;
  --ucoe-surface:    #ffffff;
  --ucoe-surface-2:  #f8f9fc;
  --ucoe-surface-3:  #f0f2f8;

  /* Accent */
  --ucoe-accent:     #5b5ef4;
  --ucoe-accent-2:   #818cf8;
  --ucoe-accent-dk:  #4338ca;
  --ucoe-accent-bg:  rgba(91,94,244,0.07);
  --ucoe-accent-bg2: rgba(91,94,244,0.12);

  /* Text */
  --ucoe-ink:        #0f1117;
  --ucoe-ink-2:      #374151;
  --ucoe-ink-3:      #6b7280;
  --ucoe-ink-4:      #9ca3af;

  /* Borders */
  --ucoe-border:     #e5e7eb;
  --ucoe-border-2:   #d1d5db;
  --ucoe-border-hi:  rgba(91,94,244,0.4);

  /* Shadows — light & airy */
  --ucoe-shadow-sm:  0 1px 3px rgba(15,17,23,0.06), 0 1px 2px rgba(15,17,23,0.04);
  --ucoe-shadow-md:  0 4px 16px rgba(15,17,23,0.08), 0 2px 6px rgba(15,17,23,0.04);
  --ucoe-shadow-lg:  0 12px 40px rgba(15,17,23,0.10), 0 4px 12px rgba(15,17,23,0.06);
  --ucoe-shadow-xl:  0 24px 64px rgba(15,17,23,0.12), 0 8px 20px rgba(15,17,23,0.06);
  --ucoe-shadow-accent: 0 4px 20px rgba(91,94,244,0.28);

  /* Geometry */
  --ucoe-r-xs:  8px;
  --ucoe-r-sm:  12px;
  --ucoe-r-md:  16px;
  --ucoe-r-lg:  20px;
  --ucoe-r-xl:  28px;

  /* Typography */
  --ucoe-font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;

  /* ── Legacy compat ── */
  --ucoe-bg-1:   #5b5ef4;
  --ucoe-bg-2:   #4338ca;
  --ucoe-blue:   #5b5ef4;
  --ucoe-muted:  #6b7280;
  --ucoe-card:   #ffffff;
  --ucoe-soft-bg:#f4f6fb;
  --ucoe-radius: 20px;
  --ucoe-shadow: 0 12px 40px rgba(15,17,23,0.10);
}

/* ─────────────────────────────────────────────
   KEYFRAMES
───────────────────────────────────────────── */
@keyframes ucoeFadeUp  { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }
@keyframes ucoeSpin    { to{transform:rotate(360deg)} }
@keyframes ucoePulse   { 0%,100%{opacity:1} 50%{opacity:0.4} }
@keyframes ucoeShimmer { from{transform:translateX(-120%) skewX(-12deg)} to{transform:translateX(120%) skewX(-12deg)} }
@keyframes ucoeSlideRight { from{transform:translateX(-6px);opacity:0} to{transform:translateX(0);opacity:1} }

/* ─────────────────────────────────────────────
   SCOPE
───────────────────────────────────────────── */
.ucoe-onboarding,
.ucoe-plan-select,
.ucoe-nextsteps-shell {
  font-family: var(--ucoe-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--ucoe-ink);
  box-sizing: border-box;
}
.ucoe-onboarding *,
.ucoe-plan-select *,
.ucoe-nextsteps-shell * { box-sizing: border-box; }

/* ─────────────────────────────────────────────
   SHARED PRIMITIVES
───────────────────────────────────────────── */
.ucoe-box, .ucoe-card {
  background: var(--ucoe-surface);
  border: 1px solid var(--ucoe-border);
  border-radius: var(--ucoe-r-lg);
  box-shadow: var(--ucoe-shadow-sm);
}

/* ─────────────────────────────────────────────
   SCREEN TITLES
───────────────────────────────────────────── */
.ucoe-screen-title {
  margin: 0 0 8px;
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ucoe-ink);
  text-align: center;
}
.ucoe-screen-title strong {
  font-weight: 900;
  background: linear-gradient(125deg, var(--ucoe-accent) 0%, var(--ucoe-accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ucoe-screen-sub {
  margin: 0 auto 18px;
  max-width: 560px;
  text-align: center;
  color: var(--ucoe-ink-3);
  font-size: 16px;
  line-height: 1.65;
}
.ucoe-screen-sub em { font-style:normal; font-weight:700; color:var(--ucoe-accent); }

/* ─────────────────────────────────────────────
   LOGO
───────────────────────────────────────────── */
.ucoe-logo { display:flex; justify-content:center; }
.ucoe-logo__img { display:block; width:310px; max-width:100%; height:auto; margin:0 auto; }
.ucoe-logo__bar {
  width: 28px; height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--ucoe-accent), var(--ucoe-accent-2));
  margin: 10px auto 0;
}

/* ═════════════════════════════════════════════
   ONBOARDING FORM  —  full-width light shell
═════════════════════════════════════════════ */
.ucoe-onboarding {
  position: relative;
  width: 100%;
  padding: 0;
  background: var(--ucoe-page-bg);
  overflow-x: hidden;
  /* no min-height: 100vh — let content define height */
}

/* Subtle top-of-page colour wash */
.ucoe-onboarding::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 320px;
  background: linear-gradient(160deg, rgba(91,94,244,0.06) 0%, rgba(129,140,248,0.04) 50%, transparent 100%);
  pointer-events: none;
}
.ucoe-onboarding > * { position: relative; z-index: 1; }

/* ── Shell: full-width, no card border, just a max-width content column ── */
.ucoe-onboarding__shell {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 40px clamp(16px, 5vw, 64px) 60px;
}
@media (max-width: 640px) {
  .ucoe-onboarding__shell {
    padding: 30px clamp(12px, 4vw, 24px) 10px;
  }
}
.ucoe-onboarding.ucoe-mounted .ucoe-onboarding__shell {
  opacity: 1;
  transform: translateY(0);
}

/* Inner content column — centred, constrained */
.ucoe-onboarding__header {
  max-width: 680px;
  margin: 0 auto 32px;
  padding: 0;
}

/* Badge */
.ucoe-onboarding__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ucoe-accent);
  background: var(--ucoe-accent-bg);
  border: 1px solid rgba(91,94,244,0.18);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.ucoe-onboarding__badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ucoe-accent);
  animation: ucoePulse 2.4s ease-in-out infinite;
}

/* Title */
.ucoe-onboarding__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ucoe-ink);
}

/* Subtitle */
.ucoe-onboarding__subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ucoe-ink-3);
}

/* ─────────────── STEPPER ─────────────── */
.ucoe-stepper {
  max-width: 680px;
  margin: 0 auto 32px;
}
.ucoe-stepper__track {
  height: 4px;
  border-radius: 999px;
  background: var(--ucoe-border);
  overflow: hidden;
  position: relative;
}
.ucoe-stepper__bar {
  height: 100%;
  width: 50%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ucoe-accent), var(--ucoe-accent-2));
  box-shadow: 0 0 10px rgba(91,94,244,0.4);
  transition: width 0.45s cubic-bezier(0.22,1,0.36,1);
}
.ucoe-stepper__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ucoe-ink-4);
}

/* ─────────────── PANELS ─────────────── */
.ucoe-panel {
  background: var(--ucoe-surface);
  border: 1px solid var(--ucoe-border);
  border-radius: var(--ucoe-r-lg);
  padding: 24px;
  margin-top: 20px;
  box-shadow: var(--ucoe-shadow-sm);
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 640px) {
  .ucoe-panel { max-width: 100%; }
}
.ucoe-panel__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ucoe-ink);
  letter-spacing: -0.01em;
}
.ucoe-panel__hint { margin: 0 0 18px; font-size: 13px; color: var(--ucoe-ink-3); }

/* ─────────────── GRIDS ─────────────── */
.ucoe-grid-2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
@media (max-width:580px) { .ucoe-grid-2 { grid-template-columns:1fr; } }

/* ─────────────── FORM FIELDS ─────────────── */
.ucoe-field { display:flex; flex-direction:column; gap:7px; margin:14px 0; }
.ucoe-field > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ucoe-ink-3);
}
.ucoe-field input {
  height: 50px;
  border-radius: var(--ucoe-r-md);
  border: 1.5px solid var(--ucoe-border);
  padding: 0 16px;
  font-size: 15px;
  font-family: var(--ucoe-font);
  font-weight: 500;
  outline: none;
  background: var(--ucoe-surface);
  color: var(--ucoe-ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  caret-color: var(--ucoe-accent);
  width: 100%;
}
.ucoe-field input::placeholder { color: var(--ucoe-ink-4); }
.ucoe-field input:hover { border-color: var(--ucoe-border-2); }
.ucoe-field input:focus {
  border-color: var(--ucoe-accent);
  background: #fafbff;
  box-shadow: 0 0 0 4px rgba(91,94,244,0.12);
}
.ucoe-field.has-error input {
  border-color: #ef4444;
  background: #fff8f8;
  box-shadow: 0 0 0 4px rgba(239,68,68,0.1);
}
.ucoe-help { font-size:12px; color:var(--ucoe-ink-4); margin-top:2px; }

/* Inline status */
.ucoe-inline { margin-top:5px; font-size:12px; font-weight:600; }
.ucoe-inline--idle    { color:var(--ucoe-ink-4); }
.ucoe-inline--loading { color:var(--ucoe-ink-3); animation:ucoePulse 1.4s ease infinite; }
.ucoe-inline--good    { color:#059669; }
.ucoe-inline--bad     { color:#dc2626; }

/* Password toggle */
.ucoe-password { display:flex; align-items:stretch; gap:8px; }
.ucoe-password input { flex:1; }
.ucoe-password__toggle {
  min-width: 60px;
  border-radius: var(--ucoe-r-md);
  border: 1.5px solid var(--ucoe-border);
  background: var(--ucoe-surface-2);
  font-family: var(--ucoe-font);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ucoe-ink-3);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.ucoe-password__toggle:hover { border-color: var(--ucoe-accent); color: var(--ucoe-accent); background: var(--ucoe-accent-bg); }

/* ─────────────── ALERT ─────────────── */
.ucoe-alert {
  max-width: 680px; margin: 14px auto 10px;
  padding: 13px 16px;
  border-radius: var(--ucoe-r-md);
  background: #fff5f5;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 14px; font-weight: 500;
}

/* ─────────────── PAYMENT FIELDS ─────────────── */
.ucoe-payment-fields {
  margin: 20px auto 0;
  max-width: 680px;
  padding: 22px;
  border: 1.5px solid rgba(91,94,244,0.18);
  border-radius: var(--ucoe-r-lg);
  background: #fafbff;
}
.ucoe-payment-fields__heading { margin:0 0 3px; font-weight:700; font-size:14px; color:var(--ucoe-ink); }
.ucoe-payment-fields__sub { margin:0 0 16px; font-size:13px; color:var(--ucoe-ink-3); }

/* Price summary (Subtotal / Discount / Total) */
.ucoe-price-summary{border:1px solid rgba(15,23,42,.12);border-radius:16px;padding:12px 14px;background:#f8fafc;margin:12px 0 12px}
.ucoe-price-summary__row{display:flex;justify-content:space-between;gap:12px;padding:6px 0}
.ucoe-price-summary__label{font-weight:800;color:var(--ucoe-ink)}
.ucoe-price-summary__value{font-weight:900;color:var(--ucoe-ink)}
.ucoe-price-summary__row--total{border-top:1px solid rgba(15,23,42,.10);margin-top:6px;padding-top:10px}
.ucoe-price-summary__row--total .ucoe-price-summary__value{font-size:18px}
.ucoe-price-summary__note{margin-top:8px;color:var(--ucoe-ink-3);font-weight:700}

/* Billing dashboard (customer) */
.ucoe-shell{max-width:1100px;margin:0 auto}
.ucoe-hero{padding:18px 16px 14px;border-radius:18px;background:linear-gradient(135deg,#0f172a 0%,#1e293b 55%,#111827 100%);color:#fff;margin:0 0 14px;box-shadow:0 18px 46px rgba(15,23,42,.18)}
.ucoe-hero__title{font-weight:900;font-size:22px;letter-spacing:-.01em;margin:0 0 6px}
.ucoe-hero__sub{opacity:.9;font-weight:700;margin:0}

.ucoe-billing{margin-top:6px}
.ucoe-billing__loading{padding:14px 12px;color:var(--ucoe-ink-3);font-weight:800}
.ucoe-billing__grid{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:920px){.ucoe-billing__grid{grid-template-columns:1fr 1fr}}

.ucoe-billing-cards{display:grid;gap:12px}
.ucoe-billing-card{border:1px solid rgba(15,23,42,.10);border-radius:16px;background:#fff;padding:14px;box-shadow:0 10px 28px rgba(15,23,42,.06)}
.ucoe-billing-card__top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:0 0 10px}
.ucoe-billing-card__title{font-weight:900;font-size:15px}
.ucoe-billing-card__meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ucoe-billing-card__meta strong{display:block;font-size:11px;letter-spacing:.02em;text-transform:uppercase;color:var(--ucoe-ink-3)}
.ucoe-billing-card__meta span{display:block;font-weight:800;color:var(--ucoe-ink)}
.ucoe-billing-card__actions{margin-top:12px}

.ucoe-billing-pill{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-weight:900;font-size:12px;border:1px solid rgba(15,23,42,.14);background:#f8fafc;color:var(--ucoe-ink)}
.ucoe-billing-pill--active{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}
.ucoe-billing-pill--canceled,.ucoe-billing-pill--cancelled{background:#fef2f2;border-color:#fecaca;color:#991b1b}
.ucoe-billing-pill--past_due,.ucoe-billing-pill--failed{background:#fff7ed;border-color:#fed7aa;color:#9a3412}

.ucoe-pill-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:10px 14px;border:1px solid rgba(15,23,42,.14);background:#fff;font-weight:900;cursor:pointer}
.ucoe-pill-btn:hover{background:#f8fafc}

.ucoe-table-wrap{border:1px solid rgba(15,23,42,.10);border-radius:16px;overflow:hidden;background:#fff}
.ucoe-table-wrap table.widefat{margin:0;border:none}

/* Modal */
.ucoe-modal-open{overflow:hidden}
.ucoe-billing-modal{position:fixed;inset:0;z-index:99999}
.ucoe-billing-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.55)}
.ucoe-billing-modal__panel{position:relative;max-width:760px;margin:8vh auto 0;background:#fff;border-radius:18px;border:1px solid rgba(15,23,42,.10);box-shadow:0 24px 70px rgba(15,23,42,.30);padding:16px}
.ucoe-billing-modal__close{position:absolute;top:10px;right:10px;width:38px;height:38px;border-radius:12px;border:1px solid rgba(15,23,42,.12);background:#fff;font-size:22px;line-height:1;cursor:pointer}
.ucoe-billing-modal__term{display:flex;gap:10px;margin:12px 0}
.ucoe-billing-term{display:flex;align-items:center;gap:6px;border:1px solid rgba(15,23,42,.12);border-radius:999px;padding:8px 10px;background:#f8fafc;font-weight:800}
.ucoe-billing-modal__content{display:grid;gap:10px;margin:10px 0 14px}
.ucoe-billing-choice{display:flex;gap:12px;align-items:center;text-align:left;border:1px solid rgba(15,23,42,.12);border-radius:16px;padding:12px;background:#fff;cursor:pointer}
.ucoe-billing-choice:hover{background:#f8fafc}
.ucoe-billing-choice.is-selected{border-color:rgba(37,99,235,.55);box-shadow:0 0 0 4px rgba(37,99,235,.10)}
.ucoe-billing-choice__img{width:52px;height:52px;border-radius:14px;background:#e2e8f0 center/cover no-repeat;flex:0 0 auto}
.ucoe-billing-choice__title{font-weight:900}
.ucoe-billing-choice__price{color:var(--ucoe-ink-3);font-weight:800}
.ucoe-billing-modal__footer{display:flex;justify-content:flex-end;gap:10px}

/* Status banner (centered gradient card) */
.ucoe-status-banner{max-width:760px;margin:0 auto;padding:22px 18px;border-radius:20px;background:linear-gradient(135deg,#2563eb 0%,#7c3aed 55%,#111827 100%);color:#fff;box-shadow:0 24px 70px rgba(15,23,42,.28);text-align:center}
.ucoe-status-banner__title{font-weight:950;font-size:22px;letter-spacing:-.01em;margin:0 0 6px}
.ucoe-status-banner__sub{opacity:.92;font-weight:750;margin:0}
.ucoe-field--card { margin:10px 0; }
.ucoe-field--card > span { font-size:11px; font-weight:700; letter-spacing:0.07em; text-transform:uppercase; color:var(--ucoe-ink-3); }
.ucoe-card-iframe {
  height: auto;
  border-radius: var(--ucoe-r-md);
  border: 1.5px solid var(--ucoe-border);
  background: var(--ucoe-surface);
  overflow: hidden;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.ucoe-card-iframe:focus-within { border-color:var(--ucoe-accent); box-shadow:0 0 0 4px rgba(91,94,244,0.12); }
.ucoe-field--card.has-error .ucoe-card-iframe { border-color:#ef4444; box-shadow:0 0 0 4px rgba(239,68,68,0.1); }

/* ═════════════════════════════════════════════
   INTEREST CARDS  —  spacious, full-width grid
═════════════════════════════════════════════ */
.ucoe-interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 8px;
}
@media (max-width: 480px) {
  .ucoe-interest-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

.ucoe-interest {
  --ucoe-accent: var(--ucoe-blue);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px 20px;
  border-radius: var(--ucoe-r-lg);
  border: 1.5px solid var(--ucoe-border);
  background: var(--ucoe-surface);
  cursor: pointer;
  text-align: center;
  box-shadow: var(--ucoe-shadow-sm);
  transition: transform 0.2s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.2s ease,
              border-color 0.2s ease,
              background 0.2s ease;
  /* never allow text overflow to break layout */
  min-width: 0;
  overflow: hidden;
}
.ucoe-interest input { position:absolute; opacity:0; pointer-events:none; }
.ucoe-interest:hover {
  transform: translateY(-4px);
  background: #fafbff;
  border-color: rgba(91,94,244,0.3);
  box-shadow: var(--ucoe-shadow-md), 0 0 0 0 transparent;
}
.ucoe-interest.is-selected {
  background: rgba(91,94,244,0.05);
  border-color: var(--ucoe-accent);
  box-shadow: 0 0 0 4px rgba(91,94,244,0.1), var(--ucoe-shadow-md);
}

/* Checkmark badge */
.ucoe-interest__check {
  position: absolute;
  top: 10px; right: 10px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ucoe-accent);
  color: #fff;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 900;
  opacity: 0;
  transform: scale(0.5) rotate(-20deg);
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: var(--ucoe-shadow-accent);
}
.ucoe-interest.is-selected .ucoe-interest__check {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Icon container */
.ucoe-interest__icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  padding: 10px;
  background: var(--ucoe-accent-bg);
  border: 1.5px solid rgba(91,94,244,0.14);
  display: grid; place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}
.ucoe-interest:hover .ucoe-interest__icon { transform:scale(1.06); background:var(--ucoe-accent-bg2); }
.ucoe-interest.is-selected .ucoe-interest__icon { background:var(--ucoe-accent-bg2); border-color:rgba(91,94,244,0.3); }
.ucoe-interest__icon img { width:100%; height:100%; object-fit:contain; }
.ucoe-interest__icon svg { width:28px; height:28px; }

/* Text */
.ucoe-interest__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ucoe-ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
  /* keep long names from overflowing */
  word-break: break-word;
  hyphens: auto;
}
.ucoe-interest__sub {
  font-size: 12px;
  color: var(--ucoe-ink-3);
  margin-top: -2px;
  line-height: 1.4;
  word-break: break-word;
}
.ucoe-interest__bar {
  height: 3px;
  width: 36px;
  border-radius: 999px;
  background: var(--ucoe-accent);
  opacity: 0;
  margin-top: 2px;
  transition: opacity 0.2s ease, width 0.25s ease;
}
.ucoe-interest.is-selected .ucoe-interest__bar { opacity: 1; }

/* ═════════════════════════════════════════════
   BUTTONS
═════════════════════════════════════════════ */
.ucoe-step-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  /* wrap on small screens so nothing clips */
  flex-wrap: wrap;
}

/* Secondary / back */
.ucoe-btn {
  height: 48px;
  border-radius: var(--ucoe-r-md);
  padding: 0 22px;
  border: 1.5px solid var(--ucoe-border);
  background: var(--ucoe-surface);
  font-family: var(--ucoe-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--ucoe-ink-2);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
  box-shadow: var(--ucoe-shadow-sm);
}
.ucoe-btn:hover {
  border-color: var(--ucoe-border-2);
  color: var(--ucoe-ink);
  transform: translateY(-1px);
  box-shadow: var(--ucoe-shadow-md);
}

/* Primary CTA */
.ucoe-btn--primary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 140px;
  border: none;
  background: linear-gradient(135deg, var(--ucoe-accent) 0%, var(--ucoe-accent-dk) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  box-shadow: var(--ucoe-shadow-accent);
  position: relative;
  overflow: hidden;
}
.ucoe-btn--primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,0.14),transparent);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}
.ucoe-btn--primary:hover::after { transform: translateX(120%); }
.ucoe-btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(91,94,244,0.38);
}
.ucoe-btn--primary:active { transform: translateY(0); }

/* Submit */
.ucoe-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 200px;
  height: 52px;
  border-radius: var(--ucoe-r-md);
  border: none;
  font-family: var(--ucoe-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ucoe-accent) 0%, var(--ucoe-accent-dk) 100%);
  box-shadow: var(--ucoe-shadow-accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ucoe-submit::after {
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,0.15),transparent);
  animation:ucoeShimmer 3s ease-in-out infinite;
}
.ucoe-submit:hover { transform:translateY(-2px); box-shadow:0 10px 36px rgba(91,94,244,0.42); }
.ucoe-submit:active { transform:translateY(0); }
.ucoe-submit.is-loading { opacity:0.82; pointer-events:none; }
.ucoe-submit.is-loading .ucoe-submit__arrow { display:none; }
.ucoe-submit.is-loading::before {
  content:"";
  position:absolute; right:18px;
  width:16px; height:16px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,0.35);
  border-top-color:#fff;
  animation:ucoeSpin 0.75s linear infinite;
}
.ucoe-submit[disabled],
.ucoe-submit[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none !important;
}
.ucoe-submit__arrow { font-size:15px; }

/* ─────────────────────────────────────────────
   MISC UTILITIES
───────────────────────────────────────────── */
.ucoe-muted { color:var(--ucoe-ink-3); font-size:13px; margin:0; line-height:1.65; }
.ucoe-muted--center {
  text-align: center;
  margin-top: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.ucoe-muted a { font-weight:700; color:var(--ucoe-accent); text-decoration:none; }
.ucoe-muted a:hover { text-decoration:underline; }

/* Step visibility */
.ucoe-onboarding[data-step="1"] [data-ucoe-step="2"] { display:none; }
.ucoe-onboarding[data-step="2"] [data-ucoe-step="1"] { display:none; }

/* Billing chips */
.ucoe-switcher { display:flex; gap:8px; flex-wrap:wrap; align-items:center; padding:4px 0; }
.ucoe-chip {
  appearance: none;
  border: 1.5px solid var(--ucoe-border);
  background: var(--ucoe-surface);
  color: var(--ucoe-ink-2);
  border-radius: 999px;
  padding: 7px 18px;
  font-family: var(--ucoe-font);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: var(--ucoe-shadow-sm);
}
.ucoe-chip:hover { border-color:var(--ucoe-border-2); color:var(--ucoe-ink); }
.ucoe-chip.is-active {
  background: var(--ucoe-accent);
  border-color: var(--ucoe-accent);
  color: #fff;
  box-shadow: var(--ucoe-shadow-accent);
}

/* ═════════════════════════════════════════════
   PLAN SELECT
═════════════════════════════════════════════ */
.ucoe-plan-select {
  position: relative;
  width: 100%;
  padding: 40px clamp(16px,5vw,64px) 60px;
  background: var(--ucoe-page-bg);
  overflow-x: hidden;
}
.ucoe-plan-select::before {
  content:"";
  position:absolute; top:0; left:0; right:0; height:280px;
  background:linear-gradient(160deg,rgba(91,94,244,0.06) 0%,rgba(129,140,248,0.03) 60%,transparent 100%);
  pointer-events:none;
}
.ucoe-plan-select > * { position:relative; }

.ucoe-plan-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin: 24px auto 0;
}
.ucoe-plan-grid .ucoe-plan {
  flex: 0 1 300px;
  min-width: 260px;
  max-width: 360px;
}
@media (max-width: 640px) {
  .ucoe-plan-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding: 4px 4px 20px;
    gap: 14px;
    /* hide scrollbar but keep scroll */
    scrollbar-width: thin;
    scrollbar-color: rgba(91,94,244,0.3) transparent;
  }
  .ucoe-plan-grid::-webkit-scrollbar { height: 4px; }
  .ucoe-plan-grid::-webkit-scrollbar-thumb { background: rgba(91,94,244,0.3); border-radius: 999px; }
  .ucoe-plan-grid .ucoe-plan {
    flex: 0 0 82%;
    min-width: 0;
    max-width: none;
    scroll-snap-align: center;
    min-height: auto;
  }
}

.ucoe-plan {
  background: var(--ucoe-surface);
  border: 1.5px solid var(--ucoe-border);
  border-radius: var(--ucoe-r-xl);
  box-shadow: var(--ucoe-shadow-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 480px;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.45s ease,
              transform 0.45s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.2s, border-color 0.2s;
}
.ucoe-plan-select.ucoe-mounted .ucoe-plan,
.ucoe-plan.is-revealed { opacity:1; transform:translateY(0); }
.ucoe-plan:nth-child(1) { transition-delay:0.05s; }
.ucoe-plan:nth-child(2) { transition-delay:0.12s; }
.ucoe-plan:nth-child(3) { transition-delay:0.19s; }
.ucoe-plan:hover {
  border-color: rgba(91,94,244,0.35);
  box-shadow: var(--ucoe-shadow-xl);
  transform: translateY(-4px);
}

.ucoe-plan__img { height:280px; background-size:cover; background-position:center top; display:flex; align-items:center; justify-content:center; }
.ucoe-plan__img--svg { background:linear-gradient(135deg,rgba(91,94,244,0.08) 0%,rgba(129,140,248,0.05) 100%); }
.ucoe-plan__img--svg svg { width:52px; height:52px; color:var(--ucoe-accent-2); }
.ucoe-plan__body { padding:22px; flex:1; display:flex; flex-direction:column; }
.ucoe-plan__top  { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.ucoe-plan__title { margin:0; font-size:18px; font-weight:800; color:var(--ucoe-ink); letter-spacing:-0.02em; }
.ucoe-plan__price { font-size:14px; font-weight:700; color:var(--ucoe-ink-2); white-space:nowrap; }
.ucoe-plan__details { margin:10px 0 0; color:var(--ucoe-ink-3); font-size:14px; line-height:1.55; flex:1; }
.ucoe-plan__actions { margin-top:20px; }
.ucoe-plan__cta {
  display:flex; align-items:center; justify-content:center; gap:8px;
  width:100%;
  height:50px; border-radius:var(--ucoe-r-md);
  text-decoration:none; font-weight:700; font-size:14px; color:#fff;
  background:linear-gradient(135deg,var(--ucoe-accent) 0%,var(--ucoe-accent-dk) 100%);
  box-shadow:var(--ucoe-shadow-accent);
  transition:transform 0.2s,box-shadow 0.2s;
}
.ucoe-plan__cta:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(91,94,244,0.4); color:#fff; }
.ucoe-plan__actions > a:hover { color:#fff; }

/* ═════════════════════════════════════════════
   NEXTSTEPS
═════════════════════════════════════════════ */
.ucoe-nextsteps-shell {
  position: relative;
  width: 100%;
  padding: 40px clamp(16px,5vw,64px) 60px;
  background: var(--ucoe-page-bg);
  overflow-x: hidden;
}
.ucoe-nextsteps-shell::before {
  content:"";
  position:absolute; top:0; left:0; right:0; height:240px;
  background:linear-gradient(160deg,rgba(91,94,244,0.06) 0%,transparent 100%);
  pointer-events:none;
}
.ucoe-nextsteps-shell > * { position:relative; }

.ucoe-nextsteps-inner {
  width: 100%;
  max-width: 980px;
  margin: 12px auto 0;
  background: var(--ucoe-surface);
  border: 1px solid var(--ucoe-border);
  border-radius: var(--ucoe-r-xl);
  padding: 28px;
  box-shadow: var(--ucoe-shadow-md);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.ucoe-nextsteps-shell.ucoe-mounted .ucoe-nextsteps-inner { opacity:1; transform:translateY(0); }

.ucoe-nextsteps-shell .ucoe-screen-title { text-align:center; }
.ucoe-nextsteps-shell .ucoe-screen-title strong {
  background:linear-gradient(125deg,var(--ucoe-accent) 0%,var(--ucoe-accent-2) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.ucoe-nextsteps-shell .ucoe-box {
  text-align:center;
  background:var(--ucoe-surface-2);
  border:1px solid var(--ucoe-border);
  border-radius:var(--ucoe-r-lg);
  padding:16px;
  color:var(--ucoe-ink-2);
  box-shadow:none;
}

.ucoe-selected-title {
  margin-top:16px; text-align:center;
  font-size:11px; font-weight:700;
  letter-spacing:0.1em; text-transform:uppercase;
  color:var(--ucoe-ink-4); position:relative;
}
.ucoe-selected-title::before,.ucoe-selected-title::after {
  content:""; display:inline-block; width:22%; height:1px;
  background:var(--ucoe-border); vertical-align:middle; margin:0 12px;
}

.ucoe-selected-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-top:14px; }
@media (max-width:700px) {
  .ucoe-selected-grid { display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; padding:4px 2px 16px; }
  .ucoe-selected-grid::-webkit-scrollbar { height:4px; }
  .ucoe-selected-grid::-webkit-scrollbar-thumb { background:rgba(91,94,244,0.3); border-radius:999px; }
  .ucoe-selected { flex:0 0 76%; scroll-snap-align:center; }
}

.ucoe-selected {
  background:var(--ucoe-surface-2);
  border:1.5px solid var(--ucoe-border);
  border-radius:var(--ucoe-r-lg);
  padding:16px 14px;
  text-align:center; position:relative;
  opacity:0; transform:translateY(10px);
  transition:opacity 0.35s ease,transform 0.35s ease,box-shadow 0.2s,border-color 0.2s;
  box-shadow:var(--ucoe-shadow-sm);
}
.ucoe-selected.is-revealed { opacity:1; transform:translateY(0); }
.ucoe-selected:hover { border-color:rgba(91,94,244,0.3); box-shadow:var(--ucoe-shadow-md); }
.ucoe-selected__check { position:absolute; top:10px; right:10px; width:22px; height:22px; border-radius:50%; background:var(--ucoe-accent); color:#fff; display:grid; place-items:center; font-size:11px; font-weight:900; box-shadow:var(--ucoe-shadow-accent); }
.ucoe-selected__icon { width:54px; height:54px; margin:0 auto 8px; border-radius:14px; background:var(--ucoe-accent-bg); border:1.5px solid rgba(91,94,244,0.14); display:grid; place-items:center; overflow:hidden; padding:8px; }
.ucoe-selected__icon img { width:100%; height:100%; object-fit:contain; }
.ucoe-selected__icon svg { width:24px; height:24px; }
.ucoe-selected__label { font-size:13px; font-weight:700; color:var(--ucoe-ink); line-height:1.25; }
.ucoe-selected__sub   { margin-top:3px; color:var(--ucoe-ink-3); font-size:12px; }
.ucoe-selected__bar   { height:3px; width:40px; border-radius:999px; background:var(--ucoe-accent); margin:10px auto 0; opacity:0.8; }

.ucoe-what-title { margin:24px 0 12px; text-align:center; font-size:17px; font-weight:800; color:var(--ucoe-ink); letter-spacing:-0.02em; }
.ucoe-nextsteps-list { display:flex; flex-direction:column; gap:10px; margin-top:10px; }

.ucoe-row {
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:16px 18px;
  border-radius:var(--ucoe-r-lg);
  background:var(--ucoe-surface);
  border:1.5px solid var(--ucoe-border);
  text-decoration:none;
  opacity:0; transform:translateY(10px);
  transition:opacity 0.35s ease,transform 0.35s ease,box-shadow 0.2s,border-color 0.2s,background 0.2s;
  box-shadow:var(--ucoe-shadow-sm);
}
.ucoe-row.is-revealed { opacity:1; transform:translateY(0); }
.ucoe-row:hover { background:#fafbff; border-color:rgba(91,94,244,0.28); box-shadow:var(--ucoe-shadow-md); }
.ucoe-row__left { display:flex; align-items:center; gap:14px; min-width:0; }
.ucoe-row__icon { width:44px; height:44px; border-radius:12px; background:var(--ucoe-accent-bg); border:1.5px solid rgba(91,94,244,0.14); display:grid; place-items:center; overflow:hidden; flex-shrink:0; color:var(--ucoe-accent); font-weight:700; font-size:13px; }
.ucoe-row__icon img { width:100%; height:100%; object-fit:contain; }
.ucoe-row__text { min-width:0; }
.ucoe-row__title { font-size:14px; font-weight:700; color:var(--ucoe-ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ucoe-row__desc  { margin-top:3px; color:var(--ucoe-ink-3); font-size:12px; line-height:1.45; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ucoe-row__right { display:flex; align-items:center; gap:10px; flex:0 0 auto; }
.ucoe-row__arrow { width:34px; height:34px; border-radius:50%; border:1.5px solid var(--ucoe-border); display:grid; place-items:center; color:var(--ucoe-ink-4); transition:border-color 0.2s,color 0.2s,transform 0.2s; background:var(--ucoe-surface-2); }
.ucoe-row:hover .ucoe-row__arrow { border-color:var(--ucoe-accent); color:var(--ucoe-accent); background:var(--ucoe-accent-bg); transform:translateX(3px); }

/* NextSteps buttons */
.ucoe-nextsteps-shell .button.button-small {
  background:linear-gradient(135deg,var(--ucoe-accent) 0%,var(--ucoe-accent-dk) 100%);
  padding:8px 22px; border-radius:999px; border:none;
  color:#fff; font-family:var(--ucoe-font); font-weight:700; font-size:13px;
  text-shadow:none; box-shadow:var(--ucoe-shadow-accent);
  transition:transform 0.2s,box-shadow 0.2s; cursor:pointer;
}
.ucoe-nextsteps-shell .button.button-small:hover { transform:translateY(-1px); box-shadow:0 6px 22px rgba(91,94,244,0.42); }
.ucoe-nextsteps-shell .button.button-small:disabled { opacity:0.45; }
.ucoe-nextsteps-shell a.button.button-small { display:inline-flex; align-items:center; justify-content:center; }

.ucoe-tip { margin-top:18px; padding:14px 18px; border-radius:var(--ucoe-r-md); background:#f8f9ff; border:1px solid rgba(91,94,244,0.16); color:var(--ucoe-ink-2); text-align:center; font-size:13px; font-weight:500; }
.ucoe-nextsteps-footer { margin-top:18px; }
.ucoe-welcome-video { margin:10px auto 4px; max-width:100%; }
.ucoe-welcome-video__inner { position:relative; aspect-ratio:16/9; border-radius:var(--ucoe-r-lg); overflow:hidden; border:1.5px solid var(--ucoe-border); box-shadow:var(--ucoe-shadow-md); background:var(--ucoe-surface-3); }
@media (min-width:1024px) { .ucoe-nextsteps-shell .ucoe-welcome-video__inner { aspect-ratio:21/9; } }
.ucoe-welcome-video__inner iframe { position:absolute; inset:0; width:100%; height:100%; }

/* ═════════════════════════════════════════════
   COMMERCE / BILLING
═════════════════════════════════════════════ */
.ucoe-customer-billing-app .ucoe-card { padding:20px; }
.ucoe-commerce-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
@media (max-width:700px) { .ucoe-commerce-grid { grid-template-columns:1fr; } }
.ucoe-plan-summary { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; padding:18px; margin:0 0 20px; border:1.5px solid var(--ucoe-border); background:var(--ucoe-surface-2); border-radius:var(--ucoe-r-md); }
.ucoe-plan-summary__text { margin-top:6px; color:var(--ucoe-ink-3); font-size:14px; line-height:1.5; }
.ucoe-plan-summary__price { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }

/* Premium billing dashboard UI */
.ucoe-customer-billing-app .ucoe-card h3 { margin:0 0 8px; font-size:18px; font-weight:900; letter-spacing:-0.02em; }
.ucoe-customer-billing-app .description { margin:0 0 14px; color:var(--ucoe-ink-3); font-size:13px; line-height:1.6; }
.ucoe-table-wrap { overflow:auto; }
.ucoe-customer-billing-app table.widefat { border:1px solid var(--ucoe-border); border-radius:16px; overflow:hidden; box-shadow:var(--ucoe-shadow-sm); }
.ucoe-customer-billing-app table.widefat thead th { background:var(--ucoe-surface-2); }

.ucoe-billing__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
@media (max-width:900px){ .ucoe-billing__grid { grid-template-columns:1fr; } }

.ucoe-billing-cards { display:grid; grid-template-columns:1fr; gap:14px; }
.ucoe-billing-card { border:1px solid var(--ucoe-border); border-radius:18px; padding:16px; background:var(--ucoe-surface); box-shadow:var(--ucoe-shadow-sm); }
.ucoe-billing-card__top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ucoe-billing-card__title { font-weight:900; letter-spacing:-0.02em; }
.ucoe-billing-pill { font-size:11px; font-weight:900; text-transform:uppercase; letter-spacing:0.08em; padding:6px 10px; border-radius:999px; border:1px solid rgba(15,17,23,0.10); background:var(--ucoe-surface-2); color:var(--ucoe-ink-2); }
.ucoe-billing-pill--active { border-color: rgba(34,197,94,0.35); background: rgba(34,197,94,0.10); color:#166534; }
.ucoe-billing-pill--past_due,.ucoe-billing-pill--payment_failed { border-color: rgba(239,68,68,0.35); background: rgba(239,68,68,0.10); color:#7f1d1d; }
.ucoe-billing-card__meta { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:12px; }
@media (max-width:560px){ .ucoe-billing-card__meta { grid-template-columns:1fr; } }
.ucoe-billing-card__meta strong { display:block; font-size:11px; font-weight:900; letter-spacing:0.08em; text-transform:uppercase; color:var(--ucoe-ink-4); }
.ucoe-billing-card__meta span { display:block; margin-top:4px; font-weight:800; color:var(--ucoe-ink-2); }
.ucoe-billing-card__actions { margin-top:14px; display:flex; justify-content:flex-end; }

.ucoe-card-update { display:flex; align-items:center; gap:12px; margin:0 0 14px; flex-wrap:wrap; }
.ucoe-card-update #ucoe-card-update-msg { color:var(--ucoe-ink-3); font-size:13px; }

.ucoe-pill-btn {
  color:#fff;
  background-image: linear-gradient(90deg, #681ED9 0%, #103A70 100%);
  border-radius:999px;
  padding: 10px 36px;
  border: none;
  cursor:pointer;
  font-weight:800;
  letter-spacing:-0.01em;
  line-height:1;
}
.ucoe-pill-btn:hover { filter: brightness(1.03); transform: translateY(-1px); }
.ucoe-pill-btn:disabled { opacity:.6; transform:none; cursor:not-allowed; }

.ucoe-billing-modal { position:fixed; inset:0; z-index:100000; }
.ucoe-billing-modal__backdrop { position:absolute; inset:0; background:rgba(15,17,23,0.45); backdrop-filter:blur(8px); }
.ucoe-billing-modal__panel { position:relative; max-width:760px; width:calc(100% - 32px); margin:7vh auto; background:var(--ucoe-surface); border:1px solid var(--ucoe-border); border-radius:var(--ucoe-r-xl); padding:22px; box-shadow:var(--ucoe-shadow-xl); }
.ucoe-billing-modal__close { position:absolute; top:12px; right:12px; width:38px; height:38px; border-radius:999px; border:1px solid rgba(15,17,23,0.10); background:var(--ucoe-surface); color:var(--ucoe-ink-2); cursor:pointer; font-size:22px; line-height:1; display:flex; align-items:center; justify-content:center; }
.ucoe-billing-modal__close:hover { border-color: rgba(91,94,244,0.35); color: var(--ucoe-accent); background: rgba(91,94,244,0.06); }
.ucoe-billing-modal__content { margin-top:14px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
@media (max-width:640px){ .ucoe-billing-modal__content { grid-template-columns:1fr; } }
.ucoe-billing-choice { text-align:left; width:100%; border:1px solid var(--ucoe-border); background:var(--ucoe-surface-2); border-radius:18px; padding:16px; cursor:pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
.ucoe-billing-choice { display:flex; gap:14px; align-items:stretch; }
.ucoe-billing-choice__img { width:96px; border-radius:16px; background:#eef2ff; background-size:cover; background-position:center; border:1px solid rgba(15,17,23,0.08); flex:0 0 auto; }
.ucoe-billing-choice__img--svg { background:linear-gradient(135deg,rgba(104,30,217,0.12),rgba(16,58,112,0.10)); }
.ucoe-billing-choice__body { flex:1; min-width:0; }
.ucoe-billing-choice:hover { transform: translateY(-2px); box-shadow: var(--ucoe-shadow-md); border-color: rgba(91,94,244,0.35); }
.ucoe-billing-choice.is-selected { border-color: var(--ucoe-accent); box-shadow: 0 0 0 4px rgba(91,94,244,0.12), var(--ucoe-shadow-md); background:#fafbff; }
.ucoe-billing-choice__title { font-weight:900; letter-spacing:-0.02em; }
.ucoe-billing-choice__price { margin-top:6px; color:var(--ucoe-ink-3); font-size:13px; }
.ucoe-billing-modal__footer { margin-top:14px; display:flex; justify-content:flex-end; gap:10px; flex-wrap:wrap; align-items:center; }

.ucoe-billing-modal__term { margin-top:10px; display:flex; gap:10px; flex-wrap:wrap; }
.ucoe-billing-term { display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid var(--ucoe-border); border-radius:999px; background:var(--ucoe-surface-2); }
.ucoe-billing-term input { width:16px; height:16px; }
.ucoe-billing-term label { font-weight:900; color:var(--ucoe-ink-2); cursor:pointer; }

/* ═════════════════════════════════════════════
   PARTNER MODAL
═════════════════════════════════════════════ */
.ucoe-partner-modal { position:fixed; inset:0; z-index:99999; }
.ucoe-partner-modal__backdrop { position:absolute; inset:0; background:rgba(15,17,23,0.45); backdrop-filter:blur(6px); }
.ucoe-partner-modal__panel { position:relative; max-width:680px; width:calc(100% - 32px); margin:7vh auto; background:var(--ucoe-surface); border:1px solid var(--ucoe-border); border-radius:var(--ucoe-r-xl); padding:28px 24px 22px; box-shadow:var(--ucoe-shadow-xl); }
.ucoe-partner-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:16px; }
@media (max-width:560px) { .ucoe-partner-grid { grid-template-columns:1fr; } }
.ucoe-partner-card { display:block; border:1.5px solid var(--ucoe-border); border-radius:var(--ucoe-r-lg); padding:18px; text-decoration:none; background:var(--ucoe-surface-2); color:var(--ucoe-ink); transition:border-color 0.2s,background 0.2s,transform 0.2s,box-shadow 0.2s; }
.ucoe-partner-card:hover { border-color:rgba(91,94,244,0.3); background:#fafbff; transform:translateY(-2px); box-shadow:var(--ucoe-shadow-md); }
.ucoe-partner-card__title   { font-size:15px; font-weight:700; color:var(--ucoe-ink); }
.ucoe-partner-card__details { margin-top:6px; color:var(--ucoe-ink-3); font-size:13px; line-height:1.45; }
.ucoe-partner-card__cta     { margin-top:10px; font-weight:700; color:var(--ucoe-accent); font-size:13px; }
.ucoe-partner-modal__close { margin-top:14px; }

/* ═════════════════════════════════════════════
   LEARN MORE MODAL
══════════════════════════════════════════════ */
.ucoe-plan__actions { display:flex; flex-direction:column; gap:10px; align-items:stretch; }
.ucoe-plan__more { appearance:none; border:0; background:transparent; padding:10px 32px; border-radius:999px; cursor:pointer; color:var(--ucoe-ink-2); font-weight:700; font-size:13px; line-height:1; border:1px solid rgba(15,17,23,0.12); align-self:flex-end; }
.ucoe-plan__more:hover { border-color: rgba(91,94,244,0.35); color: var(--ucoe-accent); background: rgba(91,94,244,0.06); }

.ucoe-learnmore-modal, .ucoe-faith-modal { position:fixed; inset:0; z-index:100000; }
.ucoe-learnmore-modal__backdrop, .ucoe-faith-modal__backdrop { position:absolute; inset:0; background:rgba(15,17,23,0.45); backdrop-filter:blur(8px); }
.ucoe-learnmore-modal__panel, .ucoe-faith-modal__panel { position:relative; max-width:820px; width:calc(100% - 32px); margin:7vh auto; background:var(--ucoe-surface); border:1px solid var(--ucoe-border); border-radius:var(--ucoe-r-xl); padding:22px 22px 18px; box-shadow:var(--ucoe-shadow-xl); }
.ucoe-learnmore-modal__close, .ucoe-faith-modal__close { position:absolute; top:12px; right:12px; width:38px; height:38px; border-radius:999px; border:1px solid rgba(15,17,23,0.10); background:var(--ucoe-surface); color:var(--ucoe-ink-2); cursor:pointer; font-size:22px; line-height:1; display:flex; align-items:center; justify-content:center; }
.ucoe-learnmore-modal__close:hover, .ucoe-faith-modal__close:hover { border-color: rgba(91,94,244,0.35); color: var(--ucoe-accent); background: rgba(91,94,244,0.06); }
.ucoe-learnmore-modal__body, .ucoe-faith-modal__body { margin-top:12px; color:var(--ucoe-ink-2); font-size:14px; line-height:1.75; }
.ucoe-learnmore-modal__body iframe, .ucoe-faith-modal__body iframe { width:100%; max-width:100%; }

/* ═════════════════════════════════════════════
   INVITE LANDING
═════════════════════════════════════════════ */
.ucoe-invite-landing { margin:18px auto 14px; max-width:760px; text-align:center; background:transparent; }
.ucoe-invite-landing__welcome { font-size:11px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:var(--ucoe-ink-4); margin-top:4px; }
.ucoe-invite-landing__subject { font-size:20px; font-weight:800; color:var(--ucoe-ink); line-height:1.25; margin:10px 0 12px; letter-spacing:-0.025em; }
.ucoe-invite-landing__body { margin:10px auto 0; max-width:680px; color:var(--ucoe-ink-2); font-size:14px; line-height:1.65; }
.ucoe-invite-landing__hubs { display:flex; gap:14px; overflow-x:auto; padding:10px 2px 18px; margin:14px auto 0; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; }
.ucoe-invite-landing__hubs::-webkit-scrollbar { height:4px; }
.ucoe-invite-landing__hubs::-webkit-scrollbar-thumb { background:rgba(91,94,244,0.3); border-radius:999px; }
.ucoe-interest--carousel { min-width:200px; max-width:240px; flex:0 0 auto; scroll-snap-align:center; }
.ucoe-invite-divider { border:0; height:1px; width:min(740px,92%); margin:22px auto 14px; background:var(--ucoe-border); }

/* ═════════════════════════════════════════════
   FAVORITES GRID
═════════════════════════════════════════════ */
.ucoe-fav-hubs-grid__inner { display:flex; flex-wrap:wrap; gap:0.75rem; }
.ucoe-fav-hub { display:flex; flex-direction:column; align-items:center; gap:0.3rem; text-decoration:none; }
.ucoe-fav-thumb { width:44px; overflow:hidden; }
.ucoe-fav-thumb img { display:block; width:100%; height:100%; object-fit:cover; border-radius:10px; }
.ucoe-fav-title { font-size:0.72rem; line-height:1.1; text-align:center; color:var(--ucoe-ink-2); }

/* ═════════════════════════════════════════════
   WP COMPAT
═════════════════════════════════════════════ */
.ucoe-onboarding__shell .wp-block-preformatted { white-space:pre-line; }


/* --- Signup consents (terms/faith) --- */
.ucoe-consents{
  margin-top:18px;
  padding:14px 14px;
  border:1px solid rgba(15,23,42,.12);
  border-radius:14px;
  background:rgba(255,255,255,.7);
}
.ucoe-consents__title{
  margin:0 0 6px;
  font-size:14px;
}
.ucoe-consents__hint{
  margin:0 0 10px;
  font-size:13px;
  color:rgba(15,23,42,.72);
}
.ucoe-consent{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:13px;
  line-height:1.35;
  margin:10px 0;
}
.ucoe-consent input{
  margin-top:2px;
}
.ucoe-consent__meta{
  display:inline-flex;
  gap:10px;
  flex-wrap:wrap;
}
.ucoe-consent__btn{
  appearance:none;
  border:0;
  background:transparent;
  padding:0;
  font:inherit;
  color:var(--ucoe-accent);
  text-decoration:underline;
  cursor:pointer;
}
.ucoe-consent__btn:hover{ opacity:.9; }
