/* Guided tutorial: shared page colours, click-through spotlight and coach card. */
.sb-tutorial-start { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 18px; padding: 10px 18px; border: 1px solid var(--sb-green, #00865a); border-radius: 999px; color: var(--sb-green-d, #006343) !important; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.sb-tutorial-start:hover { background: #e9f8f0; }
.sb-tutorial-start svg { width: 17px; height: 17px; }
.sb-tour { position: fixed; z-index: 3100; inset: 0; pointer-events: none; font-family: inherit; }
.sb-tour[hidden], .sb-tour [hidden] { display: none !important; }
.sb-tour-shade { position: absolute; background: rgba(10, 27, 23, .59); pointer-events: auto; }
.sb-tour-ring { position: absolute; border: 2px solid #b1efd2; border-radius: 12px; box-shadow: 0 0 0 3px rgba(255,255,255,.45); pointer-events: none; }
.sb-tour-card { position: absolute; width: min(380px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: visible; padding: 25px 24px 20px; color: #183b30; background: #fff; border-radius: 10px; box-shadow: 0 14px 55px rgba(0,0,0,.3); pointer-events: auto; box-sizing: border-box; line-height: 1.65; }
.sb-tour-card::before { content: ''; position: absolute; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); }
.sb-tour-card[data-arrow=""]::before { display: none; }
.sb-tour-card[data-arrow="top"]::before { top: -7px; left: calc(var(--tour-arrow) - 7px); }
.sb-tour-card[data-arrow="bottom"]::before { bottom: -7px; left: calc(var(--tour-arrow) - 7px); }
.sb-tour-card[data-arrow="left"]::before { left: -7px; top: calc(var(--tour-arrow) - 7px); }
.sb-tour-card[data-arrow="right"]::before { right: -7px; top: calc(var(--tour-arrow) - 7px); }
.sb-tour-card button { font: inherit; cursor: pointer; }
.sb-tour-card button:focus-visible, .sb-tutorial-start:focus-visible { outline: 3px solid #eebd46; outline-offset: 3px; }
.sb-tour-close { position: absolute; top: 5px; right: 8px; display: grid; width: 32px; height: 32px; padding: 0; place-items: center; color: #647b73; background: transparent; border: 0; border-radius: 6px; font-size: 24px !important; }
.sb-tour-count { margin: 0 24px 3px 0; color: #00845b; font-size: 13px; font-weight: 700; }
.sb-tour-demo { margin: 0 20px 10px 0; color: #886019; font-size: 12px; font-weight: 600; }
.sb-tour-card h2 { margin: 0 12px 6px 0; color: #143b2e; font-size: 19px; font-weight: 700; line-height: 1.45; }
.sb-tour-card #sb-tour-text { margin: 0; color: #61746c; font-size: 14px; }
.sb-tour-card.is-gallery { overflow-y: auto; }
.sb-tour-card.is-gallery .sb-tour-actions { position: sticky; bottom: -20px; margin-bottom: -20px; padding-block: 10px 20px; background: #fff; }
.sb-tour-instructions { display: grid; gap: 9px; margin: 14px 0 0; padding-left: 23px; color: #284f40; font-size: 14px; line-height: 1.65; }
.sb-tour-instructions li::marker { color: #00845b; font-weight: 700; }
.sb-tour-note { margin: 14px 0 0; padding: 10px 12px; border-radius: 8px; color: #34634e; background: #eef8f2; font-size: 12px; line-height: 1.6; }
.sb-tour-dots { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 16px; }
.sb-tour-dots i { width: 6px; height: 6px; background: #dce9e2; border-radius: 50%; }
.sb-tour-dots i.is-current { width: 19px; background: #00845b; border-radius: 6px; }
.sb-tour-actions { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.sb-tour-actions > span { flex: 1; }
.sb-tour-actions button { min-height: 42px; padding: 8px 12px; border: 0; border-radius: 7px; background: transparent; color: #284f40; font-size: 14px; font-weight: 600; white-space: nowrap; }
.sb-tour-actions [data-tour-skip] { padding-left: 0; color: #71837b; }
.sb-tour-actions button:disabled { opacity: .35; cursor: default; }
.sb-tour-actions .sb-tour-next { padding-inline: 18px; color: #fff; background: #00845b; }
.sb-tour-actions .sb-tour-next:hover { background: #006b49; }
.sb-tour-smile { display: none; color: #00845b; font-size: 48px; line-height: 1.2; margin-bottom: 12px; }
.sb-tour.is-finished .sb-tour-smile { display: block; }
.sb-tour.is-finished .sb-tour-count, .sb-tour.is-finished .sb-tour-dots { display: none; }
body.has-sb-tour .sb-bar, body.has-sb-tour .wc-bar, body.has-sb-tour .back-to-top { visibility: hidden; }
@media (max-width: 640px) {
    .sb-tour-card { padding: 20px 18px 16px; }
    .sb-tour-card h2 { font-size: 17px; }
    .sb-tour-card #sb-tour-text { font-size: 13px; }
    .sb-tour-instructions { gap: 7px; font-size: 13px; }
    .sb-tour-actions { margin-top: 10px; }
    .sb-tour-card.is-gallery .sb-tour-actions { bottom: -16px; margin-bottom: -16px; padding-bottom: 16px; }
}
@media (max-height: 480px) {
    .sb-tour-card { overflow-y: auto; }
    .sb-tour-card::before { display: none; }
}
