/* Vixel tracker — mobile app shell + full phone restyle.
   Everything is scoped to body.vx-has-shell inside a phone-width media query, so the desktop page is untouched. */

:root{--vx-bg:#020617;--vx-c1:#38bdf8;--vx-c2:#0086c3;--vx-line:rgba(255,255,255,.09);--vx-bar:60px;--vx-nav:76px}

/* hidden by default (desktop) */
.vx-bar,.vx-nav,.vx-sheet-wrap,.vx-ptr,.vx-splash{display:none}

/* ---------- zoom lock + app feel (all sizes that use the shell) ---------- */
body.vx-has-shell{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
body.vx-has-shell input,body.vx-has-shell textarea,body.vx-has-shell select{font-size:16px}   /* iOS zooms into smaller inputs; this stops it */

@media (max-width:767px){
  html{-webkit-text-size-adjust:100%;text-size-adjust:100%;overscroll-behavior-y:contain}
  body.vx-has-shell{background:var(--vx-bg);overscroll-behavior-y:contain;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
  body.vx-has-shell :is(p,h1,h2,h3,h4,span,div,li,textarea,input,.select-text){-webkit-user-select:text;user-select:text}
  body.vx-has-shell :is(button,a,nav,header,.vx-tab,.tab-btn,.deliv-card){-webkit-user-select:none;user-select:none}
  body.vx-has-shell button:active,body.vx-has-shell a.action-btn:active,body.vx-has-shell .secondary-btn:active{transform:scale(.97)}
  body.vx-has-shell button,body.vx-has-shell a{transition:transform .12s ease,background-color .2s,border-color .2s,opacity .2s}

  /* ---------- hide the website chrome ---------- */
  body.vx-has-shell #navbar,body.vx-has-shell > footer,body.vx-has-shell #tabsBar,
  body.vx-has-shell .cursor-dot,body.vx-has-shell .cursor-outline,body.vx-has-shell .vx-dup,
  body.vx-has-shell #btnRefresh,body.vx-has-shell .vxl-client-command,body.vx-has-shell #vxlClientQuickFilters{display:none!important}
  body.vx-has-shell .noise-overlay{opacity:.025}

  /* ---------- top app bar ---------- */
  body.vx-has-shell .vx-bar{display:flex;position:fixed;left:0;right:0;top:0;z-index:9000;align-items:center;gap:8px;
    padding:calc(env(safe-area-inset-top,0px) + 6px) 10px 6px;min-height:calc(var(--vx-bar) + env(safe-area-inset-top,0px));
    background:linear-gradient(180deg,rgba(2,6,23,.96),rgba(2,6,23,.82));-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);
    border-bottom:1px solid var(--vx-line)}
  .vx-bar[hidden]{display:none}
  .vx-bar-btn,.vx-bar-logo{flex:none;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;border:1px solid var(--vx-line);background:rgba(255,255,255,.05);color:#e2e8f0;font-size:26px;cursor:pointer}
  .vx-bar-btn[hidden],.vx-bar-logo[hidden]{display:none}
  .vx-bar-logo{background:radial-gradient(circle at 30% 20%,#0b2447,#020617 75%);border-color:rgba(56,189,248,.45);box-shadow:0 0 18px rgba(0,176,240,.25)}
  .vx-bar-logo img{width:24px;filter:drop-shadow(0 0 6px rgba(56,189,248,.7))}
  .vx-bar-mid{flex:1;min-width:0;text-align:center;line-height:1.15}
  .vx-bar-mid b{display:block;font:800 16px/1.1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#fff;letter-spacing:.01em}
  .vx-bar-mid small{display:block;margin-top:3px;font:600 10px/1 ui-monospace,Menlo,monospace;color:#38bdf8;letter-spacing:.08em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .vx-bar-btn.spin i{animation:vxspin .8s linear infinite}
  @keyframes vxspin{to{transform:rotate(360deg)}}

  /* ---------- page spacing ---------- */
  body.vx-has-shell main{padding:calc(var(--vx-bar) + env(safe-area-inset-top,0px) + 14px) 14px calc(var(--vx-nav) + env(safe-area-inset-bottom,0px) + 34px)!important;max-width:100%}
  body.vx-has-shell .tab-page.active{animation:vxpage .32s cubic-bezier(.2,.8,.2,1) backwards}
  @keyframes vxpage{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

  /* ---------- bottom navigation ---------- */
  body.vx-has-shell .vx-nav{display:grid;grid-template-columns:1fr 1fr 74px 1fr 1fr;align-items:end;position:fixed;left:10px;right:10px;
    bottom:calc(env(safe-area-inset-bottom,0px) + 8px);z-index:9000;height:var(--vx-nav);padding:6px 6px 4px;border-radius:26px;
    background:linear-gradient(180deg,rgba(15,23,42,.92),rgba(2,6,23,.96));border:1px solid rgba(56,189,248,.18);
    -webkit-backdrop-filter:blur(22px) saturate(1.5);backdrop-filter:blur(22px) saturate(1.5);
    box-shadow:0 18px 50px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.03) inset,0 0 40px rgba(0,176,240,.10);
    transition:transform .3s cubic-bezier(.2,.8,.2,1),opacity .25s}
  body.vx-kbd .vx-nav{transform:translateY(140%);opacity:0;pointer-events:none}
  .vx-tab{appearance:none;border:0;background:none;color:#94a3b8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:100%;padding:0;position:relative;cursor:pointer;font-family:inherit}
  .vx-tab .ic{position:relative;display:grid;place-items:center;width:46px;height:30px;border-radius:15px;font-size:23px;transition:background .25s,color .25s,transform .25s}
  .vx-tab .lb{font:700 10px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.02em;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .vx-tab.is-active{color:#fff}
  .vx-tab.is-active .ic{background:linear-gradient(135deg,rgba(56,189,248,.30),rgba(0,134,195,.22));color:#7dd3fc;box-shadow:0 0 22px rgba(56,189,248,.28);transform:translateY(-1px)}
  .vx-tab.pop .ic{animation:vxpop .4s cubic-bezier(.2,1.6,.4,1)}
  @keyframes vxpop{0%{transform:scale(.7)}60%{transform:scale(1.18)}100%{transform:none}}
  .vx-badge{position:absolute;top:-4px;right:2px;min-width:17px;height:17px;padding:0 5px;border-radius:9px;background:linear-gradient(135deg,#fb7185,#f43f5e);color:#fff;font:800 10px/17px system-ui,sans-serif;font-style:normal;text-align:center;border:2px solid #0b1220;box-sizing:content-box;animation:vxbadge 2.4s ease-in-out infinite}
  .vx-badge[hidden]{display:none}
  @keyframes vxbadge{50%{transform:scale(1.12)}}
  .vx-fab{justify-content:flex-start;overflow:visible}
  .vx-fab .ic{width:58px;height:58px;border-radius:50%;margin-top:-26px;font-size:30px;color:#02101c;
    background:linear-gradient(135deg,#bae6fd 0%,#38bdf8 45%,#00b0f0 100%);border:4px solid #020617;
    box-shadow:0 12px 30px rgba(0,176,240,.55),0 0 0 1px rgba(125,211,252,.5) inset;transform:none}
  .vx-fab:active .ic{transform:scale(.92)}
  .vx-fab .lb{margin-top:3px;color:#7dd3fc}

  /* pull to refresh */
  body.vx-has-shell .vx-ptr{display:grid;position:fixed;left:50%;top:calc(var(--vx-bar) + env(safe-area-inset-top,0px) + 4px);z-index:8990;width:40px;height:40px;margin-left:-20px;border-radius:50%;
    place-items:center;font-size:24px;color:#38bdf8;background:rgba(15,23,42,.95);border:1px solid rgba(56,189,248,.35);box-shadow:0 8px 24px rgba(0,0,0,.5);
    opacity:0;transform:translateY(-60px);pointer-events:none}
  .vx-ptr.go i{animation:vxspin .8s linear infinite}

  /* ---------- menu sheet ---------- */
  body.vx-has-shell .vx-sheet-wrap{display:block;position:fixed;inset:0;z-index:9500;visibility:hidden;pointer-events:none}
  body.vx-has-shell .vx-sheet-wrap.active{visibility:visible;pointer-events:auto}
  .vx-sheet-back{position:absolute;inset:0;background:rgba(2,6,23,.72);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:0;transition:opacity .3s}
  .vx-sheet-wrap.active .vx-sheet-back{opacity:1}
  .vx-sheet{position:absolute;left:0;right:0;bottom:0;max-height:88vh;max-height:88dvh;display:flex;flex-direction:column;border-radius:28px 28px 0 0;
    background:radial-gradient(120% 40% at 50% 0,rgba(0,176,240,.14),transparent 70%),#0b1220;border:1px solid rgba(56,189,248,.2);border-bottom:0;
    box-shadow:0 -20px 60px rgba(0,0,0,.6);transform:translateY(105%);transition:transform .38s cubic-bezier(.2,.9,.25,1);padding-bottom:env(safe-area-inset-bottom,0px)}
  .vx-sheet-wrap.active .vx-sheet{transform:none}
  .vx-grab{width:42px;height:5px;border-radius:3px;background:rgba(255,255,255,.22);margin:9px auto 4px;flex:none}
  .vx-sheet-head{display:flex;align-items:center;gap:12px;padding:8px 18px 12px;flex:none}
  .vx-sheet-head img{width:38px;filter:drop-shadow(0 0 8px rgba(56,189,248,.6))}
  .vx-sheet-head div{flex:1;min-width:0}
  .vx-sheet-head b{display:block;font:800 16px/1.2 system-ui,sans-serif;color:#fff}
  .vx-sheet-head small{display:block;font:600 11px/1.3 ui-monospace,Menlo,monospace;color:#38bdf8;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .vx-x{flex:none;width:38px;height:38px;border-radius:50%;border:1px solid var(--vx-line);background:rgba(255,255,255,.06);color:#cbd5e1;font-size:22px;display:grid;place-items:center;cursor:pointer}
  .vx-sheet-body{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:0 16px 18px;overscroll-behavior:contain}
  .vx-sec{font:800 10px/1 system-ui,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#64748b;margin:16px 4px 10px}
  .vx-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .vx-it{appearance:none;display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:84px;padding:14px;border-radius:18px;text-align:left;text-decoration:none;cursor:pointer;
    color:#e2e8f0;background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.025));border:1px solid var(--vx-line);font:700 13px/1.25 system-ui,sans-serif}
  .vx-it i{font-size:24px;color:#38bdf8}
  .vx-snd{border-radius:18px;padding:12px;background:rgba(255,255,255,.04);border:1px solid var(--vx-line)}
  .vx-switch{appearance:none;border:0;background:none;width:100%;display:flex;align-items:center;gap:12px;color:#e2e8f0;font:700 14px/1 system-ui,sans-serif;padding:6px 2px 12px;cursor:pointer;text-align:left}
  .vx-switch i{flex:none;width:46px;height:27px;border-radius:14px;background:#334155;position:relative;transition:background .25s}
  .vx-switch i::after{content:"";position:absolute;top:3px;left:3px;width:21px;height:21px;border-radius:50%;background:#fff;transition:transform .25s cubic-bezier(.3,1.4,.5,1);box-shadow:0 2px 6px rgba(0,0,0,.4)}
  .vx-switch[aria-checked=true] i{background:linear-gradient(135deg,#38bdf8,#0086c3)}
  .vx-switch[aria-checked=true] i::after{transform:translateX(19px)}
  .vx-chips{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--vx-line);padding-top:12px}
  .vx-chips button{appearance:none;display:inline-flex;align-items:center;gap:4px;min-height:38px;padding:0 13px;border-radius:19px;border:1px solid rgba(56,189,248,.3);background:rgba(56,189,248,.1);color:#bae6fd;font:700 12px/1 system-ui,sans-serif;cursor:pointer}
  .vx-chips button.on{background:#38bdf8;color:#02101c}
  .vx-links{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .vx-snd + .vx-links{margin-top:22px}
  .vx-sheet-body{padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}
  .vx-links a.vx-cta{min-height:56px;font-size:14px}
  .vx-links a{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 14px;border-radius:14px;color:#cbd5e1;text-decoration:none;font:700 13px/1.2 system-ui,sans-serif;background:rgba(255,255,255,.04);border:1px solid var(--vx-line)}
  .vx-links a i{font-size:19px;color:#38bdf8}
  .vx-links a.vx-cta{grid-column:1/-1;justify-content:center;color:#02101c;background:linear-gradient(135deg,#7dd3fc,#38bdf8 45%,#00b0f0);border:0;box-shadow:0 10px 26px rgba(0,176,240,.35)}
  .vx-links a.vx-cta i{color:#02101c}

  /* ---------- splash (installed app launch): shown from the very first paint, held ~2 seconds, then fades into the tracker ---------- */
  body.vx-has-shell .vx-splash{display:flex;position:fixed;inset:0;z-index:2147483600;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:radial-gradient(60% 45% at 50% 42%,rgba(0,176,240,.28),transparent 70%),#020617;opacity:0;visibility:hidden;pointer-events:none}
  html.vx-splashing,html.vx-splashing body{overflow:hidden!important;background:#020617}
  html.vx-splashing body.vx-has-shell .vx-splash{visibility:visible;opacity:1;pointer-events:auto;animation:vxsplash 2.1s ease forwards}
  .vx-splash img{width:92px;filter:drop-shadow(0 0 26px rgba(56,189,248,.75));animation:vxlogo 1.1s cubic-bezier(.2,1.1,.3,1) both}
  .vx-splash b{font:900 28px/1 system-ui,sans-serif;color:#fff;letter-spacing:.2em;text-transform:uppercase;margin-top:12px;animation:vxfade .8s .25s ease both}
  .vx-splash span{font:700 11px/1 system-ui,sans-serif;color:#38bdf8;letter-spacing:.32em;text-transform:uppercase;animation:vxfade .8s .45s ease both}
  .vx-splash-bar{display:block;width:120px;height:3px;border-radius:2px;background:rgba(255,255,255,.12);overflow:hidden;margin-top:22px;animation:vxfade .6s .6s ease both}
  .vx-splash-bar u{display:block;height:100%;width:0;border-radius:2px;background:linear-gradient(90deg,#38bdf8,#818cf8);animation:vxbar 1.7s .3s cubic-bezier(.4,0,.2,1) forwards}
  @keyframes vxsplash{0%,88%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
  @keyframes vxlogo{from{opacity:0;transform:scale(.55) rotate(-14deg)}to{opacity:1;transform:none}}
  @keyframes vxfade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
  @keyframes vxbar{to{width:100%}}

  /* =====================================================  FULL PAGE RESTYLE  ===================================================== */
  body.vx-has-shell .glass-panel{border-radius:22px!important;background:linear-gradient(160deg,rgba(255,255,255,.065),rgba(255,255,255,.02))!important;border:1px solid var(--vx-line)!important;box-shadow:0 10px 30px rgba(0,0,0,.28)}

  /* the greeting + money summary belong to the home (Activity) screen only */
  body.vx-t-deliverables #vxHero,body.vx-t-feedback #vxHero,body.vx-t-deliverables #summaryAlways,body.vx-t-feedback #summaryAlways{display:none!important}

  /* summary: latest visual + money tiles */
  body.vx-has-shell #summaryAlways{margin-bottom:16px}
  body.vx-has-shell #summaryAlways > .grid{gap:12px!important}
  body.vx-has-shell #summaryAlways .min-h-\[400px\]{min-height:0!important}
  body.vx-has-shell #summaryAlways .group{border-radius:24px!important;overflow:hidden}
  body.vx-has-shell #summaryAlways .group > div:first-child{padding:12px 14px!important;flex-direction:row!important;align-items:center}
  body.vx-has-shell #summaryAlways .group > div:first-child .flex.items-center.gap-2.bg-white\/5{display:none}   /* media-size slider isn't needed on a phone */
  body.vx-has-shell #summaryAlways .group h3{font-size:11px;letter-spacing:.16em}
  body.vx-has-shell #previewArea{padding:0!important;min-height:120px;background:#020617}
  body.vx-has-shell #previewArea img,body.vx-has-shell #previewArea .media-container{width:100%!important;max-width:100%!important;max-height:62vh!important;height:auto;object-fit:contain;border-radius:0}
  body.vx-has-shell #visualDownloadBtn a{min-height:38px;border-radius:19px;padding:0 14px}
  body.vx-has-shell #summaryAlways .space-y-6{display:grid;grid-template-columns:1fr 1fr;gap:12px!important}
  body.vx-has-shell #summaryAlways .space-y-6 > *{margin:0!important}
  body.vx-has-shell #summaryAlways .space-y-6 > :nth-child(2){grid-column:1/-1;order:-1;padding:18px!important;background:radial-gradient(120% 120% at 0 0,rgba(0,176,240,.22),transparent 60%),linear-gradient(160deg,#0c2347,#07122a)!important;border:1px solid rgba(56,189,248,.28)!important}
  body.vx-has-shell #summaryAlways .space-y-6 > :nth-child(1),body.vx-has-shell #summaryAlways .space-y-6 > :nth-child(3){padding:14px!important;display:flex;flex-direction:column;justify-content:center;min-height:92px}
  body.vx-has-shell #summaryAlways .space-y-6 > :nth-child(1) .text-3xl{font-size:24px}
  body.vx-has-shell #btnPayBalance{min-height:50px;border-radius:16px;font-size:14px}

  /* section cards: let the page breathe, no card-inside-card */
  body.vx-has-shell #tab-activity > .glass-panel,body.vx-has-shell #tab-deliverables > .glass-panel,body.vx-has-shell #tab-feedback > .glass-panel{
    background:none!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
  body.vx-has-shell #tab-activity > .glass-panel > div:first-child,
  body.vx-has-shell #tab-deliverables > .glass-panel > div:first-child,
  body.vx-has-shell #tab-feedback > .glass-panel > div:first-child{border:0!important;padding:2px 2px 0!important;margin-bottom:14px!important}
  body.vx-has-shell #tab-activity h3,body.vx-has-shell #tab-deliverables h3,body.vx-has-shell #tab-feedback h3{font-size:22px;letter-spacing:-.01em}
  body.vx-has-shell #tab-deliverables > .glass-panel > div:first-child > .text-\[10px\]{display:none}

  /* activity timeline cards */
  body.vx-has-shell #feed{padding-left:0!important;display:grid;gap:12px}
  body.vx-has-shell #feed > .relative{margin:0!important}
  body.vx-has-shell #feed > .relative > .glass-panel{padding:16px!important;border-radius:22px!important}
  body.vx-has-shell #feed h4{font-size:15px!important}
  body.vx-has-shell #feed p{font-size:14px!important;line-height:1.55!important}
  body.vx-has-shell #feed .media-container,body.vx-has-shell #feed img,body.vx-has-shell #feed video{max-width:100%!important;width:100%;height:auto;border-radius:16px}
  body.vx-has-shell #feed .w-fit{width:100%!important}
  body.vx-has-shell #feed .replyBtn{min-height:42px;padding:0 16px;border-radius:21px;background:rgba(56,189,248,.12);border:1px solid rgba(56,189,248,.28);color:#7dd3fc}
  body.vx-has-shell #feed [onclick^="openReply"]{min-height:36px;border-radius:18px!important;padding:0 14px!important}
  body.vx-has-shell .vxl-dx-flash{border-radius:22px}

  /* deliverables */
  body.vx-has-shell #tab-deliverables .grid.grid-cols-2{display:flex!important;gap:10px!important;overflow-x:auto;margin:0 -14px 16px!important;padding:2px 14px;scrollbar-width:none;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  body.vx-has-shell #tab-deliverables .grid.grid-cols-2::-webkit-scrollbar{display:none}
  body.vx-has-shell .deliv-card{flex:0 0 auto!important;width:max-content!important;scroll-snap-align:start;padding:12px 16px!important;gap:10px!important;border-radius:20px!important;min-width:128px}
  body.vx-has-shell .deliv-card > div:first-child{height:38px!important;width:38px!important}
  body.vx-has-shell .deliv-card .text-2xl{font-size:22px}
  body.vx-has-shell .deliv-card:hover{transform:none}
  body.vx-has-shell #deliverablesGrid{gap:12px!important}
  body.vx-has-shell .deliv-item-wrapper > .glass-panel{padding:14px!important;gap:12px!important;border-radius:22px!important}
  body.vx-has-shell .deliv-item-wrapper .action-btn,body.vx-has-shell .deliv-item-wrapper .secondary-btn{min-height:46px;border-radius:14px!important;display:flex;align-items:center;justify-content:center}
  body.vx-has-shell #deliverablesEmpty{border-radius:22px;padding:34px 16px}

  /* review form */
  body.vx-has-shell #feedbackForm .grid{gap:12px!important}
  body.vx-has-shell #feedbackForm .glass-panel{padding:16px!important}
  body.vx-has-shell .star-btn{width:52px;height:52px;border-radius:16px}
  body.vx-has-shell .star-btn i{font-size:28px!important}
  body.vx-has-shell #feedbackForm input[type=text],body.vx-has-shell #feedbackForm textarea{border-radius:16px!important;padding:14px 16px!important}
  body.vx-has-shell #submitFeedbackBtn{width:100%;min-height:52px;border-radius:16px!important;font-size:14px}
  body.vx-has-shell #feedbackForm input[type=checkbox]{width:22px;height:22px;accent-color:#38bdf8;flex:none}

  /* shared buttons + overlays */
  body.vx-has-shell .action-btn{border-radius:16px;min-height:46px}
  body.vx-has-shell .secondary-btn{min-height:44px}
  body.vx-has-shell .doc-overlay{padding:0}
  body.vx-has-shell .doc-window{height:100%;max-width:none;border-radius:0;border:0}
  body.vx-has-shell #replyModal{align-items:flex-end;padding:0;z-index:9600}
  body.vx-has-shell #replyModal > .glass-panel{width:100%;max-width:none!important;border-radius:28px 28px 0 0!important;padding:22px 18px calc(env(safe-area-inset-bottom,0px) + 18px)!important;animation:vxsheet .35s cubic-bezier(.2,.9,.25,1) both}
  @keyframes vxsheet{from{transform:translateY(100%)}to{transform:none}}
  body.vx-has-shell #replyModal textarea{border-radius:16px}
  body.vx-has-shell #btnSendReply{min-height:48px;border-radius:14px}
  body.vx-has-shell #vxlAppBar{bottom:calc(var(--vx-nav) + env(safe-area-inset-bottom,0px) + 22px)!important}
  body.vx-sheet-open #vxlAppBar{display:none!important}
  body.vx-has-shell .vxl-new-banner{top:auto!important;bottom:calc(var(--vx-nav) + env(safe-area-inset-bottom,0px) + 22px)!important;transform:translateX(-50%) translateY(24px)}
  body.vx-has-shell .vxl-new-banner.show{transform:translateX(-50%) translateY(0)}
  body.vx-has-shell .swal2-container.swal2-top-end{padding-top:calc(var(--vx-bar) + env(safe-area-inset-top,0px) + 8px)}
  body.vx-has-shell .swal2-popup{border-radius:24px!important}
  body.vx-has-shell .swal2-container{z-index:99990!important}
  body.vx-has-shell #docViewer{z-index:9600}body.vx-has-shell #imgViewer{z-index:9700}
}

@media (prefers-reduced-motion:reduce){
  .vx-tab *,.vx-sheet,.vx-sheet-back,.tab-page.active,.vx-badge,.vx-splash,.vx-splash img{animation-duration:.01s!important;transition-duration:.01s!important}
}


/* =====================================================  ROUND 2: premium bar, docked nav, hero, 4-up filters  ===================================================== */
.vx-hero{display:none}
@media (max-width:767px){
  html body.vx-has-shell #hdrBlock{display:none!important}

  /* top bar: brand eyebrow + title, no reference text */
  html body.vx-has-shell .vx-bar{background:linear-gradient(180deg,#030816 0%,rgba(3,8,22,.96) 100%);border-bottom:0;padding-bottom:8px}
  html body.vx-has-shell .vx-bar::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(56,189,248,.65),transparent)}
  .vx-bar-mid small{display:block;margin:0 0 5px;font:800 8.5px/1 system-ui,-apple-system,sans-serif;letter-spacing:.38em;text-transform:uppercase;color:#38bdf8;opacity:.95}
  .vx-bar-mid b{font:800 18px/1.05 "Outfit",system-ui,-apple-system,sans-serif;letter-spacing:.005em;background:linear-gradient(180deg,#fff,#cfe9ff);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
  .vx-bar-btn,.vx-bar-logo{border-radius:15px}

  /* bottom nav: solid, docked to the very bottom edge, larger */
  html body.vx-has-shell .vx-nav{left:0;right:0;bottom:0;border-radius:0;height:calc(var(--vx-nav) + env(safe-area-inset-bottom,0px));padding:8px 6px env(safe-area-inset-bottom,0px);
    background:#040a1a;border:0;border-top:1px solid rgba(56,189,248,.24);-webkit-backdrop-filter:none;backdrop-filter:none;
    box-shadow:0 -14px 34px rgba(0,0,0,.6);grid-template-columns:1fr 1fr 88px 1fr 1fr}
  html body.vx-has-shell .vx-nav::before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;background:linear-gradient(90deg,transparent,rgba(125,211,252,.8),transparent)}
  .vx-tab{gap:4px}
  .vx-tab .ic{width:54px;height:34px;border-radius:17px;font-size:27px}
  .vx-tab .lb{font-size:11px;letter-spacing:.015em}
  .vx-fab .ic{width:64px;height:64px;margin-top:-34px;font-size:32px;border:5px solid #040a1a}
  body.vx-has-shell main{padding-bottom:calc(var(--vx-nav) + env(safe-area-inset-bottom,0px) + 28px)!important}
  body.vx-has-shell #vxlAppBar{bottom:calc(var(--vx-nav) + env(safe-area-inset-bottom,0px) + 12px)!important}

  /* hero */
  body.vx-has-shell .vx-hero{display:block;position:relative;overflow:hidden;isolation:isolate;border-radius:30px;padding:16px 14px 14px;margin-bottom:16px;
    background:linear-gradient(158deg,#0f3068 0%,#08193a 44%,#050b1c 100%);border:1px solid rgba(125,211,252,.3);
    box-shadow:0 26px 54px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.04) inset,0 0 60px rgba(0,176,240,.12)}
  .vx-hero-orb{position:absolute;z-index:-1;border-radius:50%;filter:blur(38px);pointer-events:none}
  .vx-hero-orb.a{width:230px;height:230px;right:-70px;top:-90px;background:radial-gradient(circle,rgba(56,189,248,.7),transparent 70%);animation:vxfloat 9s ease-in-out infinite alternate}
  .vx-hero-orb.b{width:240px;height:240px;left:-90px;bottom:-110px;background:radial-gradient(circle,rgba(99,102,241,.45),transparent 70%);animation:vxfloat 11s ease-in-out infinite alternate-reverse}
  @keyframes vxfloat{to{transform:translate(18px,16px) scale(1.12)}}
  .vx-hero-grid{position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:24px 24px;-webkit-mask-image:radial-gradient(90% 80% at 85% 0,#000,transparent 72%);mask-image:radial-gradient(90% 80% at 85% 0,#000,transparent 72%)}
  .vx-hero::after{content:"";position:absolute;z-index:-1;top:-30%;bottom:-30%;width:34%;left:-50%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.1),transparent);transform:skewX(-16deg);animation:vxsweep 6s ease-in-out 1.2s infinite;pointer-events:none}
  @keyframes vxsweep{0%{left:-50%}45%,100%{left:140%}}
  .vx-hero-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}
  .vx-live,.vx-ref{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 11px;border-radius:14px;background:rgba(2,6,23,.45);border:1px solid rgba(255,255,255,.12);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
  .vx-live b{font:800 10px/1 system-ui,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#6ee7b7}
  .vx-live i{width:8px;height:8px;border-radius:50%;background:#34d399;box-shadow:0 0 0 0 rgba(52,211,153,.6);animation:vxlive 1.8s infinite}
  .vx-live.off b{color:#fbbf24}.vx-live.off i{background:#fbbf24;animation:none}
  @keyframes vxlive{70%{box-shadow:0 0 0 8px rgba(52,211,153,0)}100%{box-shadow:0 0 0 0 rgba(52,211,153,0)}}
  .vx-sync{flex:1;min-width:0;text-align:right;font:700 11px/1 system-ui,sans-serif;letter-spacing:.04em;color:#8fb3d9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .vx-ref{font:700 11px/1 ui-monospace,Menlo,monospace;color:#bae6fd;letter-spacing:.04em}.vx-ref i{color:#38bdf8;font-size:14px;margin-right:-3px}
  .vx-hero-id{display:flex;align-items:center;gap:14px;margin-bottom:16px}
  .vx-avatar{flex:none;position:relative;width:68px;height:68px;border-radius:50%;padding:3px;background:conic-gradient(from 0deg,#38bdf8,#818cf8,#38bdf8 50%,#7dd3fc,#38bdf8);animation:vxring 8s linear infinite;box-shadow:0 0 26px rgba(56,189,248,.45)}
  @keyframes vxring{to{transform:rotate(360deg)}}
  .vx-avatar span{position:absolute;inset:3px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 30% 20%,#12356d,#050b1c 75%);font:900 23px/1 "Outfit",system-ui,sans-serif;color:#fff;letter-spacing:.02em;animation:vxring 8s linear infinite reverse}
  .vx-hero-txt{min-width:0}
  .vx-hero-txt small{display:block;font:800 9.5px/1 system-ui,sans-serif;letter-spacing:.3em;text-transform:uppercase;color:#7dd3fc;margin-bottom:6px}
  .vx-hero-txt h1{margin:0;font:900 34px/1.02 "Outfit",system-ui,sans-serif;letter-spacing:-.015em;text-transform:none;background:linear-gradient(180deg,#fff 30%,#a5d8ff);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;overflow-wrap:anywhere}
  .vx-hero-txt p{margin:7px 0 0;display:flex;align-items:center;gap:6px;font:600 12.5px/1.3 system-ui,sans-serif;color:#9fb4d0}.vx-hero-txt p i{color:#38bdf8;font-size:15px;flex:none}
  .vx-stats{margin-bottom:12px}
  .vx-hero #vxStats{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .vx-hero #vxStats > *{margin:0!important;border-radius:20px!important;background:rgba(3,10,28,.55)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:none!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
  .vx-hero #vxStats > :nth-child(2){grid-column:1/-1;order:-1;padding:16px!important;background:linear-gradient(150deg,rgba(56,189,248,.22),rgba(3,10,28,.6) 60%)!important;border-color:rgba(125,211,252,.35)!important}
  .vx-hero #vxStats > :nth-child(2) #balanceValue{font:800 32px/1.05 "Outfit",ui-monospace,monospace!important;letter-spacing:-.01em}
  .vx-hero #vxStats > :nth-child(1),.vx-hero #vxStats > :nth-child(3){padding:13px!important;min-height:86px;display:flex;flex-direction:column;justify-content:center}
  .vx-hero #vxStats > :nth-child(1) .text-3xl{font-size:24px;font-family:"Outfit",sans-serif}
  .vx-hero #vxStats .text-xs{font-size:9.5px;letter-spacing:.16em}
  .vx-hero #btnPayBalance{min-height:50px;border-radius:15px}
  .vx-hero-chips{display:flex;gap:8px;overflow-x:auto;margin:0 -4px;padding:2px 4px;scrollbar-width:none}.vx-hero-chips::-webkit-scrollbar{display:none}
  .vx-chip{flex:none;appearance:none;display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 16px;border-radius:21px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.07);color:#e2e8f0;font:700 12.5px/1 system-ui,sans-serif;text-decoration:none;white-space:nowrap;cursor:pointer}
  .vx-chip i{font-size:17px;color:#7dd3fc}
  .vx-chip.hot{color:#1a1203;background:linear-gradient(135deg,#fde68a,#fbbf24);border-color:#fbbf24;animation:vxhot 2.2s ease-in-out infinite}.vx-chip.hot i{color:#1a1203}
  @keyframes vxhot{50%{box-shadow:0 0 0 7px rgba(251,191,36,.16)}}

  .vx-hero #vxStats .vx-agree{position:relative;display:block!important;padding:13px!important;min-height:86px}
  .vx-hero #vxStats .vx-agree > div:last-child{position:absolute;top:10px;right:10px;width:28px!important;height:28px!important}
  .vx-hero #paidTotal{white-space:nowrap;font-size:11px}
  .vx-hero #vxStats > :nth-child(2) .flex.justify-between{flex-direction:column;align-items:flex-start!important;gap:6px}
  .vx-hero #vxStats > :nth-child(2) .text-right{text-align:left!important;display:flex;align-items:baseline;gap:8px}
  .vx-hero #vxStats > :nth-child(2) .text-right .text-\[10px\]{margin:0}

  /* pending agreement tile is a real button */
  .vx-agree-pending{border-color:rgba(251,191,36,.55)!important;background:linear-gradient(145deg,rgba(251,191,36,.2),rgba(3,10,28,.55) 70%)!important;text-decoration:none;cursor:pointer;animation:vxamber 2.4s ease-in-out infinite}
  @keyframes vxamber{50%{box-shadow:0 0 0 6px rgba(251,191,36,.12)}}
  .vx-agree-cta{margin-top:6px;font:800 9.5px/1.2 system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#fde68a;display:flex;align-items:center;gap:2px}
  .vx-agree-cta i{font-size:14px}

  /* deliverables: all four filters visible at once */
  html body.vx-has-shell #tab-deliverables .grid.grid-cols-2{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px!important;overflow:visible;margin:0 0 14px!important;padding:0;scroll-snap-type:none}
  html body.vx-has-shell .deliv-card{width:auto!important;min-width:0!important;flex-direction:column!important;justify-content:center;text-align:center;padding:10px 2px 9px!important;gap:6px!important;border-radius:16px!important}
  html body.vx-has-shell .deliv-card > div:first-child{width:32px!important;height:32px!important;border-radius:10px!important}
  html body.vx-has-shell .deliv-card > div:first-child i{font-size:18px!important}
  html body.vx-has-shell .deliv-card .text-2xl{font-size:19px}
  html body.vx-has-shell .deliv-card .min-w-0{width:100%}
  html body.vx-has-shell .deliv-card .text-\[10px\]{font-size:8.5px;letter-spacing:.06em;margin-top:3px}
}


/* =====================================================  ROUND 3: nothing may ever be wider than the phone  =====================================================
   Safari sizes a grid/flex track by the natural width of an image or the longest unbroken line inside it, which pushed whole cards past the right edge.
   Every track is now pinned to the screen width (minmax(0,1fr)) and every container may shrink below its content. */
@media (max-width:767px){
  html,html body.vx-has-shell{max-width:100%;overflow-x:hidden}
  body.vx-has-shell main,body.vx-has-shell .tab-page,body.vx-has-shell .tab-page > *{min-width:0;max-width:100%}
  body.vx-has-shell main{overflow-x:clip}
  body.vx-has-shell #summaryAlways > .grid{grid-template-columns:minmax(0,1fr)!important}
  body.vx-has-shell #summaryAlways .group,body.vx-has-shell #previewArea,body.vx-has-shell #vxStats{min-width:0;max-width:100%}
  body.vx-has-shell #feed{display:flex!important;flex-direction:column;gap:12px;width:100%;min-width:0}
  body.vx-has-shell #feed > *{width:100%;min-width:0;max-width:100%}
  body.vx-has-shell #feed > .relative{contain:inline-size}   /* the card's width never depends on what is inside it */
  body.vx-has-shell #feed *{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word}
  body.vx-has-shell #feed [style*="margin-left"]{margin-left:min(var(--vx-ml,12px),14px)!important}   /* thread replies indent a little, never off-screen */
  body.vx-has-shell #feed .w-fit,body.vx-has-shell #feed .media-container,body.vx-has-shell #feed img,body.vx-has-shell #feed video{width:100%!important;max-width:100%!important;height:auto!important;box-sizing:border-box}
  body.vx-has-shell #feed .flex{flex-wrap:wrap}
  body.vx-has-shell #deliverablesGrid,body.vx-has-shell #deliverablesGrid > *{grid-template-columns:minmax(0,1fr);min-width:0;max-width:100%}
  body.vx-has-shell .deliv-item-wrapper .glass-panel{min-width:0}
  body.vx-has-shell .deliv-item-wrapper .truncate{min-width:0}
  body.vx-has-shell #feedbackForm,body.vx-has-shell #feedbackForm > *{min-width:0;max-width:100%}
  body.vx-has-shell #feedbackForm .grid{grid-template-columns:minmax(0,1fr)!important}
  body.vx-has-shell pre,body.vx-has-shell code{white-space:pre-wrap;overflow-wrap:anywhere}
}


/* ROUND 4: small-phone (320-360px) fit + readable minimum text */
@media (max-width:767px){
  .vx-tab{min-width:0}
  .vx-tab .lb{max-width:100%}
  html body.vx-has-shell .deliv-card .text-\[10px\]{font-size:9.5px}
  body.vx-has-shell .deliv-card .text-\[8px\],body.vx-has-shell [class*="text-[8px]"]{font-size:9.5px!important}
  body.vx-has-shell [class*="text-[9px]"]{font-size:10px!important}
  body.vx-has-shell [class*="text-[10px]"]{font-size:10.5px!important}
}
@media (max-width:360px){
  html body.vx-has-shell .vx-nav{grid-template-columns:1fr 1fr 76px 1fr 1fr;padding-left:2px;padding-right:2px}
  .vx-tab .ic{width:44px}
  .vx-tab .lb{font-size:9.5px;letter-spacing:0}
  .vx-fab .ic{width:58px;height:58px;margin-top:-30px}
  .vx-hero-txt h1{font-size:28px}
  .vx-avatar{width:58px;height:58px}
  .vx-hero #vxStats > :nth-child(2) #balanceValue{font-size:27px!important}
  .vx-chip{padding:0 13px}
}


/* ---------- file-share link cards (Dropbox, Drive, WeTransfer …) with link-preview thumbnails ---------- */
.vx-lk{display:block;min-width:0}
.vx-lk-card{display:flex;gap:14px;align-items:stretch;text-decoration:none;color:inherit;border-radius:20px;overflow:hidden;min-width:0;
  background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.12);box-shadow:0 10px 28px rgba(0,0,0,.3);transition:border-color .2s,transform .12s}
.vx-lk-card:hover{border-color:rgba(56,189,248,.45)}
.vx-lk-card:active{transform:scale(.985)}
.vx-lk-img{flex:none;width:104px;min-height:104px;display:grid;place-items:center;font-size:40px;color:#38bdf8;background:radial-gradient(circle at 30% 20%,#12356d,#050b1c 78%);overflow:hidden}
.vx-lk-img img{width:100%;height:100%;object-fit:cover;display:block}
.vx-lk-img.has{background:#0b1220}
.vx-lk-body{display:flex;flex-direction:column;justify-content:center;gap:5px;padding:12px 14px 12px 0;min-width:0;flex:1}
.vx-lk-badge{align-self:flex-start;font:800 9.5px/1 system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#7dd3fc;background:rgba(56,189,248,.12);border:1px solid rgba(56,189,248,.3);border-radius:999px;padding:5px 9px}
.vx-lk-title{font:800 15px/1.25 system-ui,-apple-system,sans-serif;color:#fff;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vx-lk-desc{font:500 12px/1.4 system-ui,sans-serif;color:#94a3b8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vx-lk-desc:empty{display:none}
.vx-lk-host{font:600 11px/1.2 system-ui,sans-serif;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vx-lk-actions{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap}
.vx-lk-actions .action-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;text-align:center;text-decoration:none;min-width:150px;min-height:46px}
.vx-lk-actions .secondary-btn{display:flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:0 16px}
@media (max-width:420px){.vx-lk-img{width:88px;min-height:88px;font-size:34px}.vx-lk-title{font-size:14px}}

@media (max-width:420px){
  html body.vx-has-shell .vx-nav{grid-template-columns:1fr 1fr 78px 1fr 1fr}
  .vx-tab .lb{font-size:10.5px;letter-spacing:0}
}

/* ======================================================================
   "Project not found" as an app screen (html.vx-lost = installed app / ?app=1).
   Replaces the website "Track Your Order" page with top bar + cards + bottom nav + Close app.
   ====================================================================== */
.vl-app{display:none}
html.vx-lost .vl-app:not([hidden]){display:block}
html.vx-lost body #navbar,html.vx-lost body > footer,html.vx-lost body > main,html.vx-lost .cursor-dot,html.vx-lost .cursor-outline{display:none!important}
html.vx-lost body{background:var(--vx-bg);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;overscroll-behavior-y:contain;touch-action:manipulation}
html.vx-lost input{-webkit-user-select:text;user-select:text;font-size:16px}
.vl-app{position:relative;z-index:5;min-height:100vh;color:#e2e8f0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.vl-bar{position:fixed;left:0;right:0;top:0;z-index:9000;display:flex;align-items:center;gap:8px;padding:calc(env(safe-area-inset-top,0px) + 6px) 10px 6px;min-height:calc(var(--vx-bar) + env(safe-area-inset-top,0px));
  background:linear-gradient(180deg,rgba(2,6,23,.96),rgba(2,6,23,.82));-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);border-bottom:1px solid var(--vx-line)}
.vl-logo,.vl-bar-btn{flex:none;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;border:1px solid var(--vx-line);background:rgba(255,255,255,.05);color:#e2e8f0;font-size:22px;cursor:pointer}
.vl-logo{background:radial-gradient(circle at 30% 20%,#0b2447,#020617 75%);border-color:rgba(56,189,248,.45);box-shadow:0 0 18px rgba(0,176,240,.25)}
.vl-logo img{width:24px;filter:drop-shadow(0 0 6px rgba(56,189,248,.7))}
.vl-bar-mid{flex:1;min-width:0;text-align:center;line-height:1.15}
.vl-bar-mid b{display:block;font:800 16px/1.1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#fff}
.vl-bar-mid small{display:block;margin-top:3px;font:600 10px/1 ui-monospace,Menlo,monospace;color:#38bdf8;letter-spacing:.08em;white-space:nowrap}
.vl-main{max-width:520px;margin:0 auto;padding:calc(var(--vx-bar) + env(safe-area-inset-top,0px) + 16px) 14px calc(var(--vx-nav) + env(safe-area-inset-bottom,0px) + 36px);display:flex;flex-direction:column;gap:14px;box-sizing:border-box}
.vl-hero,.vl-card{border-radius:26px;border:1px solid rgba(56,189,248,.2);background:linear-gradient(145deg,rgba(15,35,64,.78),rgba(8,14,32,.9));box-shadow:0 18px 50px rgba(0,0,0,.4),0 0 0 1px rgba(255,255,255,.03) inset;animation:vlrise .45s cubic-bezier(.2,.8,.2,1) backwards}
.vl-card{padding:16px}.vl-card:nth-of-type(2){animation-delay:.08s}.vl-card:nth-of-type(3){animation-delay:.16s}
.vl-hero{padding:26px 20px 22px;text-align:center}
@keyframes vlrise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.vl-orb{width:84px;height:84px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;font-size:40px;color:#7dd3fc;background:radial-gradient(circle at 35% 25%,rgba(56,189,248,.35),rgba(2,6,23,.85) 70%);border:1px solid rgba(56,189,248,.45);box-shadow:0 0 40px rgba(56,189,248,.25);animation:vlfloat 4s ease-in-out infinite}
.vl-orb.sm{width:64px;height:64px;font-size:30px;margin-bottom:10px}
@keyframes vlfloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.vl-hero h1{margin:0;font:900 22px/1.2 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#fff}
.vl-hero p{margin:10px 4px 0;font-size:14px;line-height:1.55;color:#94a3b8}
.vl-ref{margin:14px auto 0;max-width:100%;display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid var(--vx-line);font:600 11px/1 ui-monospace,Menlo,monospace;color:#cbd5e1}
.vl-ref span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:230px}
.vl-sec{font:800 11px/1 system-ui,-apple-system,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#7dd3fc;margin:2px 2px 12px}
.vl-form{display:flex;flex-direction:column;gap:10px}
.vl-form input[type=text]{width:100%;box-sizing:border-box;height:52px;border-radius:16px;border:1px solid rgba(255,255,255,.12);background:rgba(2,6,23,.6);color:#fff;text-align:center;font-family:ui-monospace,Menlo,monospace;outline:none;padding:0 14px}
.vl-form input[type=text]:focus{border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.18)}
.vl-go{height:52px;border:0;border-radius:16px;background:linear-gradient(135deg,#38bdf8,#3b82f6);color:#001018;font:900 15px/1 system-ui,-apple-system,sans-serif;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;width:100%;box-shadow:0 10px 30px rgba(56,189,248,.28)}
.vl-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.vl-it{appearance:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:84px;padding:12px 8px;border-radius:18px;border:1px solid var(--vx-line);background:rgba(255,255,255,.04);color:#e2e8f0;text-decoration:none;font:700 12px/1.25 system-ui,-apple-system,sans-serif;text-align:center;cursor:pointer}
.vl-it i{font-size:26px;color:#7dd3fc}
.vl-it:active,.vl-tab:active,.vl-go:active{transform:scale(.97)}
.vl-nav{display:grid;grid-template-columns:1fr 1fr 74px 1fr 1fr;align-items:end;position:fixed;left:10px;right:10px;bottom:calc(env(safe-area-inset-bottom,0px) + 8px);z-index:9000;height:var(--vx-nav);padding:6px 6px 4px;border-radius:26px;
  background:linear-gradient(180deg,rgba(15,23,42,.92),rgba(2,6,23,.96));border:1px solid rgba(56,189,248,.18);-webkit-backdrop-filter:blur(22px) saturate(1.5);backdrop-filter:blur(22px) saturate(1.5);box-shadow:0 18px 50px rgba(0,0,0,.6),0 0 40px rgba(0,176,240,.10);max-width:500px;margin:0 auto}
.vl-tab{appearance:none;border:0;background:none;color:#94a3b8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:100%;padding:0;text-decoration:none;cursor:pointer;font-family:inherit}
.vl-tab .ic{display:grid;place-items:center;width:46px;height:30px;border-radius:15px;font-size:23px}
.vl-tab .lb{font:700 10px/1 system-ui,-apple-system,sans-serif;letter-spacing:.02em}
.vl-tab.is-active{color:#fff}.vl-tab.is-active .ic{background:linear-gradient(135deg,rgba(56,189,248,.30),rgba(0,134,195,.22));color:#7dd3fc;box-shadow:0 0 22px rgba(56,189,248,.28)}
.vl-fab{position:relative;color:#7dd3fc}
.vl-fab .ic{width:60px;height:60px;border-radius:20px;margin-top:-30px;font-size:30px;color:#001018;background:linear-gradient(135deg,#7dd3fc,#38bdf8);border:5px solid #020617;box-shadow:0 10px 30px rgba(56,189,248,.45)}
.vl-sheet-wrap{position:fixed;inset:0;z-index:9500;visibility:hidden}
.vl-sheet-wrap.open{visibility:visible}
.vl-sheet-back{position:absolute;inset:0;background:rgba(2,6,23,.6);opacity:0;transition:opacity .25s}
.vl-sheet-wrap.open .vl-sheet-back{opacity:1}
.vl-sheet{position:absolute;left:0;right:0;bottom:0;max-width:520px;margin:0 auto;box-sizing:border-box;padding:12px 20px calc(env(safe-area-inset-bottom,0px) + 22px);text-align:center;border-radius:28px 28px 0 0;background:linear-gradient(180deg,#0e2842,#060d1e);border:1px solid rgba(56,189,248,.3);border-bottom:0;transform:translateY(105%);transition:transform .35s cubic-bezier(.2,.9,.3,1)}
.vl-sheet-wrap.open .vl-sheet{transform:none}
.vl-grab{width:44px;height:5px;border-radius:5px;background:rgba(255,255,255,.2);margin:0 auto 16px}
.vl-sheet h2{margin:0;font:900 20px/1.2 system-ui,-apple-system,sans-serif;color:#fff}
.vl-sheet p{margin:8px 0 18px;font-size:14px;line-height:1.55;color:#94a3b8}

/* project stage notice (desktop header + phone welcome card) */
.vx-stage{--sc:#38bdf8;display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:6px 13px 6px 11px;border-radius:99px;border:1px solid color-mix(in srgb,var(--sc) 55%,transparent);background:color-mix(in srgb,var(--sc) 14%,transparent);color:#fff;font:700 11px/1.2 "Space Grotesk",system-ui,sans-serif;letter-spacing:.02em;vertical-align:middle}
.vx-stage[hidden]{display:none}
.vx-stage i{flex:none;width:8px;height:8px;border-radius:50%;background:var(--sc)}
.vx-stage b{font:800 11px/1.2 "Space Grotesk",system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--sc);white-space:nowrap}
.vx-stage em{font-style:normal;font-weight:600;color:#cbd5e1;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vx-stage[data-s=prog]{--sc:#38bdf8}.vx-stage[data-s=fb]{--sc:#fbbf24}.vx-stage[data-s=rev]{--sc:#a78bfa}.vx-stage[data-s=hold]{--sc:#94a3b8}.vx-stage[data-s=done]{--sc:#34d399}.vx-stage[data-s=other]{--sc:#7dd3fc}
.vx-stage[data-s=prog] i,.vx-stage[data-s=fb] i,.vx-stage[data-s=rev] i{animation:vxstage 1.9s infinite}
@keyframes vxstage{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--sc) 65%,transparent)}70%,100%{box-shadow:0 0 0 7px transparent}}
.vx-stage-wrap{margin-top:9px}
.vx-stage-wrap .vx-stage em{display:none}
@media (prefers-reduced-motion:reduce){.vx-stage i{animation:none!important}}

/* ===== ROUND 3: bottom navigation + More menu in the new site look (same tokens as the redesigned pages) ===== */
@media (max-width:767px){
  /* bottom navigation: five evenly spaced tabs */
  html body.vx-has-shell .vx-nav{grid-template-columns:repeat(5,1fr);align-items:center}
  html body.vx-has-shell .vx-nav{background:linear-gradient(180deg,rgba(10,16,34,.95),rgba(4,8,20,.985));border-top:1px solid rgba(125,211,252,.2);
    -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 -18px 44px -10px rgba(0,0,0,.75)}
  html body.vx-has-shell .vx-nav::before{background:linear-gradient(90deg,transparent,#5cbcff,#4f6dea,transparent);opacity:.95}
  html body.vx-has-shell .vx-tab{color:#8fa0bb;font-family:"Space Grotesk",system-ui,sans-serif}
  html body.vx-has-shell .vx-tab .lb{font:700 10.5px/1 "Space Grotesk",system-ui,sans-serif;letter-spacing:.02em}
  html body.vx-has-shell .vx-tab .ic{width:52px;height:34px;border-radius:17px;font-size:24px;border:1px solid transparent}
  html body.vx-has-shell .vx-tab.is-active{color:#fff}
  html body.vx-has-shell .vx-tab.is-active .ic{background:#fff;color:#04101f;border-color:#fff;box-shadow:0 10px 28px -8px rgba(92,188,255,.75);transform:none}
  html body.vx-has-shell .vx-fab{justify-content:center;overflow:visible}
  html body.vx-has-shell .vx-fab .ic{width:52px;height:34px;margin-top:0;border-radius:17px;font-size:25px;color:#04101f;border:0;background:linear-gradient(135deg,#7dd3fc 0%,#5cbcff 45%,#4f6dea 100%);box-shadow:0 10px 26px -8px rgba(92,188,255,.85),0 0 0 1px rgba(255,255,255,.2) inset}
  html body.vx-has-shell .vx-fab .lb{color:#bae6fd}
  html body.vx-has-shell .vx-badge{border-color:#040a1a;background:linear-gradient(135deg,#ff6b9a,#f72585)}

  /* More menu */
  html body.vx-has-shell .vx-sheet-back{background:rgba(2,6,23,.8)}
  html body.vx-has-shell .vx-sheet{background:radial-gradient(120% 38% at 50% 0,rgba(92,188,255,.2),transparent 70%),linear-gradient(180deg,#0d1630,#060b18);border:1px solid rgba(125,211,252,.28);border-bottom:0;box-shadow:0 -24px 70px -10px rgba(0,0,0,.75),0 0 60px rgba(79,109,234,.12)}
  .vx-grab{background:rgba(255,255,255,.22)}
  .vx-sheet-head{padding:10px 18px 14px}
  .vx-sheet-head img{width:42px}
  .vx-sheet-head b{font:900 21px/1.1 "Outfit",system-ui,sans-serif;letter-spacing:-.015em;background:linear-gradient(180deg,#fff 30%,#a5d8ff);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
  .vx-sheet-head small{font:700 9.5px/1.3 "JetBrains Mono",ui-monospace,monospace;letter-spacing:.16em;text-transform:uppercase;color:#5cbcff;margin-top:5px}
  .vx-x{border-radius:50%;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);color:#e8eef8}
  .vx-sec{font:700 10px/1 "JetBrains Mono",ui-monospace,monospace;letter-spacing:.18em;color:#5cbcff;margin:18px 4px 11px}
  .vx-grid{gap:10px}
  .vx-it{min-height:96px;padding:14px;gap:12px;border-radius:20px;background:rgba(4,8,20,.6);border:1px solid rgba(255,255,255,.1);color:#e8eef8;font:700 14px/1.2 "Outfit",system-ui,sans-serif;letter-spacing:-.005em;transition:border-color .2s,transform .2s,background .2s}
  .vx-it i{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;font-size:22px;color:#7dd3fc;background:rgba(92,188,255,.12);border:1px solid rgba(92,188,255,.32)}
  .vx-it:active{transform:scale(.97);border-color:#5cbcff;background:rgba(92,188,255,.1)}
  .vx-snd{border-radius:20px;padding:12px 14px;background:rgba(4,8,20,.6);border:1px solid rgba(255,255,255,.1)}
  .vx-switch{font:700 14px/1 "Space Grotesk",system-ui,sans-serif;color:#e8eef8}
  .vx-switch i{background:#27324a}
  .vx-switch[aria-checked=true] i{background:linear-gradient(135deg,#5cbcff,#4f6dea)}
  .vx-chips{border-top-color:rgba(255,255,255,.1)}
  .vx-chips button{border-radius:99px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.04);color:#c3cfe4;font:700 12px/1 "Space Grotesk",system-ui,sans-serif}
  .vx-chips button i{color:#5cbcff}
  .vx-chips button.on{background:#fff;color:#04101f;border-color:#fff}.vx-chips button.on i{color:#04101f}
  .vx-links a{border-radius:18px;background:rgba(4,8,20,.6);border:1px solid rgba(255,255,255,.1);color:#e8eef8;font:700 13px/1.2 "Space Grotesk",system-ui,sans-serif}
  .vx-links a i{color:#7dd3fc}
  .vx-links a.vx-cta{min-height:58px;background:#fff;color:#04101f;border:0;font:900 13.5px/1 "Outfit",system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 18px 50px -14px rgba(92,188,255,.65)}
  .vx-links a.vx-cta i{color:#04101f}
}
