/* OnWay how-to player */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{font-family:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background:#0b1424;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit;border:0;background:none;color:inherit;cursor:pointer}
svg.i{width:1em;height:1em;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mono{font-family:"IBM Plex Mono",ui-monospace,monospace}

/* ---------- player chrome ---------- */
.hx-player{color:#e6edf6;background:#0b1424;flex-direction:column;display:flex;position:fixed;inset:0}
.hx-top{flex:none;align-items:center;gap:14px;height:60px;padding:0 16px;display:flex}
.hx-back{color:#0e1a2b;background:#fff;border-radius:999px;align-items:center;gap:6px;height:38px;padding:0 16px 0 12px;font-size:14px;font-weight:600;display:inline-flex}
.hx-back:hover{background:#fff1ea}
.hx-top-title{color:#afc0d6;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:14px;overflow:hidden}
.hx-top-title b{color:#fff;font-weight:600}
.hx-viewport{flex:1;min-height:0;position:relative;overflow:hidden}
.hx-stage{transform-origin:0 0;color:#0e1a2b;cursor:pointer;background:radial-gradient(60% 70% at 92% 8%,#ffe4d6 0%,#ffe4d600 70%),radial-gradient(50% 60% at 0 100%,#fff3ec 0%,#fff3ec00 70%),#fdfcfb;border-radius:20px;width:1280px;height:720px;position:absolute;top:0;left:0;overflow:hidden;box-shadow:0 30px 80px #00000073}
.hx-player.no-chrome{background:#fdfcfb}
.hx-player.no-chrome .hx-top,.hx-player.no-chrome .hx-controls,.hx-player.no-chrome .hx-rotate{display:none}
.hx-player.no-chrome .hx-stage{box-shadow:none;border-radius:0}
.hx-paused,.hx-paused *{animation-play-state:paused!important}
.hx-controls{color:#afc0d6;flex:none;align-items:center;gap:10px;height:64px;padding:0 16px;display:flex}
.hx-ctl{color:#fff;border-radius:10px;place-items:center;width:36px;height:36px;font-size:15px;display:grid}
.hx-ctl:hover{background:#ffffff14}
.hx-ctl.play{background:#ea580c;width:44px;height:44px}
.hx-ctl.play:hover{background:#c2410c}
.hx-chapters{flex:1;gap:4px;min-width:0;margin:0 10px;display:flex}
.hx-chapter{cursor:pointer;flex:1;min-width:0;padding:6px 0}
.hx-chapter .bar{background:#ffffff29;border-radius:2px;height:4px;overflow:hidden}
.hx-chapter .fill{background:#fb923c;width:0;height:100%}
.hx-chapter .lbl{white-space:nowrap;text-overflow:ellipsis;margin-top:6px;font-size:11.5px;overflow:hidden}
.hx-chapter.current .lbl{color:#fff}
.hx-time{font-family:"IBM Plex Mono",monospace;white-space:nowrap;font-size:13px}
.hx-rotate{display:none}
@media (max-width:640px){.hx-chapter .lbl,.hx-top-title{display:none}}
@media (max-width:640px) and (orientation:portrait){.hx-rotate{color:#afc0d6;text-align:center;padding:0 16px 10px;font-size:13px;display:block}}

/* ---------- scene engine ---------- */
.scene{opacity:0;visibility:hidden;transition:opacity .45s,visibility 0s linear .45s;position:absolute;inset:0}
.scene.active{opacity:1;visibility:visible;transition:opacity .45s}
.scene :where([data-at]:not([data-click],[data-toggle],[data-type],[data-count],[data-move])){opacity:0;transition:opacity .4s,translate .4s,scale .4s;translate:0 10px}
.scene :where(.pop[data-at]:not(.in)){scale:.96}
.scene .in{opacity:1;translate:0;scale:1}
.scene .out{pointer-events:none;opacity:0!important}
.scene .late:not(.in){display:none}
.scene .late.in{animation:.4s hx-rise}
.scene .shut.out{display:none}
.scene .clicked{animation:.45s hx-press}
.scene .typing:after{content:"";vertical-align:-2px;background:currentColor;width:1.5px;height:1.05em;margin-left:1px;animation:.9s step-end infinite hx-blink;display:inline-block}
.scene [data-move]{display:none}
@keyframes hx-rise{0%{opacity:0;translate:0 8px}to{opacity:1;translate:0}}
@keyframes hx-press{0%{scale:1;box-shadow:0 0 #ea580c73}35%{scale:.93}to{scale:1;box-shadow:0 0 0 14px #ea580c00}}
@keyframes hx-blink{50%{opacity:0}}
@keyframes hx-pulse{0%,to{box-shadow:0 0 #ea580c59}50%{box-shadow:0 0 0 10px #ea580c00}}
@keyframes hx-spin{to{rotate:360deg}}

.hx-title{letter-spacing:-.02em;align-items:center;gap:16px;font-size:36px;font-weight:700;display:flex;position:absolute;top:36px;left:90px}
.hx-title span{color:#fff;min-width:52px;height:40px;font-family:"IBM Plex Mono",monospace;background:#ea580c;border-radius:10px;place-items:center;padding:0 10px;font-size:22px;font-weight:600;display:inline-grid}
.hx-caption{z-index:25;color:#fff;text-align:center;background:#0e1a2bf0;border-radius:14px;padding:14px 26px;font-size:19px;line-height:1.4;position:absolute;bottom:20px;left:430px;right:70px;box-shadow:0 12px 30px #0e1a2b40}
.wide .hx-caption{left:200px;right:200px}
.hx-caption b{color:#fdba74;font-weight:600}
.hx-cursor{z-index:30;opacity:0;pointer-events:none;filter:drop-shadow(0 3px 4px #0000004d);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 10-7 1.5L9.5 21z' fill='%230e1a2b' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 50%/contain no-repeat;width:28px;height:28px;transition:left .9s cubic-bezier(.65,0,.35,1),top .9s cubic-bezier(.65,0,.35,1),opacity .25s;position:absolute;top:680px;left:1200px}
.hx-cursor.in{opacity:1}
.hx-note{color:#c2410c;background:#fff;border:1.5px dashed #fdba74;border-radius:999px;padding:10px 18px;font-size:16px;position:absolute;z-index:20}
.hx-section{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex;position:absolute;inset:0}
.hx-section .kicker{letter-spacing:.12em;text-transform:uppercase;color:#ea580c;font-size:15px;font-weight:600}
.hx-section h2{letter-spacing:-.025em;font-size:54px;font-weight:700}
.hx-section p{color:#475569;max-width:780px;font-size:21px}
.hx-section .tags{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:10px;display:flex;max-width:900px}
.hx-section .tags span{color:#c2410c;background:#fff1ea;border-radius:999px;padding:8px 16px;font-size:16px;font-weight:600}
.hx-outro{flex-direction:column;justify-content:center;align-items:center;gap:22px;display:flex;position:absolute;inset:0}
.hx-outro h2{letter-spacing:-.02em;font-size:46px;font-weight:700}
.hx-outro p{color:#475569;font-size:18px}
.hx-recap{grid-template-columns:repeat(2,420px);gap:12px 28px;display:grid;list-style:none}
.hx-recap li{align-items:center;gap:12px;font-size:19px;display:flex}
.hx-recap li i{color:#fff;background:#ea580c;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-size:13px;font-style:normal;font-weight:600;display:grid}
.hx-cta{gap:12px;margin-top:12px;display:flex}
.hx-cta a{border-radius:12px;align-items:center;gap:8px;height:48px;padding:0 24px;font-size:17px;font-weight:600;display:inline-flex}
.hx-cta .pri{background:#ea580c;color:#fff}
.hx-cta .sec{background:#fff;color:#0e1a2b;border:1px solid #e2e8f0}

/* ---------- side feature panel ---------- */
.side{position:absolute;top:120px;left:440px;width:760px}
.side.two{left:650px;width:560px}
.side h4{font-size:15px;letter-spacing:.1em;text-transform:uppercase;color:#ea580c;margin-bottom:14px}
.pts{display:flex;flex-direction:column;gap:12px}
.pt{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid #eee3dc;border-radius:14px;padding:13px 16px;box-shadow:0 8px 24px -14px #0e1a2b40}
.pt .ic{width:34px;height:34px;border-radius:10px;background:#fff1ea;color:#ea580c;display:grid;place-items:center;font-size:18px;flex:none}
.pt .ic.ai{background:#eef2ff;color:#6366f1}
.pt .ic.ok{background:#ecfdf5;color:#059669}
.pt .ic.dk{background:#0f172a;color:#fb923c}
.pt b{display:block;font-size:17px;font-weight:600;margin-bottom:2px}
.pt p{font-size:14.5px;color:#55657a;line-height:1.4}
.pt code,.code{font-family:"IBM Plex Mono",monospace;font-size:.88em;background:#f1f5f9;border-radius:5px;padding:1px 6px;color:#334155}
.tagn{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:2px 8px;border-radius:6px;background:#0f172a;color:#fdba74;margin-left:8px;vertical-align:2px}

/* ---------- phone mock ---------- */
.phw{position:absolute;top:100px;left:110px;width:288px;height:592px}
.ph{width:360px;height:740px;transform:scale(.8);transform-origin:0 0;border-radius:48px;background:#0b1220;padding:9px;box-shadow:0 30px 60px -20px #0e1a2b80,inset 0 0 0 2px #1e293b}
.scr{--bg:#f8fafc;--card:#fff;--tx:#0b1c30;--mut:#64748b;--line:#e2e8f0;--soft:#eff4ff;width:100%;height:100%;border-radius:40px;overflow:hidden;background:var(--bg);color:var(--tx);position:relative;display:flex;flex-direction:column;font-size:13px;line-height:1.35;transition:background .5s,color .5s}
.scr.on{--bg:#0f172a;--card:#1e293b;--tx:#f8fafc;--mut:#94a3b8;--line:#334155;--soft:#334155}
.scr.dark{--bg:#0f172a;--card:#1e293b;--tx:#f8fafc;--mut:#94a3b8;--line:#334155;--soft:#334155}
.pbar{flex:none;height:54px;padding:14px 14px 0;background:#0f172a;color:#fff;display:flex;align-items:center;gap:8px}
.logo{width:26px;height:26px;border-radius:8px;background:linear-gradient(135deg,#ff5722,#ff6d3b);display:grid;place-items:center;color:#fff;font-size:14px}
.pbar .nm{font-weight:700;font-size:14px;margin-right:auto}
.chip{height:22px;padding:0 8px;border-radius:999px;background:#1e293b;color:#cbd5e1;font-size:10.5px;font-weight:600;display:inline-flex;align-items:center;gap:4px}
.chip.c{background:#ff5722;color:#fff}.chip.d{background:#10b981;color:#fff}.chip.x{background:#6366f1;color:#fff}
.pbody{flex:1;min-height:0;position:relative;overflow:hidden;padding:12px 14px}
.pnav{flex:none;height:62px;border-top:1px solid var(--line);background:var(--card);display:flex;justify-content:space-around;align-items:center;padding-bottom:6px}
.pnav div{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10.5px;color:var(--mut)}
.pnav svg{font-size:19px}
.pnav .on{color:#ff5722;font-weight:600}
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:12px}
.row{display:flex;align-items:center;gap:8px}
.col{display:flex;flex-direction:column;gap:8px}
.sb{justify-content:space-between}
.mut{color:var(--mut)}
.sm{font-size:11px}.xs{font-size:10px}
.bd{font-weight:700}.h1{font-size:20px;font-weight:700;letter-spacing:-.01em}.h2{font-size:16px;font-weight:700}
.or{color:#ff5722}.gr{color:#10b981}.rd{color:#ef4444}.am{color:#f59e0b}.vi{color:#6366f1}
.btn{height:42px;border-radius:12px;background:#ff5722;color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px}
.btn.dk{background:#0f172a}.btn.gn{background:#10b981}.btn.vi{background:#6366f1}.btn.ln{background:var(--card);color:var(--tx);border:1px solid var(--line)}
.btn.sm{height:30px;font-size:11.5px;border-radius:9px;padding:0 10px}
.pill{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 9px;border-radius:999px;font-size:10.5px;font-weight:700;background:var(--soft);color:var(--tx)}
.pill.or{background:#fff1ea;color:#ea580c}.pill.gr{background:#ecfdf5;color:#059669}.pill.rd{background:#fef2f2;color:#dc2626}.pill.vi{background:#eef2ff;color:#4f46e5}.pill.am{background:#fffbeb;color:#b45309}.pill.dk{background:#0f172a;color:#fff}
.seg{display:flex;gap:6px;flex-wrap:wrap}
.seg>div{height:30px;padding:0 11px;border-radius:9px;border:1px solid var(--line);background:var(--card);display:flex;align-items:center;font-size:11.5px;font-weight:600;transition:all .3s}
.seg>div.sel,.seg>div.on{background:#ff5722;color:#fff;border-color:#ff5722}
.inp{height:40px;border-radius:12px;background:var(--soft);display:flex;align-items:center;gap:8px;padding:0 12px;color:var(--mut);font-size:12.5px}
.inp .v{color:var(--tx)}
.hr{height:1px;background:var(--line);margin:8px 0}
.food{border-radius:12px;display:grid;place-items:center;color:#fff;font-weight:700;font-size:11px;text-align:center;flex:none;position:relative;overflow:hidden}
.f1{background:linear-gradient(135deg,#7c2d12,#c2410c 55%,#f59e0b)}
.f2{background:linear-gradient(135deg,#14532d,#16a34a 60%,#bef264)}
.f3{background:linear-gradient(135deg,#78350f,#b45309 50%,#fde68a)}
.f4{background:linear-gradient(135deg,#831843,#db2777 55%,#fbcfe8)}
.f5{background:linear-gradient(135deg,#1e3a8a,#2563eb 60%,#93c5fd)}
.f6{background:linear-gradient(135deg,#450a0a,#b91c1c 55%,#fca5a5)}
.f7{background:linear-gradient(135deg,#312e81,#6366f1 60%,#c7d2fe)}
.food:after{content:"";position:absolute;inset:0;background:radial-gradient(40% 40% at 30% 30%,#ffffff40,#fff0)}
.sheet{position:absolute;left:0;right:0;bottom:0;background:var(--card);border-radius:24px 24px 0 0;box-shadow:0 -14px 40px -10px #0f172a66;padding:10px 16px 16px;z-index:8}
.sheet:before{content:"";display:block;width:40px;height:4px;border-radius:2px;background:var(--line);margin:0 auto 10px}
.scene .sheet[data-at]:not(.in){translate:0 70%}
.dim{position:absolute;inset:0;background:#0f172a73;z-index:7}
.push{position:absolute;left:10px;right:10px;top:8px;z-index:12;background:#ffffffee;color:#0b1c30;border-radius:18px;padding:10px 12px;display:flex;gap:10px;align-items:center;box-shadow:0 12px 30px -8px #0f172a66;backdrop-filter:blur(8px)}
.scene .push[data-at]:not(.in){translate:0 -120%}
.push .logo{width:30px;height:30px}
.push b{font-size:12px;display:block}.push span{font-size:11.5px;color:#475569}
.toast{position:absolute;left:14px;right:14px;bottom:76px;z-index:12;background:#0f172a;color:#fff;border-radius:12px;padding:10px 12px;font-size:12px;display:flex;gap:8px;align-items:center}
.stars{display:flex;gap:4px;color:#cbd5e1;font-size:24px}
.stars .on{color:#f59e0b}.stars svg{fill:currentColor;stroke:none}
.chk{width:20px;height:20px;border-radius:6px;border:2px solid var(--line);display:grid;place-items:center;color:transparent;flex:none;transition:all .3s;font-size:13px}
.chk.on{background:#10b981;border-color:#10b981;color:#fff}
.tog{width:44px;height:26px;border-radius:999px;background:#cbd5e1;position:relative;transition:background .3s;flex:none}
.tog:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:left .3s}
.tog.on{background:#10b981}.tog.on:after{left:21px}
.bub{max-width:82%;padding:9px 12px;border-radius:16px;font-size:12.5px;line-height:1.4}
.bub.me{background:#ff5722;color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.bub.ai{background:var(--card);border:1px solid var(--line);align-self:flex-start;border-bottom-left-radius:4px}
.bub.ot{background:var(--soft);align-self:flex-start;border-bottom-left-radius:4px}
.tool{display:inline-flex;align-items:center;gap:5px;font-family:"IBM Plex Mono",monospace;font-size:10.5px;background:#eef2ff;color:#4f46e5;border-radius:7px;padding:3px 8px;align-self:flex-start}
.tool svg{color:#10b981}
.ava{width:32px;height:32px;border-radius:50%;background:#0f172a;color:#fff;display:grid;place-items:center;font-weight:700;font-size:12px;flex:none}
.ring{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:16px;color:#ea580c;background:conic-gradient(#ff5722 var(--p,100%),#fde4d8 0);position:relative}
.ring:before{content:"";position:absolute;inset:5px;border-radius:50%;background:var(--card)}
.ring span{position:relative}
.wave{display:flex;gap:3px;align-items:center;height:28px}
.wave i{width:4px;border-radius:2px;background:#fff;animation:wv .9s ease-in-out infinite}
.wave i:nth-child(2n){animation-delay:.15s}.wave i:nth-child(3n){animation-delay:.3s}.wave i:nth-child(5n){animation-delay:.45s}
@keyframes wv{0%,to{height:6px}50%{height:26px}}
.mic{width:64px;height:64px;border-radius:50%;background:#6366f1;color:#fff;display:grid;place-items:center;font-size:26px;animation:mpulse 1.4s infinite}
@keyframes mpulse{0%,to{box-shadow:0 0 #6366f166}50%{box-shadow:0 0 0 16px #6366f100}}

/* ---------- map ---------- */
.map{position:relative;overflow:hidden;background:#e8edf1}
.map>svg.base{position:absolute;inset:0;width:100%;height:100%}
.map svg.rt{position:absolute;inset:0;width:100%;height:100%;z-index:2}
.mk{position:absolute;transform:translate(-50%,-50%);z-index:4}
.mk.pin{width:26px;height:26px;border-radius:50% 50% 50% 0;rotate:-45deg;transform:translate(-50%,-90%);display:grid;place-items:center;box-shadow:0 4px 10px #0003}
.mk.pin svg{rotate:45deg;color:#fff;font-size:13px}
.mk.st{background:#0f172a}.mk.dp{background:#10b981}
.car{width:30px;height:30px;border-radius:50%;background:#ff5722;color:#fff;display:grid;place-items:center;font-size:15px;border:3px solid #fff;box-shadow:0 4px 12px #ff572288}
.car.gn{background:#10b981;box-shadow:0 4px 12px #10b98188}.car.gy{background:#94a3b8;box-shadow:none}
.car.s{width:24px;height:24px;font-size:12px;border-width:2px}
.halo{position:absolute;width:120px;height:120px;border-radius:50%;border:2px dashed #ff5722;background:#ff57221a;transform:translate(-50%,-50%);z-index:3}
.pulse{position:absolute;inset:-14px;border-radius:50%;background:#ff572255;animation:pg 1.8s infinite ease-out;z-index:-1}
@keyframes pg{0%{transform:scale(.4);opacity:1}to{transform:scale(1.6);opacity:0}}
.mlabel{position:absolute;z-index:5;background:#fff;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:600;box-shadow:0 4px 12px #0f172a22;white-space:nowrap;color:#0b1c30}

/* route r1: store(22,24) -> (22,46) -> (56,46) -> (56,70) -> drop(80,70) */
.drv1{left:22%;top:24%}
.drv1.in{animation:r1 9s linear forwards}
@keyframes r1{0%{left:22%;top:24%}20%{left:22%;top:46%}55%{left:56%;top:46%}78%{left:56%;top:70%}100%{left:72%;top:70%}}
.drv2{left:56%;top:62%}
.drv2.in{animation:r2 6s ease-out forwards}
@keyframes r2{0%{left:56%;top:62%}50%{left:56%;top:70%}100%{left:74%;top:70%}}
.drv3{left:22%;top:30%}
.drv3.in{animation:r3 7s linear forwards}
@keyframes r3{0%{left:22%;top:30%}35%{left:22%;top:46%}100%{left:50%;top:46%}}
.route-draw{stroke-dasharray:300;stroke-dashoffset:300}
.route-draw.in{animation:draw 1.6s ease forwards}
@keyframes draw{to{stroke-dashoffset:0}}
/* dispatcher wandering fleet */
.fl{animation:var(--a) var(--d,14s) ease-in-out infinite alternate}
@keyframes w1{to{translate:60px 30px}}@keyframes w2{to{translate:-50px 40px}}@keyframes w3{to{translate:40px -50px}}@keyframes w4{to{translate:-70px -20px}}@keyframes w5{to{translate:30px 60px}}@keyframes w6{to{translate:-30px -40px}}

/* ---------- browser mock ---------- */
.hx-browser{background:#f3f5f8;border:1px solid #dde3ea;border-radius:14px;width:1100px;height:524px;position:absolute;top:106px;left:90px;overflow:hidden;box-shadow:0 24px 60px -20px #0e1a2b4d}
.hx-bar{background:#fff;border-bottom:1px solid #dde3ea;align-items:center;gap:6px;height:30px;padding:0 12px;display:flex}
.hx-bar i{background:#dde3ea;border-radius:50%;width:10px;height:10px}
.hx-url{color:#5a6b80;background:#f1f4f8;border-radius:6px;flex:1;max-width:420px;height:20px;margin-left:14px;padding:0 10px;font-size:11px;line-height:20px}
.hx-page{height:calc(100% - 30px);position:relative;font-size:12px;color:#0b1c30;overflow:hidden}
.dtop{height:40px;background:#0f172a;color:#fff;display:flex;align-items:center;gap:8px;padding:0 14px}
.dtop .nm{font-weight:700;margin-right:auto}
.met{display:grid;grid-template-columns:repeat(4,1fr) 140px;gap:10px;padding:10px 14px}
.met .card{border-radius:12px;padding:8px 12px;border:1px solid #e2e8f0;background:#fff}
.met .k{font-size:10.5px;color:#64748b}.met .v{font-size:20px;font-weight:700}.met .s{font-size:10px;font-weight:600}
.dgrid{display:grid;grid-template-columns:1fr 330px;gap:12px;padding:0 14px;height:calc(100% - 40px - 74px - 10px)}
.dmap{border-radius:14px;border:1px solid #e2e8f0}
.olist{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:10px;display:flex;flex-direction:column;gap:7px;overflow:hidden;position:relative}
.oc{border-radius:10px;padding:7px 10px;border:1px solid #e2e8f0;background:#f8fafc;position:relative}
.oc .t{font-weight:700;font-size:11.5px}.oc .m{font-size:10px;color:#64748b}.oc .s{font-size:10px;font-weight:700;margin-top:2px}
.oc.late{border-color:#fecaca;background:#fef2f2}.oc.wait{border-color:#fde68a;background:#fffbeb}.oc.flag{border-color:#fecdd3;background:#fff1f2}.oc.ok{border-color:#bbf7d0;background:#f0fdf4}
.fseg{display:flex;gap:6px}
.fseg>div{height:26px;padding:0 10px;border-radius:8px;border:1px solid #0f172a33;display:flex;align-items:center;font-size:11px;font-weight:600;transition:all .3s;background:#fff}
.fseg>div.sel{background:#ff5722;border-color:#ff5722;color:#fff}
.fseg>div.on{background:#ff5722;border-color:#ff5722;color:#fff}
.menu{position:absolute;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 18px 40px -12px #0f172a55;padding:6px;z-index:10;width:210px}
.menu div{padding:7px 10px;border-radius:8px;font-size:11.5px;display:flex;gap:8px;align-items:center}
.menu div.on{background:#fff1ea;color:#c2410c}
.modal{position:absolute;background:#fff;border-radius:16px;box-shadow:0 30px 70px -14px #0f172a80;z-index:12;padding:14px 16px;border:1px solid #e2e8f0}
.tbl{width:100%;border-collapse:collapse;font-size:11.5px}
.tbl td,.tbl th{padding:6px 8px;border-bottom:1px solid #eef2f6;text-align:left}
.tbl th{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#64748b}

/* ---------- diagrams ---------- */
.sm-flow{position:absolute;left:90px;top:120px;width:1100px;display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.st-n{background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;padding:10px 12px;font-family:"IBM Plex Mono",monospace;font-size:13px;font-weight:600;white-space:nowrap;transition:all .35s}
.st-n.on{background:#ea580c;border-color:#ea580c;color:#fff;box-shadow:0 10px 24px -10px #ea580c}
.st-a{color:#94a3b8;font-size:18px}
.grid3{position:absolute;left:90px;top:112px;width:1100px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.gc{background:#fff;border:1px solid #eee3dc;border-radius:16px;padding:16px 18px;box-shadow:0 10px 30px -18px #0e1a2b55}
.gc .ic{width:38px;height:38px;border-radius:11px;background:#fff1ea;color:#ea580c;display:grid;place-items:center;font-size:20px;margin-bottom:10px}
.gc b{display:block;font-size:18px;margin-bottom:4px}
.gc p{font-size:14.5px;color:#55657a;line-height:1.45}
.wtbl{position:absolute;left:90px;top:112px;width:1100px;background:#fff;border:1px solid #eee3dc;border-radius:16px;overflow:hidden;box-shadow:0 10px 30px -18px #0e1a2b55}
.wtbl table{width:100%;border-collapse:collapse;font-size:17px}
.wtbl th,.wtbl td{text-align:left;padding:12px 20px;border-bottom:1px solid #f1ebe6}
.wtbl th{background:#0f172a;color:#fff;font-size:14px;letter-spacing:.06em;text-transform:uppercase}
.wtbl td:first-child{font-weight:600}
.sig path{stroke-dasharray:600;stroke-dashoffset:600}
.sig.in path{animation:draw 1.8s ease forwards}
.photo{border-radius:14px;position:relative;overflow:hidden}
.photo.dk{background:linear-gradient(160deg,#111827,#1f2937 60%,#0b0f19)}
.photo.ok{background:linear-gradient(180deg,#d6c7b4 0,#c9b79f 58%,#8c7a66 58%,#7a6a58 100%)}
.door{position:absolute;left:28%;top:8%;width:44%;height:52%;background:#7c4a2a;border-radius:6px 6px 0 0;box-shadow:inset 0 0 0 5px #5b351d}
.door:after{content:"";position:absolute;right:12%;top:52%;width:7px;height:7px;border-radius:50%;background:#fcd34d}
.bag{position:absolute;left:40%;top:52%;width:22%;height:26%;background:linear-gradient(180deg,#ff6d3b,#ea580c);border-radius:4px 4px 6px 6px}
.bag:before{content:"";position:absolute;left:28%;top:-18%;width:44%;height:30%;border:3px solid #9a3412;border-bottom:0;border-radius:10px 10px 0 0}
.bag:after{content:"OW";position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-weight:800;font-size:12px}
.viewf{position:absolute;inset:10px;border:2px solid #ffffff55;border-radius:10px}
.card.on{border-color:#ff5722;background:#fff1ea}
.pnd.on{left:24%!important;top:72%!important}
.seg>div.sel:has(~ .on){background:var(--card);color:var(--tx);border-color:var(--line)}
