/* ViaOn Conecta 0.4.0: design próprio, clean, leve, profissional.
   Não incorpora código ou recursos do Telegram.
   Última folha carregada, afasta o acúmulo de regras legado sem afetar API. */
:root{--viaon-orange:#fb790f;--viaon-orange-dark:#de6200;--viaon-deep:#101923;--viaon-ink:#172231;--viaon-secondary:#677687;--viaon-stroke:#e2e7ed;--viaon-surface:#fff;--viaon-glow:0 9px 29px rgba(18,33,53,.075),0 2px 6px rgba(18,33,53,.04)}
html{scroll-behavior:auto;-webkit-text-size-adjust:100%}
body{color:var(--viaon-ink);background:#e9edf2;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.shell{background:#f5f7fa;min-height:100dvh}
button,input,select,textarea{font-family:inherit}
button,.attach{transition:transform .125s cubic-bezier(.2,.8,.2,1),box-shadow .125s ease,filter .125s ease,background-color .18s ease;border-radius:12px;touch-action:manipulation}
button:not(:disabled):active,button.is-pressed,.attach:active{transform:translateY(2px) scale(.975)!important;box-shadow:inset 0 3px 7px #14253a28,0 1px 2px #14253a12!important;filter:brightness(.95)}
button:focus-visible,.attach:focus-within,select:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #f99952!important;outline-offset:2px}
button:disabled{opacity:.5;cursor:not-allowed}
.panel,.root-dashboard>.root-section,.root-dashboard>.root-ops-page{background:#fff;border:1px solid #e4e8ee;border-radius:19px;box-shadow:var(--viaon-glow)}
.top{background:#141b24!important;color:#fff;min-height:63px;height:auto;display:flex;align-items:center;padding:11px 16px;border-bottom:0;box-shadow:0 7px 20px #08152320}
.brand{gap:9px}.brand .mark{background:transparent;width:38px;height:38px;padding:0;border:0;box-shadow:none}
.brand .mark img{width:37px;height:37px;object-fit:contain}.brand b{color:#fff;font-size:22px;letter-spacing:-.7px}
.brand b span{color:#ff841b}.brand small{font-size:8px;color:#e0e5ed;letter-spacing:.7px}
.header-actions{gap:6px;min-width:0}.header-actions .status{background:#253441;color:#b9cadb;border:1px solid #45515e;padding:7px 9px}
.header-actions .status.on{background:#173f2f;color:#81e6a3;border-color:#31694f}
.header-actions .update-app,.header-actions .install-app{background:#26313d!important;color:#f6f9fb!important;border:1px solid #445466!important;border-radius:10px;font-size:11px;padding:9px 10px;box-shadow:inset 0 1px 0 #ffffff18}
.header-actions .update-app.has-update{background:#e96b09!important;color:#fff!important;border-color:#f78a39!important}
.primary,.root-panel button.root-orange,.root-orange{background:linear-gradient(180deg,#ff871e,#ed6a05)!important;border:1px solid #df6406!important;color:#fff!important;box-shadow:0 4px 10px #f8791e33,inset 0 1px 0 #ffffff42;font-weight:800}
.primary:not(:disabled):hover,.root-orange:not(:disabled):hover{filter:brightness(1.05)}
.login{max-width:465px;margin:35px auto;padding:30px 24px;border-radius:24px}
.login .login-brand h1{letter-spacing:-.7px}.login-fox{filter:drop-shadow(0 6px 12px #fa7a2030)}
.login input,.send input{background:#fbfcfd;border:1px solid #dce3eb}
.roomline{background:white;border-radius:17px;border:1px solid #e0e6ed;padding:10px 14px;margin:13px 12px;box-shadow:0 4px 14px #2332490c}
.roomline h1{color:#1a2634}.roomline .room-tools button{border-radius:10px}
.chat-nav{z-index:82}.chat-nav button{border-radius:13px!important;min-height:44px;font-size:11px;background:#fff;border:1px solid #dee4eb;color:#243142;box-shadow:0 2px 6px #12213a0e}
.chat-nav button.active{background:linear-gradient(180deg,#ff851a,#f2730c);color:#fff;border-color:#eb6908;box-shadow:0 4px 12px #f2741833}
.eyebrow{color:#e97014;font-size:10px;font-weight:900;letter-spacing:1.35px}.tiny-orange{color:#fc7a15;font-size:12px;vertical-align:middle}
.conversations-panel{padding:0;overflow:hidden;border-radius:21px;background:white}
.conversations-top{display:flex;align-items:center;justify-content:space-between;padding:22px 20px 13px;gap:12px}
.conversations-top h2{margin:2px 0;font-size:24px;letter-spacing:-.9px;line-height:1.15;font-weight:900}
.conversations-top p{margin:0;color:#738091;font-size:11px}
.conversations-fox{width:48px;height:48px;object-fit:contain;filter:drop-shadow(0 4px 7px #fa7a1235)}
.conversations-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:0 16px 14px;padding:4px;border-radius:13px;background:#f4f6f8;border:1px solid #ebeff2}
.conversations-tabs button{border:0;background:transparent;font-size:11px;font-weight:800;color:#536173;min-height:39px;padding:7px 6px;border-radius:10px}
.conversations-tabs button.active{background:linear-gradient(180deg,#ff871c,#f2730c);color:#fff;box-shadow:0 3px 10px #ec731c32}
.convo-search{display:flex;align-items:center;gap:7px;margin:0 16px 12px;padding:0 12px;border-radius:12px;border:1px solid #e1e7ee;background:#f7f9fb;height:44px;color:#798697}
.convo-search>span{font-size:23px}.convo-search input{border:0;outline:none!important;background:transparent;flex:1;min-width:0;font-size:13px;color:#243142}
.convo-list{display:flex;flex-direction:column;padding:0 10px;gap:4px;max-height:calc(100dvh - 285px);overflow-y:auto;scrollbar-color:#d6dfe8 transparent}
.convo-item{display:flex;text-align:left;align-items:center;gap:12px;min-height:76px;padding:11px 12px;background:#fff;border:1px solid transparent;border-radius:13px;color:#253043;width:100%;min-width:0;cursor:pointer}
.convo-item+.convo-item{border-top:1px solid #f1f3f5}
.convo-item:hover,.convo-item.is-selected{background:#fff7ef;border-color:#ffe4cd}
.convo-avatar{flex:0 0 44px;width:44px;height:44px;background:linear-gradient(145deg,#ffe5cb,#ffbb7f);display:grid;place-items:center;font-size:22px;border-radius:50%;box-shadow:inset 0 1px 1px #fff6,0 2px 5px #9c561d25}
.convo-item-body{min-width:0;display:flex;flex-direction:column;gap:4px;flex:1}
.convo-item strong{font-size:13px;color:#243040;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.convo-item small{font-size:11px;color:#7b8895;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.convo-arrow{font-size:25px;font-weight:400;color:#d96f20;padding:0 5px}
.convo-helper{border-top:1px solid #edf0f3;padding:12px 16px;margin:0;font-size:10px;color:#8a97a4;text-align:center}
.more-panel{overflow:hidden;padding:0}.more-hero{display:flex;gap:12px;align-items:center;color:white;padding:19px 17px;background:linear-gradient(115deg,#a44405,#ff831d,#f4a54a)}
.more-hero img{width:50px;height:50px;object-fit:contain;background:white;border-radius:50%;padding:3px}.more-hero strong{display:block;font-size:16px}.more-hero small{display:block;color:#ffeddc;font-size:11px;margin-top:3px}
.more-links{padding:10px;display:flex;flex-direction:column}.more-links button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;padding:12px 13px;background:#fff;border:0;border-bottom:1px solid #edf0f3;border-radius:0;text-align:left;font-size:13px;color:#253244;font-weight:700}
.more-links button span{font-size:20px;color:#cf6a1a}
.chat{box-shadow:var(--viaon-glow);border-radius:19px}.chathead{gap:9px}.chat-back{border:0;background:#fff1e5;color:#b45510;font-weight:900;font-size:29px;line-height:1;width:34px;height:39px;border-radius:11px;display:none}
.messages{background:#fcfaf8 url('/fox-face-watermark.png') center 52%/min(58vw,270px) no-repeat;border:1px solid #f2f0ed;gap:9px;border-radius:16px}
.bubble{border-radius:15px 15px 15px 5px;background:white;box-shadow:0 2px 7px #14273e0e;border-color:#e9edf0;padding:12px 13px;max-width:91%}
.bubble.me{background:#fff0e2;border-color:#ffd7b7;border-radius:15px 15px 5px 15px}
.send input{border-radius:13px}.send button{border-radius:13px;box-shadow:0 3px 8px #f4792060}
.radio{border-radius:19px;background:linear-gradient(180deg,#fff,#fffcf9);box-shadow:var(--viaon-glow)}
.radio .ptt{background:linear-gradient(155deg,#ff901c,#f46d05)!important;color:white;border:6px solid #fff!important;box-shadow:0 0 0 2px #fbd7ba,0 12px 29px #f877264a,inset 0 2px 0 #ffc68065!important;transition:transform .11s ease,box-shadow .15s ease!important}
.radio .ptt.active,.radio .ptt.is-pressed{transform:translateY(4px) scale(.945)!important;box-shadow:0 0 0 5px #ffd9b6,0 3px 10px #ad460e50,inset 0 9px 24px #97390074!important;filter:brightness(.92)}
.radio .ptt b{letter-spacing:.4px;font-weight:900}
.ptt-volume-label{color:#566173!important}.ptt-volume-label input{accent-color:#fa7914}
.actions button{border-radius:14px;background:#fff;box-shadow:0 2px 10px #1623370a}.people{border-radius:17px}
/* Administração: colunas e botões como no mockup aprovado. */
body.is-admin .shell{max-width:1640px;background:#f0f3f7}
body.is-admin .root-panel{margin:0!important;padding:0!important;border:0!important;background:transparent;box-shadow:none!important;overflow:visible}
body.is-admin .root-sidebar{background:#101922!important;border-radius:0 0 0 20px;box-shadow:inset -1px 0 0 #ffffff0b;padding:23px 15px!important}
body.is-admin .root-sidebar-brand{font-size:24px;font-weight:900;color:white;letter-spacing:-.5px}
body.is-admin .root-sidebar-brand span{color:#ff841e}
body.is-admin .root-sidebar-icon{object-fit:contain;width:34px;height:34px}
body.is-admin .root-sidebar nav a{border-radius:11px!important;padding:12px 11px!important;color:#d5e0ee;font-weight:700;box-shadow:none}
body.is-admin .root-sidebar nav a:hover{background:#26313d;color:white}
body.is-admin .root-sidebar nav a.active{background:linear-gradient(180deg,#ff861a,#ef6e0b)!important;color:white!important;box-shadow:0 4px 11px #eb75182f}
body.is-admin .root-dashboard{background:#f3f5f8!important;padding:23px!important;gap:14px}
body.is-admin .root-head h2{font-weight:900;letter-spacing:-.8px}
body.is-admin .root-kpis>div{border-radius:16px;border:1px solid #e3e8ef;box-shadow:var(--viaon-glow)}
body.is-admin .root-dashboard>.root-ops-page{background:#fff;border:1px solid #e2e8ef;box-shadow:var(--viaon-glow);border-radius:17px;padding:18px;min-width:0}
body.is-admin .root-dashboard>.root-section{border-radius:17px;box-shadow:var(--viaon-glow)}
.ops-row{background:#fcfdfe;border-radius:12px;box-shadow:0 2px 7px #17273b08}
.ops-actions button{border-radius:9px!important;min-height:36px;box-shadow:0 1px 3px #1020360a}
.ops-status{border-radius:999px;font-size:10px;letter-spacing:.1px}
.ops-page-head h3{font-size:20px;font-weight:900;color:#192739}
.root-inline button{min-height:37px}
.root-storage-warning{grid-column:1/-1!important;max-width:100%;box-sizing:border-box}
/* Mobile: painel inteiro em uma única tela por vez, cidade sempre acessível, sem barra impossível de voltar. */
@media(max-width:959px){
 body:not(.is-admin) .shell{max-width:680px;min-height:100dvh;padding-bottom:calc(76px + env(safe-area-inset-bottom))}
 body:not(.is-admin) .top,body.is-admin.admin-chat-mode .top{min-height:58px!important;height:58px!important;position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:92!important;padding:8px 12px!important;max-width:680px!important;margin:auto!important}
 body:not(.is-admin) .brand .mark{width:30px;height:30px}body:not(.is-admin) .brand .mark img{width:30px;height:30px}
 body:not(.is-admin) .brand b{font-size:18px}body:not(.is-admin) .brand small{font-size:7px;letter-spacing:.35px}
 body:not(.is-admin) .header-actions .install-app{display:none!important}
 body:not(.is-admin) .header-actions .status{display:none!important}
 body:not(.is-admin) .header-actions .update-app{font-size:10px;padding:7px 9px;min-height:34px}
 body:not(.is-admin) main:not([hidden]),body.is-admin.admin-chat-mode main:not([hidden]){padding:74px 11px calc(90px + env(safe-area-inset-bottom))!important;min-height:100dvh;display:block!important}
 body:not(.is-admin) .roomline,body.is-admin.admin-chat-mode .roomline{
  position:fixed!important;top:58px!important;left:0!important;right:0!important;margin:0 auto!important;max-width:680px!important;z-index:83!important;
  background:#fff!important;border:1px solid #e3e7ed!important;border-radius:0 0 15px 15px!important;box-shadow:0 5px 14px #15243b18!important;
  padding:7px 12px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;column-gap:9px;row-gap:7px;min-height:75px;align-items:center;
 }
 .roomline h1{font-size:15px!important;font-weight:900;line-height:1.2}.roomline #driverCityPicker:not([hidden]){font-size:10px!important}
 .roomline #driverCitySelect{height:39px!important;min-height:39px!important;border:1px solid #dde3e9!important;border-radius:11px!important;background:#f7f9fb!important;font-size:13px!important}
 .roomline .room-header-toggle{width:68px!important;height:52px!important;min-height:52px!important;background:#fff4e9!important;border:1px solid #ffd5b2!important;border-radius:12px!important;color:#a85210;font-size:18px!important}
 .roomline .room-tools button{border-radius:9px!important}
 body:not(.is-admin) main:not([hidden]){padding-top:152px!important}
 body[data-conecta-view="conversations"] .roomline,body[data-conecta-view="more"] .roomline{display:none!important}
 body[data-conecta-view="conversations"] main:not([hidden]),body[data-conecta-view="more"] main:not([hidden]){padding-top:70px!important}
 body:not(.is-admin) #conversationsPanel,body:not(.is-admin) #morePanel{margin:0 0 12px!important}
 body:not(.is-admin) #conversationsPanel{display:none!important}
 body[data-conecta-view="conversations"] #conversationsPanel:not([hidden]){display:block!important}
 body:not(.is-admin) #morePanel{display:none!important}
 body[data-conecta-view="more"] #morePanel{display:block!important}
 body[data-conecta-view="conversations"] #chatPanel,body[data-conecta-view="conversations"] #radioPanel,body[data-conecta-view="conversations"] #sosPanel,body[data-conecta-view="conversations"] #peoplePanel,
 body[data-conecta-view="more"] #chatPanel,body[data-conecta-view="more"] #radioPanel,body[data-conecta-view="more"] #sosPanel,body[data-conecta-view="more"] #peoplePanel{display:none!important}
 body[data-conecta-view="conversations"] .convo-list{max-height:calc(100dvh - 315px);min-height:180px}
 body[data-conecta-view="chat"] #chatPanel{margin:0!important;padding:12px 11px 76px!important;display:flex!important;flex-direction:column!important;min-height:calc(100dvh - 244px)!important}
 body[data-conecta-view="chat"] .chat-back{display:flex;align-items:center;justify-content:center}
 body[data-conecta-view="chat"] .messages{height:auto!important;min-height:calc(100dvh - 360px)!important;max-height:none!important;flex:1!important;padding:12px!important;background-size:220px!important}
 body[data-conecta-view="chat"] #chatPanel .chathead{margin-bottom:5px}
 body[data-conecta-view="chat"] #chatPanel .chathead .mobile-view-shortcut{font-size:11px;padding:8px 9px;min-height:37px}
 body[data-conecta-view="chat"] #msgForm{position:fixed!important;bottom:calc(74px + env(safe-area-inset-bottom))!important;z-index:85!important;left:10px!important;right:10px!important;max-width:660px;margin:0 auto!important;border:1px solid #e3e7ed!important;box-shadow:0 4px 19px #16283d18!important;padding:8px!important;border-radius:16px!important;background:white!important}
 body[data-conecta-view="chat"] .mediaactions{gap:6px;flex-wrap:wrap}
 body:not(.is-admin) .chat-nav{position:fixed!important;bottom:env(safe-area-inset-bottom)!important;left:0!important;right:0!important;max-width:680px;margin:0 auto!important;padding:9px 10px!important;gap:7px!important;background:#fff!important;box-shadow:0 -4px 16px #11233813!important;border-top:1px solid #e3e8ee!important;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))!important;z-index:90!important}
 body:not(.is-admin) .chat-nav button{font-size:10.5px!important;min-height:54px!important;line-height:1.25!important;white-space:normal!important;border-radius:14px!important;padding:8px 4px!important}
 body[data-conecta-view="radio"] #radioPanel{position:relative!important;width:100%!important;min-height:calc(100dvh - 258px)!important;margin:0 auto!important;padding:14px 16px 18px!important;display:flex!important;flex-direction:column!important;gap:7px!important;align-items:center!important;justify-content:flex-start!important;overflow:visible!important;border-radius:21px!important;background:linear-gradient(180deg,#fff,#fffaf5)!important}
 body[data-conecta-view="radio"] #radioPanel .radiohead{align-self:stretch!important;order:1!important;flex:0 0 auto!important;width:100%!important;text-align:left}
 body[data-conecta-view="radio"] #radioPanel .radio-return-chat{order:0!important;align-self:flex-start!important;margin:2px 0 0!important;position:static!important}
 body[data-conecta-view="radio"] #radioPanel #ptt{position:static!important;order:2!important;display:flex!important;align-self:center!important;justify-self:center!important;margin:auto auto 8px!important;inset:auto!important;transform:none!important;
  width:clamp(150px,42vw,180px)!important;height:clamp(150px,42vw,180px)!important;min-width:0!important;min-height:0!important;max-width:100%!important;flex:0 0 auto!important;overflow:hidden!important}
 body[data-conecta-view="radio"] #radioPanel #ptt b{font-size:14px!important;margin:7px 0 0!important;color:#fff}
 body[data-conecta-view="radio"] #radioPanel #ptt span{font-size:39px!important}
 body[data-conecta-view="radio"] #radioPanel .ptt-volume-label{order:3!important;flex:0 0 auto!important;margin:0 auto 3px!important;width:100%!important;max-width:330px!important}
 body[data-conecta-view="radio"] #radioPanel .hint{order:4!important;flex:0 0 auto!important;text-align:center!important;font-size:10px!important;margin:0!important;width:100%}
 body[data-conecta-view="radio"] #radioPanel .consent{order:5!important;flex:0 0 auto!important;width:100%!important;padding:10px!important;border-radius:14px!important}
 body[data-conecta-view="radio"] #radioPanel .mobile-fold-toggle{order:-1!important;margin:0 auto!important;align-self:center!important}
 body[data-conecta-view="radio"] #peoplePanel{display:block!important;margin:10px 0!important}
 body[data-conecta-view="radio"] #peoplePanel[data-mobile-folded="true"]{display:block!important}
 body[data-conecta-view="alerts"] #sosPanel{margin:0!important;border-radius:19px;box-shadow:var(--viaon-glow);padding:12px!important;min-height:180px;gap:10px}
 body[data-conecta-view="alerts"] #sosPanel #sos{min-height:78px;font-size:15px}
 body[data-conecta-view="alerts"] #sosPanel #gps{min-height:78px;font-size:15px}
 .mobile-fold-toggle{display:flex!important;min-height:34px!important;border-radius:999px!important;box-shadow:none!important}
 body[data-conecta-view="radio"] #radioPanel[data-mobile-folded="true"]{min-height:68px!important;padding:10px!important}
 body[data-conecta-view="radio"] #radioPanel[data-mobile-folded="true"] #ptt{display:none!important}
 body[data-conecta-view="chat"] #chatPanel[data-mobile-folded="true"]{min-height:60px!important;padding:11px!important}
 body[data-conecta-view="chat"] #chatPanel[data-mobile-folded="true"] #msgForm{display:none!important}
 body[data-conecta-view="conversations"] #notificationSettings,body[data-conecta-view="conversations"] #bulletinInbox{display:none!important}
 body[data-conecta-view="more"] #notificationSettings:not([hidden]){display:block!important;position:relative!important;margin:12px 0!important;border-radius:17px!important}
 body[data-conecta-view="more"] #bulletinInbox:not([hidden]){display:block!important;position:relative!important;margin:12px 0!important}
 body:not(.is-admin) main>.fine.center{display:none}
}
@media(max-width:400px){
 body:not(.is-admin) .brand b{font-size:17px}
 body:not(.is-admin) .header-actions .update-app{font-size:9px;padding:7px 8px}
 .conversations-top{padding:18px 15px 11px}.conversations-top h2{font-size:21px}
 .convo-item{gap:9px;padding:10px 8px;min-height:69px}.convo-avatar{width:40px;height:40px;flex-basis:40px;font-size:20px}
 .convo-search{margin:0 12px 12px}
 body[data-conecta-view="radio"] #radioPanel{padding:12px!important}
}
@media(min-width:960px){
 body:not(.is-admin) .shell{max-width:1180px}
 body:not(.is-admin) main:not([hidden]){display:grid!important;grid-template-columns:320px minmax(0,1fr);gap:12px;align-content:start;padding:16px 15px 30px!important}
 body:not(.is-admin) #conversationsPanel{display:block!important;grid-column:1;grid-row:1/span 5;position:sticky;top:15px;min-height:65vh}
 body:not(.is-admin) #morePanel{display:none!important}
 body:not(.is-admin) .roomline{grid-column:2;margin:0}
 body:not(.is-admin) #chatPanel{grid-column:2;min-height:520px;margin:0}
 body:not(.is-admin) .messages{min-height:320px;max-height:520px}
 body:not(.is-admin) #radioPanel{grid-column:2;margin:0}
 body:not(.is-admin) #sosPanel{grid-column:2;margin:0}
 body:not(.is-admin) #peoplePanel{grid-column:2;margin:0}
 body:not(.is-admin) #notificationSettings,body:not(.is-admin) #bulletinInbox,body:not(.is-admin) main>.fine.center{grid-column:2;margin:0}
 body:not(.is-admin) .chat-nav{position:static;display:none}
 body:not(.is-admin) .chat-back{display:none}
 body:not(.is-admin) .convo-list{max-height:55vh}
}
@media(max-width:760px){
 body.is-admin .root-dashboard{padding:13px!important;gap:11px}
 body.is-admin .root-sidebar{padding:12px!important;border-radius:0}
 body.is-admin .root-sidebar nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
 body.is-admin .root-sidebar nav a{min-height:44px;padding:9px!important;font-size:11px!important;white-space:normal!important;display:flex;align-items:center}
 body.is-admin .root-dashboard>.root-ops-page{padding:13px}
 body.is-admin .ops-row{grid-template-columns:1fr!important;gap:9px!important;padding:13px!important}
 body.is-admin .ops-row .ops-actions{grid-column:1/-1!important;justify-content:flex-start;gap:6px}
 body.is-admin .ops-row .ops-actions button{min-height:39px!important;padding:8px 10px!important}
 .bulletin-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){button,.attach{transition:none!important}*{scroll-behavior:auto!important}}
@media(max-width:959px){body:not(.is-admin) .chat-nav #filesTab{display:flex!important;align-items:center;justify-content:center;min-width:0!important}}
@media(min-width:960px){
 body.is-admin .root-dashboard{grid-template-columns:minmax(0,1fr)!important}
 body.is-admin .root-dashboard>.root-ops-page,
 body.is-admin .root-dashboard>#rootAnnouncementsSection,
 body.is-admin .root-dashboard>#rootOpsDriversSection,
 body.is-admin .root-dashboard>#rootOpsOnlineSection,
 body.is-admin .root-dashboard>#rootOpsModeratedSection,
 body.is-admin .root-dashboard>#rootOpsByCitySection,
 body.is-admin .root-dashboard>#rootOpsRegionsSection,
 body.is-admin .root-dashboard>#rootOpsChatSection{grid-column:1/-1!important;max-width:100%!important;width:100%!important}
 body.is-admin .root-dashboard>#rootAnnouncementsSection .bulletin-form{max-width:100%}
 body.is-admin .root-dashboard>.root-kpis,body.is-admin .root-dashboard>.root-head{grid-column:1/-1!important}
}
body.is-admin #conversationsPanel,body.is-admin #morePanel{display:none!important}
.root-mobile-menu-toggle{display:none}
@media(max-width:760px){
 body.is-admin .root-mobile-menu-toggle{display:flex!important;width:100%;min-height:43px;align-items:center;justify-content:center;border-radius:11px;background:#293641;border:1px solid #425365;color:#f7f8fb;font-weight:800;font-size:12px;box-shadow:inset 0 1px 0 #fff2}
 body.is-admin .root-sidebar[data-menu-collapsed="true"] nav{display:none!important}
 body.is-admin .root-sidebar[data-menu-collapsed="true"]{gap:8px!important}
 body.is-admin .root-sidebar[data-menu-collapsed="true"] .root-sidebar-foot{display:none!important}
 body.is-admin .root-sidebar{gap:8px!important}
 body.is-admin .root-dashboard{scroll-margin-top:8px}
}

/* 0.4.0 tactile feedback across primary actions. */
button, .primary, .root-orange, .ops-action, .conversation-item {
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, box-shadow .16s ease, background-color .15s ease;
}
button:active,button.is-pressed,.conversation-item:active {
  transform: translateY(2px) scale(.98);
  filter: brightness(.95);
  box-shadow: 0 1px 3px rgba(18,27,35,.16) !important;
}
button:focus-visible,.conversation-item:focus-visible{outline:3px solid #ff901f;outline-offset:3px}
@media(prefers-reduced-motion:reduce){button,.primary,.root-orange,.ops-action,.conversation-item{transition:none!important}}

/* 0.4.1: chat mic is voice-message recording, never live PTT */
#quickPtt.recording{background:#d93530!important;color:white!important;box-shadow:0 0 0 3px #f5b2ad!important;}
#sendTextBtn:disabled{opacity:.45;cursor:wait;}

/* Feedback persistente de entrega do chat: sem apagar a mensagem em falhas. */
.chat-delivery-status{z-index:88;position:relative;display:block;min-height:31px;max-width:100%;padding:7px 10px;margin:5px 0 0;border:1px solid #cbd5df;border-radius:11px;background:#f2f6fa;color:#334155;font-size:12px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}.chat-delivery-status[hidden]{display:none!important}.chat-delivery-status[data-state="pending"]{background:#fff6e8;color:#8b4a13;border-color:#f2d6b1}.chat-delivery-status[data-state="success"]{background:#eaf8ef;color:#176b38;border-color:#b3e2c2}.chat-delivery-status[data-state="error"]{background:#fff1f0;color:#a32929;border-color:#f2b9b2}
@media(max-width:959px){body[data-conecta-view="chat"] #chatDeliveryStatus:not([hidden]){position:fixed!important;bottom:calc(148px + env(safe-area-inset-bottom))!important;left:10px!important;right:10px!important;max-width:660px;margin:0 auto!important;z-index:87!important;box-shadow:0 3px 12px #1b293b21}}
