/* SPDX-License-Identifier: LicenseRef-Airbus-Proprietary */
/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:inherit;font-weight:600;cursor:pointer;border-radius:var(--radius);padding:11px 18px;border:1px solid transparent;transition:transform .04s ease,box-shadow .15s,background .15s,border-color .15s;white-space:nowrap}
.btn:active{transform:translateY(1px)}
/* AN ICON AT ITS TEXT SIZE, EVERYWHERE (NEED-250).
   These two rules only existed in the hub sheet. On the standalone catalogue page,
   an unconstrained SVG stretches to its intrinsic size: measured, a sensor class badge
   took 352 px and a slot card 451 px instead of 52 — ten list screens for twenty opportunities. */
.ic{width:20px;height:20px;flex:none}
.btn .ic{width:16px;height:16px}
.sclass svg{width:15px;height:15px;display:block}
/* THE ICON OF A BUTTON AT ITS TEXT SIZE. Without constraint, an SVG
   expands to its intrinsic size: the search button magnifier took up the
   entire button outside the card page, the only one carrying this rule. */
.btn .ic,.afold .ic{width:16px;height:16px;flex:none}
.btn[disabled]{opacity:.55;cursor:not-allowed}
.btn-primary{background:var(--navy);color:var(--bg)}
.btn-primary:hover{background:var(--navy-700);box-shadow:var(--shadow)}
.btn-ghost{background:var(--bg);color:var(--navy);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--navy);background:var(--navy-50)}
.btn-light{background:rgba(var(--bg-rgb),.12);color:var(--bg);border-color:rgba(var(--bg-rgb),.3)}
.btn-light:hover{background:rgba(var(--bg-rgb),.2)}
.btn-sm{padding:8px 13px;font-size:.9rem}
.btn-lg{padding:14px 26px;font-size:1.05rem}

/* NEED-214: global overflow guard rails (buttons/text/media). Media and fields
   never exceed their container; button rows wrap; sidebar and filter buttons can fold
   their label rather than overflow; long strings are cut. */
img,svg,video,canvas{max-width:100%}
input,select,textarea{max-width:100%}
.actions,.grp,.presets,.mp-act{flex-wrap:wrap}
.panelwrap .btn,.filters .btn{white-space:normal;min-width:0;max-width:100%}
.ordsid{overflow-wrap:anywhere}
