/* Mobile presentation only. Native account, notification and message handlers own state. */
@media(max-width:760px){
:root{--mcom-surface:#fff;--mcom-canvas:#f7f5f1;--mcom-line:#e3ddd3;--mcom-text:#091d40;--mcom-muted:#6d6a65;--mcom-bubble:#eee9e1}
:root[data-theme="dark"]{--mcom-surface:#171b22;--mcom-canvas:#10141b;--mcom-line:#343b46;--mcom-text:#edf2fa;--mcom-muted:#aab2bf;--mcom-bubble:#282e38}
#drawer:has(.account-center),#drawer:has(.bnc-ib){color:var(--mcom-text);background:var(--mcom-canvas)}
.account-center{padding:16px!important;font:14px/1.45 Arial,sans-serif;overflow-wrap:anywhere}
.account-center h3{font:700 18px/1.3 Arial,sans-serif;margin:20px 0 12px}
.account-center>nav{flex-wrap:nowrap!important;overflow-x:auto;white-space:nowrap;gap:4px!important;padding-bottom:5px}
.account-center>nav .btn{min-height:44px;flex:0 0 auto;font-size:13px;padding:8px 12px}
.account-center>nav [aria-current="page"]{background:var(--mcom-text);color:var(--mcom-canvas)}
.account-center>section{background:var(--mcom-surface);border:1px solid var(--mcom-line);border-radius:12px;padding:14px}
.account-center dl{display:grid;grid-template-columns:minmax(70px,1fr) minmax(0,1.8fr);margin:0}
.account-center dt,.account-center dd{margin:0;padding:12px 0;border-bottom:1px solid var(--mcom-line)}
.account-center dd{font-weight:600;overflow-wrap:anywhere}
.account-center input:not([type=checkbox]):not([type=radio]),.account-center select{font-size:16px;min-height:44px;max-width:100%}
.account-center button,.account-center summary{min-height:44px;white-space:normal}
.account-center .mut{font-size:12px;line-height:1.5;color:var(--mcom-muted)}
.bnc-ib{font:14px/1.45 Arial,sans-serif;color:var(--mcom-text)}
.bnc-ib-tools{gap:8px;flex-wrap:wrap}.bnc-search{min-width:0;flex:1 1 100%}.bnc-search input{min-height:44px;font-size:16px!important}
.bnc-chips{display:flex;flex-wrap:nowrap!important;overflow-x:auto;gap:8px}
.bnc-chips button{flex-shrink:0;min-height:44px;font-size:13px}
.bnc-ib-list{display:grid;gap:8px}.bnc-row{border:1px solid var(--mcom-line)!important;border-radius:10px!important;background:var(--mcom-surface)!important;padding:12px!important;overflow-wrap:anywhere}
.bnc-row button,.bnc-ib-tools button,.bnc-ib-foot button{min-height:44px;min-width:44px}
#login{box-sizing:border-box;padding:24px 16px calc(24px + env(safe-area-inset-bottom))!important;overflow-x:hidden}
#login .loginbox{max-width:420px!important;width:100%!important;box-sizing:border-box}
#login h1,#login h2{font-family:Arial,sans-serif;letter-spacing:-.02em}
#login input:not([type=checkbox]):not([type=radio]){font-size:16px!important;min-height:44px;max-width:100%;box-sizing:border-box}
#login button{min-height:44px;max-width:100%;white-space:normal}
#magicCode{width:100%;min-width:0!important}#magicCodeWrap{min-width:0;max-width:100%}
/* The dedicated Chat surface: preserve all audience/access gates and send states. */
html[data-bleu-chat-surface-ready="true"] #drawer{background:var(--mcom-canvas);color:var(--mcom-text)}
#bleu-chat-nav{padding:10px 16px!important;min-height:60px!important;gap:8px!important}
#bleu-chat-nav .bc-workspace{font-size:11px;color:var(--mcom-muted)}
#bleu-chat-team-list{padding:0 16px 16px!important;background:var(--mcom-canvas)}
#bleu-chat-team-list .bc-sidebar-head{padding:12px 0 8px}
#bleu-chat-list-title{font:700 22px/1.2 Arial,sans-serif!important;letter-spacing:-.02em}
.bc-list-search{border:1px solid var(--mcom-line)!important;background:var(--mcom-surface)!important;border-radius:8px!important;min-height:44px!important}
.bc-list-search input{font-size:16px!important;min-width:0;min-height:44px}
.bc-list-filters{margin:8px 0!important;gap:4px!important}.bc-filter{min-height:44px!important;font-size:13px!important}
.bc-team-rows{padding:0!important;border:1px solid var(--mcom-line);border-radius:10px;overflow:hidden;background:var(--mcom-surface)}
.bc-team-item+.bc-team-item{border-top:1px solid var(--mcom-line)}
.bc-team-row{padding:12px!important;gap:10px!important;min-height:76px!important;border-radius:0!important}
.bc-team-title strong{font-size:14px!important;line-height:1.35}.bc-team-preview{font-size:13px!important;line-height:1.4!important}.bc-row-time{font-size:11px!important;white-space:nowrap}
.bc-avatar{--bc-avatar:34px!important;background:#0a2045!important;color:white!important}
.bc-row-waiting{font-size:11px!important;background:#fff0cc;color:#775216;border-radius:20px;padding:2px 7px;width:max-content;max-width:100%}
#drawer.dm .dmthreadhead{min-height:64px!important;padding:8px 10px!important;gap:6px!important;background:var(--mcom-surface)}
#drawer.dm .dmthreadhead h2{font:700 15px/1.3 Arial,sans-serif!important;margin:0!important;overflow-wrap:anywhere}
#drawer.dm .dmthreadhead .submut{font-size:11px!important}
#drawer.dm .dhid{min-width:0;gap:8px!important}#drawer.dm .dhttl{min-width:0}
#drawer.dm .dx,#drawer.dm .dback,#drawer.dm .dmact{min-width:44px!important;min-height:44px!important}
#drawer.dm .dmmsgs{padding:16px 12px!important;min-height:0;overscroll-behavior:contain}
#drawer.dm .dmbub{max-width:82%!important;padding:10px 12px!important;margin-bottom:14px!important;border:0!important;border-radius:12px!important;background:var(--mcom-bubble)!important;color:var(--mcom-text)!important;font:14px/1.45 Arial,sans-serif!important;overflow-wrap:anywhere}
#drawer.dm .dmbub.mine{background:#007ee5!important;color:white!important}
#drawer.dm .dmwho{font-size:11px!important;margin-bottom:4px!important;font-weight:700}
#drawer.dm .dmts{font-size:10px!important;opacity:.85}
#drawer.dm .dmday,#drawer.dm .dmseen{font-size:11px!important;color:var(--mcom-muted)}
#drawer.dm .bnatt{max-width:100%;overflow-wrap:anywhere}.bnattfile{white-space:normal!important;overflow-wrap:anywhere}
#drawer.dm .dmcompose{padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important;gap:6px!important;background:var(--mcom-surface)!important;border-top:1px solid var(--mcom-line)!important;flex-shrink:0}
#drawer.dm #dmInput{min-height:44px!important;max-height:120px!important;font:16px/1.4 Arial,sans-serif!important;border-radius:22px!important;box-sizing:border-box}
#drawer.dm .dmmentwrap{min-width:0!important;flex:1}#drawer.dm .dmsend,#drawer.dm .attachbtn{min-width:44px!important;min-height:44px!important;width:44px!important;height:44px!important;border-radius:50%!important}
#drawer.dm .dmreplybar{font-size:12px;min-width:0;overflow-wrap:anywhere}
#drawer.dm .dmfail,#drawer.dm .dmerr{color:#bf302c;font-size:12px;white-space:normal}
}
@media(max-width:760px){html[data-bleu-chat-surface-ready="true"] #drawer[data-chat-view="thread"]{height:var(--mcom-viewport-height,100dvh)!important;max-height:var(--mcom-viewport-height,100dvh)!important;bottom:auto!important}}
@media(max-width:760px){
html[data-bleu-chat=true] #drawer[data-chat-list=team][data-chat-view=inbox]>.bc-team-sidebar{display:flex!important;position:relative!important;inset:auto!important;width:100%!important;flex:1;min-height:0;overflow:auto;contain:none}
html[data-bleu-chat=true] #drawer[data-chat-list=team][data-chat-view=inbox]>.dmlisthead,html[data-bleu-chat=true] #drawer[data-chat-list=team][data-chat-view=inbox]>.dmlist{display:none!important}
html[data-bleu-chat=true] #drawer[data-chat-list=team][data-chat-view=inbox]>.bc-team-sidebar .bc-team-row{display:flex!important;align-items:center;margin:0!important}
html[data-bleu-chat=true] #drawer[data-chat-view=thread]>.bc-team-sidebar{display:none!important}
#bleu-chat-team-list .bc-row-body{min-width:0;flex:1}
}
@media(max-width:760px){
html[data-bleu-chat=true] #drawer[data-chat-list=team][data-chat-view=inbox]>.bc-team-sidebar{flex-direction:column!important;align-items:stretch!important;gap:0!important}
#bleu-chat-team-list .bc-sidebar-head,#bleu-chat-team-list .bc-list-search,#bleu-chat-team-list .bc-list-filters{flex:none!important;width:100%!important}
#bleu-chat-team-list .bc-team-rows{flex:none!important;width:100%!important;list-style:none;margin:0}
#bleu-chat-team-list .bc-list-search{display:flex!important;align-items:center;padding:0 10px;gap:8px}
#bleu-chat-team-list .bc-list-search input{width:100%;border:0;background:transparent;color:var(--mcom-text);outline-offset:-2px}
#bleu-chat-team-list .bc-list-filters{display:flex!important;align-items:center;justify-content:space-between}
#bleu-chat-team-list .bc-filter-group{display:flex;gap:8px}#bleu-chat-team-list .bc-filter{background:none;border:0;border-bottom:2px solid transparent;color:var(--mcom-muted);padding:8px}
#bleu-chat-team-list .bc-filter[aria-pressed=true]{border-color:#087ce2;color:var(--mcom-text)}
#bleu-chat-team-list .bc-waiting{font-size:11px;color:var(--mcom-muted);margin:0}
#bleu-chat-team-list .bc-row-lower{display:flex;align-items:center;gap:8px;justify-content:space-between}
#bleu-chat-team-list .bc-sidebar-head h2{color:var(--mcom-text)}
#bleu-chat-team-list .bc-icon-button{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--mcom-line);border-radius:8px;background:var(--mcom-surface);color:var(--mcom-text)}
#bleu-chat-nav .bc-identity{flex:1;min-width:90px}#bleu-chat-nav .bc-actions{margin:0;gap:2px}#bleu-chat-nav .bc-control{padding:8px;font-size:11px}#bleu-chat-nav .bc-dashboard{max-width:70px}
}
@media(max-width:760px){#bleu-chat-nav .bc-identity{flex:0 0 100px!important;min-width:0!important;width:100px}#bleu-chat-nav .bc-brand{width:100px;max-width:100px;display:flex;align-items:center}#bleu-chat-nav .bc-brand svg{max-width:100px!important;width:100px!important}#bleu-chat-nav .os-brand-descriptor{display:none!important}#bleu-chat-nav .bc-workspace{max-width:100px}#bleu-chat-nav .bc-actions{flex:1;justify-content:flex-end;min-width:0}#bleu-chat-nav .bc-control{flex-shrink:0}#bleu-chat-nav .bc-account{min-width:44px}}
@media(max-width:760px){
html[data-bleu-chat=true] #bleu-chat-nav{display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;grid-template-areas:"identity actions" "audience audience" "status status";align-items:center!important}
#bleu-chat-nav .bc-identity{grid-area:identity}#bleu-chat-nav .bc-actions{grid-area:actions;position:static!important;width:auto!important;justify-content:flex-end!important;flex-wrap:nowrap!important}
#bleu-chat-nav .bc-audiences{grid-area:audience;order:initial!important;width:100%!important;box-sizing:border-box}
#bleu-chat-nav .bc-status{grid-area:status}#bleu-chat-nav .bc-actions .bc-control{min-width:44px!important;min-height:44px!important;padding:6px!important}
#bleu-chat-nav .bc-brand .os-brand-mark{height:auto;max-height:30px}
}
@media(max-width:760px){
#login .lc{max-width:420px!important;width:100%!important;min-width:0!important;box-sizing:border-box;padding:20px!important;border-radius:12px!important;box-shadow:none!important}
#login :is(.login-story,.login-new,.login-workspace,.login-footer,#bleu-login-header){display:none!important}
#login #signinTitle{font:700 24px/1.25 Arial,sans-serif!important;margin:20px 0 8px!important}
#login .field{margin-top:16px!important}#login .field label{font-size:13px!important}
#login #magicCodePane>div{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
#login :is(#loginBtn,#magicSend,#magicVerify,#passkeyBtn){width:100%!important;min-height:44px!important;font-size:14px!important}
}
@media(max-width:760px){#drawer.dm .dmbub.mine .dmtxt{color:inherit!important}}
