:root {
  --ink: #092033;
  --ink-soft: #17374d;
  --paper: #f4f2ea;
  --paper-deep: #eae6da;
  --white: #fffef9;
  --orange: #ff6b35;
  --orange-soft: #ffb18f;
  --aqua: #72dbd4;
  --lime: #c9e86c;
  --violet: #7357ed;
  --line: rgba(9, 32, 51, .14);
  --muted: #667984;
  --shadow: 0 18px 50px rgba(9, 32, 51, .10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, summary, select { cursor: pointer; }
a { color: inherit; }
.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  height: 76px;
  padding-inline: max(24px, calc((100vw - 1240px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.11);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; font-size: 17px; letter-spacing: -.02em; text-decoration: none; }
.brand strong { font-weight: 800; }
.brand-mark { position: relative; display: grid; grid-template-columns: repeat(3, 5px); gap: 3px; align-items: end; width: 21px; height: 22px; }
.brand-mark i { display: block; width: 5px; border-radius: 4px; background: var(--orange); }
.brand-mark i:nth-child(1) { height: 10px; }
.brand-mark i:nth-child(2) { height: 20px; background: var(--aqua); }
.brand-mark i:nth-child(3) { height: 15px; background: var(--lime); }
.header-meta { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.68); font-size: 13px; letter-spacing: .03em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(201,232,108,.12); }

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  color: white;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 74% 43%, rgba(114,219,212,.12), transparent 23%),
    linear-gradient(132deg, var(--ink) 0%, #0b2b43 72%, #12364b 100%);
}
.hero-copy { padding: 68px 0 88px; }
.eyebrow { margin: 0 0 18px; color: var(--aqua); font-size: 12px; font-weight: 800; letter-spacing: .17em; }
.eyebrow.dark { color: #667b87; }
.hero h1 { margin: 0; max-width: 700px; font-size: clamp(52px, 6vw, 84px); line-height: .96; letter-spacing: -.065em; font-weight: 760; }
.hero h1 em { color: var(--orange); font-family: Georgia, serif; font-weight: 500; }
.hero-lede { max-width: 580px; margin: 28px 0 32px; color: rgba(255,255,255,.68); font-size: 17px; line-height: 1.65; }
.primary-cta { display: inline-flex; align-items: center; gap: 24px; padding: 16px 20px; border-radius: 4px; color: var(--ink); background: var(--orange); font-size: 13px; font-weight: 800; text-decoration: none; transition: transform .2s, background .2s; }
.primary-cta:hover { transform: translateY(-2px); background: #ff7c4d; }
.primary-cta span { font-size: 18px; }

.hero-visual { position: relative; justify-self: end; width: min(440px, 42vw); aspect-ratio: 1; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.orbit::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 6px rgba(114,219,212,.1); }
.orbit-one { inset: 5%; animation: turn 24s linear infinite; }
.orbit-one::after { left: 12%; top: 13%; }
.orbit-two { inset: 17%; border-style: dashed; animation: turn 30s linear reverse infinite; }
.orbit-two::after { right: -4px; top: 48%; background: var(--orange); }
.orbit-three { inset: 29%; border-color: rgba(201,232,108,.3); }
.orbit-three::after { left: 9%; bottom: 14%; background: var(--lime); }
@keyframes turn { to { transform: rotate(360deg); } }
.orbital-core { position: absolute; inset: 36%; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: 0 0 60px rgba(114,219,212,.12); text-align: center; }
.orbital-core strong { font-family: Georgia, serif; font-size: clamp(32px, 4vw, 50px); font-weight: 500; line-height: .9; }
.orbital-core span { margin-top: 8px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.orbital-label { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; color: rgba(255,255,255,.75); background: rgba(9,32,51,.78); backdrop-filter: blur(8px); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.orbital-label span { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.label-one { top: 18%; right: 0; }
.label-two { left: -2%; bottom: 22%; }
.label-two span { background: var(--lime); }

.stats-wrap { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -42px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stat-card { min-height: 166px; padding: 25px 28px 22px; background: var(--white); border-right: 1px solid var(--line); }
.stat-card:last-child { border-right: 0; }
.stat-primary { color: white; background: var(--orange); }
.stat-index { display: block; margin-bottom: 20px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.stat-primary .stat-index { color: rgba(255,255,255,.7); }
.stat-card > strong { display: block; font-family: Georgia, serif; font-size: clamp(34px, 4vw, 48px); line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.stat-card p { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.stat-primary p { color: rgba(255,255,255,.82); }
.stat-date > strong { font-size: clamp(22px, 2.5vw, 31px); line-height: 1.1; }
.stat-date strong span { color: var(--orange); }

.market { padding-top: 110px; padding-bottom: 118px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 44px; }
.section-heading h2, .results-heading h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(38px, 5vw, 58px); font-weight: 500; letter-spacing: -.045em; }
.section-heading > p { width: min(470px, 45%); margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.salary-chart { position: relative; padding: 34px 28px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 35px rgba(9,32,51,.045); }
.chart-axis { display: grid; grid-template-columns: 1fr 1fr 1fr; margin: 0 84px 13px 280px; color: #8a969c; font-size: 11px; }
.chart-axis span:nth-child(2) { text-align: center; }
.chart-axis span:last-child { text-align: right; }
.chart-row { display: grid; grid-template-columns: 250px 1fr 70px; align-items: center; gap: 28px; min-height: 58px; border-top: 1px solid rgba(9,32,51,.08); animation: chartIn .6s both; animation-delay: var(--delay); }
@keyframes chartIn { from { opacity: 0; transform: translateY(8px); } }
.chart-company { min-width: 0; }
.chart-company strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; letter-spacing: .015em; }
.chart-company span { color: var(--muted); font-size: 11px; }
.chart-track { position: relative; height: 8px; border-radius: 6px; background: linear-gradient(90deg, rgba(9,32,51,.06) 49.8%, rgba(9,32,51,.16) 50%, rgba(9,32,51,.06) 50.2%); }
.chart-range { position: absolute; top: 0; height: 100%; border-radius: 6px; background: var(--aqua); }
.chart-range i { position: absolute; top: -4px; width: 3px; height: 16px; border-radius: 2px; background: var(--ink); }
.chart-value { font-family: Georgia, serif; font-size: 15px; font-weight: 500; text-align: right; }
.chart-caption { margin: 18px 0 0 278px; color: var(--muted); font-size: 11px; }
.chart-caption span { display: inline-block; width: 14px; height: 5px; margin-right: 5px; border-radius: 5px; background: var(--aqua); }

.explore { display: grid; grid-template-columns: 280px 1fr; gap: 54px; align-items: start; padding-top: 110px; padding-bottom: 120px; scroll-margin-top: 28px; }
.filters { position: sticky; top: 20px; max-height: calc(100vh - 40px); padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); overflow-y: auto; scrollbar-width: thin; background: var(--white); }
.filter-intro { display: flex; justify-content: space-between; align-items: start; border-bottom: 1px solid var(--line); }
.text-button { padding: 0; border: 0; color: var(--orange); background: none; font-size: 12px; font-weight: 800; }
.search-label, .select-label, fieldset legend { display: block; margin: 20px 0 9px; color: #405766; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.secondary-label { margin-top: 14px; }
.search-box { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; background: #faf9f4; }
.search-box span { color: var(--orange); font-size: 20px; transform: rotate(-20deg); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }
.search-box kbd { padding: 3px 5px; border: 1px solid var(--line); border-radius: 4px; color: #8c989d; background: var(--white); font: 10px ui-monospace, monospace; white-space: nowrap; }
fieldset { margin: 0; padding: 0 0 16px; border: 0; border-bottom: 1px solid var(--line); }
.radio-row { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 8px; min-height: 36px; color: #3b5261; font-size: 13px; cursor: pointer; }
.radio-row input { appearance: none; width: 13px; height: 13px; margin: 0; border: 1px solid #9da9ad; border-radius: 50%; }
.radio-row input:checked { border: 4px solid var(--orange); }
.radio-row b { min-width: 27px; padding: 3px 6px; border-radius: 10px; color: var(--muted); background: var(--paper); font-size: 10px; text-align: center; }
.select-label { margin-top: 18px; }
.filters select, .sort-control select { width: 100%; height: 44px; padding: 0 34px 0 11px; border: 1px solid var(--line); border-radius: 8px; outline: 0; color: var(--ink); background: #faf9f4; font-size: 13px; }
.salary-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.salary-inputs label, .date-inputs label { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.salary-inputs input, .date-inputs input { width: 100%; height: 42px; min-width: 0; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; outline: 0; color: var(--ink); background: #faf9f4; font-size: 12px; }
.salary-inputs input:focus, .date-inputs input:focus, .search-box:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(115,87,237,.1); }
.date-filter { position: relative; margin: 18px -13px 4px; padding: 17px 13px 14px 15px; border: 2px solid rgba(115,87,237,.42); border-left: 5px solid var(--violet); border-radius: 13px; background: linear-gradient(145deg, rgba(115,87,237,.12), rgba(255,254,249,.96)); box-shadow: 0 10px 22px rgba(115,87,237,.13); }
.date-filter .select-label { display: flex; align-items: center; gap: 7px; margin: 0 0 13px; color: var(--ink); font-size: 13px; letter-spacing: .1em; }
.date-filter .select-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px rgba(115,87,237,.14); }
.date-presets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.date-presets button { min-height: 46px; padding: 8px 6px; border: 1.5px solid rgba(9,32,51,.2); border-radius: 9px; color: #263f51; background: var(--white); box-shadow: 0 3px 8px rgba(9,32,51,.06); font-size: 11px; font-weight: 850; transition: transform .16s, border-color .16s, box-shadow .16s, background .16s; }
.date-presets button:hover { border-color: rgba(115,87,237,.65); box-shadow: 0 4px 10px rgba(115,87,237,.1); transform: translateY(-1px); }
.date-presets button.is-active { border-color: #5f42e2; color: white; background: linear-gradient(135deg, #684bea, var(--violet)); box-shadow: 0 7px 16px rgba(115,87,237,.34); transform: translateY(-1px); }
.date-inputs { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 13px; }
.switch-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin: 20px 0; cursor: pointer; }
.compact-switch { margin-top: -5px; padding-top: 16px; border-top: 1px solid var(--line); }
.switch-row span { display: flex; flex-direction: column; gap: 3px; }
.switch-row strong { font-size: 13px; }
.switch-row small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.switch-row input { appearance: none; position: relative; flex: 0 0 38px; width: 38px; height: 21px; border-radius: 20px; background: #d5d9d8; transition: background .2s; }
.switch-row input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: white; box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: transform .2s; }
.switch-row input:checked { background: var(--orange); }
.switch-row input:checked::after { transform: translateX(17px); }
.source-note { display: flex; gap: 10px; padding: 13px; border-radius: 10px; color: #284a59; background: rgba(114,219,212,.16); }
.source-note > span { color: #318c88; font-size: 17px; }
.source-note p { margin: 0; font-size: 11px; line-height: 1.45; }
.source-note strong { display: block; margin-bottom: 3px; font-size: 12px; }

.results { min-width: 0; }
.results-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 20px; }
.results-heading h2 { font-size: clamp(36px, 4vw, 50px); }
.results-heading > div > p:last-child { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.sort-control { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.sort-control select { width: 165px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; min-height: 29px; margin-bottom: 12px; }
.active-filters button { padding: 7px 10px; border: 0; border-radius: 15px; color: #355260; background: rgba(114,219,212,.2); font-size: 11px; }
.active-filters span { margin-left: 5px; color: #2f8e89; font-weight: 800; }
.company-list { display: flex; flex-direction: column; gap: 11px; }
.company-card { border: 1px solid var(--line); border-radius: 13px; background: var(--white); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.company-card[open] { border-color: rgba(9,32,51,.22); box-shadow: 0 12px 28px rgba(9,32,51,.055); }
.company-card summary { display: grid; grid-template-columns: 42px minmax(180px, 1fr) auto 20px; grid-template-rows: auto auto; align-items: center; column-gap: 13px; row-gap: 10px; min-height: 112px; padding: 15px 18px; list-style: none; }
.company-card summary::-webkit-details-marker { display: none; }
.company-monogram { display: grid; grid-row: 1 / 3; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: var(--ink); background: var(--paper); font-family: Georgia, serif; font-size: 14px; }
.company-name { grid-column: 2; grid-row: 1; min-width: 0; }
.company-name strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; letter-spacing: .01em; }
.company-name small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.company-pay { grid-column: 3; grid-row: 1; text-align: right; white-space: nowrap; }
.company-pay strong { font-family: Georgia, serif; font-size: 17px; font-weight: 500; }
.company-pay small { margin-left: 4px; color: var(--muted); font-size: 11px; }
.company-range-visual { display: block; grid-column: 2 / 4; grid-row: 2; min-width: 0; }
.company-range-track { position: relative; display: block; width: 100%; height: 7px; border-radius: 8px; background: #e7ebe9; }
.company-range-track i { position: absolute; top: 0; height: 100%; min-width: 5px; border-radius: 8px; background: var(--aqua); }
.company-range-track b { position: absolute; top: -4px; width: 3px; height: 15px; border-radius: 2px; background: var(--ink); transform: translateX(-1px); }
.company-range-labels { display: grid; grid-template-columns: 1fr 1fr 1fr; margin-top: 7px; color: var(--muted); font-size: 10px; }
.company-range-labels em { color: var(--ink); font-style: normal; font-weight: 800; text-align: center; }
.company-range-labels span:last-child { text-align: right; }
.company-range-visual.is-low-clamped .company-range-track i { border-radius: 0 8px 8px 0; background: linear-gradient(90deg, var(--orange), var(--aqua) 38%); }
.company-range-visual.is-high-clamped .company-range-track i { border-radius: 8px 0 0 8px; background: linear-gradient(90deg, var(--aqua) 62%, var(--orange)); }
.company-range-visual.is-low-clamped.is-high-clamped .company-range-track i { border-radius: 0; background: linear-gradient(90deg, var(--orange), var(--aqua) 25%, var(--aqua) 75%, var(--orange)); }
.chevron { grid-column: 4; grid-row: 1 / 3; width: 9px; height: 9px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.company-card[open] .chevron { transform: rotate(225deg) translate(-2px, -1px); }
.position-list { border-top: 1px solid var(--line); }
.position-row { position: relative; width: 100%; display: grid; grid-template-columns: minmax(200px, 1fr) auto auto 22px; align-items: center; gap: 11px 13px; min-height: 108px; padding: 14px 18px 15px 73px; border: 0; border-left: 4px solid transparent; border-bottom: 2px solid rgba(9,32,51,.16); color: var(--ink); background: #fffefb; text-align: left; transition: background .18s, border-color .18s; }
.position-row:last-child { border-bottom: 0; }
.position-row:hover { border-left-color: var(--violet); background: #f1f3ee; }
.position-main { min-width: 0; }
.position-main > strong { display: block; font-size: 14px; line-height: 1.4; }
.position-main small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.position-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 6px; }
.position-meta small { margin-top: 0; }
.count-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.count-badge { display: inline-flex; align-items: center; min-height: 20px; padding: 3px 7px; border-radius: 10px; font-size: 10px; font-weight: 800; line-height: 1; }
.job-count { color: #4e3eb4; background: rgba(115,87,237,.14); }
.title-count { color: #246e6a; background: rgba(114,219,212,.22); }
.position-salary { text-align: right; }
.position-salary > strong { display: block; font-family: Georgia, serif; font-size: 16px; font-weight: 500; white-space: nowrap; }
.position-salary > strong small { margin-left: 3px; color: var(--muted); font-family: Inter, sans-serif; font-size: 11px; }
.change-badge, .steady-badge { display: inline-block; margin-top: 5px; padding: 4px 7px; border-radius: 4px; color: #286e6a; background: rgba(114,219,212,.2); font: 800 10px Inter, sans-serif; text-transform: uppercase; letter-spacing: .035em; }
.steady-badge { color: #6b777d; background: var(--paper); }
.outlier-flag { padding: 4px 6px; border-radius: 4px; color: #9c3c1a; background: #ffe0d2; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.row-arrow { color: var(--orange); font-size: 17px; opacity: .75; }
.range-visual { display: block; grid-column: 1 / -1; width: 100%; padding-top: 2px; }
.range-track { position: relative; display: block; width: 100%; height: 6px; overflow: hidden; border-radius: 8px; background: #e9edf1; }
.range-track i { position: absolute; top: 0; height: 100%; min-width: 5px; border-radius: 8px; background: linear-gradient(90deg, #6653e8, #8b5cf0); box-shadow: 0 0 8px rgba(115,87,237,.24); }
.range-labels { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; margin-top: 7px; color: #74838d; font-size: 11px; }
.range-labels b { font-weight: 600; }
.range-labels b:last-child { text-align: right; }
.range-labels em { color: var(--violet); font-style: normal; font-weight: 700; text-align: center; }
.range-visual.is-low-clamped .range-track i { border-radius: 0 8px 8px 0; background: linear-gradient(90deg, var(--orange), #6653e8 38%); }
.range-visual.is-high-clamped .range-track i { border-radius: 8px 0 0 8px; background: linear-gradient(90deg, #6653e8 62%, var(--orange)); }
.range-visual.is-low-clamped.is-high-clamped .range-track i { border-radius: 0; background: linear-gradient(90deg, var(--orange), #6653e8 25%, #6653e8 75%, var(--orange)); }
.empty-state { padding: 72px 30px; border: 1px dashed rgba(9,32,51,.25); border-radius: var(--radius); text-align: center; }
.empty-state > span { color: var(--orange); font-size: 38px; }
.empty-state h3 { margin: 12px 0 7px; font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.empty-state p { color: var(--muted); font-size: 12px; }
.empty-state button { margin-top: 10px; padding: 10px 14px; border: 0; border-radius: 5px; color: white; background: var(--ink); font-size: 11px; }

.site-footer { min-height: 150px; display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; gap: 45px; border-top: 1px solid var(--line); }
.footer-brand { color: var(--ink); }
.site-footer p { max-width: 540px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.site-footer > a { color: var(--orange); font-size: 11px; font-weight: 800; text-decoration: none; }

.detail-dialog { width: min(920px, calc(100vw - 32px)); max-height: min(880px, calc(100vh - 32px)); padding: 0; border: 0; border-radius: 22px; color: var(--ink); background: var(--white); box-shadow: 0 35px 90px rgba(0,0,0,.35); }
.detail-dialog::backdrop { background: rgba(3,17,28,.72); backdrop-filter: blur(5px); }
.dialog-shell { position: relative; padding: 42px; }
.close-dialog { position: absolute; top: 19px; right: 20px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; font-size: 22px; line-height: 1; }
.detail-dialog h2 { max-width: 760px; margin: 0; font-family: Georgia, serif; font-size: clamp(32px, 5vw, 50px); line-height: 1.05; font-weight: 500; letter-spacing: -.045em; }
.dialog-company { margin: 10px 0 28px; color: var(--orange); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.dialog-kpis { display: grid; grid-template-columns: 1.4fr .8fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.dialog-kpis > div { padding: 17px; border-right: 1px solid var(--line); }
.dialog-kpis > div:last-child { border: 0; }
.dialog-kpis span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.dialog-kpis strong { font-family: Georgia, serif; font-size: 17px; font-weight: 500; }
.grouped-title-panel { margin-top: 18px; padding: 16px 18px; border-radius: 10px; background: rgba(114,219,212,.14); }
.grouped-title-panel > span { display: block; color: #37616a; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.grouped-title-panel > span strong { color: var(--ink); }
.grouped-title-panel ul { margin: 11px 0 0; padding-left: 18px; color: #526b76; font-size: 12px; line-height: 1.7; }
.history-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 32px 0 16px; }
.history-heading h3 { margin: 0; font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.history-heading p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.history-axis { display: grid; grid-template-columns: 1fr 1fr 1fr; margin: 0 185px 5px 100px; color: #8a969c; font-size: 10px; }
.history-axis span:nth-child(2) { text-align: center; }
.history-axis span:last-child { text-align: right; }
.history-list { border-top: 1px solid var(--line); }
.history-row { display: grid; grid-template-columns: 90px 1fr 175px 60px; align-items: center; gap: 10px; min-height: 48px; border-bottom: 1px solid rgba(9,32,51,.08); }
.history-row time { color: var(--muted); font-size: 11px; }
.history-track { position: relative; height: 7px; border-radius: 5px; background: #e9ebe7; }
.history-track i { position: absolute; height: 100%; border-radius: 5px; background: var(--aqua); }
.history-row.is-outlier .history-track i { background: var(--orange); }
.history-row > strong { font-family: Georgia, serif; font-size: 13px; font-weight: 500; text-align: right; }
.history-row > span { color: var(--muted); font-size: 10px; text-align: right; }
.listing-links { margin-top: 35px; }
.listing-link-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 57px; border-bottom: 1px solid rgba(9,32,51,.08); }
.listing-link-row > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.listing-link-row strong { font-family: Georgia, serif; font-size: 14px; font-weight: 500; }
.listing-link-row small { color: var(--muted); font-size: 11px; }
.listing-link-row > span:last-child { display: flex; gap: 7px; }
.listing-link-row a { padding: 8px 10px; border: 1px solid var(--line); border-radius: 5px; font-size: 10px; font-weight: 800; text-decoration: none; }
.listing-link-row .job-link { border-color: var(--ink); color: white; background: var(--ink); }
.more-records { color: var(--muted); font-size: 10px; }

.loading-state { position: fixed; z-index: 100; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 17px; color: white; background: var(--ink); transition: opacity .4s; }
.is-ready .loading-state { opacity: 0; pointer-events: none; }
.loading-state > span { width: 34px; height: 34px; border: 2px solid rgba(255,255,255,.2); border-top-color: var(--orange); border-radius: 50%; animation: turn .8s linear infinite; }
.loading-state p { color: rgba(255,255,255,.65); font-size: 11px; letter-spacing: .06em; }
.loading-state code { padding: 2px 4px; color: var(--lime); background: rgba(255,255,255,.08); }
.loading-state .error-mark { display: grid; place-items: center; border: 2px solid var(--orange); color: var(--orange); font-size: 18px; animation: none; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 70px 0 40px; }
  .hero-visual { justify-self: center; width: 390px; margin-bottom: 85px; }
  .stats-wrap { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(2) { border-right: 0; }
  .stat-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .explore { grid-template-columns: 1fr; }
  .filters { position: static; display: block; max-height: none; overflow: visible; }
  .filter-intro, .source-note { grid-column: 1 / -1; }
  .chart-row { grid-template-columns: 190px 1fr 60px; gap: 18px; }
  .chart-axis { margin-left: 208px; }
  .chart-caption { margin-left: 208px; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1240px); }
  .site-header { height: 64px; padding-inline: 14px; }
  .header-meta { max-width: 48%; text-align: right; font-size: 10px; }
  .hero h1 { font-size: 49px; }
  .hero-lede { font-size: 14px; }
  .hero-visual { width: min(350px, 92vw); }
  .stats-wrap { grid-template-columns: 1fr 1fr; }
  .stat-card { min-height: 138px; padding: 18px; }
  .stat-card > strong { font-size: 34px; }
  .stat-date > strong { font-size: 20px; }
  .market { padding-block: 80px; }
  .section-heading { display: block; }
  .section-heading > p { width: auto; margin-top: 18px; }
  .salary-chart { padding: 28px 16px 18px; overflow-x: auto; }
  .chart-axis, .chart-row, .chart-caption { min-width: 620px; }
  .filters { display: block; }
  .results-heading { align-items: start; flex-direction: column; }
  .sort-control { width: 100%; }
  .sort-control select { flex: 1; }
  .company-card summary { grid-template-columns: 38px minmax(0, 1fr) 16px; grid-template-rows: auto auto auto; padding: 12px; }
  .company-monogram { width: 38px; height: 38px; }
  .company-pay { grid-column: 2; grid-row: 2; text-align: left; }
  .company-range-visual { grid-column: 2; grid-row: 3; }
  .chevron { grid-column: 3; grid-row: 1 / 4; }
  .company-range-labels { font-size: 9px; }
  .position-row { grid-template-columns: 1fr 20px; padding: 15px; }
  .position-salary { grid-column: 1 / 2; text-align: left; }
  .outlier-flag { position: absolute; right: 42px; top: 15px; }
  .row-arrow { grid-column: 2; grid-row: 1 / 3; }
  .range-visual { grid-column: 1 / -1; grid-row: 3; }
  .site-footer { grid-template-columns: 1fr; gap: 12px; padding-block: 35px; }
  .dialog-shell { padding: 34px 20px; }
  .dialog-kpis { grid-template-columns: 1fr; }
  .dialog-kpis > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .history-axis { display: none; }
  .history-row { grid-template-columns: 75px 1fr; gap: 5px 10px; padding: 9px 0; }
  .history-track { grid-column: 2; }
  .history-row > strong { grid-column: 2; text-align: left; }
  .history-row > span { grid-column: 1; grid-row: 2 / 4; text-align: left; }
  .listing-link-row { align-items: start; flex-direction: column; padding: 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
