/* ==========================================================================
   Affiliation (membership -> training center): shared foundation
   --------------------------------------------------------------------------
   The same file in the seven sibling projects. It gives every part of the
   member pages a complete, neutral look driven by the --af-* variables.
   theme.css (different in each project) sets those variables and redraws the
   parts that make each project's pages its own.
   Everything is scoped to .af-root so the site's own styles are untouched.
   ========================================================================== */

.af-root {
  --af-surface: #ffffff;
  --af-surface-2: #f5f7fb;
  --af-line: #dde3ee;
  --af-line-strong: #b7c1d4;
  --af-text: #1b2333;
  --af-muted: #5d6980;
  --af-primary: #1f3f8f;
  --af-primary-ink: #ffffff;
  --af-accent: #2f7bff;
  --af-ok: #0f7a55;        --af-ok-bg: #e6f6ee;
  --af-warn: #975400;      --af-warn-bg: #fff3d9;
  --af-bad: #b3261e;       --af-bad-bg: #fdecea;
  --af-info: #1b5cb8;      --af-info-bg: #e8f1fd;
  --af-mute: #5d6980;      --af-mute-bg: #eef1f5;
  --af-radius: 12px;
  --af-radius-sm: 8px;
  --af-font: inherit;
  --af-display: inherit;
  --af-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --af-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 10px 28px -14px rgba(16, 24, 40, .22);
  --af-gap: 20px;
  --af-input-h: 46px;

  color: var(--af-text);
  font-family: var(--af-font);
  font-size: 16px;
  line-height: 1.6;
  text-align: start;
}

.af-root *, .af-root *::before, .af-root *::after { box-sizing: border-box; }
.af-root [hidden] { display: none !important; }
.af-root h1, .af-root h2, .af-root h3 { font-family: var(--af-display); color: var(--af-text); margin: 0; line-height: 1.2; }
/* doubled class: these have to win over the site's own "body p" colour whatever the order of the stylesheets */
.af-root.af-root p { margin: 0 0 .75em; color: var(--af-text); }
.af-root a { color: var(--af-accent); }
/* lists are reset; components that need a margin or a padding on their list are written as ".af-root .x" so they win over this */
.af-root ul, .af-root ol { margin: 0; padding: 0; list-style: none; }
.af-root img { max-width: 100%; }
.af-root :focus-visible { outline: 2px solid var(--af-accent); outline-offset: 2px; border-radius: 4px; }

.af-sr, .af-hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.af-eyebrow { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--af-muted); font-weight: 600; }

/* ---------- cards ---------- */
.af-card { background: var(--af-surface); border: 1px solid var(--af-line); border-radius: var(--af-radius); box-shadow: var(--af-shadow); padding: 24px; margin-bottom: var(--af-gap); }
.af-card--narrow { max-width: 620px; }
.af-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.af-card__title { font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.af-card__head .af-card__title { margin: 4px 0 0; }
.af-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--af-info-bg); color: var(--af-info); font-size: 20px; margin-bottom: 14px; }

/* ---------- key / value ---------- */
.af-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px 24px; margin: 0 0 18px; }
.af-kv > div { min-width: 0; }
.af-kv dt { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--af-muted); font-weight: 600; margin: 0 0 2px; }
.af-kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.af-kv--stack { grid-template-columns: 1fr; }

/* ---------- pills ---------- */
.af-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.4; white-space: nowrap; background: var(--af-mute-bg); color: var(--af-mute); }
.af-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.af-pill--ok { background: var(--af-ok-bg); color: var(--af-ok); }
.af-pill--warn { background: var(--af-warn-bg); color: var(--af-warn); }
.af-pill--bad { background: var(--af-bad-bg); color: var(--af-bad); }
.af-pill--info { background: var(--af-info-bg); color: var(--af-info); }

/* ---------- messages ---------- */
.af-alert, .af-note { border-radius: var(--af-radius-sm); padding: 14px 18px; margin-bottom: var(--af-gap); border: 1px solid transparent; border-inline-start-width: 4px; background: var(--af-info-bg); border-color: var(--af-info); color: var(--af-text); }
.af-alert > strong, .af-note > strong { display: block; margin-bottom: 4px; }
.af-alert ul { list-style: disc; padding-inline-start: 20px; margin-top: 6px; }
.af-alert p:last-child, .af-note p:last-child { margin-bottom: 0; }
.af-alert--ok, .af-note--ok { background: var(--af-ok-bg); border-color: var(--af-ok); }
.af-alert--bad, .af-note--bad { background: var(--af-bad-bg); border-color: var(--af-bad); }
.af-alert--warn, .af-note--warn { background: var(--af-warn-bg); border-color: var(--af-warn); }
.af-note .af-btn { margin-top: 10px; }
.af-rich p { margin: 0 0 .6em; }
.af-rich ul, .af-rich ol { padding-inline-start: 22px; margin: 0 0 .6em; }
.af-rich ul { list-style: disc; }
.af-rich ol { list-style: decimal; }
.af-rich h3, .af-rich h4, .af-rich h5 { font-size: 15px; font-weight: 700; margin: 1em 0 .3em; }
.af-rich > :first-child { margin-top: 0; }

/* ---------- buttons ---------- */
.af-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--af-radius-sm); border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s; }
.af-btn--primary { background: var(--af-primary); color: var(--af-primary-ink) !important; }
.af-btn--primary:hover { filter: brightness(1.08); }
.af-btn--ghost { background: transparent; border-color: var(--af-line-strong); color: var(--af-text) !important; }
.af-btn--ghost:hover { border-color: var(--af-primary); color: var(--af-primary) !important; }
.af-btn--link { background: none; border: 0; padding: 6px 0; min-height: 0; color: var(--af-accent) !important; text-decoration: underline !important; }
.af-btn--danger { color: var(--af-bad) !important; }
.af-btn--sm { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.af-btn.is-busy { opacity: .7; pointer-events: none; }
.af-btn.is-busy::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: af-spin .7s linear infinite; }
@keyframes af-spin { to { transform: rotate(360deg); } }
.af-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; align-items: center; margin-top: 22px; }
.af-actions--start { justify-content: flex-start; }
.af-inline { display: inline-block; margin: 6px 0; }

/* ---------- forms ---------- */
.af-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-bottom: 18px; }
.af-grid--single { grid-template-columns: 1fr; }
.af-field { min-width: 0; position: relative; }
.af-field--wide { grid-column: 1 / -1; }
.af-label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--af-text); }
.af-req { color: var(--af-bad); }
.af-input { display: block; width: 100%; min-height: var(--af-input-h); padding: 10px 14px; border: 1px solid var(--af-line-strong); border-radius: var(--af-radius-sm); background: var(--af-surface); color: var(--af-text); font: inherit; font-size: 15px; line-height: 1.4; transition: border-color .15s, box-shadow .15s; appearance: none; }
.af-input:focus { outline: none; border-color: var(--af-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--af-accent) 22%, transparent); }
.af-input::placeholder { color: var(--af-muted); opacity: .7; }
.af-input--area { min-height: 110px; resize: vertical; }
.af-input--select { padding-inline-end: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%237a869a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
[dir="rtl"] .af-input--select { background-position: left 14px center; }
.af-root.af-root .af-help { font-size: 13px; color: var(--af-muted); margin: 6px 0 0; }
.af-root.af-root .af-help--block { margin: 0 0 var(--af-gap); }
.af-root.af-root .af-error { font-size: 13px; font-weight: 600; color: var(--af-bad); margin: 6px 0 0; }
.af-error:empty { display: none; }
.af-field.has-error .af-input, .af-input.is-invalid { border-color: var(--af-bad); }
.af-field.has-error .af-input:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--af-bad) 20%, transparent); }
.af-field.is-flagged { outline: 2px dashed var(--af-warn); outline-offset: 6px; border-radius: var(--af-radius-sm); }
.af-counter { position: absolute; inset-inline-end: 10px; bottom: 8px; font-size: 11px; color: var(--af-muted); font-family: var(--af-mono); pointer-events: none; }
.af-field--textarea .af-counter { bottom: auto; top: 6px; }

.af-control { position: relative; }
.af-control--reveal .af-input { padding-inline-end: 46px; }
.af-reveal { position: absolute; inset-inline-end: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; color: var(--af-muted); cursor: pointer; border-radius: 6px; }
.af-reveal.is-on { color: var(--af-accent); }
.af-strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.af-strength i { height: 4px; border-radius: 2px; background: var(--af-line); }
.af-strength[data-af-strength="1"] i:nth-child(-n+1) { background: var(--af-bad); }
.af-strength[data-af-strength="2"] i:nth-child(-n+2) { background: var(--af-warn); }
.af-strength[data-af-strength="3"] i:nth-child(-n+3) { background: var(--af-info); }
.af-strength[data-af-strength="4"] i { background: var(--af-ok); }

/* choices: tiles (one of a few) and check lists */
.af-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.af-tiles--years { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.af-tile { position: relative; display: block; cursor: pointer; margin: 0; }
.af-tile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.af-tile__body { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border: 1px solid var(--af-line-strong); border-radius: var(--af-radius-sm); background: var(--af-surface); transition: border-color .15s, background .15s, box-shadow .15s; }
.af-tile__body i { color: var(--af-muted); font-size: 18px; margin-bottom: 4px; }
.af-tile__body strong { font-size: 15px; line-height: 1.3; }
.af-tile__body small { font-size: 13px; color: var(--af-muted); }
.af-tile input:checked + .af-tile__body { border-color: var(--af-primary); background: color-mix(in srgb, var(--af-primary) 7%, var(--af-surface)); box-shadow: inset 0 0 0 1px var(--af-primary); }
.af-tile input:checked + .af-tile__body i { color: var(--af-primary); }
.af-tile input:focus-visible + .af-tile__body { outline: 2px solid var(--af-accent); outline-offset: 2px; }
.af-tile.is-locked { opacity: .5; }
.af-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 16px; }
.af-choice, .af-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; margin: 0; font-size: 15px; line-height: 1.45; }
.af-choice input, .af-check input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--af-primary); }
.af-accept { padding: 14px 16px; border: 1px solid var(--af-line-strong); border-radius: var(--af-radius-sm); background: var(--af-surface-2); }

/* fee preview */
.af-fees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.af-fee { padding: 16px 18px; border-radius: var(--af-radius-sm); background: var(--af-surface-2); border: 1px dashed var(--af-line-strong); margin-top: 6px; }
.af-fee__label { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--af-muted); font-weight: 600; }
.af-fee__amount { display: block; font-size: 26px; font-family: var(--af-display); line-height: 1.3; margin: 2px 0 4px; }

/* uploads */
.af-uploads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.af-upload { padding: 16px; border: 1px solid var(--af-line); border-radius: var(--af-radius-sm); background: var(--af-surface-2); }
.af-upload--images { grid-column: 1 / -1; }
.af-upload__head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.af-upload__head .af-label { margin-bottom: 2px; }
.af-upload__rule { font-size: 12px; color: var(--af-muted); font-family: var(--af-mono); }
.af-upload__form { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 2px; font-weight: 600; font-size: 14px; }
.af-upload__drop { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; padding: 12px 14px; border: 1px dashed var(--af-line-strong); border-radius: var(--af-radius-sm); background: var(--af-surface); cursor: pointer; font-weight: 600; font-size: 14px; color: var(--af-muted); transition: border-color .15s, color .15s; position: relative; }
.af-upload__drop:hover, .af-upload.has-files .af-upload__drop { border-color: var(--af-accent); color: var(--af-accent); }
.af-upload__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.af-root .af-upload__list { display: grid; gap: 6px; margin-top: 8px; }
.af-upload__file { display: flex; align-items: center; gap: 10px; font-size: 13px; min-width: 0; }
.af-upload__thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; border: 1px solid var(--af-line); flex: none; }
.af-upload__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.af-upload__size { color: var(--af-muted); font-style: normal; flex: none; }
.af-root .af-upload__given { display: grid; gap: 4px; margin-top: 10px; font-size: 13px; }
.af-upload__given li { display: flex; gap: 8px; align-items: center; min-width: 0; }
.af-upload__given i { color: var(--af-ok); }
.af-upload__given a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af-upload__given em { color: var(--af-muted); font-style: normal; flex: none; }
.af-root .af-upload--images .af-upload__list { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

/* terms */
.af-terms { max-height: 300px; overflow: auto; padding: 18px 20px; border: 1px solid var(--af-line); border-radius: var(--af-radius-sm); background: var(--af-surface-2); margin-bottom: 18px; font-size: 14px; }
.af-terms h3, .af-terms h4, .af-terms h5 { font-size: 15px; font-weight: 700; margin: 1em 0 .3em; }
.af-terms > :first-child { margin-top: 0; }
.af-terms ul { list-style: disc; padding-inline-start: 22px; }
.af-terms ol { list-style: decimal; padding-inline-start: 22px; }

/* ---------- form steps ---------- */
.af-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.af-shell__nav { position: sticky; top: 110px; }
.af-root .af-steps { display: grid; gap: 4px; counter-reset: af-step; }
.af-steps__item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--af-radius-sm); cursor: pointer; color: var(--af-muted); }
.af-steps__no { font-family: var(--af-mono); font-size: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--af-line-strong); flex: none; background: var(--af-surface); }
.af-steps__label { display: block; font-weight: 600; color: var(--af-text); font-size: 15px; line-height: 1.3; }
.af-steps__hint { display: none; font-size: 13px; }
.af-steps__item.is-active .af-steps__no { background: var(--af-primary); border-color: var(--af-primary); color: var(--af-primary-ink); }
.af-steps__item.is-done .af-steps__no { background: var(--af-ok-bg); border-color: var(--af-ok); color: var(--af-ok); }
.af-steps__item.is-active .af-steps__hint { display: block; }
.af-progress { height: 4px; border-radius: 2px; background: var(--af-line); margin-bottom: 14px; overflow: hidden; }
.af-progress span, .af-progress::before { content: ""; display: block; height: 100%; width: var(--af-progress, 0%); background: var(--af-accent); transition: width .3s; }
.af-progress span { display: none; }
.af-step { background: var(--af-surface); border: 1px solid var(--af-line); border-radius: var(--af-radius); box-shadow: var(--af-shadow); padding: 24px; margin-bottom: var(--af-gap); }
.af-step__head { margin-bottom: 20px; }
.af-step__no { font-family: var(--af-mono); font-size: 12px; color: var(--af-accent); letter-spacing: .1em; }
.af-step__title { font-size: 22px; font-weight: 700; margin: 2px 0 4px; }
.af-root.af-root .af-step__intro { color: var(--af-muted); margin: 0; font-size: 15px; }
.af-root .af-how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: var(--af-gap); counter-reset: af-how; }
.af-how li { counter-increment: af-how; padding: 14px 16px; border: 1px solid var(--af-line); border-radius: var(--af-radius-sm); background: var(--af-surface); }
.af-how li::before { content: counter(af-how, decimal-leading-zero); display: block; font-family: var(--af-mono); font-size: 12px; color: var(--af-accent); }
.af-how strong { display: block; font-size: 15px; }
.af-how span { font-size: 13px; color: var(--af-muted); }

/* ---------- tables ---------- */
.af-table-wrap { overflow-x: auto; }
.af-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.af-table th { text-align: start; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--af-muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--af-line-strong); white-space: nowrap; }
.af-table td { padding: 12px; border-bottom: 1px solid var(--af-line); vertical-align: middle; }
.af-table tr:last-child td { border-bottom: 0; }
.af-table small { color: var(--af-muted); }
.af-table__action { text-align: end; white-space: nowrap; }

/* ---------- history ---------- */
.af-root .af-timeline { position: relative; display: grid; gap: 16px; padding-inline-start: 22px; }
.af-timeline::before { content: ""; position: absolute; inset-inline-start: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--af-line); }
.af-timeline__item { position: relative; }
.af-timeline__dot { position: absolute; inset-inline-start: -22px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--af-surface); border: 2px solid var(--af-line-strong); }
.af-timeline__item--staff .af-timeline__dot { border-color: var(--af-primary); background: var(--af-primary); }
.af-timeline__item--applicant .af-timeline__dot { border-color: var(--af-accent); }
.af-timeline__body strong { display: inline-block; margin-inline-end: 10px; }
.af-timeline__body time { font-size: 13px; color: var(--af-muted); }
.af-timeline__note { margin: 6px 0 0; padding: 10px 14px; background: var(--af-surface-2); border-radius: var(--af-radius-sm); font-size: 14px; }

/* ---------- misc ---------- */
.af-meter { height: 10px; border-radius: 5px; background: var(--af-mute-bg); overflow: hidden; margin: 0 0 18px; }
.af-meter__bar { display: block; height: 100%; width: var(--af-progress, 0%); background: var(--af-ok); border-radius: inherit; }
.af-member--due .af-meter__bar { background: var(--af-warn); }
.af-member--expired .af-meter__bar { background: var(--af-bad); }
.af-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--af-gap); align-items: start; }
.af-split > .af-card { margin-bottom: 0; }
.af-split { margin-bottom: var(--af-gap); }
.af-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; margin-bottom: 14px; }
.af-pair__item { padding: 16px; border: 1px solid var(--af-line); border-radius: var(--af-radius-sm); background: var(--af-surface-2); display: grid; gap: 6px; justify-items: start; }
.af-pair__item strong { font-size: 17px; }
.af-pair__link { color: var(--af-muted); font-size: 18px; }
.af-files { margin: 0 0 12px; font-size: 14px; }
.af-files summary { cursor: pointer; font-weight: 600; }
.af-files ul { margin-top: 8px; display: grid; gap: 4px; }
.af-bank { padding: 14px 16px; border-radius: var(--af-radius-sm); background: var(--af-surface-2); border: 1px solid var(--af-line); font-size: 14px; margin: 10px 0 0; }
.af-bank--plain { white-space: pre-wrap; font-family: var(--af-mono); font-size: 13px; color: var(--af-text); }
.af-pay__amount { font-size: 34px; font-family: var(--af-display); margin: 2px 0 0; }

/* ---------- small screens ---------- */
@media (max-width: 991px) {
  .af-shell { grid-template-columns: 1fr; }
  .af-shell__nav { position: static; }
  .af-root .af-steps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; }
  .af-steps__item { flex-direction: column; align-items: center; text-align: center; padding: 6px 2px; gap: 4px; }
  .af-steps__label { font-size: 11px; }
  .af-steps__item:not(.is-active) .af-steps__label { display: none; }
  .af-steps__hint { display: none !important; }
  .af-root .af-how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .af-grid, .af-uploads, .af-fees, .af-split { grid-template-columns: 1fr; }
  .af-tiles--years { grid-template-columns: 1fr; }
  .af-card, .af-step { padding: 18px; }
  .af-pair { grid-template-columns: 1fr; }
  .af-pair__link { justify-self: center; transform: rotate(90deg); }
  .af-root .af-how { grid-template-columns: 1fr; }
  .af-actions { justify-content: stretch; }
  .af-actions .af-btn { flex: 1 1 auto; }
  /* tables become stacked cards */
  .af-table thead { display: none; }
  .af-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--af-line); }
  .af-table td { display: flex; justify-content: space-between; gap: 14px; padding: 4px 0; border: 0; text-align: end; }
  .af-table td::before { content: attr(data-label); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--af-muted); font-weight: 600; text-align: start; }
  .af-table__action { justify-content: flex-end !important; padding-top: 8px !important; }
  .af-table__action::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .af-root * { transition: none !important; animation: none !important; }
}

@media print {
  .af-print-hide, .af-actions, .af-btn, .af-nav, .af-inline { display: none !important; }
  .af-card { box-shadow: none; border-color: #999; }
}
