/* KZMT brand, same as the other KZMT apps (kzmth.com): signal red on near-black,
   yellow only as a small accent, Bebas Neue headings, Inter text. Always dark. */
@font-face { font-family: "Bebas Neue"; src: url(fonts/BebasNeue-Regular.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/Inter.ttf) format("truetype"); font-weight: 100 900; font-display: swap; }
:root {
  color-scheme: dark;
  --brand: #c8102e; --brand-dark: #a00c25; --gold: #ffcc00;
  --bg: #0b0b0c; --card: #151517; --ink: #f2f2f4; --muted: #9a9aa3; --line: #2a2a2f;
  --accent: #c8102e; --accent-ink: #ffffff;
  --good: #1f9d6b; --warn: #e08a00; --bad: #e5484d; --info: #3d7bd9;
  --chip: #1c1c1f; --sel: rgba(200, 16, 46, 0.16); --link: #ff6b81;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 8px 24px rgba(0,0,0,.45);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.5 Inter, system-ui, sans-serif; }
h1, h2, h3, .timer, .stat b { font-family: "Bebas Neue", Inter, sans-serif; font-weight: 400; letter-spacing: .03em; }
header.top { background: #000; color: #fff; padding: 12px 16px; display: flex; align-items: center; gap: 12px; position: relative; overflow: hidden; border-bottom: 3px solid var(--brand); }
header.top::before { content: ""; position: absolute; inset: 0 0 auto auto; width: 420px; height: 100%;
  background: linear-gradient(115deg, transparent 55%, rgba(200,16,46,.22) 55%, rgba(200,16,46,.22) 62%, transparent 62%); pointer-events: none; }
header.top > * { position: relative; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.logo-img { height: 48px; width: auto; display: block; }
@media (max-width: 560px) { .logo-img { height: 38px; } }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt b { font-family: "Bebas Neue", sans-serif; font-size: 22px; font-weight: 400; letter-spacing: .04em; }
.brand-txt small { color: #9a9aa3; font-size: 11px; }
header.top .sp { flex: 1; }
main { max-width: 760px; margin: 0 auto; padding: 16px; }
.card { background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 16px; padding: 20px; margin-bottom: 16px; }
h1 { font-size: 2rem; margin: 0 0 8px; } h2 { font-size: 1.6rem; margin: 0 0 12px; } h3 { font-size: 1.25rem; margin: 16px 0 8px; }
a { color: var(--link); }
p { margin: 0 0 12px; } .muted { color: var(--muted); } .small { font-size: .875rem; }
button, .btn { font: inherit; border: 0; border-radius: 10px; padding: 12px 18px; cursor: pointer; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; display: inline-block; }
button:disabled { opacity: .45; cursor: not-allowed; }
button:not(:disabled):hover, .btn:hover { filter: brightness(1.1); }
button.ghost, .btn.ghost { background: transparent; color: inherit; border: 1px solid var(--line); font-weight: 600; }
button.danger { background: var(--bad); color: #fff; }
button.block { width: 100%; }
label { display: block; font-weight: 600; margin: 12px 0 4px; }
input, select, textarea { font: inherit; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); }
textarea { min-height: 160px; resize: vertical; }
.row { display: flex; gap: 12px; flex-wrap: wrap; } .row > * { flex: 1 1 200px; }
.err { color: var(--bad); font-weight: 600; margin-top: 8px; }
.roles { display: grid; gap: 10px; }
.roles button { text-align: left; background: var(--chip); color: var(--ink); font-weight: 600; padding: 16px; }
.roles button:hover { outline: 2px solid var(--accent); }
ul.rules { padding-left: 20px; margin: 0 0 12px; } ul.rules li { margin-bottom: 6px; }
.lang { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); padding: 6px 10px; font-weight: 600; }

/* test */
.qhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.timer { font-variant-numeric: tabular-nums; font-size: 1.8rem; line-height: 1; color: var(--gold); }
/* question header: section chip, per-section strip, countdown ring */
.qcard .qhead { align-items: flex-start; margin-bottom: 14px; }
.qmeta { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.secchip { align-self: flex-start; background: var(--sel); color: #ff8a9b; border: 1px solid rgba(200,16,46,.35); border-radius: 999px; padding: 3px 12px; font-size: .8rem; font-weight: 700; }
.strip { display: flex; gap: 4px; max-width: 360px; }
.strip i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.strip i.done { background: var(--good); } .strip i.on { background: var(--brand); }
.ring { position: relative; width: 64px; height: 64px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4; }
.ring .rbg { stroke: #2a2a2f; }
.ring .rfg { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset .5s linear, stroke .3s; }
.ring .timer { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.15rem; }
.ring.low .rfg { stroke: var(--bad); }
.ring.low .timer { color: var(--bad); }
.ring.low { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.07); } }
.qcard .qtext { font-size: 1.2rem; line-height: 1.45; }
.anim-in { animation: cardIn .35s cubic-bezier(.2,.8,.2,1) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.99); } to { opacity: 1; transform: none; } }
/* section intro + finish */
.secicon { font-size: 3.2rem; line-height: 1; margin-bottom: 10px; animation: pop .5s cubic-bezier(.3,1.6,.6,1) both .1s; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
.donecard .big { font-size: 4rem; animation: pop .6s cubic-bezier(.3,1.6,.6,1) both; }
.donestats { font-family: "Bebas Neue", Inter, sans-serif; font-size: 1.5rem; color: var(--gold); letter-spacing: .03em; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation-name: fall; animation-timing-function: cubic-bezier(.3,.6,.6,1); animation-fill-mode: forwards; }
@keyframes fall { to { top: 105%; transform: translateX(40px) rotate(720deg); opacity: .8; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.timer.low { color: var(--bad); }
.bar { height: 6px; background: var(--chip); border-radius: 3px; overflow: hidden; margin-bottom: 16px; }
.bar > div { height: 100%; background: var(--accent); transition: width 1s linear; }
.progress { height: 4px; background: var(--chip); }
.progress > div { height: 100%; background: var(--good); }
.qtext { font-size: 1.1rem; font-weight: 600; margin-bottom: 16px; user-select: none; -webkit-user-select: none; }
.opts { display: grid; gap: 10px; }
.opt { text-align: left; background: var(--chip); color: var(--ink); font-weight: 500; border: 2px solid transparent; user-select: none;
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; transition: transform .12s ease, border-color .15s, background .15s; animation: optIn .3s ease both; animation-delay: var(--d, 0ms); }
.opt:hover { border-color: #3a3a40; transform: translateX(3px); }
.opt:active { transform: scale(.98); }
.opt .badge { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #2a2a2f; color: var(--muted); font-weight: 800; font-size: .9rem; transition: background .15s, color .15s; }
.opt .otext { flex: 1; }
.opt .tick { flex: none; opacity: 0; transform: scale(.5); color: var(--brand); font-weight: 900; transition: opacity .15s, transform .2s cubic-bezier(.3,1.6,.6,1); }
.opt.on { border-color: var(--brand); background: var(--sel); box-shadow: 0 0 0 4px rgba(200,16,46,.12); }
.opt.on .badge { background: var(--brand); color: #fff; }
.opt.on .tick { opacity: 1; transform: scale(1); }
.opts.yn { grid-template-columns: 1fr 1fr; }
.opts.yn .opt { flex-direction: column; justify-content: center; text-align: center; padding: 22px 12px; font-size: 1.05rem; font-weight: 700; }
.opts.yn .opt .badge { width: 46px; height: 46px; border-radius: 50%; font-size: 1.4rem; }
.opts.yn .opt:first-child.on .badge { background: var(--good); }
.opts.yn .opt:first-child.on { border-color: var(--good); background: rgba(31,157,107,.14); box-shadow: 0 0 0 4px rgba(31,157,107,.12); }
.opts.yn .opt .tick { display: none; }
.opts.scale { grid-template-columns: repeat(4, 1fr); }
.opts.scale .opt { flex-direction: column; text-align: center; padding: 14px 8px; font-size: .9rem; }
.opts.scale .opt .tick { display: none; }
@media (max-width: 520px) { .opts.scale { grid-template-columns: 1fr 1fr; } }
.keyhint { color: var(--muted); font-size: .78rem; margin: 10px 0 0; text-align: center; }
@keyframes optIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fam { width: 100%; border-collapse: collapse; font-size: .9rem; }
.fam th, .fam td { border-bottom: 1px solid var(--line); padding: 8px 4px; text-align: center; }
.fam td:first-child, .fam th:first-child { text-align: left; font-weight: 600; }
.fam input { width: 20px; height: 20px; }
.famcards { display: none; }
@media (max-width: 560px) {
  .fam { display: none; }
  .famcards { display: grid; gap: 12px; }
  .famcards .it { background: var(--chip); border-radius: 10px; padding: 10px; }
  .famcards .it b { display: block; margin-bottom: 6px; }
  .famcards .ch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .famcards .ch button { padding: 8px; font-size: .85rem; background: var(--card); color: var(--ink); font-weight: 500; border: 2px solid var(--line); }
  .famcards .ch button.on { border-color: var(--accent); background: var(--sel); }
}
.count { font-size: .85rem; color: var(--muted); text-align: right; }
.warnbox { background: var(--sel); border-left: 4px solid var(--accent); padding: 10px 12px; border-radius: 6px; margin-bottom: 12px; font-size: .95rem; }
.center { text-align: center; }
.big { font-size: 3rem; }

/* landing page */
main:has(.hero) { max-width: 920px; }
.hero { position: relative; overflow: hidden; border-radius: 20px; padding: 36px 28px 28px; margin-bottom: 28px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(200,16,46,.35) 0%, rgba(200,16,46,0) 55%), linear-gradient(180deg, #17171a, #0f0f11);
  border: 1px solid #2a2a2f; box-shadow: var(--shadow); }
.hero::before { content: ""; position: absolute; right: -60px; top: 0; width: 360px; height: 100%; pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 34px, rgba(200,16,46,.20) 34px 52px); mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
/* the real KZMT logo (white-text version of the official logo): shown on wide screens */
.hero::after { content: ""; position: absolute; right: 28px; top: 50%; width: 300px; height: 184px; transform: translateY(-50%);
  background: url(brand/kzmt-logo-white-lg.png) center / contain no-repeat; pointer-events: none; filter: drop-shadow(0 6px 24px rgba(0,0,0,.5)); }
@media (max-width: 760px) { .hero::after { display: none; } }   /* the header already shows the logo on phones */
.hero > * { position: relative; }
.heroh { font-size: clamp(3.3rem, 13vw, 4.8rem); line-height: .95; margin: 4px 0 14px; letter-spacing: .02em; }
.heroh span { color: var(--brand); text-shadow: 0 0 30px rgba(200,16,46,.45); }
.herosub { max-width: 500px; color: #c9c9cf; font-size: 1.05rem; }
.herostats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.herostats div { background: rgba(255,255,255,.04); border: 1px solid #2f2f35; border-radius: 12px; padding: 10px 16px; min-width: 104px; }
.herostats b { display: block; font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: 2rem; line-height: 1; color: var(--gold); }
.herostats span { font-size: .8rem; color: var(--muted); }
.sech { font-size: 1.7rem; margin: 26px 0 12px; display: flex; align-items: center; gap: 12px; }
.sech::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--brand), transparent); }
.about { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.about h3 { font-size: 1.3rem; margin: 18px 0 10px; color: #fff; }
.aboutp { font-size: 1.05rem; color: #d6d6db; margin: 0; max-width: 720px; }
.what { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.wtile { background: linear-gradient(160deg, #1d1d21, #161618); border: 1px solid #2a2a2f; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 4px; transition: border-color .18s, transform .18s; }
.wtile:hover { border-color: rgba(200,16,46,.6); transform: translateY(-2px); }
.wtile .wic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 6px; color: var(--brand); background: rgba(200,16,46,.12); border: 1px solid rgba(200,16,46,.3); transition: background .18s, color .18s; }
.wtile .wic svg { width: 21px; height: 21px; }
.wtile:hover .wic { background: var(--brand); color: #fff; }
.wtile b { font-size: .98rem; } .wtile small { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.flow span { background: rgba(200,16,46,.12); border: 1px solid rgba(200,16,46,.35); color: #ffd0d7; border-radius: 999px; padding: 5px 12px; font-size: .85rem; font-weight: 600; }
.flow i { color: var(--brand); font-style: normal; font-weight: 800; }
.about2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 640px) { .about2 { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.addr { margin: 18px 0 0; color: var(--muted); font-size: .9rem; }
.jobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.job { display: flex; align-items: center; gap: 16px; text-align: left; padding: 18px; border-radius: 16px; color: var(--ink); font-weight: 400;
  background: linear-gradient(160deg, #1b1b1f, #141416); border: 1px solid #2a2a2f; position: relative; overflow: hidden;
  transition: transform .18s ease, border-color .18s, box-shadow .18s; animation: optIn .4s ease both; animation-delay: var(--d, 0ms); }
.job::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand); transform: scaleY(0); transition: transform .2s; }
.job:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 12px 30px rgba(200,16,46,.18); filter: none; }
.job:hover::before { transform: scaleY(1); }
.jicon { flex: none; width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; font-size: 1.9rem; background: rgba(200,16,46,.14); border: 1px solid rgba(200,16,46,.35); }
.jbody { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.jbody b { font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: 1.45rem; letter-spacing: .03em; line-height: 1.05; }
.jtag { color: var(--muted); font-size: .9rem; line-height: 1.35; }
.jmeta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.chip { font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #232327; border: 1px solid #333339; color: #d8d8dd; }
.chip.money { color: var(--gold); border-color: rgba(255,204,0,.35); background: rgba(255,204,0,.08); }
.jgo { flex: none; font-weight: 800; color: var(--brand); font-size: .9rem; white-space: nowrap; }
.jgo i { display: inline-block; font-style: normal; transition: transform .18s; }
.job:hover .jgo i { transform: translateX(5px); }
@media (max-width: 480px) { .jgo { display: none; } .job { padding: 14px; } .hero { padding: 28px 18px 22px; } }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.snum { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: "Bebas Neue", sans-serif; font-size: 1.3rem; margin-bottom: 6px; box-shadow: 0 0 0 5px rgba(200,16,46,.15); }
.step span:last-child { color: var(--muted); font-size: .9rem; }
.rulegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; margin-bottom: 30px; }
.rule { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.rule span { font-size: 1.3rem; line-height: 1.2; }
.rule p { margin: 0; font-size: .92rem; color: #d0d0d6; }

.notint { margin-top: 10px; color: var(--muted); font-weight: 600; }
.notint:hover { color: #fff; border-color: #55555c; }

/* admin quick start on the details page */
.quickbox { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; border: 2px solid var(--gold); background: rgba(255,204,0,.06); }
.quickbox b { color: var(--gold); }
.quickbox span { flex: 1 1 200px; }
.quickbox button { background: var(--gold); color: #000; }

/* language switch */
.langsw { display: inline-flex; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; overflow: hidden; }
.langsw button { background: transparent; color: #fff; padding: 6px 14px; border-radius: 0; font-weight: 700; font-size: .85rem; }
.langsw button.on { background: var(--brand); }
.langsw.locked { opacity: .5; pointer-events: none; }

/* job-reality page */
.eyebrow { font-family: "Bebas Neue", Inter, sans-serif; color: var(--brand); letter-spacing: .08em; font-size: 1.1rem; margin: 0 0 2px; }
ol.dayl { list-style: none; counter-reset: d; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
ol.dayl li { counter-increment: d; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; background: var(--chip); border-radius: 12px; padding: 12px 14px; }
ol.dayl li::before { content: counter(d); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: "Bebas Neue", sans-serif; font-size: 1.2rem; }
ol.dayl li b { display: block; }
ol.dayl li span { color: var(--muted); font-size: .95rem; }
dl.facts { display: grid; grid-template-columns: 130px 1fr; gap: 8px 12px; margin: 0; }
dl.facts dt { color: var(--muted); } dl.facts dd { margin: 0; font-weight: 600; }
@media (max-width: 480px) { dl.facts { grid-template-columns: 1fr; gap: 2px; } dl.facts dd { margin-bottom: 8px; } }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
label.check input { width: 22px; height: 22px; flex: none; accent-color: var(--brand); }

/* section intro */
.secintro { text-align: center; padding: 32px 20px; }
.secintro h1 { font-size: 2.4rem; }
.secdots { display: flex; justify-content: center; gap: 8px; margin: 16px 0 20px; }
.secdots i { width: 28px; height: 6px; border-radius: 3px; background: var(--line); }
.secdots i.done { background: var(--good); } .secdots i.on { background: var(--brand); }

/* admin test bar */
.adminbar { position: fixed; right: 12px; bottom: 12px; z-index: 40; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: #000; border: 2px solid var(--gold); border-radius: 12px; padding: 8px 10px; max-width: calc(100% - 24px); box-shadow: var(--shadow); }
.adminbar span { display: flex; flex-direction: column; font-size: .85rem; margin-right: 4px; }
.adminbar small { color: var(--muted); font-size: .72rem; }
.adminbar button { padding: 8px 12px; font-size: .85rem; background: var(--gold); color: #000; }

/* copy / paste / print blocked during the test */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); max-width: calc(100% - 32px); background: var(--bad); color: #fff; padding: 12px 16px; border-radius: 10px; font-weight: 600; z-index: 50; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
body.testing main { -webkit-user-select: none; user-select: none; }
body.testing main textarea, body.testing main input { -webkit-user-select: text; user-select: text; }
@media print { body.testing * { display: none !important; } }

/* skill tests */
.passage { background: var(--chip); border-radius: 8px; padding: 12px; margin-bottom: 12px; line-height: 1.7; user-select: none; -webkit-user-select: none; max-height: 220px; overflow-y: auto; }
textarea.typing { min-height: 180px; font-size: 1rem; }
.ref { background: var(--chip); border-radius: 8px; padding: 10px 12px; user-select: none; -webkit-user-select: none; }
.ptext { margin: 0 0 6px; line-height: 2; }
.tok { background: transparent; color: var(--ink); font-weight: 500; padding: 2px 3px; border-radius: 4px; border: 1px dashed transparent; }
.tok:hover { border-color: var(--line); }
.tok.on { background: var(--bad); color: #fff; }
.msgs { display: grid; gap: 8px; margin-bottom: 12px; user-select: none; -webkit-user-select: none; }
.msg { background: #1f3b2d; color: #e9f5ee; border-radius: 10px 10px 10px 2px; padding: 8px 12px; font-size: .95rem; }
.derow { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.defields { display: grid; grid-template-columns: 2fr 1.4fr 1.4fr .8fr 1fr; gap: 8px; }
.defields label { margin: 4px 0 0; font-size: .8rem; font-weight: 600; color: var(--muted); }
.defields input, .defields select { margin-top: 2px; padding: 8px; }
@media (max-width: 640px) { .defields { grid-template-columns: 1fr 1fr; } }
.ratecard { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-bottom: 12px; user-select: none; -webkit-user-select: none; }
.ratecard div { background: var(--chip); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; }
.ratecard span { font-size: .85rem; color: var(--muted); } .ratecard b { color: var(--gold); font-size: 1.1rem; } .ratecard small { color: var(--muted); font-size: .72rem; }
.calc { background: #101012; border: 1px dashed #3a3a40; border-radius: 10px; padding: 8px 12px 12px; margin-bottom: 8px; }
.calc label { margin-top: 0; } .calc output { flex: none; min-width: 96px; align-self: center; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.enq { display: grid; grid-template-columns: 1fr 140px; gap: 10px; align-items: end; margin-bottom: 10px; }
.enq label { margin: 0; font-size: .8rem; color: var(--muted); }
@media (max-width: 520px) { .enq { grid-template-columns: 1fr; } }
.art { border-radius: 8px; overflow: hidden; line-height: 0; user-select: none; -webkit-user-select: none; }
.art svg { width: 100%; height: auto; display: block; }
.proofart { position: relative; cursor: crosshair; outline: 2px dashed var(--accent); outline-offset: 2px; }
.mark { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 3px solid #ff2d55; background: rgba(255,45,85,.15); padding: 0; }

body:has(#adminBar) main { padding-bottom: 110px; }
@media (max-width: 480px) {
  .herostats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .herostats div { min-width: 0; padding: 10px; }
  .brand-txt small { display: none; }
}

/* written-answer length counter */
.count { display: flex; align-items: center; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.cntbar { width: 90px; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.cntbar i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .2s, background .2s; }
.count.ok .cntbar i { background: var(--good); }
.count.ok b { color: var(--good); }

/* job scope, KPI, rewards, discipline */
.pol { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .pol { grid-template-columns: 1fr; } }
.polb { background: var(--chip); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.polb h3 { font-family: Inter, sans-serif; font-weight: 800; font-size: .95rem; letter-spacing: 0; margin: 0 0 6px; }
.polb ul { margin: 0; padding-left: 18px; } .polb li { margin-bottom: 4px; font-size: .92rem; color: #d6d6db; }
.polb mark { background: rgba(255,204,0,.25); color: #ffe27a; font-weight: 700; padding: 0 2px; border-radius: 3px; }
.pol-scope { grid-column: 1 / -1; }
.pol-bonus { border-color: rgba(255,204,0,.35); }
.pol-minor { border-color: rgba(224,138,0,.45); }
.pol-major { border-color: rgba(229,72,77,.6); background: rgba(200,16,46,.08); }

/* job-reality page: warning bar + highlighted key phrases */
.readwarn { display: flex; gap: 12px; align-items: flex-start; background: rgba(200,16,46,.14); border: 1px solid rgba(200,16,46,.5); border-left: 5px solid var(--brand); border-radius: 12px; padding: 12px 14px; margin: 8px 0 4px; }
.readwarn span { font-size: 1.4rem; line-height: 1.2; }
.readwarn p { margin: 0; color: #f1d4d9; }
.readwarn b { color: #fff; text-transform: uppercase; letter-spacing: .03em; }
ol.dayl mark { background: linear-gradient(transparent 8%, rgba(255,204,0,.28) 8%, rgba(255,204,0,.28) 92%, transparent 92%); color: #ffe27a; font-weight: 700; padding: 0 2px; border-radius: 3px; }

/* job card line icons (replace emoji) */
.jicon { color: var(--brand); background: linear-gradient(160deg, rgba(200,16,46,.18), rgba(200,16,46,.06)); }
.jicon svg { width: 30px; height: 30px; }
.job:hover .jicon { color: #fff; background: var(--brand); border-color: var(--brand); transition: background .18s, color .18s; }
.chipic { display: inline-flex; align-items: center; gap: 5px; }
.chipic svg { width: 13px; height: 13px; color: var(--good); }

.aboutp .coname { color: #fff; font-weight: 800; letter-spacing: .02em; }
