/* Preserve cache123 typography cascade (including UA and inherited text).
   CSS px already follows browser zoom; only approved settings/picker use rem.
   This layer owns wrapping and scrolling, not a new global font contract. */
.page-heading p,#adminPolicyForm :is(h3,p,label),.modal-head h2,.modal-head p,.field-help,.security-note{overflow-wrap:anywhere}
.modal-head>div,.modal-field{min-width:0}
.modal-field :is(input,select),.assets-toolbar>.inner-search input,.json-reference-toolbar>.inner-search input{min-width:0}
.field-menu .field-menu-trigger{white-space:normal!important;overflow-wrap:anywhere;height:auto;min-height:44px;padding-block:8px}
.field-menu .field-menu-trigger b{flex-shrink:0}
.group-pill{max-width:100%;height:auto;min-height:44px;white-space:normal!important;overflow-wrap:anywhere;padding-block:8px}
.group-pill :is(b,span){flex-shrink:0}
/* Keep approved equal rows: default84, root24=126; typography inherits original cascade. */
body .library-switch-modal-body .library-switch-option{height:5.25rem;min-height:5.25rem;max-height:5.25rem}
.modal{max-height:min(700px,92vh);max-height:min(700px,calc(100dvh - 28px));overflow:auto}
/* Upload labels only: match the quiet 13px form-label hierarchy without inflation. */
#uploadForm .modal-field>label{font-size:.8125rem;-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media(min-width:701px){#uploadForm .drop-zone strong{font-size:1.125rem}}
@media(max-width:700px){
 .settings-grid .form-field :is(input,select){font-size:clamp(.8125rem,.75rem + .25vw,.875rem)}
 /* Higher specificity than view-local move-toolbar style; never changes row placement. */
 body #app .assets-toolbar .asset-bulk-actions{justify-content:flex-end;gap:4px;height:44px;min-height:44px;flex-wrap:nowrap}
 .library-outside-actions,.library-outside-actions>div{flex-wrap:wrap}
}
