.eligibility-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.2rem 1.35rem;
  margin-bottom: 1.25rem;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.eligibility-callout p {
  margin: 0;
  color: var(--slate);
  line-height: 1.6;
}

.eligibility-callout strong {
  color: var(--navy);
}

.scope-assumption {
  margin: 1rem 0 0;
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.6;
}

.checker-field .field-hint a {
  color: var(--gold);
  font-weight: 500;
  text-underline-offset: 3px;
}

.small-company-rule-note {
  padding: 0.7rem 0.8rem;
  margin: 0.55rem 0 0;
  color: var(--slate);
  font-size: 0.82rem;
  line-height: 1.55;
  background: #f7f8fa;
  border-left: 3px solid var(--navy);
}

#profileHeading:focus,
#resultsHeading:focus {
  outline: none;
}

.exemption-panel {
  padding: 1.1rem 1.35rem;
  margin: 1rem 1.35rem;
  background: #fbf8ef;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: var(--radius);
}

.exemption-panel.exemption-restricted {
  background: #f7f8fa;
  border-color: var(--border);
}

.exemption-kicker {
  display: block;
  margin-bottom: 0.35rem;
  color: #8b6a13;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.exemption-panel h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
}

.exemption-panel p {
  margin: 0.45rem 0 0;
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.6;
}

.exemption-panel .exemption-prompt {
  color: var(--navy);
  font-weight: 500;
}

.exemption-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.exemption-button {
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  color: var(--navy);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.exemption-button:hover {
  border-color: var(--gold);
}

.exemption-button[aria-pressed="true"] {
  font-weight: 500;
  background: var(--gold);
  border-color: var(--gold);
}

.exemption-button[data-exemption-decision="needs_review"][aria-pressed="true"] {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.exemption-button:focus-visible {
  outline: 3px solid rgba(201, 168, 76, 0.5);
  outline-offset: 2px;
}

.requirement-type-legal {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--gold);
}

.all-exempted-note {
  padding: 1.2rem 1.35rem;
  margin: 0;
  color: var(--slate);
  line-height: 1.6;
}

.shared-exemption-note {
  padding: 0.9rem 1.35rem;
  margin: 0;
  color: var(--slate);
  font-size: 0.84rem;
  line-height: 1.6;
  background: var(--light);
  border-bottom: 1px solid var(--border);
}

.shared-exemption-note a {
  color: var(--gold);
  font-weight: 500;
  text-underline-offset: 3px;
}

.summary-grid.frs101-summary {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .summary-grid.frs101-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .eligibility-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .eligibility-callout .btn-outline {
    width: 100%;
    text-align: center;
  }

  .exemption-panel {
    padding: 1rem;
    margin: 0.85rem;
  }

  .exemption-controls,
  .exemption-button {
    width: 100%;
  }

  .summary-grid.frs101-summary {
    grid-template-columns: 1fr;
  }
}

@media print {
  .eligibility-callout,
  .exemption-controls {
    display: none !important;
  }

  .exemption-panel {
    margin: 0.5rem 0;
    break-inside: avoid;
  }
}
