/* The Top N list pages, /careers/top/<list>/ (built by tools/careers/build-top.mjs). Design tokens only. */
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.5 var(--font-sans); }
a { color: var(--blue); }
.tp { max-width: 1120px; margin: 0 auto; padding: 24px 24px 48px; }
@media (max-width: 640px) { .tp { padding: 16px 16px 40px; } }
.tp-kicker { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.tp h1 { margin: 0; font: 800 clamp(30px, 4.4vw, 48px)/1.05 var(--font-display); letter-spacing: -0.035em; }
.tp-note { margin: 10px 0 14px; color: var(--text-muted); max-width: 70ch; }
.tp-note a { font-weight: 600; }
.tp-cta { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: var(--radius-pill); background: var(--blue); color: var(--on-blue); font-weight: 600; text-decoration: none; }
.tp-cta:hover { background: var(--blue-hover); color: var(--on-blue); }
.tp-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px 32px; margin-top: 20px; }
.tp-list h2, .tp-more h2 { margin: 0; font: 800 21px/1.2 var(--font-display); letter-spacing: -0.02em; }
.tp-sub { margin: 2px 0 8px; font-size: 14px; color: var(--text-muted); }
.tp-list ol { list-style: none; margin: 0; padding: 0; }
.tp-list li { display: flex; align-items: center; gap: 10px; min-height: 48px; border-bottom: 1px solid var(--border); }
.tp-rank { flex: none; width: 26px; font: 800 17px var(--font-display); color: var(--text-muted); }
.tp-name { flex: 1 1 0; min-width: 0; }
.tp-name a { display: block; font-weight: 600; color: var(--text); text-decoration: none; }
.tp-name a:hover { text-decoration: underline; }
.tp-band { display: block; font-size: 14px; font-weight: 600; }
.tp-bar { flex: 0 1 120px; min-width: 48px; height: 12px; border-radius: 999px; background: var(--bg-card); overflow: hidden; }
.tp-bar > span { display: block; height: 100%; border-radius: 999px; }
.tp-val { flex: none; min-width: 54px; text-align: right; font: 800 16px var(--font-display); }
[data-band="Strong"].tp-band { color: var(--band-strong); } .tp-bar > [data-band="Strong"] { background: var(--band-strong); }
[data-band="Steady"].tp-band { color: var(--band-steady); } .tp-bar > [data-band="Steady"] { background: var(--band-steady); }
[data-band="Mixed"].tp-band { color: var(--band-mixed); } .tp-bar > [data-band="Mixed"] { background: var(--band-mixed); }
[data-band="Changing fast"].tp-band { color: var(--band-fast); } .tp-bar > [data-band="Changing fast"] { background: var(--band-fast); }
[data-band="Changing fastest"].tp-band { color: var(--band-fastest); } .tp-bar > [data-band="Changing fastest"] { background: var(--band-fastest); }
.tp-more { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tp-more h2 { flex-basis: 100%; }
.tp-more a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line2); border-radius: var(--radius-pill); color: var(--text); font-weight: 600; text-decoration: none; }
.tp-more a:hover { background: var(--state-hover); }
.tp-foot { margin-top: 24px; font-size: 14px; color: var(--text-muted); }
.site-foot { border-top: 1px solid var(--border); padding: 20px 24px; font-size: 14px; color: var(--text-muted); }
.site-foot .in { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.site-foot a { color: var(--text-muted); margin-left: 14px; }
