/* Certigate Theme 1.16.0 — Release Candidate hardening */
:root{--cg-safe-bottom:max(18px,env(safe-area-inset-bottom));}
html,body{max-width:100%;overflow-x:clip;}
.cg-screen,.cgcs-shell,.cg-front-shell,.cg-admin-shell{min-width:0;}
.cg-screen :where(table,.cg-table,.widefat){max-width:100%;}
.cg-screen :where(.table-wrap,.cg-table-wrap,.cg-admin-table-wrap){overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain;}
.cg-screen :where(button,.btn,[role="button"],input[type="submit"],input[type="button"],a.cg-action){min-height:44px;}
.cg-screen :where(input,select,textarea,button,a):focus-visible{outline:3px solid color-mix(in srgb,var(--gold,#c9a227) 78%,white);outline-offset:2px;}
.cg-screen :where(.drawer,.cg-drawer,.cg-panel,.cg-modal__panel){max-height:min(92dvh,900px);overflow:auto;overscroll-behavior:contain;}
.cg-screen :where(.cg-form-grid,.cg-filter-row,.cg-actions-row){min-width:0;}
.cg-screen :where(.cg-form-grid,.cg-filter-row){grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));}
.cg-screen :where(.cg-empty,.empty-state){max-width:760px;margin-inline:auto;text-align:center;}
@media(max-width:680px){
  body{padding-bottom:var(--cg-safe-bottom);}
  .cg-screen :where(.cg-actions-row,.cg-toolbar,.cg-filter-row){display:flex;flex-wrap:wrap;gap:10px;}
  .cg-screen :where(.cg-actions-row,.cg-toolbar) > *{max-width:100%;}
  .cg-screen :where(.cg-drawer,.cg-panel.is-drawer){inset:auto 0 0!important;width:100%!important;max-width:none!important;border-radius:22px 22px 0 0;padding-bottom:var(--cg-safe-bottom);}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;}}
