/* Match the site's pale plastic surfaces and rounded controls. */
.guided-tour { --tour-ink: #152033; --tour-muted: #526777; --tour-blue: #246a96; opacity: 1 !important; animation: none !important; color: var(--tour-ink); }
.guided-tour [hidden], .guided-tour[hidden] { display: none !important; }
.tour-spotlight { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1490; pointer-events: none; }
/* Only the mask's outer contour moves; highlighted content stays fully lit. */
.tour-spotlight-openings { opacity: 1; }
.tour-panel, .guided-tour .tour-launcher {
    position: fixed; z-index: 1500; right: 24px; bottom: 24px;
    background: #f6f8f9; border: 1px solid #bcc8cf;
    box-shadow: 0 10px 24px rgba(24, 70, 105, .16), 0 2px 3px rgba(24, 70, 105, .1), inset 0 2px 1px #fff, inset 0 -1px 1px #d3dee4;
    font-family: inherit;
}
.tour-panel {
    width: min(380px, calc(100vw - 48px)); box-sizing: border-box;
    padding: 18px 22px 20px; border-radius: 28px; max-height: calc(100dvh - 120px);
    overflow-y: auto; scrollbar-width: thin; scrollbar-color: #b6cbd8 transparent; overscroll-behavior: contain;
}
.tour-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tour-eyebrow { color: var(--tour-blue); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tour-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0 0 18px; padding: 4px; border-radius: 999px; background: #e8eff3; list-style: none; }
.tour-progress li { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 30px; border-radius: 999px; color: var(--tour-muted); font-size: 11px; font-weight: 650; white-space: nowrap; }
.tour-progress [data-state="current"] { color: #194e72; background: #fff; box-shadow: 0 1px 3px rgba(24, 70, 105, .1); }
.tour-progress [data-state="complete"] { color: #246a96; }
.tour-step-number { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 10px; }
.tour-progress [data-state="current"] .tour-step-number { color: #fff; background: var(--tour-blue); }
.tour-progress [data-state="complete"] .tour-step-number { background: #d6e9f4; }
.tour-panel h2 { margin: 0 0 8px; font-size: 21px; font-weight: 750; letter-spacing: -.025em; line-height: 1.2; color: var(--tour-ink); }
.tour-copy { margin: 0; color: #334b5d; font-size: 14px; line-height: 1.5; }
.tour-note { margin: 12px 0 0; padding-left: 11px; border-left: 2px solid #b4d7eb; color: var(--tour-muted); font-size: 12px; line-height: 1.5; }
.tour-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tour-panel > .tour-actions:not(:has(button:not([hidden]))) { display: none; }
.tour-panel > .tour-actions { margin-top: 16px; }
.guided-tour button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 40px; padding: 9px 16px; border: 1px solid #c3d1da; border-radius: 999px;
    background: #f6f8f9; color: var(--tour-ink); font: inherit; font-size: 13px; font-weight: 700; line-height: 1.25;
    cursor: pointer; box-shadow: 0 2px 3px rgba(24, 70, 105, .08), inset 0 1px 1px #fff;
    transition: background-color .15s ease, box-shadow .15s ease; -webkit-tap-highlight-color: transparent;
}
.guided-tour button:hover:not(:disabled) { background: #fff; box-shadow: 0 3px 6px rgba(24, 70, 105, .13), inset 0 1px 1px #fff; }
.guided-tour button:active:not(:disabled) { box-shadow: inset 0 1px 3px rgba(24, 70, 105, .13); }
.guided-tour .tour-primary { background: #deeff9; border-color: #bbd7e8; color: #174c70; min-height: 42px; padding-inline: 22px; }
.guided-tour .tour-primary:hover:not(:disabled) { background: #cfe8f7; }
.guided-tour button:disabled { opacity: .55; cursor: default; box-shadow: none; }
.guided-tour .tour-close { flex-shrink: 0; width: 32px; height: 32px; min-height: 32px; padding: 0; border: 0; color: #607888; background: #e9eff3; box-shadow: none; }
.guided-tour .tour-launcher { padding: 12px 20px; min-height: 44px; color: #215b80; font-size: 13px; }
.guided-tour button:focus-visible, .guided-tour summary:focus-visible, .guided-tour select:focus-visible { outline: 3px solid #3292c8; outline-offset: 3px; }
.tour-details { margin-top: 10px; }
.guided-tour summary { width: fit-content; cursor: pointer; color: var(--tour-blue); font-size: 12px; font-weight: 650; line-height: 1.5; padding-block: 5px; }
.tour-details p { margin: 5px 0 0; color: var(--tour-muted); font-size: 12px; line-height: 1.5; }
.tour-admin-controls { margin-top: 14px; border-top: 1px solid #dce5eb; padding-top: 6px; }
.tour-admin-controls > summary { color: #607888; font-size: 11px; }
.tour-admin-note { margin: 8px 0; color: var(--tour-muted); font-size: 11px; line-height: 1.4; }
.tour-admin-controls label { display: block; font-size: 11px; color: var(--tour-muted); margin-bottom: 4px; }
.tour-admin-controls select { display: block; box-sizing: border-box; width: 100%; min-height: 38px; border: 1px solid #c3d1da; border-radius: 12px; background: #fff; padding: 8px 10px; color: var(--tour-ink); font: inherit; font-size: 12px; margin-bottom: 10px; }
.tour-admin-controls button { min-height: 34px; padding: 7px 12px; font-size: 11px; }
.tour-target { scroll-margin-block: 100px; }
body.tour-open { padding-bottom: var(--tour-space, 260px); }
.tour-panel--compact { padding-block: 12px 16px; }
.tour-panel--compact .tour-header { margin-bottom: 4px; }
.tour-panel--compact .tour-progress { display: none; }
.tour-panel--compact h2 { font-size: 18px; }
.tour-panel--compact .tour-copy { font-size: 13px; }
@media (max-width: 600px) {
    .tour-panel, .guided-tour .tour-launcher { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
    .tour-panel { width: calc(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)); padding: 12px 18px 16px; border-radius: 24px; max-height: 46dvh; }
    .tour-header { margin-bottom: 8px; }
    .tour-progress { margin-bottom: 14px; }
    .tour-panel h2 { font-size: 19px; }
    .tour-copy { font-size: 13px; line-height: 1.45; }
    .tour-note { margin-top: 10px; font-size: 11px; }
    .tour-panel > .tour-actions { margin-top: 12px; }
    .guided-tour .tour-primary { min-height: 44px; }
    .tour-admin-controls button { min-height: 40px; }
    .tour-panel--compact { padding-block: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .guided-tour *, .tour-target { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
