/* =========================================================
   ORIENTATION OVERLAY
========================================================= */

.orientation-overlay {
    position: fixed;
    inset: 0;
    z-index: 950;
    background: rgba(13, 27, 42, .55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.orientation-overlay.show {
    display: flex;
}

.orientation-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    max-width: 720px;
    width: 100%;
    padding: 32px 36px;
    box-shadow: 0 30px 70px rgba(13, 27, 42,.35);
}

.orientation-eyebrow {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--primary);
    margin-bottom: 8px;
}

.orientation-title {
    font-size: 21px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}

.orientation-sub {
    font-size: 12.5px;
    color: var(--text-2);
    line-height: 1.5;
    margin-bottom: 22px;
}

.orientation-steps {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.orientation-step {
    flex: 1;
    text-align: center;
    padding: 12px 6px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.orientation-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: grid;
    place-items: center;
    margin: 0 auto 8px;
}

.orientation-step-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.3;
}

.orientation-step-desc {
    font-size: 9.5px;
    color: var(--text-3);
    margin-top: 3px;
    line-height: 1.3;
}

.orientation-arrow {
    align-self: center;
    color: var(--text-3);
    font-size: 15px;
    flex: 0 0 auto;
    padding-top: 20px;
}

.orientation-hint {
    margin-top: 18px;
    padding: 10px 13px;
    background: var(--primary-soft-2);
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: var(--text-2);
    line-height: 1.5;
}

@media (max-width: 760px) {
    .orientation-steps {
        flex-direction: column;
    }
    .orientation-arrow {
        transform: rotate(90deg);
        padding: 2px 0;
        align-self: center;
    }
}

.bk-disclaimer-history {
    margin-top: 6px;
}

.bk-disclaimer-history summary {
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    list-style: none;
}

.bk-disclaimer-history summary::-webkit-details-marker {
    display: none;
}

.bk-disclaimer-history summary::before {
    content: "▸ ";
}

.bk-disclaimer-history[open] summary::before {
    content: "▾ ";
}

.bk-disclaimer-history-item {
    margin-top: 6px;
    padding: 8px 10px;
    background: var(--surface-soft);
    border-left: 2px solid var(--border-strong);
    border-radius: 4px;
    font-size: 10.5px;
    color: var(--text-2);
    line-height: 1.5;
}

/* ---------- Pali + the automation note ---------- */

.orientation-mascot {
    width: 66px;
    height: 66px;
    margin-bottom: 14px;
    background: var(--mascot-image) center / contain no-repeat;
    filter: drop-shadow(0 6px 14px rgba(0, 113, 219, .28));
}

/* Steps that Autopilot can take over get a quiet blue tie-line. */
.orientation-step.is-auto {
    position: relative;
    border-radius: var(--radius-md);
    background: var(--primary-soft-2);
    box-shadow: inset 0 0 0 1px var(--primary-soft);
}

.orientation-auto-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 16px;
    padding: 11px 14px;
    border-radius: var(--radius-md);
    background: var(--primary-soft-2);
    border: 1px solid var(--primary-soft);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.orientation-auto-dot {
    width: 8px;
    height: 8px;
    margin-top: 5px;
    flex: none;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 113, 219, .16);
}
