:root {
  --navy: #16223d;
  --navy-soft: #223256;
  --red: #e63946;
  --gold: #f4a623;
  --bg: #f2f5fb;
  --card: #ffffff;
  --ink: #1d2733;
  --muted: #6b7686;
  --line: #e3e8f0;
  --ok: #1ca45c;
  --warn: #e9a23b;
  --danger: #e14b4b;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(22, 34, 61, 0.08);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 10px; }

p { margin: 0 0 12px; }

.container { max-width: 980px; margin: 0 auto; padding: 0 18px; }

/* ---------- Header ---------- */
.topbar {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  padding: 14px 0;
  box-shadow: 0 2px 10px rgba(22, 34, 61, 0.25);
}
.topbar .container { display: flex; align-items: center; gap: 14px; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  height: 42px; width: auto; padding: 0 12px; border-radius: 10px;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: #fff; letter-spacing: 0.2px;
}
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: 0.3px; }
.brand-tag { font-size: 12px; color: #c7d2ea; }
.topbar .participant-chip {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px; padding: 6px 14px; font-size: 13px; max-width: 280px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

/* ---------- Hero / cards ---------- */
.hero {
  text-align: center;
  padding: 56px 0 40px;
}
.hero h1 { font-size: 34px; color: var(--navy); }
.hero p { color: var(--muted); font-size: 16px; max-width: 640px; margin: 10px auto 0; }
.hero .seal {
  display: inline-block; margin-bottom: 18px;
  background: var(--red); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  padding: 6px 14px; border-radius: 999px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  margin-bottom: 22px;
}
.card h2 { color: var(--navy); font-size: 20px; }
.card h3 { color: var(--navy); font-size: 17px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 22px 0; }
.test-tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-align: left; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.test-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.test-tile .ico {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff;
}
.ico-red { background: var(--red); }
.ico-navy { background: var(--navy); }
.ico-gold { background: var(--gold); }
.test-tile h3 { font-size: 16px; margin-bottom: 4px; }
.test-tile .meta { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.test-tile p { font-size: 13.5px; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border: none; cursor: pointer;
  background: var(--navy); color: #fff;
  font-size: 15px; font-weight: 600;
  padding: 12px 26px; border-radius: 10px;
  transition: filter 0.15s ease, transform 0.1s ease;
  text-decoration: none;
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: scale(0.98); }
.btn-red { background: var(--red); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; filter: none; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- Forms ---------- */
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--line);
  border-radius: 10px; font-size: 15px; font-family: inherit; background: #fbfcfe; color: var(--ink);
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--navy); background: #fff;
}

/* ---------- Progress ---------- */
.progress-steps { display: flex; gap: 8px; margin: 18px 0; flex-wrap: wrap; }
.step {
  flex: 1; min-width: 130px; text-align: center;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 8px;
  background: var(--card); font-size: 12.5px; color: var(--muted);
}
.step b { display: block; font-size: 13px; color: var(--navy); margin-bottom: 2px; }
.step.active { border-color: var(--red); background: #fff4f4; color: var(--red); }
.step.active b { color: var(--red); }
.step.done { border-color: var(--ok); background: #edfaf1; color: var(--ok); }
.step.done b { color: var(--ok); }

/* ---------- Timer ---------- */
.timer-bar { position: sticky; top: 0; z-index: 20; }
.timer-inner {
  background: var(--navy); color: #fff; border-radius: 0 0 12px 12px;
  padding: 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  box-shadow: 0 4px 14px rgba(22,34,61,0.25);
}
.timer-clock { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.timer-warn .timer-clock { color: #ffd166; }
.timer-danger .timer-clock { color: #ff8fa3; }
.timer-fill { height: 5px; background: rgba(255,255,255,0.15); border-radius: 4px; margin-top: 0; overflow: hidden; }
.timer-fill span { display: block; height: 100%; background: var(--gold); transition: width 1s linear; }

/* ---------- Test question cards ---------- */
.q-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.q-num { font-weight: 800; color: var(--navy); background: #eef1f8; border-radius: 8px; padding: 4px 10px; font-size: 14px; }
.q-info { font-size: 13px; color: var(--muted); }

.disc-row {
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; background: #fff;
}
.disc-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 12px 0 4px; }
.disc-option {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px;
  font-size: 14px; display: flex; gap: 10px; align-items: flex-start;
  background: #fbfcfe; transition: all 0.12s ease;
}
.disc-option .letter {
  font-weight: 800; width: 26px; height: 26px; min-width: 26px; border-radius: 50%;
  background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; transition: background 0.12s ease;
}
.disc-option:hover { border-color: #b9c6e0; }
.disc-option.state-most { border-color: var(--red); background: #fff3f3; }
.disc-option.state-least { border-color: var(--navy); background: #f0f3fa; }
.disc-tags { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.tag-btn {
  border: 1.5px solid var(--line); background: #fff; color: var(--muted);
  font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  cursor: pointer; transition: all 0.12s ease;
}
.tag-btn:hover { border-color: #b9c6e0; color: var(--navy); }
.tag-most.active { background: var(--red); border-color: var(--red); color: #fff; }
.tag-least.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- IQ / VAK questions ---------- */
.q-item { margin-bottom: 14px; }
.q-item .stem { font-size: 15px; margin-bottom: 10px; font-weight: 500; }
.vak-stem { font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--navy); }
.option-line {
  display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; margin-bottom: 8px; cursor: pointer;
  font-size: 14px; background: #fbfcfe; transition: all 0.12s ease;
}
.option-line:hover { border-color: #b9c6e0; }
.option-line input { margin-top: 3px; accent-color: var(--red); }
.option-line.selected { border-color: var(--red); background: #fff3f3; }
.option-line .key { font-weight: 800; width: 22px; height: 22px; min-width: 22px; border-radius: 6px; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }

/* ---------- Validation notice ---------- */
.alert {
  border-radius: 10px; padding: 12px 16px; font-size: 14px; margin-bottom: 14px; display: none;
}
.alert.show { display: block; }
.alert-danger { background: #fdeaea; color: #9c2b2b; border: 1px solid #f5c6c6; }
.alert-info { background: #eaf2fd; color: #1e4c92; border: 1px solid #c3d8f5; }

.action-bar { display: flex; justify-content: flex-end; gap: 12px; margin-top: 22px; }

/* ---------- Result / report ---------- */
.report-header {
  text-align: center; padding: 30px 0 6px;
}
.report-header h1 { color: var(--navy); font-size: 26px; }
.report-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 20px 0; }
.report-meta .rm {
  background: #f6f8fc; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px;
}
.report-meta .rm b { display: block; font-size: 13px; color: var(--navy); }
.report-meta .rm span { font-size: 14px; }

.section-title {
  display: flex; align-items: center; gap: 10px; margin: 28px 0 16px;
}
.section-title .num {
  width: 30px; height: 30px; border-radius: 8px; color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}

.bars { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 16px 0; }
.bar-card { background: #f6f8fc; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.bar-card h4 { margin: 0 0 2px; font-size: 15px; color: var(--navy); }
.bar-card .dim-name { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.bar-track { height: 14px; background: #e6ebf4; border-radius: 8px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 8px; }
.bar-fill.most { background: var(--red); }
.bar-fill.least { background: var(--navy); }
.bar-val { font-size: 13px; font-weight: 700; margin-top: 6px; display: flex; justify-content: space-between; color: var(--muted); }

.legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .dot { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }

.dominant-tag {
  display: inline-block; background: var(--red); color: #fff; font-weight: 800;
  padding: 6px 14px; border-radius: 999px; font-size: 14px; margin: 8px 0 4px;
}
.desc-box {
  background: #f6f8fc; border-left: 4px solid var(--navy); border-radius: 0 10px 10px 0;
  padding: 14px 18px; font-size: 14px; margin-top: 10px;
}
.desc-box h4 { margin-bottom: 6px; }

/* IQ gauge */
.iq-wrap { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.iq-gauge {
  width: 170px; height: 170px; border-radius: 50%; position: relative;
  background: conic-gradient(var(--red) var(--pct), #e6ebf4 0);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.iq-gauge::before { content: ""; position: absolute; inset: 14px; background: #fff; border-radius: 50%; }
.iq-gauge .center { position: relative; text-align: center; }
.iq-gauge .center b { display: block; font-size: 34px; color: var(--navy); }
.iq-gauge .center span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.iq-cat { font-size: 18px; font-weight: 800; color: var(--red); margin-bottom: 6px; }
.iq-scale { margin: 16px 0 0; }
.iq-scale .row { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; font-size: 12.5px; }
.iq-scale .row .lb { width: 175px; color: var(--muted); }
.iq-scale .row .tr { flex: 1; height: 10px; background: #e6ebf4; border-radius: 6px; overflow: hidden; }
.iq-scale .row .tr span { display: block; height: 100%; background: var(--gold); }
.iq-scale .row.hit { font-weight: 800; color: var(--navy); }
.iq-scale .row.hit .tr span { background: var(--red); }

/* VAK result */
.vak-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.vak-card { border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; background: #fbfcfe; }
.vak-card.winner { border-color: var(--gold); background: #fff8ea; }
.vak-card .vc-color { width: 36px; height: 36px; border-radius: 50%; margin: 0 auto 8px; }
.vak-card h4 { margin-bottom: 2px; }
.vak-card b { font-size: 20px; color: var(--navy); }

.print-actions { display: flex; gap: 12px; justify-content: center; margin: 26px 0; flex-wrap: wrap; }

/* ---------- Tes picker (pilih jenis tes) ---------- */
.tests-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.tpick {
  display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line);
  border-radius: 10px; padding: 12px; cursor: pointer; background: #fbfcfe; transition: all 0.12s ease;
}
.tpick:hover { border-color: #b9c6e0; }
.tpick:has(input:checked) { border-color: var(--red); background: #fff6f6; }
.tpick input { margin-top: 3px; accent-color: var(--red); width: 16px; height: 16px; }
.tpick b { display: block; font-size: 14px; color: var(--navy); }
.tpick small { font-size: 12px; color: var(--muted); }

/* ---------- Rekomendasi AI ---------- */
.ai-badge {
  display: inline-flex; align-items: center; gap: 6px; background: var(--navy); color: #fff;
  font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.profile-strip { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 4px; }
.profile-chip {
  font-size: 12.5px; border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px;
  background: #f6f8fc; color: var(--ink);
}
.profile-chip b { color: var(--navy); }
.reco-verdict { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 14px; }
.fit-ring {
  width: 132px; height: 132px; border-radius: 50%; position: relative; flex: 0 0 auto;
  background: conic-gradient(var(--rc, var(--gold)) var(--pct), #e6ebf4 0);
  display: flex; align-items: center; justify-content: center;
}
.fit-ring::before { content: ""; position: absolute; inset: 13px; background: #fff; border-radius: 50%; }
.fit-ring .center { position: relative; text-align: center; }
.fit-ring .center b { display: block; font-size: 25px; color: var(--navy); }
.fit-ring .center span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.reco-text p { font-size: 14px; }
.bullet-list { margin: 8px 0; padding: 0; list-style: none; }
.bullet-list li { display: flex; gap: 8px; margin-bottom: 7px; font-size: 13.5px; align-items: flex-start; }
.bullet-list li .mk {
  flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; color: #fff;
  font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.mk.ok { background: var(--ok); }
.mk.gap { background: var(--warn); }
.mk.info { background: var(--navy); }
.job-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.job-card { border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; background: #fbfcfe; }
.job-card .rank {
  font-size: 11px; font-weight: 800; color: #fff; background: var(--navy);
  border-radius: 999px; padding: 3px 10px; display: inline-block; margin-bottom: 8px;
}
.job-card h4 { margin: 0 0 4px; font-size: 15px; color: var(--navy); }
.job-card p { margin: 0; font-size: 12.5px; color: var(--muted); }

footer { text-align: center; color: var(--muted); font-size: 12.5px; padding: 26px 0 40px; }

/* ---------- Halaman LOG IN (gaya FreePAS) ---------- */
body.login-page { background: linear-gradient(180deg, #f4f6fb 0%, #ffffff 100%); }
.lang-sel { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.lang-sel select {
  border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; font-size: 12.5px;
  color: var(--ink); background: #fff; cursor: pointer;
}
.login-wrap {
  display: grid; grid-template-columns: 1.05fr 1fr; min-height: calc(100vh - 150px);
  max-width: 1180px; width: 92%; margin: 28px auto 0; gap: 26px; align-items: stretch;
}
.login-brand {
  background: linear-gradient(160deg, var(--navy) 0%, #1d2b52 60%, #16223d 100%);
  color: #fff; border-radius: 18px; padding: 42px 38px; display: flex; flex-direction: column; gap: 18px;
}
.login-brand .seal {
  display: inline-block; width: max-content; background: rgba(255,255,255,0.12);
  color: #ffe9c9; border: 1px solid rgba(244,166,35,0.45); border-radius: 999px;
  font-size: 12.5px; font-weight: 700; padding: 6px 14px; letter-spacing: 0.3px;
}
.login-brand h1 { font-size: 27px; margin: 0; letter-spacing: 0.2px; }
.login-brand p { margin: 0; font-size: 14.5px; color: #cdd6ea; line-height: 1.65; }
.feature-list { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 14px; }
.feature-list li { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); padding: 14px 16px; border-radius: 12px; }
.feature-list li b { font-size: 15px; color: #fff; display: block; }
.feature-list li small { color: #b9c4dd; font-size: 12.5px; }
.brand-mark {
  margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; gap: 12px;
}
.brand-mark .brand-logo { background: rgba(255,255,255,0.14); color: #fff; }
.brand-mark .brand-name { color: #e7ecf6; font-size: 12px; }
.brand-mark .brand-tag { color: #f4a623; font-size: 10px; letter-spacing: 0.5px; }
.login-main { display: flex; align-items: center; }
.login-main .card {
  width: 100%; box-shadow: 0 14px 40px rgba(22, 34, 61, 0.12);
  border: 1px solid var(--line); padding: 30px;
}
.login-head h2 { margin: 0 0 6px; font-size: 22px; color: var(--navy); letter-spacing: 1px; }
.login-head p { margin: 0 0 16px; color: #6b7686; font-size: 14px; }

@media (max-width: 900px) {
  .login-wrap { grid-template-columns: 1fr; min-height: auto; }
  .login-brand { padding: 28px 24px; }
  .brand-mark { display: none; }
}

/* ---------- Layar petunjuk (intro) ---------- */
.intro-meta {
  display: inline-flex; align-items: center; gap: 8px; background: #eef2fa;
  color: var(--navy); font-size: 13px; font-weight: 700; border-radius: 999px;
  padding: 7px 15px; margin: 4px 0 14px;
}
.link-soft { color: #5a6b8c; font-size: 13.5px; text-decoration: none; }
.link-soft:hover { text-decoration: underline; }
.btn-sm { padding: 5px 12px; font-size: 12.5px; }
.btn-guide { background: var(--navy); color: #fff; border: 2px solid var(--navy); }
.btn-guide:hover { background: #0e162b; border-color: #0e162b; color: #fff; }

/* ---------- Menu tes (dashboard) ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.menu-card {
  border: 1.5px solid var(--line); border-radius: 14px; padding: 18px;
  background: #fff; display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow 0.15s ease;
}
.menu-card:hover { box-shadow: 0 10px 26px rgba(22, 34, 61, 0.09); }
.menu-card-head { display: flex; gap: 12px; align-items: flex-start; }
.menu-card-head h3 { margin: 2px 0 2px; font-size: 16px; color: var(--navy); }
.menu-card-head small { font-size: 12.5px; color: var(--muted); }
.menu-card-head .bag { font-size: 10.5px; font-weight: 800; letter-spacing: 1px; color: var(--gold); }
.status-chip { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 4px 10px; margin-left: auto; white-space: nowrap; }
.status-chip.idle { color: #5a6b8c; background: #eef1f7; }
.status-chip.doing { color: #a06a04; background: #fff3d6; }
.status-chip.done { color: #117a45; background: #e2f6ea; }
.menu-card-meta { font-size: 12.5px; color: var(--muted); }
.menu-card-actions { margin-top: auto; }
.summary-bar { height: 10px; border-radius: 999px; background: #e9edf5; overflow: hidden; margin-top: 8px; }
.summary-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--navy), #f4a623); transition: width 0.3s ease; }

/* ---------- Panduan Karakter DISC ---------- */
.g-card { border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; margin: 20px 0; }
.g-head { padding: 16px 20px; color: #fff; display: flex; gap: 14px; align-items: center; }
.g-head .g-letter {
  width: 46px; height: 46px; border-radius: 10px; background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; flex: 0 0 auto;
}
.g-head h2 { margin: 0; font-size: 19px; }
.g-head h2 em { font-size: 12.5px; font-weight: 600; opacity: 0.85; font-style: normal; }
.g-head p { margin: 2px 0 0; font-size: 13px; opacity: 0.92; }
.g-body { padding: 18px 24px; }
.g-tag {
  font-size: 12px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--navy); border-left: 3px solid var(--gold); padding-left: 10px; margin: 18px 0 8px;
}
.g-tag:first-child { margin-top: 0; }
.g-body ul { margin: 4px 0 4px; padding-left: 20px; }
.g-body ul li { font-size: 13.8px; line-height: 1.65; margin-bottom: 5px; }

/* ---------- Tabel perbandingan DISC (paling sesuai vs paling tidak sesuai) ---------- */
.cmp-wrap { margin-top: 16px; border: 1px solid #e3e8f2; border-radius: 12px; overflow: hidden; }
.cmp-head { display: flex; gap: 10px; padding: 8px 12px; background: #eef2fa; font-size: 12px; align-items: center; }
.cmp-head .dim { width: 168px; color: #6b7686; font-weight: 700; }
.cmp-head .scale { flex: 1; display: flex; justify-content: space-between; }
.cmp-head .scale i { font-style: normal; color: var(--navy); }
.cmp-head .scale b { color: var(--red); }
.cmp-row { display: flex; gap: 10px; padding: 10px 12px; border-top: 1px solid #eef2fa; align-items: center; }
.cmp-dim { width: 168px; flex-shrink: 0; }
.cmp-dim .name { font-weight: 700; font-size: 13.5px; color: #1f2b45; }
.cmp-dim .name span {
  display: inline-block; width: 20px; height: 20px; line-height: 20px; text-align: center;
  border-radius: 5px; color: #fff; font-size: 12px; margin-right: 7px; font-weight: 800; vertical-align: baseline;
}
.cmp-dim .sub { font-size: 11px; color: #6b7686; margin-top: 3px; line-height: 1.45; }
.divg { flex: 1; position: relative; height: 28px; background: #fbfcfe; border: 1px solid #eef2fa; border-radius: 8px; }
.divg-center { position: absolute; left: 50%; top: 3px; bottom: 3px; border-left: 2px dashed #c3ccdc; }
.divg-bar { position: absolute; top: 4px; bottom: 4px; border-radius: 5px; min-width: 12px; }
.divg-bar.most { left: 50%; background: linear-gradient(90deg, #f2a0a8, var(--red)); }
.divg-bar.least { right: 50%; background: linear-gradient(270deg, #46547a, var(--navy)); }
.divg-bar .v {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 11px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
@media (max-width: 640px) {
  .cmp-dim, .cmp-head .dim { width: 118px; }
  .cmp-dim .name { font-size: 12px; }
  .cmp-dim .sub { font-size: 10px; }
  .cmp-head .scale { font-size: 10.5px; }
}

/* ---------- Deteksi posisi oleh AI (register) ---------- */
.ai-pos { margin-top: 7px; min-height: 18px; font-size: 12.5px; line-height: 1.5; }
.ai-pos .ok { color: var(--ok); font-weight: 600; }
.ai-pos .no { color: #c1861d; font-weight: 600; }
.pos-label { font-size: 12px; color: #6b7686; margin: 9px 0 7px; }
.pos-chip {
  border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 12.5px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px; cursor: pointer; margin: 0 6px 6px 0;
}
.pos-chip:hover { background: var(--navy); color: #fff; }

/* ---------- Unit iklan AdSense ---------- */
.ad-zone { margin: 14px auto; min-height: 56px; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.ad-label { font-size: 10.5px; color: #9aa3b2; letter-spacing: .08em; text-transform: uppercase; }
.ad-block {
  max-width: 100%; width: 100%; min-height: 56px; background: #f0f3f8;
  border: 1px dashed #cbd3e2; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #9aa3b2; font-size: 12px; text-align: center;
}
.ad-block:empty::after { content: "Google AdSense"; }
.ad-missing { font-size: 11px; color: #c1861d; }
@media print { .ad-zone { display: none !important; } }

/* ---------- Mode cetak / PDF ---------- */
.print-only { display: none; }
@media print {
  header.topbar, footer, .print-actions, .participant-chip, .no-print { display: none !important; }
  body { background: #fff !important; }
  .print-only { display: block; }
  .container, main.container { max-width: 100%; width: 100%; padding: 0; }
  .card { box-shadow: none !important; border: 1px solid #d5dae6; break-inside: avoid; }
  .section-title, .desc-box, .menu-card, .reco-verdict, .fit-ring, .profile-chip,
  .bar-card, .vak-card, .job-card, .bulletin { break-inside: avoid; }
  .hp { break-inside: avoid; }
}

/* ---------- Wordmark ---------- */
.attitude { color: var(--red); font-weight: 700; }
.aptitude { color: var(--navy); font-weight: 700; }
.working  { color: var(--gold); font-weight: 700; }

@media (max-width: 640px) {
  .hero { padding: 34px 0 22px; }
  .hero h1 { font-size: 25px; }
  .iq-wrap { justify-content: center; }
}

@media print {
  body { background: #fff; }
  .topbar, .progress-steps, .timer-bar, .print-actions, .action-bar, footer { display: none !important; }
  .card, .test-tile, .bar-card, .vak-card, .desc-box, .report-meta .rm { box-shadow: none; border-color: #d7dbe2; }
  .section-title { break-after: avoid; }
  .row, .bar-card, .vak-card, .q-item { break-inside: avoid; }
}