/* Onwards · tools.css — the shared UI of every free tool (loaded on tool pages after site.css).
   Colour means you: the gradient appears only on the visitor's own data (their score, their job title). */

.tl { position: relative; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); scroll-margin-top: 84px; }
.tl-card { position: relative; border-radius: 32px; background: #fff; box-shadow: var(--shadow); }
.tl-lab { display: block; margin: 0 0 8px; font: 500 11px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.tl-link { padding: 0; border: 0; background: none; cursor: pointer; font-size: 15px; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(224, 83, 47, .45); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.tl-link:hover { text-decoration-color: var(--violet); }
.tl textarea, .tl-input textarea, .gate input { width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: #fff; border: 0; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line2); padding: 14px 16px; resize: vertical; transition: box-shadow .2s; }
.tl textarea:focus, .tl-input textarea:focus, .gate input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--violet), 0 0 0 5px rgba(224, 83, 47, .1); }
.tl textarea::placeholder, .tl-input textarea::placeholder, .gate input::placeholder { color: rgba(12, 11, 18, .32); }
.ic { width: 18px; height: 18px; flex: none; }

/* ── Input ── */
.tl-input { padding: clamp(10px, 1.4vw, 14px); }
.tl-drop { position: relative; display: grid; justify-items: center; text-align: center; padding: clamp(36px, 6vh, 64px) 20px clamp(30px, 5vh, 52px); border-radius: 24px; background: radial-gradient(120% 90% at 50% 0%, #FBFAFD 0%, #F3F1F8 100%); box-shadow: inset 0 0 0 1px rgba(12, 11, 18, .05); transition: box-shadow .3s var(--ease), background .3s; }
.tl-drop.over { box-shadow: inset 0 0 0 2px var(--violet), 0 0 0 6px rgba(224, 83, 47, .1); background: radial-gradient(120% 90% at 50% 0%, #fff 0%, #F1EDFB 100%); }
.tl-sheet { position: relative; width: 76px; height: 96px; margin-bottom: 22px; padding: 14px 12px; border-radius: 10px; background: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 34px -16px rgba(48, 28, 14, .35), 0 0 0 1px rgba(12, 11, 18, .05); display: grid; align-content: start; gap: 7px; overflow: hidden; transform: rotate(-4deg); transition: transform .5s var(--ease); }
.tl-drop:hover .tl-sheet, .tl-drop.over .tl-sheet { transform: rotate(0) translateY(-3px); }
.tl-sheet i { display: block; height: 5px; border-radius: 3px; background: rgba(12, 11, 18, .1); }
.tl-sheet i:nth-child(1) { width: 60%; height: 7px; background: rgba(12, 11, 18, .7); }
.tl-sheet i:nth-child(2) { width: 85%; }
.tl-sheet i:nth-child(3) { width: 72%; }
.tl-sheet i:nth-child(4) { width: 90%; }
.tl-sheet i:nth-child(5) { width: 55%; }
.tl-sheet b { position: absolute; left: 0; right: 0; top: -20%; height: 18px; background: linear-gradient(180deg, rgba(224, 83, 47, 0), rgba(224, 83, 47, .28), rgba(224, 83, 47, 0)); opacity: 0; }
.is-busy .tl-sheet b { opacity: 1; animation: scan 1.2s var(--ease) infinite; }
.is-busy .tl-sheet { transform: rotate(0); }
@keyframes scan { from { top: -20%; } to { top: 110%; } }
.tl-drop-h { margin: 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.is-busy .tl-drop-h { color: var(--ink3); }
.tl-drop-s { margin: 8px 0 24px; color: var(--ink2); font-size: 15.5px; }
.tl-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tl-file { position: relative; overflow: hidden; }
.tl-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.tl-file:focus-within { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--violet); }
.is-busy .tl-acts, .is-busy .tl-alt { opacity: .4; pointer-events: none; }
.tl-alt { margin: 20px 0 0; font-size: 15px; color: var(--ink3); }
.tl-paste { padding: clamp(20px, 3vw, 32px); }
.tl-paste .tl-acts { justify-content: flex-start; margin-top: 14px; }
.tl-paste textarea { min-height: 280px; }
.tl-jd { margin: 10px 0 0; padding: 4px clamp(12px, 2vw, 20px); }
.tl-jd-t { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; width: 100%; padding: 14px 0; border: 0; background: none; cursor: pointer; text-align: left; font-size: 16px; font-weight: 500; color: var(--ink); }
.tl-jd-n { font-weight: 400; font-size: 14.5px; color: var(--ink3); }
.tl-plus { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line2); flex: none; }
.tl-plus::before, .tl-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; margin: -.8px 0 0 -5px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.tl-plus::after { transform: rotate(90deg); }
.tl-jd-t.open .tl-plus::after { transform: rotate(0); }
.tl-jd textarea { margin: 2px 0 12px; }
.tl-priv { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 0 4px; padding: 10px 12px 8px; font-size: 13.5px; color: var(--ink3); text-align: center; }
.tl-priv svg { width: 15px; height: 15px; flex: none; }
.tl-err { margin: 4px 12px 12px; padding: 12px 16px; border-radius: 14px; background: rgba(194, 69, 42, .07); color: #8E2F1D; font-size: 15px; text-align: center; }
.tl-noscript { padding: 20px; text-align: center; color: var(--ink2); }
.tl-fail { display: grid; justify-items: start; gap: 14px; padding: 26px 28px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-s); }
.tl-fail p { margin: 0; font-size: 16.5px; color: var(--ink2); }

/* ── Result ── */
.tl-out:empty { display: none; }
.rp { display: grid; gap: 18px; scroll-margin-top: 84px; }
.tl-out { scroll-margin-top: 84px; }
.rp-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 32px; background: #fff; box-shadow: var(--shadow); animation: rise .7s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ring { position: relative; width: clamp(150px, 16vw, 196px); aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; overflow: visible; }
.ring-arc { transition: stroke-dashoffset 1.2s var(--ease); filter: drop-shadow(0 6px 14px rgba(224, 83, 47, .28)); }
.ring-n { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.ring-n b { font-size: clamp(48px, 5.4vw, 66px); font-weight: 600; letter-spacing: -.06em; font-variant-numeric: tabular-nums; padding: 0 .04em .06em; }
.ring-n span { margin-top: 2px; font: 500 12px/1 var(--mono); letter-spacing: .1em; color: var(--ink3); }
.you { background: var(--gradt); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.rp-file { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; color: var(--ink3); min-width: 0; }
.rp-file span:first-of-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-file .ic { width: 16px; height: 16px; }
.rp-eg { flex: none; padding: 3px 8px; border-radius: 999px; background: var(--wash); font: 500 10.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); }
.rp-h { margin: 0; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.04; font-weight: 600; letter-spacing: -.045em; }
.rp-h .b { display: block; color: var(--mute); }
.top { margin: 22px 0 0; padding: 16px 18px; border-radius: 18px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); max-width: 640px; }
.top-k { margin: 0 0 4px; font: 500 10.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bad); }
.top-t { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink2); }
.top-t b { color: var(--ink); font-weight: 600; }
.rp-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.rp-acts .btn { height: 40px; font-size: 14.5px; }

/* What the software sees */
.xr { padding: clamp(22px, 3.4vw, 40px); border-radius: 32px; background: #fff; box-shadow: var(--shadow); animation: rise .7s .08s var(--ease) both; }
.xr-head h3, .ck-head h3, .rep-s h3 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; font-weight: 600; letter-spacing: -.035em; }
.xr-head p, .ck-head p { margin: 6px 0 0; font-size: 15px; color: var(--ink2); max-width: 46em; }
.xr-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 14px; margin-top: 22px; }
.xr-card { min-width: 0; border-radius: 22px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.xr-text { display: flex; flex-direction: column; overflow: hidden; }
.xr-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .6); }
.xr-dots { display: flex; gap: 6px; }
.xr-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(12, 11, 18, .13); }
.xr-fn { font: 500 12px/1.2 var(--mono); color: var(--ink3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xr-lines { counter-reset: ln; list-style: none; margin: 0; padding: 12px 0; max-height: 560px; overflow: auto; font: 400 12.5px/1.65 var(--mono); color: rgba(12, 11, 18, .84); overscroll-behavior: contain; }
.xr-lines li { counter-increment: ln; position: relative; padding: 1px 16px 1px 50px; white-space: pre-wrap; word-break: break-word; }
.xr-lines li::before { content: counter(ln); position: absolute; left: 0; width: 36px; text-align: right; color: rgba(12, 11, 18, .26); font-size: 11px; }
.xr-lines li[class]::after { content: ""; position: absolute; left: 42px; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; }
.f-col { background: rgba(224, 83, 47, .08); } .f-col::after { background: #E0532F; }
.f-mixed { background: rgba(240, 96, 63, .08); } .f-mixed::after { background: #F0603F; }
.f-aside { background: rgba(180, 101, 10, .09); } .f-aside::after { background: #D98A1F; }
.f-table { background: rgba(184, 67, 44, .07); } .f-table::after { background: #B8432C; }
.f-symbol { background: rgba(194, 69, 42, .08); } .f-symbol::after { background: var(--bad); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 12px 16px 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink2); }
.lg { display: inline-flex; align-items: center; gap: 7px; background: none !important; }
.lg i { width: 10px; height: 10px; border-radius: 3px; }
.lg.f-col i { background: #E0532F; } .lg.f-mixed i { background: #F0603F; } .lg.f-aside i { background: #D98A1F; } .lg.f-table i { background: #B8432C; } .lg.f-symbol i { background: var(--bad); }
.lg::after { display: none; }
.xr-empty { display: grid; justify-items: center; gap: 18px; padding: 40px 28px; text-align: center; }
.xr-empty p { margin: 0; max-width: 30em; font-size: 15px; color: var(--ink2); }
.xr-empty b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.xr-blank { width: 84px; height: 108px; border-radius: 8px; background: #fff; box-shadow: 0 16px 30px -16px rgba(48, 28, 14, .3), 0 0 0 1px rgba(12, 11, 18, .06); }
.xr-fields { padding: 18px 20px 20px; }
.xr-fields h4 { margin: 18px 0 10px; font: 500 10.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.xr-fields h4:first-child { margin-top: 2px; }
.fds { display: grid; gap: 0; margin: 0; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.fd { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.fd:last-child { border-bottom: 0; }
.fd dt { color: var(--ink3); }
.fd dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.miss { display: inline-flex; align-items: flex-start; gap: 6px; color: var(--bad); font-weight: 400; }
.miss .ic { width: 15px; height: 15px; margin-top: 3px; }
.miss-p { margin: 0; font-size: 14.5px; color: var(--bad); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 9px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 500; line-height: 1.2; }
.chip .ic { width: 14px; height: 14px; color: var(--ok); }
.chip-odd .ic, .chip-odd { color: var(--warn); }
.chip-ok .ic { color: var(--ok); }
.chip-miss { color: var(--ink); }
.chip-miss .ic { color: var(--bad); }
.roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.roles li { display: grid; gap: 1px; padding: 11px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 14px; }
.roles b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.rl-co { color: var(--ink2); }
.rl-d { font: 400 12.5px/1.5 var(--mono); color: var(--ink3); }
.rl-d.miss { font-family: var(--font); font-size: 13.5px; }
.sk { margin: 0; font-size: 14px; color: var(--ink2); }

/* The checks */
.ck { padding: clamp(22px, 3.4vw, 40px); border-radius: 32px; background: #fff; box-shadow: var(--shadow); animation: rise .7s .14s var(--ease) both; }
.ck-g { margin-top: 26px; }
.ck-g h4 { margin: 0 0 6px; font: 500 10.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.ck-g ul { list-style: none; margin: 0; padding: 0; }
.ck-r { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ck-r:last-child { border-bottom: 0; }
.ck-t { display: grid; gap: 2px; }
.ck-t b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.ck-t span { font-size: 15px; line-height: 1.5; color: var(--ink2); }
.ck-t .tl-link { justify-self: start; margin-top: 4px; font-size: 14.5px; }
.ck-p { font: 500 13px/1.6 var(--mono); color: var(--ink3); padding-top: 1px; font-variant-numeric: tabular-nums; }
.ck-na .ck-t b { color: var(--ink2); }
.st { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; margin-top: -1px; }
.st .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.st-pass { background: var(--ok); color: #fff; }
.st-warn { background: rgba(180, 101, 10, .13); color: var(--warn); }
.st-fail { background: rgba(194, 69, 42, .1); color: var(--bad); }
.st-na { background: var(--wash); color: var(--ink3); }
.kw { margin-top: 18px; padding: 18px 20px; border-radius: 22px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.kw-k { margin: 0 0 12px; font: 500 10.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.ck .kw { margin-top: 22px; }
.jd-box { padding: 22px clamp(22px, 3.4vw, 40px) 26px; border-radius: 28px; background: #fff; box-shadow: var(--shadow-s); }

/* ── The gate ── */
.gate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(26px, 4.4vw, 52px); border-radius: 32px; background: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden; animation: rise .7s .2s var(--ease) both; }
.gate::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 0% 0%, rgba(255, 180, 135, .08), transparent 60%); pointer-events: none; }
.gate > * { position: relative; }
.gate-k { margin: 0 0 12px; font: 500 11px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.gate-h { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; font-weight: 600; letter-spacing: -.045em; }
.gate-pts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; }
.gate-pts li { display: flex; gap: 11px; align-items: flex-start; font-size: 16px; line-height: 1.45; color: var(--ink2); }
.gate-pts .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--ink); color: #fff; stroke-width: 2.8; margin-top: 1px; }
.gate-f { display: grid; gap: 8px; }
.gate-l { margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.gate-l span { font-weight: 400; color: var(--ink3); margin-left: 4px; }
.gate input { height: 50px; padding: 0 16px; }
.gate-f .btn { margin-top: 12px; height: 52px; width: 100%; font-size: 16px; }
.gate-f .btn .ic { width: 17px; height: 17px; }
.gate-err { margin: 4px 0 0; color: #8E2F1D; font-size: 14.5px; }
.gate-fine { margin: 10px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--ink3); }
.gate-fine a { color: var(--ink2); }
.gate-who { margin: 0; font-size: 15px; color: var(--ink2); overflow-wrap: anywhere; }
.gate-who b { color: var(--ink); font-weight: 500; }
.gate-google { display: grid; justify-items: center; gap: 12px; margin-bottom: 4px; }
.gate-or { margin: 0; font-size: 13px; color: var(--ink3); }
.hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

/* Waiting for the report */
.wait { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 44px 24px; border-radius: 32px; background: #fff; box-shadow: var(--shadow); font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.wait-dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.wait-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(224, 83, 47, .5); animation: pulse 1.4s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.wait-line.in { animation: rise .5s var(--ease) both; }

/* ── The full report ── */
.rep { display: grid; gap: 18px; }
.rep-top, .rep-s { padding: clamp(24px, 3.6vw, 44px); border-radius: 32px; background: #fff; box-shadow: var(--shadow); animation: rise .7s var(--ease) both; }
.rep-sum { margin: 0; max-width: 34em; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; font-weight: 500; letter-spacing: -.02em; color: var(--ink); text-wrap: pretty; }
.rep-s h3 { margin-bottom: 18px; }
.rep-note { margin: -8px 0 18px; font-size: 15px; color: var(--ink2); }
.fixes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.fixes li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.fixes li:first-child { border-top: 0; padding-top: 4px; }
.fx-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 500 13px/1 var(--mono); }
.fx-t { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 3px 0 6px; }
.fx-t b { font-size: 17.5px; font-weight: 600; letter-spacing: -.015em; }
.fx-d { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink2); max-width: 46em; }
.imp { padding: 3px 9px; border-radius: 999px; font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.imp-high { background: rgba(194, 69, 42, .09); color: var(--bad); }
.imp-medium { background: rgba(180, 101, 10, .11); color: var(--warn); }
.imp-low { background: var(--wash); color: var(--ink2); }
.cbc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cbc-i { padding: 18px 20px; border-radius: 22px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.cbc-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cbc-h b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.cbc-i p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; color: var(--ink2); }
.cbc-i p:last-child { margin: 0; }
.cbc-fix { color: var(--ink) !important; }
.cbc-fix span { display: block; margin-bottom: 2px; font: 500 10.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ok); }
.rws { display: grid; gap: 18px; }
.rw .compare { margin: 0; }
.rw-why { margin: 8px 4px 0; font-size: 14.5px; color: var(--ink3); }
mark.ph { padding: 0 .3em; border-radius: 6px; background: rgba(224, 83, 47, .12); color: #B8432C; font-weight: 500; }
.kws { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.kws li { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); align-items: start; }
.kws li:first-child { border-top: 0; padding-top: 2px; }
.kws .chip { justify-self: start; }
.kws-w { margin: 0 0 2px; font-weight: 500; font-size: 15.5px; }
.kws-h { margin: 0; font-size: 15px; color: var(--ink2); }
.rep .cta { margin: 6px 0 0; max-width: none; }

/* Short windows: keep the tool's first screen in view */
@media (min-width: 761px) and (max-height: 700px) {
  .pg-hero-tool { padding-top: 32px; padding-bottom: 22px; }
  .pg-hero-tool h1 { font-size: clamp(36px, 4.6vw, 60px); }
  .pg-hero-tool .pg-lede { margin-top: 16px; font-size: 17px; }
  .tl-drop { padding: 28px 20px 26px; }
  .tl-sheet { width: 60px; height: 76px; margin-bottom: 14px; padding: 11px 10px; gap: 5px; }
}

/* Tablets and phones */
@media (max-width: 900px) {
  .xr-grid { grid-template-columns: 1fr; }
  .xr-lines { max-height: 420px; }
  .gate { grid-template-columns: 1fr; }
  .cbc { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tl-card, .rp-head, .xr, .ck, .gate, .rep-top, .rep-s, .wait { border-radius: 26px; }
  .tl-input { padding: 8px; }
  .tl-drop { border-radius: 20px; padding: 32px 16px 28px; }
  .tl-acts .btn { flex: 1 1 100%; }
  .rp-head { grid-template-columns: 1fr; justify-items: start; }
  .ring { width: 140px; }
  .xr, .ck { padding: 20px 16px; }
  .xr-lines li { padding-left: 40px; padding-right: 12px; }
  .xr-lines li::before { width: 28px; }
  .xr-lines li[class]::after { left: 33px; }
  .fd { grid-template-columns: 72px minmax(0, 1fr); }
  .ck-r { gap: 12px; }
  .kws li { grid-template-columns: 1fr; gap: 8px; }
  .gate { padding: 24px 18px; }
}

/* ── The first screen: headline beside the input card on wide screens ── */
.tl-app { position: relative; }
.pg-copy { min-width: 0; }
.tl-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; color: var(--ink2); }
.tl-points li { display: flex; align-items: center; gap: 11px; }
.tl-points li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #0C0B12 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pg-hero-tool .tl-input { margin-top: 32px; }
@media (min-width: 960px) {
  .tl-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(32px, 5vw, 80px); align-items: center; }
  .pg-hero-tool .tl-input { margin-top: 0; }
  .pg-hero-tool h1 { font-size: clamp(42px, 4.7vw, 72px); }
  .pg-hero-tool .aura { inset: -140px -6% -80px 36%; }
}
.tl-app.has-out .tl-stage { display: block; }
.tl-app.has-out .pg-hero-tool { padding-bottom: 24px; }
.tl-app.has-out .tl-points { display: none; }
.tl { margin-bottom: clamp(40px, 8vh, 96px); }
.tl-drop-s { text-wrap: balance; }

/* ── Score head: the groups, as bars of their own points ── */
.rp-head { grid-template-columns: auto minmax(0, 1fr) minmax(220px, 290px); }
.rp-groups { display: grid; gap: 16px; align-self: center; padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--line); }
.gp { display: grid; gap: 7px; }
.gp p { display: flex; justify-content: space-between; gap: 10px; margin: 0; font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.gp p span { font: 500 12px/1.3 var(--mono); color: var(--ink3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gp-bar { height: 6px; border-radius: 6px; background: rgba(12, 11, 18, .07); overflow: hidden; }
.gp-bar i { display: block; height: 100%; border-radius: 6px; background: var(--gradt) no-repeat; background-size: calc(100% * 100 / var(--w, 100)) 100%; /* the gradient spans the whole track, so a part-filled bar shows its start */ transform-origin: 0 50%; animation: grow 1.1s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.rp-acts .btn:not(.ghost) .ic { width: 16px; height: 16px; }
.st-warn .ic { stroke-width: 3.2; width: 15px; height: 15px; }
@media (max-width: 1100px) {
  .rp-head { grid-template-columns: auto minmax(0, 1fr); }
  .rp-groups { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 24px; padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) { .rp-groups { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .rp-head { grid-template-columns: 1fr; }
  .ring { width: 132px; }
}

/* Privacy line: aligned with the job description row */
.tl-priv { justify-content: flex-start; text-align: left; padding: 6px clamp(12px, 2vw, 20px) 10px; align-items: flex-start; }
.tl-priv svg { margin-top: 2px; }
@media (min-width: 960px) and (max-width: 1240px) { .pg-hero-tool h1 { font-size: clamp(38px, 4.1vw, 56px); } }
@media (min-width: 761px) and (max-height: 700px) {
  .tl-drop { padding: 20px 18px 18px; }
  .tl-sheet { width: 50px; height: 62px; margin-bottom: 10px; padding: 9px 8px; gap: 4px; }
  .tl-sheet i { height: 4px; } .tl-sheet i:nth-child(1) { height: 5px; }
  .tl-drop-h { font-size: 24px; }
  .tl-drop-s { margin: 4px 0 14px; }
  .tl-alt { margin-top: 12px; }
  .tl-jd-t { padding: 10px 0; }
  .pg-hero-tool .tl-points { margin-top: 18px; gap: 7px; }
}
@media (max-width: 640px) { .rep-sum { font-size: 18.5px; line-height: 1.45; } .tl-fail { padding: 22px 18px; } }
.rp-h { text-wrap: balance; }
@media (max-width: 640px) { .rp-groups { justify-self: stretch; } }

/* ── Pattern: forms (writers and calculators) ── */
.tl-form { padding: clamp(20px, 2.6vw, 30px); }
.tf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 14px; }
.tf { display: grid; gap: 7px; align-content: start; min-width: 0; }
.tf-wide { grid-column: 1 / -1; }
.tf-l { font-size: 14px; font-weight: 500; color: var(--ink); }
.tf-l i { font-style: normal; font-weight: 400; color: var(--ink3); margin-left: 3px; }
.tf-h { font-size: 13px; color: var(--ink3); }
.tl-form input:not([type="checkbox"]):not([type="file"]), .tl-form select, .tl-form textarea { width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: #fff; border: 0; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line2); padding: 0 14px; height: 48px; transition: box-shadow .2s; }
.tl-form textarea { height: auto; padding: 12px 14px; resize: vertical; }
.tl-form select { appearance: none; -webkit-appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C0B12' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; }
.tl-form input:focus, .tl-form select:focus, .tl-form textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--violet), 0 0 0 5px rgba(224, 83, 47, .1); }
.tf-money { position: relative; display: block; }
.tf-money i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--ink3); pointer-events: none; }
.tl-form .tf-money input:not([type="checkbox"]):not([type="file"]) { padding-left: 28px; font-variant-numeric: tabular-nums; }
.tf-res { display: grid; gap: 8px; }
.tf-res .tf-l { margin: 0; }
.tf-saved { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; cursor: pointer; }
.tf-saved input { width: 18px; height: 18px; accent-color: #0C0B12; }
.tf-up { display: inline-block; margin-top: 6px; font-size: 14px; cursor: pointer; }
.tf-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }
.tf-note { font-size: 13.5px; color: var(--ink3); }
.tl-form .tl-err { margin: 14px 0 0; text-align: left; }
@media (max-width: 640px) { .tf-grid { grid-template-columns: 1fr; } .tf-acts .btn { width: 100%; } }

/* ── Pattern: writer result ── */
.wr { display: grid; gap: 18px; }
.wr-card { padding: clamp(20px, 3vw, 36px); border-radius: 32px; background: #fff; box-shadow: var(--shadow); animation: rise .7s var(--ease) both; }
.wr-bar { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 16px; }
.wr-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.wr-chip { cursor: pointer; border: 0; font: inherit; font-size: 13.5px; font-weight: 500; color: var(--ink2); }
.wr-chip.on { background: #0C0B12; color: #fff; box-shadow: none; }
.wr-text { display: block; width: 100%; padding: 20px 22px; border: 0; border-radius: 20px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font: 400 16.5px/1.65 var(--font); color: var(--ink); resize: vertical; }
.wr-text:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--violet); background: #fff; }
.wr-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.wr-ok { font-size: 14px; color: var(--ok); }
.wr-notes { margin: 18px 0 0; padding: 16px 18px 16px 36px; border-radius: 18px; background: var(--bg); font-size: 15px; line-height: 1.55; color: var(--ink2); }
.wr-notes li { margin: 4px 0; }

/* ── Pattern: calculator result ── */
.calc-sum, .calc-more { display: grid; gap: 18px; }
.calc-card { padding: clamp(24px, 3.6vw, 44px); border-radius: 32px; background: #fff; box-shadow: var(--shadow); animation: rise .6s var(--ease) both; }
.calc-k { margin: 0 0 10px; font: 500 11px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.calc-big { margin: 0; font-size: clamp(48px, 7vw, 92px); line-height: 1; font-weight: 600; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.calc-line { margin: 14px 0 0; max-width: 36em; font-size: 17px; line-height: 1.55; color: var(--ink2); }
.calc-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 24px; }
.calc-figs div { padding: 16px 18px; border-radius: 18px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.calc-figs b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc-figs span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink2); }
.calc-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 15px; }
.calc-table th { text-align: left; padding: 10px 12px; font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); border-bottom: 1px solid var(--line); }
.calc-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.calc-src { margin: 16px 0 0; font-size: 13px; color: var(--ink3); }
.wr .cta, .calc-more .cta { margin: 0; max-width: none; }
.tl-jd-t[data-fixed] { cursor: text; }
.tl-jd-t[data-fixed] .tl-plus { display: none; }

/* The score head on phones: the summary column may shrink, so a long filename never widens the cards */
.rp-head > .rp-sum { min-width: 0; justify-self: stretch; }
/* Grid items default to min-width: auto, so a wide table or a long link could push a card past the screen edge */
.rp > *, .rep > *, .wr > *, .calc-sum > *, .calc-more > * { min-width: 0; }
.gate-lede { margin: 14px 0 0; max-width: 30em; font-size: 16.5px; line-height: 1.55; color: var(--ink2); }
