/* Sales person onboard demo, /sales (SalesOnboard.razor; owner's mock-up, 31 Oct 2026). The same design as ZB FieldOps'
   /sales (its sales-practice.css), in ZB Booking's violet. Own --sp-* colours so the site's --brand and --ink are untouched.
   The quick guide is a <dialog> outside <main>, so it carries the colours too. */
.sp-start,.sp-guide{--sp-brand:#7c3aed;--sp-strong:#5b21b6;--sp-ink:#16141b;--sp-muted:#55505f;color:var(--sp-ink)}
:where(.sp-start,.sp-guide) button{font:inherit;cursor:pointer}
.sp-hero h1,.sp-hero h1 em{font-weight:900}.sp-go,.sp-ghost{font-weight:700}.sp-step-title,.sp-reqs h2{font-weight:800}.sp-reqs li b,.sp-facts b,.sp-band b,.sp-guide b,.sp-pill{font-weight:700}
.sp-ctas form{margin:0}
@media(max-width:640px){.sp-ctas>form,.sp-ctas>form>button{width:100%;justify-content:center}}
.sp-sprite{position:absolute;width:0;height:0;overflow:hidden}
.sp-start{background:radial-gradient(900px 520px at 78% -10%,#e9defd 0,transparent 60%),linear-gradient(115deg,transparent 58%,rgba(109,40,217,.07) 58% 66%,transparent 66%),#f8f6fc}
.sp-landing{max-width:1240px;margin:0 auto;padding:28px 24px 48px}
.sp-start svg,.sp-guide svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.sp-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:28px;align-items:center}
.sp-intro-brand{display:flex;align-items:center;gap:10px;font-size:21px;margin-bottom:26px}
.sp-pill{display:inline-block;margin:0 0 14px;padding:5px 12px;border-radius:999px;background:#ede5ff;color:var(--sp-strong);font-size:13px;font-weight:800;letter-spacing:.04em}
.sp-hero h1{margin:0 0 18px;font-size:clamp(38px,5.4vw,64px);line-height:1.02;font-weight:900;letter-spacing:-.03em}
.sp-hero h1 em{display:block;font-style:normal;color:var(--sp-strong)}
.sp-lead{max-width:600px;margin:0 0 26px;color:var(--sp-muted);font-size:17px;line-height:1.6}
.sp-ctas{display:flex;flex-wrap:wrap;gap:14px}
.sp-go,.sp-ghost{display:inline-flex;align-items:center;gap:12px;padding:16px 26px;border-radius:12px;font-weight:700;font-size:17px}
.sp-go{border:0;background:var(--sp-strong);color:#fff;box-shadow:0 14px 30px -16px rgba(91,33,182,.8)}
.sp-go:hover{background:#4c1d95}.sp-go:disabled{opacity:.6;cursor:wait}
.sp-ghost{border:1.5px solid var(--sp-strong);background:#fff;color:var(--sp-strong)}
.sp-ghost:hover{background:#f6f1ff}
#sp-error{color:#b42318;min-height:1.2em;margin:8px 0 0}
.sp-facts{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,auto));justify-content:start;gap:14px 18px;margin:14px 0 0;padding:0}
.sp-facts li{display:flex;align-items:center;gap:8px;font-size:12.5px;line-height:1.3;color:var(--sp-muted)}
.sp-facts svg{width:28px!important;height:28px!important;color:var(--sp-brand)}
.sp-facts b{display:block;color:var(--sp-ink);font-size:13px;white-space:nowrap}

/* The drawing */
.sp-visual{position:relative;min-height:520px}
.sp-note{position:absolute;margin:0;font-family:"Segoe Print","Bradley Hand","Comic Sans MS",cursive;color:var(--sp-strong);font-size:19px;line-height:1.25;transform:rotate(-6deg)}
.sp-note-top{top:0;right:2%}
.sp-note-side{bottom:0;right:-2%;color:#44404f;transform:rotate(2deg);text-align:center}
.sp-lap{position:absolute;left:0;top:78px;width:78%;filter:drop-shadow(0 30px 40px rgba(17,24,39,.22))}
.sp-lap-screen{display:grid;grid-template-columns:20% 1fr;aspect-ratio:16/10;border:10px solid #1d2023;border-radius:16px 16px 4px 4px;background:#fff;overflow:hidden;font-size:9px;color:#334}
.sp-lap-base{height:14px;margin:0 -6%;border-radius:0 0 14px 14px;background:linear-gradient(#d9dcdf,#a9aeb3)}
.sp-lap-screen aside{display:flex;flex-direction:column;gap:6px;padding:10px 8px;border-right:1px solid #eef0ef;background:#fbfcfb}
.sp-lap-screen aside b{display:flex;align-items:center;gap:5px;margin-bottom:6px;font-size:9px}
.sp-lap-screen aside b i{display:grid;place-items:center;width:15px;height:15px;border-radius:4px;background:var(--sp-brand);color:#fff;font-style:normal;font-size:9px}
.sp-lap-screen aside span{padding:4px 6px;border-radius:5px;color:#5b6461}
.sp-lap-screen aside span.on{background:var(--sp-brand);color:#fff}
.sp-lap-main{display:flex;flex-direction:column;gap:8px;padding:9px 10px;min-width:0}
.sp-lap-top{display:flex;justify-content:space-between;align-items:center}
.sp-search{width:45%;padding:4px 8px;border:1px solid #e6e9e8;border-radius:6px;color:#9aa3a0}
.sp-who{display:flex;align-items:center;gap:4px}.sp-who i{width:14px;height:14px;border-radius:50%;background:#c9d4cf}
.sp-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.sp-stats span{padding:6px 7px;border:1px solid #edf0ef;border-radius:7px;color:#6b7470;font-size:7.5px}
.sp-stats b{display:block;color:var(--sp-ink);font-size:13px}.sp-stats b.amber{color:#d97706}
.sp-lap-body{flex:1;display:grid;grid-template-columns:1.25fr 1fr;gap:8px;min-height:0}
.sp-sched,.sp-today{border:1px solid #edf0ef;border-radius:7px;padding:6px 7px;overflow:hidden}
.sp-grid{position:relative;height:calc(100% - 14px);margin-top:4px;background:repeating-linear-gradient(#f1f3f2 0 1px,transparent 1px 22px),repeating-linear-gradient(90deg,#f1f3f2 0 1px,transparent 1px 20%)}
.sp-grid i{position:absolute;border-radius:4px;opacity:.85}
.sp-grid .b1{left:2%;top:10%;width:16%;height:22%;background:#bfdbfe}.sp-grid .b2{left:22%;top:4%;width:18%;height:14%;background:#fecaca}
.sp-grid .b3{left:44%;top:6%;width:22%;height:28%;background:#ddd6fe}.sp-grid .b4{left:2%;top:40%;width:18%;height:18%;background:#a7f3d0}
.sp-grid .b5{left:44%;top:40%;width:20%;height:24%;background:#fde68a}.sp-grid .b6{left:22%;top:62%;width:20%;height:16%;background:#fed7aa}
.sp-grid .b7{left:66%;top:66%;width:22%;height:14%;background:#bbf7d0}.sp-grid .b8{left:6%;top:82%;width:18%;height:12%;background:#d1d5db}
.sp-today{display:flex;flex-direction:column;gap:5px}
.sp-today span,.sp-ph-job{display:flex;align-items:center;gap:6px}
.sp-today em,.sp-ph-job em{flex:1;min-width:0;font-style:normal;font-weight:700;color:var(--sp-ink)}
.sp-today small,.sp-ph-job small{display:block;font-weight:400;color:#7a8380;font-size:.85em}
.sp-today i,.sp-ph-job i{flex:none;width:16px;height:16px;border-radius:5px}
.c1{background:#a78bfa}.c2{background:#fb923c}.c3{background:#f59e0b}.c4{background:#f472b6}.c5{background:#60a5fa}
.sp-ph{position:absolute;right:0;top:96px;width:29%;aspect-ratio:9/18.5;padding:8px;border-radius:34px;background:#1d2023;box-shadow:0 30px 50px -18px rgba(17,24,39,.5)}
.sp-ph-notch{position:absolute;top:12px;left:50%;width:30%;height:12px;margin-left:-15%;border-radius:10px;background:#1d2023;z-index:1}
.sp-ph-screen{position:relative;height:100%;display:flex;flex-direction:column;gap:6px;padding:30px 9px 46px;border-radius:27px;background:#fff;font-size:9px;overflow:hidden}
.sp-ph-title{text-align:center;font-size:10px}
.sp-ph-tabs{display:flex;gap:6px;justify-content:center}.sp-ph-tabs span{padding:4px 10px;border-radius:999px;color:#7a8380}.sp-ph-tabs .on{background:var(--sp-brand);color:#fff}
.sp-ph-job{padding:6px 6px;border:1px solid #edf0ef;border-radius:9px;font-size:8.5px}
.sp-ph-job u{text-decoration:none;padding:4px 8px;border-radius:6px;background:var(--sp-brand);color:#fff;font-weight:700;font-size:8px}
.sp-ph-nav{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-around;padding:9px 4px 12px;border-top:1px solid #edf0ef;background:#fff;color:#8a938f;font-size:8px}.sp-ph-nav .on{color:var(--sp-brand)}

/* The three steps and the notes */
.sp-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:30px 0 16px}
.sp-step{position:relative;display:grid;grid-template-columns:54px 1fr 28px;grid-template-rows:auto auto;align-content:start;gap:12px 16px;align-items:center;padding:20px 22px;border:1px solid #e6dcfa;border-radius:18px;background:#f4effd;color:var(--sp-ink);text-align:left}
.sp-step:hover{border-color:var(--sp-brand);background:#ece3fd}
.sp-num{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--sp-strong);color:#fff;font-weight:800}
.sp-step-title{grid-column:2/4;font-size:24px}
.sp-ico{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#e6dbfb;color:var(--sp-strong)}
.sp-ico svg{width:28px!important;height:28px!important}
.sp-step p{margin:0;color:#44404f;font-size:15px;line-height:1.5}
.sp-go-arrow{width:28px!important;height:28px!important;padding:5px;border-radius:50%;background:#fff;color:var(--sp-strong)}
.sp-reqs{margin:0 0 16px;padding:22px 24px;border:1px solid #e6dcfa;border-radius:18px;background:#fff}
.sp-reqs h2{margin:0;font-size:24px}
.sp-reqs-lead{margin:4px 0 16px;color:var(--sp-muted)}
.sp-reqs ul{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 22px;margin:0;padding:0}
.sp-reqs li{display:flex;align-items:flex-start;gap:14px;color:#44404f;font-size:14px;line-height:1.5}
.sp-reqs li b{display:block;margin-bottom:2px;color:var(--sp-ink);font-size:15px}
.sp-reqs .sp-ico{width:46px;height:46px;flex:none}.sp-reqs .sp-ico svg{width:24px!important;height:24px!important}
@media(max-width:1020px){.sp-reqs ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.sp-reqs{padding:18px 16px}.sp-reqs ul{grid-template-columns:1fr}}
.sp-band{display:flex;align-items:center;gap:22px;margin:0 0 12px;padding:16px 22px;border-radius:16px;background:#f4effd;color:#44404f;font-size:15px;line-height:1.55}
.sp-band b{color:var(--sp-ink)}

/* Quick guide */
.sp-guide{width:min(620px,calc(100% - 32px));padding:0;border:0;border-radius:18px;box-shadow:0 30px 80px -20px rgba(17,24,39,.5)}
.sp-guide::backdrop{background:rgba(17,24,39,.45)}
.sp-guide-head{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid #ebe7f2}
.sp-guide-head h2{margin:0;font-size:20px}
.sp-guide-close{border:0;background:none;font-size:26px;line-height:1;color:#6b7470}
.sp-guide ol{margin:0;padding:16px 22px 4px 44px;line-height:1.55;color:#44404f}
.sp-guide li{margin-bottom:12px}.sp-guide li b{color:var(--sp-ink)}
.sp-guide li.flash{background:#ece3fd;border-radius:8px;outline:6px solid #ece3fd}
.sp-guide-tips{margin:0 22px;padding:12px 14px;border-radius:12px;background:#f5f3f9;color:#44404f;font-size:14px;line-height:1.5}
.sp-guide-foot{display:flex;justify-content:flex-end;padding:16px 22px 20px}

@media(max-width:1020px){.sp-hero{grid-template-columns:1fr}.sp-visual{max-width:640px;width:100%;margin:10px auto 0}.sp-steps{grid-template-columns:1fr}}
@media(max-width:640px){.sp-landing{padding:20px 16px 36px}.sp-visual{display:none}.sp-ctas>button{width:100%;justify-content:center}.sp-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.sp-band{gap:14px;padding:14px 16px;font-size:14px}.sp-band .sp-ico{width:42px;height:42px}.sp-step{grid-template-columns:44px 1fr 28px;padding:18px}.sp-step .sp-ico{width:44px;height:44px}}
