.guest-shell { height:var(--shell-viewport-height,100dvh); min-height:0; display:grid; grid-template-rows:auto minmax(0,1fr) auto; background:var(--bg); color:var(--txt); padding-top:var(--shell-safe-top,0px); box-sizing:border-box; }
.guest-top { display:flex; align-items:center; gap:20px; min-height:68px; padding:10px max(20px,var(--shell-safe-right,0px)) 10px max(20px,var(--shell-safe-left,0px)); background:var(--bg2); border-bottom:1px solid var(--steel-hi); }
.guest-brand { display:flex; align-items:center; gap:10px; min-height:44px; background:none; border:0; color:var(--gold); cursor:pointer; padding:0; }
.guest-tagline,.guest-demo-label { color:var(--txt-lo); font-size:12px; }
.guest-demo-label { color:var(--gold); }
.guest-top-actions { margin-left:auto; display:flex; gap:8px; align-items:center; }
.guest-top-actions .po-button,.guest-welcome>.po-button { min-height:44px; }
.guest-main { position:relative; min-height:0; min-width:0; overflow:hidden; display:flex; flex-direction:column; }
.guest-main > .guest-map { flex:1; min-height:0; width:100%; position:relative; }
.guest-main .map-canvas { position:absolute; inset:0; }
.guest-bottom { display:flex; align-items:center; justify-content:center; gap:12px; padding:8px 12px calc(8px + var(--shell-safe-bottom,0px)); background:var(--bg2); border-top:1px solid var(--steel-hi); }
.guest-bottom button { display:flex; gap:7px; justify-content:center; align-items:center; border:1px solid transparent; color:var(--txt-lo); padding:9px 16px; border-radius:7px; background:none; min-height:44px; cursor:pointer; }
.guest-bottom button[aria-current=page] { color:var(--gold-hi); background:var(--accent-soft); border-color:var(--gold-lo); }
.tp-modal.guest-dialog { width:min(540px,calc(100vw - 24px)); height:auto; max-height:calc(var(--shell-viewport-height,100dvh) - 24px - var(--shell-safe-top,0px) - var(--shell-safe-bottom,0px)); overflow:auto; padding:32px; border-radius:12px; }
.guest-close { position:absolute; z-index:2; top:8px; right:8px; display:grid; place-items:center; width:44px; height:44px; border:0; border-radius:7px; background:transparent; color:var(--txt-lo); cursor:pointer; font-size:26px; }
.guest-welcome { display:flex; flex-direction:column; gap:12px; padding-top:12px; }
.guest-welcome h1,.guest-help h1,.email-verification h1 { font-size:28px; line-height:1.25; color:var(--txt-hi); letter-spacing:-.6px; margin:0 28px 2px 0; }
.guest-lead { color:var(--txt-lo); font-size:15px; margin:0; line-height:1.6; }
.guest-welcome h1 { display:flex; align-items:center; gap:.36em; }
.guest-welcome h1 .ui-icon { width:1.35em; height:1.35em; object-fit:contain; }
.guest-welcome ul { padding:8px 0; margin:0; list-style:none; display:grid; gap:16px; }
.guest-welcome li { display:flex; gap:12px; align-items:center; font-size:14px; }
.guest-welcome li .ui-icon { color:var(--gold); width:20px; height:20px; flex:none; }
.guest-welcome > small { font-size:11px; line-height:1.6; color:var(--txt-lo); text-align:center; }
.guest-text-button,.guest-auth-links button { border:0; background:none; padding:8px; min-height:44px; color:var(--gold); cursor:pointer; }
.guest-auth-links { display:flex; gap:8px; justify-content:center; border-top:1px solid var(--steel-hi); padding-top:8px; margin-top:8px; font-size:11px; }
.guest-auth .lp-page { position:relative; z-index:0; height:auto!important; min-height:0; overflow:visible; background:none; }
.guest-auth :is(.lp-bg,.lp-overlay,.lp-logo,.lp-footer) { display:none; }
.guest-auth .lp-center { position:static; display:flex; flex-direction:column; height:auto; width:100%; min-height:0; padding:0; overflow:visible; }
.guest-auth .lp-card { flex:none; overflow:visible; width:100%; max-width:100%; padding:0; margin:0; border:0; box-shadow:none; background:none; }
.guest-auth .lp-form { flex:none; max-height:none; overflow:visible; }
.guest-auth .lp-form-body { flex:none; overflow:visible; }
.guest-auth .lp-form-title { padding-right:25px; }
.guest-demo-workspace { display:flex; flex-direction:column; flex:1; min-width:0; min-height:0; overflow:hidden; }
.guest-demo-workspace > .personal-orders-page { flex:1; min-height:0; height:auto; }
.guest-demo-guide { padding:10px 20px; color:var(--txt-lo); font-size:12px; line-height:1.6; border-bottom:1px solid var(--steel-hi); }
.guest-demo-guide strong { color:var(--gold-hi); }
.guest-signup-hint { position:absolute; z-index:705; left:50%; bottom:12px; transform:translateX(-50%); width:min(360px,calc(100% - 28px)); box-sizing:border-box; padding:16px; border:1px solid var(--steel-hi); border-radius:12px; background:var(--bg2); color:var(--txt); box-shadow:var(--shadow-panel); }
.guest-signup-hint strong { display:block; padding-right:32px; color:var(--txt-hi); font-size:16px; }
.guest-signup-hint p { margin:8px 0 12px; font-size:13px; line-height:1.5; }
.guest-signup-hint .guest-close { top:3px; right:3px; }
.guest-signup-hint .po-button { min-height:44px; }
.guest-help { line-height:1.75; color:var(--txt-lo); font-size:14px; }
.guest-help h2 { color:var(--txt-hi); font-size:17px; margin:24px 0 4px; }
.guest-help h1 { margin-top:12px; }
.guest-help p { margin:14px 0; }
.guest-faq a { color:var(--gold-hi); text-decoration:underline; text-underline-offset:.2em; }
.email-verification { display:grid; gap:16px; padding-top:12px; font-size:14px; line-height:1.65; }
.email-verification p { margin:0; }
.launch-consent { position:fixed; z-index:10050; left:16px; bottom:calc(90px + var(--shell-safe-bottom,0px)); width:min(560px,calc(100vw - 32px)); padding:16px; background:var(--bg2); color:var(--txt-hi); border:1px solid var(--steel-hi); box-shadow:var(--shadow-panel); border-radius:10px; }
.launch-consent p,.launch-consent-settings p { margin:0 0 10px; font-size:13px; line-height:1.5; }
.launch-consent small,.launch-consent-settings small { display:block; margin-top:5px; color:var(--txt-lo); font-size:11px; }
.launch-consent > div,.launch-consent-settings > div { display:flex; flex-wrap:wrap; gap:8px; }
.guest-dialog .launch-consent,.guest-demo-workspace .launch-consent { position:static; width:auto; flex:none; margin:8px 0 0; padding:12px; box-shadow:none; }
.guest-dialog .launch-consent { background:var(--bg); }
.guest-demo-workspace .launch-consent { border-radius:0; margin:0; padding:8px 20px; }
.guest-demo-workspace .launch-consent > div { flex-shrink:0; }
.guest-demo-workspace .launch-consent p { margin-bottom:6px; }
.launch-consent-settings { padding:20px; border:1px solid var(--steel-hi); border-radius:10px; margin:16px; line-height:1.7; }
.launch-consent-settings > span { display:block; margin-bottom:10px; color:var(--gold-hi); }
.pd-page { padding:20px; overflow:auto; min-height:0; color:var(--txt); }
.pd-toolbar { display:flex; align-items:end; gap:12px; flex-wrap:wrap; margin-bottom:16px; }
.pd-toolbar label { display:grid; gap:7px; font-size:12px; }
.pd-toolbar select { min-height:42px; padding:8px 12px; border:1px solid var(--steel-hi); border-radius:6px; background:var(--bg2); color:var(--txt-hi); }
.pd-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:20px 0; border-block:1px solid var(--steel-hi); }
.pd-stats > div { padding:16px 0; }
.pd-stats dt { font-size:12px; color:var(--txt-lo); }
.pd-stats dd { font-size:28px; color:var(--txt-hi); margin:8px 0 0; }
.pd-section { margin:24px 0; }
.pd-section h3 { color:var(--txt-hi); font-size:16px; margin-bottom:12px; }
.pd-section table { width:100%; border-collapse:collapse; }
.pd-section td { border-bottom:1px solid var(--steel-hi); padding:10px; font-size:13px; }
.pd-section td:last-child { text-align:right; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media(max-width:650px){
  .guest-top { padding:8px 12px; gap:8px; min-height:58px; flex-wrap:wrap; }
  .guest-tagline { display:none; }
  .guest-demo-label { font-size:10px; flex:1; }
  .guest-top-actions { gap:4px; }
  .guest-top-actions .po-button { padding:7px; font-size:11px; }
  .tp-modal.guest-dialog { width:calc(100vw - 16px); max-width:calc(100vw - 16px); padding:24px 18px; }
  .guest-welcome h1,.guest-help h1,.email-verification h1 { font-size:24px; }
  .guest-welcome h1 { font-size:clamp(18px,5vw,24px); }
  .guest-welcome { gap:10px; }
  .guest-welcome li { font-size:12px; }
  .guest-bottom { gap:4px; }
  .guest-bottom button { font-size:11px; padding:8px; }
  .guest-demo-guide { padding:8px 12px; font-size:11px; }
  .pd-page { padding:12px; }
  .pd-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pd-section td { padding:8px 0; font-size:12px; }
}
@media(max-height:500px) and (orientation:landscape){
  .guest-top { min-height:44px; padding-block:5px; }
  .guest-bottom { padding-block:3px; }
  .guest-demo-guide { display:none; }
}

.guest-welcome > .po-primary { background:var(--gold); border-color:var(--gold); color:var(--on-accent); font-weight:700; }
.safety-form { display:grid; gap:14px; font-size:13px; line-height:1.7; margin-top:18px; }
.safety-link { border:0; background:none; color:var(--txt-lo); text-decoration:underline; text-underline-offset:3px; font:inherit; font-size:12px; min-width:44px; min-height:44px; padding:8px 7px; cursor:pointer; }
.safety-link:hover { color:var(--gold-hi); }
.safety-actions { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.ms-window > .safety-actions { padding:0 14px; border-bottom:1px solid var(--steel-hi); }
.safety-blocked { padding:16px 0; border-bottom:1px solid var(--steel-hi); display:flex; justify-content:space-between; align-items:center; gap:12px; }
.safety-report { padding:18px; margin:16px 0; border:1px solid var(--steel-hi); border-radius:8px; font-size:14px; }
.safety-report blockquote { margin:12px 0; padding:12px; border-left:2px solid var(--gold); background:var(--bg2); white-space:pre-wrap; overflow-wrap:anywhere; }
.social-person > .safety-actions { order:5; flex-basis:100%; }

.social-person { flex-wrap:wrap; }

/* Demo starts with the same map-first entry and isolated example cards. */
.guest-map-actions{position:absolute;top:16px;left:50%;transform:translateX(-50%);z-index:700;display:flex;gap:6px;padding:5px;background:var(--bg2);border:1px solid var(--steel-hi);border-radius:10px;max-width:calc(100% - 24px)}
.guest-map-actions button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 14px;border:0;border-radius:6px;background:transparent;color:var(--txt-hi);font:600 13px var(--font-ui);cursor:pointer;white-space:nowrap}
.guest-map-actions button:hover{background:var(--accent-soft)}.guest-map-actions button:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}.guest-map-actions button>span{color:var(--txt-lo);font-size:12px}
.tp-modal.guest-example-dialog,.tp-modal.guest-tasks-dialog{width:min(680px,calc(100vw - 24px))}.guest-tasks-dialog h1{font-size:23px;color:var(--txt-hi);padding-right:28px;margin:12px 0}.guest-demo-task-list{display:grid;gap:8px;margin-top:16px}.guest-demo-task-list>button{display:grid;gap:6px;text-align:left;min-width:0;padding:14px;background:var(--bg);color:var(--txt);border:1px solid var(--steel-hi);border-radius:8px;cursor:pointer;overflow-wrap:anywhere;font:inherit}.guest-demo-task-list strong{font-size:15px;color:var(--txt-hi)}.guest-demo-task-list span{font-size:12px;color:var(--txt-lo)}
.guest-faq-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.guest-faq-list{margin-bottom:20px}.guest-faq-list details{border-bottom:1px solid var(--steel-hi);padding:4px 0}.guest-faq-list summary{cursor:pointer;min-height:44px;display:list-item;align-content:center;color:var(--txt-hi);font-weight:600;padding:10px 4px;line-height:1.5}.guest-faq-list summary:focus-visible{outline:2px solid var(--gold)}.guest-faq-list p{margin:2px 0 14px}.guest-faq .po-button{min-height:44px}
@media(max-width:650px){.guest-map-actions{top:12px}.guest-map-actions button{font-size:12px;padding:8px 11px}.guest-bottom button{flex-direction:column;gap:5px;min-width:0;flex:1}.guest-bottom{gap:0}.guest-demo-label{max-width:110px;line-height:1.4}.guest-top-actions .po-button{min-height:44px}.guest-faq-actions{display:grid}.guest-faq-actions>button{width:100%}}

.guest-demo-loading{position:absolute;z-index:750;top:16px;left:50%;transform:translateX(-50%);max-width:calc(100% - 24px);padding:12px 16px;border:1px solid var(--steel-hi);border-radius:8px;background:var(--bg2);color:var(--txt-hi);font-size:13px}.guest-demo-loading button{display:block;margin-top:8px}
