/* =====================================================================
   Training Platform — design system
   Theme colours arrive as CSS variables from themes.js. Every coloured
   surface has a matching *-ink colour picked for WCAG AA contrast.
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400..800;1,14..32,400..600&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #0b4f6c; --brand-ink: #fff; --accent: #20bf9f; --accent-ink: #062b24;
  --brand-soft: #e6f0f4; --grad: linear-gradient(135deg, #0b4f6c, #20bf9f);
  --bg: #f7f8fa; --surface: #fff; --surface-2: #f1f3f6; --line: #e3e6eb;
  --text: #0f172a; --muted: #5b6474; --ok: #15803d; --warn: #b45309; --bad: #b91c1c;
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --pill: 999px;
  --shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.06);
  --shadow-lg: 0 12px 40px rgba(15,23,42,.14);
  --top-h: 64px; --bottom-h: 68px;
  --font: 'Inter', 'Google Sans', 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
  color-scheme: light;
}
[data-mode="dark"] {
  --bg: #0b0f17; --surface: #121826; --surface-2: #1a2233; --line: #263044;
  --text: #e8edf5; --muted: #9aa6b8; --brand-soft: rgba(255,255,255,.06);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom)); overflow-x: hidden; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
[data-mode="dark"] a:not([class]) { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3.4vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.section { padding: 48px 0; }
@media (min-width: 900px) { .section { padding: 72px 0; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
[data-mode="dark"] .eyebrow { color: var(--accent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; height: var(--top-h); background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.topbar .wrap { height: 100%; display: flex; align-items: center; gap: 12px; }
.topbar.logo-center .brand { position: absolute; left: 50%; transform: translateX(-50%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.brand img { height: 34px; width: auto; }
.brand .mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: var(--grad-ink, var(--brand-ink)); }
.brand-name { max-width: 34vw; overflow: hidden; text-overflow: ellipsis; }
.home-pill { flex: none; }
.menu-scroller { flex: 1; min-width: 0; display: none; align-items: center; gap: 4px; }
@media (min-width: 900px) { .menu-scroller { display: flex; } }
.menu-track { display: flex; gap: 4px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); padding: 0 8px; }
.menu-track::-webkit-scrollbar { display: none; }
.menu-track a { flex: none; padding: 8px 14px; border-radius: var(--pill); text-decoration: none; color: var(--text); font-weight: 600; font-size: .92rem; }
.menu-track a:hover { background: var(--surface-2); }
.menu-track a.on { background: var(--brand-soft); color: var(--brand); }
[data-mode="dark"] .menu-track a.on { color: var(--accent); }
.arrow-btn { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.arrow-btn[hidden] { display: none; }
.top-actions { display: flex; gap: 6px; margin-left: auto; align-items: center; }

/* ---------- buttons ---------- */
.btn { --b: var(--brand); --bi: var(--brand-ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border-radius: var(--pill); border: 0; background: var(--b); color: var(--bi); font: inherit; font-weight: 700; font-size: .97rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s; box-shadow: 0 2px 0 rgba(0,0,0,.06); white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.accent { --b: var(--accent); --bi: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.soft { background: var(--brand-soft); color: var(--brand); }
[data-mode="dark"] .btn.soft { color: var(--text); }
.btn.white { background: #fff; color: #0f172a; }
.btn.wa { --b: #128c4b; --bi: #fff; }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: .87rem; }
.btn.lg { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }
.btn.block { width: 100%; }
.btn.icon { width: 42px; min-height: 42px; padding: 0; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row.center { justify-content: center; }

/* ---------- bottom nav (phones) ---------- */
.bottomnav { position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; height: 60px; display: flex; justify-content: space-around; align-items: center;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .bottomnav { display: none; } }
.bottomnav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 100%; text-decoration: none; color: var(--muted); font-size: .68rem; font-weight: 600; border-radius: 16px; }
.bottomnav a svg { width: 24px; height: 24px; }
.bottomnav a.on { color: var(--brand); }
[data-mode="dark"] .bottomnav a.on { color: var(--accent); }
.bottomnav a.home { position: relative; }
.bottomnav a.home .dot { width: 46px; height: 46px; border-radius: 16px; background: var(--grad); color: var(--grad-ink, var(--brand-ink)); display: grid; place-items: center; margin-top: -24px; box-shadow: var(--shadow-lg); }

/* ---------- hero carousel ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad); color: var(--grad-ink, var(--brand-ink)); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 85% 10%, rgba(255,255,255,.22), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(0,0,0,.22), transparent 60%); pointer-events: none; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; position: relative; z-index: 1; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; padding: 40px 0 76px; }
.slide .wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .slide { padding: 72px 0 96px; } .slide .wrap { grid-template-columns: 1.05fr .95fr; } }
.slide h1 { color: inherit; }
.slide .lead { font-size: clamp(1.02rem, 2.2vw, 1.22rem); opacity: .92; max-width: 34em; }
.slide .tag { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: var(--pill); background: rgba(255,255,255,.16); font-weight: 700; font-size: .8rem; margin-bottom: 16px; }
.slide-art { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-lg); padding: 22px; backdrop-filter: blur(6px); }
.dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; align-items: center; gap: 10px; }
.dots button { width: 9px; height: 9px; border-radius: 9px; border: 0; background: rgba(255,255,255,.45); padding: 0; cursor: pointer; transition: width .25s; }
.dots button.on { width: 30px; background: #fff; }
.dots .arrow-btn { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); color: #fff; }
.mini-steps { display: grid; gap: 10px; }
.mini-step { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.12); border-radius: 14px; padding: 12px 14px; font-weight: 600; }
.mini-step .n { flex: none; width: 30px; height: 30px; border-radius: 10px; background: #fff; color: #0f172a; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.mini-step svg { width: 26px; height: 26px; flex: none; margin-left: auto; opacity: .9; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card.tint { background: var(--brand-soft); border-color: transparent; }
.card h3 { margin-bottom: 6px; }
.card-link { text-decoration: none; color: inherit; display: block; transition: transform .15s; }
.card-link:hover { transform: translateY(-2px); }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 20px 14px; }
.tile .ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
[data-mode="dark"] .tile .ico { color: var(--accent); }
.tile .ico svg { width: 30px; height: 30px; }
.tile b { font-size: .98rem; }
.tile span { font-size: .85rem; color: var(--muted); }
.stat { text-align: center; }
.stat .v { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; color: var(--brand); }
[data-mode="dark"] .stat .v { color: var(--accent); }
.stat .l { font-size: .82rem; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--pill); font-size: .75rem; font-weight: 700; background: var(--surface-2); color: var(--muted); }
.badge.ok { background: #dcfce7; color: #14532d; } .badge.warn { background: #fef3c7; color: #78350f; } .badge.bad { background: #fee2e2; color: #7f1d1d; }
.badge.brand { background: var(--brand); color: var(--brand-ink); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--surface); font-size: .87rem; font-weight: 600; cursor: pointer; user-select: none; color: var(--text); }
.chip.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- journey / numbered steps ---------- */
.journey { display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 900px) { .journey.h { grid-template-columns: repeat(var(--n, 4), 1fr); } }
.jstep { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
@media (min-width: 900px) { .journey.h .jstep { flex-direction: column; align-items: center; text-align: center; } }
.jstep .num { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: var(--grad-ink, var(--brand-ink)); display: grid; place-items: center; font-weight: 800; }
.jstep .ico { width: 46px; height: 46px; color: var(--brand); }
[data-mode="dark"] .jstep .ico { color: var(--accent); }
.jstep h3 { font-size: 1.02rem; margin: 0 0 4px; }
.jstep p { margin: 0; font-size: .9rem; color: var(--muted); }
@media (min-width: 900px) { .journey.h .jstep:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -14px; width: 14px; height: 2px; background: var(--line); } }

/* progress strip for multi-step flows */
.progress { display: flex; gap: 6px; margin: 8px 0 22px; }
.progress span { flex: 1; height: 6px; border-radius: 6px; background: var(--line); }
.progress span.done { background: var(--brand); }
.progress span.now { background: var(--accent); }
.step-head { display: flex; align-items: center; gap: 12px; }
.step-head .num { width: 38px; height: 38px; border-radius: 12px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 800; }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field > label, .label { font-weight: 700; font-size: .95rem; }
.help { font-size: .84rem; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; }
.help svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.input, select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 16px; }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.phone-row { display: grid; grid-template-columns: 116px 1fr; gap: 8px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--surface); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: var(--pill); }
.seg button { min-height: 40px; border: 0; border-radius: var(--pill); background: transparent; font: inherit; font-weight: 700; font-size: .9rem; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.voice-wrap { position: relative; }
.voice-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.mic-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: var(--pill); border: 0; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 700; cursor: pointer; }
.mic-btn svg { width: 20px; height: 20px; }
.rec { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--bad); font-variant-numeric: tabular-nums; }
.rec i { width: 10px; height: 10px; border-radius: 50%; background: var(--bad); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.interim { color: var(--muted); font-style: italic; }

/* likert & sliders: big, thumb-friendly, explained */
.q { padding: 18px 0; border-bottom: 1px solid var(--line); }
.q .qt { font-weight: 650; margin-bottom: 12px; }
.likert { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.likert button { min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-weight: 800; color: var(--text); cursor: pointer; }
.likert button.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.likert-legend { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin-top: 6px; gap: 10px; }
.scale-key { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; font-size: .72rem; text-align: center; color: var(--muted); }
.scale-key b { display: block; font-size: .95rem; color: var(--text); }
input[type=range] { width: 100%; accent-color: var(--brand); height: 36px; }

/* ---------- tables that never scroll sideways ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
@media (max-width: 640px) {
  .table.stack thead { display: none; }
  .table.stack tr { display: block; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; padding: 6px 12px; background: var(--surface); }
  .table.stack td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 7px 0; text-align: right; }
  .table.stack td::before { content: attr(data-l); font-weight: 700; color: var(--muted); text-align: left; }
}

/* ---------- misc ---------- */
.modal-bg { position: fixed; inset: 0; z-index: 90; background: rgba(2,6,23,.55); display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 700px) { .modal-bg { align-items: center; } }
.modal { width: 100%; max-width: 640px; max-height: 92vh; overflow: auto; background: var(--surface); border-radius: 24px 24px 0 0; padding: 22px; box-shadow: var(--shadow-lg); }
@media (min-width: 700px) { .modal { border-radius: 24px; } }
.toast { position: fixed; z-index: 100; left: 50%; bottom: calc(var(--bottom-h) + 28px); transform: translateX(-50%); background: #0f172a; color: #fff; padding: 12px 18px; border-radius: var(--pill); font-weight: 600; box-shadow: var(--shadow-lg); max-width: 90vw; }
.demo-banner { background: #fef3c7; color: #78350f; font-size: .85rem; text-align: center; padding: 8px 14px; }
.demo-banner a { color: #78350f; font-weight: 700; }
.footer { border-top: 1px solid var(--line); padding: 36px 0 24px; font-size: .9rem; color: var(--muted); background: var(--surface); }
.pdpa-chip { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: var(--pill); background: var(--brand-soft); color: var(--text); font-weight: 600; text-decoration: none; font-size: .85rem; }
.pdpa-chip svg { width: 18px; height: 18px; color: var(--ok); }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; min-height: 40px; padding: 0 16px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-weight: 700; font-size: .88rem; color: var(--text); cursor: pointer; }
.tabs button.on { background: var(--text); color: var(--surface); border-color: var(--text); }
.avatar { border-radius: 50%; object-fit: cover; background: var(--grad); }
.split { display: grid; gap: 24px; }
@media (min-width: 900px) { .split { grid-template-columns: 260px 1fr; } }
.side-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 900px) { .side-nav { flex-direction: column; position: sticky; top: 84px; align-self: start; } }
.side-nav a { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .92rem; }
.side-nav a svg { width: 20px; height: 20px; color: var(--muted); }
.side-nav a.on { background: var(--brand-soft); color: var(--brand); }
.side-nav a.on svg { color: var(--brand); }
.locked { position: relative; }
.locked::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, var(--surface) 85%); border-radius: inherit; }
.swatch { width: 100%; aspect-ratio: 1.6; border-radius: 12px; border: 2px solid transparent; cursor: pointer; position: relative; overflow: hidden; }
.swatch.on { border-color: var(--text); }
.swatch span { position: absolute; left: 6px; bottom: 4px; font-size: .68rem; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.timeline { position: relative; display: grid; gap: 14px; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: -23px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brand); }
.kit-slot { display: grid; grid-template-columns: 78px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.kit-slot .t { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--brand); }

/* ---------- photo studio ---------- */
.studio { position: relative; width: 100%; max-width: 360px; aspect-ratio: 1; margin: 0 auto; border-radius: 20px; overflow: hidden; touch-action: none; background: var(--surface-2); }
.studio canvas { width: 100%; height: 100%; display: block; }
.studio .guide { position: absolute; inset: 0; pointer-events: none; }

/* ---------- printable pages: dossier & certificate (A4) ---------- */
.paper-stage { background: #e5e7eb; padding: 16px 0 40px; }
[data-mode="dark"] .paper-stage { background: #05070c; }
.page { width: min(100%, 210mm); margin: 0 auto 16px; background: #fff; color: #111827; box-shadow: 0 4px 24px rgba(0,0,0,.12); padding: 14mm 14mm 18mm; position: relative; overflow: hidden; }
@media (min-width: 820px) { .page { min-height: 297mm; } }
.page.landscape { width: min(100%, 297mm); }
@media (min-width: 1100px) { .page.landscape { min-height: 210mm; } }
.page .pfoot { position: absolute; left: 14mm; right: 14mm; bottom: 7mm; display: flex; justify-content: space-between; font-size: 8.5pt; color: #6b7280; border-top: 1px solid #e5e7eb; padding-top: 6px; }
.page h2 { font-size: 20pt; color: var(--brand); }
.page h3 { font-size: 12.5pt; }
.page p, .page li { font-size: 10.5pt; line-height: 1.55; }
.page .pgrid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.page .box { border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 14px; break-inside: avoid; }
.page .box.tint { background: color-mix(in srgb, var(--brand) 6%, #fff); border-color: transparent; }
.page .kicker { font-size: 8.5pt; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-strong, var(--brand)); }
.page .chart { width: 100%; height: auto; }
.page .cover { position: absolute; inset: 0; background: var(--grad); color: var(--grad-ink, var(--brand-ink)); padding: 18mm; display: flex; flex-direction: column; justify-content: space-between; }
.page table { width: 100%; border-collapse: collapse; font-size: 9.5pt; }
.page td, .page th { padding: 6px 8px; border-bottom: 1px solid #e5e7eb; text-align: left; vertical-align: top; }
.page .bar { height: 9px; border-radius: 9px; background: #eef0f3; overflow: hidden; }
.page .bar i { display: block; height: 100%; background: var(--grad); border-radius: 9px; }
.cert { aspect-ratio: 297 / 210; }
.cert.portrait { aspect-ratio: 210 / 297; }

@media print {
  @page { size: A4; margin: 0; }
  body { background: #fff; padding: 0; }
  .topbar, .bottomnav, .no-print, .footer, .demo-banner, .toast { display: none !important; }
  .paper-stage { background: none; padding: 0; }
  .page { width: 210mm; min-height: 297mm; height: 297mm; margin: 0; box-shadow: none; page-break-after: always; break-after: page; }
  .page.landscape { width: 297mm; min-height: 210mm; height: 210mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 560px) { .hide-sm { display: none; } .brand-name { max-width: 28vw; } .top-actions .btn.sm { padding: 0 10px; } }
@media (max-width: 560px) { .topbar .wrap { gap: 6px; padding: 0 12px; } .top-actions { gap: 4px; } .top-actions .btn.sm, .home-pill { min-height: 38px; padding: 0 10px; } .brand .mark { width: 30px; height: 30px; } .brand-name { max-width: 30vw; font-size: .95rem; } }
@media (max-width: 360px) { .brand-name { display: none; } }
/* icon sizing inside inline elements */
.eyebrow svg, .tag svg, .slide .tag svg, .badge svg, .chip svg, .help svg, .arrow-btn svg, .check > span > svg { width: 18px; height: 18px; flex: none; }
.arrow-btn svg { width: 18px; height: 18px; }
.ico svg, .num svg { width: 60%; height: 60%; }
.slide .tag { white-space: nowrap; }

.wrap.section { padding-left: 20px; padding-right: 20px; }
@media print { .page:last-child { break-after: auto; page-break-after: auto; } }
@media (max-width: 640px) {
  [data-row], [data-crow], #mat-add { grid-template-columns: 1fr 1fr !important; }
  [data-row] [data-del], [data-crow] [data-del] { width: 100%; }
  .kit-slot { grid-template-columns: 64px 1fr; }
}
.split > * { min-width: 0; } .side-nav { max-width: 100%; }
.kit-slot > * { min-width: 0; overflow-wrap: anywhere; }
.kit-slot > .btn, .kit-slot > a.btn { min-width: max-content; overflow-wrap: normal; }
.cert { width: 297mm !important; max-width: none; }
.cert.portrait { width: 210mm !important; }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 8px; padding-bottom: 8px; } }
@media (max-width: 640px) { [data-op] { grid-template-columns: 30px 1fr 34px !important; } [data-op] [data-o=ms] { grid-column: 2; grid-row: 2; } [data-op] [data-odel] { grid-column: 3; grid-row: 1; } }

/* =====================================================================
   Dossier v3 — Fawatim style (gold · black · cream). Print- and PDF-safe:
   no color-mix() so html2canvas can render every page.
   ===================================================================== */
.page.dz { --g: #A78318; --g2: #C9A23A; --ink: #141414; --cream: #fbf8ef; --line: #e8dcb5; --mut: #6b6870; font-family: 'Inter', sans-serif; color: var(--ink); padding: 11mm 12mm 15mm; background: #fff; }
.page.dz h2, .page.dz h3, .dzarch, .dzbig, .dztag, .dzpill { font-family: 'Montserrat', 'Inter', sans-serif; }
.page.dz p, .page.dz li { font-size: 9.6pt; line-height: 1.5; margin: 0 0 6px; }
.page.dz small { font-size: 8.4pt; color: var(--mut); line-height: 1.4; display: block; }
.page.dz h3 { font-size: 11.5pt; margin: 12px 0 7px; font-weight: 700; }
.dzh { display: flex; justify-content: center; align-items: center; gap: 12px; }
.dzh .dzwm b { font-size: 15pt; } .dzh .dzwm em { font-size: 6pt; }
.dzprod { border-left: 1px solid #d8d2c4; padding-left: 12px; font: 700 8.5pt 'Montserrat', sans-serif; letter-spacing: .06em; }
.dzsec { text-align: center; font: 700 8pt 'Montserrat', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--g); margin: 5px 0 4px; padding-bottom: 7px; border-bottom: 1.5px solid var(--ink); }
.page.dz h2.dzt1 { font-size: 17pt; font-weight: 800; color: var(--ink); margin: 10px 0 4px; letter-spacing: -.01em; line-height: 1.2; }
.page.dz .lead { font-size: 10pt; color: #3d3b40; margin-bottom: 10px; }
.dzbody { display: grid; gap: 9px; }
.dzbody > h3 { margin-bottom: 0; }
.dzfoot { position: absolute; left: 12mm; right: 12mm; bottom: 6mm; display: flex; justify-content: space-between; font-size: 7.5pt; color: var(--mut); border-top: 1px solid var(--line); padding-top: 5px; }
.dzwm { display: inline-flex; flex-direction: column; line-height: 1; color: var(--ink); }
.dzwm b { font: 500 20pt 'Montserrat', sans-serif; letter-spacing: -.02em; }
.dzwm b i { color: var(--g, #A78318); font-style: normal; }
.dzwm em { font-style: normal; font-size: 7.5pt; color: #6b6870; letter-spacing: .02em; margin-top: 2px; }
.dzwm.dark { color: #fff; } .dzwm.dark em { color: #cfc9bb; }
.dzlogo { height: 30px; width: auto; }
.dzk { font: 700 7.6pt 'Montserrat', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--g); margin-bottom: 4px; display: flex; gap: 6px; align-items: center; }
.dzk svg { width: 13px; height: 13px; }
.dzcard { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; min-width: 0; break-inside: avoid; }
.dzcard.cream { background: var(--cream); }
.dzcard.dark { background: var(--ink); color: #f4f2ee; border-color: var(--ink); }
.dzcard.dark .dzk { color: var(--g2); } .dzcard.dark small, .dzcard.dark li { color: #e6e2d8; }
.dzcard.c { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; }
.dzcard.c .dznum { position: absolute; top: 8px; left: 8px; }
.dzcard b { font-weight: 700; }
.dzcard > b { display: block; font-size: 10.5pt; }
.ic { width: 30px; height: 30px; border-radius: 9px; background: var(--g); color: #fff; display: inline-grid; place-items: center; flex: none; }
.ic svg { width: 17px; height: 17px; }
.dznum { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font: 700 9pt 'Montserrat', sans-serif; flex: none; }
.dz2 { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.dz3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.dz4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.dz3.tight .dzcard { padding: 8px 10px; }
.dzsplit { display: grid; grid-template-columns: 1.05fr .95fr; gap: 9px; align-items: start; }
.dzsplit .dzc { display: block; margin: 0 auto; }
.dzstackcol { display: grid; gap: 9px; align-content: start; }
.dzrow { display: flex; flex-wrap: wrap; gap: 5px; }
.dzchip { display: inline-block; padding: 3px 9px; border-radius: 99px; font-size: 8pt; font-weight: 700; }
.dzchip.ghost { background: #f1ede2; color: var(--ink); }
.dzli { display: flex; gap: 9px; align-items: flex-start; margin: 4px 0 8px; }
.dzli b { font-size: 9.8pt; }
.dzsm { font-size: 8.3pt !important; color: var(--mut); }
.dznote { font-size: 7.8pt !important; color: var(--mut); margin-top: 4px !important; }
.dzblack { background: var(--ink); color: #f4f2ee; border-radius: 12px; padding: 10px 14px; font-size: 9.5pt; }
.dzbands { display: grid; grid-template-columns: 1fr 1fr 1fr; border-radius: 10px; overflow: hidden; font: 600 8.5pt 'Inter'; text-align: center; }
.dzbands span { padding: 6px; background: #f3eedf; } .dzbands span:nth-child(2) { background: #e9dcb0; } .dzbands span:nth-child(3) { background: var(--g); color: #fff; }
.dztoc { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.dztoc div { display: flex; gap: 10px; font-size: 9.2pt; padding: 3px 0; border-bottom: 1px dotted var(--line); }
.dztoc b { color: var(--g); font-family: 'Montserrat'; }
.dzhead { display: flex; gap: 12px; align-items: center; }
.dzav { border-radius: 14px; overflow: hidden; background: #e9e4d6; display: inline-grid; place-items: center; flex: none; }
.dzav img { width: 100%; height: 100%; object-fit: cover; }
.dzav span { font: 800 22pt 'Montserrat'; color: var(--g); }
.dzrings { display: flex; justify-content: space-around; gap: 6px; text-align: center; }
.dzrings > div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.dzrings.big b { font-size: 9.5pt; }
.dzbars { display: grid; gap: 6px; }
.dzbar { display: grid; grid-template-columns: 34% 1fr 26px; gap: 8px; align-items: center; font-size: 8.6pt; }
.dzbar .l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dzbar .t, .dzt { height: 8px; border-radius: 9px; background: #efe9d8; overflow: hidden; display: block; }
.dzbar .t i, .dzt i { display: block; height: 100%; border-radius: 9px; background: var(--g); }
.dzt { margin: 5px 0 6px; }
.dzbar b { text-align: right; }
.dzbars.wide .dzbar { grid-template-columns: 48% 1fr 34px; }
.docbar { position: static; }
.dzstack { display: flex; height: 30px; border-radius: 10px; overflow: hidden; }
.dzstack i { display: grid; place-items: center; color: #fff; font: 700 9pt 'Montserrat'; min-width: 34px; }
.dzstack i:first-child { color: var(--ink); }
.dzlegend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 8.4pt; }
.dzlegend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.dzul { margin: 0; padding-left: 16px; } .dzul li { margin-bottom: 3px !important; font-size: 9pt !important; } .dzul li.more { list-style: none; color: var(--mut); }
.dzbig { font: 800 26pt 'Montserrat'; color: var(--g); line-height: 1.1; } .dzbig small { display: inline; font-size: 10pt; color: var(--mut); }
.dzbig.sm { font-size: 18pt; }
.dztbl { width: 100%; border-collapse: collapse; font-size: 8.8pt; }
.dztbl th { background: var(--ink); color: #fff; text-align: left; padding: 6px 8px; font: 700 7.8pt 'Montserrat'; letter-spacing: .06em; text-transform: uppercase; }
.dztbl td { padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dztbl tr:nth-child(even) td { background: #fdfbf5; }
.dztbl.kv td:first-child { color: var(--mut); width: 42%; }
.dztbl.why td { font-size: 8.4pt; }
.dzscen { display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--cream); }
.dzscen .sv { background: var(--g); color: #fff; border-radius: 10px; text-align: center; padding: 10px 4px; }
.dzscen .sv b { font: 800 22pt 'Montserrat'; display: block; line-height: 1; } .dzscen .sv small { color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 7pt; }
.dztrait { display: grid; grid-template-columns: 34% 1fr; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; }
.dztrait .l { position: relative; border-right: 1px solid var(--line); padding-right: 46px; }
.dztrait .l b { font-size: 10.5pt; display: block; } .dztrait .l small { color: var(--g); font-weight: 700; }
.dztrait .l .v { position: absolute; right: 8px; top: 2px; font: 800 18pt 'Montserrat'; color: var(--g); }
.dztrait .l p { font-size: 8.2pt !important; color: var(--mut); margin: 4px 0 0 !important; }
.dztrait .st { background: var(--cream); border-radius: 8px; padding: 5px 8px; font-size: 8.8pt !important; }
.dzrole { display: grid; grid-template-columns: 64px 1fr 22px 1.1fr; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; background: var(--cream); }
.dzrole .fit { font: 800 15pt 'Montserrat'; color: var(--g); } .dzrole .fit.sm { font-size: 8.5pt; text-transform: uppercase; }
.dzrole > i { color: var(--g); font-style: normal; font-weight: 800; font-size: 14pt; }
.dzrole b { display: block; font-size: 9.8pt; } .dzrole small { font-size: 7.2pt; letter-spacing: .06em; }
.dzmkt { display: grid; grid-template-columns: 26% 1fr 36%; gap: 8px; align-items: center; font-size: 8.5pt; margin-top: 5px; }
.dzmkt .t { position: relative; height: 10px; border-radius: 9px; background: #f1ede2; }
.dzmkt .t i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 9px; }
.dzmkt .t i.a { background: var(--g); } .dzmkt .t i.b { background: #e5d39a; }
.dzmkt b { text-align: right; font-size: 8.4pt; }
.dzladder { display: flex; gap: 6px; } .dzladder span { flex: 1; text-align: center; padding: 7px 4px; border-radius: 8px; background: #f1ede2; font-size: 8.6pt; font-weight: 600; }
.dzladder span.on { background: var(--g); color: #fff; }
.dztime { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.dztime div { border-top: 4px solid var(--line); padding-top: 6px; } .dztime div.on { border-color: var(--g); }
.dztime span { font: 700 8pt 'Montserrat'; color: var(--g); } .dztime b { display: block; font-size: 8.8pt; line-height: 1.3; }
.dzgrow { display: grid; grid-template-columns: 38% 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.dzgrow .l { background: var(--cream); padding: 10px 12px; position: relative; } .dzgrow .r { padding: 10px 12px; }
.dzgrow .l b { font-size: 11pt; display: block; } .dzgrow .l .v { position: absolute; right: 12px; top: 26px; font: 800 18pt 'Montserrat'; color: var(--g); }
.dzcourse { font-size: 8.8pt; padding: 2px 0; } .dzcourse b { color: var(--g); }
.dzlego { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dzlego .brick { border: 1.5px solid var(--g); border-radius: 9px; padding: 6px 8px; margin-bottom: 6px; background: var(--cream); position: relative; }
.dzlego .brick b { color: var(--g); font-size: 8.4pt; display: block; } .dzlego .brick span { font-size: 8.4pt; line-height: 1.25; display: block; }
.dzlego .brick small { position: absolute; right: 7px; top: 6px; }
.dzlego .brick.empty { border-style: dashed; color: var(--mut); text-align: center; background: #fff; }
.dz12 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.dz12 > div { border-top: 2px solid var(--ink); padding-top: 8px; } .dz12 b { display: block; font-size: 9.5pt; margin: 5px 0 2px; }
.dzquote { font-size: 10.5pt !important; line-height: 1.6 !important; font-style: italic; }
.dzseal { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px dashed var(--line); border-radius: 12px; padding: 10px; }
.dzissuer { display: flex; gap: 14px; align-items: center; justify-content: center; text-align: left; border-top: 1px solid var(--line); padding-top: 10px; }
.dzissuer b { font-size: 9pt; }
/* cover */
.page.dz.cover { padding: 0; }
.dzcover { position: relative; min-height: 297mm; padding: 13mm 14mm 12mm; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.dzwave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.dzcover > * { position: relative; z-index: 1; }
.dzcover > svg.dzwave { position: absolute; inset: 0; z-index: 0; }
.page.dz h2 { color: var(--ink); }
.dzverified .dzwm b { font-size: 11pt; }
.dzcv-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10mm; }
.dzconf { text-align: right; font-size: 8.5pt; color: var(--mut); }
.dzpill { align-self: flex-start; border-radius: 99px; padding: 8px 20px; font-weight: 800; }
.dzpill.dark { background: var(--ink); color: var(--g2); font-size: 10.5pt; letter-spacing: .06em; }
.dzpill.gold { background: var(--g); color: var(--ink); font-size: 21pt; padding: 8px 24px; }
.dzsub { font-size: 10pt !important; color: #3d3b40; }
.dzcv-mid { display: grid; grid-template-columns: 56mm 1fr; gap: 9mm; align-items: center; margin: 4mm 0 2mm; }
.dzframe { border: 4px solid var(--g); border-radius: 22px; padding: 0; overflow: hidden; width: 56mm; height: 56mm; background: #e9e4d6; }
.dzframe .dzav { width: 100% !important; height: 100% !important; border-radius: 0; } .dzframe .dzav span { font-size: 40pt; }
.dzarch { font-size: 25pt; font-weight: 800; line-height: 1.1; }
.dzparts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dzparts > div { background: #fff; border: 1px solid #d8c890; border-radius: 12px; padding: 9px 10px; }
.dzparts small { margin-top: 6px; } .dzparts b { font-size: 9.6pt; }
.dzfuture { display: grid; grid-template-columns: 1.9fr 1fr 1fr 1fr; gap: 8px; margin-top: 2mm; }
.dzfuture .blk { background: var(--ink); color: #fff; border-radius: 12px; padding: 10px 12px; }
.dzfuture .fr { display: flex; gap: 8px; align-items: center; margin: 4px 0; } .dzfuture .fr span { font-size: 9pt; color: #cfc9bb; } .dzfuture .fr i { color: var(--g2); font-style: normal; } .dzfuture .fr b { font: 700 11.5pt 'Montserrat'; }
.dzfuture .blk small { color: #bdb7a8; }
.dzfuture .sc { background: #fff; border: 1px solid #d8c890; border-radius: 12px; text-align: center; padding: 10px 6px; display: flex; flex-direction: column; justify-content: center; }
.dzfuture .sc b { font: 800 19pt 'Montserrat'; color: var(--g); }
.dztag { text-align: center; font-size: 17pt; margin-top: 6mm; }
.dzissued { text-align: center; font-size: 8.8pt !important; color: var(--mut); }
.dzverified { margin-top: auto; align-self: flex-start; display: flex; gap: 12px; align-items: center; background: var(--ink); color: #fff; border-radius: 12px; padding: 9px 14px; }
.dzverified .dzwm b { font-size: 13pt; } .dzverified .dzwm em { font-size: 5.5pt; }
.dzverified b { color: var(--g2); font: 700 8pt 'Montserrat'; letter-spacing: .08em; display: block; } .dzverified small { color: #e6e2d8; }
/* doc toolbar */
.docbar { position: sticky; top: var(--hdr-h, 118px); z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 0; }
.docbar .wrap { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
/* phone: pages scale down instead of scrolling sideways */
@media (max-width: 820px) {
  .paper-stage { overflow: hidden; }
  .paper-stage .page.dz { zoom: var(--pz, .5); width: 210mm; min-height: 297mm; }
}
@media (min-width: 821px) { .page.dz { min-height: 297mm; } }
/* fixed-size pages while generating the PDF */
.pdfmode .page.dz { width: 210mm !important; height: 297mm !important; min-height: 0 !important; zoom: 1 !important; margin: 0 0 10px !important; box-shadow: none !important; }
@media print { .page.dz { height: 297mm; } .docbar { display: none !important; } }

.dzcheck { display: flex; gap: 10px; align-items: flex-start; font-size: 9.6pt; padding: 5px 0; border-bottom: 1px dotted var(--line); }
.dzcheck span { width: 14px; height: 14px; border: 1.5px solid var(--g); border-radius: 4px; flex: none; margin-top: 2px; }

/* =====================================================================
   v3 site skin — Fawatim Talent Compass look (gold · black · silver · white)
   Montserrat headings, Inter body, warm paper background, pill navigation.
   ===================================================================== */
:root { --bg: #f7f5ef; --surface: #ffffff; --surface-2: #f6f3ea; --line: #e4dfd2; --text: #141414; --muted: #56545b; --faint: #8a8790;
  --r: 18px; --r-lg: 24px; --shadow: 0 8px 26px rgba(40,30,10,.08); --shadow-lg: 0 18px 50px rgba(0,0,0,.16);
  --fh: 'Montserrat', 'Inter', ui-sans-serif, system-ui, sans-serif; --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
[data-mode="dark"] { --bg: #141416; --surface: #1f1f24; --surface-2: #26262c; --line: #303037; --text: #f4f2ee; --muted: #a7a5ad; --faint: #6f6d76; --shadow: 0 10px 30px rgba(0,0,0,.28); }
body { padding-bottom: 0 !important; font-size: 16px; }
h1, h2, h3, h4, .bname, .eyebrow, .stat { font-family: var(--fh); }
h1 { font-size: clamp(30px, 5.2vw, 52px); font-weight: 800; letter-spacing: -.015em; line-height: 1.1; }
h2 { font-size: clamp(23px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 19px; font-weight: 600; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; color: var(--brand); }
[data-mode="dark"] .eyebrow { color: var(--brand); }
.section { padding: 34px 0; } @media (min-width: 900px) { .section { padding: 46px 0; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); min-width: 0; }
.card.flat { box-shadow: none; }
.btn { border-radius: 14px; font-weight: 600; font-size: 15px; box-shadow: none; }
.btn.ghost { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.btn.sm { border-radius: 12px; }
.btn.gold { background: linear-gradient(135deg, #f6e3a1, #c99a38); color: #1b1722; font-weight: 800; }
.btn.dark { background: var(--text); color: var(--bg); }
.mut { color: var(--muted); } .sm { font-size: 14px; }
.demo-banner { background: #141414; color: #f1d68a; text-align: center; font-size: 13px; padding: 6px 12px; }
/* header */
header.top { position: sticky; top: 0; z-index: 50; background: rgba(247,245,239,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
[data-mode="dark"] header.top { background: rgba(20,20,22,.9); }
header.top .wrap { max-width: 1180px; }
.bar1 { display: flex; align-items: center; gap: 12px; height: 62px; }
header.top .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; flex: 1 1 auto; overflow: hidden; }
header.top .brand > div { min-width: 0; }
.bdiv { width: 1px; height: 30px; background: var(--line); flex: none; }
.bname { font-weight: 700; font-size: 16px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .01em; }
.bsub { font-size: 11.5px; color: var(--muted); white-space: nowrap; letter-spacing: .02em; }
.blogo { height: 30px; width: auto; display: block; }
.wm { display: inline-flex; flex-direction: column; line-height: 1; color: var(--text); flex: none; }
.wm b { font: 500 23px var(--fh); letter-spacing: -.02em; } .wm b i { color: #A78318; font-style: normal; }
.wm em { font-style: normal; font-size: 9px; color: var(--muted); margin-top: 2px; }
.wm.dark { color: #fff; } .wm.dark em { color: #cfc9bb; }
.ctl { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.pill { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.pill button { border: 0; background: transparent; color: var(--muted); padding: 6px 11px; border-radius: 999px; font: 600 13px var(--font); min-height: 32px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.pill button svg { width: 15px; height: 15px; }
.pill button.on { background: var(--brand); color: var(--brand-ink); }
.ib { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; flex: none; }
.ib svg { width: 19px; height: 19px; }
.ib.me { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.empcta { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 999px; text-decoration: none; white-space: nowrap; font-weight: 700; font-size: 14px;
  border: 1.5px solid transparent; background: linear-gradient(#18151e, #18151e) padding-box, linear-gradient(135deg, #f6e3a1, #b8862e 40%, #f6e3a1 65%, #8a6a1f) border-box; color: #f1d68a; box-shadow: 0 6px 18px -6px rgba(24,21,30,.55), inset 0 1px 0 rgba(255,255,255,.07); }
.empcta svg { width: 17px; height: 17px; color: #e9c96a; flex: none; }
.empcta .ecl, .empcta .ecs { background: linear-gradient(90deg, #fbefc6, #e0bc62 60%, #f6e3a1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.empcta .ecs { display: none; }
.empcta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,240,200,.28), transparent); transform: skewX(-18deg); animation: empshine 6s ease-in-out infinite; }
@keyframes empshine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .empcta::after { display: none; } }
.bar2 { display: flex; align-items: center; gap: 6px; position: relative; }
.nav { flex: 1 1 0; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px 2px 10px; scroll-behavior: smooth; }
.nav::-webkit-scrollbar { display: none; }
.nav .np { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--text); font: 500 14px/1 var(--font); padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); white-space: nowrap; cursor: pointer; transition: border-color .2s, transform .15s; }
.nav .np svg { width: 15px; height: 15px; color: var(--brand); flex: none; }
.nav .np:hover { border-color: var(--brand); transform: translateY(-1px); }
.nav .np.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); } .nav .np.on svg { color: var(--brand-ink); }
.nav .npg .chev { width: 13px; height: 13px; transition: transform .2s; color: currentColor; }
.nav .npg.open .chev { transform: rotate(180deg); }
.nav .nphot { border-color: #cdb873; }
.nav .npcta { border-color: var(--text); font-weight: 600; }
.navhome { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); margin: 8px 0 10px; }
.navhome svg { width: 16px; height: 16px; color: var(--brand); }
.navhome.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); } .navhome.on svg { color: var(--brand-ink); }
.navarr { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; margin: 8px 0 10px; transition: opacity .2s; }
.navarr svg { width: 16px; height: 16px; } .navarr.off { opacity: .25; pointer-events: none; }
.navall { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; margin: 8px 0 10px; padding: 9px 14px; border-radius: 999px; font: 600 14px/1 var(--font); cursor: pointer; white-space: nowrap; border: 1.5px solid var(--text); background: var(--text); color: var(--bg); }
.navall svg { width: 16px; height: 16px; }
.navpop { position: fixed; z-index: 80; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.18); padding: 8px; animation: npin .18s ease-out; }
@keyframes npin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.navpop.static { position: static; box-shadow: none; animation: none; padding: 4px; }
.navpop .nphd { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 6px; }
.navpop a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--text); }
.navpop a:hover, .navpop a.on { background: var(--surface-2); }
.navpop a b { display: block; font-size: 14.5px; font-weight: 600; } .navpop a em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); }
.npn { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--text); font-weight: 700; font-size: 13px; border: 1px solid var(--line); }
.npn svg { width: 15px; height: 15px; }
.navpop a.on .npn { background: var(--text); color: var(--bg); border-color: var(--text); }
.sheetgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.sheetgrid a { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 14px; }
.sheetgrid a svg { width: 17px; height: 17px; color: var(--brand); }
@media (max-width: 640px) { .empcta .ecl { display: none; } .empcta .ecs { display: inline; } .empcta { padding: 0 11px; min-height: 38px; font-size: 13.5px; } header.top .brand > div:last-child, .bdiv { display: none; } header.top .brand { flex: 0 0 auto; } }
@media (max-width: 560px) { .navhome span, .navall span { display: none; } .navhome, .navall { padding: 9px 11px; } .bar2 .navarr { display: none; } .nav .np { padding: 9px 12px; } .nav { mask-image: linear-gradient(90deg, #000 82%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); } }
@media (max-width: 400px) { .pill button { padding: 6px 8px; } .ctl { gap: 6px; } .ib { width: 38px; height: 38px; } .wm b { font-size: 20px; } }
@media (max-width: 350px) { .empcta .ecs { display: none; } .empcta { width: 38px; padding: 0; justify-content: center; } }
/* theme panel */
.tglrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.swgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.swatch { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 8px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; font: 600 12px var(--font); text-align: left; min-height: 0; }
.swatch i { width: 100%; height: 28px; border-radius: 9px; background: linear-gradient(135deg, var(--a) 58%, var(--b) 58%); }
.swatch.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
/* footer */
footer.foot { border-top: 1px solid var(--line); padding: 36px 0 40px; color: var(--muted); font-size: 14px; margin-top: 30px; }
.footgrid3 { display: grid; grid-template-columns: 1.4fr 1fr .9fr; gap: 28px; text-align: center; max-width: 1040px; margin: 0 auto; }
.footgrid3 > div { display: flex; flex-direction: column; align-items: center; }
.footgrid3 b { color: var(--text); font-family: var(--fh); margin-bottom: 8px; }
.fbadges { display: grid; gap: 6px; margin-top: 12px; } .fbadges span { display: flex; gap: 6px; align-items: center; justify-content: center; font-size: 13px; } .fbadges svg { width: 15px; height: 15px; color: var(--brand); }
.fl { display: grid; gap: 2px; }
.footlinks2 { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 8px 22px; font-size: 14px; } .footlinks2 a { color: var(--muted); text-decoration: none; } .footlinks2 a:hover { color: var(--brand); }
.footbase { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; }
.footbase a { color: var(--muted); }
@media (max-width: 820px) { .footgrid3 { grid-template-columns: 1fr; gap: 24px; } .footgrid3 > div + div { padding-top: 20px; border-top: 1px solid var(--line); } }
/* ---------- v3 home & public pages ---------- */
.home { padding-top: 14px; }
.lead { font-size: clamp(16px, 2vw, 18.5px); color: var(--muted); line-height: 1.6; }
.carousel { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); background: var(--surface); margin-top: 6px; }
.carousel .slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel .slides::-webkit-scrollbar { display: none; }
.carousel .slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; padding: 42px 44px 64px;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--sc) 22%, transparent), transparent 60%), var(--surface); }
.carousel .slide h1 { font-size: clamp(28px, 4.4vw, 48px); margin: 6px 0 12px; }
.carousel .sv { display: grid; place-items: center; color: var(--text); min-width: 0; }
.carousel .dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; }
.carousel .dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; background: var(--line); padding: 0; transition: width .3s; cursor: pointer; }
.carousel .dots button.on { width: 28px; background: var(--brand); }
@media (max-width: 820px) { .carousel .slide { grid-template-columns: 1fr; padding: 28px 22px 58px; } .carousel .sv { max-width: 420px; justify-self: center; width: 100%; } }
.hradar { width: 100%; max-width: 380px; }
.hjobs { display: grid; gap: 10px; width: 100%; }
.hjobs div { display: grid; grid-template-columns: 1fr 22px 1.2fr; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; }
.hjobs span { color: var(--muted); } .hjobs i { color: var(--brand); font-style: normal; font-weight: 800; } .hjobs b { font-family: var(--fh); }
.hpay { display: grid; gap: 10px; width: 100%; }
.hpay div { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; }
.hpay span { position: relative; height: 16px; border-radius: 9px; background: var(--surface-2); }
.hpay span i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 9px; background: var(--brand); } .hpay span i.l { background: #e5d39a; }
.hpay small { color: var(--muted); }
.hlego { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.hlego div { border: 2px solid var(--c); border-radius: 12px; padding: 10px 12px; background: var(--surface); box-shadow: 0 4px 0 var(--c); transform: translateY(calc(var(--d) * -2px)); }
.hlego b { color: var(--c); font-size: 12px; display: block; } .hlego span { font-size: 13px; font-weight: 600; }
.hdocs { position: relative; width: 260px; height: 230px; }
.hdocs > div { position: absolute; border-radius: 12px; box-shadow: var(--shadow-lg); display: grid; place-items: center; font: 800 14px var(--fh); }
.hdocs .d1 { left: 30px; top: 0; width: 150px; height: 210px; background: #fff; border: 1px solid #e8dcb5; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; color: #141414; z-index: 2; }
.hdocs .d1 .wm b { font-size: 16px; } .hdocs .pl { display: block; width: 100%; height: 12px; border-radius: 9px; background: #A78318; } .hdocs .pl.s { width: 60%; background: #141414; }
.hdocs .dot3 { display: flex; gap: 6px; margin-top: auto; } .hdocs .dot3 i { width: 30px; height: 30px; border-radius: 50%; border: 4px solid #A78318; } .hdocs .dot3 i:nth-child(2) { border-color: #1f9a8c; } .hdocs .dot3 i:nth-child(3) { border-color: #6a58e0; }
.hdocs .d2 { right: 0; top: 20px; width: 70px; height: 70px; background: #141414; color: #f1d68a; z-index: 3; }
.hdocs .d3 { right: 14px; top: 100px; width: 70px; height: 50px; background: #2b579a; color: #fff; z-index: 3; }
.hdocs .d4 { right: 0; top: 160px; width: 70px; height: 50px; background: #d24726; color: #fff; z-index: 3; }
.hver { display: flex; flex-direction: column; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 18px; box-shadow: var(--shadow-lg); color: #141414; }
.hver span { display: inline-flex; gap: 6px; align-items: center; background: #141414; color: #f1d68a; border-radius: 99px; padding: 6px 14px; font: 800 13px var(--fh); letter-spacing: .08em; } .hver span svg { width: 16px; height: 16px; }
.ehw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.ehwc { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); transition: transform .15s, border-color .2s; }
.ehwc:hover { transform: translateY(-2px); border-color: var(--brand); }
.ehwc.hot { border-color: var(--brand); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 12%, var(--surface)), var(--surface)); }
.ehwc b { font: 700 17px var(--fh); } .ehwc p { margin: 0; flex: 1; }
.esgo { display: inline-flex; gap: 6px; align-items: center; color: var(--brand); font-weight: 600; font-size: 14px; } .esgo svg { width: 16px; height: 16px; }
.icn { width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 14%, var(--surface)); color: var(--brand); display: grid; place-items: center; margin-bottom: 6px; } .icn svg { width: 22px; height: 22px; }
@media (max-width: 760px) { .ehw { grid-template-columns: 1fr; } }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.steps.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stp { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px; }
.stp .sn { position: absolute; top: 14px; right: 16px; font: 800 30px var(--fh); color: color-mix(in srgb, var(--brand) 35%, transparent); }
.stp .si { width: 44px; height: 44px; border-radius: 14px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; margin-bottom: 12px; } .stp .si svg { width: 22px; height: 22px; }
.stp h4 { font: 700 16px var(--fh); margin: 0 0 4px; } .stp p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 980px) { .steps, .steps.six { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps, .steps.six { grid-template-columns: 1fr; } }
.tiers { margin-top: 14px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; }
.tier.hot { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.tier h3 { margin: 4px 0; }
.chip.gold { position: absolute; top: 16px; right: 16px; background: linear-gradient(135deg, #f6e3a1, #c99a38); color: #1b1722; border: 0; font-weight: 800; font-size: 12px; padding: 5px 10px; border-radius: 99px; }
.tiermeta { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 8px; flex-wrap: wrap; }
.stat { font: 700 34px var(--fh); color: var(--brand); line-height: 1; }
.statl { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; flex: 1; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; } .ticks li svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 2px; }
.ticks li.off { color: var(--faint); } .ticks li.off svg { color: var(--faint); }
.futurebox { background: linear-gradient(135deg, color-mix(in srgb, #6a58e0 16%, var(--surface)), var(--surface)); border: 1px solid var(--line); border-radius: 28px; padding: 28px; overflow: hidden; margin: 10px 0; }
.marq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); margin-top: 12px; }
.marq .mt { display: flex; gap: 10px; width: max-content; animation: marq 60s linear infinite; }
.marq span { display: inline-flex; gap: 7px; align-items: center; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; white-space: nowrap; font-size: 14px; } .marq svg { width: 15px; height: 15px; color: var(--brand); }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marq .mt { animation: none; flex-wrap: wrap; width: auto; } }
.trackgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.trk { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--c); text-decoration: none; color: var(--text); }
.trk b { color: var(--c); font-family: var(--fh); } .trk span { font-weight: 600; font-size: 14px; line-height: 1.3; } .trk small { color: var(--muted); }
@media (max-width: 900px) { .trackgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.statc { border-top: 4px solid var(--brand); }
.statgrid { align-items: stretch; }
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 30px; margin: 10px 0; }
.proof .pr { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .proof .pr > div { background: var(--surface-2); border-radius: 18px; padding: 16px; } .proof .pr svg { width: 24px; height: 24px; color: var(--brand); }
@media (max-width: 760px) { .proof { grid-template-columns: 1fr; padding: 22px; } }
.cta2 { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta2.dark { background: #141414; border-color: #141414; }
.btn.ghostw { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); color: #fff; }
.elens h3 { margin: 4px 0; }
/* catalogue */
.catbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 14px; }
.catbar .chips { flex: 1; min-width: 0; }
.chip .cdot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--brand)); display: inline-block; margin-right: 6px; }
.catwrap { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start; }
.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.ccard { position: relative; text-align: left; font: inherit; color: var(--text); cursor: pointer; display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--c); padding: 16px; box-shadow: none; }
.ccard:hover { border-color: var(--c); }
.ccard.on { outline: 2px solid var(--c); background: color-mix(in srgb, var(--c) 8%, var(--surface)); }
.ccard h3 { font-size: 16px; margin: 0; line-height: 1.3; } .ccard p { margin: 0; flex: 1; }
.cc-h { display: flex; justify-content: space-between; align-items: center; } .cc-h b { color: var(--c); font-family: var(--fh); } .cc-h .lvl { font-size: 12px; color: var(--muted); }
.cc-f { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); } .cc-f span { display: flex; gap: 5px; align-items: center; } .cc-f svg { width: 14px; height: 14px; } .cc-f b { color: var(--text); }
.ccard .add { position: absolute; top: -12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; } .ccard .add svg { width: 15px; height: 15px; }
.stackbox { position: sticky; top: calc(var(--hdr-h, 118px) + 12px); }
.stk3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0; text-align: center; } .stk3 b { font: 800 24px var(--fh); color: var(--brand); display: block; } .stk3 small { color: var(--muted); }
.stklist { display: grid; gap: 6px; margin-bottom: 12px; max-height: 300px; overflow: auto; }
.stklist div { border-left: 4px solid var(--c); background: var(--surface-2); border-radius: 8px; padding: 6px 10px; font-size: 13px; } .stklist b { display: block; color: var(--c); font-size: 12px; }
@media (max-width: 900px) { .catwrap { grid-template-columns: 1fr; } .stackbox { position: static; order: -1; } }
.docbar { top: var(--hdr-h, 118px); }
.spin { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* task picker */
.taskgrp { border: 1px solid var(--line); border-radius: 16px; padding: 12px; margin-top: 10px; background: var(--surface-2); }
.taskgrp-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.taskgrp-h b { flex: 1; min-width: 180px; font-family: var(--fh); font-size: 14px; }
.taskcount { font: 700 13px var(--fh); color: var(--brand); background: var(--surface); border-radius: 99px; padding: 4px 10px; border: 1px solid var(--line); }
.chip.task { white-space: normal; text-align: left; line-height: 1.3; border-radius: 14px; }
.proof { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .proof > * { min-width: 0; }
@media (max-width: 760px) { .proof { grid-template-columns: minmax(0, 1fr); } .proof .stat, .statgrid .stat { font-size: 26px; } }
@media (max-width: 480px) { .ctl .ib[href] { display: none; } .wm em { display: none; } .bar1 { gap: 8px; } }
.rhero { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.rav { width: 96px; height: 96px; border-radius: 22px; border: 4px solid #A78318; background: var(--surface-2); display: grid; place-items: center; font: 800 32px var(--fh); color: #A78318; flex: none; }
.rgrid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; margin-top: 16px; }
.rgrid .dzc { display: block; margin: 0 auto; color: var(--text); }
@media (max-width: 820px) { .rgrid { grid-template-columns: 1fr; } }
.rstr { display: flex; gap: 12px; align-items: flex-start; margin: 10px 0; }
.rrings { display: flex; justify-content: space-around; text-align: center; gap: 8px; } .rrings > div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rstack { display: flex; height: 34px; border-radius: 12px; overflow: hidden; } .rstack i { display: grid; place-items: center; color: #fff; font: 700 13px var(--fh); font-style: normal; } .rstack i:first-child { color: #141414; }
.rlegend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; color: var(--muted); } .rlegend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
[data-mode="dark"] .rgrid .dzc text { fill: currentColor; }
.step-head > svg { width: 24px; height: 24px; color: var(--brand); flex: none; }
.aboutstats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* v3.1: whole top shell is the sticky element (a sticky child inside a same-height wrapper never sticks) */
#shell-top { position: sticky; top: 0; z-index: 60; }
#shell-top header.top { position: relative; }
.docbar { position: sticky; top: var(--hdr-h, 112px); z-index: 40; background: rgba(247,245,239,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 6px 18px rgba(0,0,0,.06); }
[data-mode="dark"] .docbar { background: rgba(20,20,22,.94); }
@media (max-width: 640px) {
  .docbar { position: fixed; top: auto; bottom: 0; left: 0; right: 0; padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); border-bottom: 0; box-shadow: 0 -8px 24px rgba(0,0,0,.12); }
  .docbar .wrap { flex-wrap: nowrap; gap: 6px; padding: 0 10px; }
  .docbar .badge, .docbar .seg, .docbar > .wrap + .wrap, .docbar .hide-sm { display: none !important; }
  .docbar .btn { flex: 1 1 0; min-width: 0; padding: 0 8px; font-size: 13px; }
  .docbar .btn svg { width: 16px; height: 16px; }
  .docbar .btn.back { flex: 0 0 42px; }
  body.has-docbar { padding-bottom: 76px !important; }
}
.docsub { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 0 0; }
/* mobile nav: show scroll arrows; nudge the Menu button */
@media (max-width: 560px) { .bar2 .navarr { display: grid; width: 28px; height: 28px; } .bar2 .navarr.l.off { display: none; } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@keyframes ringpulse { 0% { box-shadow: 0 0 0 0 rgba(201,162,58,.7); } 100% { box-shadow: 0 0 0 12px rgba(201,162,58,0); } }
.navarr.r.pulse:not(.off) { animation: nudge 1.4s ease-in-out 4; }
.navall.pulse { animation: ringpulse 1.6s ease-out 5; }
@media (prefers-reduced-motion: reduce) { .navarr.r.pulse, .navall.pulse { animation: none; } }
/* dossier type scale fixes */
.page.dz { font-size: 9.6pt; line-height: 1.5; }
.page.dz .dzcard, .page.dz .dzli span, .page.dz .dzblack { font-size: 9.4pt; }
.page.dz .dzli > span:not(.dznum):not(.ic) { font-size: 9.6pt; line-height: 1.45; }
.dzgrow .l { padding-right: 70px; }
.dzgrow .l .v { right: 14px; top: 14px; width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--g); display: grid; place-items: center; font-size: 14pt; background: #fff; }
.dztrait .l { padding-right: 60px; }
.dztrait .l .v { width: 42px; height: 42px; border-radius: 50%; border: 2.5px solid var(--g); display: grid; place-items: center; font-size: 12.5pt; top: 4px; right: 8px; background: #fff; }
.dzbridge { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; font-size: 7.6pt; color: var(--mut); margin: -2px 0 8px; padding: 4px 10px; border-radius: 99px; background: var(--cream); border: 1px solid var(--line); }
.dzbridge span:last-child { text-align: right; } .dzbridge b { font: 700 7.4pt 'Montserrat'; letter-spacing: .1em; text-transform: uppercase; color: var(--g); }
.dzflow { display: grid; gap: 4px; }
.dzflow .fp { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: start; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; background: var(--cream); }
.dzflow .fn, .dzrecap .fn { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--g2); display: grid; place-items: center; font: 800 17pt 'Montserrat'; }
.dzflow b { font-size: 11.5pt; } .dzflow .q { margin: 2px 0 4px !important; font-style: italic; }
.dzflow .fr { display: inline-block; background: var(--g); color: #fff; border-radius: 99px; padding: 2px 10px; font-size: 8.4pt; font-weight: 700; margin-bottom: 4px; }
.dzflow .farr { text-align: center; font: 700 7.6pt 'Montserrat'; letter-spacing: .12em; text-transform: uppercase; color: var(--g); }
.dzpart { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; padding: 18px 0; }
.dzpart .num { width: 104px; height: 104px; border-radius: 50%; border: 5px solid var(--g); display: grid; place-items: center; font: 800 46pt 'Montserrat'; color: var(--ink); }
.dzday { display: grid; gap: 7px; } .dzday div { display: grid; grid-template-columns: 38% 1fr 92px; gap: 10px; align-items: center; font-size: 9pt; }
.dzday .b { position: relative; height: 12px; border-radius: 9px; background: #f1ede2; } .dzday .b i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 9px; background: #e5d39a; } .dzday .b i.a { background: var(--g); }
.dzday b { text-align: right; font-size: 8.6pt; }
.dzgap { display: grid; gap: 8px; } .dzgap div { display: grid; grid-template-columns: 26% 1fr 40px; gap: 10px; align-items: center; font-size: 9pt; }
.dzgap .t { position: relative; height: 12px; border-radius: 9px; background: #f1ede2; } .dzgap .t i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 9px; background: var(--g); }
.dzgap .t em { position: absolute; top: -4px; bottom: -4px; width: 3px; background: var(--ink); border-radius: 2px; }
.dzgap b.neg { color: #b4532a; text-align: right; } .dzgap b.pos { color: #1f9a8c; text-align: right; }
.dzrecap { display: grid; grid-template-columns: 50px 1fr; gap: 12px; align-items: start; padding: 8px 0; border-bottom: 1px dotted var(--line); }
.dzrecap b { font-size: 11pt; } .dzrecap p { margin: 2px 0 0 !important; }
.show-sm, .show-sm-flex { display: none; }
@media (max-width: 640px) { .show-sm { display: inline; } .show-sm-flex { display: flex !important; } .hide-sm { display: none !important; } .docsub { padding: 10px 12px 0; } .docbar .seg { display: none; } }
.dztoc.c3 { grid-template-columns: 1fr 1fr 1fr; gap: 2px 14px; } .dztoc.c3 div { font-size: 8pt; padding: 2px 0; gap: 6px; }
.dzinpart { display: grid; gap: 4px; } .dzinpart div { display: grid; grid-template-columns: 34% 1fr; gap: 10px; padding: 5px 0; border-bottom: 1px dotted var(--line); font-size: 9pt; } .dzinpart b { color: var(--g); }
.dzbig.txt { font-size: 13pt; line-height: 1.2; }
.dzflow .fp { padding: 7px 12px; } .dzflow .q { margin: 1px 0 3px !important; font-size: 9pt !important; }

/* ---------- v3.2 console: catalogue, kits, classes, messages, leads, surveys, brand ---------- */
.tabs a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; font-size: .88rem; color: var(--text); text-decoration: none; }
.tabs a.on { background: var(--text); color: var(--surface); border-color: var(--text); }
.sw { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .92rem; }
.sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw span { width: 42px; height: 24px; flex: none; border-radius: 99px; background: var(--line); position: relative; transition: background .2s; }
.sw span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.sw input:checked + span { background: var(--brand); }
.sw input:checked + span::after { transform: translateX(18px); }
.sw input:focus-visible + span { outline: 3px solid var(--brand-soft); outline-offset: 2px; }
.sw input:disabled + span { opacity: .5; }
.ctoolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 10px; }
.ctoolbar .input { flex: 1 1 200px; min-width: 0; }
.ctoolbar select { flex: 0 1 220px; }
.clist { display: grid; gap: 6px; }
.crow { display: grid; grid-template-columns: 6px minmax(0,1fr) auto auto; gap: 12px; align-items: center; padding: 10px 12px 10px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.crow[hidden] { display: none; }
.cbar { align-self: stretch; border-radius: 0 4px 4px 0; }
.ctitle { font-weight: 600; margin: 2px 0; }
.khead { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: flex-end; margin: 12px 0 14px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--tc, var(--brand)); }
.khead h2 { margin: 4px 0 4px; font-size: 1.5rem; }
.ktabs { margin-bottom: 10px; }
.kdl { margin: 0 0 10px; }
.kpanel { overflow-x: auto; }
.kpanel h2 { font-size: 1.35rem; margin: 0 0 8px; }
.kpanel h3 { font-size: 1.05rem; margin: 18px 0 8px; }
.kpanel .lead { font-size: 1.05rem; color: var(--muted); }
.kpart { font-size: 1.6rem; margin: 28px 0 10px; border-bottom: 2px solid var(--brand); padding-bottom: 6px; }
table.kt { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 6px 0 10px; }
table.kt th { text-align: left; background: #141414; color: #fff; padding: 8px 10px; font-weight: 700; }
table.kt td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.kt tr:nth-child(even) td { background: var(--surface-2); }
.ktiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 12px; }
.ktiles > div { padding: 14px; border-radius: 14px; background: var(--surface-2); border-top: 3px solid var(--brand); }
.ktiles b { display: block; font-size: 1.1rem; }
.ktiles span { font-size: .8rem; color: var(--muted); }
.kbadge { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.kbadge span { padding: 4px 12px; border-radius: 99px; background: #141414; color: #e9c96a; font-size: .78rem; font-weight: 700; }
.ksess { border-left: 3px solid var(--brand); padding: 8px 0 8px 14px; margin: 10px 0; }
.ksess b { display: block; }
.note { padding: 10px 14px; border-radius: 12px; background: var(--brand-soft); font-size: .9rem; margin: 10px 0; }
.kstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 0 0 14px; }
.kstats > div { padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.kstats b { display: block; font-size: 1.5rem; font-family: var(--fh, inherit); }
.kstats span { font-size: .8rem; color: var(--muted); }
.cchk { display: flex; flex-wrap: wrap; gap: 8px; }
.cchk span { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 99px; background: var(--surface-2); color: var(--muted); font-size: .85rem; font-weight: 600; }
.cchk span svg { width: 16px; height: 16px; }
.cchk span.ok { background: rgba(47,158,107,.12); color: var(--ok); }
.cdays { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.cday { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.cflags { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; }
.mhead, .mrow { display: grid; grid-template-columns: 110px 120px minmax(0,1fr) minmax(0,1.3fr) 190px 40px; gap: 6px; align-items: center; margin-bottom: 6px; }
.mhead span { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.archbars { display: grid; gap: 6px; }
.archbars > div { display: grid; grid-template-columns: 170px 1fr 30px; gap: 10px; align-items: center; font-size: .9rem; }
.archbars i { display: block; height: 12px; border-radius: 99px; background: linear-gradient(90deg, #A78318, #e9c96a); min-width: 6px; }
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.pwall { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.pwall figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.pwall figure.off { opacity: .4; }
.pwall img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.pwall figcaption { padding: 6px 8px; font-size: .78rem; color: var(--muted); display: flex; gap: 6px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pbook { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.pbook ul { margin: 0 0 10px; padding-left: 18px; }
.pbook li { margin-bottom: 4px; }
.pscript { display: flex; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-style: italic; font-size: .9rem; }
.pscript svg { width: 18px; flex: none; color: var(--brand); }
.pwel { display: flex; gap: 14px; align-items: flex-start; border-left: 5px solid var(--brand); }
.pwel .icn { width: 34px; flex: none; color: var(--brand); }
.cta2 .stat { font-size: 2.6rem; font-weight: 800; color: var(--brand); }
.mtl { display: grid; gap: 10px; margin: 10px 0 14px; padding: 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.mtg { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 10px; align-items: start; }
.mtl-h { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-top: 8px; }
.mtl-r { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.mtk { flex: none; display: grid; gap: 2px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-size: .85rem; font-weight: 600; max-width: 190px; }
.mtk span { font-size: .72rem; font-weight: 800; color: var(--brand); }
.mtk.on { border-color: var(--brand); background: var(--brand-soft); }
.mctl { display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 12px; }
.mctl .seg { flex: 1 1 auto; }
.mout { display: grid; gap: 6px; max-height: 460px; overflow: auto; }
.mrcp { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; }
.lstages { display: grid; gap: 8px; }
.lstages > div { display: flex; gap: 10px; align-items: flex-start; }
.lstages .num { width: 28px; height: 28px; font-size: .8rem; border-radius: 9px; flex: none; }
.ltrig { display: grid; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.ltrig span { color: var(--muted); }
.abank { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.aq { display: grid; gap: 4px; text-align: left; padding: 12px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; color: var(--text); cursor: pointer; }
.aq:hover { border-color: var(--brand); }
.aq span { font-size: .85rem; color: var(--muted); }
.ldocs { display: grid; gap: 8px; }
.ldocs > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--line); }
.svgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-top: 10px; }
.svtile { display: grid; gap: 6px; align-content: start; text-align: left; padding: 12px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; color: var(--text); cursor: pointer; }
.svtile:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.svtile[hidden] { display: none; }
.svtile .badge { justify-self: start; text-transform: capitalize; }
.svprev { display: grid; gap: 10px; max-height: 55vh; overflow: auto; padding-right: 4px; }
.qprev { padding: 12px; border-radius: 12px; background: var(--surface-2); }
.qprev b { display: block; margin-bottom: 8px; }
.qscale, .qopts { display: flex; flex-wrap: wrap; gap: 6px; }
.qscale span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: .85rem; }
.qscale.nps span { width: 28px; height: 30px; }
.qopts span { padding: 6px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; }
.qopts span.ok { border-color: var(--ok); color: var(--ok); font-weight: 700; }
.qstars { color: #e9b949; font-size: 1.4rem; letter-spacing: 4px; }
.qslider { display: flex; align-items: center; gap: 10px; }
.qslider i { flex: 1; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--brand) 40%, var(--line) 40%); }
.qline { height: 36px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.qline.tall { height: 72px; }
.qmatrix { display: grid; gap: 4px; }
.qmatrix > div { display: flex; justify-content: space-between; gap: 10px; font-size: .85rem; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.qmatrix em { font-style: normal; color: var(--muted); letter-spacing: 3px; }
.ltpl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ltpl .card { display: grid; gap: 6px; align-content: start; }
.pdpa h3 { margin: 18px 0 6px; font-size: 1.2rem; }
.pdpa h3:first-child { margin-top: 0; }
.pdpa h4 { margin: 12px 0 4px; font-size: .95rem; }
.pdpa ul { margin: 0; padding-left: 20px; }
.pdfsheet { position: absolute; left: -10000px; top: 0; width: 760px; padding: 24px; background: #fff; color: #141414; font-size: 14px; }
.pdfsheet table.kt th { background: #141414; color: #fff; }
@media (max-width: 760px) {
  .crow { grid-template-columns: 6px minmax(0,1fr) auto; }
  .crow > a { grid-column: 2 / -1; justify-self: start; }
  .mhead { display: none; }
  .mrow { grid-template-columns: 1fr 1fr; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
  .mrow [data-k=title_en], .mrow [data-k=url], .mrow [data-k=rule] { grid-column: 1 / -1; }
  .mtg { grid-template-columns: 1fr; }
  .mtl-h { padding-top: 0; }
  .archbars > div { grid-template-columns: 110px 1fr 24px; }
}
@media print { .side-nav, .ktabs, .kdl, .khead .btn-row, #shell-top, footer { display: none !important; } .kpanel { border: 0; box-shadow: none; } }
/* profession & career-transition questions */
.prosub { margin-top: 12px; padding: 14px; border-radius: 16px; background: var(--surface-2); border-left: 4px solid var(--brand); }
.qt.sm { font-size: .92rem; margin: 12px 0 8px; }
.prosub .qt.sm:first-child { margin-top: 0; }
.q.prior { border-left: 4px solid var(--brand); padding-left: 14px; }
.page.dz .dztbl.tight td, .page.dz .dztbl.tight th { padding: 3.5px 8px; font-size: 8.6pt; }
/* brochure: fixed A4 pages so PDF pages never stretch */
.pdfmode .page.br, .page.br { width: 210mm; height: 297mm; min-height: 0; }
@media (max-width: 819px) { .paper-stage .page.br { zoom: var(--pz, .45); } }
/* v3.3 brochure */
.page.br { padding: 12mm 13mm 16mm; display: flex; flex-direction: column; font-size: 9.6pt; line-height: 1.45; color: #1f2328; }
.page.br .brbody { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 9px; }
.page.br .kicker { font-size: 7.6pt; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: #A78318; }
.page.br .box { border: 1px solid #e8dcb5; border-radius: 12px; padding: 10px 13px; }
.page.br .box.tint { background: #fbf8ef; }
.page.br .box p { margin: 4px 0 0; }
.page.br ol, .page.br ul { margin: 6px 0 0; padding-left: 18px; }
.page.br li { margin-bottom: 3px; }
.brhero { background: linear-gradient(135deg, #141414 0%, #2b2618 60%, #5c4a14 100%); color: #fff; border-radius: 14px; padding: 18px 20px; }
.brhero .kicker { color: #e9c96a !important; }
.brhero h2 { color: #fff; font-size: 21pt; line-height: 1.12; margin: 6px 0 4px; }
.brhero p { color: #eee6d2; margin: 4px 0 0; }
.brhero .brprom { color: #e9c96a; font-weight: 700; font-size: 11pt; }
.brfacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.brfacts > div { display: grid; grid-template-columns: 26px 1fr; column-gap: 8px; align-items: center; border: 1px solid #e8dcb5; border-radius: 11px; padding: 7px 10px; }
.brfacts .bri { grid-row: span 2; width: 26px; height: 26px; border-radius: 8px; background: #fbf3d9; color: #A78318; display: grid; place-items: center; }
.brfacts .bri svg { width: 16px; height: 16px; }
.brfacts small { font-size: 7.4pt; color: #6b6b6b; text-transform: uppercase; letter-spacing: .06em; }
.brfacts b { font-size: 9.4pt; color: #141414; }
.page.br .br2 { grid-template-columns: 1.15fr .85fr; gap: 9px; }
.brticks { list-style: none; padding-left: 0 !important; }
.brticks li { padding-left: 20px; position: relative; }
.brticks li::before { content: '✓'; position: absolute; left: 0; color: #A78318; font-weight: 800; }
.brmeth { display: grid; gap: 5px; margin-top: 6px; }
.brmeth > div { position: relative; padding: 4px 8px; border-radius: 6px; background: #f6f1e2; overflow: hidden; z-index: 0; }
.brmeth span { position: absolute; left: 0; top: 0; bottom: 0; background: #ecd9a0; z-index: -1; }
.brtbl { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 9pt; }
.brtbl th { text-align: left; background: #141414; color: #fff; padding: 5px 8px; font-size: 8pt; }
.brtbl td { padding: 5px 8px; border-bottom: 1px solid #eee5c9; vertical-align: top; }
.brtbl td.n { width: 22px; font-weight: 800; color: #A78318; }
.brtbl td.r { text-align: right; white-space: nowrap; }
.brtbl td.tm { white-space: nowrap; width: 82px; color: #555; }
.brtbl td.mt { color: #6b6b6b; font-size: 8.4pt; width: 34%; }
.brcta { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: #141414; color: #fff; border-radius: 14px; padding: 12px 16px; }
.brcta b { color: #e9c96a; font-size: 11pt; }
.brcta .small { color: #e6e2d8; font-size: 8.4pt; }
.brqr { background: #fff; border-radius: 10px; padding: 6px; text-align: center; color: #141414; }
.brqr small { display: block; font-size: 7pt; }
.page.br .pfoot { position: static; margin-top: 8px; }
.brpn { position: absolute; right: 13mm; top: 5mm; font-size: 7.5pt; color: #9a8a5a; }
@media print { .page.br { height: 297mm; } }
.brsteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.brsteps > div { display: grid; gap: 3px; align-content: start; }
.brsteps span { width: 24px; height: 24px; border-radius: 50%; background: #141414; color: #e9c96a; display: grid; place-items: center; font-weight: 800; font-size: 9pt; }
.brsteps small { color: #555; font-size: 8.4pt; }
/* contrast: text on dark or brand surfaces always follows the surface's ink colour */
.hero .lead, .hero p, .hero .muted, .hero small, .hero li { color: inherit; }
.hero .lead { opacity: .94; }
.hero .btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.hero .btn.ghost:hover { background: rgba(255,255,255,.12); }
.cta2.dark, .cta2.dark p, .cta2.dark h2, .cta2.dark h3, .cta2.dark .muted { color: #fff; }
.hdocs .d1, .hdocs .d1 .wm b { color: #141414; }
.dzcourse b { color: #7d6210 !important; }
.hero .badge.brand { color: inherit; }
/* catalogue: glowing + invites people to stack; card opens the course details */
.ccard .add { cursor: pointer; z-index: 2; transition: transform .15s; }
.ccard .add:hover { transform: scale(1.15); }
.ccard:not(.on) .add { animation: addglow 2.4s ease-in-out infinite; }
.catgrid .ccard:nth-child(3n+2):not(.on) .add { animation-delay: .5s; }
.catgrid .ccard:nth-child(3n):not(.on) .add { animation-delay: 1s; }
@keyframes addglow { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 55%, transparent); } 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--c) 0%, transparent), 0 0 14px 2px color-mix(in srgb, var(--c) 45%, transparent); } }
@media (prefers-reduced-motion: reduce) { .ccard:not(.on) .add { animation: none; } }
.ccard .more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--c); margin-top: 4px; }
.ccard .more svg { width: 14px; height: 14px; }
.cdet h2 { margin: 4px 0 4px; font-size: clamp(1.3rem, 3vw, 1.7rem); }
.cdet-h { border-left: 5px solid var(--c); padding-left: 14px; margin-bottom: 12px; }
.cdet-p { margin: 0; font-weight: 600; color: var(--c); }
.cdet-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.cdet-facts span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px; background: var(--surface-2); font-size: 13px; font-weight: 600; }
.cdet-facts svg { width: 15px; height: 15px; color: var(--c); }
.cdet-2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.cdet h4 { margin: 14px 0 6px; font-size: .95rem; }
.cdet .ticks { list-style: none; padding: 0; margin: 0; }
.cdet .ticks li { padding-left: 22px; position: relative; margin-bottom: 5px; }
.cdet .ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--c); font-weight: 800; }
.cdet-day { border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; margin-bottom: 6px; }
.cdet-day summary { cursor: pointer; font-weight: 700; padding: 4px 0; }
.cdet-run { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 6px; }
@media (max-width: 640px) { .cdet-2 { grid-template-columns: 1fr; } }
/* sample form preview */
.fmock { display: grid; gap: 10px; max-height: 52vh; overflow: auto; padding: 12px; border-radius: 16px; background: var(--surface-2); }
.fmstep { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.fmh { display: flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 8px; }
.fmh span { width: 24px; height: 24px; border-radius: 8px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: .8rem; }
.fmf { margin-bottom: 8px; } .fmf label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 4px; } .fmf i { color: var(--danger, #c0392b); font-style: normal; } .fmf small { color: var(--muted); font-weight: 400; }
.fmi { height: 34px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); margin-bottom: 4px; }
.fmi.tall { height: 64px; } .fmi.sel, .fmi.seg { display: flex; align-items: center; padding: 0 10px; font-size: .82rem; color: var(--muted); }

/* Google-inspired style: every gold/black accent mapped to the Google palette (generated) */
[data-style="material"] .page.dz { --g: #1A73E8; --g2: #4285F4; --ink: #202124; --cream: #F8F9FA; --line: #DADCE0; }
[data-style="material"] .dzprod { border-left: 1px solid #DADCE0; }
[data-style="material"] .dzwm b i { color: var(--g, #1A73E8); }
[data-style="material"] .dzwm.dark em { color: #D2E3FC; }
[data-style="material"] .dzcard.dark small, [data-style="material"] .dzcard.dark li { color: #E8F0FE; }
[data-style="material"] .dzchip.ghost { background: #F1F3F4; }
[data-style="material"] .dzbands span { background: #F8F9FA; }
[data-style="material"] .dzbands span:nth-child(2) { background: #DADCE0; }
[data-style="material"] .dzav { background: #E8EAED; }
[data-style="material"] .dzbar .t, [data-style="material"] .dzt { background: #E8EAED; }
[data-style="material"] .dzmkt .t { background: #F1F3F4; }
[data-style="material"] .dzmkt .t i.b { background: #AECBFA; }
[data-style="material"] .dzladder span { background: #F1F3F4; }
[data-style="material"] .dzframe { background: #E8EAED; }
[data-style="material"] .dzparts > div { border: 1px solid #AECBFA; }
[data-style="material"] .dzfuture .fr span { color: #D2E3FC; }
[data-style="material"] .dzfuture .blk small { color: #BDC1C6; }
[data-style="material"] .dzfuture .sc { border: 1px solid #AECBFA; }
[data-style="material"] .dzverified small { color: #E8F0FE; }
[data-style="material"] .btn.gold { background: linear-gradient(135deg, #FDE293, #F9AB00); }
[data-style="material"] .demo-banner { background: #1A73E8; color: #FFFFFF; }
[data-style="material"] .wm b i { color: #1A73E8; }
[data-style="material"] .wm.dark em { color: #D2E3FC; }
[data-style="material"] .nav .nphot { border-color: #4285F4; }
[data-style="material"] .hpay span i.l { background: #AECBFA; }
[data-style="material"] .hdocs .d1 { border: 1px solid #DADCE0; color: #202124; }
[data-style="material"] .hdocs .pl { background: #1A73E8; }
[data-style="material"] .hdocs .pl.s { background: #1A73E8; }
[data-style="material"] .hdocs .dot3 i { border: 4px solid #1A73E8; }
[data-style="material"] .hdocs .d2 { background: #1A73E8; color: #FFFFFF; }
[data-style="material"] .hver { color: #202124; }
[data-style="material"] .hver span { background: #1A73E8; color: #FFFFFF; }
[data-style="material"] .chip.gold { background: linear-gradient(135deg, #FDE293, #F9AB00); }
[data-style="material"] .cta2.dark { background: #1A73E8; border-color: #1A73E8; }
[data-style="material"] .rav { border: 4px solid #1A73E8; color: #1A73E8; }
[data-style="material"] .rstack i:first-child { color: #202124; }
[data-style="material"] .dzday .b { background: #F1F3F4; }
[data-style="material"] .dzday .b i { background: #AECBFA; }
[data-style="material"] .dzgap .t { background: #F1F3F4; }
[data-style="material"] table.kt th { background: #1A73E8; }
[data-style="material"] .kbadge span { background: #1A73E8; color: #FFFFFF; }
[data-style="material"] .archbars i { background: linear-gradient(90deg, #1A73E8, #FBBC04); }
[data-style="material"] .pdfsheet { color: #202124; }
[data-style="material"] .pdfsheet table.kt th { background: #1A73E8; }
[data-style="material"] .page.br .kicker { color: #1A73E8; }
[data-style="material"] .page.br .box { border: 1px solid #DADCE0; }
[data-style="material"] .page.br .box.tint { background: #F8F9FA; }
[data-style="material"] .brhero { background: linear-gradient(135deg, #1A73E8 0%, #1967D2 60%, #4285F4 100%); }
[data-style="material"] .brhero .kicker { color: #FFFFFF !important; }
[data-style="material"] .brhero p { color: #E8F0FE; }
[data-style="material"] .brhero .brprom { color: #FFFFFF; }
[data-style="material"] .brfacts > div { border: 1px solid #DADCE0; }
[data-style="material"] .brfacts .bri { background: #E8F0FE; color: #1A73E8; }
[data-style="material"] .brfacts b { color: #202124; }
[data-style="material"] .brticks li::before { color: #1A73E8; }
[data-style="material"] .brmeth > div { background: #F1F3F4; }
[data-style="material"] .brmeth span { background: #AECBFA; }
[data-style="material"] .brtbl th { background: #1A73E8; }
[data-style="material"] .brtbl td { border-bottom: 1px solid #E8EAED; }
[data-style="material"] .brtbl td.n { color: #1A73E8; }
[data-style="material"] .brcta { background: #1A73E8; }
[data-style="material"] .brcta b { color: #FFFFFF; }
[data-style="material"] .brcta .small { color: #E8F0FE; }
[data-style="material"] .brqr { color: #202124; }
[data-style="material"] .brpn { color: #80868B; }
[data-style="material"] .brsteps span { background: #1A73E8; color: #FFFFFF; }
[data-style="material"] .hdocs .d1, [data-style="material"] .hdocs .d1 .wm b { color: #202124; }
[data-style="material"] .dzcourse b { color: #174EA6 !important; }

/* =====================================================================
   v3.4 · Google-inspired (Material) site style, partner logo, building-block courses
   ===================================================================== */
.switch { position: relative; display: inline-block; width: 52px; height: 32px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--surface-2); border: 2px solid var(--muted); transition: .2s; }
.switch span::after { content: ''; position: absolute; top: 5px; left: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: .2s; }
.switch input:checked + span { background: var(--brand); border-color: var(--brand); }
.switch input:checked + span::after { left: 24px; top: 2px; width: 24px; height: 24px; background: var(--brand-ink); }
.switch input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 2px; }
.gdots { display: inline-flex; gap: 5px; } .gdots i { width: 10px; height: 10px; border-radius: 50%; }
.gdots i:nth-child(1) { background: #4285F4; } .gdots i:nth-child(2) { background: #EA4335; } .gdots i:nth-child(3) { background: #FBBC04; } .gdots i:nth-child(4) { background: #34A853; }
.gstyle { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(90deg, #4285F4, #EA4335, #FBBC04, #34A853) border-box; }
.cbprev { display: flex; align-items: center; min-height: 64px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 12px; background: var(--surface); }
.cobrand { display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); flex: none; }
.cobrand small { font-size: 10px; line-height: 1.15; color: var(--muted); max-width: 74px; }
.cobrand img { height: 26px; width: auto; max-width: 120px; display: block; object-fit: contain; }
@media (max-width: 560px) { .cobrand small { display: none; } .cobrand { margin-left: 8px; padding-left: 8px; } .cobrand img { height: 22px; max-width: 80px; } }

/* Material look (switched on from Console → Brand) */
[data-style="material"] { --font: Roboto, 'Google Sans Text', 'Inter', 'Segoe UI', Arial, sans-serif; --fh: 'Google Sans', 'Product Sans', Roboto, 'Inter', Arial, sans-serif;
  --r-sm: 12px; --r: 16px; --r-lg: 28px; --shadow: 0 1px 2px rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15); --shadow-lg: 0 4px 8px 3px rgba(60,64,67,.15), 0 1px 3px rgba(60,64,67,.3);
  --gb: #4285F4; --gr: #EA4335; --gy: #FBBC04; --gg: #34A853; }
[data-style="material"][data-mode="light"] { --bg: #FFFFFF; --surface: #FFFFFF; --surface-2: #F1F3F4; --line: #DADCE0; --text: #202124; --muted: #5F6368; --faint: #80868B; }
[data-style="material"][data-mode="dark"] { --bg: #202124; --surface: #292A2D; --surface-2: #35363A; --line: #3C4043; --text: #E8EAED; --muted: #BDC1C6; --faint: #9AA0A6; }
[data-style="material"] h1 { letter-spacing: -.025em; font-weight: 700; } [data-style="material"] h2 { letter-spacing: -.02em; font-weight: 700; }
[data-style="material"] h3 { font-weight: 500; }
[data-style="material"] .btn { border-radius: 999px; font-weight: 500; letter-spacing: .01em; box-shadow: none; }
[data-style="material"] .btn:not(.ghost):not(.soft):hover { box-shadow: 0 1px 2px rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15); }
[data-style="material"] .btn.ghost { border: 1px solid var(--line); color: var(--brand); background: transparent; }
[data-style="material"] .card { border: 1px solid var(--line); box-shadow: none; border-radius: var(--r-lg); }
[data-style="material"] .card:hover { box-shadow: var(--shadow); }
[data-style="material"] .chip { border-radius: 8px; }
[data-style="material"] .input, [data-style="material"] select, [data-style="material"] textarea { border-radius: 8px; }
[data-style="material"] .eyebrow { color: var(--brand); letter-spacing: .08em; }
[data-style="material"] header.top { background: color-mix(in srgb, var(--surface) 92%, transparent); border-bottom: 0; }
[data-style="material"] header.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--gb) 0 25%, var(--gr) 25% 50%, var(--gy) 50% 75%, var(--gg) 75% 100%); }
[data-style="material"] .hero { background: var(--surface); color: var(--text); }
[data-style="material"] .hero h1 { color: var(--text); }
[data-style="material"] .hero .lead { color: var(--muted); }
[data-style="material"] .hero .btn.ghost { color: var(--brand); border-color: var(--line); }
[data-style="material"] .wm b i { color: var(--gb); }
[data-style="material"] .section:nth-of-type(4n+1) .eyebrow { color: #1A73E8; }
[data-style="material"] .section:nth-of-type(4n+2) .eyebrow { color: #C5221F; }
[data-style="material"] .section:nth-of-type(4n+3) .eyebrow { color: #B06000; }
[data-style="material"] .section:nth-of-type(4n+4) .eyebrow { color: #188038; }
[data-style="material"][data-mode="dark"] .section .eyebrow { color: var(--brand) !important; }

/* Building-block course cards (all styles); full coloured bricks in the Material style */
.ccard.brick { border-top: 0; margin-top: 12px; overflow: visible; padding-top: 18px; }
.ccard.brick::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--c); border-radius: var(--r) var(--r) 0 0; }
.studs { position: absolute; top: -9px; left: 12px; right: 48px; height: 10px; pointer-events: none;
  background: radial-gradient(ellipse 9px 10px at 50% 100%, var(--c) 96%, transparent 100%) 0 0 / 28px 10px space no-repeat; }
.ccard.brick .studs { right: auto; width: 112px; }
.ccard.brick:hover { transform: translateY(-2px); }
.ccard.brick .add { top: -14px; }
[data-style="material"] .ccard.brick { background: var(--c); color: var(--ci); border: 0; border-radius: 10px;
  box-shadow: inset 0 -5px 0 rgba(0,0,0,.18), inset 0 2px 0 rgba(255,255,255,.25), 0 2px 4px rgba(60,64,67,.25); }
[data-style="material"] .ccard.brick::before { display: none; }
[data-style="material"] .ccard.brick .studs { filter: drop-shadow(0 -1px 0 rgba(0,0,0,.12)); }
[data-style="material"] .ccard.brick .cc-h b, [data-style="material"] .ccard.brick .more, [data-style="material"] .ccard.brick .lvl,
[data-style="material"] .ccard.brick .mut, [data-style="material"] .ccard.brick .muted, [data-style="material"] .ccard.brick .cc-f, [data-style="material"] .ccard.brick .cc-f * { color: var(--ci); }
[data-style="material"] .ccard.brick .mut { opacity: .9; }
[data-style="material"] .ccard.brick .add { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.3); }
[data-style="material"] .ccard.brick.on { outline: 3px solid var(--text); outline-offset: 3px; background: var(--c); }

/* Stacked blocks in "Your stack" */
.bstack { display: flex; flex-direction: column-reverse; align-items: center; gap: 0; padding: 14px 0 2px; margin-bottom: 12px; max-height: 420px; overflow: auto; }
.bstack .bk { position: relative; width: var(--w, 100%); background: var(--c); color: var(--ci); border-radius: 6px; padding: 8px 12px 9px; margin-top: 10px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; font-size: 12.5px; line-height: 1.25;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.2), inset 0 2px 0 rgba(255,255,255,.22); }
.bstack .bk .studs { top: -9px; left: 10px; right: 10px; }
.bstack .bk b { font-family: var(--fh); font-size: 12px; } .bstack .bk em { font-style: normal; font-weight: 700; opacity: .9; }
.bstack .bk span:not(.studs) { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bstack .bk.drop { animation: bdrop .45s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes bdrop { 0% { transform: translateY(-60px); opacity: 0; } 70% { transform: translateY(3px); opacity: 1; } 100% { transform: none; } }
.bstack .bbase { order: -1; width: 108%; height: 10px; border-radius: 4px; background: var(--line); margin-top: 6px; }
.bstack .bk.ghost { --c: transparent; background: transparent; color: var(--muted); border: 2px dashed var(--line); grid-template-columns: 1fr; text-align: center; box-shadow: none; }
.bstack .bk.ghost .studs { display: none; }
@media (prefers-reduced-motion: reduce) { .bstack .bk.drop { animation: none; } }
@media (max-width: 560px) { header.top .brand:has(.cobrand) > div:not(:first-child) { display: none; } header.top .brand:has(.cobrand) .wm em { display: none; } .cobrand img { max-width: 64px; } }
@media (max-width: 560px) { header.top .brand:has(.cobrand) > .bdiv, header.top .brand:has(.cobrand) > div { display: none; } header.top .brand:has(.cobrand) { flex: 0 1 auto; } }
@media (max-width: 560px) { header.top .brand:has(.cobrand) { min-width: auto; overflow: visible; }
  .catbar { flex-direction: column; align-items: stretch; } .catbar .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; width: auto; max-width: calc(100% + 16px); flex: none; margin-right: -16px; }
  .catbar .chips .chip { white-space: nowrap; flex: none; } }
@media (max-width: 560px) { header.top:has(.cobrand) .empcta span { display: none; } header.top:has(.cobrand) .empcta { padding: 0 10px; } .catbar > .pill { align-self: flex-start; } .cobrand img { max-width: 56px; } }
/* Material: replace the gold accents with Google colours */
[data-style="material"] .empcta { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); box-shadow: none; }
[data-style="material"] .empcta svg { color: var(--brand-ink); }
[data-style="material"] .empcta .ecl, [data-style="material"] .empcta .ecs { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--brand-ink); }
[data-style="material"] .empcta::after { display: none; }
[data-style="material"] .nav .nphot { border-color: var(--gb); }
[data-style="material"] .carousel { border-color: var(--line); }

/* =====================================================================
   v3.5 · Floating dock, animated menu button, fuller Google-inspired look
   ===================================================================== */
:root { --d0: var(--brand); --d1: var(--brand); --d2: var(--brand); --d3: var(--brand); --d4: var(--brand); --k0: var(--brand-ink); --k1: var(--brand-ink); --k2: var(--brand-ink); --k3: var(--brand-ink); --k4: var(--brand-ink); }
[data-style="material"] { --d0: #1A73E8; --d1: #D93025; --d2: #F9AB00; --d3: #188038; --d4: #1A73E8; --k0: #fff; --k1: #fff; --k2: #202124; --k3: #fff; --k4: #fff; }
body.hasdock { padding-bottom: calc(92px + env(safe-area-inset-bottom)) !important; }
.dock { position: fixed; z-index: 70; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 2px; padding: 6px;
  background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 30px -8px rgba(32,33,36,.28), 0 2px 6px rgba(32,33,36,.08); transition: transform .3s ease, opacity .3s; }
.dock a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 70px; padding: 5px 8px 4px; border-radius: 22px;
  color: var(--muted); text-decoration: none; font-size: 11.5px; font-weight: 600; line-height: 1.1; transition: transform .35s cubic-bezier(.3,1.5,.5,1), color .2s; will-change: transform; }
.dock .di { width: 46px; height: 30px; display: grid; place-items: center; border-radius: 999px; transition: background .25s, color .25s, transform .35s cubic-bezier(.3,1.6,.5,1); }
.dock .di svg { width: 21px; height: 21px; }
.dock a:hover { color: var(--text); } .dock a:hover .di { background: color-mix(in srgb, var(--dc) 12%, transparent); color: var(--dc); }
.dock a:active .di { transform: scale(.88); }
.dock a.on { color: var(--text); } .dock a.on .di { background: var(--dc); color: var(--dk); animation: dockpop .45s cubic-bezier(.3,1.6,.5,1); }
.dock a:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
@keyframes dockpop { 0% { transform: scale(.7); } 100% { transform: scale(1); } }
body.typing .dock { transform: translate(-50%, 160%); opacity: 0; pointer-events: none; }
@media (max-width: 560px) {
  .dock { left: 8px; right: 8px; transform: none; justify-content: space-between; bottom: calc(8px + env(safe-area-inset-bottom)); border-radius: 26px; }
  .dock a { flex: 1; min-width: 0; padding: 5px 2px 4px; font-size: 11px; } .dock .di { width: 100%; max-width: 52px; }
  body.typing .dock { transform: translateY(160%); }
  body.hasdock { padding-bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
}
@media print { .dock { display: none !important; } body.hasdock { padding-bottom: 0 !important; } }
.toast { bottom: calc(100px + env(safe-area-inset-bottom)); }

/* Menu button: the four squares hop in turn so people notice it */
.navall .sq4 rect { transform-box: fill-box; transform-origin: 50% 100%; animation: sqhop 6s ease-in-out infinite; }
.navall .sq4 rect:nth-child(2) { animation-delay: .12s; } .navall .sq4 rect:nth-child(3) { animation-delay: .24s; } .navall .sq4 rect:nth-child(4) { animation-delay: .36s; }
@keyframes sqhop { 0%, 82%, 100% { transform: none; } 86% { transform: translateY(-3px) scale(1.12); } 90% { transform: none; } }
.navall:hover .sq4 rect { animation: sqhop 1.2s ease-in-out infinite; }
[data-style="material"] .navall { background: var(--surface); color: var(--text); border: 1.5px solid var(--line); }
[data-style="material"] .navall .sq4 rect { stroke: none; }
[data-style="material"] .navall .sq4 rect:nth-child(1) { fill: #4285F4; } [data-style="material"] .navall .sq4 rect:nth-child(2) { fill: #EA4335; }
[data-style="material"] .navall .sq4 rect:nth-child(3) { fill: #FBBC04; } [data-style="material"] .navall .sq4 rect:nth-child(4) { fill: #34A853; }
[data-style="material"] .navall.pulse { animation: ringpulse 1.6s ease-out 5; }
@media (prefers-reduced-motion: reduce) { .navall .sq4 rect, .dock a.on .di { animation: none; } }

/* Scroll arrows for the top menu */
[data-style="material"] .navarr { border: 0; background: #E8F0FE; color: #1A73E8; }
[data-style="material"] .navarr.r:not(.off) { animation: nudge 1.4s ease-in-out 3; }
[data-mode="dark"][data-style="material"] .navarr { background: #35363A; color: #8AB4F8; }

/* Header on phones: wordmark + partner logo sit balanced on the left, controls on the right */
@media (max-width: 560px) {
  [data-style="material"] header.top .empcta { display: none; }
  .cobrand { gap: 6px; }
  .cobrand::before { content: '×'; color: var(--muted); font-size: 13px; margin-right: 2px; }
  .cobrand { border-left: 0; padding-left: 0; }
}

/* ---- Google-inspired visual language ---- */
[data-style="material"] body { background: var(--bg); }
[data-style="material"] .carousel { border: 0; background: var(--surface-2); isolation: isolate; }
[data-style="material"] .carousel .slide { background: transparent; position: relative; z-index: 1; }
[data-style="material"] .carousel::before { content: ''; position: absolute; z-index: 0; width: 220px; height: 220px; right: -70px; top: -70px; border-radius: 50%; border: 28px solid #FBBC04; pointer-events: none; }
[data-style="material"] .carousel::after { content: ''; position: absolute; z-index: 0; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 0 100%, #34A853 0 90px, transparent 91px),
    linear-gradient(#EA4335, #EA4335) right 18% bottom 0 / 70px 14px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 2v36M2 20h36M7 7l26 26M33 7L7 33' stroke='%23202124' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") right 26px bottom 40px / 34px 34px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 24'%3E%3Cpath d='M2 20c8 0 8-16 16-16s8 16 16 16 8-16 16-16 8 16 16 16 8-16 12-16' fill='none' stroke='%231A73E8' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") left 42% top 22px / 80px 24px no-repeat; }
[data-mode="dark"][data-style="material"] .carousel::after { opacity: .55; }
[data-style="material"] .slide-art, [data-style="material"] .carousel .sv { position: relative; z-index: 2; }
[data-style="material"] .carousel .slide h1 { font-size: clamp(30px, 4.8vw, 54px); }
@media (max-width: 820px) { [data-style="material"] .carousel::before { width: 140px; height: 140px; border-width: 20px; right: -60px; top: -60px; } [data-style="material"] .carousel::after { background-size: 0 0, 50px 10px, 26px 26px, 60px 18px; } }

/* Multi-colour underline under section headlines */
[data-style="material"] .section h2:not(.card h2)::after { content: ''; display: block; width: 76px; height: 6px; margin-top: 12px; border-radius: 3px;
  background: linear-gradient(90deg, #4285F4 0 25%, #EA4335 25% 50%, #FBBC04 50% 75%, #34A853 75% 100%); }
[data-style="material"] .center h2::after, [data-style="material"] h2.center::after { margin-left: auto; margin-right: auto; }

/* Coloured icon tiles, numbers and steps in turn */
[data-style="material"] .grid > :nth-child(4n+1) { --gc: #1A73E8; --gt: #E8F0FE; } [data-style="material"] .grid > :nth-child(4n+2) { --gc: #D93025; --gt: #FCE8E6; }
[data-style="material"] .grid > :nth-child(4n+3) { --gc: #B06000; --gt: #FEF7E0; } [data-style="material"] .grid > :nth-child(4n+4) { --gc: #188038; --gt: #E6F4EA; }
[data-mode="dark"][data-style="material"] .grid > * { --gt: color-mix(in srgb, var(--gc) 22%, transparent); }
[data-mode="dark"][data-style="material"] .grid > :nth-child(4n+1) { --gc: #8AB4F8; } [data-mode="dark"][data-style="material"] .grid > :nth-child(4n+2) { --gc: #F28B82; }
[data-mode="dark"][data-style="material"] .grid > :nth-child(4n+3) { --gc: #FDD663; } [data-mode="dark"][data-style="material"] .grid > :nth-child(4n+4) { --gc: #81C995; }
[data-style="material"] .grid > * .icn { background: var(--gt, var(--brand-soft)); color: var(--gc, var(--brand)); border-radius: 16px; }
[data-style="material"] .grid > * .stat { color: var(--gc, var(--brand)); }
[data-style="material"] .steps > :nth-child(4n+1) { --gc: #1A73E8; } [data-style="material"] .steps > :nth-child(4n+2) { --gc: #D93025; }
[data-style="material"] .steps > :nth-child(4n+3) { --gc: #E37400; } [data-style="material"] .steps > :nth-child(4n+4) { --gc: #188038; }
[data-style="material"] .steps .sn { color: var(--gc); background: none; } [data-style="material"] .steps .si { background: var(--gc); color: #fff; }
[data-mode="dark"][data-style="material"] .steps .si { color: #202124; }
[data-mode="dark"][data-style="material"] .steps > :nth-child(4n+1) { --gc: #8AB4F8; } [data-mode="dark"][data-style="material"] .steps > :nth-child(4n+2) { --gc: #F28B82; }
[data-mode="dark"][data-style="material"] .steps > :nth-child(4n+3) { --gc: #FDD663; } [data-mode="dark"][data-style="material"] .steps > :nth-child(4n+4) { --gc: #81C995; }

/* Rainbow-outline pill buttons */
[data-style="material"] .btn.ghost { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(90deg, #4285F4, #EA4335, #FBBC04, #34A853) border-box; color: var(--text); }
[data-style="material"] .btn.ghost:hover { background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, linear-gradient(90deg, #4285F4, #EA4335, #FBBC04, #34A853) border-box; }
[data-style="material"] .btn.ghost svg { color: var(--brand); }

/* Keycap bricks: outlined, with a deep bottom edge */
[data-style="material"] .ccard.brick { border: 2px solid #202124; border-radius: 14px;
  box-shadow: inset 0 -7px 0 rgba(0,0,0,.22), inset 0 3px 0 rgba(255,255,255,.28), 0 3px 0 #202124; transition: transform .2s cubic-bezier(.3,1.5,.5,1), box-shadow .2s; }
[data-style="material"] .ccard.brick:hover { transform: translateY(-4px); box-shadow: inset 0 -7px 0 rgba(0,0,0,.22), inset 0 3px 0 rgba(255,255,255,.28), 0 7px 0 #202124; }
[data-style="material"] .ccard.brick:active { transform: translateY(1px); box-shadow: inset 0 -4px 0 rgba(0,0,0,.22), 0 1px 0 #202124; }
[data-style="material"] .ccard.brick .studs { top: -10px; filter: drop-shadow(0 -2px 0 #202124) drop-shadow(2px 0 0 #202124) drop-shadow(-2px 0 0 #202124); }
[data-style="material"] .bstack .bk { border: 2px solid #202124; box-shadow: inset 0 -5px 0 rgba(0,0,0,.22), inset 0 2px 0 rgba(255,255,255,.25); }
[data-style="material"] .bstack .bk .studs { filter: drop-shadow(0 -2px 0 #202124) drop-shadow(2px 0 0 #202124) drop-shadow(-2px 0 0 #202124); }
[data-mode="dark"][data-style="material"] .ccard.brick, [data-mode="dark"][data-style="material"] .bstack .bk { border-color: #0E0E10; }
[data-style="material"] .hlego > div { border: 2px solid #202124; }

/* Footer: four-colour band and shapes */
[data-style="material"] .foot { position: relative; overflow: hidden; border-top: 0; }
[data-style="material"] .foot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(90deg, #4285F4 0 25%, #EA4335 25% 50%, #FBBC04 50% 75%, #34A853 75% 100%); }
[data-style="material"] .foot::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; border: 24px solid #4285F4; opacity: .9; pointer-events: none; }
[data-style="material"] .foot .wrap { position: relative; z-index: 1; }
[data-style="material"] .navall.pulse { animation: gpulse 1.6s ease-out 5; }
@keyframes gpulse { 0% { box-shadow: 0 0 0 0 rgba(66,133,244,.55); } 100% { box-shadow: 0 0 0 12px rgba(66,133,244,0); } }
.dock a.dk { color: var(--muted); } .dock a.dk:hover, .dock a.dk.on { color: var(--text); }
[data-style="material"] .hlego > div { background: var(--c); color: #fff; box-shadow: inset 0 -5px 0 rgba(0,0,0,.2), 0 3px 0 #202124; }
[data-style="material"] .hlego > div b { color: inherit; opacity: .9; }
[data-style="material"] .hlego > div:nth-child(4n+3) { color: #202124; }

/* =====================================================================
   v3.6 · Documents follow the Google-inspired style, co-branding
   ===================================================================== */
.dzbrand { display: inline-flex; align-items: center; gap: 10px; }
.dzcb { display: inline-flex; align-items: center; gap: 6px; padding-left: 10px; border-left: 1px solid var(--line, #DADCE0); }
.dzcb small { font-size: 6.5pt !important; color: var(--mut) !important; max-width: 60px; line-height: 1.15 !important; }
.dzcb img { height: 22px; width: auto; max-width: 100px; object-fit: contain; }
.dzh .dzcb img { height: 18px; }
[data-style="material"] .page.dz { --g: #1A73E8; --g2: #4285F4; --ink: #202124; --cream: #F8F9FA; --line: #DADCE0; --mut: #5F6368; font-family: Roboto, Arial, sans-serif; }
[data-style="material"] .page.dz h2, [data-style="material"] .page.dz h3, [data-style="material"] .dzarch, [data-style="material"] .dzbig, [data-style="material"] .dztag, [data-style="material"] .dzpill { font-family: Roboto, Arial, sans-serif; }
[data-style="material"] .dzwm b { font-family: Roboto, Arial, sans-serif; } [data-style="material"] .dzwm b i { color: #1A73E8; }
[data-style="material"] .page.dz::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, #4285F4 0 25%, #EA4335 25% 50%, #FBBC04 50% 75%, #34A853 75% 100%); }
[data-style="material"] .dzcourse b { color: #1A73E8 !important; }
[data-style="material"] .cta2.dark .eyebrow { color: #FFFFFF !important; opacity: .9; }
[data-style="material"] .cta2.dark { position: relative; overflow: hidden; }
[data-style="material"] .cta2.dark::after { content: ''; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; border: 22px solid #FBBC04; pointer-events: none; }
[data-style="material"] .cta2.dark > * { position: relative; z-index: 1; }
/* Brochure: brand strip on every page (with the partner logo when co-branded) */
.page.br .brtop { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 7px; margin-bottom: 9px; border-bottom: 1px solid #e8dcb5; }
.page.br .brtop > span:last-child { font-size: 7.4pt; letter-spacing: .12em; text-transform: uppercase; color: #6b6b6b; font-weight: 700; }
.page.br .brtop .wm { --text: #141414; --muted: #6b6b6b; } .page.br .brtop .wm b { font-size: 17px; } .page.br .brtop .wm em { font-size: 7px; }
.page.br .brtop .blogo { height: 24px; } .page.br .brtop .mark { display: none; }
.page.br .brtop .cobrand { --line: #e8dcb5; --muted: #6b6b6b; } .page.br .brtop .cobrand img { height: 22px; max-width: 110px; } .page.br .brtop .cobrand small { display: inline; font-size: 7px; }
.page.br .brmk { display: inline-flex; align-items: center; }
[data-style="material"] .page.br { font-family: Roboto, Arial, sans-serif; color: #202124; }
[data-style="material"] .page.br::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, #4285F4 0 25%, #EA4335 25% 50%, #FBBC04 50% 75%, #34A853 75% 100%); }
[data-style="material"] .page.br .brtop { border-bottom-color: #DADCE0; } [data-style="material"] .page.br .brtop .cobrand { --line: #DADCE0; }
[data-style="material"] .page.br h2, [data-style="material"] .page.br h3, [data-style="material"] .page.br h4 { font-family: Roboto, Arial, sans-serif; }
[data-style="material"] .brhero { position: relative; overflow: hidden; border-radius: 18px; }
[data-style="material"] .brhero::before { content: ''; position: absolute; right: -34px; top: -34px; width: 120px; height: 120px; border-radius: 50%; border: 18px solid #FBBC04; }
[data-style="material"] .brhero::after { content: ''; position: absolute; right: 70px; bottom: -26px; width: 64px; height: 64px; border-radius: 50%; background: #34A853; }
[data-style="material"] .brhero > * { position: relative; z-index: 1; }
[data-style="material"] .brfacts > div:nth-child(4n+1) .bri { background: #E8F0FE; color: #1A73E8; } [data-style="material"] .brfacts > div:nth-child(4n+2) .bri { background: #FCE8E6; color: #D93025; }
[data-style="material"] .brfacts > div:nth-child(4n+3) .bri { background: #FEF7E0; color: #B06000; } [data-style="material"] .brfacts > div:nth-child(4n+4) .bri { background: #E6F4EA; color: #188038; }
[data-style="material"] .brfacts > div, [data-style="material"] .page.br .box { border-radius: 14px; }
[data-style="material"] .brsteps > div:nth-child(4n+2) span { background: #D93025; } [data-style="material"] .brsteps > div:nth-child(4n+3) span { background: #FBBC04; color: #202124; } [data-style="material"] .brsteps > div:nth-child(4n+4) span { background: #188038; }
[data-style="material"] .brtbl th { background: #1A73E8; }
[data-style="material"] .brcta { position: relative; overflow: hidden; border-radius: 18px; }
[data-style="material"] .brcta::after { content: ''; position: absolute; left: -30px; bottom: -30px; width: 90px; height: 90px; border-radius: 50%; border: 14px solid #EA4335; opacity: .9; }
[data-style="material"] .brcta > * { position: relative; z-index: 1; }
/* Personal page and course pages: co-branded, cheerful Google look */
.pcobrand { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding: 10px 16px; margin-bottom: 18px; border-radius: 18px; background: #fff; color: #202124; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.pcobrand .wm { --text: #202124; --muted: #5F6368; color: #202124; } .pcobrand .cobrand { --line: #DADCE0; --muted: #5F6368; } .pcobrand .cobrand small { display: inline; }
.pcobrand .mark { color: var(--brand); width: 28px; }
.pprog { font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
[data-style="material"] .phero { background: var(--surface-2); color: var(--text); position: relative; overflow: hidden; isolation: isolate; }
[data-style="material"] .phero::before { content: ''; position: absolute; z-index: 0; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 34px solid #FBBC04; }
[data-style="material"] .phero::after { content: ''; position: absolute; z-index: 0; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 0 100%, #34A853 0 80px, transparent 81px), linear-gradient(#EA4335, #EA4335) right 22% bottom 0 / 80px 14px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 2v36M2 20h36M7 7l26 26M33 7L7 33' stroke='%23202124' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") right 8% bottom 34px / 30px 30px no-repeat; }
[data-mode="dark"][data-style="material"] .phero::after { opacity: .5; }
[data-style="material"] .phero h1, [data-style="material"] .phero .lead { color: var(--text); }
[data-style="material"] .phero .lead b { color: var(--brand); }
[data-style="material"] .phero .tag { background: #E8F0FE !important; color: #1A73E8; }
[data-mode="dark"][data-style="material"] .phero .tag { background: #35363A !important; color: #8AB4F8; }
[data-style="material"] .phero .card { background: var(--surface) !important; color: var(--text) !important; border: 2px solid #202124 !important; border-radius: 16px; box-shadow: 0 4px 0 #202124; }
[data-style="material"] .phero .grid > :nth-child(1) b, [data-style="material"] .phero .grid > :nth-child(1) .stat { color: #1A73E8; }
[data-style="material"] .phero .grid > :nth-child(2) b, [data-style="material"] .phero .grid > :nth-child(2) .stat { color: #D93025; }
[data-style="material"] .phero .grid > :nth-child(3) b, [data-style="material"] .phero .grid > :nth-child(3) .stat { color: #188038; }
[data-mode="dark"][data-style="material"] .phero .card { border-color: #5F6368 !important; box-shadow: 0 4px 0 #5F6368; }
[data-style="material"] .pcobrand { border: 2px solid #202124; box-shadow: 0 4px 0 #202124; }
[data-style="material"] #s1, [data-style="material"] #s5, [data-style="material"] #obj { --sc: #1A73E8; } [data-style="material"] #s2, [data-style="material"] #s6, [data-style="material"] #who { --sc: #D93025; }
[data-style="material"] #s3 { --sc: #F9AB00; } [data-style="material"] #s4 { --sc: #188038; }
[data-style="material"] .card[id] .step-head .num { background: var(--sc, var(--brand)); color: #fff; border-radius: 50%; }
[data-style="material"] #s3 .step-head .num { color: #202124; }
[data-style="material"] .card[id^="s"] { border-top: 6px solid var(--sc, var(--brand)); }
[data-style="material"] .card[id^="s"] .step-head > span:last-child { color: var(--sc) !important; }
[data-mode="dark"][data-style="material"] #s1, [data-mode="dark"][data-style="material"] #s5 { --sc: #8AB4F8; } [data-mode="dark"][data-style="material"] #s2, [data-mode="dark"][data-style="material"] #s6 { --sc: #F28B82; }
[data-mode="dark"][data-style="material"] #s3 { --sc: #FDD663; } [data-mode="dark"][data-style="material"] #s4 { --sc: #81C995; }
[data-mode="dark"][data-style="material"] .card[id] .step-head .num { color: #202124; }
[data-style="material"] .pill button.on, [data-style="material"] .daytabs button.on { background: var(--brand); color: var(--brand-ink); }
/* Footer brand block with the partner logo */
.foot .cobrand { margin: 10px 0 0; }
/* Featured programme */
.progchip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.progchip svg { width: 15px; height: 15px; }
[data-style="material"] .progchip { background: #202124; color: #fff; } [data-style="material"] .progchip svg { color: #FBBC04; }
[data-mode="dark"][data-style="material"] .progchip { background: #E8EAED; color: #202124; } [data-mode="dark"][data-style="material"] .progchip svg { color: #E37400; }
.nav .npprog { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); font-weight: 700; }
.nav .npprog svg { color: var(--brand); }
[data-style="material"] .nav .npprog { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(90deg, #4285F4, #EA4335, #FBBC04, #34A853) border-box; color: var(--text); }
[data-style="material"] .nav .npprog svg { color: #F9AB00; }
.nav .npprog.on, [data-style="material"] .nav .npprog.on { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); } .nav .npprog.on svg { color: var(--brand-ink); }
.ptower { padding-top: 20px; } .ptower .bk { font-size: 13px; padding: 10px 14px 11px; }
.carousel .progslide .sv { align-self: center; }
.proghero .pgrid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; }
.proghero h1 { font-size: clamp(32px, 5vw, 56px); margin: 6px 0 8px; line-height: 1.08; }
.proghero .ptag { font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; color: var(--brand); margin: 0 0 10px; }
.proghero .pcobrand { margin-bottom: 16px; }
@media (max-width: 820px) { .proghero .pgrid { grid-template-columns: 1fr; } }
.pfacts .card { text-align: left; } .pfacts .stat { font: 800 30px/1.1 var(--fh); margin-top: 8px; }
.psteps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 980px) { .psteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 520px) { .psteps { grid-template-columns: 1fr; } }
.psteps .card { position: relative; } .psteps h3 { margin: 10px 0 4px; font-size: 16px; } .psteps p { margin: 0; }
.pnum { position: absolute; right: 14px; top: 10px; font: 800 28px/1 var(--fh); color: var(--gc, var(--brand)); opacity: .9; }
.pticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; } .pticks li { display: flex; gap: 10px; align-items: flex-start; } .pticks svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 2px; }
[data-style="material"] .proghero { position: relative; }
[data-style="material"] .proghero::before { content: ''; position: absolute; z-index: -1; right: -40px; top: 10px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid #FBBC04; opacity: .9; }
[data-style="material"] .proghero::after { content: ''; position: absolute; z-index: -1; left: -30px; bottom: -10px; width: 110px; height: 110px; border-radius: 50%; background: #34A853; }
[data-style="material"] .pticks li:nth-child(4n+1) svg { color: #1A73E8; } [data-style="material"] .pticks li:nth-child(4n+2) svg { color: #D93025; } [data-style="material"] .pticks li:nth-child(4n+3) svg { color: #F9AB00; } [data-style="material"] .pticks li:nth-child(4n+4) svg { color: #188038; }
.proghero .bk span:not(.studs) { -webkit-line-clamp: 2; }
.pmeta { display: flex; gap: 8px; align-items: center; margin-top: 14px; } .pmeta svg { width: 18px; height: 18px; flex: none; color: var(--brand); }
@media (max-width: 820px) {
  [data-style="material"] .proghero::before { width: 120px; height: 120px; border-width: 18px; right: -70px; top: -50px; }
  [data-style="material"] .proghero::after { width: 70px; height: 70px; left: -40px; }
  [data-style="material"] .carousel::after { background-size: 0 0, 50px 10px, 26px 26px, 0 0; }
}
[data-style="material"] .proghero { overflow: hidden; isolation: isolate; padding-left: 4px; padding-right: 4px; }
[data-style="material"] .phero .grid > div { background: var(--surface) !important; border: 2px solid #202124; box-shadow: 0 4px 0 #202124; }
[data-style="material"] .phero .grid > div:nth-child(1) > div:first-child { color: #1A73E8; } [data-style="material"] .phero .grid > div:nth-child(2) > div:first-child { color: #D93025; } [data-style="material"] .phero .grid > div:nth-child(3) > div:first-child { color: #188038; }
[data-mode="dark"][data-style="material"] .phero .grid > div { border-color: #5F6368; box-shadow: 0 4px 0 #5F6368; }
[data-mode="dark"][data-style="material"] .phero .grid > div:nth-child(1) > div:first-child { color: #8AB4F8; } [data-mode="dark"][data-style="material"] .phero .grid > div:nth-child(2) > div:first-child { color: #F28B82; } [data-mode="dark"][data-style="material"] .phero .grid > div:nth-child(3) > div:first-child { color: #81C995; }
[data-style="material"] .tabs button.on { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
@media (max-width: 820px) { [data-style="material"] .phero::before { width: 130px; height: 130px; border-width: 20px; right: -70px; top: -60px; } [data-style="material"] .phero::after { background-size: 0 0, 50px 10px, 0 0; } }
.pcobrand .pprog { background: #E8F0FE; color: #1967D2; text-decoration: none; }

[data-style="material"] .dzpill.gold { color: #FFFFFF; } [data-style="material"] .dzpill.dark { color: #8AB4F8; }
[data-style="material"] .brhero { padding-right: 96px; }
[data-style="material"] .brhero::before { right: -38px; top: auto; bottom: -44px; width: 110px; height: 110px; border-width: 16px; }
[data-style="material"] .brhero::after { right: 22px; top: 16px; bottom: auto; width: 34px; height: 34px; }
[data-style="material"] .dzbands span:nth-child(3), [data-style="material"] .dzladder span.on { background: #1A73E8; color: #fff; }
