/* Finance wage explorer, scoped to the salary guide. */
.re-salary-guide { color: #243349; background: #fff; font-size: 18px; line-height: 1.55; }
.re-salary-guide *, .re-salary-guide *::before, .re-salary-guide *::after { box-sizing: border-box; }
.re-salary-guide [hidden] { display: none !important; }
.re-salary-guide p, .re-salary-guide label, .re-salary-guide select, .re-salary-guide input, .re-salary-guide button, .re-salary-guide a, .re-salary-guide th, .re-salary-guide td, .re-salary-guide dt { font-size: 18px; }
.sg-container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.sg-hero { padding: 44px 0 32px; border-bottom: 1px solid #dfe7f0; }
.sg-edition { color: #3c1b8d; margin: 0 0 14px; font-weight: 700; }
.sg-hero h1 { color: #000146; font-size: clamp(36px, 4.3vw, 60px); line-height: 1.08; max-width: 890px; margin: 0 0 24px; text-wrap: balance; font-weight: 700; }
.sg-intro { max-width: 760px; margin: 0; text-wrap: pretty; }
.sg-workspace { padding: 30px 0 42px; background: #f5f8fc; }
.sg-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; padding: 24px; background: #fff; border: 1px solid #dce5f0; border-radius: 12px; margin: 0; }
.sg-controls > div { min-width: 0; }
.sg-controls label { display: block; font-weight: 700; color: #000146; margin-bottom: 8px; }
.sg-controls select, .sg-autocomplete input { width: 100%; min-height: 54px; padding: 12px 36px 12px 12px; color: #243349; border: 1px solid #73849b; border-radius: 6px; background: #fff; line-height: 1.4; }
.sg-controls select:focus-visible, .sg-autocomplete input:focus-visible, .re-salary-guide a:focus-visible, .re-salary-guide button:focus-visible { outline: 3px solid #5e1fa2; outline-offset: 3px; }
.sg-js .sg-controls button[type=submit] { display: none; }
.sg-status:empty { display: none; }
.sg-status { margin: 20px 0 0; }
.sg-results { margin-top: 30px; background: #fff; border: 1px solid #dce5f0; border-radius: 12px; padding: 30px; }
.sg-result-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.sg-unit { color: #52657c; margin: 0 0 10px; }
.sg-results h2, .sg-method h2 { color: #000146; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; margin: 0 0 14px; text-wrap: balance; font-weight: 700; }
.sg-coverage { margin: 0 0 24px; color: #52657c; }
.sg-download { flex-shrink: 0; border: 1px solid #000146; border-radius: 6px; padding: 10px 16px; background: #fff; color: #000146; cursor: pointer; font-weight: 600; }
.sg-download:hover { background: #edf3fb; }
.sg-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 28px; }
.sg-metrics > div { min-width: 0; }
.sg-metrics dt { margin: 0 0 8px; color: #52657c; font-weight: 500; }
.sg-metrics dd { margin: 0; }
.sg-number { background: #f0f6fc; color: #000146; padding: 18px; border-radius: 6px; font-size: clamp(26px, 3vw, 40px); line-height: 1.15; font-weight: 700; font-variant-numeric: tabular-nums; }
.sg-metrics > div:nth-child(2) .sg-number { color: #fff; background: #000146; }
.sg-unpublished { font-size: 18px; padding-top: 18px; color: #52657c; }
.sg-chart { padding: 24px 0; border-top: 1px solid #dce5f0; border-bottom: 1px solid #dce5f0; }
.sg-chart h3, .sg-method h3 { color: #000146; font-size: 22px; line-height: 1.35; margin: 0 0 12px; font-weight: 700; text-wrap: balance; }
.sg-chart-note { color: #52657c; max-width: 820px; margin: 0 0 24px; }
.sg-comparison-summary { border-left: 4px solid #3c1b8d; padding: 2px 0 2px 18px; margin: 18px 0; }
.sg-comparison-summary p { margin: 0; }
.sg-comparison-summary strong { color: #000146; }
.sg-comparison-detail { color: #52657c; margin-top: 4px !important; }
.sg-chart-columns, .sg-chart-row, .sg-chart-axis-row { display: grid; grid-template-columns: minmax(160px, .8fr) minmax(100px, .45fr) minmax(0, 1.55fr); gap: 24px; align-items: center; }
.sg-chart-columns { color: #52657c; font-size: 18px; padding-bottom: 12px; border-bottom: 1px solid #dce5f0; }
.sg-chart-row { padding: 20px 0; border-bottom: 1px solid #edf1f6; }
.sg-chart-row:last-child { border-bottom: 0; }
.sg-chart-label { font-size: 18px; font-weight: 600; color: #243349; }
.sg-chart-pay { color: #000146; font-variant-numeric: tabular-nums; }
.sg-chart-pay strong { font-size: 26px; line-height: 1.25; }
.sg-mobile-label { display: none; }
.sg-chart-range { min-width: 0; }
.sg-range-value { color: #52657c; margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.sg-chart-track { position: relative; height: 24px; background: linear-gradient(#dce5f0,#dce5f0) left center/1px 100% no-repeat, linear-gradient(#dce5f0,#dce5f0) center/1px 100% no-repeat, linear-gradient(#dce5f0,#dce5f0) right center/1px 100% no-repeat; }
.sg-chart-track::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; border-top: 1px solid #dce5f0; }
.sg-chart-band { position: absolute; top: 9px; height: 6px; background: #3c1b8d; border-radius: 2px; }
.sg-chart-band::before, .sg-chart-band::after { content: ''; position: absolute; top: -5px; height: 16px; width: 2px; background: #3c1b8d; }
.sg-chart-band::before { left: 0; } .sg-chart-band::after { right: 0; }
.sg-chart-median { position: absolute; top: 3px; width: 18px; height: 18px; border: 3px solid #fff; background: #000146; border-radius: 50%; transform: translateX(-50%); box-shadow: 0 0 0 1px #000146; }
.sg-range-unpublished { color: #52657c; margin: 0; }
.sg-axis { display: flex; justify-content: space-between; gap: 8px; grid-column: 3; padding-top: 4px; font-size: 18px; font-variant-numeric: tabular-nums; color: #52657c; }
.sg-source { margin: 20px 0 30px; color: #52657c; }
.re-salary-guide a:not(.sg-button) { color: #000146; text-decoration: underline; text-underline-offset: 3px; }
.re-salary-guide a:not(.sg-button):hover { color: #3c1b8d; text-decoration-thickness: 2px; }
.sg-table-heading p { color: #52657c; margin: 0 0 20px; }
.sg-table { width: 100%; border-collapse: collapse; margin: 0; font-variant-numeric: tabular-nums; }
.sg-table caption { caption-side: top; color: #52657c; text-align: left; font-size: 18px; padding: 0 0 14px; }
.sg-table th, .sg-table td { padding: 16px 12px; text-align: right; border-bottom: 1px solid #dce5f0; vertical-align: top; }
.sg-table th:first-child { text-align: left; width: 43%; }
.sg-table thead th { color: #000146; background: #f0f6fc; font-weight: 700; }
.sg-table tbody th { font-weight: 500; }
.sg-selected-row { background: #eaf6f8; }
.sg-selected-row th { border-left: 4px solid #188fa4; }
.sg-hiring { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; padding-top: 28px; border-top: 1px solid #dce5f0; }
.sg-hiring h2 { font-size: 26px; }
.sg-hiring p { margin: 0; max-width: 660px; }
.sg-button { display: inline-block; flex-shrink: 0; padding: 14px 20px; background: #000146; color: #fff !important; border: 1px solid #000146; border-radius: 6px; text-decoration: none !important; text-align: center; font-weight: 600; }
.sg-button:hover { background: #0c2858; }
.sg-method { padding: 38px 0 42px; }
.sg-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 26px; }
.sg-method-grid p { margin: 0; text-wrap: pretty; }
@media (max-width: 991px) { .sg-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sg-controls > div:nth-child(3) { grid-column: 1 / -1; } .sg-method-grid { grid-template-columns: 1fr; gap: 24px; } .sg-hiring { align-items: flex-start; flex-direction: column; } }
@media (max-width: 599px) {
 .sg-container { padding-inline: 18px; } .sg-hero { padding: 30px 0 26px; } .sg-controls { grid-template-columns: 1fr; padding: 18px; } .sg-results { padding: 20px 16px; } .sg-result-heading { flex-direction: column; } .sg-metrics { grid-template-columns: 1fr; gap: 14px; } .sg-metrics > div { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 14px; } .sg-metrics dt { margin: 0; } .sg-number { font-size: 28px; padding: 14px; } .sg-unpublished { padding: 0; } .sg-axis { font-size: 18px; } .sg-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .sg-table tbody, .sg-table tr { display: block; } .sg-table tr { padding: 14px 10px; border-bottom: 1px solid #dce5f0; } .sg-table th:first-child { display: block; width: 100%; padding: 0 0 12px; border: 0; font-weight: 600; } .sg-table td { display: flex; justify-content: space-between; gap: 12px; text-align: left; padding: 3px 0; border: 0; } .sg-table td::before { content: attr(data-label); color: #52657c; } .sg-selected-row { border-left: 4px solid #188fa4; } .sg-hiring .sg-button { width: 100%; }
}

/* Search suggestions are attached to the field, with a bounded list and no page-level styles. */
.sg-autocomplete { position: relative; }
.sg-autocomplete input { display: block; padding-right: 48px; font-size: 18px; }
.sg-search-clear { position: absolute; top: 5px; right: 5px; width: 44px; height: 44px; min-height: 44px; padding: 0; color: #52657c; border: 0; border-radius: 4px; background: transparent; cursor: pointer; font-size: 28px !important; line-height: 1; }
.sg-search-clear:hover { background: #edf3fb; color: #000146; }
.sg-suggestions { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; background: #fff; border: 1px solid #9babbe; border-radius: 6px; box-shadow: 0 8px 20px rgba(18,56,118,.12); max-height: 390px; overflow-y: auto; overscroll-behavior: contain; }
.sg-search-option { padding: 12px 14px; min-height: 50px; font-size: 18px; cursor: pointer; line-height: 1.45; color: #243349; }
.sg-search-option:hover, .sg-search-option[aria-selected=true] { background: #eaf4f7; color: #000146; }
.sg-search-feedback { border-top: 1px solid #dce5f0; color: #52657c; padding: 12px 14px; margin: 0; }
@media (max-width: 767px) {
 .sg-chart-columns { display: none; }
 .sg-chart-row, .sg-chart-axis-row { grid-template-columns: 1fr; gap: 12px; }
 .sg-chart-label { color: #000146; }
 .sg-chart-pay { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
 .sg-mobile-label { display: inline; font-size: 18px; color: #52657c; }
 .sg-range-value::before { content: 'Range: '; }
 .sg-axis { grid-column: 1; width: 100%; font-size: 18px; }
 .sg-chart-note { margin-bottom: 16px; }
}
/* Make empty city-search prompts as readable as the surrounding labels. */
.re-salary-guide input::placeholder{color:#52657c;opacity:1}
.sg-controls select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%2352657c' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
@media(max-width:420px){.sg-metrics>div{grid-template-columns:minmax(0,1fr);gap:8px}.sg-metrics dd{min-width:0;overflow-wrap:anywhere}}

/* Keep all pay figures aligned below the tallest label in the row. */
@media(min-width:768px){
 .sg-metrics{grid-template-rows:repeat(2,auto);row-gap:0}
 .sg-metrics>div{display:grid;grid-template-rows:subgrid;grid-row:span 2}
}

.sg-metrics dt { color: #000146; font-weight: 700; }
.sg-chart-columns { padding: 12px; color: #000146; background: #f0f6fc; font-weight: 700; }
.re-salary-guide .sg-chart-pay strong.sg-unpublished { font-size: 18px; font-weight: 400; line-height: 1.5; color: #52657c; }
