.gmp-salary {
  --salary-forest: #153e35;
  --salary-pale: #e8eee6;
  --salary-muted: #4d6259;
  --salary-line: #cbd8ce;
  --salary-gold: #e6cb8d;
  background: var(--paper);
  color: var(--salary-forest);
  padding-bottom: clamp(36px, 6vw, 82px);
}
.gmp-salary [hidden] { display: none !important; }
.gmp-salary .breadcrumbs { margin-block: 0; padding-top: clamp(17px, 2vw, 26px); }
.gmp-salary-title { padding-block: clamp(18px, 2.5vw, 36px) clamp(24px, 4vw, 45px); }
.gmp-salary-title h1 { max-width: none; font-size: clamp(2.1rem, 4.2vw, 3.8rem); line-height: 1.1; }
.gmp-salary-title > p { max-width: 68ch; margin: 16px 0 0; line-height: 1.65; }
.gmp-salary-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 3vw, 44px); align-items: start; }
.gmp-salary-layout > * { min-width: 0; }
.gmp-salary-form, .gmp-salary-breakdown, .gmp-salary-result-banner { padding: clamp(20px, 3vw, 36px); }
.gmp-salary-form { background: var(--salary-pale); }
.gmp-salary-form h2, .gmp-salary-next h2 { margin: 0 0 20px; font-size: clamp(1.5rem, 2.4vw, 2.15rem); }
.gmp-salary-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.gmp-salary-choice legend, .gmp-salary-row label, .gmp-salary-amount-head label, .gmp-salary-tax-input label { font-size: 0.9rem; font-weight: 750; line-height: 1.45; }
.gmp-salary-choice legend { margin: 0 0 8px; }
.gmp-salary-choice label { position: relative; min-width: 0; cursor: pointer; }
.gmp-salary-choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.gmp-salary-choice span, .gmp-salary-row select, .gmp-salary-number { display: flex; align-items: center; min-height: 45px; border: 1px solid var(--salary-line); background: #fdfcf8; color: var(--salary-forest); }
.gmp-salary-choice span { justify-content: center; padding: 6px; text-align: center; font-size: 0.85rem; }
.gmp-salary-choice input:checked + span { background: var(--salary-forest); color: #fff; border-color: var(--salary-forest); }
.gmp-salary :focus-visible, .gmp-salary-choice input:focus-visible + span { outline: 2px solid #2e674e; outline-offset: 3px; }
.gmp-salary-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.gmp-salary-hours { grid-template-columns: minmax(0, 1fr); }
.gmp-salary-row select { width: 100%; margin-top: 8px; padding: 6px 10px; font: inherit; font-weight: 550; }
.gmp-salary-amount { padding: 15px 0; margin-bottom: 14px; border-block: 1px solid var(--salary-line); }
.gmp-salary-amount-head, .gmp-salary-tax-input { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gmp-salary-number { flex: 0 0 min(41%, 128px); min-width: 0; padding: 0 9px; gap: 3px; font-weight: 750; }
.gmp-salary-number input { width: 100%; min-width: 0; min-height: 42px; padding: 0 3px; font: inherit; font-variant-numeric: tabular-nums; background: transparent; border: 0; color: inherit; }
.gmp-salary-amount input[type=range] { width: 100%; height: 38px; margin: 3px 0 0; padding: 0; appearance: none; background: transparent; cursor: pointer; }
.gmp-salary-amount input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #2b6351 var(--salary-progress, 30%), #bfcfc2 var(--salary-progress, 30%)); }
.gmp-salary-amount input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: #bfcfc2; }
.gmp-salary-amount input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: #2b6351; }
.gmp-salary-amount input[type=range]::-webkit-slider-thumb { appearance: none; width: 22px; height: 22px; margin-top: -8px; border: 2px solid #fdfcf8; border-radius: 50%; background: var(--salary-forest); }
.gmp-salary-amount input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border: 2px solid #fdfcf8; border-radius: 50%; background: var(--salary-forest); }
.gmp-salary-bounds { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--salary-muted); }
.gmp-salary-advanced { border-top: 1px solid var(--salary-line); }
.gmp-salary-advanced summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; font-weight: 750; list-style: none; }
.gmp-salary-advanced summary::-webkit-details-marker { display: none; }
.gmp-salary-advanced summary svg, .gmp-salary-links svg, .gmp-salary-jump svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; }
.gmp-salary-advanced summary svg { transform: rotate(90deg); }
.gmp-salary-advanced[open] summary svg { transform: rotate(270deg); }
.gmp-salary-advanced p, .gmp-salary-privacy, .gmp-salary-footnote { margin: 10px 0 0; color: var(--salary-muted); font-size: 0.83rem; line-height: 1.55; }
.gmp-salary-jump { margin-top: 14px; }
.gmp-salary-result { scroll-margin-top: 135px; background: #fdfcf8; }
.gmp-salary-result-banner { background: var(--salary-forest); color: #fff; }
.gmp-salary-result-banner h2 { margin: 0 0 15px; color: inherit; font-size: clamp(1.05rem, 2vw, 1.4rem); font-weight: 650; line-height: 1.35; }
.gmp-salary-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.gmp-salary-figures div { display: grid; align-content: start; }
.gmp-salary-figures strong { font-size: clamp(1.5rem, 3.1vw, 2.85rem); font-variant-numeric: tabular-nums; line-height: 1.15; letter-spacing: -0.04em; }
.gmp-salary-figures div + div strong { color: var(--salary-gold); }
.gmp-salary-figures span { margin-top: 5px; font-size: 0.8rem; color: #e5eee7; }
.gmp-salary-breakdown { border: solid var(--salary-line); border-width: 0 1px 1px; }
.gmp-salary-notice { background: #f2ead7; margin: 0 0 15px; padding: 9px 12px; font-size: 0.82rem; }
.gmp-salary-bar { display: block; height: 8px; background: #b29450; overflow: hidden; }
.gmp-salary-bar span { display: block; height: 100%; width: 0; background: #2d624e; }
.gmp-salary-legend { display: flex; flex-wrap: wrap; gap: 4px 15px; margin: 8px 0 16px; font-size: 0.75rem; color: var(--salary-muted); }
.gmp-salary-legend span::before { display: inline-block; content: ''; background: #2d624e; width: 9px; height: 9px; margin-right: 5px; }
.gmp-salary-legend span + span::before { background: #b29450; }
.gmp-salary-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; line-height: 1.4; }
.gmp-salary-table caption { text-align: left; font-size: 1rem; font-weight: 800; padding-bottom: 10px; }
.gmp-salary-table th, .gmp-salary-table td { text-align: right; padding: 9px 6px; border-bottom: 1px solid #e0e7dd; }
.gmp-salary-table th:first-child { text-align: left; padding-left: 0; }
.gmp-salary-table th:last-child, .gmp-salary-table td:last-child { padding-right: 0; }
.gmp-salary-table thead th { color: var(--salary-muted); font-size: 0.75rem; vertical-align: bottom; }
.gmp-salary-table thead small { display: block; font-size: inherit; font-weight: 500; }
.gmp-salary-table td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.gmp-salary-table tr[data-salary-line=net] { background: var(--salary-pale); }
.gmp-salary-table tr[data-salary-line=net] :first-child { padding-left: 6px; }
.gmp-salary-reading { margin-top: 24px; }
.gmp-salary-reading details { border-bottom: 1px solid var(--salary-line); }
.gmp-salary-reading details > div { padding-bottom: 14px; }
.gmp-salary-reading details p, .gmp-salary-reading details li { max-width: 85ch; font-size: 0.92rem; line-height: 1.65; }
.gmp-salary-next { padding-top: clamp(28px, 4vw, 54px); }
.gmp-salary-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gmp-salary-links a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 5px 10px; padding: 18px; background: var(--salary-pale); text-decoration: none; color: var(--salary-forest); }
.gmp-salary-links a:nth-child(2) { background: #eee5d2; }
.gmp-salary-links a:nth-child(3) { background: var(--salary-forest); color: #fff; }
.gmp-salary-links a:hover { box-shadow: inset 0 0 0 1px currentColor; }
.gmp-salary-links span { grid-column: 1; font-size: 0.85rem; }
.gmp-salary-links svg { grid-column: 2; grid-row: 1; }
@media (max-width: 760px) {
  .gmp-salary-layout { grid-template-columns: minmax(0, 1fr); }
  .gmp-salary-result { scroll-margin-top: 90px; }
}
@media (max-width: 570px) {
  .gmp-salary-figures strong { font-size: clamp(1.23rem, 6.2vw, 2rem); }
  .gmp-salary-table { font-size: 0.75rem; }
  .gmp-salary-table thead th { font-size: 0.71rem; }
  .gmp-salary-table th, .gmp-salary-table td { padding-inline: 3px; }
  .gmp-salary-links { grid-template-columns: 1fr; }
}
@media (forced-colors: active) {
  .gmp-salary-amount input[type=range] { appearance: auto; }
  .gmp-salary-choice input:checked + span { border: 2px solid Highlight; }
}

.gmp-salary-result-banner .gmp-salary-ratio {
  margin: 14px 0 0;
  color: #e5eee7;
  font-size: .83rem;
  line-height: 1.45;
}
.gmp-salary-ratio strong { color: var(--salary-gold); font-variant-numeric: tabular-nums; }
.gmp-salary-table-options { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 14px; }
.gmp-salary-table-options p { flex: 1 1 12rem; margin: 0; color: var(--salary-muted); font-size: .78rem; line-height: 1.45; }
.gmp-salary-period { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; font-size: .81rem; font-weight: 750; }
.gmp-salary-period select { min-height: 44px; padding: 4px 9px; border: 1px solid var(--salary-line); background: #fdfcf8; color: var(--salary-forest); font: inherit; }
.gmp-salary-table .gmp-salary-rate { color: var(--salary-muted); }
