/* On-demand CRM guidance lives in the native dialog's top layer. */
.admin-topbar .navbar__action-list .crm-tour-launch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 30px;
    padding: 5px 9px;
    border: 1px solid var(--admin-brand-border, #dedfe3);
    border-radius: 6px;
    background: #fff;
    color: #454b56;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.admin-topbar .crm-tour-launch i { font-size: 16px; }
.admin-topbar .navbar__action-list .crm-tour-launch:hover { background: #f3f4f6; color: #151b25; }
.admin-topbar .crm-tour-launch[hidden], .crm-tour [hidden] { display: none !important; }
.crm-tour-open { overflow: hidden; }
.crm-tour {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: rgb(16 24 40 / 48%);
    color: #202632;
    font-family: var(--admin-font-family, sans-serif);
    overscroll-behavior: contain;
    z-index: 11000;
}
.crm-tour.crm-tour--interactive { pointer-events: none; }
.crm-tour--interactive .crm-tour__card, .crm-tour__shield { pointer-events: auto; }
.crm-tour__shield { position: fixed; background: transparent; }
.crm-tour::backdrop { background: transparent; }
.crm-tour.crm-tour--spotlight { background: transparent; }
.crm-tour__spotlight {
    position: fixed;
    border: 2px solid #fff;
    border-radius: 7px;
    box-shadow: 0 0 0 9999px rgb(16 24 40 / 48%), 0 0 0 4px rgb(255 255 255 / 18%);
    pointer-events: none;
}
.crm-tour__card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 390px;
    max-width: calc(100% - 24px);
    max-height: calc(100% - 24px);
    transform: translate(-50%, -50%);
    overflow-y: auto;
    padding: 24px;
    border: 1px solid #e3e5e9;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 64px rgb(16 24 40 / 22%);
    outline: none;
}
.crm-tour--spotlight .crm-tour__card { transform: none; }
.crm-tour__eyebrow {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 32px 10px 0;
    color: #687182;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.crm-tour__card h2 {
    margin: 0 20px 9px 0;
    color: #202632;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
}
.crm-tour__card p {
    margin: 0;
    color: #667080;
    font-size: 12px;
    line-height: 1.7;
}
.crm-tour__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #747d8b;
    font-size: 19px;
}
.crm-tour__close:hover { background: #f3f4f6; color: #202632; }
.crm-tour__close > span { color: inherit; font-size: 21px; line-height: 1; }
.crm-tour__catalog { display: grid; gap: 10px; margin-top: 20px; }
.crm-tour__choice {
    display: grid;
    gap: 5px;
    width: 100%;
    padding: 14px;
    border: 1px solid #e3e5e9;
    border-radius: 8px;
    background: #fff;
    text-align: start;
    font-family: inherit;
}
.crm-tour__choice:hover { border-color: #a8b0bd; background: #f9fafb; }
.crm-tour__choice:disabled { opacity: .55; cursor: default; }
.crm-tour__restart { justify-self: start; padding: 0 3px 5px; border: 0; background: transparent; color: #687182; font: inherit; font-size: 10px; }
.crm-tour__choice strong { color: #252c38; font-size: 13px; font-weight: 700; }
.crm-tour__choice span { color: #667080; font-size: 11px; line-height: 1.6; }
.crm-tour__choice small { margin-top: 4px; color: #454e5e; font-size: 10px; font-weight: 700; }
.crm-tour__progress { display: block; margin-top: 18px; color: #747d8b; font-size: 10px; font-weight: 600; }
.crm-tour__progress-track { height: 3px; margin-top: 9px; border-radius: 3px; background: #eceef1; overflow: hidden; }
.crm-tour__progress-track > div { height: 100%; border-radius: inherit; background: var(--admin-brand-primary, #454e5e); }
.crm-tour__card .crm-tour__body { margin-top: 14px; }
.crm-tour__card .crm-tour__action-hint { margin-top: 12px; padding: 8px 10px; border-radius: 6px; background: #f4f5f7; color: #454e5e; font-size: 11px; }
.crm-tour__footer { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 7px; margin-top: 20px; }
.crm-tour__navigation { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; margin-left: auto; }
.crm-tour--interactive .crm-tour__footer { position: sticky; bottom: -1px; padding-top: 10px; background: #fff; }
.crm-tour__button {
    min-height: 32px;
    padding: 6px 11px;
    border: 1px solid #dedfe4;
    border-radius: 6px;
    background: #fff;
    color: #454e5e;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
}
.crm-tour__button:hover { background: #f3f4f6; }
.crm-tour__button:disabled { opacity: .4; cursor: default; }
.crm-tour__button--primary { border-color: #293344; background: #293344; color: #fff; }
.crm-tour__button--primary:hover { background: #182131; color: #fff; }
.crm-tour__button--link { margin-right: auto; padding-left: 0; border-color: transparent; color: #747d8b; }
.crm-tour__button--link:hover { background: transparent; color: #202632; }
.crm-tour button:focus-visible, .admin-topbar .crm-tour-launch:focus-visible { outline: 2px solid #68758b; outline-offset: 3px; }
.crm-tour__hint { margin-top: 16px !important; font-size: 10px !important; color: #9096a1 !important; }
@media (max-width: 575px) {
    .admin-topbar .navbar__action-list .crm-tour-launch { width: 30px; padding: 5px; }
    .crm-tour-launch span { display: none; }
    .crm-tour__card { padding: 20px; }
    .crm-tour__card h2 { font-size: 17px; }
}
