/* The tour uses a native modal dialog, leaving underlying links inactive. */
dialog.app-tour { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: transparent; color: var(--ui-color-text, #243047); }
dialog.app-tour::backdrop { background: transparent; }
.app-tour-spotlight { position: absolute; border: 2px solid #fff; border-radius: 8px; box-shadow: 0 0 0 9999px rgba(15, 23, 42, .55); pointer-events: none; }
.app-tour-card { position: absolute; width: 340px; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; padding: 20px; border: 1px solid var(--ui-color-border, #e1e5ed); border-radius: 14px; background: #fff; box-shadow: 0 12px 36px #10182826; }
.app-tour-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 8px; }
.app-tour-progress { color: var(--ui-color-text-muted, #667085); font-size: 12px; font-weight: 600; }
.app-tour .app-tour-close { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #667085; font-size: 24px; }
.app-tour .app-tour-close:hover { background: #f2f4f7; }
.app-tour #app-tour-title { margin: 0 0 10px; color: var(--ui-color-text, #243047); font-size: 20px; line-height: 1.3; font-weight: 650; }
.app-tour #app-tour-description { margin: 0; color: #475467; font-size: 14px; line-height: 1.6; }
.app-tour-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.app-tour-actions button { min-height: 42px; padding: 9px 18px; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; color: #344054; font-size: 14px; font-weight: 600; }
.app-tour-actions .app-tour-next { margin-left: auto; border-color: var(--theme-800, #5925dc); background: var(--theme-800, #5925dc); color: #fff; }
.app-tour-actions button:disabled { visibility: hidden; }
.app-tour button:focus-visible { outline: 3px solid var(--theme-700, #5925dc); outline-offset: 3px; }
body.app-tour-active .thetop > aside.side-bar { display: flex !important; flex-direction: column; width: 256px !important; min-width: 256px; }
body.app-tour-active .side-bar .chiled { display: none !important; }
@media (max-width: 991px) {
    body.app-tour-active .thetop > aside.side-bar { position: fixed !important; inset: 0 auto 0 0; height: 100dvh !important; z-index: 1000; }
}
