@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212}
:root{--navy:#0B2A4A;--navy2:#123a63;--gold:#C9A227;--gray:#F4F6F8;--line:#dde3ea;--ink:#14202e;--green:#1f9d55;--red:#b42318;--r:16px}
*{box-sizing:border-box}
html,body{margin:0;height:100%;background:transparent;font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;font-size:16px;line-height:1.5;color:var(--ink);-webkit-text-size-adjust:100%}
button,input,select,textarea{font:inherit;color:inherit}
[hidden]{display:none!important}
#root{position:fixed;inset:0;overflow:hidden}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.avatar{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block;background:var(--navy)}

/* ---------- closed: launcher + badge ---------- */
.dock{position:absolute;right:16px;bottom:16px;display:flex;align-items:center;gap:12px;flex-direction:row-reverse}
.launcher{position:relative;width:64px;height:64px;padding:0;border:3px solid #fff;border-radius:50%;background:var(--navy);cursor:pointer;box-shadow:0 6px 20px rgba(11,42,74,.35);flex:none}
.launcher .avatar{border-radius:50%}
.launcher::before{content:"";position:absolute;inset:-3px;border-radius:50%;border:3px solid var(--gold);opacity:0;animation:pulse 6s ease-out 2s infinite;pointer-events:none}
@keyframes pulse{0%{transform:scale(1);opacity:.85}14%{transform:scale(1.45);opacity:0}100%{transform:scale(1.45);opacity:0}}
.dot{position:absolute;right:-1px;bottom:-1px;width:18px;height:18px;border-radius:50%;background:#8a94a0;border:3px solid #fff}
.dot.on{background:var(--green)}
.badge{background:#fff;color:var(--navy);font-weight:600;border-radius:14px;padding:10px 14px;box-shadow:0 4px 16px rgba(11,42,74,.25);border:1px solid var(--line);max-width:232px;min-height:44px;cursor:pointer;text-align:left;line-height:1.3}
.badge:hover{border-color:var(--gold)}

/* ---------- peek ---------- */
.peek{position:absolute;right:16px;bottom:96px;width:min(368px,calc(100% - 32px));height:80px;display:flex;align-items:stretch;background:#fff;border-radius:var(--r);box-shadow:0 10px 30px rgba(11,42,74,.3);border:1px solid var(--line);overflow:hidden;transform:translateX(120%);transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.peek.show{transform:none}
.peek-main{flex:1;display:flex;align-items:center;gap:10px;padding:0 6px 0 10px;border:0;background:none;text-align:left;cursor:pointer;min-width:0}
.peek-main .pa{width:48px;height:48px;border-radius:50%;flex:none;overflow:hidden;background:var(--navy)}
.peek-main span.t{display:block;line-height:1.3;font-weight:600;color:var(--navy)}
.peek-x{flex:none;width:44px;border:0;background:none;cursor:pointer;font-size:24px;color:#556;align-self:flex-start;height:44px}

/* ---------- panel ---------- */
.panel{position:absolute;right:16px;bottom:16px;width:min(400px,calc(100% - 32px));height:calc(100% - 32px);max-height:720px;display:flex;flex-direction:column;background:#fff;border-radius:var(--r);box-shadow:0 18px 50px rgba(11,42,74,.4);overflow:hidden;transform:translateX(115%);transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.panel.show{transform:none}
.mobile .panel{right:6px;bottom:6px;left:6px;top:6px;width:auto;height:auto;max-height:none;border-radius:14px}
.hd{background:var(--navy);color:#fff;padding:12px 12px 12px 14px;flex:none;border-bottom:3px solid var(--gold)}
.hd-row{display:flex;align-items:center;gap:10px}
.hd .pa{width:48px;height:48px;border-radius:50%;overflow:hidden;flex:none;border:2px solid #fff;background:var(--navy2)}
.hd h2{margin:0;font-size:18px;line-height:1.25;font-weight:700;flex:1;min-width:0}
.hd h2:focus{outline:none}
.ib{width:44px;height:44px;border:0;border-radius:10px;background:transparent;color:#fff;cursor:pointer;display:grid;place-items:center;flex:none}
.ib:hover{background:rgba(255,255,255,.14)}
.ib svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:2.4;stroke-linecap:round}
.hd-sub{margin:4px 0 0;display:flex;gap:8px;align-items:center;flex-wrap:wrap;line-height:1.35}
.pill{display:inline-flex;align-items:center;gap:6px;padding:1px 10px;border-radius:999px;font-weight:600;background:#e7f6ee;color:#0d6b37}
.pill i{width:10px;height:10px;border-radius:50%;background:var(--green);display:inline-block}
.pill.off{background:#fff3d1;color:#6b4e00}
.pill.off i{background:var(--gold)}
.away{margin:6px 0 0;color:#ffe8a3}
.body{flex:1;min-height:0;display:flex;flex-direction:column}
.log{flex:1;overflow-y:auto;padding:14px 14px 6px;background:#fff;scroll-behavior:smooth}
.m{display:flex;flex-direction:column;margin:0 0 12px;max-width:100%}
.m.u{align-items:flex-end}
.bub{padding:10px 14px;border-radius:16px;max-width:92%;overflow-wrap:anywhere}
.bub p{margin:0}.bub p+p{margin-top:.6em}
.m.s .bub{background:var(--gray);border-bottom-left-radius:4px}
.m.u .bub{background:var(--navy);color:#fff;border-bottom-right-radius:4px}
.who{font-weight:600;color:#44566b;margin:0 0 2px 4px}
.chips,.acts{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0}
.chip{min-height:44px;padding:8px 14px;border-radius:999px;border:1.5px solid var(--navy);background:#fff;color:var(--navy);font-weight:600;cursor:pointer;text-align:left;line-height:1.25}
.chip:hover{background:var(--navy);color:#fff}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;border-radius:12px;border:2px solid var(--navy);background:var(--navy);color:#fff;font-weight:600;text-decoration:none;cursor:pointer;text-align:center;line-height:1.25}
.btn:hover{background:var(--navy2)}
.btn.gold{background:var(--gold);border-color:var(--gold);color:#1a1400}
.btn.gold:hover{background:#b89120}
.btn.ghost{background:#fff;color:var(--navy)}
.btn.ghost:hover{background:var(--gray)}
.btn[disabled]{opacity:.55;cursor:not-allowed}
.card{margin:8px 0 0;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden;max-width:100%}
.card.primary{border:2px solid var(--gold)}
.card .ph{background:var(--gray);display:flex;align-items:center;justify-content:center;height:120px}
.card .ph img{max-height:112px;max-width:100%;object-fit:contain}
.card .cb{padding:10px 12px 12px}
.role{display:inline-block;background:var(--gold);color:#1a1400;font-weight:700;border-radius:6px;padding:0 8px;margin-bottom:4px}
.card.backup .role{background:var(--navy);color:#fff}
.card h3{margin:0;font-size:17px;line-height:1.3;color:var(--navy)}
.price{font-weight:700}
.specs,.why,.conf{margin:4px 0 0}
.conf{color:#6b4e00}
.card .acts .btn{flex:1 1 130px}
.typing{color:#556;font-style:italic}
.foot{flex:none;border-top:1px solid var(--line);background:#fff;padding:10px 12px 8px}
.send{display:flex;gap:8px}
.send input{flex:1;min-width:0;min-height:48px;border:2px solid var(--line);border-radius:12px;padding:8px 12px;background:#fff}
.send input:focus{border-color:var(--navy);outline:3px solid rgba(201,162,39,.6)}
.send button{width:48px;height:48px;border-radius:12px;border:0;background:var(--navy);cursor:pointer;display:grid;place-items:center;flex:none}
.send button svg{width:22px;height:22px;fill:#fff}
.legal{margin:6px 0 0;color:#4a5968;line-height:1.3;display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap}
.linkbtn{background:none;border:0;padding:0 4px;min-height:44px;color:var(--navy);text-decoration:underline;cursor:pointer;font-weight:600}

/* ---------- form / views ---------- */
.view{flex:1;min-height:0;overflow-y:auto;padding:14px}
.view h3.vt{margin:0 0 4px;font-size:20px;color:var(--navy)}
.view .lead{margin:0 0 12px;color:#33475b}
.f{margin:0 0 12px}
.f label,.f legend{display:block;font-weight:600;margin:0 0 4px;color:var(--navy);padding:0}
.f input,.f select,.f textarea{width:100%;min-height:44px;border:2px solid #b9c4d0;border-radius:10px;padding:8px 12px;background:#fff}
.f textarea{min-height:88px;resize:vertical}
.f input:focus,.f select:focus,.f textarea:focus{border-color:var(--navy);outline:3px solid rgba(201,162,39,.6)}
.f .err{display:none;color:var(--red);font-weight:600;margin:4px 0 0}
.f.bad .err{display:block}
.f.bad input,.f.bad select,.f.bad textarea{border-color:var(--red)}
.hint{color:#4a5968;margin:4px 0 0}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mobile .row2{grid-template-columns:1fr}
.formact{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.ok{background:#e7f6ee;border:1px solid #9bd5b4;border-radius:12px;padding:12px;margin:0 0 12px}
.ok b{color:#0d6b37}
.warn{background:#fff3d1;border:1px solid #e6cf7a;border-radius:12px;padding:10px 12px;margin:0 0 12px}
.lead-item{border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin:0 0 10px;background:var(--gray)}
.lead-item p{margin:2px 0}
.lead-item .when{color:#4a5968}
.toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px}
.stand{position:fixed;left:0;right:0;top:0;padding:10px 14px;background:#fff8df;color:#5a4500;border-bottom:1px solid #e6cf7a}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* official Scooter Pros logo as the avatar: white disc, logo contained, never cropped or recolored */
.avatar{object-fit:contain;background:#fff;padding:14%}
.hd .pa,.peek-main .pa{background:#fff}
.launcher{background:#fff}

/* Sam portrait + black pill launcher */
.avatar{object-fit:cover;background:#fff;padding:0}
.hd .pa,.peek-main .pa{background:#111}
.launcher{width:auto;height:64px;min-width:0;display:flex;align-items:center;gap:12px;padding:5px 22px 5px 5px;border:0;border-radius:999px;background:#0b0b0b;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.38)}
.launcher::before{display:none}
.launcher .lpa{width:54px;height:54px;border-radius:50%;overflow:hidden;flex:none;background:#fff;display:block}
.launcher .lpa .avatar{display:block;width:100%;height:100%;border-radius:50%}
.launcher .ltxt{font-weight:800;font-size:18px;line-height:1;letter-spacing:.1px;color:#fff;white-space:nowrap}
.launcher .dot{position:static;width:12px;height:12px;border:0;flex:none;background:#8a94a0}
.launcher .dot.on{background:#22c55e}
.launcher:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 6px #0b0b0b}

/* Panel matched to reference: black header, red Leave-a-message, green banner, pink send */
.hd{background:#0b0b0b;border-bottom:0;padding:12px 10px 12px 12px}
.hd .pa{width:48px;height:48px;border:0;background:#fff}
.hd-t{flex:1;min-width:0}
.hd h2{font-size:17px;line-height:1.2}
.hd-s{margin:2px 0 0;font-size:12px;line-height:1.3;color:#d5d5d5}
.leave{flex:none;border:0;border-radius:999px;background:#d92d20;color:#fff;font-weight:700;font-size:13px;padding:9px 12px;min-height:40px;cursor:pointer;white-space:nowrap}
.leave:hover{background:#b42318}
.banner{margin:12px -10px -12px -12px;background:#dff3e6;color:#14532d;padding:8px 14px}
.banner .away{margin:0;color:#14532d;font-size:13px;line-height:1.35}
.send{align-items:center}
.send input{border-color:#9bc2ee;border-radius:14px}
.send input:focus{border-color:#4f9cf0;outline:3px solid rgba(79,156,240,.35)}
.send .sbtn{border-radius:50%;background:#f4a6b0}
.send .sbtn:hover{background:#ee8a97}
.send .cbtn{width:48px;height:48px;border-radius:50%;border:1.5px solid #111;background:#fff;cursor:pointer;display:grid;place-items:center;flex:none;padding:0}
.send .cbtn svg{width:22px;height:22px;fill:none;stroke:#111;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.legal{margin-top:8px}
.legal .ph{display:inline-flex;align-items:center;gap:6px;font-weight:800;color:#111;text-decoration:none}
.legal .ph svg{width:16px;height:16px;fill:#111}
.legal .linkbtn{font-weight:800;color:#111}
.nosens{margin:4px 0 0;font-size:11.5px;color:#4a5968}
.log{background:#f6f6f6}
