/* Upstream operating-model tour, scroll-driven (16 Nov 2026). Shared by concepts/upstream-apple/tour-flow.html and sruthi.html.
   The dashboard is tour-flow.js; the scroll controller is tour-flow-ctl.js. Class names are tf- so they cannot clash with a page. */
/* the pinned stage: the dashboard IS the screen, edge to edge (cover), under the nav */
#tf-ts{position:relative;height:calc(var(--n,5) * 400vh + 60vh)}   /* four screens of scroll per step, so each beat holds long enough to read */
.tf-stage{position:sticky;top:0;height:100vh;overflow:hidden;background:#000}
.tf-win{position:absolute;left:0;right:0;top:70px;bottom:0;overflow:hidden}
.tf-cam{position:absolute;left:0;top:0;transform-origin:0 0;will-change:transform}
#up-tour{width:var(--cw,1280px)}
:is(#up-tour,#up-proto) .ut-scr{background:#000!important;border-radius:0!important;box-shadow:none!important}
:is(#up-tour,#up-proto) .ut-pnl{background:#050607!important;box-shadow:inset -1px 0 0 rgba(255,255,255,.06)}
:is(#up-tour,#up-proto) .ut-zoom,:is(#up-tour,#up-proto) .ut-zm,:is(#up-tour,#up-proto) .ut-hot,:is(#up-tour,#up-proto) .ut-hint{display:none!important}
#up-tour .ut-stage{transition:none!important}
/* ===== premium skin over the real dashboard (16 Nov 2026, owner): same screens and words, finished like a flagship app.
   Pure black surfaces, glass cards, hairline edges, refined type, one gold accent, a graded map, fine pins and route. ===== */
:is(#up-tour,#up-proto) .ut{--g:#FEBE10;--g2:#FFD873;--line:rgba(255,255,255,.075);--glass:rgba(16,17,20,.72);--sub:#8e8e93;--txt:#f2f2f4;
  color:var(--txt);font:400 13px/1.45 var(--body);letter-spacing:-.003em;-webkit-font-smoothing:antialiased}
:is(#up-tour,#up-proto) .ut-tb{background:linear-gradient(180deg,rgba(10,10,12,.92),rgba(10,10,12,.7));backdrop-filter:blur(20px) saturate(1.4);-webkit-backdrop-filter:blur(20px) saturate(1.4);border-bottom:1px solid var(--line);height:44px;font-size:12.5px}
:is(#up-tour,#up-proto) .ut-lg{background:linear-gradient(180deg,#FFD873,#FEBE10);border-radius:7px;box-shadow:0 0 0 1px rgba(255,255,255,.15) inset,0 4px 14px rgba(254,190,16,.35)}
:is(#up-tour,#up-proto) .ut-app{font-weight:600;letter-spacing:-.01em}:is(#up-tour,#up-proto) .ut-crumb{color:var(--sub)}
:is(#up-tour,#up-proto) .ut-pill{background:rgba(255,255,255,.05);border:1px solid var(--line);border-radius:999px;padding:5px 12px;color:#d2d2d7}
:is(#up-tour,#up-proto) .ut-pill.g{background:rgba(48,209,88,.1);color:#5fe08a;border-color:rgba(48,209,88,.18)}
/* side panel: black glass, hairline rows */
:is(#up-tour,#up-proto) .ut-pnl{background:linear-gradient(180deg,#0a0a0c,#050506)!important;border-right:1px solid var(--line)}
:is(#up-tour,#up-proto) .ut-v{padding:24px 22px}
:is(#up-tour,#up-proto) .ut-vh{font-size:17px;font-weight:600;letter-spacing:-.02em}:is(#up-tour,#up-proto) .ut-vs{color:var(--sub);font-size:12px;margin-top:4px}
:is(#up-tour,#up-proto) .ut-lbl,:is(#up-tour,#up-proto) .ut-f label{color:#6e6e73;font:500 10px var(--mono);letter-spacing:.14em;margin:20px 0 8px}
:is(#up-tour,#up-proto) .ut-opt,:is(#up-tour,#up-proto) .ut-in,:is(#up-tour,#up-proto) .ut-chk,:is(#up-tour,#up-proto) .ut-tele div,:is(#up-tour,#up-proto) .ut-kpi div,:is(#up-tour,#up-proto) .ut-sys,:is(#up-tour,#up-proto) .ut-cnt,:is(#up-tour,#up-proto) .ut-dec,:is(#up-tour,#up-proto) .ut-cmp span{
  background:rgba(255,255,255,.035);border:1px solid var(--line);border-radius:10px}
:is(#up-tour,#up-proto) .ut-opt{background:linear-gradient(180deg,rgba(254,190,16,.08),rgba(254,190,16,.02));border-color:rgba(254,190,16,.32);box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
:is(#up-tour,#up-proto) .ut-opt .ic{background:rgba(255,255,255,.06);border-radius:8px}
:is(#up-tour,#up-proto) .ut-opt .ut-n,:is(#up-tour,#up-proto) .ut-cnt b{color:var(--g)}
:is(#up-tour,#up-proto) .ut-chip{background:transparent;border:1px solid rgba(254,190,16,.38);color:var(--g2);border-radius:999px}
:is(#up-tour,#up-proto) .ut-btn{background:linear-gradient(180deg,#FFD873,#FEBE10);color:#111;border-radius:10px;box-shadow:0 8px 24px rgba(254,190,16,.28),inset 0 1px 0 rgba(255,255,255,.4)}
:is(#up-tour,#up-proto) .ut-cmp span.x{background:rgba(255,69,58,.12);border-color:rgba(255,69,58,.3);color:#ff6961}
:is(#up-tour,#up-proto) .ut-chk i{background:#30d158;color:#04230f}:is(#up-tour,#up-proto) .ut-chk i.a{background:#ff453a}:is(#up-tour,#up-proto) .ut-chk i.w{background:#ffd60a;color:#111}
:is(#up-tour,#up-proto) .ut-tele b{font:500 15px var(--mono);color:#fff}:is(#up-tour,#up-proto) .ut-tele small,:is(#up-tour,#up-proto) .ut-kpi small{color:#6e6e73;font:500 9.5px var(--mono);letter-spacing:.12em;text-transform:uppercase}
:is(#up-tour,#up-proto) .ut-kpi b{font-weight:600;letter-spacing:-.03em}
:is(#up-tour,#up-proto) .ut-wr{border-radius:8px;padding:7px 10px}:is(#up-tour,#up-proto) .ut-wr.cap{background:rgba(254,190,16,.08);box-shadow:inset 0 0 0 1px rgba(254,190,16,.25)}
:is(#up-tour,#up-proto) .ut-wr.cap .d{border-color:var(--g)}:is(#up-tour,#up-proto) .ut-wr.done .d{background:#30d158;border-color:#30d158}
:is(#up-tour,#up-proto) .ut-sys .x{background:rgba(255,255,255,.07);border-radius:6px}:is(#up-tour,#up-proto) .ut-sys em{color:#5fe08a}
/* ===== map (16 Nov 2026, owner: "the map looks cheap with lines drawn"). Studied DJI FlightHub 2 and Apple Maps:
   a dark graded basemap made from the real satellite photo (roads and pads as soft pale lines, a faint survey grid),
   the route drawn in layers like a mission planner (dark casing, planned line, moving direction dots, the flown part
   bright with the imaged corridor under it), the drone with its camera footprint, assets as fine markers with corner
   brackets when they are in the job, and the dock with its range. The drone flies the route as the reader scrolls. ===== */
:is(#up-tour,#up-proto) .ut-map{background:#0a0b0c}
:is(#up-tour,#up-proto) .ut-cam>img{filter:none}
:is(#up-tour,#up-proto) .ut-map::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:3;
  background:radial-gradient(130% 100% at 58% 46%,transparent 52%,rgba(0,0,0,.62)),linear-gradient(180deg,rgba(0,0,0,.35),transparent 14%)}
:is(#up-tour,#up-proto) .ut-pin{width:8px;height:8px;margin:-4px 0 0 -4px;border-radius:50%;background:#8e8e93;color:rgba(254,190,16,.95);
  box-shadow:0 0 0 1.5px rgba(0,0,0,.7),0 0 0 4.5px rgba(255,255,255,.07);transition:background .35s,opacity .35s,box-shadow .35s}
:is(#up-tour,#up-proto) .ut-pin.tb{border-radius:2px}
:is(#up-tour,#up-proto) .ut-pin::before{content:"";position:absolute;left:50%;top:50%;width:24px;height:24px;margin:-12px 0 0 -12px;opacity:0;transition:opacity .4s,transform .5s cubic-bezier(.2,.8,.2,1);transform:scale(.7);
  --b:currentColor;background:
  linear-gradient(var(--b),var(--b)) 0 0/6px 1.5px,linear-gradient(var(--b),var(--b)) 0 0/1.5px 6px,
  linear-gradient(var(--b),var(--b)) 100% 0/6px 1.5px,linear-gradient(var(--b),var(--b)) 100% 0/1.5px 6px,
  linear-gradient(var(--b),var(--b)) 0 100%/6px 1.5px,linear-gradient(var(--b),var(--b)) 0 100%/1.5px 6px,
  linear-gradient(var(--b),var(--b)) 100% 100%/6px 1.5px,linear-gradient(var(--b),var(--b)) 100% 100%/1.5px 6px;background-repeat:no-repeat}
:is(#up-tour,#up-proto) .ut-pin.job::before,:is(#up-tour,#up-proto) .ut-pin.cap::before,:is(#up-tour,#up-proto) .ut-pin.a::before,:is(#up-tour,#up-proto) .ut-pin.w::before,:is(#up-tour,#up-proto) .ut-pin.sel::before{opacity:1;transform:none}
:is(#up-tour,#up-proto) .ut-pin.job{background:var(--g);box-shadow:0 0 0 1.5px rgba(0,0,0,.7),0 0 10px rgba(254,190,16,.55)}
:is(#up-tour,#up-proto) .ut-pin.cap{background:#fff;color:#fff;box-shadow:0 0 0 1.5px rgba(0,0,0,.6),0 0 14px rgba(255,255,255,.75)}
:is(#up-tour,#up-proto) .ut-pin.cap::after{content:"";position:absolute;inset:-9px;border-radius:50%;border:1px solid rgba(255,255,255,.7);animation:mpPulse 1.3s ease-out infinite}
@keyframes mpPulse{from{transform:scale(.5);opacity:1}to{transform:scale(1.6);opacity:0}}
:is(#up-tour,#up-proto) .ut-pin.done,:is(#up-tour,#up-proto) .ut-pin.g{background:#30d158;color:#30d158;box-shadow:0 0 0 1.5px rgba(0,0,0,.7),0 0 8px rgba(48,209,88,.45)}
:is(#up-tour,#up-proto) .ut-pin.a{background:#ff453a;color:#ff453a;box-shadow:0 0 0 1.5px rgba(0,0,0,.6),0 0 0 5px rgba(255,69,58,.16),0 0 14px rgba(255,69,58,.7)}
:is(#up-tour,#up-proto) .ut-pin.w{background:#ffd60a;color:#ffd60a;box-shadow:0 0 0 1.5px rgba(0,0,0,.6),0 0 10px rgba(255,214,10,.55)}
:is(#up-tour,#up-proto) .ut-pin.dim{opacity:.38}
:is(#up-tour,#up-proto) .ut-pin em,:is(#up-tour,#up-proto) .ut-dock em{background:rgba(10,10,12,.72);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.1);border-radius:5px;
  font:500 8.5px var(--mono);letter-spacing:.08em;padding:2px 6px;color:#e5e5ea;left:17px;top:-4px}
:is(#up-tour,#up-proto) .ut-dock em{top:20px}
:is(#up-tour,#up-proto) .ut-ring,:is(#up-tour,#up-proto) .ut-attr{display:none}
/* the route: the tour's own line is the planned route; the layers around it are added by the script below */
:is(#up-tour,#up-proto) .ut-path{stroke:rgba(254,216,115,.55);stroke-width:1.15;filter:none}
:is(#up-tour,#up-proto) .mp-case{fill:none;stroke:rgba(0,0,0,.55);stroke-width:4.2;stroke-linejoin:round;stroke-linecap:round}
:is(#up-tour,#up-proto) .mp-flow{fill:none;stroke:rgba(255,255,255,.75);stroke-width:1.5;stroke-linecap:round;stroke-dasharray:0 11;animation:mpFlow 1.1s linear infinite;transition:opacity .5s}
@keyframes mpFlow{to{stroke-dashoffset:-11}}
:is(#up-tour,#up-proto) .mp-swath{fill:none;stroke:rgba(254,190,16,.1);stroke-width:15;stroke-linejoin:round;stroke-linecap:round}
:is(#up-tour,#up-proto) .mp-done{fill:none;stroke:#FFD873;stroke-width:1.9;stroke-linejoin:round;stroke-linecap:round;filter:drop-shadow(0 0 2.5px rgba(254,190,16,.85))}
:is(#up-tour,#up-proto) .mp-range{fill:url(#mpRangeG);stroke:rgba(254,216,115,.22);stroke-width:.8;stroke-dasharray:1.5 4;transition:opacity .6s}
:is(#up-tour,#up-proto) .mp-cone{fill:url(#mpConeG);transition:opacity .3s}
:is(#up-tour,#up-proto) .ut-dock{width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:5px;background:linear-gradient(180deg,#1c1d21,#0b0b0d);
  box-shadow:0 0 0 1px rgba(254,190,16,.9),0 0 0 5px rgba(254,190,16,.1),0 8px 16px rgba(0,0,0,.6)}
:is(#up-tour,#up-proto) .ut-dock::after{width:7px;height:7px;border-radius:1.5px;background:var(--g);box-shadow:0 0 8px rgba(254,190,16,.8)}
:is(#up-tour,#up-proto) .ut-drone{width:30px;height:30px;margin:-15px 0 0 -15px;filter:drop-shadow(0 6px 10px rgba(0,0,0,.6))}
/* a north arrow, as on any field map */
:is(#up-tour,#up-proto) .mp-n{position:absolute;z-index:4;right:16px;bottom:16px;width:34px;height:34px;border-radius:50%;background:rgba(10,10,12,.6);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);display:grid;place-items:center;font:500 9px var(--mono);color:#d2d2d7;letter-spacing:.04em}
:is(#up-tour,#up-proto) .mp-n::before{content:"";position:absolute;top:4px;left:50%;margin-left:-3px;border:3px solid transparent;border-bottom:5px solid var(--g);border-top:0}
:is(#up-tour,#up-proto) .ut-attr{color:rgba(255,255,255,.4);letter-spacing:.08em}
/* result cards: glass, hairline, gold only where it matters */
:is(#up-tour,#up-proto) .ut-card{background:var(--glass);backdrop-filter:blur(26px) saturate(1.5);-webkit-backdrop-filter:blur(26px) saturate(1.5);border:1px solid rgba(255,255,255,.1);border-radius:14px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 40px 80px rgba(0,0,0,.6);transition:opacity .7s cubic-bezier(.2,.8,.2,1),transform .9s cubic-bezier(.2,.8,.2,1);transform:translateY(22px) scale(.97)}
:is(#up-tour,#up-proto) .ut-card.on{transform:none}
:is(#up-tour,#up-proto) .ut-ov h5,:is(#up-tour,#up-proto) .ut-dl .hd2{color:#8e8e93;font:500 10.5px var(--mono);letter-spacing:.14em}
:is(#up-tour,#up-proto) .ut-ovr{background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:10px}
:is(#up-tour,#up-proto) .ut-ovr .tm{background:rgba(255,255,255,.07);color:#d2d2d7;border-radius:6px}
:is(#up-tour,#up-proto) .ut-ovr em,:is(#up-tour,#up-proto) .ut-arrow{color:var(--g)}:is(#up-tour,#up-proto) .ut-ovr.rdy{border-color:rgba(48,209,88,.3);background:rgba(48,209,88,.06)}:is(#up-tour,#up-proto) .ut-ovr.rdy em{color:#5fe08a}
:is(#up-tour,#up-proto) .ut-ch{border-bottom:1px solid var(--line)}:is(#up-tour,#up-proto) .ut-ch span{color:var(--sub)}
:is(#up-tour,#up-proto) .ut-dl>div{background:rgba(255,255,255,.035);border:1px solid var(--line);border-radius:12px}
:is(#up-tour,#up-proto) .ut-dl .hd2 i{background:var(--g);border-radius:5px}
:is(#up-tour,#up-proto) .ut-dl .hb,:is(#up-tour,#up-proto) .ut-box{border-color:var(--g);box-shadow:0 0 16px rgba(254,190,16,.45)}
:is(#up-tour,#up-proto) .ut-dl .hb b,:is(#up-tour,#up-proto) .ut-box span{background:var(--g)}
:is(#up-tour,#up-proto) .ut-scan{background:linear-gradient(180deg,transparent,rgba(254,190,16,.28),transparent);border-bottom-color:var(--g)}
:is(#up-tour,#up-proto) .ut-hud .rec,:is(#up-tour,#up-proto) .ut-hud .tg,:is(#up-tour,#up-proto) .ut-hud .bt{background:rgba(10,10,12,.55);backdrop-filter:blur(8px);border-radius:6px}
:is(#up-tour,#up-proto) .ut-live img,:is(#up-tour,#up-proto) .ut-ai img,:is(#up-tour,#up-proto) .ut-dl .im img{filter:saturate(.85) contrast(1.05)}
:is(#up-tour,#up-proto) .ut-toast{background:rgba(250,250,252,.96);border-radius:12px}

/* spotlight: everything but the working part dims a little; the lit part keeps a soft gold edge */
.tf-spot{position:absolute;z-index:5;pointer-events:none;border-radius:16px;box-shadow:0 0 0 9999px rgba(0,0,0,calc(var(--dim,0) * 1.15)),0 0 0 1px rgba(254,216,115,calc(var(--dim,0) * .7)),0 0 40px rgba(254,190,16,calc(var(--dim,0) * .22))}
/* one in-app card over the open map: the step's words and the same moment in the field */
.tf-card{position:absolute;z-index:6;left:28px;bottom:30px;width:min(540px,calc(100vw - 56px));transition:transform 1.1s cubic-bezier(.2,.8,.2,1);transform:translateX(var(--cx,0px));display:flex;gap:16px;align-items:stretch;padding:14px;border-radius:16px;
  background:rgba(14,15,18,.66);backdrop-filter:blur(28px) saturate(1.6);-webkit-backdrop-filter:blur(28px) saturate(1.6);box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 0 0 1px rgba(255,255,255,.08),0 40px 80px rgba(0,0,0,.6)}
.tf-br{position:relative;flex:none;width:178px;border-radius:10px;overflow:hidden;background:#111}
.tf-br .c{position:absolute;inset:0;opacity:0;transition:opacity .6s}.tf-br .c.on{opacity:1}
.tf-br video,.tf-br img{width:100%;height:100%;object-fit:cover;display:block}
.tf-br .kb img{animation:kb 9s ease-in-out infinite alternate}@keyframes kb{to{transform:scale(1.12) translate(-2%,-2%)}}
.tf-br .ba img{position:absolute;inset:0}.tf-br .ba img+img{animation:ba 4s ease-in-out infinite alternate}@keyframes ba{0%,30%{opacity:0}70%,100%{opacity:1}}
.tf-cpt{position:relative;flex:1;min-height:118px}
.tf-cpt .s{position:absolute;inset:0;opacity:0;transform:translateY(8px);transition:opacity .45s,transform .45s}
.tf-cpt .s.on{opacity:1;transform:none}
.tf-cpt small{display:block;font:500 11px var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
.tf-cpt h3{margin:6px 0 0;font-size:19px;font-weight:600;letter-spacing:-.015em;line-height:1.2}
.tf-cpt p{margin:6px 0 0;font-size:13.5px;line-height:1.45;color:#a1a1a6}
/* scroll progress along the bottom edge, one segment per step */
.tf-prog{position:absolute;z-index:6;left:0;right:0;bottom:0;height:3px;display:grid;grid-template-columns:repeat(5,1fr);gap:4px}
.tf-prog i{background:rgba(255,255,255,.08)}.tf-prog i b{display:block;height:100%;width:0;background:var(--gold);box-shadow:0 0 8px rgba(254,190,16,.7)}
@media (max-width:860px){.tf-card{left:12px;right:12px;width:auto;bottom:14px;transform:translateY(var(--cyy,0px))}.tf-br{display:none}.tf-cpt{min-height:112px}}
/* scroll-driven: the script sets every moving value each frame, so no transition may lag behind it */
#up-tour .ut-v,#up-tour .ut-card,#up-tour .ut-cam,#up-tour .ut-chk,#up-tour .ut-sys,#up-tour .ut-dl>div,#up-tour .ut-ovr,#up-tour .mp-flow,#up-tour .mp-range,#up-tour .mp-cone,#up-tour .ut-drone,#up-tour .ut-box{transition:none!important}
#up-tour .ut-scan{animation:none!important}
.tf-card,.tf-cpt .s,.tf-br .c{transition:none!important}
/* performance: the camera scales the dashboard every frame, so nothing inside it may use live blur or huge shadows */
:is(#up-tour,#up-proto) .ut-card,:is(#up-tour,#up-proto) .ut-tb,:is(#up-tour,#up-proto) .ut-pin em,:is(#up-tour,#up-proto) .ut-dock em,:is(#up-tour,#up-proto) .ut-hud .rec,:is(#up-tour,#up-proto) .ut-hud .tg,:is(#up-tour,#up-proto) .ut-hud .bt,:is(#up-tour,#up-proto) .mp-n{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
:is(#up-tour,#up-proto) .ut-card{background:rgba(17,18,21,.97);box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 24px 48px rgba(0,0,0,.55)}
:is(#up-tour,#up-proto) .ut-tb{background:#0a0a0c}
:is(#up-tour,#up-proto) .ut-pin em,:is(#up-tour,#up-proto) .ut-dock em{background:rgba(10,10,12,.88)}
.tf-card{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:rgba(15,16,19,.95)}
/* the dim around the lit part: one flat layer with a hole, instead of a 9999px shadow repainted every frame */
.tf-spot{box-shadow:0 0 0 1px rgba(254,216,115,calc(var(--dim,0) * .7))!important}
.tf-dim{position:absolute;inset:0;z-index:5;pointer-events:none;background:#000;opacity:0}
.tf-cam{will-change:transform}
/* the caption shrinks to its title while a large part of the dashboard is lit, so it never covers it */
.tf-card{gap:calc(16px * (1 - var(--cmp,0)))}
.tf-cpt{min-height:calc(118px - 74px * var(--cmp,0))}
.tf-cpt p{max-height:calc(96px * (1 - var(--cmp,0)));overflow:hidden;opacity:calc(1 - var(--cmp,0) * 1.6)}
.tf-br{width:calc(178px * (1 - var(--cmp,0)));opacity:calc(1 - var(--cmp,0) * 1.4)}
@media (min-width:861px){.tf-card{width:calc(min(540px,100vw - 56px) - 170px * var(--cmp,0))}}
@media (max-width:860px){.tf-cpt{min-height:calc(112px - 68px * var(--cmp,0))}}
/* ===== depth (concept, 16 Nov 2026, owner's reference: big rounded sheets floating in layers, soft deep shadows).
   Dark version of the homepage card shadow: a fine top highlight, a hairline edge, a close contact shadow and a long
   soft fall-off. Approved by the owner, 16 Nov 2026. ===== */
:is(#up-tour,#up-proto) .ut-card{border:0;border-radius:22px;background:linear-gradient(180deg,#232428 0%,#18191c 60%,#151619 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 0 0 1px rgba(255,255,255,.055),0 2px 6px rgba(0,0,0,.45),0 26px 50px -14px rgba(0,0,0,.78),0 70px 120px -50px rgba(0,0,0,.85)}
:is(#up-tour,#up-proto) .ut-card .ut-ch{border-bottom-color:rgba(255,255,255,.05);padding:14px 18px}
:is(#up-tour,#up-proto) .ut-ov{padding:20px}
:is(#up-tour,#up-proto) .ut-ovr,:is(#up-tour,#up-proto) .ut-dl>div{border:0;border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 1px 2px rgba(0,0,0,.35)}
:is(#up-tour,#up-proto) .ut-ovr.rdy{background:linear-gradient(180deg,rgba(48,209,88,.12),rgba(48,209,88,.04));box-shadow:inset 0 1px 0 rgba(120,255,160,.12),inset 0 0 0 1px rgba(48,209,88,.22)}
:is(#up-tour,#up-proto) .ut-ovr .tm,:is(#up-tour,#up-proto) .ut-sys .x{border-radius:8px;background:rgba(255,255,255,.07);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
:is(#up-tour,#up-proto) .ut-live,:is(#up-tour,#up-proto) .ut-ai,:is(#up-tour,#up-proto) .ut-ba{margin:0 10px 10px;border-radius:14px;overflow:hidden}
:is(#up-tour,#up-proto) .ut-dl .im{border-radius:10px;overflow:hidden}
/* side panel rows: soft raised tiles instead of outlined boxes */
:is(#up-tour,#up-proto) .ut-opt,:is(#up-tour,#up-proto) .ut-in,:is(#up-tour,#up-proto) .ut-chk,:is(#up-tour,#up-proto) .ut-tele div,:is(#up-tour,#up-proto) .ut-kpi div,:is(#up-tour,#up-proto) .ut-sys{border:0;border-radius:12px;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.022));box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 1px 2px rgba(0,0,0,.4)}
:is(#up-tour,#up-proto) .ut-opt{background:linear-gradient(180deg,rgba(254,190,16,.11),rgba(254,190,16,.03));box-shadow:inset 0 1px 0 rgba(255,224,140,.14),inset 0 0 0 1px rgba(254,190,16,.22),0 1px 2px rgba(0,0,0,.4)}
:is(#up-tour,#up-proto) .ut-btn{border-radius:12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 10px 24px -8px rgba(254,190,16,.45),0 2px 4px rgba(0,0,0,.3)}
:is(#up-tour,#up-proto) .ut-chip,:is(#up-tour,#up-proto) .ut-pill{box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
/* the caption: the same floating sheet */
.tf-card{border-radius:24px;background:linear-gradient(180deg,#232428,#17181b)!important;padding:12px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 0 0 1px rgba(255,255,255,.06),0 2px 6px rgba(0,0,0,.5),0 30px 60px -18px rgba(0,0,0,.85)}
.tf-br{border-radius:16px}
.tf-spot{border-radius:26px}

/* ===== tour on demand (17 Nov 2026, owner): the tour is a full-screen overlay opened by "Start tour"; it plays on its own
   with Back / Next / Pause, and ends with "Restart tour" or "End tour". ===== */
#tf-ts.tf-overlay{position:fixed;inset:0;height:100vh;z-index:300;visibility:hidden;opacity:0;transition:opacity .45s ease,visibility 0s linear .45s}
#tf-ts.tf-overlay.on{visibility:visible;opacity:1;transition:opacity .45s ease}
.tf-overlay .tf-stage{position:absolute;inset:0;height:auto}
.tf-overlay .tf-win{top:64px}
.tf-on #nav,.tf-on .nav{opacity:0!important;pointer-events:none!important}
.tf-bar{position:absolute;z-index:8;left:0;right:0;top:0;height:64px;display:flex;align-items:center;gap:10px;padding:0 max(20px,calc((100vw - 1320px) / 2));background:#000;border-bottom:1px solid rgba(255,255,255,.07)}
.tf-bar button{height:38px;padding:0 16px;border-radius:10px;border:0;cursor:pointer;font:500 14px var(--body,Geist,system-ui);color:#f5f5f7;background:rgba(255,255,255,.07);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),inset 0 0 0 1px rgba(255,255,255,.06);transition:background .2s}
.tf-bar button:hover{background:rgba(255,255,255,.12)}
.tf-bar .tf-ar{width:38px;padding:0;font-size:18px;line-height:1}
.tf-bar .tf-step{margin-left:8px;font:500 11.5px var(--mono,"Geist Mono",monospace);letter-spacing:.14em;text-transform:uppercase;color:#d9b65a}
.tf-bar .tf-sp{flex:1}
.tf-end{position:absolute;z-index:9;inset:0;display:grid;place-items:center;background:rgba(0,0,0,.72);opacity:0;visibility:hidden;transition:opacity .4s,visibility 0s linear .4s}
.tf-end.on{opacity:1;visibility:visible;transition:opacity .4s}
.tf-end>div{text-align:center}
.tf-end small{display:block;font:500 11.5px var(--mono,"Geist Mono",monospace);letter-spacing:.16em;text-transform:uppercase;color:#d9b65a}
.tf-end .tf-eb{margin-top:22px;display:flex;gap:12px;justify-content:center}
.tf-end button{height:50px;padding:0 24px;border-radius:12px;border:0;cursor:pointer;font:500 16px var(--body,Geist,system-ui)}
.tf-end .tf-again{background:rgba(255,255,255,.08);color:#f5f5f7;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.tf-end .tf-done{background:#f5f5f7;color:#111}
@media (max-width:700px){.tf-bar{gap:6px;padding:0 12px}.tf-bar .tf-step{display:none}.tf-bar button{padding:0 12px}}
/* tour: scroll for the next step (17 Nov 2026, owner) */
.tf-hint{position:absolute;z-index:8;left:50%;bottom:22px;transform:translate(-50%,8px);display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 14px;border:0;border-radius:12px;cursor:pointer;
  background:rgba(12,12,14,.6);color:#f5f5f7;font:500 12.5px var(--body,Geist,system-ui);opacity:0;pointer-events:none;transition:opacity .4s ease,transform .4s ease}
.tf-hint.on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.tf-hint svg{width:16px;height:16px;animation:tfnudge 1.6s ease-in-out infinite}
@keyframes tfnudge{0%,100%{transform:translateY(-2px)}50%{transform:translateY(3px)}}
@media (max-width:1199px){.tf-hint{bottom:auto;top:76px}}
@media (prefers-reduced-motion:reduce){.tf-hint svg{animation:none}}
