/**
 * F1GMAT MBA Salary Comparison styles.
 * The shared .flt-* rules are the same as the layoff tracker's, so both modules
 * read as one series; the .fms-* rules below are this module's own. Tokens fall
 * back to the F1GMAT theme (--fg-*) when the theme defines them. No inline styles
 * are used anywhere; bar widths set by script go through the CSSOM.
 */
.flt {
  --flt-paper: var(--fg-paper, #fbfaf7);
  --flt-panel: var(--fg-paper-aged, #f3eee2);
  --flt-warm: var(--fg-paper-warm, #f5efdf);
  --flt-ink: var(--fg-ink, #1a1a1a);
  --flt-ink-soft: var(--fg-ink-soft, #3d3d3d);
  --flt-muted: var(--fg-ink-muted, #5c574e);
  --flt-hair: var(--fg-hairline, #d4cfc4);
  --flt-accent: var(--fg-teal, #0e7490);
  --flt-rule: var(--fg-gold-dark, #8a6b1f);
  --flt-late: #0a7fa3;
  --flt-early: #b07a10;
  --flt-gain: #0a7fa3;
  --flt-loss: #c2512a;
  --flt-mark: #6b675e;
  --flt-serif: Georgia, "Times New Roman", Times, serif;
  --flt-sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: var(--flt-ink);
  font-family: var(--flt-serif);
  font-size: 17px;
  line-height: 1.55;
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 20px;
  padding-block: 8px 48px;
}
@media (prefers-color-scheme: dark) {
  .flt.flt--auto-dark {
    --flt-paper: #15181a; --flt-panel: #1d2124; --flt-warm: #24292b; --flt-ink: #f2efe8; --flt-ink-soft: #d9d4ca; --flt-muted: #a8a296;
    --flt-hair: #383d40; --flt-accent: #4fb6d6; --flt-rule: #d2a84a; --flt-late: #2593b6; --flt-early: #c28620; --flt-gain: #2593b6; --flt-loss: #d75f35; --flt-mark: #a8a296;
  }
}
.flt * { box-sizing: border-box; }
.flt a { color: var(--flt-accent); }
.flt :focus-visible { outline: 2px solid var(--flt-accent); outline-offset: 2px; }
.flt [hidden] { display: none !important; }

/* type */
.flt-eyebrow, .flt-label { font-family: var(--flt-sans); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--flt-muted); }
.flt-eyebrow { color: var(--flt-accent); letter-spacing: .14em; }
.flt-label--early { color: var(--flt-early); }
.flt-label--late { color: var(--flt-late); }
.flt-h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.04; margin: 10px 0 0; text-wrap: balance; letter-spacing: -.01em; }
.flt-h2 { font-size: clamp(24px, 3.4vw, 31px); line-height: 1.12; margin: 6px 0 0; text-wrap: balance; }
.flt-h3 { font-size: 20px; margin: 0; }
.flt-deck { max-width: 66ch; color: var(--flt-ink-soft); font-size: 19px; margin: 16px 0 0; }
.flt-lede { margin: 8px 0 0; max-width: 68ch; color: var(--flt-ink-soft); }
.flt-small { font-family: var(--flt-sans); font-size: 13px; color: var(--flt-muted); line-height: 1.45; }
.flt-num { font-family: var(--flt-sans); font-variant-numeric: tabular-nums; }
.flt-cite { font-family: var(--flt-sans); font-size: .72em; color: var(--flt-muted); white-space: nowrap; }
.flt-rule-hr { height: 2px; background: var(--flt-rule); width: 72px; margin: 22px 0 0; border: 0; }
.flt-sec { margin-top: 52px; }
.flt-sec__head { border-top: 1px solid var(--flt-hair); padding-top: 18px; display: grid; gap: 4px; }
.flt-foot { font-family: var(--flt-sans); font-size: 13px; color: var(--flt-muted); line-height: 1.5; margin: 14px 0 0; max-width: 90ch; }

/* sector nav */
.flt-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.flt-nav a, .flt-nav span { font: 600 13px var(--flt-sans); border: 1px solid var(--flt-hair); border-radius: 999px; padding: 9px 14px; text-decoration: none; color: var(--flt-ink); min-height: 40px; display: inline-flex; align-items: center; }
.flt-nav a[aria-current="page"] { background: var(--flt-ink); color: var(--flt-paper); border-color: var(--flt-ink); }
.flt-nav span { color: var(--flt-muted); border-style: dashed; }

/* controls */
.flt-controls { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: flex-end; margin-top: 18px; }
.flt-seg { display: inline-flex; border: 1px solid var(--flt-hair); border-radius: 999px; padding: 3px; background: var(--flt-panel); flex-wrap: wrap; }
.flt-seg button { font: 600 13px var(--flt-sans); color: var(--flt-ink-soft); background: transparent; border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer; min-height: 40px; }
.flt-seg button[aria-pressed="true"] { background: var(--flt-ink); color: var(--flt-paper); }
.flt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.flt-chip { font: 600 13px var(--flt-sans); border: 1px solid var(--flt-hair); background: var(--flt-paper); color: var(--flt-ink); border-radius: 999px; padding: 9px 14px; cursor: pointer; min-height: 44px; }
.flt-chip--locked { color: var(--flt-muted); border-style: dashed; }
.flt-chip--locked::after { content: " \00B7 Premium"; font-weight: 400; }
.flt-locked-row td { color: var(--flt-muted); }
.flt-chip[aria-pressed="true"] { border-color: var(--flt-accent); color: var(--flt-accent); background: var(--flt-warm); box-shadow: inset 0 0 0 1px var(--flt-accent); }
.flt-field { display: grid; gap: 6px; font: 14px var(--flt-sans); color: var(--flt-ink-soft); }
.flt-field select { font: 600 14px var(--flt-sans); padding: 9px 10px; border-radius: 6px; border: 1px solid var(--flt-hair); background: var(--flt-paper); color: var(--flt-ink); min-height: 40px; }
.flt-field input[type="range"] { width: 100%; min-height: 32px; accent-color: var(--flt-accent); }
.flt-linkbtn { all: unset; cursor: pointer; font: 700 13px var(--flt-sans); color: var(--flt-accent); margin-top: 12px; display: inline-block; }
.flt-linkbtn:focus-visible { outline: 2px solid var(--flt-accent); }

/* stats */
.flt-counter, .flt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 20px; }
.flt-stat { background: var(--flt-panel); border-radius: 8px; padding: 14px 16px; min-width: 0; }
.flt-stat--hero { grid-column: 1 / -1; }
.flt-big { font: 700 26px var(--flt-sans); font-variant-numeric: tabular-nums; color: var(--flt-ink); margin-top: 4px; line-height: 1.1; }
.flt-big small { font-size: 18px; }
.flt-big--sm { font-size: 20px; }
.flt-big--xl { font-size: 44px; }
.flt-stat--hero .flt-big { font-size: clamp(34px, 5vw, 48px); }
.flt-sub { font: 13px/1.45 var(--flt-sans); color: var(--flt-ink-soft); margin-top: 4px; }
.flt-k { display: flex; align-items: center; gap: 7px; }
.flt-callouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 20px; }
.flt-callout { border-left: 2px solid var(--flt-rule); padding: 2px 0 2px 14px; }
.flt-callout p { margin: 6px 0 0; color: var(--flt-ink-soft); font-size: 15px; }

/* compare lists */
.flt-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 22px; }
@media (max-width: 760px) { .flt-pair { grid-template-columns: 1fr; } }
.flt-col { min-width: 0; }
.flt-blurb { margin: 6px 0 12px; color: var(--flt-ink-soft); font-size: 15px; }
.flt-tot { font-family: var(--flt-sans); font-size: 13px; color: var(--flt-muted); }
.flt-tot b { color: var(--flt-ink); }
.flt-rows { display: grid; gap: 2px; margin-top: 10px; }
.flt-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; }
.flt-rank { font: 700 12px var(--flt-sans); color: var(--flt-muted); padding-top: 12px; text-align: right; }
.flt-rowbody { min-width: 0; }
.flt-rowbtn { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; padding: 8px 8px 9px; border-radius: 6px; }
.flt-rowbtn:hover, .flt-rowbtn[aria-expanded="true"] { background: var(--flt-panel); }
.flt-rowbtn:focus-visible { outline: 2px solid var(--flt-accent); }
.flt-rowtop { display: flex; justify-content: space-between; gap: 10px; font: 600 14px var(--flt-sans); color: var(--flt-ink); }
.flt-v { font-variant-numeric: tabular-nums; white-space: nowrap; }
.flt-track { height: 12px; margin-top: 6px; }
.flt-bar { height: 12px; border-radius: 0 4px 4px 0; width: 0; background: var(--flt-mark); }
.flt-bar--early { background: var(--flt-early); } .flt-bar--late { background: var(--flt-late); }
@media (prefers-reduced-motion: no-preference) { .flt-bar { transition: width .35s ease; } }
.flt-flags { display: inline-flex; gap: 4px; flex-wrap: wrap; margin-left: 6px; vertical-align: 1px; }
.flt-flag { font: 700 10px var(--flt-sans); letter-spacing: .05em; text-transform: uppercase; border: 1px solid var(--flt-hair); color: var(--flt-muted); border-radius: 4px; padding: 1px 5px; white-space: nowrap; }
.flt-events { margin: 4px 8px 10px 0; padding: 10px 12px; background: var(--flt-warm); border-radius: 6px; font: 13px/1.45 var(--flt-sans); color: var(--flt-ink-soft); }
.flt-events table { width: 100%; border-collapse: collapse; }
.flt-events td { padding: 5px 6px 5px 0; vertical-align: top; border-top: 1px solid var(--flt-hair); }
.flt-events tr:first-child td { border-top: 0; }
.flt-n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--flt-ink); font-weight: 700; }
.flt-open { all: unset; cursor: pointer; color: var(--flt-accent); font: 700 12px var(--flt-sans); margin-top: 6px; display: inline-block; }
.flt-open:focus-visible { outline: 2px solid var(--flt-accent); }

/* tables and notes */
.flt-tablewrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--flt-hair); border-radius: 6px; }
.flt-tablewrap--flush { margin-top: 8px; }
.flt-tablewrap table { border-collapse: collapse; width: 100%; font: 13px var(--flt-sans); min-width: 520px; }
.flt-tablewrap th, .flt-tablewrap td { padding: 7px 10px; text-align: right; border-bottom: 1px solid var(--flt-hair); font-variant-numeric: tabular-nums; vertical-align: top; }
.flt-tablewrap th:first-child, .flt-tablewrap td:first-child, .flt-tablewrap .flt-l { text-align: left; }
.flt-tablewrap.flt-tablewrap--flush table { min-width: 0; }
.flt-tablewrap--flush th, .flt-tablewrap--flush td { padding: 7px 6px; font-size: 12px; }
.flt-tablewrap th { color: var(--flt-muted); font-weight: 700; background: var(--flt-panel); position: sticky; top: 0; }
.flt-notes2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; margin-top: 20px; }
@media (max-width: 760px) { .flt-notes2 { grid-template-columns: minmax(0, 1fr); } }
/* A grid item's minimum width is its content's by default; without this a wide table pushes section 5 past the screen edge. */
.flt-notes2 > * { min-width: 0; }
.flt-notes2 .flt-label { margin-top: 14px; }
.flt-notes2 .flt-label:first-child { margin-top: 0; }
.flt-ul { margin: 6px 0 0; padding-left: 18px; font: 14px/1.5 var(--flt-sans); color: var(--flt-ink-soft); }
.flt-agebox { border-left: 2px solid var(--flt-rule); padding-left: 14px; font-size: 16px; color: var(--flt-ink-soft); }
.flt-agebox p { margin: 8px 0 0; }
.flt-notes { columns: 2 320px; column-gap: 32px; font: 14px/1.55 var(--flt-sans); color: var(--flt-ink-soft); margin-top: 14px; }
.flt-notes p, .flt-notes ul { margin: 0 0 12px; break-inside: avoid; }
.flt-refs { font: 13px/1.5 var(--flt-sans); color: var(--flt-ink-soft); padding-left: 28px; margin-top: 14px; columns: 2 360px; column-gap: 36px; }
.flt-refs li { margin-bottom: 6px; break-inside: avoid; overflow-wrap: anywhere; }
.flt-refs li:target { background: var(--flt-warm); }

/* static fallback (no script) */
.flt-static table { border-collapse: collapse; width: 100%; font: 14px var(--flt-sans); margin-top: 12px; }
.flt-static th, .flt-static td { padding: 6px 8px; border-bottom: 1px solid var(--flt-hair); text-align: left; vertical-align: top; }
.flt-static details { margin-top: 10px; }
.flt-static summary { cursor: pointer; font: 700 15px var(--flt-sans); }

/* the Premium prompt */
.flt-gate__close { position: absolute; top: 10px; right: 12px; font: 22px/1 var(--flt-sans); background: transparent; border: 0; color: var(--flt-muted); cursor: pointer; width: 36px; height: 36px; border-radius: 50%; }
.flt-gate__close:hover { background: var(--flt-panel); }

/* gate */
.flt-gated { position: relative; }
.flt-gate { position: fixed; inset: 0; z-index: 900; background: rgba(26, 26, 26, .55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.flt-gate__card { position: relative; background: var(--flt-paper); color: var(--flt-ink); border-radius: 10px; max-width: 520px; width: 100%; padding: 28px 28px 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); font-family: var(--flt-serif); }
.flt-gate__card p { color: var(--flt-ink-soft); }
.flt-gate__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 18px; }
.flt .flt-btn { font: 700 14px var(--flt-sans); background: var(--flt-accent); color: #fff; border-radius: 6px; padding: 12px 18px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.flt-gate__login { font: 600 14px var(--flt-sans); }

/* the parent page and embeds */
.flt-hub { display: grid; gap: 16px; }
.flt-hub__card .flt-h2 a { color: inherit; text-decoration: none; }
.flt-hub__card .flt-h2 a:hover { color: var(--flt-accent); }
.flt-stats--hub { margin-top: 12px; }
.flt-nav__all { font-weight: 600; }
.flt--embed { padding: 0; }
.flt--embed .flt-refs--embed { font-size: 13px; }
.flt-corrections li { margin: 4px 0; }

/* tooltip (role="tooltip"; positioned by the script through the CSSOM) */
.flt-tip { position: fixed; z-index: 950; max-width: 320px; padding: 8px 10px; border-radius: 6px; background: var(--flt-ink); color: var(--flt-paper); font: 13px/1.4 var(--flt-sans); pointer-events: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.flt-tip b { display: block; margin-bottom: 2px; }
.flt .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* salary comparison */
.fms-static { cursor: default; }
.fms-static:hover { background: transparent; }
.fms-heatwrap table { min-width: 640px; }
.fms-heat th { white-space: nowrap; }
.fms-heat abbr { text-decoration: none; cursor: help; }
.fms-heat td { text-align: center; font-size: 12px; padding: 6px 4px; min-width: 44px; }
.fms-heat td.flt-l { text-align: left; max-width: 190px; }
.fms-heat td[tabindex] { cursor: default; }
.fms-heat--none { background: transparent; color: var(--flt-muted); }
.fms-heat--1 { background: color-mix(in srgb, var(--flt-late) 10%, transparent); }
.fms-heat--2 { background: color-mix(in srgb, var(--flt-late) 24%, transparent); }
.fms-heat--3 { background: color-mix(in srgb, var(--flt-late) 40%, transparent); }
/* Ink on the 58% mix: 7.4:1 on paper, where white is 2.4:1. White returns in the dark scheme (7.1:1). */
.fms-heat--4 { background: color-mix(in srgb, var(--flt-late) 58%, transparent); color: var(--flt-ink); }
.fms-heat--5 { background: var(--flt-late); color: #fff; font-weight: 700; }
@supports not (background: color-mix(in srgb, red 10%, transparent)) {
  .fms-heat--1 { background: rgba(10, 127, 163, .10); } .fms-heat--2 { background: rgba(10, 127, 163, .24); } .fms-heat--3 { background: rgba(10, 127, 163, .40); } .fms-heat--4 { background: rgba(10, 127, 163, .58); }
}
@media (prefers-color-scheme: dark) { .flt.flt--auto-dark .fms-heat--4 { color: #fff; } }
.fms-nested { padding-left: 22px; }
.fms-cols { margin-top: 10px; }
.fms-sub td.flt-l { padding-left: 22px; color: var(--flt-ink-soft); }
.fms-canon { display: block; font-size: 11px; color: var(--flt-muted); letter-spacing: .02em; }
.fms code { font: 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--flt-panel); padding: 1px 5px; border-radius: 4px; }
.fms-hubtable { border-collapse: collapse; width: 100%; font: 14px var(--flt-sans); margin-top: 12px; }
.fms-hubtable th, .fms-hubtable td { padding: 6px 8px; border-bottom: 1px solid var(--flt-hair); text-align: left; vertical-align: top; }
.fms-hubtable th:nth-child(n+3), .fms-hubtable td:nth-child(n+3) { text-align: right; font-variant-numeric: tabular-nums; }
.fms .flt-field { margin-top: 12px; width: 100%; max-width: 420px; }
.fms-cmp__basis { margin-top: 18px; }
.fms-cmp th { text-align: right; }
.fms-cmp th.fms-cmp__row { text-align: left; min-width: 180px; }
.fms-cmp th.fms-cmp__school { text-align: center; border-left: 1px solid var(--flt-hair); color: var(--flt-ink); font-size: 13px; }
.fms-cmp td:nth-child(2), .fms-cmp th:nth-child(2) { border-left: 1px solid var(--flt-hair); }
.fms-cmp__none { color: var(--flt-muted); }
.fms-cmp td { white-space: nowrap; }
.fms-cmp td.flt-l { white-space: normal; }
.fms-cmp .fms-canon { white-space: normal; max-width: 150px; }

/* Table heads keep the module's own type, so a theme's uppercase, letter-spaced th style cannot widen the columns. */
.fms .flt-tablewrap th, .fms .fms-hubtable th, .fms .flt-static th { text-transform: none; letter-spacing: normal; font-family: var(--flt-sans); font-weight: 700; }
.fms .flt-tablewrap th { font-size: 12px; }
.flt-notes2 td, .flt-notes2 th { overflow-wrap: anywhere; }

/* Section 5 on phones */
.fms-narrow { display: none; }
.fms-cov th:not(.flt-l), .fms-cov td { text-align: center; width: 17%; }
.fms .fms-cov tbody th { font-weight: 400; color: var(--flt-ink); background: transparent; position: static; }
.fms-note { display: block; }
@media (max-width: 640px) {
  .fms-cov .fms-wide { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .fms-cov .fms-narrow { display: inline; }
  .fms-cov th, .fms-cov td { padding: 7px 4px; }
  /* Errata: each row becomes a card; the head row is read from each cell's label. */
  .fms-stackwrap { border: 0; overflow: visible; }
  .fms-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .fms-stack, .fms-stack tbody, .fms-stack tr, .fms-stack td { display: block; width: 100%; }
  .fms-stack tr { border: 1px solid var(--flt-hair); border-radius: 6px; padding: 8px 10px; margin-top: 8px; background: var(--flt-paper); }
  .fms-stack td, .fms-stack td.flt-l { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; border: 0; padding: 3px 0; text-align: left; font-size: 13px; }
  .fms-stack td::before { content: attr(data-label); font: 700 11px var(--flt-sans); letter-spacing: .04em; text-transform: uppercase; color: var(--flt-muted); padding-top: 1px; }
}

/* Section 1 on phones: the pay line wraps instead of widening the page, and the row picker fits the screen. */
.fms .flt-field select { width: 100%; max-width: 100%; }
@media (max-width: 640px) {
  .fms .flt-rowtop { flex-wrap: wrap; }
  .fms .flt-rowtop .flt-v { white-space: normal; }
  .fms .flt-rowtop .flt-v .flt-tot { white-space: nowrap; }
}

/* Spacing the theme's paragraph reset would otherwise remove. */
.fms header > .flt-small { margin: 16px 0 0; }
.fms header > .flt-deck { margin: 12px 0 0; }
.fms .flt-chipgroup { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: 100%; }
.fms .flt-chipgroup > .flt-label { flex-basis: 100%; margin: 0 0 4px; }
.fms .flt-controls { margin-top: 22px; }

/* Parent page: the four cards hold a five-row table each. Grid items may
   shrink below their content, and on a phone each row stacks as a card with
   the school as its heading (labels come from data-label). */
.flt-hub { grid-template-columns: minmax(0, 1fr); }
.flt-hub > * { min-width: 0; }
.fms-hubtable td { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .fms .fms-hubtable.fms-stack tr { padding: 8px 10px 6px; }
  .fms .fms-hubtable.fms-stack td.fms-hub__school { display: block; font: 700 14px var(--flt-sans); color: var(--flt-ink); padding: 0 0 4px; }
  .fms .fms-hubtable.fms-stack td.fms-hub__school::before { content: none; }
  .fms .fms-hubtable.fms-stack td { grid-template-columns: 96px minmax(0, 1fr); text-align: left; }
}
