/* Allied Forces Design System tokens and base rules. Pages set exact values with
   inline styles, as in the design reference; only what inline styles cannot do
   (fonts, states, placeholders) lives here. Fonts are self-hosted: no request to
   Google, which the prototype still made. */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/IBMPlexSans-Regular-43ac0f68.ttf") format("truetype"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url("/assets/IBMPlexSans-Italic-aa3d2efe.ttf") format("truetype"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/IBMPlexSans-Medium-31749597.ttf") format("truetype"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/IBMPlexSans-SemiBold-d852b00d.ttf") format("truetype"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/IBMPlexSans-Bold-b4243b07.ttf") format("truetype"); }

:root {
  --af-green: #495747; --af-green-deep: #2f3a30; --af-green-ink: #22301f; --af-accent: #6fbb84;
  --af-green-light: #a7d3b2; --af-green-pale: #eef7f0; --af-amber: #e3b04b; --af-red: #d4574a;
  --af-page: #eef1ed; --af-border: #c9d0c7; --af-border-soft: #dfe4dd; --af-text: #2b3329;
  --af-muted: #5d6a5b; --af-muted-2: #6b7769; --af-muted-3: #9aa597;
}

body { margin: 0; color-scheme: light; font-family: "IBM Plex Sans", sans-serif; color: #2b3329; }
a { color: #495747; }
a:hover { color: #6fbb84; }
textarea, input, button, select { font-family: inherit; }
textarea::placeholder, input::placeholder { color: #9aa597; }
/* Agent Console: this field keeps the browser's own placeholder colour, as in the design. */
input.af-native-placeholder::placeholder { color: #757575; }
[hidden] { display: none !important; }

/* Two-factor method choice: a radio that looks like the design's button. */
.af-method { background: #fff; border: 1.5px solid #dfe4dd; }
.af-method:has(input:checked) { background: #eef7f0; border-color: #6fbb84; }
.af-method .af-dot { border: 1.5px solid #9aa597; }
.af-method:has(input:checked) .af-dot { border: 5px solid #495747; }

/* Buttons inside button_to forms keep the layout of the element they replace. */
form.af-inline { display: contents; }
turbo-frame { display: contents; }
#bell { display: inline-block; }

@media print {
  [data-no-print] { display: none !important; }
}

/* style-hover in the design: the ring around a card or person you can click. */
.af-hover-ring:hover { box-shadow: 0 0 0 2px #6fbb84 !important; }
