/* PrimeDesk UX audit V269 — melhorias transversais de acessibilidade e responsividade */
:root{--pd-ux-focus:#f59e0b;--pd-ux-focus-ring:0 0 0 3px rgba(245,158,11,.35)}
html{scroll-behavior:smooth;text-size-adjust:100%;-webkit-text-size-adjust:100%}
body{overflow-wrap:anywhere}
.pd-skip-link{position:fixed;left:16px;top:-80px;z-index:20000;padding:12px 16px;border-radius:10px;background:#0f172a;color:#fff!important;font-weight:800;text-decoration:none;box-shadow:0 12px 30px rgba(15,23,42,.35);transition:top .16s ease}
.pd-skip-link:focus{top:16px}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--pd-ux-focus)!important;outline-offset:2px!important;box-shadow:var(--pd-ux-focus-ring)!important}
:where(button,.btn,.nav-link,.dropdown-item){min-height:40px}
:where(input:not([type=checkbox]):not([type=radio]),select,textarea,.form-control,.form-select){font-size:max(16px,1rem)}
:where(input,select,textarea):disabled{cursor:not-allowed;opacity:.72}
:where(.table-responsive,.responsive-table,.table-wrap){-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain}
table{caption-side:top}
.table-responsive:focus-visible{outline:3px solid var(--pd-ux-focus);outline-offset:2px}
:where(.alert,[role=alert]){overflow-wrap:anywhere}
:where(.modal,.dialog,[role=dialog]){max-width:100vw}
:where(.modal-content){max-height:calc(100vh - 24px);overflow:auto}
:where(.text-muted,.muted,small){line-height:1.45}
:where(.badge){white-space:normal;text-align:left}
@media (max-width:767.98px){
  body{font-size:15px}
  :where(.content-area,.freq-main,.main,.gf-content-area){padding-left:14px!important;padding-right:14px!important}
  :where(.page-head,.freq-page-head,.toolbar,.actions,.page-actions){gap:10px;flex-wrap:wrap}
  :where(.page-head h1,.freq-page-head h1){font-size:clamp(1.35rem,7vw,1.85rem)}
  :where(.btn-group,.input-group){max-width:100%}
  :where(.btn-group){flex-wrap:wrap}
  :where(.modal-dialog){margin:8px}
  :where(.card,.panel,.section-card){border-radius:14px}
  .table-responsive{border-radius:12px}
  table{min-width:680px}
  :where(form .row)>*{min-width:0}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
@media print{.pd-skip-link,.global-theme-toggle,.sidebar-toggle-btn,.app-floating-user{display:none!important}:where(a[href]){text-decoration:none!important}}
