/* V30.11.35 | Complemento exclusivamente visual, sem esconder dados. */
@media screen {
  html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
  body { margin:0; overflow-wrap:break-word; }
  :is(.wrap,.workspace,#panel,.card,.section-head,.vb329-editor,.vb329-editor form,.vb329-editor details) { min-width:0; max-width:100%; }
  :is(.tablewrap,.scroll,.schedule-scroll,.schedule-table-wrap) { max-width:100%; overflow-x:auto; overscroll-behavior-inline:contain; -webkit-overflow-scrolling:touch; }
  :is(a,button,input,select,textarea,summary):focus-visible { outline:3px solid #1687bf; outline-offset:2px; }
  .vb329-editor :is(input,select,textarea) { max-width:100%; }
}
@media screen and (max-width:760px) {
  html.vb18-central #app:not(.hidden) .app-shell { height:auto!important; min-height:100vh!important; overflow:visible!important; }
  html.vb18-central #app .vb183-top { position:sticky!important; top:0; min-height:56px!important; height:auto!important; padding:6px 8px!important; gap:7px!important; }
  html.vb18-central #app .vb183-top .mobile-menu-btn { width:44px!important; height:44px!important; min-width:44px!important; font-size:23px!important; }
  html.vb18-central #app .vb183-top .vb183-home { min-width:0!important; white-space:normal!important; line-height:1.2!important; font-size:13px!important; flex:1 1 0; text-align:left; }
  html.vb18-central #app .vb183-top a { white-space:normal!important; min-height:44px; display:inline-flex; align-items:center; font-size:12px!important; line-height:1.2; }
  html.vb18-central #app .sidebar { top:56px!important; bottom:0!important; width:min(84vw,300px)!important; left:-100vw!important; height:auto!important; max-height:calc(100dvh - 56px); overflow-y:auto!important; }
  html.vb18-central #app .sidebar.open { left:0!important; }
  html.vb18-central #app .side-backdrop { top:56px!important; }
  html.vb18-central #app .side-nav-btn { min-height:44px!important; font-size:14px!important; }
  html.vb18-central #app .workspace { width:100%!important; padding:12px!important; overflow:visible!important; }
  html.vb18-central #app .workspace-head h1 { font-size:21px!important; line-height:1.3!important; }
  html.vb18-central #app .workspace-head #who { font-size:13px!important; }
  html.vb18-central #app :is(.card,.settings-card,.module-card,.db-card,.v303-chart-card,.v309-dashboard-group) { padding:12px!important; min-width:0!important; max-width:100%!important; }
  html.vb18-central #app :is(.card h3,.card h4,.section-head h3,.section-head h4,.db-card h4) { font-size:16px!important; line-height:1.35!important; }
  html.vb18-central #app :is(.muted,.v303-kpi-top,.v303-kpi-note,.hint) { font-size:13px!important; line-height:1.45!important; }
  html.vb18-central #app :is(.section-head,.toolbar,.tabs,.subtabs,.settings-tabs,.pc-toolbar,.repasse-toolbar,.schedule-toolbar,.v303-head-controls) { flex-wrap:wrap!important; gap:8px!important; min-width:0!important; }
  html.vb18-central #app :is(.btn,.tabs button,.subtabs button,.settings-tabs button),.vb329-editor :is(.btn,button) { min-height:44px!important; font-size:14px!important; white-space:normal!important; line-height:1.3!important; }
  html.vb18-central #app :is(input:not([type=checkbox]):not([type=radio]),select,textarea),.login :is(input,select,textarea),.vb329-editor :is(input:not([type=checkbox]),select,textarea) { font-size:16px!important; min-height:44px!important; max-width:100%!important; min-width:0!important; }
  html.vb18-central #app :is(.field label,.formgrid label,.schedule-toolbar label),.login label,.vb329-editor label { font-size:14px!important; line-height:1.4!important; }
  html.vb18-central #app :is(.formgrid,.ref-form,.wait-form,.ref-filters,.repasse-form,.question-form,.manual-upload-grid,.portal-editor-grid,.user-layout-v22,.decl-grid,.support-form,.pc-toolbar,.wait-filter-4) { grid-template-columns:minmax(0,1fr)!important; }
  html.vb18-central #app :is(.formgrid,.ref-form,.wait-form,.ref-filters,.repasse-form,.question-form,.manual-upload-grid,.portal-editor-grid,.user-layout-v22,.decl-grid,.support-form,.pc-toolbar,.wait-filter-4)>* { min-width:0!important; max-width:100%!important; grid-column:auto!important; }
  html.vb18-central #app :is(.kpis,.module-cards,.settings-grid-cards,.v303-actions-grid,.admin-edit-grid,.v309-dashboard-grid) { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:9px!important; }
  html.vb18-central #app :is(.tablewrap,.schedule-scroll,.schedule-table-wrap) { display:block; max-width:100%!important; overflow-x:auto!important; }
  html.vb18-central #app .tbl :is(th,td) { font-size:13px!important; line-height:1.45!important; padding:9px 8px!important; }
  html.vb18-central #app :is(.tablewrap,.schedule-scroll,.schedule-table-wrap) table { min-width:max-content; }
  html.vb18-central #app iframe { max-width:100%!important; }
  .login { width:calc(100% - 24px)!important; max-width:440px!important; margin:20px auto!important; padding:16px!important; }
  .login .btn { min-height:44px!important; font-size:14px!important; }
  .vb329-editor { padding:12px!important; }
  .vb329-editor :is(h2,h3) { font-size:18px!important; line-height:1.3!important; }
  .vb329-editor .hint { font-size:14px!important; line-height:1.5!important; }
  .vb329-editor .scroll { overflow:auto!important; }
  .vb329-editor .scroll table { min-width:560px; }
  .vb329-editor :is(.grid,.formgrid,.fields,.vb329-form) { grid-template-columns:minmax(0,1fr)!important; }
}
@media screen and (max-width:420px) {
  html.vb18-central #app .workspace { padding:9px!important; }
  html.vb18-central #app :is(.module-cards,.settings-grid-cards,.v303-actions-grid,.admin-edit-grid,.v309-dashboard-grid) { grid-template-columns:minmax(0,1fr)!important; }
  html.vb18-central #app .vb183-top .vb183-home { font-size:12px!important; }
  html.vb18-central #app .vb183-top a { font-size:11px!important; }
}
