/* ============================================================================
   FieldSync — Meet Manager WIZARD ("manager-wizard.css")
   A guided, presenter-styled setup experience:
     Welcome (meet list + create) -> Meet Info -> Events -> Athletes
       -> Entries -> Summary
   Always-dark "on-deck board" aesthetic borrowed from the Athlete Display:
   purple gradient accents, soft glow backdrop, clamp() type, smooth step
   transitions. Reuses the real form fields (relocated into steps), so all
   existing logic keeps working.
   ========================================================================== */

:root{
  --wz-accent:  #7c3aed;
  --wz-accent2: #a78bfa;
  --wz-accent3: #c4b5fd;
  --wz-bg0:     #0a0b10;
  --wz-bg1:     #0f1117;
  --wz-card:    #161a24;
  --wz-card2:   #1b2030;
  --wz-line:    rgba(148,163,184,.16);
  --wz-line2:   rgba(148,163,184,.26);
  --wz-text:    #f1f5f9;
  --wz-muted:   #93a1b8;
  --wz-dim:     #64748b;
  --wz-good:    #22c55e;
  --wz-ease:    cubic-bezier(.22,.61,.36,1);
}

/* ── When the wizard is active, hide the classic chrome ─────────────────── */
body.wizOn{ overflow:hidden; }
body.wizOn > .wrap{ display:none !important; }
body.wizOn .aiChatFab, body.wizOn .aiChatPanel,
body.wizOn .mgrFeedbackFab, body.wizOn .mgrFeedbackPanel{ display:none !important; }

/* ── Stage ──────────────────────────────────────────────────────────────── */
.wzStage{
  position:fixed; inset:0; z-index:2000;
  display:none; flex-direction:column;
  color:var(--wz-text);
  font-family:"Inter","Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  background:
    radial-gradient(120% 90% at 50% -10%, #14182300 40%, #0a0b10 100%),
    linear-gradient(180deg,#0f1117 0%,#0a0b10 100%);
  -webkit-font-smoothing:antialiased;
}
body.wizOn .wzStage{ display:flex; }

.wzBackdrop{ position:absolute; inset:0; overflow:hidden; z-index:0; pointer-events:none; }
.wzGlow{ position:absolute; border-radius:50%; filter:blur(90px); opacity:.4; will-change:transform; }
.wzGlowA{ width:55vw;height:55vw;left:-12vw;top:-18vw;
  background:radial-gradient(circle,#7c3aed 0%,#7c3aed00 68%); animation:wzDriftA 15s var(--wz-ease) infinite alternate; }
.wzGlowB{ width:48vw;height:48vw;right:-14vw;bottom:-20vw;
  background:radial-gradient(circle,#4c1d95 0%,#4c1d9500 70%); animation:wzDriftB 18s var(--wz-ease) infinite alternate; }
@keyframes wzDriftA{ 0%{ transform:translate3d(0,0,0) scale(1); } 33%{ transform:translate3d(16vw,11vh,0) scale(1.24); } 66%{ transform:translate3d(8vw,-9vh,0) scale(1.12); } 100%{ transform:translate3d(-4vw,5vh,0) scale(1.18); } }
@keyframes wzDriftB{ 0%{ transform:translate3d(0,0,0) scale(1); } 33%{ transform:translate3d(-15vw,-10vh,0) scale(1.26); } 66%{ transform:translate3d(-6vw,8vh,0) scale(1.14); } 100%{ transform:translate3d(6vw,-5vh,0) scale(1.2); } }
@media (prefers-reduced-motion: reduce){ .wzMeetPub .wzPubDot{ animation:none; } }

/* ── Top bar ────────────────────────────────────────────────────────────── */
.wzTop{
  position:relative; z-index:5; flex:0 0 auto;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:clamp(14px,2.2vh,22px) clamp(18px,3vw,42px);
  background:linear-gradient(180deg,rgba(10,11,16,.9),rgba(10,11,16,0));
}
.wzBrand{ display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:-.01em; }
.wzBrand img{ height:30px; width:auto; display:block; }
.wzBrandName{ font-size:16px;
  background:linear-gradient(90deg,#fff,#cbb6ff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.wzTopActions{ display:flex; align-items:center; gap:8px; }
.wzGhostBtn{
  border:1px solid var(--wz-line2); background:rgba(255,255,255,.03);
  color:var(--wz-text); border-radius:10px; padding:8px 13px;
  font-size:12.5px; font-weight:700; cursor:pointer; transition:border-color .15s, background .15s;
}
.wzGhostBtn:hover{ border-color:rgba(167,139,250,.5); background:rgba(124,58,237,.12); }

/* ── Progress rail ──────────────────────────────────────────────────────── */
.wzRail{
  position:relative; z-index:5; flex:0 0 auto;
  display:flex; align-items:center; justify-content:center; gap:0;
  padding:6px clamp(18px,3vw,42px) 14px;
}
.wzRail.hidden{ display:none; }
.wzRailStep{ display:flex; align-items:center; gap:10px; }
.wzRailDot{
  width:30px;height:30px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:900;
  background:var(--wz-card2); border:1px solid var(--wz-line2); color:var(--wz-muted);
  transition:all .25s var(--wz-ease); flex:0 0 auto;
}
.wzRailLabel{ font-size:12px; font-weight:700; color:var(--wz-muted); white-space:nowrap; transition:color .2s; }
.wzRailLine{ width:clamp(20px,4vw,64px); height:2px; background:var(--wz-line2); margin:0 8px; transition:background .3s; }
.wzRailStep.active .wzRailDot{
  background:linear-gradient(135deg,#7c3aed,#a78bfa); border-color:transparent; color:#fff;
  box-shadow:0 4px 16px rgba(124,58,237,.5); transform:scale(1.06);
}
.wzRailStep.active .wzRailLabel{ color:var(--wz-text); }
.wzRailStep.done .wzRailDot{ background:rgba(34,197,94,.16); border-color:rgba(34,197,94,.4); color:var(--wz-good); }
.wzRailStep.done + .wzRailLine{ background:linear-gradient(90deg,rgba(34,197,94,.5),var(--wz-line2)); }
@media (max-width:720px){ .wzRailLabel{ display:none; } .wzRailLine{ width:20px; } }

/* ── Scroll body ────────────────────────────────────────────────────────── */
.wzBody{
  position:relative; z-index:5; flex:1 1 auto; overflow-y:auto; overflow-x:hidden;
  padding:clamp(8px,2vh,24px) clamp(16px,4vw,48px) 120px;
}
.wzInner{ max-width:960px; margin:0 auto; }

/* Panels + transition */
.wzPanel{ display:none; animation:wzIn .34s var(--wz-ease); }
.wzPanel.show{ display:block; }
@keyframes wzIn{ from{ opacity:0; transform:translateY(14px);} to{ opacity:1; transform:none;} }

.wzHeadline{ font-size:clamp(24px,3.6vh,38px); font-weight:800; letter-spacing:-.02em; line-height:1.1;
  background:linear-gradient(90deg,#fff 0%,#cbb6ff 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.wzSubhead{ margin-top:8px; color:var(--wz-muted); font-size:14px; line-height:1.55; max-width:640px; }
.wzStepBadge{ display:inline-block; font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  color:var(--wz-accent3); background:rgba(124,58,237,.14); border:1px solid rgba(124,58,237,.3);
  padding:4px 10px; border-radius:999px; margin-bottom:12px; }

/* Shortcut offered on the Events step: import instead of hand-building events. */
.wzImportBar{ display:flex; align-items:center; gap:16px; flex-wrap:wrap;
  margin-top:16px; padding:14px 16px; border-radius:12px;
  border:1px solid rgba(124,58,237,.35); background:rgba(124,58,237,.08); }
.wzImportText{ flex:1 1 320px; min-width:0; display:flex; flex-direction:column; gap:3px; }
.wzImportText b{ font-size:14px; }
.wzImportText span{ color:var(--wz-muted); font-size:12.5px; line-height:1.5; }
.wzImportBar .btn{ flex:0 0 auto; }

/* ── Welcome screen ─────────────────────────────────────────────────────── */
.wzWelcomeHero{ text-align:center; padding:clamp(20px,5vh,64px) 0 24px; }
.wzWelcomeHero .wzHeadline{ font-size:clamp(30px,5.4vh,54px); }
.wzWelcomeHero .wzSubhead{ margin-left:auto; margin-right:auto; }
.wzMeetGrid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:14px; margin-top:8px; }
.wzMeetCard{
  position:relative; text-align:left; cursor:pointer;
  background:linear-gradient(180deg,var(--wz-card),var(--wz-card2));
  border:1px solid var(--wz-line); border-radius:16px; padding:18px;
  transition:transform .16s var(--wz-ease), border-color .16s, box-shadow .16s;
}
.wzMeetCard:hover{ transform:translateY(-3px); border-color:rgba(167,139,250,.5); box-shadow:0 14px 40px rgba(124,58,237,.22); }
.wzMeetCard .wzMeetName{ font-size:16px; font-weight:800; margin-bottom:6px; padding-right:92px; }
.wzMeetCard .wzMeetMeta{ font-size:12.5px; color:var(--wz-muted); padding-right:92px; }
.wzMeetCard .wzMeetPub{ position:absolute; top:14px; right:14px; font-size:10px; font-weight:900; letter-spacing:.05em;
  padding:3px 9px; border-radius:999px; display:inline-flex; align-items:center; gap:5px; white-space:nowrap; text-transform:uppercase; }
.wzMeetPub .wzPubDot{ width:6px; height:6px; border-radius:50%; background:currentColor; box-shadow:0 0 0 0 currentColor; animation:wzPubPulse 1.8s ease-out infinite; }
@keyframes wzPubPulse{ 0%{ box-shadow:0 0 0 0 rgba(74,222,128,.5);} 70%{ box-shadow:0 0 0 6px rgba(74,222,128,0);} 100%{ box-shadow:0 0 0 0 rgba(74,222,128,0);} }
@media (prefers-reduced-motion: reduce){ .wzMeetPub .wzPubDot{ animation:none; } }
.wzMeetPub.live{ background:rgba(34,197,94,.16); color:#4ade80; border:1px solid rgba(34,197,94,.4); }
.wzMeetPub.upcoming{ background:rgba(56,189,248,.14); color:#7dd3fc; border:1px solid rgba(56,189,248,.38); }
.wzMeetPub.ready{ background:rgba(45,212,191,.14); color:#5eead4; border:1px solid rgba(45,212,191,.38); }
.wzMeetPub.completed{ background:rgba(148,163,184,.16); color:#cbd5e1; border:1px solid rgba(148,163,184,.34); }
.wzMeetPub.incomplete{ background:rgba(245,158,11,.16); color:#fcd34d; border:1px solid rgba(245,158,11,.44); }
.wzMeetPub.draft{ background:rgba(148,163,184,.12); color:var(--wz-muted); border:1px solid var(--wz-line2); }
.wzMeetCard .wzMeetArrow{ margin-top:14px; font-size:12px; font-weight:800; color:var(--wz-accent2); }
.wzMeetCard .wzMeetDelete{
  position:absolute; bottom:12px; right:12px; z-index:2;
  width:30px; height:30px; border-radius:9px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; font-size:14px; line-height:1;
  background:rgba(239,68,68,.08); border:1px solid rgba(239,68,68,.28); color:#fca5a5;
  opacity:0; transform:translateY(4px);
  transition:opacity .16s var(--wz-ease), transform .16s var(--wz-ease), background .15s, border-color .15s;
}
.wzMeetCard:hover .wzMeetDelete{ opacity:1; transform:none; }
.wzMeetCard .wzMeetDelete:hover{ background:rgba(239,68,68,.2); border-color:rgba(239,68,68,.55); color:#fecaca; }
@media (hover: none){ .wzMeetCard .wzMeetDelete{ opacity:1; transform:none; } }

.wzCreateCard{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px;
  text-align:center; cursor:pointer; min-height:150px;
  background:linear-gradient(135deg,rgba(124,58,237,.14),rgba(167,139,250,.06));
  border:1.5px dashed rgba(167,139,250,.45); border-radius:16px; padding:18px;
  transition:transform .16s var(--wz-ease), border-color .16s, background .16s;
}
.wzCreateCard:hover{ transform:translateY(-3px); border-color:var(--wz-accent2); background:linear-gradient(135deg,rgba(124,58,237,.22),rgba(167,139,250,.1)); }
.wzCreatePlus{ width:46px;height:46px;border-radius:50%; background:linear-gradient(135deg,#7c3aed,#a78bfa); color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:400;box-shadow:0 6px 20px rgba(124,58,237,.45); }
.wzCreateCard .wzCreateTitle{ font-size:15px;font-weight:800; }
.wzCreateCard .wzCreateSub{ font-size:12px;color:var(--wz-muted); }
.wzWelcomeEmpty{ text-align:center; color:var(--wz-muted); font-size:14px; padding:20px; }
.wzNoResults{ grid-column:1/-1; text-align:center; color:var(--wz-muted); font-size:14px; padding:34px 20px;
  background:rgba(255,255,255,.02); border:1px dashed var(--wz-line2); border-radius:16px; }

/* ── Meet dates on cards ────────────────────────────────────────────────── */
.wzMeetCard .wzMeetDates{ display:flex; align-items:center; gap:6px; font-size:12.5px; font-weight:700;
  color:var(--wz-accent3); margin:2px 0 6px; padding-right:92px; }
.wzMeetCard .wzMeetDatesIcon{ font-size:12px; opacity:.85; }
.wzMeetCard .wzMeetDates.wzMeetNoDate{ color:var(--wz-dim); font-weight:600; }

/* ── Toolbar: search + sort + filters ───────────────────────────────────── */
.wzToolbar{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:0 0 16px; position:relative; }
.wzSearchWrap{ position:relative; flex:1 1 260px; min-width:200px; }
.wzSearchIcon{ position:absolute; left:14px; top:50%; transform:translateY(-50%); font-size:14px; opacity:.6; pointer-events:none; }
#wzSearch{
  width:100%; background:#0f131c; color:var(--wz-text);
  border:1px solid var(--wz-line2); border-radius:12px; padding:12px 14px 12px 40px; font-size:14px;
  transition:border-color .15s, box-shadow .15s;
}
#wzSearch:focus{ outline:none; border-color:rgba(167,139,250,.6); box-shadow:0 0 0 3px rgba(124,58,237,.22); }
#wzSearch::placeholder{ color:var(--wz-dim); }
.wzToolbarBtns{ display:flex; align-items:center; gap:10px; }
.wzSortSel{
  background:#0f131c; color:var(--wz-text); border:1px solid var(--wz-line2); border-radius:12px;
  padding:11px 12px; font-size:13px; font-weight:600; cursor:pointer;
}
.wzSortSel:focus{ outline:none; border-color:rgba(167,139,250,.6); }
.wzFilterBtn{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,255,255,.04); color:var(--wz-text); border:1px solid var(--wz-line2);
  border-radius:12px; padding:11px 16px; font-size:13px; font-weight:800; cursor:pointer;
  transition:border-color .15s, background .15s;
}
.wzFilterBtn:hover{ border-color:rgba(167,139,250,.5); background:rgba(124,58,237,.12); }
.wzFilterCount{
  display:inline-flex; align-items:center; justify-content:center; min-width:18px; height:18px; padding:0 5px;
  font-size:11px; font-weight:900; color:#fff; background:linear-gradient(135deg,#7c3aed,#a78bfa); border-radius:999px;
}

/* ── Filter panel ───────────────────────────────────────────────────────── */
.wzFilterPanel{
  position:absolute; top:calc(100% + 8px); right:0; z-index:20; width:min(560px,92vw);
  background:#12151f; border:1px solid var(--wz-line2); border-radius:16px; padding:18px;
  box-shadow:0 22px 60px rgba(0,0,0,.55); animation:wzIn .2s var(--wz-ease);
}
.wzFilterGroup{ margin-bottom:16px; }
.wzFilterGroup:last-of-type{ margin-bottom:8px; }
.wzFilterRow{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:520px){ .wzFilterRow{ grid-template-columns:1fr; } }
.wzFilterLabel{ font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--wz-accent3); margin-bottom:8px; }
.wzChipRow{ display:flex; flex-wrap:wrap; gap:7px; }
.wzChip{
  cursor:pointer; font-size:12.5px; font-weight:700; color:var(--wz-muted);
  background:rgba(255,255,255,.03); border:1px solid var(--wz-line2); border-radius:999px; padding:6px 13px;
  transition:all .14s var(--wz-ease);
}
.wzChip:hover{ border-color:rgba(167,139,250,.5); color:var(--wz-text); }
.wzChip.on{ background:linear-gradient(135deg,rgba(124,58,237,.9),rgba(167,139,250,.9)); border-color:transparent; color:#fff; }
.wzFilterFoot{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:14px; padding-top:14px; border-top:1px solid var(--wz-line); }

/* ── Incomplete-meets reminder banner ───────────────────────────────────── */
#wzReminder{ margin-bottom:16px; }
.wzReminderCard{
  position:relative; display:flex; gap:14px; align-items:flex-start;
  background:linear-gradient(135deg,rgba(245,158,11,.14),rgba(245,158,11,.05));
  border:1px solid rgba(245,158,11,.4); border-radius:16px; padding:16px 18px;
  animation:wzIn .34s var(--wz-ease);
}
.wzReminderIcon{ font-size:22px; line-height:1.2; color:#fcd34d; flex:0 0 auto; }
.wzReminderBody{ flex:1 1 auto; min-width:0; }
.wzReminderTitle{ font-size:15px; font-weight:800; color:#fde68a; }
.wzReminderText{ font-size:13px; color:var(--wz-muted); margin-top:3px; line-height:1.5; }
.wzReminderMeets{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.wzReminderMeet{
  cursor:pointer; font-size:12.5px; font-weight:700; color:#fde68a;
  background:rgba(245,158,11,.12); border:1px solid rgba(245,158,11,.4);
  border-radius:999px; padding:6px 12px; transition:background .15s, transform .12s;
}
.wzReminderMeet:hover{ background:rgba(245,158,11,.24); transform:translateY(-1px); }
.wzReminderClose{
  position:absolute; top:10px; right:12px; background:none; border:none; cursor:pointer;
  color:var(--wz-muted); font-size:20px; line-height:1; padding:2px 6px; border-radius:8px; transition:color .15s, background .15s;
}
.wzReminderClose:hover{ color:var(--wz-text); background:rgba(255,255,255,.06); }

/* ── Reused (relocated) form cards — dark restyle ───────────────────────── */
.wzStage .card{
  background:linear-gradient(180deg,var(--wz-card),var(--wz-card2)) !important;
  border:1px solid var(--wz-line) !important; border-radius:16px !important;
  box-shadow:0 8px 30px rgba(0,0,0,.32) !important; color:var(--wz-text);
  margin-bottom:14px; overflow:hidden;
}
.wzStage .cardHd{ border-bottom:1px solid var(--wz-line) !important; padding:14px 18px; }
.wzStage .cardTitle{ color:var(--wz-text); font-size:14px; font-weight:800; }
.wzStage .cardHd .muted, .wzStage .muted{ color:var(--wz-muted) !important; }
.wzStage .cardBd{ padding:18px; }
.wzStage label{ color:var(--wz-muted); text-transform:uppercase; font-size:11px; font-weight:700; letter-spacing:.02em; }
.wzStage input, .wzStage select, .wzStage textarea{
  background:#0f131c !important; color:var(--wz-text) !important;
  border:1px solid var(--wz-line2) !important; border-radius:10px !important; padding:10px 12px; font-size:13.5px;
  transition:border-color .15s, box-shadow .15s;
}
.wzStage input:focus, .wzStage select:focus, .wzStage textarea:focus{
  border-color:rgba(167,139,250,.6) !important; box-shadow:0 0 0 3px rgba(124,58,237,.22) !important; outline:none;
}
.wzStage input::placeholder, .wzStage textarea::placeholder{ color:var(--wz-dim); }
.wzStage .hint{ color:var(--wz-muted); font-size:11.5px; }
.wzStage .btn, .wzStage .btnSmall{
  background:rgba(255,255,255,.04); color:var(--wz-text); border:1px solid var(--wz-line2);
  border-radius:10px; font-weight:700; transition:transform .1s, border-color .15s, background .15s, box-shadow .15s;
}
.wzStage .btn:hover{ border-color:rgba(167,139,250,.5); transform:translateY(-1px); }
.wzStage .btn.primary{ background:linear-gradient(135deg,#7c3aed,#a78bfa); border-color:transparent; color:#fff; box-shadow:0 4px 14px rgba(124,58,237,.4); }
.wzStage .btn.danger{ color:#fca5a5; border-color:rgba(239,68,68,.4); background:rgba(239,68,68,.08); }
.wzStage .tbl th{ color:var(--wz-muted); border-bottom-color:var(--wz-line) !important; text-transform:uppercase; font-size:11px; letter-spacing:.03em; }
.wzStage .tbl td{ color:var(--wz-text); border-bottom-color:var(--wz-line) !important; font-size:13px; }
.wzStage .tbl tr:hover td{ background:rgba(124,58,237,.08); }
.wzStage .segToggle{ background:var(--wz-card2); border-color:var(--wz-line2); }
.wzStage .segBtn{ color:var(--wz-muted); }
.wzStage .segBtn.active{ background:rgba(124,58,237,.28); color:#fff; }
.wzStage .toggleTrack{ background:#0f131c; border-color:var(--wz-line2); }
.wzStage .badge{ background:var(--wz-card2); border-color:var(--wz-line2); color:var(--wz-text); }

/* Meet-Info step: staged reveal of sections */
.wzReveal{ transition:opacity .4s var(--wz-ease), transform .4s var(--wz-ease); }
.wzReveal.pending{ opacity:.35; }
.wzReveal.locked{ opacity:.28; filter:grayscale(.4); pointer-events:none; }

/* ── Summary ────────────────────────────────────────────────────────────── */
.wzSummaryGrid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:14px; margin-top:8px; }
.wzSumCard{ background:linear-gradient(180deg,var(--wz-card),var(--wz-card2)); border:1px solid var(--wz-line); border-radius:16px; padding:18px; }
.wzSumCard h4{ margin:0 0 10px; font-size:12px; letter-spacing:.05em; text-transform:uppercase; color:var(--wz-accent3); font-weight:800; display:flex; align-items:center; justify-content:space-between; }
.wzSumEditLink{ font-size:11px; font-weight:800; color:var(--wz-accent2); cursor:pointer; text-transform:none; letter-spacing:0; }
.wzSumEditLink:hover{ text-decoration:underline; }
.wzSumBig{ font-size:22px; font-weight:800; line-height:1.15; }
.wzSumSub{ font-size:13px; color:var(--wz-muted); margin-top:4px; }
.wzSumStat{ display:flex; align-items:baseline; gap:8px; }
.wzSumStatNum{ font-size:34px; font-weight:900; background:linear-gradient(135deg,#fff,#c4b5fd); -webkit-background-clip:text; background-clip:text; color:transparent; }
.wzSumStatLbl{ font-size:13px; color:var(--wz-muted); }
.wzSumList{ list-style:none; margin:8px 0 0; padding:0; max-height:200px; overflow:auto; }
.wzSumList li{ font-size:13px; padding:6px 0; border-bottom:1px solid var(--wz-line); display:flex; justify-content:space-between; gap:10px; }
.wzSumList li:last-child{ border-bottom:none; }
.wzSumList .wzSumTag{ color:var(--wz-muted); font-size:12px; }
.wzLaunchRow{ display:flex; flex-wrap:wrap; gap:12px; margin-top:22px; }
.wzLaunchBtn{ display:flex; align-items:center; gap:10px; text-decoration:none;
  background:linear-gradient(135deg,#7c3aed,#a78bfa); color:#fff; border:none; cursor:pointer;
  border-radius:14px; padding:16px 22px; font-size:15px; font-weight:800; box-shadow:0 8px 26px rgba(124,58,237,.4);
  transition:transform .14s var(--wz-ease), box-shadow .14s; }
.wzLaunchBtn:hover{ transform:translateY(-2px); box-shadow:0 12px 34px rgba(124,58,237,.55); }
.wzLaunchBtn.secondary{ background:rgba(255,255,255,.05); border:1px solid var(--wz-line2); box-shadow:none; color:var(--wz-text); }
.wzLaunchBtn.secondary:hover{ border-color:rgba(167,139,250,.5); }

/* ── Sticky nav footer ──────────────────────────────────────────────────── */
.wzFoot{
  position:fixed; left:0; right:0; bottom:0; z-index:2010;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:14px clamp(16px,4vw,48px);
  background:linear-gradient(0deg,rgba(10,11,16,.96) 60%,rgba(10,11,16,0));
  backdrop-filter:blur(6px);
}
body.wizOn .wzFoot{ display:flex; }
.wzFoot.hidden{ display:none !important; }
.wzFootInner{ max-width:960px; margin:0 auto; width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.wzBtn{ border:none; cursor:pointer; border-radius:12px; font-weight:800; font-size:14px; padding:13px 24px; transition:transform .12s var(--wz-ease), box-shadow .15s, border-color .15s, background .15s; }
.wzBtnBack{ background:rgba(255,255,255,.05); border:1px solid var(--wz-line2); color:var(--wz-text); }
.wzBtnBack:hover{ border-color:rgba(167,139,250,.5); }
.wzBtnBack:disabled{ opacity:.35; cursor:default; }
.wzBtnNext{ background:linear-gradient(135deg,#7c3aed,#a78bfa); color:#fff; box-shadow:0 6px 20px rgba(124,58,237,.45); }
.wzBtnNext:hover{ transform:translateY(-2px); box-shadow:0 10px 28px rgba(124,58,237,.6); }
.wzBtnNext .wzArrow{ margin-left:8px; }
.wzFootHint{ font-size:12px; color:var(--wz-muted); }

/* Toast */
.wzToast{ position:fixed; left:50%; bottom:86px; transform:translateX(-50%) translateY(20px); z-index:2020;
  background:var(--wz-card2); border:1px solid var(--wz-line2); color:var(--wz-text);
  padding:11px 18px; border-radius:12px; font-size:13px; font-weight:700; box-shadow:0 12px 34px rgba(0,0,0,.5);
  opacity:0; pointer-events:none; transition:opacity .2s, transform .2s; }
.wzToast.show{ opacity:1; transform:translateX(-50%) translateY(0); }
.wzToast.err{ border-color:rgba(239,68,68,.5); }

/* -- Collaborators step --------------------------------------------------- */
.wzCollabCard{ background:linear-gradient(180deg,var(--wz-card),var(--wz-card2)); border:1px solid var(--wz-line); border-radius:16px; padding:20px; }
.wzCollabInviteRow{ display:flex; gap:10px; flex-wrap:wrap; }
.wzCollabInviteRow input{ flex:1 1 220px; min-width:180px; background:#0f131c; color:var(--wz-text); border:1px solid var(--wz-line2); border-radius:10px; padding:12px 14px; font-size:14px; }
.wzCollabInviteRow input:focus{ outline:none; border-color:rgba(167,139,250,.6); box-shadow:0 0 0 3px rgba(124,58,237,.22); }
.wzCollabInviteRow input::placeholder{ color:var(--wz-dim); }
.wzCollabMsg{ font-size:13px; margin:10px 2px 0; min-height:1em; color:var(--wz-muted); }
.wzCollabMsg.ok{ color:#4ade80; }
.wzCollabMsg.err{ color:#fca5a5; }
.wzCollabList{ margin-top:14px; display:flex; flex-direction:column; gap:8px; }
.wzCollabNote{ color:var(--wz-muted); font-size:13.5px; padding:8px 2px; }
.wzCollabItem{ display:flex; align-items:center; gap:12px; padding:11px 14px; border-radius:12px; background:rgba(255,255,255,.02); border:1px solid var(--wz-line); }
.wzCollabAvatar{ flex:none; width:38px; height:38px; border-radius:50%; display:grid; place-items:center; font-weight:900; font-size:15px; color:#fff; background:linear-gradient(135deg,#7c3aed,#a78bfa); }
.wzCollabAvatar.owner{ background:linear-gradient(135deg,#f59e0b,#fbbf24); color:#0a0b10; }
.wzCollabWho{ flex:1 1 auto; min-width:0; }
.wzCollabName{ font-size:14px; font-weight:700; color:var(--wz-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wzCollabEmailTxt{ font-size:12.5px; color:var(--wz-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wzCollabStatus{ flex:none; font-size:10.5px; font-weight:900; letter-spacing:.05em; text-transform:uppercase; padding:4px 10px; border-radius:999px; }
.wzCollabStatus.acc{ background:rgba(34,197,94,.16); color:#4ade80; border:1px solid rgba(34,197,94,.4); }
.wzCollabStatus.pend{ background:rgba(245,158,11,.16); color:#fcd34d; border:1px solid rgba(245,158,11,.44); }
.wzCollabStatus.dec{ background:rgba(148,163,184,.14); color:var(--wz-muted); border:1px solid var(--wz-line2); }
.wzCollabStatus.owner{ background:rgba(167,139,250,.16); color:var(--wz-accent3); border:1px solid rgba(167,139,250,.4); }
.wzCollabActions{ flex:none; display:flex; gap:6px; margin-left:4px; }
.wzCollabIcon{ width:30px; height:30px; border-radius:8px; cursor:pointer; background:rgba(255,255,255,.04); border:1px solid var(--wz-line2); color:var(--wz-text); font-size:14px; line-height:1; transition:border-color .15s, background .15s; }
.wzCollabIcon:hover{ border-color:rgba(167,139,250,.5); background:rgba(124,58,237,.12); }
.wzCollabIcon.danger{ color:#fca5a5; border-color:rgba(239,68,68,.35); background:rgba(239,68,68,.08); }
.wzCollabIcon.danger:hover{ background:rgba(239,68,68,.2); border-color:rgba(239,68,68,.55); }
.wzCollabHint{ margin-top:16px; padding-top:14px; border-top:1px solid var(--wz-line); font-size:12.5px; color:var(--wz-muted); line-height:1.55; }

/* -- Pending-invite banner (welcome) -------------------------------------- */
#wzInvites{ margin-bottom:16px; display:flex; flex-direction:column; gap:10px; }
.wzInviteCard{ display:flex; align-items:center; gap:14px; background:linear-gradient(135deg,rgba(124,58,237,.16),rgba(167,139,250,.06)); border:1px solid rgba(167,139,250,.4); border-radius:16px; padding:16px 18px; animation:wzIn .34s var(--wz-ease); }
.wzInviteIcon{ font-size:22px; color:var(--wz-accent3); flex:none; }
.wzInviteBody{ flex:1 1 auto; min-width:0; }
.wzInviteTitle{ font-size:15px; font-weight:800; color:var(--wz-text); }
.wzInviteText{ font-size:13px; color:var(--wz-muted); margin-top:3px; }
.wzInviteActions{ flex:none; display:flex; gap:8px; }
.wzInviteAccept{ cursor:pointer; border:none; border-radius:10px; padding:9px 18px; font-weight:800; font-size:13px; color:#fff; background:linear-gradient(135deg,#7c3aed,#a78bfa); box-shadow:0 6px 18px rgba(124,58,237,.4); transition:transform .12s; }
.wzInviteAccept:hover{ transform:translateY(-1px); }
.wzInviteDecline{ cursor:pointer; border:1px solid var(--wz-line2); border-radius:10px; padding:9px 16px; font-weight:700; font-size:13px; color:var(--wz-muted); background:rgba(255,255,255,.03); }
.wzInviteDecline:hover{ color:var(--wz-text); border-color:rgba(167,139,250,.5); }