/* Gender pay gap tool: only what the shared payment practices tool styles (tool.css) don't cover. */
.gpg-test-note {
  background: var(--sage, #eef4f0);
  border-left: 4px solid var(--ledger, #1e6b52);
  border-radius: 8px;
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
}
.gpg-need { display: block; font-size: 0.8rem; color: var(--ink-3, #5e6b7d); margin: 0.1rem 0 0.25rem; }
.gpg-sample { color: var(--ink-2, #3b4a5e); font-size: 0.9rem; overflow-wrap: anywhere; }
#pp-tool .pp-mapping-table select { max-width: 16rem; width: 100%; }
.gpg-settings { display: grid; gap: 1.25rem; max-width: 46rem; }
.gpg-fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.gpg-fieldset legend { font-weight: 700; margin-bottom: 0.4rem; }
.gpg-optional { font-weight: 400; color: var(--ink-3, #5e6b7d); }
.gpg-notes { margin: 1rem 0; padding-left: 1.25rem; }
.gpg-notes li { margin-bottom: 0.4rem; }
.gpg-problems { margin-top: 1rem; }
.gpg-problems h3 { margin-top: 0; }
.gpg-service-table .gpg-section-row th {
  background: var(--sage, #eef4f0);
  font-weight: 700;
  padding-top: 0.6rem;
}
.gpg-figure { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.gpg-service-table td:last-child { text-align: right; width: 1%; }
.pp-results-card { margin-bottom: 1.25rem; }
.gpg-pack-actions { margin-top: 1.5rem; }
.pp-file-choice.is-dragging { outline: 2px dashed var(--ledger, #1e6b52); }

@media (max-width: 640px) {
  .gpg-service-table th, .gpg-service-table td { font-size: 0.9rem; }
  #pp-tool .pp-mapping-table select { max-width: none; }
  /* The mapping table becomes a list of fields on a phone. */
  #gpg-mapping tr { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--rule, #dce3ea); }
  #gpg-mapping th, #gpg-mapping td { display: block; border: 0; padding: 0.2rem 0; }
  .gpg-tool .pp-mapping-table thead { display: none; }
}
#gpg-mapping th .pp-field-help-text, #gpg-mapping th .gpg-need { font-weight: 400; }

/* Figures table (own styles: the PP portal table turns into stacked blocks on phones). */
.gpg-service-table { border-collapse: collapse; width: 100%; }
.gpg-service-table th, .gpg-service-table td { border-bottom: 1px solid var(--rule, #dce3ea); padding: 0.55rem 0.6rem; text-align: left; vertical-align: middle; }
.gpg-service-table thead th { color: var(--ink-3, #5e6b7d); font-size: 0.85rem; font-weight: 600; }
.gpg-service-table tbody th { font-weight: 500; }
@media (max-width: 640px) {
  .gpg-service-table th, .gpg-service-table td { padding: 0.5rem 0.3rem; }
  .gpg-service-table tbody th { font-size: 0.9rem; }
}
.gpg-tool .pp-step { scroll-margin-top: 96px; }
.gpg-bonus-cols { display: grid; gap: 0.4rem; justify-items: start; }
.gpg-bonus-cols select { width: 100%; }
