/* Is AI coming for me? (End of Days) — sits on top of eod.css */
:root { --r1: #0e9a93; --r2: #4f9a2f; --r3: #c98a00; --r4: #e8621a; --r5: #e0301a; --r6: #7a0f12; --r1bg: #e2f4f2; --r2bg: #e8f3e1; --r3bg: #fbf0d6; --r4bg: #fde9dc; --r5bg: #fde4df; --r6bg: #f3d6d4; }
:root[data-theme=dark] { --r1: #3fd0c9; --r2: #8fd16a; --r3: #ffc23d; --r4: #ff8a3d; --r5: #ff4a2e; --r6: #ff2d55; --r1bg: #10292a; --r2bg: #18261a; --r3bg: #2a2310; --r4bg: #2d1a10; --r5bg: #2e130f; --r6bg: #3a0d16; }
.r1 { --rc: var(--r1); --rb: var(--r1bg); } .r2 { --rc: var(--r2); --rb: var(--r2bg); } .r3 { --rc: var(--r3); --rb: var(--r3bg); } .r4 { --rc: var(--r4); --rb: var(--r4bg); } .r5 { --rc: var(--r5); --rb: var(--r5bg); } .r6 { --rc: var(--r6); --rb: var(--r6bg); }

.ai-nav { display: flex; gap: 4px; margin-left: auto; }
.ai-nav a { text-decoration: none; font-weight: 600; font-size: 13px; color: var(--muted); padding: 8px 12px; border-radius: 999px; }
.ai-nav a.on, .ai-nav a:hover { color: var(--head); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.ai { max-width: 1100px; }

.ai-hero { padding: 48px 0 18px; }
.ai-hero h1 { font-size: clamp(52px, 10vw, 136px); line-height: .88; letter-spacing: -.05em; }
.ai-hero h1 em { font-style: normal; color: var(--red); }
.finder { display: flex; align-items: center; gap: 12px; margin: 28px 0 14px; max-width: 720px; }
.finder input { flex: 1; min-width: 0; font: 600 18px Poppins, sans-serif; padding: 16px 18px; border-radius: 10px; border: 2px solid var(--head); background: var(--inbg); color: var(--head); }
.finder input:focus { outline: none; border-color: var(--red); }
#acount { font: 700 12px 'JetBrains Mono', monospace; color: var(--muted); white-space: nowrap; }
.rchips { display: flex; flex-wrap: wrap; gap: 8px; }
.rchips button { border: 1px solid var(--line); background: var(--card); color: var(--text); font: 700 13px Poppins, sans-serif; padding: 9px 14px; border-radius: 999px; cursor: pointer; }
.rchips button small { color: var(--muted); font-weight: 500; margin-left: 2px; }
.rchips button[class^=r] { border-color: var(--rc); color: var(--rc); }
.rchips button.on { background: var(--head); border-color: var(--head); color: var(--bg); }
.rchips button[class^=r].on { background: var(--rc); border-color: var(--rc); color: #fff; }
.rchips button.on small { color: inherit; opacity: .8; }

.legend { list-style: none; padding: 14px 16px; margin: 18px 0 26px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.legend li { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.legend b { font-size: 14px; color: var(--rc); }

.meter { display: inline-flex; gap: 3px; flex: none; }
.meter i { width: 12px; height: 8px; border-radius: 2px; background: var(--line); }
.meter i.on { background: var(--rc); }
.lv { font: 700 11px/1 'JetBrains Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--rc); background: var(--rb); padding: 5px 8px; border-radius: 4px; white-space: nowrap; }

.cat { margin-bottom: 26px; scroll-margin-top: 80px; }
.cat h2 { font-size: 20px; margin-bottom: 8px; }
.cat h2 small { font: 600 12px Poppins, sans-serif; color: var(--muted); margin-left: 6px; }
.jobs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.jobs a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "n m l" "v v v"; align-items: center; gap: 4px 10px; padding: 11px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; transition: border-color .15s, transform .15s; }
.jobs a:hover { border-color: var(--head); transform: translateY(-1px); }
.jn { grid-area: n; font-weight: 700; color: var(--head); }
.jobs .meter { grid-area: m; } .jobs .lv { grid-area: l; }
.vd { grid-area: v; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.none { color: var(--muted); font-size: 15px; }

.ai-cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin: 40px 0 10px; padding: 28px; border-radius: 12px; background: var(--head); color: var(--bg); }
.ai-cta h2 { color: var(--bg); font-size: 28px; margin-bottom: 6px; }
.ai-cta p { margin: 0; max-width: 620px; opacity: .85; }
.ai-cta .eye { color: var(--o); opacity: 1; margin-bottom: 8px; }

/* job page */
.crumbs { font-size: 13px; color: var(--muted); margin: 22px 0 0; }
.crumbs a { text-decoration: none; color: var(--muted); } .crumbs a:hover { color: var(--head); }
.job-hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: center; padding: 26px 0 20px; }
.job-hero h1 { font-size: clamp(40px, 7vw, 84px); line-height: .92; letter-spacing: -.04em; }
.aka { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.verdict { font: 800 clamp(20px, 2.6vw, 28px)/1.25 Poppins, sans-serif; color: var(--rc); margin: 18px 0 0; }
.dial { background: var(--card); border: 2px solid var(--rc); border-radius: 14px; padding: 22px; }
.lvbig { display: block; font: 900 30px/1 Poppins, sans-serif; letter-spacing: -.02em; text-transform: uppercase; color: var(--rc); margin-bottom: 12px; }
.dial .meter i { width: 100%; height: 12px; } .dial .meter { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.dial .sc { margin: 14px 0 6px; font-size: 13.5px; color: var(--text); } .dial .sc b { font: 900 26px Poppins, sans-serif; color: var(--head); margin-right: 4px; }
.dial .when { margin: 0; font-size: 14px; color: var(--head); font-weight: 600; } .dial .when span { color: var(--muted); font-weight: 400; }
.lvsub { margin: 10px 0 0; font: 700 11px 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sum { font-size: 18px; line-height: 1.6; color: var(--head); max-width: 820px; margin: 4px 0 26px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin-bottom: 14px; }
.box h2 { font-size: 19px; margin-bottom: 10px; }
.box ul, .box ol { margin: 0; padding-left: 20px; } .box li { margin: 7px 0; }
.takes { border-top: 4px solid var(--r5); } .stays { border-top: 4px solid var(--r1); } .ahead { border-top: 4px solid var(--o); }
.ahead ol li::marker { font-weight: 900; color: var(--o); }
.rel { margin-top: 26px; } .rel h2 { font-size: 20px; margin-bottom: 10px; }
.rel .jobs a { grid-template-areas: "n m l"; }
.back { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--red); text-decoration: none; }

@media (max-width: 760px) {
  .jobs { grid-template-columns: 1fr; }
  .legend { grid-template-columns: 1fr 1fr; }
  .job-hero, .cols { grid-template-columns: 1fr; }
  .ai-nav a:first-child { display: none; }
  .finder input { font-size: 16px; }
}
.foot a, .ai a { text-decoration: none; } .foot a { color: var(--head); font-weight: 600; }
@media (max-width: 760px) { .legend { display: none; } }

/* Almost gone: the darkest level, a bit of drama */
.lv.r6 { background: var(--r6); color: #fff; }
.job-hero.r6 .dial { background: var(--r6bg); }

/* scale-up layout (Nov 18): results, strips, category tiles, distribution bars */
#results { margin-top: 22px; }
.more { display: block; margin: 16px auto 0; border: 1px solid var(--line); background: var(--card); color: var(--head); font: 700 14px Poppins, sans-serif; padding: 12px 22px; border-radius: 999px; cursor: pointer; }
.strip { margin-bottom: 26px; }
.strip h2 { font-size: 22px; margin-bottom: 10px; color: var(--rc); }
.tiles-w h2 { font-size: 22px; margin-bottom: 12px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--head); transform: translateY(-1px); }
.tile b { color: var(--head); font-size: 15px; line-height: 1.25; }
.tile small { color: var(--muted); font-size: 12px; }
.dist { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--line); margin-top: 6px; }
.dist i { display: block; height: 100%; background: var(--rc); }
.cat-hero h1 { font-size: clamp(40px, 7vw, 84px); line-height: .95; margin-bottom: 14px; }
.cat-hero .dist { height: 12px; max-width: 720px; }
.wh { font: 700 10.5px/1 'JetBrains Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--head); background: var(--tagbg); padding: 3px 6px; border-radius: 3px; margin-right: 8px; white-space: nowrap; }
.wh:empty { display: none; }

/* clickable key + A–Z (Nov 18) */
.legend { list-style: none; }
.legend button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font: 400 12px Poppins, sans-serif; color: var(--muted); background: none; border: 0; border-radius: 8px; padding: 6px; cursor: pointer; text-align: left; }
.legend button:hover { background: var(--rb, var(--bg)); }
.legend button b { font-size: 14px; color: var(--rc); }
.legend button:nth-child(1) { --rb: var(--r1bg); } .legend button:nth-child(2) { --rb: var(--r2bg); } .legend button:nth-child(3) { --rb: var(--r3bg); }
.legend button:nth-child(4) { --rb: var(--r4bg); } .legend button:nth-child(5) { --rb: var(--r5bg); } .legend button:nth-child(6) { --rb: var(--r6bg); }
.az { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 14px; }
.az span { font: 700 11px 'JetBrains Mono', monospace; letter-spacing: .12em; color: var(--muted); margin-right: 6px; }
.az a { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 6px; background: var(--card); border: 1px solid var(--line); font: 800 14px Poppins, sans-serif; color: var(--head); text-decoration: none; }
.az a:hover, .az a.on { background: var(--head); color: var(--bg); border-color: var(--head); }
@media (max-width: 760px) { .legend { display: grid; grid-template-columns: 1fr 1fr 1fr; } .legend button span { display: none; } .az a { min-width: 30px; height: 30px; font-size: 13px; } }
