/* Owdex Chat R38 — responsividade global e notificações. */
html,body{max-width:100%;overflow-x:hidden}img,video,canvas,svg{max-width:100%}.shell,.app-main,.content,.card,.two-columns,.stat-grid,.settings-layout,.settings-grid,.table-row,.list-row,.page-heading,.topbar,.topbar-actions{min-width:0}
.content>*{max-width:100%}.two-columns,.settings-layout,.profile-editor-enhanced{align-items:start}.card{overflow-wrap:anywhere}.table-row>*{min-width:0}.table-row strong,.table-row small{overflow-wrap:anywhere}.dialog-card{max-width:min(94vw,760px);max-height:90dvh;overflow:auto}.toast-stack{z-index:3000!important;right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));max-width:min(380px,calc(100vw - 28px))}.app-toast{width:100%;text-align:left}
input,textarea,select,button{max-width:100%}
@media(max-width:1180px){.content{width:100%;max-width:none}.page-heading{gap:12px;align-items:flex-start}.two-columns{grid-template-columns:minmax(0,1fr)!important}.settings-layout{grid-template-columns:minmax(0,1fr)!important}.settings-nav{position:relative!important;top:auto!important}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tenant-table,.ticket-table,.audit-table{max-width:100%;overflow-x:auto}}
@media(max-width:760px){.content{padding:12px!important}.page-heading{display:flex!important;flex-direction:column!important;align-items:stretch!important}.page-heading>.btn,.page-heading>button,.page-heading>form{align-self:flex-start}.stat-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}.stat{padding:11px!important}.stat strong{font-size:22px!important}.form-grid,.settings-grid{grid-template-columns:1fr!important}.settings-grid .wide{grid-column:auto!important}.topbar-title{min-width:0}.topbar-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-actions{gap:5px!important}.presence{max-width:132px!important}.card{padding:13px!important}.table-head{display:none!important}.tenant-table .table-row,.ticket-table .table-row{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}.tenant-table .table-row>*:nth-child(n+3),.ticket-table .table-row>*:nth-child(n+3){display:none}.login-shell{width:min(100%,560px)!important;grid-template-columns:1fr!important;margin:0 auto!important}.login-brand-panel{display:none!important}.login-card{border-radius:18px!important;padding:22px!important}.dialog-card{width:calc(100vw - 18px)!important;margin:auto!important}.settings-actions{flex-wrap:wrap}.settings-actions>.btn{flex:1 1 auto}.classification-tags-select{min-height:120px}}
@media(max-width:430px){.stat-grid{grid-template-columns:1fr!important}.topbar{gap:6px!important}.topbar-actions .icon-btn{width:38px!important;height:38px!important}.presence{max-width:112px!important}.content{padding:9px!important}.card{border-radius:13px!important}.btn{min-height:40px}.page-heading h1{font-size:22px!important}.toast-stack{left:9px!important;right:9px!important;max-width:none!important}.app-toast{border-radius:13px!important}.tenant-table .table-row,.ticket-table .table-row{padding:10px!important}}
@media(min-width:1800px){.content:not(:has(>.workspace-page)){max-width:1680px!important;margin:0 auto!important;width:100%}.workspace-page{max-width:1760px!important}.workspace-page .chat-layout-focused,.workspace-page .ticket-layout{grid-template-columns:minmax(0,1fr) minmax(320px,380px)!important}}
