/* Flagship AML — switching AML software interactive article (Stage 2).
   Scoped under .fa-switch so styles do not leak into the global theme. */
.fa-switch {
  --fa-navy: #102c43;
  --fa-teal: #256a65;
  --fa-gold: #f0cc85;
  --fa-border: #c9d6dd;
  --fa-muted: #4c5e69;
  color: #183345;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}
.fa-switch *,
.fa-switch *::before,
.fa-switch *::after {
  box-sizing: border-box;
}
.fa-switch h2.mini-heading,
.fa-switch h3 {
  line-height: 1.22;
  color: var(--fa-navy);
}
.fa-switch h3 {
  font-size: 1.35rem;
  margin-top: 8px;
  margin-bottom: 0.5em;
}
.fa-switch .fa-final {
  background: var(--fa-navy);
  color: white;
  border-radius: 12px;
  padding: clamp(20px, 5vw, 44px);
  margin: 28px 0 20px;
}
.fa-switch .fa-brand,
.fa-switch .fa-kicker {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.fa-switch .fa-tool {
  border: 1px solid var(--fa-border);
  border-top: 4px solid var(--fa-teal);
  border-radius: 10px;
  padding: clamp(16px, 4vw, 26px);
  margin: 25px 0 35px;
  background: #f7fafb;
  scroll-margin-top: 90px;
}
.fa-switch .fa-kicker,
.fa-switch .fa-note {
  color: var(--fa-muted);
}
.fa-switch .fa-note {
  font-size: 13px;
  margin-top: 12px;
}
.fa-switch fieldset {
  padding: 0;
  border: 0;
  margin: 12px 0;
  min-width: 0;
}
.fa-switch .fa-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 9px 0;
  padding: 8px 0;
  font-weight: 400;
}
.fa-switch input[type="checkbox"] {
  flex: none;
  width: 20px;
  height: 20px;
  accent-color: var(--fa-teal);
  margin-top: 4px;
}
.fa-switch .fa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 12px 0;
}
.fa-switch label:not(.fa-check) {
  display: block;
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 5px;
}
.fa-switch input:not([type="checkbox"]),
.fa-switch select,
.fa-switch textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 10px;
  border: 1px solid #879aa6;
  border-radius: 5px;
  background: white;
  color: #183345;
  font: inherit;
  font-size: 16px;
  min-height: 44px;
}
.fa-switch button,
.fa-switch .fa-btn {
  display: inline-block;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  font-size: 15px;
  border: 1px solid var(--fa-teal);
  background: var(--fa-teal);
  color: white;
  padding: 11px 17px;
  border-radius: 6px;
  text-decoration: none;
  min-height: 44px;
  margin: 7px 0;
}
.fa-switch button:hover,
.fa-switch button:focus,
.fa-switch .fa-btn:hover,
.fa-switch .fa-btn:focus {
  text-decoration: none;
  color: white;
  filter: brightness(1.05);
}
.fa-switch .fa-secondary {
  background: white;
  color: var(--fa-teal);
}
.fa-switch .fa-secondary:hover,
.fa-switch .fa-secondary:focus {
  color: var(--fa-teal);
}
.fa-switch .fa-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fa-switch :focus-visible {
  outline: 3px solid #c07c00;
  outline-offset: 3px;
}
.fa-switch progress {
  width: 100%;
  height: 12px;
  accent-color: var(--fa-teal);
  margin-bottom: 12px;
}
.fa-switch .fa-amount {
  display: block;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}
.fa-switch .fa-result-main {
  font-size: 24px;
  font-weight: 750;
  color: var(--fa-navy);
}
.fa-switch #fa-result,
.fa-switch #fa-cost-result {
  padding: 16px;
  margin: 12px 0;
  background: white;
  border: 1px solid var(--fa-border);
  border-radius: 6px;
}
.fa-switch #fa-error {
  color: #9a302b;
}
.fa-switch .fa-preview-note {
  padding: 10px;
  background: #fff1d7;
  border: 1px solid #dcc392;
  border-radius: 5px;
  font-size: 14px;
}
.fa-switch .fa-final h2,
.fa-switch .fa-final a {
  color: white;
}
.fa-switch .fa-final h2 {
  margin: 0 0 12px;
  font-size: 1.55rem;
}
.fa-switch .fa-final p {
  color: #e4eef2;
}
.fa-switch .fa-final .fa-btn {
  background: white;
  color: var(--fa-navy);
  border-color: white;
}
.fa-switch .fa-final .fa-btn:hover,
.fa-switch .fa-final .fa-btn:focus {
  color: var(--fa-navy);
}
.fa-switch .fa-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.fa-switch [hidden] {
  display: none !important;
}
@media (max-width: 560px) {
  .fa-switch .fa-grid {
    grid-template-columns: 1fr;
  }
  .fa-switch .fa-btn,
  .fa-switch button {
    width: 100%;
    text-align: center;
  }
}
