/* StreamSoft Learn - teal and white, the StreamSoft palette (Sluice's teal #0D9488, header #0F766E). */
:root {
  --teal: #0D9488;
  --teal-dark: #0F766E;
  --teal-deep: #115E59;
  --teal-tint: #CCFBF1;
  --teal-wash: #F0FDFA;
  --ink: #1A1A1A;
  --muted: #5D5D5D;
  --faint: #8A8A8A;
  --line: #E5E5E5;
  --bg: #F9F9F9;
  --card: #FFFFFF;
  --danger: #C42B1C;
  --ok: #0F7B0F;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 16px rgba(15,118,110,.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
a { color: var(--teal-dark); }
a:hover { color: var(--teal-deep); }
h1, h2, h3 { font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
/* 1.35.1: a page laid out as a grid (SkillVerify's team page and others) let its column grow to its widest table, so
   the page scrolled sideways on a phone. Content columns may now shrink; wide tables scroll inside their own box. */
main .wrap > * { min-width: 0; }
.narrow { max-width: 460px; }

/* ---- The top bar (1.50.3; user: "make the top bar uniform across Learn, SkillVerify, Teach and Team Skills") ----
   One bar on every page of the four sites, home pages included: <header class="top"><div class="wrap"> brand, then
   <nav> with the site's own links, FAQ, the How-To booklet (common.js), the account link (.acct: Sign in / My account
   / Sign out) and the page's main action (.cta) last. Teal #0F766E with white, 64px (56px on phones), stays at the top
   while the page scrolls. The link to the page you are on is marked (aria-current="page"). On phones, and whenever the
   links don't fit on one line, they fold into a Menu button (common.js) that drops them down as a list. Rem sizes, so
   a page's own body font size (the home pages use 17px) never changes the bar. */
html { scroll-padding-top: 76px; }   /* a #section link lands below the bar, not under it */
.top { position: sticky; top: 0; z-index: 30; background: var(--teal-dark); color: #fff; padding-top: env(safe-area-inset-top, 0px); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; color: #fff; text-decoration: none; font-size: 1.125rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.brand:hover { color: #fff; }
.brand .mark { flex: none; width: 34px; height: 34px; border-radius: 9px; background: #fff; color: var(--teal-dark); display: grid; place-items: center; font-size: .85rem; font-weight: 800; letter-spacing: .02em; }
.brand small { font-size: .8125rem; font-weight: 400; opacity: .85; }
.top nav { flex: none; margin-left: auto; display: flex; align-items: center; gap: 4px; }
.top nav a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border-radius: 8px; color: #fff; text-decoration: none; font-size: .9375rem; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.top nav a:hover { background: rgba(255,255,255,.14); color: #fff; }
.top nav a[aria-current="page"] { background: rgba(255,255,255,.16); box-shadow: inset 0 -2px 0 #fff; }
.top nav a.acct { margin-left: 8px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.top nav a.acct:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.top nav a.cta { margin-left: 8px; background: #fff; color: var(--teal-dark); font-weight: 600; }
.top nav a.acct + a.cta { margin-left: 4px; }
.top nav a.cta:hover { background: var(--teal-tint); color: var(--teal-deep); }
.top a:focus-visible, .top button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.top-menu-btn { display: none; place-items: center; flex: none; margin-left: auto; width: 42px; height: 42px; padding: 0; border-radius: 8px; border: 0; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); background: transparent; color: #fff; cursor: pointer; }
.top-menu-btn:hover { background: rgba(255,255,255,.14); }
.top-menu-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
/* Folded: the links hide and the Menu button shows; open, they drop down under the bar as a list (full width on a
   phone, a panel at the right on a wider screen). Phones fold in CSS too, so nothing jumps while the page loads. */
@media (max-width: 760px) { .top .wrap { min-height: 56px; gap: 12px; } .top nav { display: none; } }
@media (max-width: 360px) { .brand small { display: none; } }
.top.top-folded nav { display: none; }
.top.top-folded .top-menu-btn { display: grid; }
.top.top-folded.open nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 8px 12px 14px;
  background: var(--teal-dark); border-top: 1px solid rgba(255,255,255,.16); box-shadow: 0 16px 28px -14px rgba(0,0,0,.4); max-height: calc(100vh - 64px); overflow-y: auto; }
.top.top-folded.open nav a { min-height: 44px; padding: 0 14px; font-size: 1rem; }
.top.top-folded.open nav a.acct, .top.top-folded.open nav a.cta { margin: 6px 0 0; justify-content: center; }
@media (min-width: 761px) { .top.top-folded.open nav { left: auto; right: max(12px, calc((100% - 1120px) / 2 + 12px)); width: 300px; border-radius: 0 0 12px 12px; } }
/* The How-To booklet (common.js puts it after FAQ): a round icon in the bar, a "How-to guides" row in the open menu. */
.top nav .howto-btn { position: relative; display: inline-grid; place-items: center; flex: none; width: 38px; min-height: 0; height: 38px; padding: 0; margin-left: 4px;
  border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; color: inherit; }
.howto-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.howto-btn::after { content: "How-to guides"; position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0; white-space: nowrap;
  background: #0b3b37; color: #fff; font: 500 12px/1.2 system-ui, sans-serif; padding: 6px 9px; border-radius: 6px; pointer-events: none;
  opacity: 0; transition: opacity .15s; z-index: 50; }
.howto-btn:hover::after, .howto-btn:focus-visible::after { opacity: 1; }
.top.top-folded.open nav .howto-btn { display: flex; justify-content: flex-start; gap: 12px; width: auto; height: 44px; margin: 0; padding: 0 14px; border-radius: 8px; box-shadow: none; }
.top.top-folded.open nav .howto-btn::after { position: static; translate: none; opacity: 1; background: none; padding: 0; font: inherit; }
@media print { .top { position: static; } .howto-btn, .top-menu-btn { display: none !important; } }


/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--teal-dark); background: var(--teal-dark); color: #fff; padding: 10px 18px; border-radius: 6px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }   /* 1.16.7: teal-dark buttons (white on #0D9488 failed WCAG AA contrast) */
.btn.ghost { background: transparent; color: var(--teal-dark); }
.btn.ghost:hover { background: var(--teal-wash); }
.btn.small { padding: 6px 12px; font-size: .9rem; }
.btn.danger { background: #fff; color: var(--danger); border-color: var(--danger); }
.btn:disabled { opacity: .55; cursor: default; }

/* Sections and cards */
section { padding: 56px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.feature .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-tint); color: var(--teal-dark); display: grid; place-items: center; font-weight: 800; margin-bottom: 10px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.price { font-size: 1.6rem; font-weight: 700; color: var(--teal-dark); }
.price small { font-size: .9rem; font-weight: 400; color: var(--muted); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-deep); font-size: .8rem; font-weight: 600; }
.pill.grey { background: #EEE; color: var(--muted); }
.pill.red { background: #FDE7E4; color: var(--danger); }
.pill.amber { background: #FEF3C7; color: #92400E; }
.exam-card { display: flex; flex-direction: column; gap: 10px; }
/* Exams grouped by certification body (1.4.0): a heading and its grid; the ones coming soon are a single line. */
.vendor-group { margin-top: 28px; }
.vendor-group:first-child { margin-top: 8px; }
.vendor-group .grid { margin-top: 12px; }
h3.vendor { margin: 0; display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; }
h3.vendor .small { font-weight: 400; flex: 1 1 auto; min-width: 0; line-height: 1.35; }
h3.vendor.soon .small { color: var(--muted); }
/* Every body's mark is the same size, logo or name, so the groups line up. */
/* Emblem: deep teal tile with a soft top highlight, the icon on a light chip, semibold name. */
.vbadge { display: inline-flex; align-items: center; justify-content: flex-start; gap: 10px; width: 168px; height: 44px; border-radius: 10px;
  padding: 0 14px 0 8px; box-sizing: border-box; color: #fff; font-size: .95rem; font-weight: 600; letter-spacing: .01em; flex: none;
  background: linear-gradient(135deg, #14877E 0%, #0F766E 45%, #115E59 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 2px rgba(17,94,89,.25), 0 4px 10px -6px rgba(17,94,89,.45); }
.vchip { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.vbadge svg { width: 18px; height: 18px; }
.vbadge.logo { justify-content: center; padding: 0; }
.vbadge.logo { background: #fff; border: 1px solid var(--line); }
.vbadge img { max-width: 104px; max-height: 28px; }
h3.vendor.soon .vbadge { background: #EEF7F6; color: #0F766E; box-shadow: inset 0 0 0 1px #CDE7E3; }
h3.vendor.soon .vchip { background: #fff; box-shadow: inset 0 0 0 1px #CDE7E3; }
.vendor-group:has(h3.soon) { margin-top: 12px; }
.exam-card .buy { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.domains { margin: 0; padding-left: 18px; color: var(--muted); font-size: .9rem; }
.notice { border-left: 4px solid var(--teal); background: var(--teal-wash); padding: 12px 16px; border-radius: 6px; margin: 16px 0; }
.notice.error { border-color: var(--danger); background: #FDF1EF; }
.notice.ok { border-color: var(--ok); background: #EEF8EE; }

/* Forms */
form .field { margin-bottom: 14px; }
/* 1.35.1: the same space for fields in a card that isn't a <form> (account pages, Close the organisation): before, the
   next label or button sat flush against the box above. Inline rows that set .field { margin: 0 } come later and win. */
.card .field { margin-bottom: 14px; }
/* 1.50.2: only a field that really ends the card loses its space. Before, any last field inside a wrapper (the sign-in
   pages' #step1, which holds Email and Password) lost it too, so the button after the wrapper sat on the password box. */
.card > .field:last-child, .card > form > .field:last-child { margin-bottom: 0; }
/* 1.50.2: a hint under a box (Create account's "At least 10 characters") sat 2px under it; a note after a form (Learn's
   Choose a new password) sat right on the button. */
.field > :is(input, select, textarea, .pw-wrap) + :is(.small, .hint, small) { display: block; margin-top: 6px; }
.card form + p { margin-top: 14px; }
label { display: block; font-weight: 600; margin-bottom: 4px; font-size: .95rem; }
input[type=email], input[type=password], input[type=text], input[type=number], input[type=date], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #D1D1D1; border-radius: 6px; font: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
/* 1.50.2: show-password eye (common.js) inside the right edge of every password box. */
.pw-wrap { position: relative; display: block; width: 100%; }
.pw-wrap > input { width: 100%; padding-right: 44px; }
.pw-eye { position: absolute; top: 50%; right: 4px; translate: 0 -50%; width: 36px; height: 36px; display: grid; place-items: center;
  margin: 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted, #5f6b6a); cursor: pointer; box-shadow: none; }
.pw-eye:hover { color: var(--teal); background: rgba(0, 128, 128, .08); }
.pw-eye:focus-visible { outline: 2px solid var(--teal); outline-offset: 0; }
.pw-eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
input::-ms-reveal, input::-ms-clear { display: none; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.auth { padding: 48px 0 72px; }
.auth .card { padding: 28px; }

/* Tables */
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .85rem; }
.table-wrap { overflow-x: auto; }
td select { min-width: 120px; }   /* 1.35.1: a role picker in a table squeezed to its arrow on a phone */

/* Account tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; flex-wrap: wrap; }
.tabs button { background: none; border: none; padding: 10px 14px; font: inherit; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; }
.tabs button.on { color: var(--teal-dark); border-bottom-color: var(--teal); font-weight: 600; }
[hidden] { display: none !important; }

/* Bars */
.bar { height: 10px; border-radius: 6px; background: #EEE; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--teal); }

footer { background: var(--teal-deep); color: #E6FFFA; padding: 28px 0; font-size: .9rem; }
footer a { color: #fff; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; }

/* ---- Exams as a tile per certifying body, with search and topic chips (1.4.0 - the "preview 1" design) ---- */
.exam-search { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 14px; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 6px 16px -10px rgba(11,31,29,.25); color: var(--muted); margin: 6px 0 14px; cursor: text; }
.exam-search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 15px; background: transparent; color: var(--ink, #1A1A1A); min-width: 0; }
.exam-search:focus-within { box-shadow: 0 0 0 2px var(--teal), 0 6px 16px -10px rgba(11,31,29,.25); }
.exam-search kbd { font: 600 11px/1 inherit; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 4px 7px; background: #F7FAFA; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.topic-chips .chip { font: inherit; font-size: 13px; padding: 6px 14px; border-radius: 999px; border: 0; background: #fff; box-shadow: 0 0 0 1px var(--line); color: #2D3B3A; cursor: pointer; }
.topic-chips .chip.on { background: var(--teal-dark); color: #fff; box-shadow: none; }
.result-line { color: var(--muted); margin: 0 0 12px; }
.back-link { font: inherit; font-weight: 600; color: var(--teal-dark); background: none; border: 0; padding: 0; margin: 0 0 14px; cursor: pointer; }
.vendor-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.vtile { position: relative; border-radius: 18px; padding: 20px 20px 18px; min-height: 196px; overflow: hidden; outline: none;
  transition: transform .15s ease, box-shadow .15s ease; }
.vtile.live { color: #fff; cursor: pointer;
  background: radial-gradient(120% 140% at 100% 0%, #1AA394 0%, transparent 55%), linear-gradient(140deg, #0E6C65 0%, #0B524D 100%);
  box-shadow: 0 18px 30px -18px rgba(11,82,77,.75), inset 0 1px 0 rgba(255,255,255,.18); }
.vtile.live::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(204,251,241,.22), transparent 65%); pointer-events: none; }
.vtile.live:hover, .vtile.live:focus-visible { transform: translateY(-3px);
  box-shadow: 0 26px 40px -18px rgba(11,82,77,.85), inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 2px #5EEAD4; }
.vtile.soon { color: #115E59; background: linear-gradient(140deg, #FFFFFF 0%, #F1F8F7 100%); box-shadow: 0 0 0 1px var(--line), 0 10px 22px -18px rgba(11,31,29,.4); }
.vtop { display: flex; align-items: center; justify-content: space-between; }
.vico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.vico .vchip { background: none; box-shadow: none; width: auto; height: auto; }
.vico svg { width: 26px; height: 26px; }
.vico.logo { background: #fff; }
.vico.logo img { max-width: 40px; max-height: 40px; }
.vtile.soon .vico { background: #EEF7F6; box-shadow: inset 0 0 0 1px #CDE7E3; }
.vcount { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.vtile.soon .vcount { background: #EEF7F6; box-shadow: inset 0 0 0 1px #CDE7E3; color: #0F766E; }
.vtile h3 { font-size: 22px; line-height: 1.1; margin: 18px 0 4px; color: inherit; letter-spacing: -.01em; }
.vtile p { margin: 0 0 14px; font-size: 13.5px; opacity: .88; max-width: 88%; }
.vtile.soon p { color: var(--muted); opacity: 1; }
.vcodes { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; padding-right: 44px; }
.vcodes span { font: 700 11px/1 "Cascadia Code", Consolas, monospace; padding: 5px 8px; border-radius: 7px; background: rgba(255,255,255,.12); }
.vgo { position: absolute; right: 18px; bottom: 16px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--vc2, #115E59); display: grid; place-items: center; font-weight: 700; }

/* A colour for each company (1.29.4, user: "make the site cards the same as the desktop app.. each card has a diff
   color"): the app's own presets from UI/ColourTheme.cs (ISC2 Indigo, ISACA Rose, CompTIA Ocean, Microsoft Amber, AWS
   Forest, Cisco Graphite, EC-Council Violet) - deliberately not the bodies' brand colours. --vc is the main colour, --vc2
   the darker one, --vcl a light tint for rings. A body without a class keeps teal. Tiles: .vtile (exam browser); js
   adds v-<slug>. */
.vtile { --vc: #0E6C65; --vc2: #0B524D; --vcl: #5EEAD4; }
.v-isc2 { --vc: #4338CA; --vc2: #3730A3; --vcl: #A5B4FC; }
.v-isaca { --vc: #BE123C; --vc2: #9F1239; --vcl: #FDA4AF; }
.v-comptia { --vc: #0369A1; --vc2: #075985; --vcl: #7DD3FC; }
.v-microsoft { --vc: #B45309; --vc2: #92400E; --vcl: #FCD34D; }
.v-aws { --vc: #15803D; --vc2: #166534; --vcl: #86EFAC; }
.v-cisco { --vc: #334155; --vc2: #1E293B; --vcl: #CBD5E1; }
.v-ec-council { --vc: #7C3AED; --vc2: #6D28D9; --vcl: #C4B5FD; }
/* Wave 3 (2026-11-23): the app's own colours for the ten new bodies (UI/ColourTheme.cs VendorOwn) - again not their brands. */
.v-google-cloud { --vc: #0E7490; --vc2: #155E75; --vcl: #67E8F9; }
.v-linux-foundation { --vc: #1E3A8A; --vc2: #1E40AF; --vcl: #93C5FD; }
.v-hashicorp { --vc: #92400E; --vc2: #78350F; --vcl: #FCD34D; }
.v-databricks { --vc: #4D7C0F; --vc2: #3F6212; --vcl: #BEF264; }
.v-snowflake { --vc: #C2410C; --vc2: #9A3412; --vcl: #FDBA74; }
.v-pmi { --vc: #A21CAF; --vc2: #86198F; --vcl: #F0ABFC; }
.v-iapp { --vc: #DB2777; --vc2: #BE185D; --vcl: #F9A8D4; }
.v-peoplecert { --vc: #0F5F73; --vc2: #0C4A5A; --vcl: #7DD3FC; }
.v-palo-alto-networks { --vc: #B91C1C; --vc2: #991B1B; --vcl: #FCA5A5; }
.v-fortinet { --vc: #047857; --vc2: #065F46; --vcl: #6EE7B7; }
.vtile.live[class*=" v-"] {
  background: radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.2) 0%, transparent 55%), linear-gradient(140deg, var(--vc) 0%, var(--vc2) 100%);
  box-shadow: 0 18px 30px -18px var(--vc2), inset 0 1px 0 rgba(255,255,255,.18); }
.vtile.live[class*=" v-"]:hover, .vtile.live[class*=" v-"]:focus-visible {
  box-shadow: 0 26px 40px -18px var(--vc2), inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 2px var(--vcl); }

/* My account > Learn (1.4.0): carry on, progress by domain, bookmarks. */
.carry-on { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; border-left: 4px solid var(--teal); }
.carry-on h3 { margin: 0 0 2px; }
.bm-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }

/* ---- Home page hero: "Aurora" (1.4.0, the user's pick) - StreamSoft teal and white only ---- */
.aurora { position: relative; overflow: hidden; color: #fff; padding: 0 max(20px, calc((100vw - 1296px) / 2)) 80px;
  background: radial-gradient(60% 70% at 85% 10%, rgba(45,212,191,.35), transparent 60%), radial-gradient(50% 60% at 10% 90%, rgba(20,135,126,.45), transparent 60%), linear-gradient(160deg, #062F2C 0%, #0B4A45 55%, #062F2C 100%); }
.aurora::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); }
.aurora-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; margin-top: 44px; }
.aurora-eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; padding: 7px 14px; border-radius: 999px; background: rgba(94,234,212,.12); box-shadow: inset 0 0 0 1px rgba(94,234,212,.35); color: #99F6E4; }
.aurora-eyebrow b { background: #5EEAD4; color: #04211F; border-radius: 999px; padding: 1px 8px; font-size: 11.5px; }
.aurora h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; margin: 22px 0 18px; color: #fff; }
.aurora h1 em { font-style: normal; background: linear-gradient(90deg, #5EEAD4, #CCFBF1 60%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.aurora .lead { font-size: 1.15rem; line-height: 1.6; color: rgba(255,255,255,.8); max-width: 560px; margin: 0 0 30px; }
.aurora-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-mint, .btn-glass { display: inline-flex; align-items: center; padding: 15px 22px; border-radius: 14px; font-weight: 600; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn-mint { background: linear-gradient(135deg, #5EEAD4, #2DD4BF); color: #04211F; box-shadow: 0 14px 30px -12px rgba(45,212,191,.7); }
.btn-mint:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(45,212,191,.85); }
.btn-glass { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.btn-glass:hover { background: rgba(255,255,255,.08); }
.aurora-more { align-self: center; color: #99F6E4; font-weight: 600; text-decoration: none; padding: 8px 4px; }
.aurora-more:hover { color: #fff; text-decoration: underline; }
.aurora-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.aurora-stats b { display: block; font-size: 1.9rem; font-weight: 800; font-variant-numeric: tabular-nums; } .aurora-stats span { font-size: 13px; color: rgba(255,255,255,.65); }
.aurora-stage { position: relative; height: 540px; }
.aurora-window { position: absolute; inset: 30px 10px 50px 30px; border-radius: 20px; background: rgba(255,255,255,.97); color: #0B1F1D; overflow: hidden;
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.4); transform: perspective(1400px) rotateY(-9deg) rotateX(4deg); }
.aw-bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; background: linear-gradient(90deg, #0B524D, #0F766E); color: #fff; font-size: 14px; font-weight: 600; }
.aw-timer { padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.16); font: 600 13px "Cascadia Code", Consolas, monospace; }
.aw-body { padding: 24px 28px; } .aw-qn { color: #5D6B69; font-size: 13px; margin-bottom: 8px; }
.aw-q { font-size: 15.5px; line-height: 1.55; margin: 0 0 16px; }
.aw-opt { padding: 11px 14px; border-bottom: 1px solid #E3ECEA; font-size: 14px; display: flex; gap: 12px; align-items: center; }
.aw-opt i { width: 18px; height: 18px; border-radius: 50%; border: 1.6px solid #7A8A88; flex: none; }
.aw-opt.sel { border: 2px solid #0D9488; border-radius: 10px; background: #E6FAF6; } .aw-opt.sel i { border-color: #0D9488; background: #0D9488; box-shadow: inset 0 0 0 4px #E6FAF6; }
.aurora-float { position: absolute; border-radius: 16px; background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 20px 40px -20px rgba(0,0,0,.5); padding: 16px 18px; color: #fff; }
.af-score { right: -10px; top: -4px; width: 210px; } .af-score b { font-size: 2.1rem; font-weight: 800; } .af-score div { font-size: 12px; opacity: .78; }
.af-pass { float: right; margin-top: 8px; background: #5EEAD4; color: #04211F; font-weight: 700; font-size: 12px; border-radius: 999px; padding: 4px 10px; }
.af-domains { left: -36px; bottom: -44px; width: 270px; font-size: 13px; background: rgba(6,47,44,.88); }
.af-bar { height: 7px; border-radius: 6px; background: rgba(255,255,255,.18); margin: 6px 0 10px; overflow: hidden; }
.af-bar span { display: block; height: 100%; background: linear-gradient(90deg, #2DD4BF, #99F6E4); border-radius: 6px; }
/* The hero's domain bars start at a quarter and flow slowly to their own widths (the inline style), one after another. */
.af-bar span { animation: af-grow 2.4s cubic-bezier(.22,.61,.36,1) .3s both; }
.af-bar:nth-of-type(2) span { animation-delay: .55s; } .af-bar:nth-of-type(3) span { animation-delay: .8s; }
@keyframes af-grow { from { width: 25%; } }
@media (prefers-reduced-motion: reduce) { .af-bar span { animation: none; } }
/* 1.37.1: the hero's company strip (.aurora-strip, .as-tile) is gone - the exam browser right under the hero is the one
   place for every company and exam. */
.exams-note { margin: 22px 0 0; }
@media (max-width: 900px) {
  .aurora-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
  .aurora-stage { height: 440px; margin: 0 12px; }
  .af-domains { left: 0; } .af-score { right: 0; }
}
@media (max-width: 520px) { .aurora-stage { display: none; } }

/* Installed web app (1.9.1): with viewport-fit=cover and a translucent status bar (iPad/iPhone home-screen app) the page
   runs under the status bar, so the top bar starts below it and its colour fills the strip - no line at the top.
   env() is 0 in a normal browser tab, so nothing moves there. 1.50.3: the rule is with the bar's own (".top"). */

/* ---- My progress (1.16.0): /progress, a page of its own (js/progress.js) ---------------------------------------- */
.progress-link { display: flex; align-items: center; gap: 14px; margin-top: 26px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.progress-link:hover { border-color: var(--teal); transform: translateY(-1px); color: var(--ink); }
.progress-link-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-wash); color: var(--teal-dark); display: grid; place-items: center; }
.progress-link-go { margin-left: auto; font-size: 1.8rem; color: var(--teal); line-height: 1; }

.pg { padding: 26px 0 48px; }
.pg-crumb { margin: 0 0 6px; color: var(--muted); }
.pg-crumb a { text-decoration: none; }
.pg-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.pg-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 4px; }
.pg-head p { margin: 0; }
.pg-pick { display: grid; gap: 4px; min-width: min(100%, 320px); }
.pg-pick select { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }

.pg-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px; padding: 26px; background: linear-gradient(135deg, #fff 55%, var(--teal-wash)); }
.pg-ready { display: flex; gap: 22px; align-items: center; }
.pg-ready p { margin: 8px 0; }
.pg-ring-wrap { position: relative; flex: none; width: 150px; height: 150px; }
.pg-ring { width: 100%; height: 100%; }
.pg-ring .track { fill: none; stroke: #E6EFEE; stroke-width: 11; }
.pg-ring .val { fill: none; stroke: var(--teal); stroke-width: 11; stroke-linecap: round; transition: stroke-dashoffset 1.1s cubic-bezier(.2,.8,.2,1); }
.pg-ring.near .val { stroke: #D08A00; } .pg-ring.low .val { stroke: var(--danger); } .pg-ring.none .val { stroke: #CFCFCF; }
.pg-ring .mark { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.pg-ring-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.pg-ring-num strong { font-size: 2rem; font-weight: 700; }
.pg-ring-num span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pg-verdict { display: inline-block; padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; background: #EEE; color: var(--muted); }
.pg-verdict.good { background: #DCF5E3; color: #126B2E; } .pg-verdict.near { background: #FFF1D6; color: #8A5A00; } .pg-verdict.low { background: #FDE7E4; color: var(--danger); }
.pg-predict { margin: 8px 0 4px; font-size: 1.05rem; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pg-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; }
.pg-stat { display: grid; gap: 2px; align-content: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.pg-stat strong { font-size: 1.7rem; line-height: 1.15; color: var(--teal-deep); }
.pg-stat strong small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.pg-mini { height: 6px; margin: 4px 0 2px; }

.pg-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 34px 0 4px; }
.pg-section-head h2 { margin: 0; }
.pg-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: #EEF2F1; }
.pg-toggle button { border: 0; background: none; font: inherit; font-size: .88rem; padding: 6px 14px; border-radius: 999px; color: var(--muted); cursor: pointer; }
.pg-toggle button.on { background: #fff; color: var(--teal-deep); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.pg-domains { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 12px; }
.pg-dom { display: grid; gap: 10px; align-content: start; border-top: 4px solid #CFCFCF; }
.pg-dom.good { border-top-color: var(--teal); } .pg-dom.near { border-top-color: #E0A21A; } .pg-dom.low { border-top-color: var(--danger); }
.pg-dom-top { display: flex; gap: 10px; align-items: flex-start; }
.pg-dom-top h3 { margin: 2px 0 0; font-size: 1.02rem; }
.pg-dom-no { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--teal-wash); color: var(--teal-deep); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.pg-dom-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-chip { font-size: .75rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #F1F1F1; color: var(--muted); }
.pg-chip.good { background: #DCF5E3; color: #126B2E; } .pg-chip.near { background: #FFF1D6; color: #8A5A00; } .pg-chip.low { background: #FDE7E4; color: var(--danger); }
.pg-dom-num { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pg-dom-num strong { font-size: 2rem; line-height: 1; color: var(--ink); }
.pg-bar { position: relative; overflow: visible; }
.pg-bar > span { border-radius: 6px; transition: width .8s ease; }
.pg-bar > span.near { background: #E0A21A; } .pg-bar > span.low { background: var(--danger); }
.pg-bar i { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); border-radius: 1px; }
.pg-dom-foot { display: flex; justify-content: space-between; gap: 10px; }
.pg-dom-foot a { font-weight: 600; text-decoration: none; }

.pg-lower { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-top: 34px; }
.pg-chart { width: 100%; height: auto; display: block; margin-top: 6px; }
.pg-chart .grid { stroke: #EEF2F1; }
.pg-chart .axis { font-size: 11px; fill: #5D5D5D; }   /* 1.50.2: readable at 11px (was --faint, 3.4:1) */
.pg-chart .pass-rule { stroke: var(--ink); stroke-dasharray: 5 5; stroke-width: 1.5; }
.pg-chart .pass-label { font-size: 11px; font-weight: 600; fill: var(--ink); }
.pg-chart .line { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linejoin: round; }
.pg-chart .area { fill: var(--teal); opacity: .08; }
.pg-chart .pt { stroke: #fff; stroke-width: 2; }
.pg-chart .pt.ok { fill: var(--teal); } .pg-chart .pt.fail { fill: var(--danger); }
.pg-big strong { font-size: 2.2rem; color: var(--teal-deep); }

/* Tablet: the hero's two halves stack; domains two across. Phone: one column, the ring above its text. */
@media (max-width: 980px) {
  .pg-hero { grid-template-columns: 1fr; }
  .pg-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pg-lower { grid-template-columns: 1fr; }
}
@media (max-width: 720px) { .pg-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .pg-hero { padding: 18px; }
  .pg-ready { flex-direction: column; align-items: flex-start; }
  .pg-ring-wrap { width: 128px; height: 128px; }
  .pg-pick { width: 100%; }
  .pg-domains { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .pg-ring .val, .pg-bar > span { transition: none; } }

/* ---- The shared footer (1.16.4): the same legal bar on every Learn, SkillVerify and Team Skills page -------------
   footer.site-foot on ordinary pages (the dark teal bar), .site-legal as the bottom line of the SkillVerify and Team
   Skills home footers. On a short page (sign-in, confirm) the footer sits at the bottom of the window, not mid-screen. */
body:has(> footer.site-foot) { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body:has(> footer.site-foot) > * { flex-shrink: 0; width: 100%; }
body:has(> footer.site-foot) > footer.site-foot { margin-top: auto; }
footer.site-foot { padding: 22px 0 calc(22px + env(safe-area-inset-bottom, 0px)); font-size: .86rem; }
.site-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.site-legal-links a { text-decoration: none; }
.site-legal-links a:hover { text-decoration: underline; }
.svhome .site-legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: rgba(255,255,255,.6); }
.svhome .site-legal a { color: rgba(255,255,255,.82); }
.sfoot nav.site-legal-links { display: block; }
@media (max-width: 520px) { .site-legal { flex-direction: column; align-items: flex-start; } }

/* ---- Privacy Policy and Terms of Use (1.17.0): one pair of pages for Learn, SkillVerify and Team Skills ---------- */
.legal { padding: 40px 0 64px; }
.legal-wrap { max-width: 860px; }
.legal-kicker { margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 12px; }
.legal-lead { font-size: 1.1rem; color: #333; max-width: 62ch; }
.legal-meta { color: var(--muted); font-size: .9rem; }
.legal-summary { margin: 28px 0; padding: 20px 24px; border-radius: 14px; background: var(--teal-wash); border: 1px solid var(--teal-tint); }
.legal-summary h2 { font-size: 1.05rem; margin: 0 0 8px; color: var(--teal-deep); }
.legal-summary ul { margin: 0; padding-left: 20px; }
.legal-summary li { margin: 4px 0; }
.legal-toc { margin: 0 0 32px; padding: 18px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.legal-toc h2 { font-size: 1rem; margin: 0 0 8px; }
.legal-toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.legal-toc li { margin: 3px 0; break-inside: avoid; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal section { padding-top: 10px; scroll-margin-top: 16px; }
.legal section h2 { font-size: 1.35rem; margin: 30px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal section h3 { font-size: 1.05rem; margin: 22px 0 8px; color: var(--teal-deep); }
.legal li { margin: 6px 0; }
.legal ul ul { margin-top: 6px; }
.legal-table { overflow-x: auto; margin: 14px 0 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table th { background: #F4F8F7; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.legal-list { padding-left: 22px; }
.legal-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 12px 0; }
.legal-dl dt { font-weight: 600; }
.legal-dl dd { margin: 0; }
.legal code { background: var(--teal-wash); padding: 1px 6px; border-radius: 5px; font-size: .88em; }
/* Draft notes: things to settle before publishing - remove each <mark class="todo"> as it is resolved. */
mark.todo { background: #FEF3C7; color: #7C2D12; padding: 1px 6px; border-radius: 5px; box-shadow: inset 0 0 0 1px #F59E0B; }
@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
  .legal-dl { grid-template-columns: 1fr; gap: 2px 0; }
  .legal-dl dd { margin-bottom: 8px; }
}

/* Delete my account / Close this organisation (1.17.0): a quiet red edge marks the cards that delete for good. */
.card.danger-zone { border-color: #F3C9C4; box-shadow: inset 3px 0 0 var(--danger), var(--shadow); }
.card.danger-zone h2, .card.danger-zone h3 { color: var(--danger); }

/* Visually hidden but still reachable by keyboard and read by screen readers (1.16.7) - e.g. the KYC file pickers
   inside their "Upload" buttons; the button shows the focus ring instead. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
label.btn:focus-within { outline: 3px solid var(--teal-tint); outline-offset: 2px; }

/* Learn readiness R2: today's drill card on My progress */
.pg-drill { display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; flex-wrap: wrap; margin-bottom: 18px; border-left: 4px solid var(--teal); }
.pg-drill h2 { margin: 0 0 4px; font-size: 1.2rem; }
.pg-drill p { margin: 0 0 8px; }
.pg-drill > div:first-child { flex: 1 1 320px; min-width: 0; }
.pg-drill-go { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }

/* Learn readiness R3: real exam results on My progress */
.pg-outcome { margin-top: 18px; }
.pg-outcome h2 { margin-top: 0; font-size: 1.2rem; }
.pg-outcome-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.pg-outcome-form .field { margin: 0; min-width: 160px; flex: 1 1 160px; }
.pg-outcomes { margin: 0 0 12px; padding-left: 18px; }

/* Training record for HR (1.32.0) on My account > Results. */
.tr-fields { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.tr-fields .field { margin: 0; min-width: 150px; flex: 1 1 150px; }
.tr-fields .field:first-child { flex: 2 1 220px; }
.tr-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }

/* ---- Motion (1.37.0): shared by Learn, SkillVerify, Team Skills and Teach. Plain CSS, no libraries. A browser that
   lacks a feature simply shows the page still; with "reduce motion" on, none of it runs. The exam screens stay calm. */

/* Page changes cross-fade instead of flashing white; the teal header stays put while the page under it changes. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
header.top { view-transition-name: lm-head; }
::view-transition-old(root) { animation: lm-vt-out 140ms ease-in both; }
::view-transition-new(root) { animation: lm-vt-in 240ms cubic-bezier(.2,.8,.2,1) both; }
::view-transition-old(lm-head), ::view-transition-new(lm-head) { animation-duration: 160ms; }
@keyframes lm-vt-out { to { opacity: 0; } }
@keyframes lm-vt-in { from { opacity: 0; translate: 0 8px; } }

/* Scroll reveals: each block in a section rises in as it scrolls into view - each on its own, never one big wrapper.
   Driven by the scroll itself (no script), and done within the first 120px of scrolling after the block starts to show,
   whatever its size, so a tall block is never left faint. Blocks already on screen when the page opens are simply there. */
@keyframes lm-rise { from { opacity: 0; translate: 0 22px; } }
@supports (animation-timeline: view()) {
  @media screen and (prefers-reduced-motion: no-preference) {
    /* .wrap on Learn's pages, .sec-in on the SkillVerify, Team Skills and Teach home pages. SkillVerify's own .reveal
       blocks keep their scripted fade, and nothing inside one fades twice. */
    section :is(.wrap, .sec-in):not(.reveal) > *:not(.reveal) {
      animation: lm-rise linear both;
      animation-timeline: view();
      animation-range: cover 0 cover 120px;
    }
  }
}

/* Messages and the Teach preview fade in when they open instead of popping in. */
@media (prefers-reduced-motion: no-preference) {
  .notice { transition: opacity .25s ease, translate .25s cubic-bezier(.2,.8,.2,1); }
  @starting-style { .notice { opacity: 0; translate: 0 -6px; } }
  .tl-preview { transition: opacity .2s ease; }
  @starting-style { .tl-preview { opacity: 0; } }
  .tl-preview-box { transition: opacity .25s ease, scale .3s cubic-bezier(.2,.9,.3,1.15); }
  @starting-style { .tl-preview-box { opacity: 0; scale: .96; } }
}

/* Loading placeholders: common.js turns a lone "Loading..." into a soft shimmer bar the size of a line of text. The
   words stay in the page for screen readers; the bar takes the colour of the text around it, so it suits light and
   dark sections alike. The page's own script replaces it with the real content. */
.sk { display: inline-block; min-width: 9em; border-radius: 6px; -webkit-text-fill-color: transparent; -webkit-user-select: none; user-select: none;
  background: linear-gradient(90deg, color-mix(in srgb, currentColor 9%, transparent) 30%, color-mix(in srgb, currentColor 18%, transparent) 50%, color-mix(in srgb, currentColor 9%, transparent) 70%);
  background-size: 300% 100%; animation: lm-shimmer 1.4s ease-in-out infinite; }
h1 .sk { min-width: 7em; }
@keyframes lm-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }

/* ---- Passkeys (1.38.0, js/passkeys.js): the sign-in button under the form, and the card on My account > Security ---- */
.pk-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--muted); font-size: .85rem; }
.pk-or::before, .pk-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pk-btn { width: 100%; }
.pk-btn svg, #pk-add svg { flex: none; }
.pk-hint { margin: 8px 0 0; text-align: center; }
/* While the two-step code is being asked for, the passkey choice steps aside. */
#form:has(#step2:not([hidden])) + .pk-login { display: none; }
.pk-list { list-style: none; margin: 0 0 14px; padding: 0; }
.pk-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pk-item:first-child { border-top: 1px solid var(--line); }
.pk-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--teal-tint); color: var(--teal-dark); display: grid; place-items: center; flex: none; }
.pk-text { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; line-height: 1.35; }
.pk-text b { overflow-wrap: anywhere; }
.pk-none { padding: 4px 0; }
.pk-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
#pk-msg .notice, #pk-msg.notice { margin-top: 0; }

/* ---- Account security cards (1.40.1): two-step sign-in, passkeys and change password line up as one set on every
   My account page. Same height in a row, an icon tile by each heading, the text under it, and the main button
   full width at the foot of the card so the three buttons sit on one line. js/passkeys.js adds the classes. ---- */
.sec-grid { align-items: stretch; }
.sec-grid > .sec-card { display: flex; flex-direction: column; }
.sec-card > h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 1.08rem; }
.sec-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--teal-tint); color: var(--teal-dark); display: grid; place-items: center; flex: none; }
.sec-card > p.small { margin: 0 0 16px; line-height: 1.55; }
.sec-card > .pk-list { margin-bottom: 16px; }
/* The foot: whichever of these is showing drops to the bottom of the card (only one shows at a time). */
.sec-card > .btn, .sec-card > #tfa-off, .sec-card > #pk-add-form { margin-top: auto; }
.sec-card > .btn, #tfa-off .btn, #tfa-setup .btn { width: 100%; white-space: nowrap; }

/* ---- Dark mode (1.62.0; user: "add a dark / light mode switch ... between the howto menu item and the sign in") ----
   js/theme.js sets <html data-theme="dark"> before the page paints, from the choice made with the switch in the top bar
   (common.js). Light stays the default. In dark, --teal-dark and --teal-deep become light teal TEXT colours (links,
   prices, headings); the few places that paint them as a BACKGROUND (the bar, buttons, the footer) are set again below.
   Each site's own stylesheet (sv, ts, teach, empower, faq) ends with its own dark block on the same variables. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --teal: #2DD4BF;
  --teal-dark: #5EEAD4;
  --teal-deep: #99F6E4;
  --teal-tint: #134E4A;
  --teal-wash: #10231F;
  --ink: #E6EFED;
  --muted: #A3B5B1;
  --faint: #7F928E;
  --line: #2A3A37;
  --bg: #0D1715;
  --card: #15211F;
  --danger: #FF8A7A;
  --ok: #6EE7A0;
  --shadow: 0 1px 2px rgba(0,0,0,.35), 0 4px 16px rgba(0,0,0,.25);
  --dk-raise: #1B2927;      /* a surface one step above a card: inputs, chips, table heads */
  --dk-btn: #0F766E;        /* the teal a button or the bar is painted with */
  --dk-btn-hover: #0D9488;
  --warn-text: #FF8A7A;     /* inline warning text in page scripts (light mode falls back to #9B1C1C) */
  --amber-text: #FCD34D;    /* inline "expires soon" text (light mode falls back to #8A5A00) */
}
:root[data-theme="dark"] .top, :root[data-theme="dark"] .top.top-folded.open nav { background: #0B3B37; }
:root[data-theme="dark"] .brand .mark { color: #0B3B37; }
:root[data-theme="dark"] .top nav a.cta { color: #0B3B37; }
:root[data-theme="dark"] .top nav a.cta:hover { background: #CCFBF1; color: #0B3B37; }
:root[data-theme="dark"] .btn { background: var(--dk-btn); border-color: var(--dk-btn); color: #fff; }
:root[data-theme="dark"] .btn:hover { background: var(--dk-btn-hover); border-color: var(--dk-btn-hover); color: #fff; }
:root[data-theme="dark"] .btn.ghost { background: transparent; color: var(--teal-dark); border-color: var(--teal-dark); }
:root[data-theme="dark"] .btn.ghost:hover { background: var(--teal-wash); }
:root[data-theme="dark"] .btn.danger { background: transparent; color: var(--danger); border-color: var(--danger); }
:root[data-theme="dark"] section.alt { background: var(--card); }
:root[data-theme="dark"] .pill.grey, :root[data-theme="dark"] .bar, :root[data-theme="dark"] .pg-verdict,
:root[data-theme="dark"] .pg-chip, :root[data-theme="dark"] .pg-toggle { background: var(--dk-raise); }
:root[data-theme="dark"] .pill.red, :root[data-theme="dark"] .pg-verdict.low, :root[data-theme="dark"] .pg-chip.low { background: #3A1C18; }
:root[data-theme="dark"] .pill.amber, :root[data-theme="dark"] .pg-verdict.near, :root[data-theme="dark"] .pg-chip.near { background: #3A2C10; color: #FCD34D; }
:root[data-theme="dark"] .pg-verdict.good, :root[data-theme="dark"] .pg-chip.good { background: #133A24; color: #86EFAC; }
:root[data-theme="dark"] .notice.error { background: #2C1714; }
:root[data-theme="dark"] .notice.ok { background: #13271C; }
:root[data-theme="dark"] :is(input[type=email], input[type=password], input[type=text], input[type=number], input[type=date], input[type=search], input[type=url], input[type=tel], select, textarea) {
  background: var(--dk-raise); border-color: #3A4D49; color: var(--ink); }
:root[data-theme="dark"] .pw-eye:hover { background: rgba(94,234,212,.1); }
:root[data-theme="dark"] .exam-search, :root[data-theme="dark"] .topic-chips .chip, :root[data-theme="dark"] .pg-pick select,
:root[data-theme="dark"] .pg-stat, :root[data-theme="dark"] .legal-toc, :root[data-theme="dark"] .legal-table { background: var(--card); }
:root[data-theme="dark"] .exam-search kbd, :root[data-theme="dark"] .legal-table th { background: var(--dk-raise); }
:root[data-theme="dark"] .topic-chips .chip { color: var(--ink); }
:root[data-theme="dark"] .topic-chips .chip.on { background: var(--dk-btn); color: #fff; }
:root[data-theme="dark"] h3.vendor.soon .vbadge, :root[data-theme="dark"] .vtile.soon .vico, :root[data-theme="dark"] .vtile.soon .vcount {
  background: var(--dk-raise); color: var(--teal-dark); box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="dark"] h3.vendor.soon .vchip { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="dark"] .vtile.soon { color: var(--teal-deep); background: linear-gradient(140deg, #18302C 0%, #132320 100%); box-shadow: 0 0 0 1px var(--line); }
:root[data-theme="dark"] footer { background: #08211F; color: #CFE9E4; }
:root[data-theme="dark"] .pg-hero { background: linear-gradient(135deg, var(--card) 55%, var(--teal-wash)); }
:root[data-theme="dark"] .pg-ring .track, :root[data-theme="dark"] .pg-chart .grid { stroke: var(--line); }
:root[data-theme="dark"] .pg-ring .mark { fill: var(--card); }
:root[data-theme="dark"] .pg-ring.none .val, :root[data-theme="dark"] .pg-dom { border-top-color: #4A5A57; }
:root[data-theme="dark"] .pg-toggle button.on { background: var(--card); color: var(--teal-deep); }
:root[data-theme="dark"] .pg-chart .axis { fill: var(--muted); }
:root[data-theme="dark"] .pg-chart .pt { stroke: var(--card); }
:root[data-theme="dark"] .legal-lead { color: var(--ink); }
:root[data-theme="dark"] .card.danger-zone { border-color: #5A2A24; }
:root[data-theme="dark"] mark.todo { background: #3A2C10; color: #FCD34D; }
:root[data-theme="dark"] .howto-btn::after, :root[data-theme="dark"] .theme-btn::after { background: #E6EFED; color: #0B3B37; }
:root[data-theme="dark"] .top.top-folded.open nav .howto-btn::after { color: inherit; }   /* the menu row's label, not a tooltip */

/* The switch (common.js puts it straight after the How-To booklet, before Sign in): the same round button as the
   booklet, a moon in light mode and a sun in dark mode; in the folded menu a "Dark mode" / "Light mode" row. */
.top nav .theme-btn { position: relative; display: inline-grid; place-items: center; flex: none; width: 38px; min-height: 0; height: 38px; padding: 0; margin-left: 4px;
  border: 0; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; color: #fff; font: inherit; cursor: pointer; }
.top nav .theme-btn:hover { background: rgba(255,255,255,.14); }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .sun, :root[data-theme="dark"] .theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
.theme-btn::after { content: attr(data-tip); position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0; white-space: nowrap;
  background: #0b3b37; color: #fff; font: 500 12px/1.2 system-ui, sans-serif; padding: 6px 9px; border-radius: 6px; pointer-events: none;
  opacity: 0; transition: opacity .15s; z-index: 50; }
.theme-btn:hover::after, .theme-btn:focus-visible::after { opacity: 1; }
.top.top-folded.open nav .theme-btn { display: flex; justify-content: flex-start; gap: 12px; width: auto; height: 44px; margin: 0; padding: 0 14px; border-radius: 8px; box-shadow: none; font-size: 1rem; }
.top.top-folded.open nav .theme-btn::after { position: static; translate: none; opacity: 1; background: none; color: inherit; padding: 0; font: inherit; }
@media print { .theme-btn { display: none !important; } }
