/* 2.1 brand and assistant interaction system */
.bizly-wordmark{object-fit:contain!important;border-radius:0!important;filter:none!important}.nav .bizly-wordmark{width:118px!important;height:46px!important}.footer .bizly-wordmark{width:154px!important}.auth-brand .bizly-wordmark{width:148px!important}.bizly-icon-img{object-fit:contain!important}.msg.ai .msg-av{background:transparent!important;padding:0!important;overflow:hidden}.msg.ai .msg-av img{width:100%;height:100%;object-fit:contain}.ai-source-label{font-weight:600;margin-right:10px}.ai-copy{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;margin-left:8px;padding:3px 6px;text-decoration:underline}.ai-service-notice{display:flex;flex-wrap:wrap;gap:8px;align-items:center;max-width:720px;margin:12px auto;padding:12px;border:1px solid var(--v2-rule,#d9dfdd);background:var(--v2-surface,#fff);border-radius:10px;color:var(--v2-ink,var(--tx));font-size:13px}.ai-service-notice span{flex:1 1 240px}.ai-service-notice button{min-height:40px;border:1px solid var(--v2-rule,#d9dfdd);padding:8px 12px;border-radius:7px;background:var(--v2-surface,#fff);color:var(--tx);cursor:pointer}#fab{background:#162a42!important;border-radius:22px!important}#fab-brand{width:100%!important;height:100%!important}#splash{background:var(--v2-surface,#f7f6f0)!important;animation:none!important}.splash-logo{background:transparent!important;border-radius:0!important;animation:none!important}.splash-name{color:var(--tx)!important}.splash-tag{color:var(--tx2)!important}.splash-bar{background:var(--v2-rule,#d9dfdd)!important}.splash-bar:after{background:#d5a34e!important}@media(max-width:600px){.nav .bizly-wordmark{width:98px!important;height:40px!important}.ai-service-notice{margin:8px;max-width:none}}@media(prefers-reduced-motion:reduce){#splash *,#fab{animation:none!important;transition:none!important}}

#bizly-ai-status[data-ai-ready=no]::before{background:#d5a34e}#bizly-ai-status[data-ai-ready=yes]::before{background:#4ade80}

.mnav-center-btn{background:#162a42!important;overflow:hidden}.mnav-center-btn img{width:100%;height:100%;object-fit:contain;display:block}.mnav-center{border:0!important;background:transparent!important}

/* Local preview key dialog: native focus trap and backdrop; no credentials in storage. */
.bz-preview-connect{display:inline-block;align-self:flex-start;border:1px solid #a9bfd5;border-radius:6px;background:transparent;color:#fff;font:inherit;font-size:12px;padding:4px 9px;min-height:28px;cursor:pointer;margin-top:4px}#bz-preview-dialog{max-width:min(460px,calc(100vw - 28px));width:100%;max-height:calc(100dvh - 28px);overflow:auto;border:1px solid var(--v2-rule,#d9dfdd);border-radius:14px;background:var(--v2-surface,#fff);color:var(--tx,#162a42);padding:24px;box-shadow:0 16px 60px #0005}#bz-preview-dialog::backdrop{background:#102033aa}#bz-preview-dialog h2{font-size:23px;margin:0 0 12px}#bz-preview-dialog p{font-size:14px;line-height:1.5;margin:0 0 12px}#bz-preview-dialog label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}#bz-preview-dialog input{width:100%;box-sizing:border-box;padding:12px;border:1px solid var(--v2-rule,#aab9c8);border-radius:8px;background:var(--v2-surface,#fff);color:inherit;font-size:16px}.bz-preview-warning{padding:12px;border-left:3px solid #b78032;background:var(--v2-rule,#e6e9ed);color:inherit}.bz-preview-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:12px}.bz-preview-actions button{min-height:44px;padding:8px 14px;border-radius:7px;cursor:pointer;border:1px solid var(--v2-rule,#aab9c8)}#bz-preview-error{margin-top:8px;color:var(--tx,#162a42)}.bz-preview-actions button[hidden]{display:none}#bz-preview-connect:focus-visible{outline:2px solid #e3b96e;outline-offset:2px}
#bz-preview-dialog{margin:auto;inset:0;box-sizing:border-box}#bz-preview-dialog .bz-preview-actions button:not(.btn-primary){background:var(--v2-surface,#fff);color:var(--tx,#162a42)}

/* Inline AI-to-human handoff: shared Bizly surface tokens, no modal overlay. */
#chat .human-handoff{width:min(100%,540px);margin:10px 0 6px;padding:18px;border:1px solid var(--v2-rule,var(--bd));border-radius:16px;background:var(--v2-surface,var(--sf));color:var(--tx);display:flex;flex-direction:column;gap:11px;box-shadow:0 5px 18px #162a4209;overflow-wrap:anywhere;animation:handoff-in .2s ease-out}
#chat .handoff-head{display:flex;align-items:center;gap:10px}.handoff-icon{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:10px;background:var(--v2-navy,#162a42);color:#fff}.handoff-icon svg{width:23px;height:23px}.handoff-kicker{font-size:10px;font-weight:750;letter-spacing:.12em;color:var(--v2-muted,var(--tx2))}.human-handoff h3{font-size:17px;font-weight:700;line-height:1.3;margin:0 0 5px;color:var(--tx)}.human-handoff p{font-size:13px;line-height:1.55;margin:0;color:var(--v2-muted,var(--tx2))}.human-handoff .handoff-note{padding-top:2px;font-size:12px}.handoff-btn{border:1px solid var(--v2-rule,var(--bd));border-radius:10px;min-height:44px;width:100%;padding:10px 13px;font:inherit;font-size:13px;font-weight:650;cursor:pointer;color:var(--tx);background:transparent;transition:background .15s,transform .15s,border-color .15s}.handoff-btn:hover{background:var(--sf2,var(--v2-paper));border-color:var(--v2-muted)}.handoff-btn:active{transform:scale(.99)}.handoff-btn:focus-visible{outline:3px solid #789bc3;outline-offset:2px}.handoff-btn.handoff-primary{background:#294f70;color:#fff;border-color:#294f70}.handoff-btn.handoff-primary:hover{background:#203f5d}.handoff-btn:disabled{opacity:.55;cursor:wait;transform:none}.handoff-context{display:flex;gap:8px;align-items:flex-start;font-size:12px;line-height:1.4;color:var(--tx2);cursor:pointer}.handoff-context input{accent-color:#294f70;flex:none;margin-top:2px;width:16px;height:16px}.human-handoff .handoff-excerpt{padding:8px 10px;border-left:2px solid #bd9755;background:var(--v2-paper,var(--sf2));border-radius:0 8px 8px 0;font-size:12px;max-height:90px;overflow:auto}.handoff-status{font-size:12px;color:var(--tx2);display:flex;align-items:center;gap:8px}.handoff-status:before{content:'';height:8px;width:8px;border-radius:50%;background:#bd9755;flex:none}.human-handoff[aria-busy=true] .handoff-status:before{animation:handoff-pulse 1s ease-in-out infinite}.human-handoff[data-state=declined],.human-handoff[data-state=cancelled],.human-handoff[data-state=closed]{box-shadow:none}.human-handoff[data-state=declined] .handoff-head,.human-handoff[data-state=cancelled] .handoff-head{display:none}#chat-input:disabled{opacity:.6;cursor:default}
@keyframes handoff-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes handoff-pulse{50%{opacity:.35}}@media(max-width:600px){#chat .human-handoff{padding:14px;border-radius:13px;gap:9px}.human-handoff h3{font-size:16px}.handoff-btn{min-height:46px}.human-handoff .handoff-excerpt{max-height:64px}}@media(prefers-reduced-motion:reduce){#chat .human-handoff,.handoff-status:before,.handoff-btn{animation:none;transition:none}}

/* 2.5 Threshold identity: distinct desktop launcher, existing mobile navigation retained. */
.nav .bizly-wordmark{width:132px!important;height:44px!important}.auth-brand .bizly-wordmark{width:164px!important;height:52px!important}.splash-logo img{width:84px;height:84px}.chat-head-av,.chat-welcome-av,.admin-logo-ic{overflow:hidden}.chat-head-av img,.chat-welcome-av img,.admin-logo-ic img{width:100%;height:100%;object-fit:contain}#fab{width:auto!important;min-width:146px;height:56px!important;border-radius:16px!important;padding:6px 15px 6px 6px!important;gap:9px;box-shadow:0 7px 24px #162a4235!important;border:1px solid #ffffff35!important}#fab-brand{width:42px!important;height:42px!important}#fab:after{content:'Ask Bizly';color:#f7f6f0;font-size:14px;font-weight:650;white-space:nowrap}#fab:hover{transform:translateY(-3px);background:#294f70!important}#fab:active{transform:translateY(0)}#fab:focus-visible{outline:3px solid #d5a34e;outline-offset:3px}.mnav-center-btn{border-radius:16px!important;box-shadow:0 4px 12px #162a4230!important}@media(max-width:600px){.nav .bizly-wordmark{width:108px!important;height:38px!important}}@media(prefers-reduced-motion:reduce){#fab:hover,#fab:active{transform:none!important}}

/* 2.5.1 integrated wordmark */
.integrated-splash{width:180px!important;height:85px!important;background:transparent!important;border-radius:0!important}.integrated-splash img{width:100%!important;height:100%!important;object-fit:contain}.integrated-admin .bizly-wordmark{width:104px;height:44px;object-fit:contain}.integrated-admin span{display:block;padding-left:5px}.nav .bizly-wordmark{width:112px!important;height:44px!important}
