/* layoffhedge H-1B explorer: wage-level marks (see /assets/h1b-explorer-levels.js).
   One-hue red ramp, Level I lightest, validated on the light and dark surfaces (same steps as /assets/h1b-levels.css). */
:root{--lhx-1:#e8867a;--lhx-2:#d0574a;--lhx-3:#a2362c;--lhx-4:#66201a;--lhx-u:#e2dccf}
:root[data-theme="dark"]{--lhx-1:#9e3b2f;--lhx-2:#c9584d;--lhx-3:#e8877c;--lhx-4:#f7bdb4;--lhx-u:#45423c}
.lx1{background:var(--lhx-1)}.lx2{background:var(--lhx-2)}.lx3{background:var(--lhx-3)}.lx4{background:var(--lhx-4)}
.lhx-mix{display:flex;gap:1px;height:6px;width:100%;max-width:220px;margin-top:5px;border-radius:3px;overflow:hidden}
.lhx-mix i{display:block;height:100%;min-width:1px}
.lhx-mix.lhx-none{background:var(--lhx-u)}
.lhx-on i{opacity:.28}.lhx-on i.sel{opacity:1}
.job-bar-label .lhx-mix{max-width:260px}
.lhx-legend{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:12px;color:var(--text2);margin:0 0 10px}
.lhx-legend span{display:inline-flex;align-items:center;gap:5px}
.lhx-legend b{display:inline-block;width:10px;height:10px;border-radius:2px}
.lhx-legend .lhx-lg-t{font-weight:700;color:var(--text);text-transform:uppercase;letter-spacing:.05em;font-size:10.5px}
.lhx-legend a{color:var(--accent);font-weight:600;text-decoration:none}
.lhx-legend .lhx-lg-note{flex-basis:100%}
.lhx-note{font-size:12px;color:var(--text2);margin:0 0 12px;padding:6px 10px;background:var(--surface2,var(--card));border:1px solid var(--border);border-radius:var(--radius,8px);display:inline-block;line-height:1.5}
.lhx-note a{color:var(--accent);font-weight:600}
.lhx-chart .lhx-rows{display:grid;gap:3px;margin:6px 0 10px}
.lhx-row{display:grid;grid-template-columns:34px 1fr 52px;align-items:center;gap:8px;font-size:11.5px;font-variant-numeric:tabular-nums}
.lhx-row.lhx-dim{opacity:.4}
.lhx-fy{color:var(--text2)}
.lhx-bar{display:flex;gap:1px;height:12px;border-radius:3px;overflow:hidden}
.lhx-bar i{display:block;height:100%;min-width:1px}
.lhx-bar.lhx-empty{background:var(--lhx-u);color:var(--text2);font-size:10px;align-items:center;padding-left:6px;white-space:nowrap}
.lhx-n{text-align:right;color:var(--text2)}
.lhx-chart .lhx-legend{margin:0 0 8px;font-size:11px}
.lhx-more{display:inline-block;font-size:12px;color:var(--accent);font-weight:600;text-decoration:none}
@media (forced-colors:active){.lhx-mix,.lhx-bar{border:1px solid CanvasText}}
/* tap targets (2026-11-29): a year, a level, a job, and the view strip above the tabs */
.lhx-mix i,.lhx-bar i{cursor:pointer}
.lhx-mix i:hover,.lhx-bar i:hover{opacity:1;filter:brightness(1.12)}
.lhx-legend .lhx-lg-b{display:inline-flex;align-items:center;gap:5px;font:inherit;color:inherit;background:none;border:1px solid transparent;border-radius:999px;padding:2px 8px 2px 6px;margin:0 -4px;cursor:pointer}
.lhx-legend .lhx-lg-b:hover{border-color:var(--border);color:var(--text)}
.lhx-legend .lhx-lg-b.on{border-color:var(--accent);color:var(--text);font-weight:600}
button.lhx-fy{font:inherit;font-variant-numeric:tabular-nums;color:var(--text2);background:none;border:0;padding:0;text-align:left;cursor:pointer}
button.lhx-fy:hover,.lhx-row.lhx-picked button.lhx-fy{color:var(--accent);font-weight:700}
.lhx-legend .lhx-lg-b:focus-visible,button.lhx-fy:focus-visible,.job-bar-row.lhx-pick:focus-visible,.lhx-view summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.job-bar-row.lhx-pick{cursor:pointer;padding-left:8px;padding-right:8px;border-radius:6px}
.job-bar-row.lhx-pick:hover{background:var(--surface2,var(--card))}
.job-bar-row.job-sel{background:var(--accent-bg,var(--surface2));box-shadow:inset 3px 0 0 var(--accent)}
.lhx-view{margin:0 0 12px;border:1px solid var(--border);border-radius:10px;background:var(--card);font-size:13px}
.lhx-view[hidden]{display:none}
.lhx-view summary{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:10px 14px;cursor:pointer;list-style:none}
.lhx-view summary::-webkit-details-marker{display:none}
.lhx-view summary::before{content:"+";color:var(--text2);font-weight:700;width:10px;text-align:center}
.lhx-view details[open] summary::before{content:"-"}
.lhx-view-t{font-weight:700;text-transform:uppercase;letter-spacing:.05em;font-size:10.5px;color:var(--text)}
.lhx-view-s{font-weight:600;color:var(--text)}
.lhx-view-n{color:var(--text2);font-size:12px;margin-left:auto;font-variant-numeric:tabular-nums}
.lhx-view summary .lhx-mix{width:160px;margin-top:0}
.lhx-view .lhx-chart{margin:0;padding:0 14px 12px;max-width:640px}
.lhx-view-none{padding:0 14px 12px;color:var(--text2);margin:0}
.map-lens{font-weight:600;color:#3b3833;margin-right:4px}
.map-lens[hidden]{display:none}
@media (max-width:600px){.lhx-view-n{margin-left:0;flex-basis:100%}.lhx-view summary .lhx-mix{width:120px}}
