/* v3.8.0: the welcome pop-up and the quick tours (assets/tour.js). Uses the app's colors (app.css, extras.css). */
.tourRoot{position:fixed;inset:0;z-index:200;pointer-events:none}
.tourRoot>*{pointer-events:auto}
.tourDim{position:fixed;inset:0;background:rgba(0,0,0,.5);animation:tourFade .2s ease}
.tourSpot{position:fixed;border-radius:14px;box-shadow:0 0 0 3px rgba(255,255,255,.95),0 0 24px 6px rgba(255,255,255,.35);pointer-events:none!important}
.tourMask{position:fixed;background:rgba(0,0,0,.5);pointer-events:auto}
@media (prefers-color-scheme:dark){.tourSpot{box-shadow:0 0 0 3px rgba(255,255,255,.6)}.tourMask,.tourDim{background:rgba(0,0,0,.62)}}
.tourShield{position:fixed;inset:0;background:transparent}
@keyframes tourFade{from{opacity:0}}
@keyframes tourPop{from{opacity:0;transform:translateY(10px) scale(.98)}}
.tourCard{position:fixed;width:min(420px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;background:var(--surface);color:var(--text);border-radius:20px;box-shadow:var(--shadow-lg);padding:20px 20px 16px;animation:tourPop .22s cubic-bezier(.2,.9,.3,1.1);font:15px/1.5 var(--font)}
.tourCard.center{left:50%;top:50%;transform:translate(-50%,-50%);animation:tourFade .22s ease}
.tourCard.welcome{width:min(480px,calc(100vw - 32px));padding:28px 26px 22px;text-align:center}
.tourCard h2{margin:0 0 8px;font-size:20px;line-height:1.25;letter-spacing:-.02em}
.tourCard.welcome h2{font-size:24px}
.tourCard p{margin:0 0 10px;color:var(--text2)}
.tourCard p b,.tourCard li b{color:var(--text)}
.tourCard ol,.tourCard ul{margin:0 0 10px;padding-left:20px;color:var(--text2)}
.tourCard li{margin:0 0 4px}
.tourStep{font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--red);margin-bottom:6px}
.tourLogo{display:flex;justify-content:center;margin:0 0 14px}
.tourLogo img{height:34px;width:auto}
.tourIcon{width:56px;height:56px;border-radius:16px;background:var(--red-tint);color:var(--red);display:grid;place-items:center;margin:0 auto 14px}
.tourIcon svg{width:30px;height:30px}
.tourFoot{display:flex;align-items:center;gap:8px;margin-top:14px}
.tourFoot .grow{flex:1}
.tourDots{display:flex;gap:5px}
.tourDots i{width:6px;height:6px;border-radius:50%;background:var(--fill2)}
.tourDots i.on{background:var(--red);width:16px;border-radius:3px}
.tourCard .btn{padding:9px 16px;font-size:14px}
.tourWelcomeBtns{display:flex;flex-direction:column;gap:8px;margin-top:18px}
.tourWelcomeBtns .btn{width:100%;padding:12px 18px;font-size:15px}
.tourFine{font-size:12px;color:var(--text3);margin:12px 0 0}
.tourDue{display:flex;gap:12px;align-items:center;background:var(--red-tint);border-radius:14px;padding:10px 12px;margin:4px 0 12px}
.tourDue .cal{flex:none;width:46px;border-radius:9px;overflow:hidden;background:var(--surface);text-align:center;box-shadow:var(--shadow)}
.tourDue .cal span{display:block;background:var(--red);color:#fff;font-size:10px;font-weight:700;letter-spacing:.05em;padding:2px 0}
.tourDue .cal b{display:block;font-size:20px;line-height:28px;color:var(--text)}
.tourDue div:last-child{font-size:14px;color:var(--text)}
.tourLegend{display:grid;grid-template-columns:auto 1fr;gap:6px 10px;align-items:center;margin:4px 0 12px;font-size:14px}
.tourLegend i{display:inline-block;width:46px;height:20px;border-radius:6px}
.tourLegend span{color:var(--text2)}
.tourMock{display:inline-flex;align-items:center;gap:6px;border-radius:980px;padding:6px 12px;background:var(--fill);color:var(--text);font-size:13px;font-weight:600;margin:2px 0 10px}
.tourMock svg{width:15px;height:15px}
.tourTv{border-radius:12px;background:#0b0b0d;color:#fff;padding:10px 12px;margin:4px 0 12px;font-size:12px}
.tourTv .h{display:flex;justify-content:space-between;font-weight:700;letter-spacing:.04em;opacity:.9;margin-bottom:6px}
.tourTv .r{display:grid;grid-template-columns:1fr 40px 40px 40px;gap:4px;padding:3px 0;border-top:1px solid rgba(255,255,255,.12)}
.tourTv .r b{text-align:right}
.tourTv .r.hd{opacity:.65;border-top:0;font-size:10px;letter-spacing:.05em}
@media (max-width:700px){
  .tourCard:not(.center){left:12px!important;right:12px;width:auto;bottom:calc(12px + env(safe-area-inset-bottom));top:auto!important;max-height:58vh}
}
/* The account bar on a salesperson's own page (me.html). */
.meTop{flex-wrap:wrap;gap:6px 10px}
.meAcct{margin-left:auto;display:flex;align-items:center;gap:6px}
.meAcct:empty{display:none}
.meAcct .miniBtn{white-space:nowrap}
@media (max-width:420px){.meAcct .miniBtn{padding:5px 10px;font-size:12px}}
.meSignIn{display:flex;flex-direction:column;gap:10px;margin:8px 0 22px}
.meDemo{background:var(--amber-tint);color:var(--amber);border-radius:12px;padding:8px 12px;font-size:13px;font-weight:600;margin:0 0 14px}
@media print{.tourRoot{display:none!important}}
