/* ICS flat buttons (ids: :not() prefix lifts specificity above page id rules) (owner 2026-11-12): no tear (mask) and no halftone (radial dots) on any button, global.
   Solid fill, radius 8px, no pseudo-element decoration. Keeps fills, text colours, sizes, hover and focus-visible.
   Torn/primary: fill var(--torn-fill) (black), text var(--torn-ink) (cream). Secondary: white fill, 1px --border-ui.
   Footer socials: 48px square, black fill, 1px light edge, pink hover. Tokens only. */

:root:not(#ics-fx-a):not(#ics-fx-b):not(#ics-fx-c) body :is(.ics-btn--torn, .ics-btn--torn-b, .ics-btn--torn-yellow, .ics-btn--torn-pink, .ics-btn--torn-blue, button.bricks-button, button[type='submit'], input[type='submit'], a.ics-ev-sec, #ft-social a)::before,
:root:not(#ics-fx-a):not(#ics-fx-b):not(#ics-fx-c) body :is(.ics-btn--torn, .ics-btn--torn-b, .ics-btn--torn-yellow, .ics-btn--torn-pink, .ics-btn--torn-blue, button.bricks-button, button[type='submit'], input[type='submit'], a.ics-ev-sec, #ft-social a)::after {
  content: none !important;
  display: none !important;
  mask: none !important;
  -webkit-mask: none !important;
  background: none !important;
  border-image: none !important;
}

:root:not(#ics-fx-a):not(#ics-fx-b):not(#ics-fx-c) body :is(.ics-btn--torn, .ics-btn--torn-b, .ics-btn--torn-yellow, .ics-btn--torn-pink, .ics-btn--torn-blue, button.bricks-button, button[type='submit'], input[type='submit']) {
  position: relative !important;
  isolation: auto !important;
  background-image: none !important;
  background-color: var(--torn-fill, var(--neutral-1000)) !important;
  color: var(--torn-ink, var(--yellow-0)) !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  mask: none !important;
  -webkit-mask: none !important;
}

:root:not(#ics-fx-a):not(#ics-fx-b):not(#ics-fx-c) body :is(a.ics-ev-sec, .nw-links a.is-call, .nw-links a.is-map, .nw-links a.is-web) {
  position: relative !important;
  isolation: auto !important;
  background-image: none !important;
  background-color: #ffffff !important;
  color: var(--neutral-1000) !important;
  border: 1px solid var(--border-ui) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  mask: none !important;
  -webkit-mask: none !important;
}
:root:not(#ics-fx-a):not(#ics-fx-b):not(#ics-fx-c) body :is(.nw-links a.is-call, .nw-links a.is-map, .nw-links a.is-web)::before {
  content: none !important;
  display: none !important;
  mask: none !important;
  -webkit-mask: none !important;
  background: none !important;
}
:root:not(#ics-fx-a):not(#ics-fx-b):not(#ics-fx-c) body :is(.nw-links a.is-call, .nw-links a.is-map, .nw-links a.is-web)::after {
  mask: none !important;
  -webkit-mask: none !important;
  background-color: transparent !important;
  background-image: var(--torn-icon) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

:root:not(#ics-fx-a):not(#ics-fx-b):not(#ics-fx-c) body :is(.ics-btn--torn, .ics-btn--torn-b, .ics-btn--torn-yellow, .ics-btn--torn-pink, .ics-btn--torn-blue, button.bricks-button, button[type='submit'], input[type='submit'], a.ics-ev-sec, .nw-links a.is-call, .nw-links a.is-map, .nw-links a.is-web):focus-visible {
  outline: 2px solid var(--neutral-1000) !important;
  outline-offset: 3px !important;
}

:root:not(#ics-fx-a):not(#ics-fx-b):not(#ics-fx-c) body #ft-social#ft-social a {
  position: relative !important;
  isolation: auto !important;
  box-sizing: border-box !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  background-image: none !important;
  background-color: var(--neutral-1000) !important;
  color: #ffffff !important;
  border: 1px solid color-mix(in srgb, #ffffff 40%, transparent) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  mask: none !important;
  -webkit-mask: none !important;
}
@media (hover: hover) and (pointer: fine) {
  :root:not(#ics-fx-a):not(#ics-fx-b):not(#ics-fx-c) body #ft-social#ft-social a:hover {
    background-color: var(--ics-pink-hover) !important;
    border-color: var(--ics-pink-hover) !important;
    color: #ffffff !important;
  }
}
:root:not(#ics-fx-a):not(#ics-fx-b):not(#ics-fx-c) body #ft-social#ft-social a:focus-visible {
  background-color: var(--ics-pink-hover) !important;
  border-color: var(--ics-pink-hover) !important;
  color: #ffffff !important;
  outline: 2px solid var(--heading) !important;
  outline-offset: 3px !important;
}
:root:not(#ics-fx-a):not(#ics-fx-b):not(#ics-fx-c) body #ft-social#ft-social a:active {
  background-color: var(--ics-pink-brand-press) !important;
  border-color: var(--ics-pink-brand-press) !important;
  color: #ffffff !important;
}
