/* CallHippo Sales Suite: first sign-in (set your password) + the onboarding tour. Suite design system: glass, Manrope, orange accent. */

/* ---------- set your password ---------- */
#pwView{background:radial-gradient(900px 500px at 50% -20%,#FFE3CE,transparent 70%),radial-gradient(700px 500px at 100% 100%,rgba(214,200,255,.45),transparent 70%),#FBF6F1}
.pw-card{width:min(440px,100%)}
.pw-badge{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent-ink);margin:0 0 14px;box-shadow:inset 0 0 0 1px rgba(243,91,22,.15)}
.pw-badge svg{width:26px;height:26px}
.pw-meter{height:6px;border-radius:999px;background:rgba(120,80,40,.1);overflow:hidden;margin-top:4px}
.pw-meter i{display:block;height:100%;width:var(--p,0%);border-radius:inherit;background:#E5484D;transition:width .25s ease,background .25s ease}
.pw-meter[data-level="2"] i{background:#F5A524}
.pw-meter[data-level="3"] i{background:#E8B10C}
.pw-meter[data-level="4"] i{background:#15803D}
.pw-meter-label{font-size:12px;font-weight:700;color:var(--muted);min-height:16px;margin-top:2px}
.pw-rules{list-style:none;margin:-4px 0 14px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:6px 12px}
.pw-rules li{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;color:var(--muted)}
.pw-rules .tick{width:16px;height:16px;border-radius:50%;flex-shrink:0;border:1.5px solid rgba(120,80,40,.25);display:grid;place-items:center;transition:all .2s ease}
.pw-rules li.ok{color:#15703F}
.pw-rules li.ok .tick{background:#15803D;border-color:#15803D}
.pw-rules li.ok .tick::after{content:"";width:7px;height:4px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) translate(1px,-1px)}
.pw-link{border:0;background:none;color:var(--muted);font:inherit;font-size:12.5px;font-weight:650;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.pw-link:hover{color:var(--ink)}
@media(max-width:420px){.pw-rules{grid-template-columns:1fr}}

/* ---------- tour ---------- */
.tour-root{position:fixed;inset:0;z-index:2147483646;font-family:Manrope,system-ui,sans-serif;color:var(--ink)}
.tour-shade{position:absolute;inset:0;background:transparent}
.tour-root.nospot .tour-shade,.tour-root.centered .tour-shade{background:radial-gradient(70% 60% at 50% 40%,rgba(243,91,22,.16),transparent 70%),rgba(24,16,10,.5);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.tour-spot{position:fixed;pointer-events:none;border-radius:16px;box-shadow:0 0 0 2px rgba(255,255,255,.95),0 0 0 6px rgba(243,91,22,.55),0 0 0 9999px rgba(24,16,10,.56),0 20px 60px rgba(243,91,22,.35);
  transition:left .38s cubic-bezier(.2,.7,.2,1),top .38s cubic-bezier(.2,.7,.2,1),width .38s cubic-bezier(.2,.7,.2,1),height .38s cubic-bezier(.2,.7,.2,1),border-radius .38s ease}
.tour-spot::after{content:"";position:absolute;inset:-6px;border-radius:inherit;border:2px solid rgba(243,91,22,.6);animation:tourPulse 1.8s ease-out infinite}
@keyframes tourPulse{0%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(1.06)}}
.tour-root.nospot .tour-spot,.tour-root.centered .tour-spot{opacity:0;width:0;height:0}
.tour-card{position:fixed;width:min(390px,calc(100vw - 24px));padding:20px 20px 14px;border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(255,255,255,.9));-webkit-backdrop-filter:blur(26px) saturate(180%);backdrop-filter:blur(26px) saturate(180%);
  box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(110,70,40,.08),0 30px 70px -24px rgba(40,20,5,.55);opacity:0;transform:translateY(8px) scale(.98);
  transition:left .38s cubic-bezier(.2,.7,.2,1),top .38s cubic-bezier(.2,.7,.2,1),opacity .2s ease,transform .25s cubic-bezier(.2,.7,.2,1)}
.tour-root.in .tour-card{opacity:1;transform:none}
.tour-root.leaving .tour-card{opacity:0;transform:translateY(6px) scale(.98)}
.tour-root.leaving .tour-spot,.tour-root.leaving .tour-shade{opacity:0;transition:opacity .2s ease}
.tour-card[data-side="center"]{left:50%!important;top:50%!important;transform:translate(-50%,-50%);width:min(460px,calc(100vw - 24px));padding:28px 28px 18px;text-align:left}
.tour-root.in .tour-card[data-side="center"]{transform:translate(-50%,-50%)}
.tour-arrow{position:absolute;width:14px;height:14px;background:#fff;transform:rotate(45deg);box-shadow:-1px 1px 0 rgba(110,70,40,.06)}
.tour-card[data-side="right"] .tour-arrow{left:-7px;margin-top:-7px}
.tour-card[data-side="left"] .tour-arrow{right:-7px;margin-top:-7px}
.tour-card[data-side="bottom"] .tour-arrow{top:-7px;margin-left:-7px}
.tour-card[data-side="top"] .tour-arrow{bottom:-7px;margin-left:-7px}
.tour-card[data-side="center"] .tour-arrow,.tour-card[data-side="sheet"] .tour-arrow{display:none}
.tour-top{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.tour-ico{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#FF8A4C,#F35B16);color:#fff;box-shadow:0 8px 18px -8px rgba(194,65,12,.7)}
.tour-ico svg{width:20px;height:20px}
.tour-root.centered .tour-ico{width:52px;height:52px;border-radius:16px}
.tour-root.centered .tour-ico svg{width:26px;height:26px}
.tour-count{flex:1;font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--accent-ink)}
.tour-x{width:32px;height:32px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--muted);display:grid;place-items:center;cursor:pointer}
.tour-x:hover{color:var(--ink);background:var(--bg2)}
.tour-x svg{width:15px;height:15px}
.tour-card h2{margin:0 0 6px;font-size:19px;line-height:1.2;font-weight:800;letter-spacing:-.025em}
.tour-root.centered .tour-card h2{font-size:24px;letter-spacing:-.03em}
.tour-card p{margin:0;font-size:14px;line-height:1.55;color:var(--ink2)}
.tour-card p b{color:var(--ink)}
.tour-card .kbd{height:20px;min-width:20px;font-size:11px;vertical-align:1px}
.tour-paths{display:grid;gap:8px;margin-top:12px}
.tour-paths span{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:12px;background:var(--bg2);font-size:13px;font-weight:650;color:var(--ink2)}
.tour-paths b{color:var(--ink)}
.tour-paths i{font-style:normal;color:var(--accent);font-weight:800}
.tour-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px;flex-wrap:wrap}
.tour-dots{display:flex;gap:5px}
.tour-dots i{width:7px;height:7px;border-radius:999px;background:rgba(120,80,40,.18);transition:all .25s ease}
.tour-dots i.done{background:rgba(243,91,22,.45)}
.tour-dots i.on{width:20px;background:var(--accent)}
.tour-btns{display:flex;gap:6px;margin-left:auto}
.tour-keys{margin:10px 0 0!important;font-size:11.5px!important;color:var(--muted2)!important;display:flex;gap:4px;align-items:center}
.tour-keys .kbd{height:18px;min-width:18px;font-size:10.5px}
.tour-learned{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 4px}
.tour-learned span{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border-radius:999px;background:#ECF7F0;color:#15703F;font-size:12.5px;font-weight:750}
.tour-learned svg{width:14px;height:14px}
.tour-make{width:100%;margin-top:14px;min-height:46px;font-size:14.5px}
.tour-root.finale .tour-btns .suite-btn.primary{background:#fff;color:var(--ink);border-color:var(--line);box-shadow:none}
.tour-root.finale .tour-keys{display:none}
.tour-root.finale .tour-ico{animation:tourPop .6s cubic-bezier(.2,1.6,.4,1) both}
@keyframes tourPop{0%{transform:scale(.4) rotate(-20deg)}100%{transform:none}}
#tourConfetti{position:fixed;inset:0;width:100vw;height:100vh;z-index:2147483601;pointer-events:none;transition:opacity .8s ease}
/* phones: the card becomes a bottom sheet under the spotlight */
@media(max-width:640px){
  .tour-card[data-side="sheet"]{left:8px!important;right:8px;top:auto!important;bottom:8px;width:auto;border-radius:22px;padding:18px 18px 12px}
  .tour-card[data-side="center"]{width:calc(100vw - 24px);padding:22px 20px 14px}
  .tour-keys{display:none!important}
  .tour-card h2{font-size:18px}
  .tour-btns .suite-btn{min-height:40px}
}
.tour-root.still .tour-spot,.tour-root.still .tour-card{transition:none!important}
.tour-root.still .tour-spot::after,.tour-root.still .tour-ico{animation:none!important}
@media(prefers-reduced-motion:reduce){.tour-spot,.tour-card{transition:none!important}.tour-spot::after,.tour-ico{animation:none!important}}
@media(prefers-reduced-transparency:reduce){.tour-card{background:#fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}
