/* TryHired Organic Design System · page families (th-families.css)
   Each family owns its interaction model. Shared look comes from th.css. */

/* shared page-family scaffolding ------------------------------------------------------ */
.fam-hero { padding: 44px 0 48px; border-bottom: 1px solid var(--rule); }
.fam-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 960px) { .fam-hero .wrap { grid-template-columns: 1fr; gap: 32px; } }
.fam-hero h1 { margin: 14px 0 0; font-size: clamp(36px, 4.8vw, 60px); line-height: 1.03; letter-spacing: -0.04em; font-weight: 800; }
.fam-hero h1 em { font-style: normal; color: var(--gold-deep); }
.fam-hero .standfirst { margin: 18px 0 0; font-family: var(--serif); font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; color: var(--mute-2); max-width: 600px; }
.fam-hero .meta { margin-top: 22px; }
.fam-nav { position: sticky; top: 64px; z-index: 40; background: rgba(251, 250, 247, 0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.fam-nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.fam-nav .wrap::-webkit-scrollbar { display: none; }
.fam-nav a { flex: none; text-decoration: none; font-size: 13.5px; font-weight: 600; color: var(--mute-2); padding: 8px 13px; border-radius: 999px; min-height: 36px; display: inline-flex; align-items: center; }
.fam-nav a:hover { background: var(--paper-warm); color: var(--ink); }
.fam-nav a.on { background: var(--ink); color: var(--paper); }
.fam-sec { padding: 64px 0 0; scroll-margin-top: 120px; }
@media (max-width: 640px) { .fam-sec { padding-top: 48px; } }
.fam-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .fam-2 { grid-template-columns: 1fr; } }
.entity-links { display: flex; flex-wrap: wrap; gap: 8px; }
.entity-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rule); background: var(--card); font-size: 13.5px; font-weight: 650; min-height: 38px; }
.entity-links a:hover { border-color: var(--gold); }
.entity-links a span { font-family: var(--mono); font-size: 10.5px; color: var(--mute); letter-spacing: 0.08em; text-transform: uppercase; }

/* RESUME family ------------------------------------------------------------------------ */
.rx-paper { position: relative; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lift); border: 1px solid var(--rule); padding: 30px 30px 24px; font-family: Arial, Helvetica, sans-serif; color: #1c1c1c; font-size: 12.5px; line-height: 1.5; transform: rotate(-0.6deg); }
.rx-paper h4 { margin: 0; font-size: 19px; letter-spacing: -0.01em; }
.rx-paper .t { margin: 2px 0 10px; font-size: 12px; color: #555; }
.rx-paper h5 { margin: 12px 0 5px; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px solid #ccc; padding-bottom: 3px; }
.rx-paper ul { margin: 0; padding-left: 16px; }
.rx-paper li { margin: 3px 0; }
.rx-hl { border-radius: 3px; padding: 0 2px; transition: background 0.2s, box-shadow 0.2s; }
.rx-hl.good { background: rgba(47, 107, 79, 0.12); }
.rx-hl.weak { background: rgba(164, 71, 46, 0.1); }
.rx-hl.on { box-shadow: 0 0 0 2px var(--gold); background: var(--hi); }
.rx-pin { position: absolute; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--ink); color: var(--hi); font-family: var(--mono); font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 4px 10px -4px rgba(23, 24, 28, 0.5); transition: transform 0.15s var(--ease), background 0.15s; }
.rx-pin:hover, .rx-pin.on { transform: scale(1.12); background: var(--gold); color: var(--ink); }
.rx-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: rn; }
.rx-notes li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--rule); background: var(--card); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.rx-notes li b { font-family: var(--mono); font-size: 11px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--hi); display: grid; place-items: center; }
.rx-notes li strong { display: block; font-size: 15px; }
.rx-notes li span { display: block; font-size: 14px; color: var(--mute-2); margin-top: 2px; line-height: 1.5; }
.rx-notes li.on { border-color: var(--gold); background: var(--hi-soft); }
.rx-notes li .tag { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; margin-bottom: 4px; }
.rx-notes li .tag.good { background: var(--ok-bg); color: var(--ok); } .rx-notes li .tag.weak { background: var(--risk-bg); color: var(--risk); }
.rx-ev { display: grid; gap: 10px; }
.rx-ev .row { display: grid; grid-template-columns: 160px minmax(0, 1fr) 54px; gap: 14px; align-items: center; font-size: 14px; }
.rx-ev .row b { font-weight: 700; }
.rx-ev .bar { height: 10px; border-radius: 999px; background: var(--paper-deep); overflow: hidden; display: flex; }
.rx-ev .bar i { display: block; height: 100%; }
.rx-ev .bar .p { background: var(--ok); } .rx-ev .bar .l { background: var(--gold); }
.rx-ev .row span { font-family: var(--mono); font-size: 12px; color: var(--mute); text-align: right; }
@media (max-width: 640px) { .rx-ev .row { grid-template-columns: 1fr 54px; } .rx-ev .row .bar { grid-column: 1 / -1; order: 3; } }
.rx-ba { border-radius: var(--r-xl); border: 1px solid var(--rule); background: var(--card); overflow: hidden; }
.rx-ba .hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--rule); background: var(--paper-warm); flex-wrap: wrap; }
.rx-ba ul { list-style: none; margin: 0; padding: 0; }
.rx-ba li { padding: 16px 18px; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.55; display: grid; grid-template-columns: 90px 1fr; gap: 14px; }
.rx-ba li:last-child { border-bottom: 0; }
.rx-ba li .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); padding-top: 4px; }
.rx-ba [data-v="weak"] .strong-v, .rx-ba [data-v="strong"] .weak-v { display: none; }
.rx-ba [data-v="weak"] li { color: var(--mute-2); }
.rx-ba mark { background: #F7E7B8; color: #4A3608; padding: 0 3px; border-radius: 4px; font-weight: 700; }
@media (max-width: 640px) { .rx-ba li { grid-template-columns: 1fr; gap: 4px; } }

/* INTERVIEW family --------------------------------------------------------------------- */
.iq-hero { background: var(--ink); color: var(--paper); border-bottom: 0; position: relative; overflow: hidden; }
.iq-hero::after { content: ""; position: absolute; right: -200px; top: -200px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(106, 76, 147, 0.32), transparent); }
.iq-hero .eyebrow { color: var(--hi); }
.iq-hero .standfirst { color: rgba(251, 250, 247, 0.74); }
.iq-hero .meta, .iq-hero .meta b { color: rgba(251, 250, 247, 0.8); }
.iq-hero .th-crumbs, .iq-hero .th-crumbs a { color: rgba(251, 250, 247, 0.7); }
.iq-deck { position: relative; height: 330px; }
.iq-deck .c { position: absolute; inset: 0 30px 30px 0; border-radius: var(--r-xl); background: var(--card); color: var(--ink); padding: 26px; box-shadow: var(--shadow-lift); display: flex; flex-direction: column; }
.iq-deck .c:nth-child(1) { transform: translate(30px, 30px) rotate(3deg); opacity: 0.5; }
.iq-deck .c:nth-child(2) { transform: translate(15px, 15px) rotate(1.5deg); opacity: 0.75; }
.iq-deck .c .label { color: var(--t-interview); }
.iq-deck .c strong { margin-top: 12px; font-size: 25px; letter-spacing: -0.02em; line-height: 1.22; }
.iq-deck .c .tests { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--mute-2); }
.iq-deck .c .tests b { color: var(--ink); }
@media (max-width: 960px) { .iq-deck { height: 300px; } }
.iq-tools { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.iq-switch { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 14px; background: var(--card); border: 1px solid var(--rule); border-radius: 999px; padding: 6px 8px 6px 16px; min-height: 44px; }
.iq-switch button { border: 0; width: 48px; height: 28px; border-radius: 999px; background: var(--paper-deep); position: relative; transition: background 0.2s; }
.iq-switch button::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.2s var(--ease); }
.iq-switch button[aria-pressed="true"] { background: var(--t-interview); }
.iq-switch button[aria-pressed="true"]::after { transform: translateX(20px); }
.iq-score { font-family: var(--mono); font-size: 12px; color: var(--mute-2); display: flex; gap: 14px; }
.iq-score b { color: var(--ink); }
.iq-list { display: grid; gap: 10px; }
.iq { border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--card); overflow: hidden; }
.iq[hidden] { display: none; }
.iq > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px 20px; }
.iq > summary::-webkit-details-marker { display: none; }
.iq > summary .n { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--t-interview); }
.iq > summary strong { font-size: 17px; letter-spacing: -0.01em; line-height: 1.35; }
.iq > summary .type { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.iq[open] > summary { border-bottom: 1px solid var(--rule); }
.iq .body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0; }
@media (max-width: 760px) { .iq .body { grid-template-columns: 1fr; } .iq > summary { grid-template-columns: 30px 1fr; } .iq > summary .type { grid-column: 2; } }
.iq .intent { padding: 18px 20px; background: var(--paper-warm); border-right: 1px solid var(--rule); }
@media (max-width: 760px) { .iq .intent { border-right: 0; border-bottom: 1px solid var(--rule); } }
.iq .intent p { margin: 6px 0 0; font-size: 15px; color: var(--mute-2); line-height: 1.55; }
.iq .intent .fu { margin-top: 14px; }
.iq .intent .fu ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; color: var(--mute-2); }
.iq .ans { padding: 18px 20px; position: relative; }
.iq .ans ol { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.iq .ans li { display: grid; grid-template-columns: 74px 1fr; gap: 10px; font-size: 15px; line-height: 1.5; }
.iq .ans li b { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--t-interview); padding-top: 3px; }
.iq .reveal { display: none; }
.practice .iq .ans .content { filter: blur(6px); user-select: none; pointer-events: none; transition: filter 0.3s; }
.practice .iq .ans.shown .content { filter: none; user-select: auto; pointer-events: auto; }
.practice .iq .reveal { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; background: rgba(255, 255, 255, 0.4); }
.practice .iq .ans.shown .reveal { display: none; }
.iq .rate { display: none; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.practice .iq .ans.shown .rate { display: flex; }
.iq .rate button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.iq-fw { border-radius: var(--r-xl); border: 1px solid var(--rule); background: var(--card); padding: 22px; }
.iq-fw [data-panel] { margin-top: 16px; }
.iq-fw .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 700px) { .iq-fw .steps { grid-template-columns: 1fr 1fr; } }
.iq-fw .steps div { padding: 14px; border-radius: var(--r); background: var(--paper-warm); }
.iq-fw .steps b { display: block; font-size: 26px; font-weight: 800; color: var(--t-interview); line-height: 1; }
.iq-fw .steps strong { display: block; margin-top: 8px; font-size: 15px; }
.iq-fw .steps span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--mute-2); line-height: 1.45; }

/* CAREER CHANGE family ----------------------------------------------------------------- */
.cc-map { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr); align-items: center; gap: 0; }
@media (max-width: 640px) { .cc-map { grid-template-columns: 1fr; gap: 10px; } }
.cc-node { border-radius: var(--r-xl); padding: 22px; background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow); }
.cc-node.to { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cc-node .label { display: block; }
.cc-node.to .label { color: var(--hi); }
.cc-node strong { display: block; margin-top: 8px; font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; }
.cc-node ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.cc-node li { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--paper-warm); }
.cc-node.to li { background: rgba(251, 250, 247, 0.1); }
.cc-bridge { position: relative; height: 100%; min-height: 120px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.cc-bridge::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--t-career) 0 8px, transparent 8px 14px); }
.cc-bridge span { position: relative; z-index: 1; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; background: var(--paper); padding: 4px 8px; border-radius: 6px; color: var(--t-career); border: 1px solid rgba(140, 63, 46, 0.25); }
@media (max-width: 640px) { .cc-bridge { min-height: 56px; flex-direction: row; } .cc-bridge::before { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--t-career) 0 8px, transparent 8px 14px); } }
.cc-matrix { border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--card); overflow: hidden; }
.cc-matrix .row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) 120px; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--rule); align-items: center; font-size: 14.5px; }
.cc-matrix .row:last-child { border-bottom: 0; }
.cc-matrix .row.h { background: var(--paper-warm); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-2); }
.cc-matrix .row[hidden] { display: none; }
.cc-matrix .row b { font-weight: 700; }
.cc-matrix .row span { color: var(--mute-2); }
.cc-lvl { justify-self: start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.cc-lvl.direct { background: var(--ok-bg); color: var(--ok); } .cc-lvl.adjacent { background: var(--warn-bg); color: var(--warn); } .cc-lvl.gap { background: var(--risk-bg); color: var(--risk); }
@media (max-width: 640px) { .cc-matrix .row { grid-template-columns: 1fr auto; } .cc-matrix .row span { grid-column: 1 / -1; order: 3; } .cc-matrix .row.h span { display: none; } }
.cc-plan { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: cp; }
@media (max-width: 900px) { .cc-plan { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cc-plan { grid-template-columns: 1fr; } }
.cc-plan li { counter-increment: cp; border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--card); padding: 18px; position: relative; }
.cc-plan li::before { content: counter(cp, decimal-leading-zero); font-family: var(--mono); font-size: 11px; color: var(--t-career); font-weight: 700; }
.cc-plan li .when { display: block; margin-top: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.cc-plan li strong { display: block; margin-top: 6px; font-size: 16px; letter-spacing: -0.01em; }
.cc-plan li p { margin: 6px 0 0; font-size: 14px; color: var(--mute-2); line-height: 1.5; }

/* SALARY family ------------------------------------------------------------------------ */
.sal-card { border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow); padding: 26px; }
.sal-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sal-big b { font-size: clamp(40px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.sal-big span { color: var(--mute-2); font-weight: 600; }
.sal-range { margin-top: 26px; }
.sal-range svg { width: 100%; height: 92px; overflow: visible; }
.sal-range .ax { font-family: var(--mono); font-size: 11px; fill: var(--mute); }
.sal-in { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; margin-top: 20px; }
.sal-in label, .sal-f label { display: grid; gap: 6px; font-size: 13px; font-weight: 650; color: var(--mute-2); }
.sal-in input, .sal-f input, .sal-f select { width: 100%; border: 1px solid var(--rule-2); border-radius: 10px; background: var(--paper); padding: 11px 12px; font-size: 15px; font-variant-numeric: tabular-nums; min-height: 44px; }
.sal-in input:focus, .sal-f input:focus, .sal-f select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 153, 47, 0.18); }
.sal-read { margin: 14px 0 0; font-size: 15px; color: var(--mute-2); min-height: 1.5em; }
.sal-read b { color: var(--ink); }
.sal-f { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .sal-f { grid-template-columns: 1fr; } }
.sal-stack { display: flex; height: 18px; border-radius: 999px; overflow: hidden; margin-top: 18px; background: var(--paper-deep); }
.sal-stack i { display: block; height: 100%; transition: width 0.4s var(--ease); }
.sal-stack .base { background: var(--ink); } .sal-stack .bonus { background: var(--gold); } .sal-stack .eq { background: var(--t-ai); }
.sal-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 13px; color: var(--mute-2); font-weight: 600; }
.sal-key i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.sal-total { margin-top: 14px; font-size: 15px; color: var(--mute-2); }
.sal-total b { font-size: 24px; color: var(--ink); letter-spacing: -0.02em; }
.sal-script { margin-top: 16px; border-radius: var(--r-lg); background: var(--ink); color: var(--paper); padding: 20px 22px; font-family: var(--serif); font-size: 17px; line-height: 1.6; white-space: pre-wrap; }
.sal-script mark { background: rgba(245, 227, 179, 0.18); color: var(--hi); padding: 0 3px; border-radius: 3px; }
.sal-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .sal-cmp { grid-template-columns: 1fr; } }
.sal-cmp .o { border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--card); padding: 18px; display: grid; gap: 10px; }
.sal-cmp .o.win { border-color: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); }
.sal-cmp .o .tot { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.sal-cmp .o .tot small { font-size: 13px; color: var(--mute); font-weight: 600; letter-spacing: 0; }
.sal-diff { margin-top: 12px; font-size: 15px; color: var(--mute-2); }
.sal-diff b { color: var(--ink); }

/* ROLE HUB family ---------------------------------------------------------------------- */
.rh-hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
@media (max-width: 960px) { .rh-hero .wrap { grid-template-columns: 1fr; } }
.rh-ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; align-items: end; }
.rh-ladder button { border: 1px solid var(--rule); background: var(--card); border-radius: 14px 14px 6px 6px; padding: 12px 10px; text-align: left; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.rh-ladder button:nth-child(1) { min-height: 90px; } .rh-ladder button:nth-child(2) { min-height: 120px; } .rh-ladder button:nth-child(3) { min-height: 150px; } .rh-ladder button:nth-child(4) { min-height: 180px; } .rh-ladder button:nth-child(5) { min-height: 210px; }
.rh-ladder button b { font-size: 13.5px; line-height: 1.25; }
.rh-ladder button span { font-family: var(--mono); font-size: 10.5px; color: var(--mute); }
.rh-ladder button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rh-ladder button[aria-selected="true"] span { color: var(--hi); }
.rh-level { margin-top: 14px; border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--card); padding: 18px 20px; }
.rh-level[hidden] { display: none; }
.rh-level p { margin: 6px 0 0; font-size: 15px; color: var(--mute-2); }
.rh-level dl { margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rh-level dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.rh-level dd { margin: 2px 0 0; font-weight: 700; font-size: 14.5px; }
@media (max-width: 640px) { .rh-ladder { grid-template-columns: repeat(5, minmax(64px, 1fr)); overflow-x: auto; } .rh-level dl { grid-template-columns: 1fr 1fr; } }
.rh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .rh-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rh-grid { grid-template-columns: 1fr; } }
.rh-tile { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r-xl); border: 1px solid var(--rule); background: var(--card); text-decoration: none; min-height: 190px; position: relative; overflow: hidden; transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s; }
.rh-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--rule-2); }
.rh-tile::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--dot, var(--gold)); }
.rh-tile .label { color: var(--mute); }
.rh-tile strong { font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; }
.rh-tile p { margin: 0; font-size: 14.5px; color: var(--mute-2); line-height: 1.5; }
.rh-tile em { margin-top: auto; font-style: normal; font-weight: 700; font-size: 14px; }
.rh-tile.feature { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rh-tile.feature p { color: rgba(251, 250, 247, 0.72); }
.rh-tile.feature .label { color: var(--hi); }
.rh-skills { display: flex; flex-wrap: wrap; gap: 8px; }
.rh-skills span { border-radius: 999px; border: 1px solid var(--rule); background: var(--card); padding: 7px 13px; font-weight: 650; font-size: 13.5px; }
.rh-skills span.w3 { background: var(--ink); color: var(--paper); border-color: var(--ink); font-size: 15px; }
.rh-skills span.w2 { background: var(--hi-soft); border-color: rgba(201, 153, 47, 0.4); }
.rh-skills span small { font-family: var(--mono); font-size: 10.5px; opacity: 0.7; margin-left: 6px; }

/* polish */
.meta.upd { margin-top: 10px; }
@media (max-width: 640px) { .proto-banner span { display: none; } }
.iq-hero::after { z-index: 0; }
.iq-hero .wrap { z-index: 1; }
.rh-ladder button { background: linear-gradient(to top, var(--paper-warm), var(--card) 70%); }
.rh-ladder button[aria-selected="true"] { background: var(--ink); }.rx-pin { width: 32px; height: 32px; }
.iq-switch button { width: 54px; height: 32px; }
.iq-switch button::after { width: 26px; height: 26px; }
.iq-switch button[aria-pressed="true"]::after { transform: translateX(22px); }