/* SkillVerify (stage SV1) - on top of Learn's learn.css: same teal and white palette, its own map and team styles. */
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 8px; }
.band { padding: 56px 0; }   /* 1.16.7: the app pages use <main class="band"> (was section.band - no padding there) */
.disclaimer { font-size: .85rem; color: var(--muted); max-width: 70ch; }

/* Lists (SkillVerify pages) - the SV1 career map that lived here was replaced by the home page map (home.css); its
   styles were removed in 1.16.8. */
.plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.plist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: baseline; }

/* Team page */
table.people { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.people th, table.people td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.people th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tablewrap { overflow-x: auto; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.inline-form .field { margin: 0; flex: 1 1 220px; }
select.role { font: inherit; border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; }
/* 1.35.1: in the invite row the role picker is as tall as the email box, so the two labels line up. */
.inline-form select.role { padding: 10px 12px; width: 100%; }
/* New assessment: search box over a grouped list of roles, and the cut score explanation. */
#role-q { font: inherit; width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; }
select.rolelist { padding: 4px; max-height: 300px; }
select.rolelist optgroup { font-weight: 700; color: var(--muted); font-style: normal; }
select.rolelist option { padding: 5px 8px; font-weight: 400; color: var(--ink); border-radius: 4px; }
.cuthelp { margin: 8px 0 10px; padding: 12px 14px; border-radius: 10px; background: var(--teal-wash, #EEF8F6); border: 1px solid var(--line);
  font-size: .9rem; line-height: 1.55; }

/* Comparison table and candidate report (stage SV3) */
.cardhead { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.cardhead .tools { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.cardhead .tools label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
table.compare th { white-space: nowrap; }
/* Assessment page, roomier (2026-11-14): fact chips under the title, an area key, compact numbered area columns, a
   sticky candidate column when the table scrolls sideways, and an invite form on one even row. */
.factchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.factchips span { padding: 4px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.areakey { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 12px; font-size: .85rem; color: var(--muted); }
.areakey b { display: inline-block; min-width: 26px; padding: 1px 6px; margin-right: 4px; border-radius: 6px; background: var(--teal-wash, #EEF8F6); color: var(--teal-deep, #0B524D); text-align: center; }
.areakey em { font-style: normal; color: var(--ink); }
table.compare { min-width: 100%; width: max-content; }
table.compare th, table.compare td { padding: 11px 12px; }
table.compare .num { text-align: right; white-space: nowrap; }
table.compare th.num .sorter { text-align: right; }
table.compare .c-area { min-width: 58px; }
table.compare .c-name { position: sticky; left: 0; z-index: 1; background: #fff; min-width: 190px; max-width: 220px; box-shadow: 1px 0 0 var(--line); }
table.compare th.c-name { z-index: 2; }
table.compare .c-name b { display: block; }
table.compare .c-email, table.compare .c-sub { display: block; font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
table.compare .c-sub { text-align: right; }
table.compare .c-date { white-space: nowrap; }
table.compare .c-actions { text-align: right; white-space: nowrap; }
table.compare .c-actions .btn + .btn { margin-left: 6px; }
main .wrap.wide { max-width: 1380px; }
/* Business verification (kyc.html) and its banners. */
.kycgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.kycgrid .wide { grid-column: 1 / -1; }
.kycgrid input, .kycgrid textarea, .kycgrid select { width: 100%; font: inherit; box-sizing: border-box; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; background: #fff; }
.kycgrid input:disabled, .kycgrid textarea:disabled, .kycgrid select:disabled { background: #F6F8F8; color: var(--ink); }
@media (max-width: 640px) { .kycgrid { grid-template-columns: 1fr; } }
.kycstatus { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.kycstatus.verified { border-color: #9AD8CC; background: var(--teal-wash, #EEF8F6); }
.kycstatus.rejected { border-color: #F2B8B0; background: #FDF3F1; }
.doclist { display: grid; gap: 10px; }
.docrow { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.docrow.done { background: #F7FBFA; }
.docrow.busy { opacity: .55; }
.docicon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #EEF2F1; color: var(--muted); font-weight: 700; }
.docrow.done .docicon { background: var(--teal-wash, #E6F6F3); color: var(--teal-deep, #0B524D); }
.docinfo { display: grid; gap: 2px; min-width: 0; }
.docinfo span { overflow-wrap: anywhere; }
.domainreason { padding: 12px 14px; border-radius: 10px; background: #FFF8E6; border: 1px solid #E8C77A; display: grid; gap: 6px; }
.kycemail { padding: 12px 16px; border-radius: 10px; font-size: .92rem; line-height: 1.5; }
.kycemail.ok { background: var(--teal-wash, #EEF8F6); border: 1px solid #9AD8CC; }
.kycemail.bad { background: #FFF6E5; border: 1px solid #E8C77A; }
.kycdeclare { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; line-height: 1.5; }
.kycdeclare input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.kycbanner { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.kycbanner.pending { border-color: #E5D9A8; background: #FFFBEA; }
.kycbanner.rejected { border-color: #F2B8B0; background: #FDF3F1; }
.kycbanner.unverified { border-color: #9AD8CC; background: var(--teal-wash, #EEF8F6); }
table.compare .flag { min-width: 0; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
table.compare .c-actions .btn.small { padding: 5px 10px; }
.inviteform { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 12px; align-items: end; }
.inviteform .field { margin: 0; }
.inviteform input { width: 100%; }
@media (max-width: 700px) { .inviteform { grid-template-columns: 1fr; } }
table.compare th small { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; }
table.compare td.num { white-space: nowrap; }
.sorter { all: unset; cursor: pointer; font: inherit; text-transform: inherit; letter-spacing: inherit; color: inherit; max-width: 160px; white-space: normal; display: inline-block; }
.sorter.on { color: var(--ink); }
.sorter:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.meets { display: inline-block; font-size: .75rem; font-weight: 700; border-radius: 4px; padding: 1px 6px; }
.meets.yes { background: var(--teal-wash); color: var(--teal-dark); }
.meets.no { background: #FDECEC; color: #9B1C1C; }
.flag { font-size: .82rem; color: #8A4B00; display: inline-block; min-width: 150px; }
.rephead { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.svreport #report { display: grid; gap: 18px; }
.svreport #report[hidden] { display: none; }
.overall { display: flex; gap: 22px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.overall .big { font-size: 3rem; font-weight: 800; color: var(--teal-dark); line-height: 1; }
.areas { display: grid; gap: 14px; }
.area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 1fr) 118px; gap: 8px 16px; align-items: center; }
@media (max-width: 640px) { .area { grid-template-columns: minmax(0, 1fr) auto; } .area .bar { grid-column: 1 / -1; grid-row: 2; } }
.bar { position: relative; height: 12px; border-radius: 6px; background: var(--teal-wash); overflow: visible; }
.bar i { display: block; height: 100%; border-radius: 6px; background: var(--teal); }
.bar em { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--ink); }
.aval { white-space: nowrap; text-align: right; }
.certlist { display: flex; flex-wrap: wrap; gap: 6px; }
.cert { font-size: .8rem; padding: 4px 8px; border-radius: 6px; background: var(--teal-wash); color: var(--teal-dark); }
.cert.core { box-shadow: inset 0 0 0 1.5px var(--teal-dark); font-weight: 600; }
.ilist { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
dl.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: .92rem; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; overflow-wrap: anywhere; }
@media print {
  .noprint, #msg { display: none !important; }
  body.svreport, .svreport main.band { background: #fff !important; padding: 0 !important; }
  .svreport .card { break-inside: avoid; box-shadow: none; }
  .bar, .bar i, .meets, .cert { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Verification (stage SV4) */
.reptools { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.vstatus { display: inline-block; font-size: .8rem; font-weight: 700; border-radius: 5px; padding: 3px 8px; }
.vstatus.ok { background: var(--teal-wash); color: var(--teal-dark); box-shadow: inset 0 0 0 1.5px var(--teal); }
.vstatus.bad { background: #FDECEC; color: #9B1C1C; box-shadow: inset 0 0 0 1.5px #E3A0A0; }
fieldset.share { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin: 12px 0 0; display: grid; gap: 6px; }
fieldset.share legend { padding: 0 4px; }

/* Credits and billing (stage SV5) */
.balance { display: flex; gap: 20px; align-items: center; }
.balance .big { font-size: 3rem; font-weight: 800; color: var(--teal-dark); line-height: 1; min-width: 80px; text-align: center; }
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.pack { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 4px; justify-items: center; text-align: center; }
.pack .pc { font-size: 2rem; font-weight: 800; color: var(--teal-dark); line-height: 1; }
.pack .pp { font-size: 1.2rem; font-weight: 700; margin-top: 8px; }
.pack .btn { margin: 10px 0 4px; min-width: 120px; }
.creditbox { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.creditbox .n { font-size: 1.6rem; font-weight: 800; color: var(--teal-dark); }

/* Skills passport (1.25.0) */
.pp-entry { border-top: 1px solid var(--line); padding: 14px 0; display: grid; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.pp-entry:first-child { border-top: 0; padding-top: 0; }
.pp-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pp-toggles { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.pp-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.pp-request { border-left: 4px solid var(--teal); }

/* ---- Dark mode (1.62.0): the same variables as learn.css's dark block ----
   Only rules for <html data-theme="dark">; light mode is untouched. Inputs, .bar and .card are already dark in
   learn.css. Small status pills and boxes take the dark tints learn.css uses (amber #3A2C10, red #3A1C18). */
:root[data-theme="dark"] .factchips span { background: var(--dk-raise); }
:root[data-theme="dark"] table.compare .c-name { background: var(--card); }   /* sticky column covers what scrolls under it */
/* Teal chips: --teal-wash is almost the card's own colour in dark, so they sit on the stronger --teal-tint. */
:root[data-theme="dark"] .areakey b, :root[data-theme="dark"] .meets.yes, :root[data-theme="dark"] .cert,
:root[data-theme="dark"] .docrow.done .docicon { background: var(--teal-tint); }
:root[data-theme="dark"] .meets.no, :root[data-theme="dark"] .vstatus.bad { background: #3A1C18; color: var(--danger); }
:root[data-theme="dark"] .vstatus.bad { box-shadow: inset 0 0 0 1.5px #7A3A32; }
:root[data-theme="dark"] .flag { color: #FCD34D; }
/* Business verification (kyc.html, the team and assessment banners) */
:root[data-theme="dark"] .kycgrid :is(input, textarea, select) { background: var(--dk-raise); border-color: #3A4D49; color: var(--ink); }
:root[data-theme="dark"] .kycgrid :is(input, textarea, select):disabled { background: var(--bg); border-color: var(--line); color: var(--muted); }
:root[data-theme="dark"] .kycstatus { background: var(--card); }
:root[data-theme="dark"] :is(.kycstatus.verified, .kycemail.ok, .kycbanner.unverified) { background: var(--teal-wash); border-color: var(--teal-tint); }
:root[data-theme="dark"] :is(.kycstatus.rejected, .kycbanner.rejected) { background: #3A1C18; border-color: #5A2A24; }
:root[data-theme="dark"] :is(.domainreason, .kycemail.bad, .kycbanner.pending) { background: #3A2C10; border-color: #6B5420; }
:root[data-theme="dark"] .docrow.done { background: var(--teal-wash); }
:root[data-theme="dark"] .docicon { background: var(--dk-raise); }
/* Printing the candidate report while in dark mode: paper is white, so the report goes back to the light colours. */
@media print {
  :root[data-theme="dark"] body.svreport { color-scheme: light; --ink: #1A1A1A; --muted: #5D5D5D; --faint: #8A8A8A; --line: #E5E5E5;
    --bg: #FFFFFF; --card: #FFFFFF; --dk-raise: #F1F5F4; --teal: #0D9488; --teal-dark: #0F766E; --teal-deep: #115E59;
    --teal-tint: #CCFBF1; --teal-wash: #F0FDFA; --danger: #C42B1C; --ok: #0F7B0F; }
  :root[data-theme="dark"] body.svreport :is(.meets.no, .vstatus.bad) { background: #FDECEC; color: #9B1C1C; }
  :root[data-theme="dark"] body.svreport .flag { color: #8A4B00; }
}
