/* Approved visitors sit in front of the viewer; only their speech controls
   receive input. The table stays draggable through the transparent layer. */
.visitor-stage{position:absolute;inset:0;z-index:8;pointer-events:none;overflow:hidden;isolation:isolate}
.visitor-stage #bo-layer,.visitor-stage #nanda-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.visitor-stage canvas{position:absolute;inset:0;pointer-events:none}
.visitor-stage [hidden]{display:none!important}
.visitor-stage .bo-bubble,.visitor-stage .nanda-bubble{position:absolute;z-index:2;box-sizing:border-box;max-width:calc(100% - 24px);max-height:var(--visitor-bubble-max-height,100%);padding:18px 19px;background:#fff;border:1px solid #dfe6e1;border-radius:20px;box-shadow:0 10px 34px #2f40451f;pointer-events:auto;overflow:auto;overscroll-behavior:contain;color:#303f43;font-family:Arial,Helvetica,sans-serif;text-align:left;line-height:1.4;animation:iar-visitor-hello .2s ease-out}
.visitor-stage .bo-bubble-name,.visitor-stage .nanda-name{display:block;margin:0 34px 5px 0;color:#667c83;font-size:14px;font-weight:700;line-height:1.35;letter-spacing:.025em}
.visitor-stage .bo-line,.visitor-stage .nanda-heading{margin:0 16px 12px 0;color:#30454a;font-size:22px;font-weight:600;line-height:1.2;letter-spacing:-.45px;text-wrap:pretty}
.visitor-stage .nanda-heading{margin-bottom:6px}
.visitor-stage .nanda-copy{margin:0;color:#627675;font-size:16px;line-height:1.4}
.visitor-stage .bo-dismiss,.visitor-stage .nanda-dismiss{position:absolute;top:2px;right:3px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#6c8183;font:26px/1 Arial,Helvetica,sans-serif;cursor:pointer}
.visitor-stage .bo-dismiss:hover,.visitor-stage .nanda-dismiss:hover{background:#f0f4f1;color:#344e55}
.visitor-stage .bo-replies,.visitor-stage .nanda-options{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.visitor-stage .nanda-options{margin-top:15px}
.visitor-stage .bo-replies button,.visitor-stage .nanda-choice{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;min-height:44px;padding:10px 11px;border:1px solid #dce5df;border-radius:11px;background:#f3f6f3;color:#34505a;font:600 14px/1.3 Arial,Helvetica,sans-serif;text-align:center;text-decoration:none;white-space:normal;cursor:pointer}
.visitor-stage .bo-replies button:first-child,.visitor-stage .nanda-choice-primary{background:#f2d1c3;border-color:#f2d1c3}
.visitor-stage .bo-replies button:hover,.visitor-stage .nanda-choice:hover{filter:brightness(.97)}
.visitor-stage button:focus-visible,.visitor-stage a:focus-visible{outline:3px solid #526e7b;outline-offset:-3px}
.visitor-stage [data-compact="true"] .bo-bubble,.visitor-stage [data-compact="true"] .nanda-bubble{padding:13px 14px;border-radius:17px}
.visitor-stage [data-compact="true"] .bo-line,.visitor-stage [data-compact="true"] .nanda-heading{margin-right:14px;font-size:20px;line-height:1.2}
.visitor-stage [data-compact="true"] .bo-replies,.visitor-stage [data-compact="true"] .nanda-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.visitor-stage [data-compact="true"] .bo-replies button,.visitor-stage [data-compact="true"] .nanda-choice{padding:7px 6px;font-size:13px;line-height:1.25}
.visitor-stage [data-compact="true"] .nanda-options{margin-top:11px}
.visitor-stage [data-compact="true"] .nanda-copy{font-size:15px;line-height:1.35}
.visitor-stage [data-short="true"] .bo-bubble,.visitor-stage [data-short="true"] .nanda-bubble{padding:8px 10px;border-radius:14px}
.visitor-stage [data-short="true"] .bo-bubble-name,.visitor-stage [data-short="true"] .nanda-name{font-size:11px;line-height:13px;margin-bottom:2px}
.visitor-stage [data-short="true"] .bo-line,.visitor-stage [data-short="true"] .nanda-heading{font-size:18px;line-height:1.15;margin-right:18px;margin-bottom:5px}
.visitor-stage [data-short="true"] .nanda-copy{font-size:13px;line-height:1.3}
.visitor-stage [data-short="true"] .nanda-options{margin-top:7px}
.visitor-stage [data-short="true"] .bo-replies button,.visitor-stage [data-short="true"] .nanda-choice{padding:6px;font-size:13px;line-height:1.2}
.visitor-stage [data-short="true"] .bo-dismiss,.visitor-stage [data-short="true"] .nanda-dismiss{top:0;right:0}
@keyframes iar-visitor-hello{from{opacity:0;transform:translateY(4px) scale(.98)}to{opacity:1;transform:none}}
.visitor-finish-highlight{outline:3px solid #c78e75;outline-offset:5px;border-radius:10px;background-color:#f9ece4;transition:background-color .15s ease-out}
@media(prefers-reduced-motion:reduce){.visitor-stage .bo-bubble,.visitor-stage .nanda-bubble{animation:none}.visitor-finish-highlight{transition:none}}

.visitor-stage [data-mode="welcome"] .nanda-options{grid-template-columns:minmax(0,1fr)}
.visitor-stage [data-mode="welcome"][data-welcome-step="2"][data-compact="true"] .nanda-options{grid-template-columns:repeat(2,minmax(0,1fr))}
