:root{
  --burgundy:#97144D; --deep:#6E0E39; --rose:#C8447A; --tint:#FDF2F6; --tint2:#F9E8F0;
  --ink:#16121A; --body:#3F3846; --muted:#7A7280; --line:#EAE4EB;
  --green:#1E7A56; --green-tint:#EFFAF4; --amber:#9A6209; --amber-tint:#FEF7EA;
  --red:#B3261E; --red-tint:#FDF0EF;
  --shell:#141118;
}
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{height:100%}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;
  background:radial-gradient(120% 90% at 50% 0%, #241C2A 0%, #131018 55%, #0C0A10 100%);
  color:var(--body);
  font-size:15px; line-height:1.5; -webkit-font-smoothing:antialiased;
  overflow:hidden;
}
body.bare{background:#fff}

/* ── iPhone 15 Pro frame ──────────────────────────
   Screen is a fixed 393x852 and the whole phone is scaled to fit the
   viewport, so proportions stay exact instead of stretching.
   On a real phone (or installed) the chrome is dropped entirely.
   ───────────────────────────────────────────────── */
.stage{width:100%;height:100dvh;display:flex;align-items:center;justify-content:center;overflow:hidden}
.phone{position:relative;flex:none;transform-origin:center center}

/* titanium band */
.bezel{
  padding:11px;border-radius:66px;
  background:
    linear-gradient(146deg,#8E8B93 0%,#3D3A42 16%,#6E6B75 32%,#2B2830 52%,#7B7883 72%,#332F39 88%,#6A6771 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.13) inset,
    0 1px 2px rgba(255,255,255,.30) inset,
    0 34px 70px rgba(0,0,0,.55),
    0 8px 22px rgba(0,0,0,.42);
}
.screen{
  position:relative;width:393px;height:852px;border-radius:55px;overflow:hidden;
  background:#fff;display:flex;flex-direction:column;
  box-shadow:0 0 0 1.5px #0B0910;
}

/* Dynamic Island */
.island{
  position:absolute;top:11px;left:50%;transform:translateX(-50%);
  width:125px;height:36px;background:#08070B;border-radius:20px;z-index:120;
  display:flex;align-items:center;justify-content:flex-end;padding-right:11px;
}
.island .cam{width:11px;height:11px;border-radius:50%;
  background:radial-gradient(circle at 32% 30%,#2C3550 0%,#141826 55%,#08070B 100%);
  box-shadow:0 0 0 1px rgba(120,140,190,.22)}

/* home indicator */
.homebar{
  position:absolute;bottom:8px;left:50%;transform:translateX(-50%);
  width:140px;height:5px;border-radius:3px;background:rgba(10,8,14,.30);z-index:120;pointer-events:none;
}

/* side hardware */
.side{position:absolute;background:linear-gradient(180deg,#6C6974,#39363F);border-radius:2px;z-index:1}
.side.action{left:-3px;top:118px;width:4px;height:32px}
.side.volup{left:-3px;top:176px;width:4px;height:62px}
.side.voldn{left:-3px;top:252px;width:4px;height:62px}
.side.power{right:-3px;top:210px;width:4px;height:98px}

#app{flex:1;display:flex;flex-direction:column;min-height:0}

/* Real device, small screen, or installed: no frame at all */
body.bare .stage{height:100dvh}
body.bare .phone{transform:none !important;width:100%;height:100%}
body.bare .bezel{padding:0;border-radius:0;background:none;box-shadow:none;height:100%}
body.bare .screen{width:100%;height:100%;border-radius:0;box-shadow:none}
body.bare .island,
body.bare .side{display:none}
body.bare .homebar{background:rgba(10,8,14,.22)}

/* ── Status bar ───────────────────────────────── */
.statusbar{height:46px;flex:none;display:flex;align-items:flex-end;justify-content:space-between;
  padding:0 24px 5px;font-size:12.5px;font-weight:650;color:var(--ink);z-index:80}
.statusbar .icons{display:flex;gap:5px;align-items:center}
.statusbar.onDark{color:#fff}

/* ── App bar ──────────────────────────────────── */
.appbar{flex:none;background:#fff;border-bottom:1px solid var(--line);z-index:70}
.appbar .row{display:flex;align-items:center;justify-content:space-between;padding:6px 16px 9px;min-height:44px}
.iconbtn{width:32px;height:32px;border:none;background:none;border-radius:50%;
  display:flex;align-items:center;justify-content:center;cursor:pointer;flex:none}
.iconbtn:active{background:#F3EFF4}
.axislogo{width:96px;color:var(--burgundy);display:flex;flex:none}
.axislogo svg{width:100%;height:auto;display:block}
.nicon{width:15px;flex:none;color:var(--burgundy);display:flex}
.nicon svg{width:100%;height:auto;display:block}
.progress{height:3px;background:#F1ECF2}
.progress .bar{height:100%;background:var(--burgundy);border-radius:0 3px 3px 0;
  transition:width .45s cubic-bezier(.4,0,.2,1)}

/* ── Body ─────────────────────────────────────── */
.body{flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding-bottom:18px}
.pad{padding:22px 22px 30px;min-height:100%;display:flex;flex-direction:column}
.grow{flex:1}
.anim-in{animation:slideIn .32s cubic-bezier(.22,.8,.3,1)}
@keyframes slideIn{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:none}}
.fade-in{animation:fade .4s ease}
@keyframes fade{from{opacity:0}to{opacity:1}}

/* ── Typography ───────────────────────────────── */
h1{font-size:22px;font-weight:700;color:var(--ink);letter-spacing:-.02em;line-height:1.25}
h2{font-size:19px;font-weight:700;color:var(--ink);letter-spacing:-.018em;line-height:1.28}
.kicker{font-size:11px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:var(--burgundy)}
.sub{font-size:13.5px;color:var(--muted);line-height:1.55}
.small{font-size:12px;color:var(--muted);line-height:1.5}
b,strong{font-weight:650;color:var(--ink)}

/* ── Buttons ──────────────────────────────────── */
.btn{width:100%;padding:15px;border:none;border-radius:13px;font-family:inherit;
  font-size:15px;font-weight:650;cursor:pointer;transition:transform .09s, background .15s;
  display:flex;align-items:center;justify-content:center;gap:8px}
.btn:active{transform:scale(.985)}
.btn.primary{background:var(--burgundy);color:#fff}
.btn.primary:active{background:var(--deep)}
.btn.primary:disabled{background:#DCD5DE;color:#9B93A0;cursor:default;transform:none}
.btn.ghost{background:#fff;color:var(--ink);border:1.4px solid var(--line)}
.btn.quiet{background:none;color:var(--muted);font-weight:550;font-size:13.5px;padding:11px}
.btn.green{background:var(--green);color:#fff}
.btnstack{display:flex;flex-direction:column;gap:9px;margin-top:18px}

/* ── Option rows ──────────────────────────────── */
.opt{width:100%;text-align:left;background:#fff;border:1.4px solid var(--line);border-radius:13px;
  padding:14px 15px;cursor:pointer;display:flex;gap:12px;align-items:flex-start;
  font-family:inherit;transition:border-color .15s, background .15s;margin-bottom:9px}
.opt:active{background:#FBF8FB}
.opt.sel{border-color:var(--burgundy);background:var(--tint)}
.opt .ttl{font-size:14px;font-weight:650;color:var(--ink);line-height:1.35}
.opt .dsc{font-size:12px;color:var(--muted);margin-top:2px;line-height:1.45}
.opt .lead{flex:none;margin-top:1px}
.opt .tag{font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
  padding:2.5px 7px;border-radius:5px;margin-top:6px;display:inline-block}
.tag.low{background:var(--green-tint);color:var(--green)}
.tag.mid{background:var(--amber-tint);color:var(--amber)}
.tag.high{background:var(--red-tint);color:var(--red)}
.tag.rec{background:var(--tint);color:var(--burgundy)}

/* ── Data rows ────────────────────────────────── */
.card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.card.tinted{background:#FCFAFC}
.drow{display:flex;justify-content:space-between;gap:14px;padding:12px 15px;border-bottom:1px solid #F3EFF4}
.drow:last-child{border-bottom:none}
.drow .k{font-size:12.5px;color:var(--muted);flex:none}
.drow .v{font-size:13.5px;font-weight:600;color:var(--ink);text-align:right;line-height:1.4}

/* ── Banners ──────────────────────────────────── */
.banner{border-radius:13px;padding:14px 16px;display:flex;gap:11px;align-items:flex-start}
.banner .txt{font-size:13px;line-height:1.5}
.banner.info{background:var(--tint);color:var(--deep)}
.banner.warn{background:var(--amber-tint);color:#7A4E07}
.banner.danger{background:var(--red-tint);color:#8F1E17}
.banner.ok{background:var(--green-tint);color:#155C41}
.banner b{color:inherit}

/* ── Checkbox ─────────────────────────────────── */
.check{display:flex;gap:11px;align-items:flex-start;cursor:pointer;padding:2px 0}
.check .box{width:21px;height:21px;border:1.8px solid #CFC6D2;border-radius:6px;flex:none;
  display:flex;align-items:center;justify-content:center;transition:.15s;margin-top:1px}
.check.on .box{background:var(--burgundy);border-color:var(--burgundy)}
.check .lbl{font-size:12.5px;color:var(--body);line-height:1.55}

/* ── OTP ──────────────────────────────────────── */
.otpwrap{display:flex;gap:9px;justify-content:center;margin:22px 0 6px}
.otpbox{width:44px;height:53px;border:1.6px solid var(--line);border-radius:11px;
  display:flex;align-items:center;justify-content:center;font-size:21px;font-weight:700;color:var(--ink);
  background:#fff;transition:.15s}
.otpbox.filled{border-color:var(--burgundy);background:var(--tint)}
.otpbox.cursor{border-color:var(--burgundy)}

/* ── Input ────────────────────────────────────── */
.field{margin-bottom:14px}
.field label{display:block;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:6px}
.field input,.field select{width:100%;padding:13px 14px;border:1.4px solid var(--line);border-radius:11px;
  font-family:inherit;font-size:15px;color:var(--ink);background:#fff;outline:none}
.field input:focus,.field select:focus{border-color:var(--burgundy)}

/* ── Spinner / loader ─────────────────────────── */
.loader{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:40px 24px}
.spin{width:36px;height:36px;border:3px solid var(--tint2);border-top-color:var(--burgundy);
  border-radius:50%;animation:sp .8s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}
.apitag{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10.5px;color:#A79FAB;
  background:#F7F4F8;padding:4px 9px;border-radius:6px}

/* ── Success ──────────────────────────────────── */
.tick{width:74px;height:74px;border-radius:50%;background:var(--green-tint);
  display:flex;align-items:center;justify-content:center;margin:0 auto 20px;animation:pop .45s cubic-bezier(.2,1.3,.4,1)}
@keyframes pop{from{transform:scale(.5);opacity:0}to{transform:scale(1);opacity:1}}

/* ── Lock screen / notification ───────────────── */
.lock{flex:1;background:linear-gradient(160deg,#3B1229 0%,#6E0E39 48%,#2A0D1D 100%);
  display:flex;flex-direction:column;padding:0 16px 30px;color:#fff}
.lock .statusbar{margin:0 -16px;color:#fff}
.lock .time{text-align:center;margin-top:30px}
.lock .time .hh{font-size:66px;font-weight:250;letter-spacing:-.03em;line-height:1}
.lock .time .dd{font-size:14.5px;font-weight:500;opacity:.82;margin-top:4px}
.notif{background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-radius:17px;
  padding:12px 14px;margin-top:14px;cursor:pointer;color:var(--ink);
  animation:notifIn .5s cubic-bezier(.2,1,.3,1) backwards;box-shadow:0 4px 20px rgba(0,0,0,.22)}
@keyframes notifIn{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
.notif .hdr{display:flex;align-items:center;gap:7px;margin-bottom:5px}
.notif .hdr .nm{font-size:11.5px;font-weight:650;color:#4A4350;flex:1}
.notif .hdr .tm{font-size:11px;color:#8A8290}
.notif .ti{font-size:13.5px;font-weight:650;line-height:1.35;margin-bottom:2px}
.notif .bd{font-size:12.5px;color:#4A4350;line-height:1.42}
.lock .hintline{text-align:center;font-size:12px;opacity:.62;margin-top:auto;padding-top:20px}

/* ── Selector (PM entry) ──────────────────────── */
.sel-hd{padding:0 22px 20px;background:linear-gradient(155deg,#6E0E39,#97144D)}
.sel-hd .statusbar{margin:0 -22px 14px;color:#fff}
.sel-hd .kick{font-size:10.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:#E9BED2;margin-bottom:9px}
.sel-hd h1{color:#fff;font-size:21px;margin-bottom:7px}
.sel-hd p{font-size:13px;color:#EBCBDB;line-height:1.5}
.pathcard{border-radius:13px;margin-bottom:10px;cursor:pointer;background:#fff;
  border:1px solid var(--line);transition:transform .1s, background .15s, border-color .15s}
.pathcard:active{transform:scale(.988);background:#FAF7FB;border-color:#DED6E0}
.pathcard .top{padding:16px 17px;display:flex;align-items:center;gap:12px}
.pathcard .tw{flex:1;min-width:0}
.pathcard .top .t{font-size:15px;font-weight:600;color:var(--ink);letter-spacing:-.012em}
.groupname{display:flex;align-items:center;gap:12px;
  font-size:11.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:var(--deep);margin:26px 0 14px}
.groupname::before,.groupname::after{content:"";flex:1;height:1px;background:var(--line)}
.groupname:first-of-type{margin-top:4px}

/* ── Summary ──────────────────────────────────── */
.stats{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:18px 0}
.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px 14px}
.stat .n{font-size:22px;font-weight:700;color:var(--ink);letter-spacing:-.02em;line-height:1.15}
.stat .l{font-size:11px;color:var(--muted);margin-top:3px;line-height:1.35}
.cmp{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.cmp .r{display:flex;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid #F3EFF4;font-size:12.5px}
.cmp .r:last-child{border-bottom:none}
.cmp .r .sw{width:9px;height:9px;border-radius:3px;flex:none}
.cmp .r .nm{font-weight:600;color:var(--ink);flex:1}
.cmp .r .vl{color:var(--muted);font-size:12px}
.cmp .r.me{background:var(--tint)}

/* ── Video call ───────────────────────────────── */
.vcall{flex:1;background:#1C1620;position:relative;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:14px;color:#fff;padding:0 24px 24px}
.vcall .statusbar{position:absolute;top:0;left:0;right:0;color:#fff}
.vself{position:absolute;right:14px;top:56px;width:78px;height:104px;border-radius:11px;
  background:linear-gradient(150deg,#4A3D52,#2A2130);border:1.5px solid rgba(255,255,255,.16);
  display:flex;align-items:center;justify-content:center}
.agentav{width:88px;height:88px;border-radius:50%;background:linear-gradient(145deg,#97144D,#6E0E39);
  display:flex;align-items:center;justify-content:center;font-size:29px;font-weight:700;color:#fff}
.reclabel{position:absolute;left:14px;top:58px;display:flex;align-items:center;gap:6px;
  font-size:11px;font-weight:600;color:#fff;background:rgba(0,0,0,.4);padding:5px 9px;border-radius:7px}
.recdot{width:7px;height:7px;border-radius:50%;background:#FF4B4B;animation:blink 1.1s infinite}
@keyframes blink{50%{opacity:.25}}
.chatline{background:rgba(255,255,255,.1);border-radius:12px;padding:11px 14px;font-size:13px;
  line-height:1.5;max-width:280px;text-align:center;animation:fade .4s ease}

/* ── Misc ─────────────────────────────────────── */
.divider{height:1px;background:var(--line);margin:18px 0}
.chiprow{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.chip{font-size:11px;font-weight:600;padding:4px 9px;border-radius:7px;background:#F5F1F6;color:var(--muted)}
.stepdots{display:flex;gap:5px;justify-content:center;margin-top:14px}
.stepdots i{width:6px;height:6px;border-radius:50%;background:#DDD5DF}
.stepdots i.on{background:var(--burgundy);width:17px;border-radius:3px}
.selfiebox{aspect-ratio:3/4;border-radius:18px;background:linear-gradient(150deg,#EFE9F0,#DED5E0);
  display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;margin:16px 0}
.selfieoval{width:60%;aspect-ratio:3/4;border:2.5px dashed rgba(151,20,77,.5);border-radius:50%}
.dlbrand{display:flex;align-items:center;gap:9px;padding:12px 14px;background:#EEF4FD;
  border:1px solid #D3E2F7;border-radius:12px}
.dlbrand .nm{font-size:13px;font-weight:650;color:#1B4E8F}

.pathcard .go{flex:none;color:#BCB3C0;display:flex}

/* ── PAN capture ──────────────────────────── */
.pancard{position:relative;aspect-ratio:16/10;border-radius:14px;margin:18px 0;
  background:linear-gradient(150deg,#2A2430,#181420);display:flex;align-items:center;
  justify-content:center;padding:22px;overflow:hidden}
.panframe{width:100%;background:linear-gradient(160deg,#E8E2EC,#CFC6D6);border-radius:7px;
  padding:13px 14px;color:#231E2A;box-shadow:0 6px 18px rgba(0,0,0,.45)}
.panrow{font-size:8.5px;font-weight:600;letter-spacing:.09em;color:#5B5364;text-transform:uppercase}
.pannum{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:16px;font-weight:700;
  letter-spacing:.08em;margin:7px 0 9px;color:#141019}
.corner{position:absolute;width:24px;height:24px;border:2.5px solid rgba(255,255,255,.85)}
.corner.tl{top:12px;left:12px;border-right:none;border-bottom:none;border-radius:6px 0 0 0}
.corner.tr{top:12px;right:12px;border-left:none;border-bottom:none;border-radius:0 6px 0 0}
.corner.bl{bottom:12px;left:12px;border-right:none;border-top:none;border-radius:0 0 0 6px}
.corner.br{bottom:12px;right:12px;border-left:none;border-top:none;border-radius:0 0 6px 0}

/* ── Choice: one primary route, alternates beneath ─────────── */
.choice-primary{width:100%;text-align:left;border:none;cursor:pointer;font-family:inherit;
  background:linear-gradient(145deg,#A81856,#7C0F3E);color:#fff;border-radius:15px;
  padding:17px 18px;display:flex;align-items:center;gap:13px;
  box-shadow:0 7px 20px rgba(151,20,77,.26);transition:transform .09s}
.choice-primary:active{transform:scale(.987)}
.choice-primary .ttl{font-size:15.5px;font-weight:650;letter-spacing:-.012em;line-height:1.3}
.choice-primary .dsc{font-size:12.5px;opacity:.84;margin-top:3px;line-height:1.45}
.choice-primary .arrow{width:31px;height:31px;border-radius:50%;background:rgba(255,255,255,.17);
  display:flex;align-items:center;justify-content:center;flex:none}
.choice-primary .pico{width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.15);
  display:flex;align-items:center;justify-content:center;flex:none;color:#fff}
.choice-primary .pico svg{stroke:#fff}

.choice-sep{display:flex;align-items:center;gap:11px;margin:22px 0 13px}
.choice-sep span{font-size:10.5px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;
  color:var(--muted);flex:none}
.choice-sep i{flex:1;height:1px;background:var(--line)}

.choice-alt{width:100%;text-align:left;background:#FCFBFD;border:1.4px solid var(--line);
  border-radius:13px;padding:14px 16px;cursor:pointer;font-family:inherit;
  display:flex;align-items:center;gap:12px;margin-bottom:9px;
  transition:border-color .15s,background .15s}
.choice-alt:active{background:#F5F1F6}
.choice-alt .ttl{font-size:14px;font-weight:600;color:var(--ink);line-height:1.35}
.choice-alt .dsc{font-size:12px;color:var(--muted);margin-top:2px;line-height:1.45}
.choice-alt .arrow{color:#BCB3C0;flex:none;display:flex}
.choice-alt .aico{width:30px;height:30px;border-radius:9px;background:#F2EDF4;flex:none;
  display:flex;align-items:center;justify-content:center}
.choice-alt .aico svg{stroke:#8A7F90;width:17px;height:17px}
.choice-alt.sel{border-color:var(--burgundy);background:var(--tint)}
.choice-alt.sel .aico{background:#F6DEE9}
.choice-alt.sel .aico svg{stroke:var(--burgundy)}

/* ── Nudge: a soft expanding ring on the route this journey expects ── */
@keyframes nudgeRingP{
  0%   {box-shadow:0 7px 20px rgba(151,20,77,.26), 0 0 0 0   rgba(151,20,77,.42)}
  70%  {box-shadow:0 7px 20px rgba(151,20,77,.26), 0 0 0 11px rgba(151,20,77,0)}
  100% {box-shadow:0 7px 20px rgba(151,20,77,.26), 0 0 0 0   rgba(151,20,77,0)}
}
@keyframes nudgeRingA{
  0%   {box-shadow:0 0 0 0   rgba(151,20,77,.34)}
  70%  {box-shadow:0 0 0 10px rgba(151,20,77,0)}
  100% {box-shadow:0 0 0 0   rgba(151,20,77,0)}
}
.choice-primary.nudge{animation:nudgeRingP 2.1s ease-out infinite}
.choice-alt.nudge{border-color:#DFAEC8;background:var(--tint);animation:nudgeRingA 2.1s ease-out infinite}
.choice-alt.nudge .ttl{color:var(--deep)}
.choice-alt.nudge .arrow{color:var(--burgundy)}
@media (prefers-reduced-motion: reduce){
  .choice-primary.nudge,.choice-alt.nudge{animation:none}
  .choice-alt.nudge{border-color:var(--burgundy)}
}
