.guided-dashboard-overlay {
    position: fixed;
    inset: 0;
    z-index: 900;
    pointer-events: none;
    background: rgba(15, 23, 42, .42);
    opacity: 0;
    transition: opacity .2s ease;
}

.guided-dashboard-overlay.is-visible { opacity: 1; }

.guided-dashboard {
    position: fixed;
    z-index: 1002;
    width: min(350px, calc(100vw - 24px));
    margin: 0;
    padding: 20px;
    color: #172033;
    background: #fff;
    border: 1px solid #dbe6f2;
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.guided-dashboard.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.guided-dashboard-arrow {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #fff;
    border-left: 1px solid #dbe6f2;
    border-top: 1px solid #dbe6f2;
    transform: rotate(45deg);
}

.guided-dashboard[data-placement="bottom"] .guided-dashboard-arrow {
    top: -9px;
    left: var(--guide-arrow-left, 50%);
}

.guided-dashboard[data-placement="top"] .guided-dashboard-arrow {
    bottom: -9px;
    left: var(--guide-arrow-left, 50%);
    transform: rotate(225deg);
}

.guided-dashboard-close {
    position: absolute;
    top: 9px;
    right: 11px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    color: #64748b;
    background: transparent;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.guided-dashboard-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 32px 8px 0;
    color: #2563a6;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.guided-dashboard-eyebrow strong {
    padding: 3px 7px;
    color: #fff;
    background: #2563a6;
    border-radius: 999px;
    font-size: .62rem;
    letter-spacing: 0;
}

.guided-dashboard h2 {
    margin: 0 0 7px;
    font-size: 1.2rem;
}

.guided-dashboard > p {
    margin: 0;
    color: #526176;
    font-size: .88rem;
    line-height: 1.5;
}

.guided-dashboard-footer {
    margin-top: 17px;
    padding-top: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #edf1f5;
}

.guided-dashboard-footer > span {
    color: #778399;
    font-size: .68rem;
    line-height: 1.35;
}

.guided-dashboard-skip,
.guided-dashboard-reset {
    flex: 0 0 auto;
    padding: 8px 11px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: #2563a6;
    font: inherit;
    font-size: .72rem;
    font-weight: 700;
    cursor: pointer;
}

.guided-dashboard-skip { color: #526176; background: #edf3f8; }

.guide-focus {
    position: relative !important;
    z-index: 1001 !important;
    border-radius: 9px;
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px #f5a623, 0 8px 24px rgba(15, 23, 42, .24) !important;
    animation: guide-focus-pulse 1.7s ease-in-out infinite;
}

@keyframes guide-focus-pulse {
    50% { box-shadow: 0 0 0 3px #fff, 0 0 0 9px rgba(245, 166, 35, .45), 0 8px 24px rgba(15, 23, 42, .2); }
}

@media (prefers-reduced-motion: reduce) {
    .guided-dashboard, .guided-dashboard-overlay { transition: none; }
    .guide-focus { animation: none; }
}

@media (max-width: 620px) {
    .guided-dashboard { padding: 17px; }
    .guided-dashboard-footer > span { display: none; }
    .guided-dashboard-footer { justify-content: flex-end; }
}
