#product-tour-dialog { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #211f1d; overflow: hidden; }
#product-tour-dialog::backdrop { background: transparent; }
/* Anchors must be at their final position before the tour measures them. */
body:has(#product-tour-dialog[open]) #side-nav { transition: none; }
#product-tour-dialog:not(.has-target) { background: rgb(24 32 34 / 34%); }
#product-tour-spotlight { position: fixed; border: 2px solid #72c7cb; border-radius: 6px; box-shadow: 0 0 0 9999px rgb(24 32 34 / 34%); pointer-events: none; }
.product-tour-card { position: fixed; display: flex; flex-direction: column; width: min(410px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: #fff; border-radius: 6px; box-shadow: 0 9px 32px rgb(0 0 0 / 28%); isolation: isolate; }
#product-tour-dialog[data-step="0"] .product-tour-card { width: min(750px, calc(100vw - 24px)); }
.product-tour-card::before { content: ""; display: block; height: 7px; flex: 0 0 7px; background: url("/images/product-tour-banner.jpg") center / cover; border-radius: 6px 6px 0 0; }
.product-tour-body { padding: 23px 24px 16px; overflow-y: auto; min-height: 0; }
.product-tour-counter { margin: 0 0 10px; color: #596461; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.product-tour-body h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.2; color: #211f1d; }
.product-tour-body h2:focus { outline: none; }
#product-tour-description p { margin: 0 0 14px; font-size: 15px; line-height: 1.48; }
.product-tour-dismiss { display: flex; align-items: center; gap: 8px; min-height: 32px; margin-top: 8px; font-size: 13px; cursor: pointer; }
.product-tour-dismiss input { width: 16px; height: 16px; margin: 0; accent-color: #345e62; }
#product-tour-error { margin: 8px 0 0; color: #a32918; font-size: 13px; }
.product-tour-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px 16px; flex: 0 0 auto; }
.product-tour-footer > div { display: flex; gap: 8px; }
.product-tour-footer button { min-height: 38px; padding: 8px 16px; border: 1px solid #35312e; border-radius: 4px; font: inherit; font-size: 14px; font-weight: 600; background: #fff; color: #211f1d; cursor: pointer; }
.product-tour-footer [data-tour-next] { background: #35312e; color: #fff; }
.product-tour-footer [data-tour-close] { border-color: transparent; padding-inline: 8px; font-weight: 400; }
.product-tour-footer button:hover { filter: brightness(.93); }
.product-tour-card :focus-visible { outline: 3px solid #287681; outline-offset: 3px; }
.product-tour-card button:disabled { opacity: .6; cursor: wait; }
.product-tour-arrow { position: absolute; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); z-index: -1; }
.product-tour-arrow[data-side="left"] { left: -8px; margin-top: -8px; }
.product-tour-arrow[data-side="right"] { right: -8px; margin-top: -8px; }
.product-tour-arrow[data-side="top"] { top: -8px; margin-left: -8px; }
.product-tour-arrow[data-side="bottom"] { bottom: -8px; margin-left: -8px; }
@media (max-width: 480px) { .product-tour-body { padding: 18px 18px 12px; } .product-tour-body h2 { font-size: 20px; } .product-tour-footer { gap: 4px; padding: 0 10px 12px; } .product-tour-footer button { padding-inline: 12px; } }
