/* Web adaptation of Apple HIG/WWDC25 shape principles, not native UIKit metrics.
   Capsule radius is clamped by CSS to half the rendered height. */
:is(body.gmn-site,body.gmn-prototype) :is(button,.button,.btn):not(:is(.stat,.stat-link,.stock-card,.showcase-image-button,.showcase-star,[role=radio],[role=tab],.glass-select-trigger,.swatch-btn,.gmn-nav-button,.nav,.view-controls *,.showcase-collections *,.report-tabs *)){
 display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;
 min-height:var(--gmn-size-button);min-width:var(--gmn-size-button);height:auto;
 padding:11px 18px;border-radius:var(--gmn-radius-button);line-height:20px;text-align:center;
 vertical-align:middle;touch-action:manipulation;flex-shrink:0;
}
:is(body.gmn-site,body.gmn-prototype) :is(button,.btn).primary:active:not(:disabled){filter:brightness(.97);transform:translateY(1px)}
:is(body.gmn-site,body.gmn-prototype) :is(button.close,.showcase-refresh,.showcase-detail-button,#close-form-popup){width:var(--gmn-size-button);height:var(--gmn-size-button);min-width:var(--gmn-size-button);min-height:var(--gmn-size-button);padding:0;border-radius:50%;aspect-ratio:1;line-height:1}
:is(body.gmn-site,body.gmn-prototype) :is(.badge,.stock-status,.product-count,.showcase-hot){
 display:inline-flex;align-items:center;justify-content:center;gap:5px;box-sizing:border-box;
 min-height:var(--gmn-size-badge);height:auto;max-width:100%;padding:5px 11px;
 border-radius:var(--gmn-radius-badge);font-size:12px;font-weight:500;line-height:16px;
 vertical-align:middle;white-space:normal;overflow-wrap:anywhere;
}
:is(body.gmn-site,body.gmn-prototype) .spool-type{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:var(--gmn-size-tag);padding:2px 7px;border-radius:var(--gmn-radius-badge);font-size:10px;line-height:14px}
/* Segments keep a rounded rectangle inside the parent track. */
:is(body.gmn-site,body.gmn-prototype) :is(.view-controls,.showcase-collections,.report-tabs) button{border-radius:var(--gmn-radius-segment);line-height:20px}
