/* Shared responsive layer for the Capital Humano portal and dynamic modules. */
@media (max-width:700px){
  #view{padding-bottom:28px!important}#view .panel,#view .card{padding:16px!important;border-radius:15px!important}
  #view .toolbar,#view .actions,#view .filter-row,#view .form-actions{display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;gap:9px!important}
  #view .toolbar>* ,#view .actions>* ,#view .filter-row>* ,#view .form-actions>*{min-width:0!important;flex:1 1 100%}
  #view input,#view select,#view textarea{max-width:100%!important;box-sizing:border-box!important}#view input[type=search]{min-width:0!important;width:100%!important}
  #view .table-wrap,#view .data-table-wrap,#view .report-table-wrap,#view .audit-table-wrap{max-width:100%!important;overflow:auto!important;-webkit-overflow-scrolling:touch}
  #view .table-wrap table,#view .data-table-wrap table,#view .report-table-wrap table,#view .audit-table-wrap table{min-width:610px!important}
  #view .modal,#view dialog{width:calc(100vw - 22px)!important;max-width:none!important;max-height:88dvh!important;overflow:auto!important}
  #view .cards,#view .grid,#view .dashboard-grid,#view .summary-grid,#view .employee-details,#view .report-grid,#view .settings-grid,#view .upload-grid{grid-template-columns:1fr!important}
  #view .nom-screen{width:100%;min-width:0;max-width:100%;padding:0!important}
  #view .nom-title{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;align-items:start!important}
  #view .nom-title h2{font-size:23px!important;line-height:1.15}#view .nom-title p,#view .nom-title span{overflow-wrap:anywhere}
  #view .nom-actions,#view .nom-copy,#view .nom-access-actions,#view .nom-test-actions{display:grid!important;grid-template-columns:1fr!important;width:100%;gap:9px!important}
  #view .nom-actions>* ,#view .nom-copy>* ,#view .nom-access-actions>* ,#view .nom-test-actions>*{width:100%!important;box-sizing:border-box;text-align:center}
  #view .nom-kpis,#view .nom-guide-grid,#view .nom-dashboard-links,#view .nom-quadrants,#view .nom-gender-guides,#view .nom-test-kpis,#view .nom-access-grid,#view .nom-tab-picker>div{grid-template-columns:1fr!important}
  #view .nom-form,#view .nom-inline-form,#view .nom-test-two{grid-template-columns:1fr!important}#view .nom-form>*{min-width:0!important;width:100%!important}
  #view .nom-report-card,#view .nom-card,#view .nom-panel{padding:16px!important;border-radius:14px!important;min-width:0!important}
  #view .nom-table{margin:0 -4px;max-width:calc(100% + 8px)!important;overflow:auto!important;-webkit-overflow-scrolling:touch}#view .nom-table table{min-width:620px!important}
  #view .nom-tab-picker{padding:13px!important}#view .nom-tab-picker label{align-items:flex-start!important}
  #view .nom-copy code{display:block;white-space:normal;overflow-wrap:anywhere}#view .nom-list-heading{align-items:flex-start!important;gap:8px!important;flex-direction:column}
  #view .nom-test-dialog{width:100%!important}#view .nom-confirm{width:calc(100vw - 28px)!important;max-width:none!important}
  #view .nom-user-form input,#view .nom-user-form select,#view .nom-user-form textarea{width:100%!important;box-sizing:border-box}
}
