/* Business Web only: preferences never change the owner's dashboard. */
.bw-settings-dialog{width:min(480px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid var(--line);border-radius:16px;padding:0;background:var(--panel);color:var(--ink);box-shadow:var(--shadow)}
.bw-settings-dialog::backdrop{background:#08122688}.bw-settings-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid var(--line)}.bw-settings-dialog h2{font-size:20px;margin:0}.bw-settings-dialog header button{border:0;background:transparent;color:inherit;font-size:26px;cursor:pointer}.bw-settings-body{padding:20px;display:grid;gap:18px}.bw-settings-body label{display:grid;gap:8px;font-size:14px;font-weight:600}.bw-settings-body select{width:100%;padding:11px;border:1px solid var(--line);border-radius:8px;background:var(--cream);color:var(--ink);font:inherit}.bw-settings-body p{font-size:13px;line-height:1.6;margin:0}.bw-settings-body .secondary{padding:10px}.bw-settings-body small{color:var(--muted);line-height:1.5}
#appView .bw-message-text,#appView .composer textarea{font-size:var(--bw-chat-font,15px)!important}#appView .bw-message-text{line-height:1.55}#appView .message-meta{font-size:10px!important}
html[data-theme="dark"] .bw-policy-note.blocked{background:#342821;color:#ffba88}html[data-theme="dark"] .bw-auth-form input,html[data-theme="dark"] .bw-phone-fields select{background:var(--cream);color:var(--ink)}html[data-theme="dark"] .bw-text-button{color:var(--green)}
.bw-toolbar{flex-wrap:wrap;white-space:normal;justify-content:flex-end}.bw-toolbar button{max-width:100%;overflow-wrap:anywhere}#appView.bw-app{grid-template-rows:minmax(76px,auto) minmax(0,1fr)!important}.bw-brandbar{flex-wrap:wrap}.bw-settings-launch{display:inline-flex;gap:6px;align-items:center}.bw-settings-launch svg{width:16px;height:16px;flex-shrink:0}.bw-login-settings{margin-inline-start:auto}
html[dir="rtl"] .bw-toolbar{margin-left:0;margin-right:auto}html[dir="rtl"] .bw-app .chat-row{text-align:right}html[dir="rtl"] #appView.bw-app>.sidebar{grid-column:2}html[dir="rtl"] #appView.bw-app>.conversation{grid-column:1}html[dir="rtl"] #appView.bw-app{grid-template-columns:minmax(0,1fr) 340px!important}.bw-app .bw-message-text{unicode-bidi:plaintext}.bw-app #businessIdentity{direction:ltr;unicode-bidi:isolate}
@media(max-width:1050px){html[dir="rtl"] #appView.bw-app{grid-template-columns:minmax(0,1fr) 300px!important}}
@media(max-width:760px){#appView.bw-app,html[dir="rtl"] #appView.bw-app{grid-template-columns:1fr!important;grid-template-rows:minmax(68px,auto) minmax(0,1fr)!important}html[dir="rtl"] #appView.bw-app>.sidebar,html[dir="rtl"] #appView.bw-app>.conversation{grid-column:1}.bw-brandbar{gap:8px}.bw-toolbar{gap:6px;flex:1;min-width:0}#creditBalance{display:none}}
