.portal-tour-launch{
    position:fixed;
    right:22px;
    bottom:22px;
    z-index:900;
    display:inline-flex;
    align-items:center;
    gap:9px;
    border:1px solid rgba(255,255,255,.35);
    border-radius:999px;
    padding:11px 15px;
    background:var(--navy);
    color:#fff;
    box-shadow:0 12px 32px rgba(13,34,53,.28);
    font:inherit;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
}

.portal-tour-launch:hover,
.portal-tour-launch:focus-visible{
    background:var(--navy2);
    outline:3px solid rgba(35,91,142,.24);
}

.portal-tour-launch[hidden]{display:none}

.portal-tour-launch-icon{
    display:grid;
    place-items:center;
    width:20px;
    height:20px;
    border-radius:50%;
    background:#fff;
    color:var(--navy);
    font-size:12px;
}

.portal-tour-spotlight{
    position:fixed;
    z-index:1000;
    border:3px solid #fff;
    border-radius:12px;
    box-shadow:0 0 0 9999px rgba(7,22,34,.68),0 8px 30px rgba(0,0,0,.24);
    pointer-events:none;
    transition:top .18s ease,left .18s ease,width .18s ease,height .18s ease;
}

.portal-tour-dialog{
    position:fixed;
    z-index:1010;
    width:min(380px,calc(100vw - 24px));
    border:1px solid rgba(255,255,255,.8);
    border-radius:15px;
    padding:0;
    background:#fff;
    color:var(--ink);
    box-shadow:0 22px 70px rgba(6,23,37,.34);
    overflow:hidden;
}

.portal-tour-dialog::before{
    content:"";
    display:block;
    height:5px;
    background:linear-gradient(90deg,var(--red),#e45260 48%,var(--blue));
}

.portal-tour-dialog-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    padding:18px 18px 0;
}

.portal-tour-dialog h2{
    margin:0;
    color:var(--navy2);
    font-size:19px;
    line-height:1.25;
}

.portal-tour-close{
    width:30px;
    height:30px;
    border:0;
    border-radius:8px;
    background:#eef2f5;
    color:var(--navy);
    font-size:20px;
    line-height:1;
    cursor:pointer;
}

.portal-tour-copy{
    margin:0;
    padding:12px 18px 16px;
    color:#4d6071;
    font-size:14px;
    line-height:1.55;
}

.portal-tour-progress{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 18px;
    border-top:1px solid var(--line);
    background:#f7f9fb;
}

.portal-tour-step-count{
    color:var(--muted);
    font-size:12px;
    font-weight:700;
}

.portal-tour-dots{
    display:flex;
    gap:5px;
    max-width:190px;
    overflow:hidden;
}

.portal-tour-dot{
    width:7px;
    height:7px;
    flex:0 0 auto;
    border-radius:50%;
    background:#cbd6de;
}

.portal-tour-dot.active{background:var(--red)}
.portal-tour-dot.complete{background:var(--blue)}

.portal-tour-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:14px 18px 18px;
}

.portal-tour-actions-group{
    display:flex;
    gap:8px;
}

.portal-tour-button{
    border:0;
    border-radius:9px;
    padding:9px 12px;
    font:inherit;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
}

.portal-tour-button.secondary{background:#e9eff4;color:var(--navy)}
.portal-tour-button.primary{background:var(--red);color:#fff}
.portal-tour-button:disabled{opacity:.4;cursor:not-allowed}
.portal-tour-button:focus-visible,.portal-tour-close:focus-visible{outline:3px solid rgba(35,91,142,.25)}

@media(max-width:620px){
    .portal-tour-launch{right:14px;bottom:14px;padding:10px 12px}
    .portal-tour-launch-label{display:none}
    .portal-tour-dialog{width:calc(100vw - 20px)}
    .portal-tour-dots{max-width:130px}
}

@media(prefers-reduced-motion:reduce){
    .portal-tour-spotlight{transition:none}
}
