/* =====================================================================
   Ditobanx travel assistance demo
   DESIGN TOKENS: the one place for colours, type and shape, taken from
   the Ditobanx app screenshots and the DBX colour palette (#000, #fff,
   #F99C0C).
   ===================================================================== */
:root{
  --orange:#F99C0C;          /* DBX palette */
  --orange-app:#E8962F;      /* the app's buttons and cards */
  --orange-ink:#A85F00;      /* orange text on white, WCAG AA */
  --orange-deep:#D9820A;
  --cream:#FBEFDD;           /* tiles behind the line icons */
  --cream-2:#FDF6EC;
  --ink:#0B0B0C; --ink-2:#4F4F57; --ink-3:#6E6E76;
  --line:#E8E8EB; --line-2:#D6D6DB;
  --bg:#F7F7F8; --surface:#FFFFFF;
  --ok:#17703A; --ok-tint:#E6F4EB;
  --err:#B42318; --err-tint:#FDECEB;
  --stage:#ECECEE;
  --font:"Poppins",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --r-card:20px; --r-tile:16px; --r-pill:999px;
  --shadow-1:0 1px 2px rgba(11,11,12,.04),0 4px 14px rgba(11,11,12,.05);
  --shadow-phone:0 40px 90px rgba(11,11,12,.22),0 8px 24px rgba(11,11,12,.12);
  --ease:cubic-bezier(.2,.8,.2,1);
  --focus:#0B57D0;
}

/* ---------- Base ---------- */
:where(*,*::before,*::after){box-sizing:border-box}
:where(html,body){margin:0;padding:0}
body{background:var(--stage);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased}
:where(button,input,select){font:inherit;color:inherit}
:where(h1,h2,h3,p,ul,ol){margin:0}
:where(ul,ol){padding:0;list-style:none}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.num{font-variant-numeric:tabular-nums lining-nums}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.ic{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ic.sm{width:18px;height:18px}
.ic.lg{width:28px;height:28px}

/* ---------- Stage: presenter rail + phone ---------- */
.stage{min-height:100vh;display:grid;grid-template-columns:minmax(300px,380px) 1fr}
.rail{display:flex;flex-direction:column;gap:18px;padding:28px 24px 22px;background:var(--surface);border-right:1px solid var(--line);height:100vh;position:sticky;top:0;overflow-y:auto}
.rail-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.rail-logo{height:30px;width:auto;display:block}
.badge{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:var(--r-pill);background:var(--cream);color:var(--orange-ink);font-size:12px;font-weight:700}
.rail-title{font-size:21px;line-height:1.25;font-weight:800;letter-spacing:-.01em}
.rail-lead{margin-top:6px;font-size:13.5px;line-height:1.5;color:var(--ink-2)}
.lang{display:inline-flex;padding:3px;border-radius:var(--r-pill);background:var(--bg);border:1px solid var(--line)}
.lang button{height:30px;min-width:44px;padding:0 12px;border:0;border-radius:var(--r-pill);background:transparent;color:var(--ink-2);font-size:13px;font-weight:700;cursor:pointer}
.lang button[aria-pressed="true"]{background:var(--ink);color:#fff}
.steps-h{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}
.steps{display:flex;flex-direction:column;gap:2px;margin-top:-8px}
.step{width:100%;display:grid;grid-template-columns:30px 1fr;gap:12px;align-items:start;padding:10px;border-radius:14px;border:1px solid transparent;background:transparent;text-align:left;cursor:pointer;transition:background .2s var(--ease)}
.step:hover{background:var(--bg)}
.step[aria-current="step"]{background:var(--cream-2);border-color:#F3DDBA}
.step[aria-disabled="true"]{cursor:not-allowed;opacity:.55}
.step-n{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;border:1.5px solid var(--line-2);font-size:13px;font-weight:700;color:var(--ink-2)}
.step[aria-current="step"] .step-n{background:var(--orange);border-color:var(--orange);color:var(--ink)}
.step.done .step-n{background:var(--ink);border-color:var(--ink);color:#fff}
.step-t{display:block;font-size:14.5px;font-weight:700;line-height:1.3}
.step-l{display:block;margin-top:2px;font-size:12.5px;line-height:1.4;color:var(--ink-3)}
.step-tags{display:flex;gap:6px;margin-top:6px;flex-wrap:wrap}
.tag{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:var(--r-pill);border:1px solid var(--line-2);font-size:11px;font-weight:600;color:var(--ink-2);white-space:nowrap}
.rail-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid var(--line)}
.ghost{height:36px;display:inline-flex;align-items:center;gap:8px;padding:0 14px;border-radius:var(--r-pill);border:1px solid var(--line-2);background:var(--surface);font-size:13px;font-weight:600;cursor:pointer}
.ghost:hover{background:var(--bg)}
.powered{font-size:12px;color:var(--ink-3);font-weight:600}

.device-wrap{display:grid;place-items:center;padding:28px;min-height:100vh}
.device{width:402px;height:836px;padding:12px;border-radius:58px;background:#111;box-shadow:var(--shadow-phone)}
.screen{position:relative;width:378px;height:812px;border-radius:46px;overflow:hidden;background:var(--bg)}

.demo-fab{display:none}
/* In the phone frame, keep buttons clear of the home bar. */
@media (min-width: 900px){.screen .foot,.screen .tabbar{padding-bottom:26px}}

/* Phone width: the app fills the screen, the steps move to a sheet. */
@media (max-width: 899px){
  body{background:var(--bg)}
  .stage{display:block}
  .rail{display:none}
  .device-wrap{display:block;padding:0;min-height:0}
  .device{width:100%;height:100dvh;padding:0;border-radius:0;background:none;box-shadow:none}
  .screen{width:100%;height:100dvh;border-radius:0}
  .statusbar{display:none !important}
  .home-ind{display:none}
  .demo-fab{display:grid;place-items:center;position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:60;width:30px;height:64px;padding:0;border:0;border-radius:14px 0 0 14px;background:rgba(11,11,12,.82);color:#fff;box-shadow:0 6px 18px rgba(0,0,0,.2);cursor:pointer}
  .demo-fab .ic{transform:rotate(90deg)}
  .rail.sheet-open{display:flex;position:fixed;inset:auto 0 0 0;height:auto;max-height:86dvh;z-index:80;border-radius:24px 24px 0 0;border:0;box-shadow:0 -20px 60px rgba(0,0,0,.25)}
  .scrim{position:fixed;inset:0;z-index:70;background:rgba(11,11,12,.4)}
}

/* =====================================================================
   APP (inside the phone)
   ===================================================================== */
.app{position:absolute;inset:0;display:flex;flex-direction:column;background:var(--bg);font-size:15px;line-height:1.45;color:var(--ink)}
.statusbar{flex:none;height:50px;display:flex;align-items:flex-end;justify-content:space-between;padding:0 30px 8px 36px;font-size:16px;font-weight:600;background:var(--surface)}
.statusbar.dark{background:transparent;color:#fff;position:absolute;top:0;left:0;right:0;z-index:5}
.sb-r{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:700}
.sb-sig{display:inline-flex;gap:2px;align-items:flex-end}
.sb-sig i{display:block;width:3.5px;background:currentColor;border-radius:1px}
.sb-bat{width:26px;height:13px;border:1.6px solid currentColor;border-radius:4px;padding:1.5px;display:inline-flex}
.sb-bat i{flex:1;background:currentColor;border-radius:1.5px}
.view{flex:1;min-height:0;display:flex;flex-direction:column;position:relative}
.enter{animation:enter .34s var(--ease) both}
@keyframes enter{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}
.body{flex:1;min-height:0;overflow-y:auto;padding:4px 20px 24px;display:flex;flex-direction:column;gap:14px;scrollbar-width:none}
.body::-webkit-scrollbar{display:none}
.body>*{flex:none}
.foot{flex:none;padding:12px 20px calc(14px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);display:flex;flex-direction:column;gap:10px}

/* Headers */
.top-icons{flex:none;display:flex;align-items:center;justify-content:space-between;padding:12px 20px 8px}
.top-icons .group{display:flex;gap:10px}
.icon-tile{width:54px;height:54px;border-radius:18px;border:0;background:var(--surface);box-shadow:var(--shadow-1);display:grid;place-items:center;cursor:pointer;position:relative}
.icon-tile .dot{position:absolute;top:14px;right:16px;width:8px;height:8px;border-radius:50%;background:var(--orange)}
.icon-btn{width:44px;height:44px;border:0;background:transparent;border-radius:14px;display:grid;place-items:center;cursor:pointer}
.icon-btn:hover{background:var(--bg)}
.bar{flex:none;display:flex;align-items:center;gap:10px;padding:10px 12px 10px 8px;background:var(--surface)}
.bar-t{font-size:20px;font-weight:800;letter-spacing:-.01em;line-height:1.2}
.bar-s{font-size:12.5px;color:var(--ink-3);font-weight:500;line-height:1.2}
.tabs{flex:none;display:flex;gap:28px;padding:0 20px;background:var(--surface);border-bottom:1px solid var(--line)}
.tabs button{position:relative;height:46px;padding:0;border:0;background:none;font-size:18px;font-weight:700;color:#9A9AA1;cursor:pointer}
.tabs button[aria-selected="true"]{color:var(--ink)}
.tabs button[aria-selected="true"]::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;border-radius:3px;background:var(--orange-app)}

.kicker{font-size:12.5px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--orange-ink)}
.h1{font-size:38px;line-height:1.08;font-weight:800;letter-spacing:-.02em}
.h2{font-size:20px;line-height:1.25;font-weight:800;letter-spacing:-.01em}
.h3{font-size:16px;line-height:1.3;font-weight:700}
.muted{color:var(--ink-2)}
.small{font-size:13px;color:var(--ink-3)}

/* Cards and rows */
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);padding:16px}
.row-card{width:100%;display:flex;align-items:center;gap:16px;padding:18px 18px 18px 22px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);text-align:left;cursor:pointer;transition:transform .15s var(--ease),box-shadow .15s}
.row-card:hover{box-shadow:var(--shadow-1)}
.row-card:active{transform:scale(.99)}
.tile{width:56px;height:56px;flex:none;border-radius:var(--r-tile);background:var(--cream);color:var(--orange-app);display:grid;place-items:center}
.tile.lg{width:84px;height:84px;border-radius:18px}
.rc-t{display:block;font-size:17px;font-weight:700;line-height:1.3}
.rc-s{display:block;margin-top:2px;font-size:14px;color:var(--ink-3);line-height:1.4}
.rc-k{display:block;font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#7E7E86}
.rc-p{display:block;margin-top:4px;font-size:14px;font-weight:700;color:var(--orange-ink)}
.chev{color:#A9A9B0;margin-left:auto}
.go{width:44px;height:44px;flex:none;margin-left:auto;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center}
.pill-new{display:inline-flex;align-items:center;height:20px;padding:0 8px;margin-left:6px;border-radius:var(--r-pill);background:var(--orange);color:var(--ink);font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;vertical-align:2px}

/* Buttons */
.btn{width:100%;min-height:54px;padding:0 20px;border-radius:var(--r-pill);border:1.5px solid transparent;font-size:16px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:background .15s,transform .1s}
.btn:active{transform:scale(.985)}
.btn-primary{background:var(--orange-app);color:var(--ink)}
.btn-primary:hover{background:var(--orange)}
.btn-primary[disabled]{background:#E6E6E9;color:#6E6E76;cursor:not-allowed;transform:none}
.btn-dark{background:var(--ink);color:#fff}
.btn-dark:hover{background:#222}
.btn-line{background:var(--surface);color:var(--ink);border-color:var(--line-2)}
.btn-line:hover{background:var(--bg)}
.btn-sm{min-height:40px;width:auto;padding:0 16px;font-size:14px}
.link{border:0;background:none;padding:0;color:var(--orange-ink);font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}

/* Balance cards */
.bal-dark{border-radius:24px;padding:20px;background:var(--ink);color:#fff;position:relative;overflow:hidden}
.bal-dark::after{content:"";position:absolute;right:-60px;top:-70px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(249,156,12,.55),rgba(249,156,12,0) 70%)}
.bal-l{font-size:13.5px;color:#C9C9CF}
.bal-v{margin-top:4px;font-size:36px;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.bal-v small{font-size:15px;font-weight:700;margin-left:6px}
.actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:18px;position:relative;z-index:1}
.act{display:flex;flex-direction:column;align-items:center;gap:6px;border:0;background:none;color:#fff;font-size:12px;font-weight:600;cursor:pointer}
.act span{width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.12);display:grid;place-items:center}
.bal-orange{border-radius:22px;padding:18px 18px 20px;background:var(--orange-app);color:var(--ink);position:relative;overflow:hidden}
.bal-orange::before{content:"";position:absolute;right:-40px;top:-60px;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.18)}
.bal-orange::after{content:"";position:absolute;right:60px;bottom:-110px;width:200px;height:200px;border-radius:50%;background:rgba(0,0,0,.06)}
.bo-top{display:flex;gap:12px;align-items:center;position:relative;z-index:1}
.coin{width:46px;height:46px;border-radius:12px;background:#fff;display:grid;place-items:center}
.bo-v{margin-top:14px;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;position:relative;z-index:1}
.bo-v b{font-size:38px;font-weight:800;letter-spacing:-.02em;line-height:1}
.bo-v b small{font-size:14px;margin-left:6px}

/* Banner */
.banner{position:relative;overflow:hidden;width:100%;display:flex;gap:14px;align-items:stretch;padding:18px;border-radius:24px;border:1px solid #F3DDBA;background:linear-gradient(135deg,#FDF3E4 0%,#FBE3BF 100%);text-align:left;cursor:pointer}
.banner-art{position:absolute;right:-26px;bottom:-30px;width:150px;height:150px;color:rgba(232,150,47,.32)}
.banner-t{font-size:18px;line-height:1.25;font-weight:800;max-width:230px}
.banner-b{margin-top:6px;font-size:13.5px;color:#5E4A2E;max-width:220px}
.banner-cta{margin-top:12px;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 16px;border-radius:var(--r-pill);background:var(--ink);color:#fff;font-size:13.5px;font-weight:700}

/* Lists */
.moves{display:flex;flex-direction:column}
.move{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.move:last-child{border-bottom:0}
.move .tile{width:42px;height:42px;border-radius:12px}
.mv-t{font-size:14.5px;font-weight:600}
.mv-a{margin-left:auto;font-size:14.5px;font-weight:700}
.mv-a.plus{color:var(--ok)}

/* Tab bar */
.tabbar{flex:none;display:grid;grid-template-columns:repeat(5,1fr);align-items:end;padding:8px 6px calc(12px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line)}
.tb{display:flex;flex-direction:column;align-items:center;gap:4px;border:0;background:none;font-size:12.5px;font-weight:600;color:var(--ink);cursor:pointer;padding:4px 0}
.tb[aria-current="page"]{color:var(--orange-ink)}
.tb-mid span{width:64px;height:64px;margin-top:-30px;border-radius:20px;background:var(--orange-app);display:grid;place-items:center;box-shadow:0 8px 18px rgba(232,150,47,.35)}

/* Chips */
.chips{display:flex;gap:10px;overflow-x:auto;margin:0 -20px;padding:2px 20px 4px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;width:96px;height:112px;border-radius:18px;border:1.5px solid var(--line);background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:14px;font-weight:600;color:var(--ink-2);cursor:pointer}
.chip .tile{width:46px;height:46px;border-radius:12px}
.chip[aria-pressed="true"]{border-color:var(--orange-app);background:var(--cream-2);color:var(--ink)}
.chip[aria-pressed="true"] .tile{background:var(--orange-app);color:#fff}

/* Product card (Seguros) */
.prod{width:100%;display:flex;align-items:center;gap:16px;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);text-align:left;cursor:pointer}
.prod.feature{border-color:#F0C88C;box-shadow:0 0 0 3px rgba(249,156,12,.12)}

/* Lock screen */
.lock{position:absolute;inset:0;background:radial-gradient(120% 80% at 20% 0%,#3B2A14 0%,#15110B 55%,#0B0B0C 100%);color:#fff;display:flex;flex-direction:column;align-items:center;padding:96px 16px 40px}
.lock-date{font-size:18px;font-weight:600;opacity:.85}
.lock-time{font-size:92px;font-weight:700;line-height:1;letter-spacing:-.03em;margin-top:2px}
.notif{margin-top:auto;width:100%;display:flex;gap:12px;padding:14px;border-radius:22px;border:0;background:rgba(255,255,255,.16);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);color:#fff;text-align:left;cursor:pointer;animation:drop .6s var(--ease) .3s both}
@keyframes drop{from{opacity:0;transform:translateY(-14px) scale(.98)}to{opacity:1;transform:none}}
.notif:hover{background:rgba(255,255,255,.22)}
.app-ic{width:42px;height:42px;flex:none;border-radius:11px;background:#111 url(/img/dbx-logo-white.png) center/34px auto no-repeat;box-shadow:inset 0 0 0 1px rgba(255,255,255,.15)}
.notif-h{display:flex;justify-content:space-between;font-size:13px;opacity:.8;text-transform:uppercase;letter-spacing:.04em}
.notif-t{font-size:15.5px;font-weight:700;margin-top:2px}
.notif-b{font-size:14.5px;line-height:1.35;opacity:.92}
.lock-hint{margin-top:18px;font-size:13px;opacity:.7}
.home-ind{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);width:134px;height:5px;border-radius:3px;background:#111;z-index:6}
.lock .home-ind,.home-ind.light{background:#fff}

/* Landing */
.hero{border-radius:24px;padding:20px;background:linear-gradient(160deg,#FDF3E4 0%,#FFFFFF 70%);border:1px solid #F3DDBA}
.hero .h2{font-size:23px}
.bens{display:grid;gap:12px;margin-top:16px}
.ben{display:flex;gap:12px;align-items:center;font-size:14px;font-weight:500}
.ben .tile{width:38px;height:38px;border-radius:11px}
.field{display:flex;flex-direction:column;gap:6px}
.label{font-size:13.5px;font-weight:600;color:var(--ink-2)}
.input,.select{width:100%;height:52px;padding:0 14px;border-radius:14px;border:1.5px solid var(--line-2);background:var(--surface);font-size:16px}
.input:focus,.select:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(11,11,12,.08)}
.input[aria-invalid="true"]{border-color:var(--err);background:var(--err-tint)}
.ferr{font-size:12.5px;color:var(--err);font-weight:600}
.fhint{font-size:12.5px;color:var(--ink-3)}
.stepper{display:flex;align-items:center;justify-content:space-between;gap:12px;height:56px;padding:0 6px;border-radius:14px;border:1.5px solid var(--line-2);background:var(--surface)}
.stepper button{width:44px;height:44px;border-radius:12px;border:0;background:var(--bg);display:grid;place-items:center;cursor:pointer}
.stepper button:disabled{opacity:.35;cursor:not-allowed}
.stepper output{font-size:22px;font-weight:800}
.dests{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.dest{min-height:92px;padding:14px;border-radius:16px;border:1.5px solid var(--line);background:var(--surface);display:flex;flex-direction:column;justify-content:space-between;gap:8px;text-align:left;font-size:14px;font-weight:700;line-height:1.25;cursor:pointer}
.dest .ic{color:var(--orange-app)}
.dest[aria-checked="true"]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.seg{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;border-radius:14px;background:var(--bg);border:1px solid var(--line)}
.seg button{height:42px;border-radius:10px;border:0;background:transparent;font-weight:600;cursor:pointer}
.seg button[aria-checked="true"]{background:var(--surface);box-shadow:var(--shadow-1)}

/* Price */
.price-card{border-radius:24px;padding:22px;background:var(--ink);color:#fff;position:relative;overflow:hidden}
.price-card::after{content:"";position:absolute;right:-70px;bottom:-90px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(249,156,12,.5),rgba(249,156,12,0) 70%)}
.price-l{font-size:13.5px;color:#C9C9CF}
.price-v{font-size:52px;line-height:1.05;font-weight:800;letter-spacing:-.03em;margin-top:4px}
.price-s{margin-top:6px;font-size:14px;color:#E4E4E8}
.plan-line{display:flex;align-items:center;gap:14px}
.bl{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid var(--line);font-size:14px}
.bl:last-child{border-bottom:0}
.bl span:last-child{font-weight:700;text-align:right;max-width:50%}
.sk{display:block;border-radius:10px;background:linear-gradient(90deg,#EDEDF0 0%,#F7F7F9 45%,#EDEDF0 90%);background-size:220% 100%;animation:sk 1.2s linear infinite}
@keyframes sk{from{background-position:110% 0}to{background-position:-110% 0}}

/* Checkboxes */
.check{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:16px;border:1.5px solid var(--line);background:var(--surface);cursor:pointer;font-size:14px;line-height:1.45}
.check input{width:22px;height:22px;margin:1px 0 0;flex:none;accent-color:var(--ink)}
.switch{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:600;font-size:15px}
.switch input{appearance:none;width:50px;height:30px;border-radius:15px;background:var(--line-2);position:relative;cursor:pointer;transition:background .2s;flex:none;margin:0}
.switch input::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s var(--ease)}
.switch input:checked{background:var(--ink)}
.switch input:checked::after{transform:translateX(20px)}

/* Alerts */
.alert{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:14px;font-size:14px;line-height:1.45;font-weight:500}
.alert.err{background:var(--err-tint);color:#7A1A12}
.alert.info{background:var(--cream-2);color:#5E4A2E}
.alert.ok{background:var(--ok-tint);color:#0E4B26}

/* Issuing */
.iss{flex:1;display:flex;flex-direction:column;justify-content:center;gap:22px;padding:24px}
.iss-steps{display:flex;flex-direction:column;gap:14px}
.iss-step{display:flex;gap:12px;align-items:center;font-size:15px;font-weight:600;color:var(--ink-3);transition:color .3s}
.iss-step i{width:28px;height:28px;flex:none;border-radius:50%;border:2px solid var(--line-2);display:grid;place-items:center}
.iss-step.on{color:var(--ink)}
.iss-step.on i{border-color:var(--orange-app);border-top-color:transparent;animation:spin .8s linear infinite}
.iss-step.ok{color:var(--ink)}
.iss-step.ok i{background:var(--ink);border-color:var(--ink);color:#fff}
@keyframes spin{to{transform:rotate(360deg)}}

/* Done */
.done-mark{width:76px;height:76px;border-radius:50%;background:var(--ok);color:#fff;display:grid;place-items:center;animation:pop .5s var(--ease) both}
@keyframes pop{0%{transform:scale(.6);opacity:0}70%{transform:scale(1.06)}100%{transform:none;opacity:1}}
.voucher{border-radius:20px;padding:18px;background:var(--cream);border:1px dashed #E7B977}
.voucher b{display:block;font-size:30px;font-weight:800;letter-spacing:.04em}
.kv{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;font-size:14px}
.kv dt{color:var(--ink-3)}
.kv dd{margin:0;text-align:right;font-weight:600}
.lines a{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;font-size:14px}
.lines a:last-child{border-bottom:0}
.lines a b{font-weight:700}

/* Mail */
.mail-meta{padding:14px 20px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:center}
.avatar{width:42px;height:42px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-weight:800}
.mail-frame{flex:1;min-height:0;width:100%;border:0;background:#F4F4F5}

/* Policies */
.pol{width:100%;padding:18px;border-radius:var(--r-card);border:1px solid var(--line);background:var(--surface);text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:12px}
.pol:hover{box-shadow:var(--shadow-1)}
.status{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:var(--r-pill);font-size:12.5px;font-weight:700;background:var(--ok-tint);color:var(--ok)}
.status::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.status.off{background:var(--bg);color:var(--ink-3)}
.empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:24px 28px}
.empty .tile{border-radius:50%;width:84px;height:84px}

/* Portal */
.portal-bar{flex:none;display:flex;align-items:center;gap:8px;padding:8px 16px;background:var(--cream-2);border-bottom:1px solid #F3DDBA;font-size:12.5px;font-weight:600;color:#5E4A2E}
.portal-host{flex:1;min-height:0;overflow-y:auto;background:var(--surface)}

/* Sheets and toasts */
.sheet-scrim{position:absolute;inset:0;z-index:40;background:rgba(11,11,12,.45);animation:fade .2s both}
@keyframes fade{from{opacity:0}to{opacity:1}}
.sheet{position:absolute;left:0;right:0;bottom:0;z-index:41;max-height:86%;display:flex;flex-direction:column;border-radius:26px 26px 0 0;background:var(--surface);animation:up .32s var(--ease) both}
@keyframes up{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
.sheet-h{flex:none;display:flex;align-items:center;justify-content:space-between;padding:18px 16px 8px 20px}
.sheet-b{overflow-y:auto;padding:0 20px 24px}
.toast{position:absolute;left:16px;right:16px;bottom:100px;z-index:50;padding:12px 16px;border-radius:14px;background:var(--ink);color:#fff;font-size:14px;font-weight:500;animation:up .25s var(--ease) both}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important}
}
