/* The shared shape for HangarVector's actual action controls. Surfaces and state colors
   are owned by the underlying components, including native focus and disabled states. */
:root{
  --hv-control-shape:10px 22px 22px 12px;
  --hv-control-edge:none;
}
@supports (clip-path:shape(from 0 0, line to 100% 100%, close)){
  :root{
    --hv-control-shape:3px 22px 22px 3px;
    --hv-control-edge:shape(
      from 14px 0,
      hline to 100%,
      vline to 100%,
      hline to 8px,
      curve to 2px 78% with 2px 100% / 1px 90%,
      line to 8px 22%,
      curve to 14px 0 with 9px 10% / 10px 0,
      close
    );
  }
}
:root body :is(
  button,input[type=submit],input[type=button],input[type=reset],[role=button],
  .btn,.button,.btn-primary,.v201-btn,.ops-btn,.admin-btn,.hv-btn,
  .hv-primary,.hv-secondary,.hv-icon-btn,.v201-tab,.fr-btn,.demo210-btn,
  .hv219-mission-cta,.hv216-single-link,.ix-btn,
  .hv-side-link,.hv209-control,.hv-mobile-menu-button,.hv-generic-mobile-menu-button,
  #hv-mobile-action-panel a,.hv-generic-mobile-panel a,.hv209-menu__panel a,
  #public-mobile-nav a
):not(:is(.hero-slide-dot,.slide-dot,[data-slide-to],.hv234-check-control,.close,[aria-label="Close"])){
  border-radius:var(--hv-control-shape)!important;
  clip-path:var(--hv-control-edge)!important;
  &:focus-visible{outline-offset:-4px}
}
body :is(.btn,.button,.v201-btn,.ops-btn,.admin-btn,.hv-btn,.hv-primary,.hv-secondary,input[type=submit]){
  min-block-size:42px;
  padding-inline:clamp(12px,2vw,18px);
}
body :is(button.mobile-btn,.hv-mobile-menu-button,.hv-generic-mobile-menu-button,button[aria-controls="public-mobile-nav"],button[aria-label*="navigation menu" i],button[aria-label*="sidebar" i]){
  min-inline-size:44px;
  min-block-size:44px;
  padding-inline:12px;
}
@media(max-width:600px){body .hv-side-nav .hv-side-link{min-block-size:44px}}

/* The native picker owns the visible chooser; style its button, not the file name field. */
:root body input[type=file]::file-selector-button{
  border-radius:var(--hv-control-shape)!important;
  clip-path:var(--hv-control-edge)!important;
  min-block-size:36px;
  padding-inline:16px 14px;
}
body .hv-action-disclosure{
  cursor:pointer;
  margin-block-end:6px;
}
