/* Customer-facing actions use existing theme tokens; the map remains the starting screen. */
.portal-root>.customer-tour{position:fixed;inset:0;pointer-events:none}
.customer-tour-mask{position:fixed;background:rgba(0,0,0,.56);pointer-events:auto}
.customer-tour-focus{position:fixed;pointer-events:none;border:2px solid var(--gold);border-radius:9px;transition:left .18s ease,top .18s ease,width .18s ease,height .18s ease;animation:customer-tour-pulse 1.8s ease-in-out infinite}
.customer-tour-card{position:fixed;left:12px;top:20%;width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;padding:16px 18px 18px;pointer-events:auto;background:var(--bg2);color:var(--txt-hi);border:1px solid var(--steel-hi);border-radius:12px;box-shadow:var(--shadow-panel);font:inherit;box-sizing:border-box}
.customer-tour-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.customer-tour-progress{font-size:12px;color:var(--txt-lo);line-height:1.5;overflow-wrap:anywhere}
.customer-tour-skip{width:44px;min-height:44px;flex:none;border:0;border-radius:8px;background:transparent;color:var(--txt-lo);font:inherit;font-size:25px;cursor:pointer}
.customer-tour-card :is(h1,h2){font-size:19px;line-height:1.35;margin:7px 0 12px;letter-spacing:0;text-transform:none;font-weight:650;overflow-wrap:anywhere}
.customer-tour-card p{white-space:pre-line;font-size:14px;line-height:1.65;margin:0 0 18px;color:var(--txt);overflow-wrap:anywhere}
.customer-tour-actions{display:flex;gap:8px;justify-content:space-between}
.customer-tour-actions button{min-height:44px;flex:1;justify-content:center}
.customer-tour-card small{display:block;font-size:11px;line-height:1.55;color:var(--txt-lo);margin-top:13px;overflow-wrap:anywhere}
.customer-tour-card button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.customer-tour-copy{animation:customer-tour-appear .18s ease-out}
.customer-tour-brand{display:block;width:56px;height:56px;margin:4px 0 12px;object-fit:contain}
.customer-tour-copy:has(.customer-tour-brand) :is(h1,h2){font-size:clamp(21px,4vw,25px);line-height:1.18;letter-spacing:-.025em;margin-bottom:12px;text-wrap:balance}
.prof-customer-history,.prof-customer-reminder,.prof-customer-community{margin:16px 0;min-width:0}
.prof-customer-history>button,.prof-customer-reminder>button{min-height:44px;display:flex;justify-content:center;width:100%;border:1px solid var(--steel-hi);border-radius:8px;background:var(--bg3,var(--bg));color:var(--txt-hi);font:inherit;font-size:13px;padding:10px 14px;cursor:pointer}
.prof-customer-community p,.prof-customer-reminder p{font-size:13px;line-height:1.6;color:var(--txt-lo);margin:7px 0 12px;overflow-wrap:anywhere}
.prof-customer-reminder{padding:14px;border:1px solid var(--steel-hi);border-radius:9px;background:var(--bg3,var(--bg))}
.prof-customer-reminder strong{display:block;font-size:14px;line-height:1.5;color:var(--txt-hi);overflow-wrap:anywhere}
.prof-customer-history .prof-review{width:100%;text-align:left;color:var(--txt-hi);font:inherit;cursor:pointer;background:transparent;border:0;border-top:1px solid var(--steel);padding:11px 0;min-height:44px}
.prof-customer-history .prof-review-client{overflow-wrap:anywhere;white-space:normal}
.prof-customer-history .prof-section-title{margin-top:0}
.prof-customer-tour{min-height:44px}
.prof-popup button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
@keyframes customer-tour-pulse{0%,100%{border-color:var(--gold)}50%{border-color:var(--gold-hi,var(--gold))}}
@keyframes customer-tour-appear{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(max-width:420px){.customer-tour-card{padding:12px 14px 16px}.customer-tour-card :is(h1,h2){font-size:18px}.customer-tour-card p{font-size:13px}.customer-tour-card small{font-size:11px}}
@media(prefers-reduced-motion:reduce){.customer-tour-focus,.customer-tour-copy{animation:none;transition:none}}

.demo-tour-intro {
  padding:clamp(16px,4vw,24px);
  background:radial-gradient(ellipse at top left,var(--accent-soft),transparent 65%),var(--bg2);
}
.demo-tour-intro .customer-tour-copy {display:grid;grid-template-columns:48px 1fr;align-items:center;gap:0 12px}
.demo-tour-intro .customer-tour-brand {width:48px;height:48px;margin:8px 0}
.demo-tour-mode {color:var(--gold-hi);font-size:13px;line-height:1.35}
.demo-tour-intro .customer-tour-copy h1,.demo-tour-intro .customer-tour-copy p {grid-column:1/-1}
.demo-tour-intro .customer-tour-copy p {font-size:15px;line-height:1.55}
.demo-tour-intro .customer-tour-actions .po-primary {flex:1.3}
.demo-tour-about {display:inline-flex;align-items:center;min-height:44px;margin-top:4px;color:var(--gold-hi);font-size:14px;text-underline-offset:.2em}
.guest-tasks-dialog .guest-demo-notice {margin:10px 0 18px;padding:10px 13px;border-inline-start:3px solid var(--gold);background:var(--accent-soft);color:var(--txt-hi);font:500 15px/1.5 var(--font-ui)}
