.reference-page { display: flex; flex-direction: column; gap: 14px; }
.reference-hero {
  position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  padding: 21px 22px; border-radius: 14px; color: #fff;
  background: radial-gradient(420px 220px at 100% 0, rgba(90, 175, 255, .42), transparent 68%), linear-gradient(125deg, #0a2f61, #0e5ab9);
}
.reference-hero.green { background: radial-gradient(420px 220px at 100% 0, rgba(87, 224, 177, .32), transparent 68%), linear-gradient(125deg, #073e34, #087d5c); }
.reference-hero::after { content: ""; position: absolute; right: -70px; bottom: -120px; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.025); }
.reference-hero > div { position: relative; z-index: 1; }
.reference-eyebrow { display: flex; align-items: center; gap: 5px; font-size: 8px; letter-spacing: 1.4px; color: rgba(255,255,255,.52); text-transform: uppercase; }
.reference-hero h2 { margin-top: 8px; font-size: 21px; font-weight: 650; letter-spacing: -.3px; }
.reference-hero p { max-width: 610px; margin-top: 6px; font-size: 9.5px; line-height: 1.7; color: rgba(255,255,255,.62); }
.reference-hero-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.reference-chip { display: inline-flex; align-items: center; height: 21px; padding: 0 8px; border: 1px solid rgba(255,255,255,.16); border-radius: 5px; background: rgba(255,255,255,.08); font-size: 8px; color: rgba(255,255,255,.7); }
.reference-chip.blue { border-color: rgba(143, 204, 255, .3); background: rgba(87, 170, 255, .18); color: #cae8ff; }
.reference-chip.orange { border-color: rgba(255, 207, 136, .3); background: rgba(255, 185, 79, .14); color: #ffe1b3; }
.reference-chip.green { border-color: rgba(137, 241, 206, .28); background: rgba(82, 218, 171, .14); color: #c8f8e7; }
.reference-refresh { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; font-family: inherit; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.14); color: #fff; transition: background .16s ease, border-color .16s ease; }
.reference-refresh:hover { background: rgba(255,255,255,.24); border-color: rgba(255,255,255,.42); }
.reference-refresh:disabled { opacity: .65; cursor: wait; }
.reference-hero-stats { display: flex; gap: 20px; flex: 0 0 auto; padding-bottom: 3px; }
.reference-hero-stats > div { text-align: right; }
.reference-hero-stats strong { display: block; font-family: var(--font-number); font-size: 18px; font-weight: 650; }
.reference-hero-stats span { display: block; margin-top: 2px; font-size: 8px; color: rgba(255,255,255,.48); }
.reference-section { margin-top: 0; }
.reference-warning { display: flex; align-items: flex-start; gap: 7px; padding: 10px 12px; border: 1px solid #f3dfbd; border-radius: 8px; background: #fffaf1; color: #9b6b1d; font-size: 9px; line-height: 1.65; }
.reference-warning svg { flex: 0 0 auto; margin-top: 1px; }
.reference-disclaimer a { color: #3978b8; text-decoration: underline; }
.reference-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.reference-toolbar .toolbar-search { width: 260px; }
.reference-data-note { display: inline-flex; align-items: center; gap: 4px; font-size: 8.5px; color: var(--muted-2); white-space: nowrap; }
.reference-table-wrap { max-height: 560px; border: 1px solid #edf2f9; border-radius: 9px; }
.reference-table th { position: sticky; top: 0; z-index: 2; background: #f8fbff; white-space: nowrap; }
.reference-table td { padding-top: 9px; padding-bottom: 9px; vertical-align: middle; }
.reference-region strong { display: block; font-size: 10px; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.reference-region span { display: block; margin-top: 2px; font-size: 8px; color: var(--muted-2); white-space: nowrap; }
.reference-amount { font-family: var(--font-number); font-size: 9px; color: var(--ink-2); white-space: nowrap; }
.reference-amount small { margin: 0 3px; color: #b5c1d2; }
.reference-rate { font-family: var(--font-number); font-size: 9px; color: #45637f; white-space: nowrap; }
.reference-rate small { color: #b9c5d4; }
.reference-status { display: inline-flex; align-items: center; height: 19px; padding: 0 7px; border-radius: 5px; font-size: 8px; font-weight: 600; white-space: nowrap; }
.reference-status.ok { background: #eaf8f2; color: #0a8860; }
.reference-status.pending { background: #fff5e6; color: #bd7a18; }
.reference-pending { color: #c28727; font-size: 8.5px; font-weight: 600; white-space: nowrap; }
.reference-date { font-family: var(--font-number); font-size: 8.5px; color: var(--muted); white-space: nowrap; }
.reference-disclaimer { display: flex; align-items: flex-start; gap: 7px; margin-top: 11px; padding: 10px 11px; border: 1px solid #edf2f9; border-radius: 8px; background: #fafcff; color: #7b8a9e; font-size: 8.5px; line-height: 1.65; }
.reference-disclaimer svg { flex: 0 0 auto; margin-top: 1px; color: #8fa4bd; }
.wage-tiers { display: flex; gap: 5px; flex-wrap: nowrap; }
.wage-tier { min-width: 58px; padding: 4px 6px; border: 1px solid #edf2f9; border-radius: 5px; background: #fbfdff; text-align: right; }
.wage-tier small { display: block; font-size: 7px; color: var(--muted-2); }
.wage-tier strong { display: block; margin-top: 1px; font-family: var(--font-number); font-size: 9px; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.wage-tier.empty { display: flex; align-items: center; justify-content: center; min-width: 42px; color: #c3ccd9; background: #fcfdff; }
.wage-tiers.hourly .wage-tier strong { color: #2c6fa7; }
.minimum-wage-table td { padding-top: 8px; padding-bottom: 8px; }
.minimum-wage-table th:nth-child(2), .minimum-wage-table th:nth-child(3) { min-width: 285px; }
.reference-page .empty-state { padding: 22px; }

@media (max-width: 720px) {
  .reference-hero { align-items: flex-start; flex-direction: column; }
  .reference-hero-stats { gap: 16px; }
  .reference-hero-stats > div { text-align: left; }
  .reference-toolbar { align-items: stretch; flex-direction: column; }
  .reference-toolbar .toolbar-search { width: 100%; }
  .wage-tiers { gap: 3px; }
  .wage-tier { min-width: 49px; padding: 3px 4px; }
}
