/* =====================================================================
   TESOL Flex – visual theme v2 (11/11/2026)
   Based on the TESOL Flex campaign visual: warm ivory paper, soft blue
   rings & light rays, bold navy/red headlines, framed cards with an
   offset colour edge (like the trainer photo frames).
   Loaded AFTER styles.css – remove this file to go back to the old look.
   ===================================================================== */
:root {
  --ivory: #F8F6F1; --paper: #FFFFFF; --ink: #141A3A; --muted: #687089;
  --line: #E7E3DA; --line-2: #EFECE5;
  --navy: #12208A; --navy-d: #0C1766; --blue: #1834AD; --royal: #2E4FD6;
  --red: #CA2027; --red-d: #A9181F;
  --blue-bg: #EEF2FD; --pink-bg: #FCEFEF; --wait-bg: #EEF2FD; --bg: #F4F2EC;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20,26,58,.04), 0 10px 30px -12px rgba(20,26,58,.12);
  --shadow-lg: 0 2px 4px rgba(20,26,58,.05), 0 24px 48px -20px rgba(18,32,138,.28);
  --display: "Be Vietnam Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --rays: repeating-conic-gradient(from -8deg at 85% 115%, rgba(46,79,214,.035) 0 4deg, transparent 4deg 13deg);
}

/* ---------- base ---------- */
body { background: var(--ivory); color: var(--ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3, .btn, .eyebrow, .gb-label, .rm-stage, .sb-num, .kpi b, .big-date, .ring b { font-family: var(--display); }
h1 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: var(--navy-d); }
h2 { font-weight: 700; letter-spacing: -.01em; }
h3 { font-weight: 700; }
.eyebrow { font-size: 11px; letter-spacing: .14em; font-weight: 700; color: var(--red); }
a { color: var(--blue); }
::selection { background: rgba(46,79,214,.18); }

/* ---------- header ---------- */
.top { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); box-shadow: none; padding: 10px 28px; }
.top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--red) 0 22%, var(--navy) 22% 100%); }
.mainnav a { font-family: var(--display); font-weight: 600; color: #3A4160; padding: 8px 14px; border-radius: 99px; position: relative; }
.mainnav a:hover { background: var(--blue-bg); color: var(--navy); }
.mainnav a.on { background: transparent; color: var(--navy); }
.mainnav a.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--red); }
.avatar { background: linear-gradient(135deg, var(--navy), var(--royal)); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); font-family: var(--display); }
.who .link { color: #3A4160; text-decoration: none; font-weight: 600; }
.who .link:hover { color: var(--red); }

/* ---------- footer ---------- */
.foot { background: transparent; border-top: 1px solid var(--line); color: var(--muted); }

/* ---------- cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; }
.card h2 { color: var(--navy-d); }
.help { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.help::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--red); }
.help h3 { font-size: 15px; }

/* ---------- buttons & inputs ---------- */
.btn { border-radius: 12px; padding: 11px 20px; font-weight: 700; letter-spacing: .005em;
  background: var(--navy); box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 6px 16px -8px rgba(18,32,138,.6); transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--blue); transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(18,32,138,.7); }
.btn.big { padding: 14px 26px; border-radius: 14px; }
.btn.ghost { background: var(--paper); color: var(--navy); border: 1.5px solid #CCD3EE; box-shadow: none; }
.btn.ghost:hover { border-color: var(--navy); background: var(--blue-bg); transform: none; }
.btn:disabled { box-shadow: none; transform: none; }
input[type=text], input[type=email], input[type=password], input:not([type]), input[type=datetime-local], textarea, select {
  border: 1px solid #DAD6CC; border-radius: 12px; background: #FFFEFC; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(46,79,214,.12); background: #fff; }
.bar { background: #ECE8DF; }
.bar span { background: linear-gradient(90deg, var(--red), var(--royal)); }
.pill { font-family: var(--display); font-weight: 600; letter-spacing: .01em; padding: 4px 11px; }
.st-next { background: var(--red); }
.alert { border-radius: 14px; }
.alert.info { background: var(--blue-bg); border-color: #D9E1FA; }
.toast { border-radius: 14px; background: var(--navy-d); box-shadow: var(--shadow-lg); font-family: var(--display); }

/* ---------- login ---------- */
.login-page { background: var(--ivory); }
.login-art { background: var(--rays), #F7F5F2 url(img/hero-bg.jpg) left center / cover; position: relative; }
.login-art p { font-family: var(--display); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.login-box { background: var(--paper); box-shadow: -30px 0 60px -40px rgba(20,26,58,.25); }
.login-box h1 { font-size: 34px; }
.login-box .btn.block { padding: 14px; font-size: 16px; margin-top: 6px; }

/* ---------- home hero ---------- */
.hero { background: linear-gradient(90deg, #fff 36%, rgba(255,255,255,.6) 58%, rgba(255,255,255,0) 78%), url(img/hero-bg.jpg) right center / cover no-repeat; border: 1px solid var(--line);
  border-radius: 22px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero.slim { padding: 34px 36px; }
.hero::after { content: ""; position: absolute; right: 28px; top: 50%; width: 150px; height: 108px; transform: translateY(-50%);
  background: url(img/tesol-flex-logo.png) center / contain no-repeat; opacity: .95; }
.hero h1 { font-size: 36px; }
.hero .eyebrow { margin-bottom: 8px; }

/* ---------- course guide banner (home) ---------- */
.guide-banner { background: var(--rays), var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.guide-banner::before { width: 100%; height: 4px; bottom: auto; background: linear-gradient(90deg, var(--red) 0 22%, var(--navy) 22%); }
.gb-head h2 { color: var(--navy-d); font-size: 28px; font-weight: 800; }
.gb-head p { color: var(--muted); opacity: 1; }
.gb-head img { display: none; }
.eyebrow.light { color: var(--red); }
.gb-arrow { color: #B9C2E6; opacity: 1; }
.gb-stage, .gb-cert { border-radius: 16px; border: 1.5px solid var(--navy); background: var(--paper); box-shadow: 7px 7px 0 #DCE3FA; padding: 18px; }
.gb-flow > .gb-stage:nth-of-type(2) { border-color: var(--red); box-shadow: 7px 7px 0 #F6D5D7; }
.gb-stage.locked { background: #FBFAF7; border-color: #C9CEDF; box-shadow: 7px 7px 0 #ECEEF3; }
a.gb-stage:hover { transform: translate(-2px, -2px); box-shadow: 10px 10px 0 #CCD6F8; }
.gb-num { border-radius: 12px; font-family: var(--display); font-weight: 800; background: var(--navy); }
.gb-flow > .gb-stage:nth-of-type(2) .gb-num { background: var(--red); }
.gb-stage.locked .gb-num { background: #B7BDD0; }
.gb-assess { background: var(--ivory); border: 1px dashed var(--line); }
.gb-go { color: var(--red); font-family: var(--display); }
.gb-cert { background: linear-gradient(180deg, #FFFDF8, #F7F2E6); border-color: #C8A962; box-shadow: 7px 7px 0 #EFE5CC; }
.medal.big { background: var(--navy); box-shadow: 0 0 0 5px #FFFDF8, 0 0 0 7px #C8A962; }

/* ---------- home cards ---------- */
.next-webinar { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); border: 0; position: relative; overflow: hidden; }
.next-webinar::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%;
  border: 26px solid rgba(255,255,255,.07); box-shadow: 0 0 0 26px rgba(255,255,255,.04); }
.ring { background: conic-gradient(var(--red) calc(var(--p) * 1%), #ECE8DF 0); }

/* ---------- stage banners (Stage 1 / Stage 2 pages) ---------- */
.stage-banner { background: var(--rays), linear-gradient(120deg, var(--navy-d), var(--blue)); border-radius: 20px; box-shadow: var(--shadow-lg); }
.sb-num { background: var(--red); font-family: var(--display); }
.sb-body h2 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.sb-meta { font-family: var(--display); }
.so-col { border: 1px solid var(--line); background: var(--paper) !important; position: relative; }
.so-col.pink { border-top: 3px solid var(--red); } .so-col.blue { border-top: 3px solid var(--navy); }
.so-col h3 { border-bottom-color: var(--line-2) !important; }
.part { font-family: var(--display); font-weight: 700; color: var(--navy-d); }
.part > span { border-radius: 10px; }

/* clusters */
.tblock { border-radius: 18px; border-color: var(--line); box-shadow: var(--shadow); }
.tblock.is-current { border-color: var(--navy); box-shadow: 6px 6px 0 #DCE3FA; }
.tblock.is-locked { background: #FBFAF7; }
.dot { font-family: var(--display); }
.items li a:hover { background: var(--ivory); }
.items li.next a { background: var(--blue-bg); box-shadow: inset 3px 0 0 var(--red); }

/* ---------- module player ---------- */
.mod-top h1 { font-size: 30px; }
.playlist { border-radius: 18px; padding: 10px; }
.playlist a { border-radius: 12px; }
.playlist a.on { background: var(--blue-bg); box-shadow: inset 3px 0 0 var(--red); }
.pl-ic { background: var(--ivory); }
.step h2 { font-size: 22px; }
.deck { border-radius: 16px; box-shadow: var(--shadow); border-color: var(--line); }
.deck-btn { background: rgba(255,255,255,.92); color: var(--navy); box-shadow: 0 6px 16px -6px rgba(20,26,58,.35); }
.deck-btn:hover { background: #fff; color: var(--red); }
.video { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.article { border-radius: 14px; border-color: var(--line); }
.article summary { font-family: var(--display); }
.q { border-bottom-color: var(--line-2); }
.qt span { font-family: var(--display); font-weight: 800; }
.opt { border-color: var(--line); border-radius: 12px; background: #FFFEFC; transition: border-color .15s, background .15s; }
.opt:hover { border-color: #B9C3EA; background: #fff; }
.opt:has(input:checked) { border-color: var(--navy); background: var(--blue-bg); }
.tips { background: var(--pink-bg); border: 1px solid #F3D9DA; }
.suggested { border-radius: 14px; }
.pl-toggle { border-radius: 14px; }

/* ---------- task pages ---------- */
.tsec h2 .num { font-family: var(--display); }
.toc { border-radius: 18px; }
.submit-card { background: var(--rays), var(--blue-bg); border-color: #D9E1FA; }
.choice { border-color: #DAD6CC; background: #FFFEFC; }
.ck { background: var(--ivory); }
.feedback { border-left-color: var(--red); background: #FFFAF8; }

/* ---------- Stage 2 ---------- */
.subject { border-radius: 14px; border-color: var(--line); background: var(--paper); }
.subject:hover { border-color: var(--royal); box-shadow: var(--shadow); }
.subject.on { border-color: var(--red); background: var(--pink-bg); }
.code { background: var(--navy); border-radius: 7px; font-family: var(--display); }
.ks-step { background: var(--blue-bg); border: 1px solid #D9E1FA; border-radius: 14px; }

/* ---------- staff pages ---------- */
.kpi { border-radius: 18px; } .kpi b { font-weight: 800; }
.tabs a { border-radius: 99px; font-family: var(--display); }
.tabs a.on { background: var(--navy); }
th { color: #8A8FA3; letter-spacing: .08em; }
tr:hover td { background: #FCFBF8; }

/* ---------- bottom tab bar (phones) ---------- */
.bnav { background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top-color: var(--line); }
.bnav a { font-family: var(--display); }
.bnav a.on { color: var(--navy); }
.bnav a.on .bn-ic { background: var(--blue-bg); box-shadow: inset 0 -2px 0 var(--red); }

/* ---------- modal ---------- */
.modal { border-radius: 20px; border-top: 4px solid var(--red); }
.modal-bg { background: rgba(12,23,102,.32); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero::after { width: 110px; height: 80px; right: 18px; opacity: .9; }
}
@media (max-width: 760px) {
  .top { padding: 10px 14px; }
  h1 { font-size: 25px; }
  .hero.slim { padding: 22px 20px 24px; }
  .hero { background: var(--rays), #fff; }
  .hero::after { top: 18px; right: 14px; transform: none; width: 84px; height: 60px; }
  .hero h1 { font-size: 26px; padding-right: 84px; }
  .hero .btn.big { width: 100%; text-align: center; }
  .guide-banner { padding: 20px 16px; border-radius: 18px; }
  .gb-head h2 { font-size: 22px; }
  .sb-body h2 { font-size: 19px; }
  .mod-top h1 { font-size: 24px; }
  .gb-stage, .gb-cert { box-shadow: 5px 5px 0 #DCE3FA; }
  .gb-flow > .gb-stage:nth-of-type(2) { box-shadow: 5px 5px 0 #F6D5D7; }
  .card { padding: 18px 16px; border-radius: 16px; }
  .login-art { padding: 28px 20px; }
  .login-art img { width: 200px; }
  .login-box { padding: 28px 20px 36px; box-shadow: none; }
  .login-box h1 { font-size: 28px; }
}
@media print {
  .top::before, .hero::after { display: none; }
  .card { box-shadow: none; }
}

/* =====================================================================
   v2.1 – richer colour + people (11/11/2026)
   ===================================================================== */
:root { --ivory: #F3EFE7; --line: #E3DDD1; }
body { background: var(--ivory); }

/* Hero: navy panel + learners photo */
.hero::after { display: none; }
.hero.has-people { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); align-items: stretch; gap: 0; padding: 0;
  background: var(--rays), linear-gradient(115deg, var(--navy-d) 0%, var(--navy) 45%, var(--blue) 100%); border: 0; color: #fff; min-height: 300px; }
.hero.has-people .hero-text { padding: 34px 36px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; position: relative; z-index: 1; }
.hero.has-people .hero-logo { height: 54px; width: auto; background: #fff; border-radius: 12px; padding: 6px 12px; margin-bottom: 18px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); }
.hero.has-people .eyebrow { color: #FFB3B6; }
.hero.has-people h1 { color: #fff; font-size: 38px; margin-bottom: 6px; }
.hero-sub { margin: 0 0 20px; color: #D7DDFA; font-family: var(--display); font-weight: 600; letter-spacing: .02em; }
.hero.has-people .btn.big { background: var(--red); box-shadow: 0 10px 24px -10px rgba(202,32,39,.8); }
.hero.has-people .btn.big:hover { background: var(--red-d); }
.hero-people { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }

/* Course guide banner: solid navy head band, coloured stage headers */
.guide-banner { padding: 0; overflow: hidden; background: var(--paper); }
.guide-banner::before { display: none; }
.gb-head { margin: 0; padding: 22px 28px; background: var(--rays), linear-gradient(90deg, var(--navy-d), var(--blue)); }
.gb-head h2 { color: #fff; }
.gb-head p { color: #D7DDFA; }
.gb-head .eyebrow.light { color: #FFB3B6; }
.gb-flow { padding: 24px 28px 28px; }
.gb-stage { padding: 0; overflow: hidden; }
.gb-top { margin: 0 0 12px; padding: 14px 16px; background: var(--navy); color: #fff; }
.gb-top h3 { color: #fff; } .gb-top .gb-label { color: #FFB3B6; }
.gb-top .gb-num { background: var(--red); box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.gb-flow > .gb-stage:nth-of-type(2) .gb-top { background: var(--red); }
.gb-flow > .gb-stage:nth-of-type(2) .gb-top .gb-label { color: #FFE1E2; }
.gb-flow > .gb-stage:nth-of-type(2) .gb-top .gb-num { background: var(--navy); }
.gb-stage.locked .gb-top { background: #7C849F !important; }
.gb-stage.locked .gb-top .gb-num { background: #5E6680 !important; }
.gb-top .pill.st-next { background: #fff; color: var(--red); }
.gb-top .pill.st-none { background: rgba(255,255,255,.18); color: #fff; }
.gb-steps, .gb-assess, .gb-go { margin-left: 16px; margin-right: 16px; }
.gb-go { margin-bottom: 16px; }
.gb-cert { padding: 18px 16px; }
.cert-img { width: 100%; max-width: 230px; height: auto; border-radius: 10px; margin: 2px auto 4px; display: block;
  filter: drop-shadow(0 12px 16px rgba(120,80,20,.22)); }

/* Home cards: colour accents */
.prog-card { border-top: 4px solid var(--red); }
.help { border-top: 4px solid var(--navy); }
.help::before { display: none; }

/* Trainers */
.trainers { margin: 22px 0 8px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 26px 28px; box-shadow: var(--shadow); }
.tr-head h2 { font-size: 24px; font-weight: 800; color: var(--navy-d); margin: 4px 0 8px; display: block; }
.tr-head p { margin: 0; }
.tr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tr-card { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1.5px solid var(--red); box-shadow: 7px 7px 0 #F6D5D7; }
.tr-card.blue { border-color: var(--navy); box-shadow: 7px 7px 0 #DCE3FA; }
.tr-photo { aspect-ratio: 4 / 4.2; background: #fff; overflow: hidden; }
.tr-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.tr-card figcaption { background: var(--red); color: #fff; padding: 10px 12px; text-align: center; }
.tr-card.blue figcaption { background: var(--navy); }
.tr-card figcaption span { display: block; font-size: 12px; opacity: .9; }
.tr-card figcaption b { font-family: var(--display); font-size: 15px; letter-spacing: .01em; }

/* Login: people photo */
.login-art { gap: 6px; }
.login-people { width: min(460px, 90%); margin: 18px auto 0; border-radius: 22px; display: block;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }

/* Stage pages: navy section numbers & clusters */
.part > span { background: var(--red); }
.tblock .block-head { border-left: 4px solid transparent; }
.tblock.is-current .block-head { border-left-color: var(--red); background: linear-gradient(90deg, var(--blue-bg), #fff 60%); }
.tblock.is-done .block-head { border-left-color: var(--ok); }
.so-col h3 .so-ic { box-shadow: 0 6px 14px -6px rgba(202,32,39,.6); }

/* Buttons a touch bolder */
.btn { background: var(--navy); }
.btn:hover { background: var(--blue); }

@media (max-width: 1000px) {
  .trainers { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .hero.has-people { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero.has-people .hero-text { padding: 22px 20px 20px; order: 2; }
  .hero-people { height: 190px; order: 1; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
  .hero.has-people .hero-logo { position: absolute; top: -40px; right: 16px; height: 44px; margin: 0; }
  .hero.has-people h1 { font-size: 26px; padding-right: 0; }
  .gb-head { padding: 18px 16px; }
  .gb-flow { padding: 18px 14px 20px; }
  .trainers { padding: 20px 16px; }
  .tr-grid { gap: 12px; }
  .tr-card { box-shadow: 4px 4px 0 #F6D5D7; } .tr-card.blue { box-shadow: 4px 4px 0 #DCE3FA; }
  .tr-card figcaption b { font-size: 13px; }
  .login-people { display: none; }
}

/* v2.2 – trainers in the hero instead of learners (11/11/2026) */
.hero-trainers { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 0; overflow: hidden;
  background: var(--rays), linear-gradient(180deg, #FFFFFF, #F4F6FD);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%); mask-image: linear-gradient(90deg, transparent 0, #000 18%); }
.hero-trainers img { height: 300px; width: auto; max-width: 52%; object-fit: cover; object-position: center top; display: block; margin-bottom: -2px; }
.hero-trainers img + img { margin-left: -6%; }
@media (max-width: 760px) {
  .hero-trainers { order: 1; height: 210px; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
  .hero-trainers img { height: 230px; }
}

/* v2.3 – Review quiz: questions and readings side by side from tablet width up (11/11/2026) */
@media (min-width: 761px) {
  .qr-tabs { display: none !important; }
  .qr-split.has-read { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
  .qr-split.has-read .qr-q { display: block !important; }
  .qr-split.has-read .qr-read { display: block !important; position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow: auto; }
}
/* give the quiz the full width: hide the step list behind the "All steps" button */
@media (min-width: 761px) and (max-width: 1280px) {
  .player.quiz-mode { grid-template-columns: minmax(0, 1fr); }
  .player.quiz-mode .playlist { display: none; position: static; max-height: none; }
  .player.quiz-mode .playlist.open { display: block; }
  .player.quiz-mode .playlist.open a { max-width: none; }
  .player.quiz-mode .pl-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; font: inherit; font-size: 14px; text-align: left;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); cursor: pointer; color: var(--text); }
  .player.quiz-mode .pl-toggle b { color: var(--navy); }
  .player.quiz-mode .pl-caret { flex: none; color: var(--navy); font-weight: 700; font-size: 13px; }
}

/* v2.4 – quiz question → related reading passage (11/11/2026) */
.qr-chip { display: inline-flex; align-items: center; gap: 6px; margin: -2px 0 10px; padding: 6px 12px; border-radius: 99px; cursor: pointer;
  border: 1px solid #D9E1FA; background: var(--blue-bg); color: var(--navy); font: inherit; font-size: 13px; text-align: left; }
.qr-chip b { font-weight: 700; }
.qr-chip:hover { border-color: var(--navy); }
.q.qr-on { position: relative; }
.q.qr-on::before { content: ""; position: absolute; left: -12px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--red); }
.qr-hit { background: linear-gradient(180deg, transparent 0, #FFF1B8 0); box-shadow: -10px 0 0 #FFF1B8, 10px 0 0 #FFF1B8, inset 3px 0 0 var(--red);
  border-radius: 4px; transition: background .3s; scroll-margin: 120px; }
li.qr-hit { padding-left: 4px; }
.qr-back { display: none; }
@media (max-width: 760px) {
  .qr-back { display: inline-block; margin: 0 0 10px; background: none; border: 0; color: var(--navy); font: inherit; font-weight: 700; padding: 0; cursor: pointer; }
  .q.qr-on::before { left: -8px; }
}
.qr-hit { padding-left: 10px; padding-right: 6px; }
.qr-hit { scroll-margin-top: 140px; }
/* v2.5 – related reading: open the article only, no passage highlight */
.article.qr-art { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(18,32,138,.08); }
.article.qr-art > summary { background: var(--blue-bg); }
.article.qr-art { scroll-margin-top: 130px; }

/* v2.6 – Key Skill Subject overview sheet (11/11/2026) */
.modal.sheet { max-width: 560px; position: relative; max-height: calc(100vh - 32px); overflow: auto; }
.sheet h2 { font-size: 24px; font-weight: 800; color: var(--navy-d); margin: 2px 0 10px; display: block; padding-right: 30px; }
.sheet-lead { font-size: 16px; line-height: 1.6; margin: 0 0 14px; }
.sheet-box { background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 12px; }
.sheet-box b { display: block; color: var(--navy); font-family: var(--display); }
.sheet-box ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; } .sheet-box li { margin-bottom: 3px; }
.sheet-note { font-size: 14px; font-weight: 600; background: var(--blue-bg); color: var(--navy); border-radius: 12px; padding: 10px 12px; margin: 10px 0 0; }
.sheet-note.ok { background: var(--ok-bg); color: var(--ok); }
.sheet-note.warn { background: #FFF0F0; color: var(--red); }
.sheet-x { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--ivory); color: var(--navy);
  font-size: 22px; line-height: 1; cursor: pointer; }
.sheet-x:hover { background: var(--blue-bg); }
.subject .tick { font-size: 18px; }
.subject.on .tick { font-size: 14px; }
h2.sec { display: flex; align-items: center; gap: 10px; font-size: 20px; margin: 6px 0 12px; }
.modal.sheet .btns { position: sticky; bottom: -24px; background: #fff; padding: 12px 0 4px; margin-top: 12px; }
@media (max-width: 760px) {
  .modal.sheet .btns { bottom: -18px; padding-bottom: 6px; }
  .modal.sheet h2 { font-size: 21px; }
  .sheet-lead { font-size: 15px; }
  .ks-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ks-step { padding: 10px; font-size: 13px; }
}

/* v2.7 – Stage 2 subjects: hover / tap popover with overview + Select (11/11/2026) */
.subjects { overflow: visible; }
.subject { display: block; padding: 0; position: relative; cursor: default; outline: none; }
.subject-row { display: flex; align-items: center; gap: 10px; padding: 12px; }
.subject .st-title { flex: 1; }
.subject .tick { font-family: var(--display); font-style: normal; font-size: 13px; font-weight: 800; color: var(--navy); background: var(--blue-bg); border-color: #D9E1FA; }
.subject.on .tick { background: var(--red); color: #fff; border-color: var(--red); }
.subject:hover, .subject:focus-within, .subject.open { border-color: var(--navy); z-index: 40; }
.subject-pop { display: none; position: absolute; left: -1px; top: 100%; width: max(calc(100% + 2px), 330px); padding-top: 8px; z-index: 50; }
.subject.pop-right .subject-pop { left: auto; right: -1px; }
.sp-card { background: #fff; border: 1.5px solid var(--navy); border-radius: 14px; padding: 14px 16px; box-shadow: 0 18px 40px -16px rgba(12,23,102,.45); text-align: left; }
.sp-title { margin: 0 0 6px; font-family: var(--display); font-weight: 700; color: var(--navy-d); font-size: 15px; }
.sp-title b { color: var(--red); margin-right: 4px; }
.sp-text { margin: 0 0 8px; font-size: 14px; line-height: 1.55; color: var(--ink); font-weight: 400; }
.sp-meta { margin: 0 0 10px; font-size: 12px; color: var(--muted); font-weight: 400; }
.sp-state { margin: 0; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--blue-bg); border-radius: 10px; padding: 8px 10px; }
.sp-state.ok { color: var(--ok); background: var(--ok-bg); } .sp-state.warn { color: var(--red); background: #FFF0F0; }
.subject.open .subject-pop { display: block; }
@media (hover: hover) { .subject:hover .subject-pop, .subject:focus-within .subject-pop { display: block; } }
@media (max-width: 760px) {
  .subject-pop { position: static; width: auto; padding: 0 10px 10px; }
  .sp-card { box-shadow: none; border-width: 1px; }
  .sp-title { display: none; }
}

/* v2.8 – subject intro line in the hover card */
.subject-pop { width: max(calc(100% + 2px), 380px); }
.sp-intro { margin: 0 0 8px; font-size: 14px; line-height: 1.55; color: var(--navy-d); font-weight: 600; }
.subject .st-title { cursor: help; }

/* v2.9 – Stage 2: intro, direct choose, workbook download (11/11/2026) */
.ks-intro { border-top: 4px solid var(--red); }
.ks-intro-list { margin: 0; padding: 0; list-style: none; counter-reset: k; display: grid; gap: 12px; }
.ks-intro-list li { counter-increment: k; position: relative; padding-left: 42px; line-height: 1.6; }
.ks-intro-list li::before { content: counter(k); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 9px; background: var(--navy); color: #fff;
  font-family: var(--display); font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.ks-intro-list li:nth-child(2)::before { background: var(--red); }
.ks-intro-list b { color: var(--navy-d); }
.subject { display: flex; align-items: center; gap: 10px; padding: 12px; cursor: pointer; }
.subject.off { opacity: .55; cursor: not-allowed; }
.subject.off:hover { border-color: var(--line); box-shadow: none; }
.subject .tick { font-size: 16px; }
.wb-file { display: flex; align-items: center; gap: 12px; background: var(--blue-bg); border: 1px solid #D9E1FA; border-radius: 14px; padding: 12px 14px; margin: 4px 0 14px; }
.wb-ic { width: 38px; height: 44px; border-radius: 6px; background: #2B579A; color: #fff; font-family: var(--display); font-weight: 800; font-size: 18px; display: grid; place-items: center; flex: none;
  box-shadow: inset 0 -8px 0 rgba(0,0,0,.12); }
.wb-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wb-meta b { font-size: 14px; color: var(--navy-d); overflow-wrap: anywhere; }
.wb-meta span { font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .wb-file { flex-wrap: wrap; } .wb-file .btn { width: 100%; justify-content: center; text-align: center; } }

/* v2.10 – Stage 2 good-luck message + page navigation */
.ks-wish { display: flex; gap: 16px; align-items: center; margin: 4px 0 18px; padding: 18px 22px; border-radius: 18px; color: #fff;
  background: var(--rays), linear-gradient(115deg, var(--navy-d), var(--blue)); box-shadow: var(--shadow-lg); }
.ks-wish.done { background: var(--rays), linear-gradient(115deg, #0F6B47, #17845A); }
.ks-wish-ic { font-size: 34px; flex: none; }
.ks-wish b { font-family: var(--display); font-size: 18px; }
.ks-wish p { margin: 4px 0 0; color: #DCE3FA; line-height: 1.55; }
.ks-wish p b { color: #fff; font-size: inherit; }
.page-nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 18px 0 4px; }
@media (max-width: 760px) { .page-nav .btn { flex: 1; text-align: center; } .ks-wish { padding: 16px; } }

/* v2.11 – Stage 2 final page (11/11/2026) */
.btn-next { background: var(--red); box-shadow: 0 10px 24px -10px rgba(202,32,39,.8); }
.btn-next:hover { background: var(--red-d); }
.done-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 0; border-radius: 22px; overflow: hidden; margin: 4px 0 18px;
  background: var(--rays), linear-gradient(115deg, var(--navy-d) 0%, var(--navy) 50%, var(--blue) 100%); color: #fff; box-shadow: var(--shadow-lg); }
.done-text { padding: 36px 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.done-text .eyebrow { color: #FFB3B6; }
.done-text h1 { color: #fff; font-size: 36px; margin: 4px 0 12px; }
.done-lead { color: #DCE3FA; font-size: 17px; line-height: 1.6; margin: 0 0 20px; }
.done-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.done-stats li { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 9px 12px; }
.done-stats li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); font-weight: 800; flex: none; }
.done-stats li.ok span { background: #5B7BFF; }
.done-stats b { font-family: var(--display); } .done-stats em { font-style: normal; color: #C9D2F5; font-size: 14px; margin-left: auto; text-align: right; }
.done-photo { margin: 0; position: relative; background: #fff; }
.done-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; min-height: 420px; }
.done-photo figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(12,23,102,.82); color: #fff; border-radius: 12px; padding: 10px 14px;
  font-family: var(--display); font-weight: 700; font-size: 14px; text-align: center; backdrop-filter: blur(4px); }
.done-steps { list-style: none; margin: 0; padding: 0; counter-reset: d; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.done-steps li { counter-increment: d; background: var(--ivory); border: 1px solid var(--line); border-radius: 16px; padding: 16px; position: relative; }
.done-steps li::before { content: counter(d); width: 32px; height: 32px; border-radius: 10px; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 800;
  display: grid; place-items: center; margin-bottom: 10px; }
.done-steps li:last-child { border-color: #C8A962; background: linear-gradient(180deg, #FFFDF8, #F7F2E6); }
.done-steps li:last-child::before { background: var(--red); }
.done-steps b { display: block; font-family: var(--display); color: var(--navy-d); margin-bottom: 4px; }
.done-steps span { font-size: 14px; color: var(--muted); line-height: 1.55; }
.done-wish { text-align: center; padding: 26px 20px; margin: 4px 0 8px; }
.done-wish p { margin: 0 0 6px; font-size: 18px; line-height: 1.6; color: var(--ink); }
.done-wish b { font-family: var(--display); color: var(--red); font-size: 22px; }
@media (max-width: 900px) {
  .done-hero { grid-template-columns: minmax(0, 1fr); }
  .done-photo { order: -1; } .done-photo img { min-height: 0; height: 300px; }
  .done-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .done-text { padding: 22px 18px; } .done-text h1 { font-size: 26px; } .done-lead { font-size: 15px; }
  .done-wish p { font-size: 16px; } .done-wish b { font-size: 19px; }
}
.done-steps span b { display: inline; margin: 0; }
@media (max-width: 900px) { .done-photo figcaption { position: static; border-radius: 0; background: var(--navy-d); } }

/* v2.12 – "Ask Educap" Zalo help button (11/11/2026) */
.help-fab { position: fixed; right: 24px; bottom: 24px; z-index: 700; display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  background: #0068FF; color: #fff; font-family: var(--display); font-weight: 700; font-size: 14px; padding: 12px 18px 12px 14px; border-radius: 99px;
  box-shadow: 0 12px 28px -10px rgba(0,104,255,.7); transition: transform .15s, box-shadow .15s; }
.help-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(0,104,255,.8); }
.help-panel { position: fixed; right: 24px; bottom: 84px; z-index: 750; width: min(360px, calc(100vw - 24px)); background: #fff; border-radius: 18px;
  border-top: 4px solid #0068FF; box-shadow: 0 24px 60px -18px rgba(12,23,102,.45); padding: 18px 18px 14px; }
.help-panel h3 { margin: 2px 0 6px; font-size: 18px; color: var(--navy-d); padding-right: 28px; }
.help-panel .small { margin: 0 0 10px; }
.help-x { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--ivory); color: var(--navy); font-size: 20px; cursor: pointer; }
.help-msg { background: var(--blue-bg); border: 1px dashed #B9C8F5; border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; }
.help-msg p { margin: 4px 0 0; font-size: 14px; color: var(--ink); }
.help-zalo { background: #0068FF; text-align: center; margin-bottom: 10px; }
.help-zalo:hover { background: #0050C8; }
@media (max-width: 760px) {
  .help-fab { right: 12px; bottom: calc(150px + env(safe-area-inset-bottom)); padding: 12px; }
  .help-fab span { display: none; }
  .help-panel { right: 12px; left: 12px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media print { .help-fab, .help-panel { display: none !important; } }
/* v2.13 – friendly help check-in */
.help-hello { display: flex; gap: 12px; align-items: flex-start; margin: 2px 0 14px; padding-right: 26px; }
.help-av { width: 42px; height: 42px; border-radius: 50%; background: #E8F0FF; display: grid; place-items: center; font-size: 22px; flex: none; }
.help-hello h3 { margin: 2px 0 6px; padding: 0; font-size: 17px; }
.help-hello p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink); }
.help-lang { display: inline-block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.help-hello h3 { overflow-wrap: anywhere; }
.who-name { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
input[type=date] { width: 100%; max-width: 260px; font: inherit; padding: 10px 12px; border: 1px solid #DAD6CC; border-radius: 12px; background: #FFFEFC; }

/* v2.14 – Course rules + agreement (11/11/2026) */
.rule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 6px 0 12px; }
.rule { display: flex; gap: 12px; background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.rule-ic { width: 38px; height: 38px; border-radius: 10px; background: #fff; display: grid; place-items: center; font-size: 19px; flex: none; box-shadow: var(--shadow); }
.rule b { display: block; font-family: var(--display); color: var(--navy-d); margin-bottom: 4px; }
.rule p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink); }
.access-line { background: var(--blue-bg); border: 1px solid #D9E1FA; border-radius: 12px; padding: 10px 14px; margin: 0 0 12px; color: var(--navy-d); }
.agree { max-width: 760px; margin: 0 auto 14px; }
.agree .ck { background: transparent; }
.agree.missing-agree { border-color: var(--red); box-shadow: 0 0 0 3px rgba(202,32,39,.12); }
@media (max-width: 760px) { .rule-grid { grid-template-columns: minmax(0, 1fr); } }

/* v2.15 – module sidebar = cluster roadmap (11/11/2026) */
.cluster-nav { padding: 12px; }
.cn-head { margin: 2px 4px 10px; font-family: var(--display); font-weight: 700; color: var(--navy-d); font-size: 15px; line-height: 1.35; }
.cn-head span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 2px; }
.cluster-nav .cn-mod { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--text); font-size: 14px; line-height: 1.3; }
.cluster-nav a.cn-mod:hover { background: var(--ivory); }
.cluster-nav .cn-mod.ok .pl-ic { background: var(--ok); color: #fff; font-weight: 700; }
.cluster-nav .cn-mod .pl-ic { font-family: var(--display); font-weight: 800; font-size: 12px; }
.cn-cur { background: var(--blue-bg); border-radius: 14px; margin: 4px 0; padding-bottom: 6px; box-shadow: inset 3px 0 0 var(--red); }
.cn-cur > .cn-mod .pl-ic { background: var(--navy); color: #fff; }
.cn-cur > .cn-mod .pl-t { font-weight: 700; color: var(--navy-d); }
.cn-steps { padding: 0 6px 0 18px; border-left: 2px dashed #C9D2F5; margin-left: 22px; }
.cn-steps a { display: flex; gap: 8px; align-items: flex-start; padding: 7px 8px; border-radius: 10px; text-decoration: none; color: var(--text); font-size: 13px; line-height: 1.3; }
.cn-steps a:hover { background: #fff; }
.cn-steps a.on { background: #fff; box-shadow: 0 2px 8px -4px rgba(18,32,138,.35); font-weight: 700; color: var(--navy-d); }
.cn-steps a.ok .pl-ic { background: var(--ok); color: #fff; }
.cn-steps .pl-ic { width: 22px; height: 22px; font-size: 11px; }
.cn-task { border-top: 1px dashed var(--line); margin-top: 6px; border-radius: 0 0 12px 12px !important; }
.cn-task .pl-t { color: var(--red); font-weight: 700; }
.cn-task.locked { opacity: .55; }
.cn-task.ok .pl-t { color: var(--ok); }
@media (max-width: 1000px) { .player .playlist.open { display: block; } }

/* v2.16 – roadmap first (always visible), steps of current module below */
.cn-road { background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; padding: 4px; margin-bottom: 12px; }
.cn-road .cn-mod { padding: 8px 10px; font-size: 13.5px; }
.cn-road .cn-mod.on { background: var(--blue-bg); box-shadow: inset 3px 0 0 var(--red); }
.cn-road .cn-mod.on .pl-ic { background: var(--navy); color: #fff; }
.cn-road .cn-mod.on .pl-t { font-weight: 700; color: var(--navy-d); }
.cn-road .cn-mod em { font-size: 11.5px; }
.cn-road .cn-task { border-top: 1px dashed var(--line); margin-top: 2px; border-radius: 0 0 10px 10px !important; }
.cn-sub { margin: 0 4px 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); font-weight: 700; font-family: var(--display); }
.cluster-nav .cn-steps { padding: 0 4px 0 12px; margin-left: 12px; }
.cluster-nav .cn-steps a { padding: 6px 8px; }

/* =====================================================================
   v3 – depth & clarity (11/11/2026)
   - no green: "done / pass" uses the brand royal blue + navy check
   - layered shadows, light top highlights and soft gradients give depth
   - every information block gets a clear header line
   ===================================================================== */
:root {
  --ok: #2340C8; --ok-bg: #EAEFFD;               /* success = brand blue (no green) */
  --surface: linear-gradient(180deg, #FFFFFF 0%, #FBFAF7 100%);
  --edge: rgba(18, 32, 138, .09);
  --shadow: 0 1px 1px rgba(16,24,64,.04), 0 4px 10px -3px rgba(16,24,64,.08), 0 20px 36px -22px rgba(18,32,138,.32);
  --shadow-lg: 0 2px 4px rgba(16,24,64,.06), 0 14px 28px -10px rgba(16,24,64,.18), 0 40px 70px -36px rgba(18,32,138,.45);
  --lift: 0 1px 0 rgba(255,255,255,.9) inset;
}

/* page background: soft light from top-left (blue) and top-right (red) */
body { background:
  radial-gradient(1100px 520px at -5% -8%, rgba(46,79,214,.10), transparent 62%),
  radial-gradient(900px 480px at 105% -6%, rgba(202,32,39,.07), transparent 58%),
  var(--ivory); background-attachment: fixed; }

/* header floats above the page */
.top { box-shadow: 0 1px 0 rgba(18,32,138,.06), 0 10px 24px -18px rgba(16,24,64,.35); }

/* cards: raised paper with a light top edge */
.card, .tblock, .kpi, .trainers, .guide-banner, .playlist, .toc, .so-col, .rule, .help-panel {
  background: var(--surface); border: 1px solid var(--edge); box-shadow: var(--shadow), var(--lift); }
.card:hover, .tblock:hover { box-shadow: var(--shadow-lg), var(--lift); }
.card, .tblock { transition: box-shadow .2s ease, transform .2s ease; }

/* clear block headers: title + divider + small brand bar */
.card > h2:first-child, .card > h3:first-child, .card > .row-between:first-child {
  position: relative; padding: 0 0 12px 14px; margin: 0 0 16px; border-bottom: 1px solid var(--line-2); }
.card > h2:first-child::before, .card > h3:first-child::before, .card > .row-between:first-child::before {
  content: ""; position: absolute; left: 0; top: 3px; bottom: 15px; width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, var(--red), var(--navy)); }
.card.help > h3:first-child, .card.help > h2:first-child { border-bottom-color: var(--line-2); }

/* buttons: raised, glossy top, pressed shadow at the bottom */
.btn { background: linear-gradient(180deg, #2B3FC0 0%, #12208A 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -2px 0 rgba(0,0,0,.18), 0 10px 20px -10px rgba(18,32,138,.75); }
.btn:hover { background: linear-gradient(180deg, #3550D6 0%, #17289E 100%); transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -2px 0 rgba(0,0,0,.18), 0 14px 26px -12px rgba(18,32,138,.8); }
.btn:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(0,0,0,.25); }
.btn.ghost { background: linear-gradient(180deg, #FFFFFF, #F4F6FD); color: var(--navy); border: 1px solid #C9D2F2;
  box-shadow: inset 0 1px 0 #fff, 0 6px 14px -10px rgba(18,32,138,.5); }
.btn.ghost:hover { background: linear-gradient(180deg, #FFFFFF, #E9EEFD); }
.hero.has-people .btn.big, .btn-next { background: linear-gradient(180deg, #E0333A 0%, #B3161D 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -2px 0 rgba(0,0,0,.2), 0 12px 24px -12px rgba(202,32,39,.85); }

/* inputs sit slightly into the page */
input[type=text], input[type=email], input[type=password], input:not([type]), input[type=datetime-local], input[type=date], textarea, select {
  box-shadow: inset 0 1px 2px rgba(16,24,64,.06); }

/* status pills: soft gradient chips */
.pill { box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 1px 2px rgba(16,24,64,.08); }
.st-ok { background: linear-gradient(180deg, #F1F4FE, #E2E8FC); color: var(--navy); }
.st-wait { background: linear-gradient(180deg, #F4F6FD, #E8EDFB); color: var(--navy); }
.st-next { background: linear-gradient(180deg, #E0333A, #B91B22); color: #fff; }

/* completed ticks: navy disc instead of green */
.playlist a.ok .pl-ic, .cn-steps a.ok .pl-ic, .cluster-nav .cn-mod.ok .pl-ic, .is-done .dot, .gb-steps li.ok::before,
.ticks li::before { background: var(--navy) !important; border-color: var(--navy) !important; color: #fff !important; }
.items li.done .ic, .okline, .cn-task.ok .pl-t, .cert-req li.ok, div.ck.on { color: var(--navy) !important; }
.tblock.is-done .block-head { border-left-color: var(--navy) !important; }
.ck.auto { background: var(--blue-bg); } .auto-tag { color: var(--navy) !important; }
.mini-steps span.ok, .roadmap li.done, .suggested { border-color: #CDD6F5 !important; }
.suggested { background: linear-gradient(180deg, #F6F8FE, #ECF0FD); }
.suggested summary { color: var(--navy); }
.ks-track li.ok { background: var(--blue-bg); color: var(--navy); }
.sheet-note.ok, .sp-state.ok { background: var(--blue-bg); color: var(--navy); }
.ks-wish.done { background: var(--rays), linear-gradient(115deg, #0C1766, #2340C8); }
.done-stats li.ok span { background: #fff; color: var(--navy); }
.tchip.reviewed { background: var(--navy); }

/* cluster blocks on Stage 1: lift the current one */
.tblock.is-current { transform: translateY(-1px); box-shadow: 0 0 0 2px rgba(18,32,138,.18), var(--shadow-lg); }

/* course guide stage cards: stronger 3D offset */
.gb-stage, .gb-cert { box-shadow: 8px 8px 0 #D6DEF9, 0 18px 30px -18px rgba(16,24,64,.35); }
.gb-flow > .gb-stage:nth-of-type(2) { box-shadow: 8px 8px 0 #F4D1D3, 0 18px 30px -18px rgba(16,24,64,.35); }
.gb-cert { box-shadow: 8px 8px 0 #EADFC4, 0 18px 30px -18px rgba(16,24,64,.35); }

/* KPI tiles & module player */
.kpi b { background: linear-gradient(180deg, var(--navy), var(--royal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.video, .deck { box-shadow: var(--shadow-lg); }

@media (max-width: 760px) {
  body { background-attachment: scroll; }
  .card:hover, .tblock:hover { box-shadow: var(--shadow), var(--lift); }
}
.card.step { position: relative; }
.card.step::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 18px 18px 0 0; background: linear-gradient(90deg, var(--red) 0 22%, var(--navy) 22%); }

/* v3.1 – dark cards keep their dark surface (v3 card gradient overrode them) */
.card.next-webinar { background: linear-gradient(140deg, #16207A 0%, var(--navy) 45%, #2340C8 100%); border: 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 24px rgba(22,32,122,.28), 0 2px 6px rgba(22,32,122,.2); }
.card.next-webinar .small { color: #DCE6FF; }

/* v3.2 – cluster intro block on a navy surface, distinct from the module steps below */
.cn-intro { background: linear-gradient(155deg, #1B2A9C 0%, var(--navy) 55%, #0F1A6E 100%); border-radius: 16px; padding: 14px 10px 10px; margin-bottom: 14px;
  box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 10px 22px -8px rgba(18,32,138,.45), 0 2px 5px rgba(18,32,138,.18); }
.cn-intro .cn-head { color: #fff; margin: 0 6px 10px; }
.cn-intro .cn-head span { color: #FFB3B8; }
.cn-intro .cn-road { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); margin-bottom: 0; }
.cn-intro .cn-mod, .cn-intro .cn-mod .pl-t { color: #EEF1FF; }
.cn-intro .cn-mod em { color: #B9C3F2; }
.cn-intro a.cn-mod:hover { background: rgba(255,255,255,.1); }
.cn-intro .cn-mod .pl-ic { background: rgba(255,255,255,.14); color: #fff; }
.cn-intro .cn-mod.on { background: #fff; box-shadow: inset 3px 0 0 var(--red), 0 4px 12px -4px rgba(0,0,0,.35); }
.cn-intro .cn-mod.on .pl-ic { background: var(--navy); color: #fff; }
.cn-intro .cn-mod.on .pl-t { color: var(--navy-d); }
.cn-intro .cn-mod.on em { color: var(--muted); }
.cn-intro .cn-mod.ok .pl-ic { background: #fff; color: var(--navy) !important; }
.cn-intro .cn-task { border-top-color: rgba(255,255,255,.18); }
.cn-intro .cn-task .pl-t { color: #FFB3B8 !important; }
.cn-intro .cn-task.locked { opacity: .85; }
.cn-intro .cn-task.ok .pl-t { color: #fff !important; }

/* v3.3 – visible ticks on navy; Task shown as its own red assignment card */
.cluster-nav .cn-intro .cn-mod.ok .pl-ic { background: #fff !important; color: var(--navy) !important; border-color: #fff !important; }
.cluster-nav .cn-intro .cn-mod.on.ok .pl-ic { background: var(--navy) !important; color: #fff !important; }
.cn-intro .cn-road .cn-task { margin: 8px 2px 2px; border-top: 0; border-radius: 12px !important;
  background: linear-gradient(150deg, #E0333A 0%, #B91B22 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 14px -6px rgba(120,10,20,.6); }
.cn-intro .cn-road .cn-task .pl-t { color: #fff !important; }
.cn-intro .cn-road .cn-task em { color: #FFD9DB; }
.cn-intro .cn-road .cn-task .pl-ic { background: rgba(255,255,255,.2) !important; color: #fff !important; border-color: transparent !important; }
.cn-intro .cn-road .cn-task.ok .pl-ic { background: #fff !important; color: #B91B22 !important; }
.cn-intro .cn-road .cn-task:hover { background: linear-gradient(150deg, #E84047 0%, #C42028 100%); }
.cn-intro .cn-road .cn-task.locked { opacity: 1; background: rgba(224,51,58,.18); border: 1px dashed rgba(255,179,184,.6); box-shadow: none; }
.cn-intro .cn-road .cn-task.locked .pl-t { color: #FFD2D5 !important; }
.cn-intro .cn-road .cn-task.on { box-shadow: inset 3px 0 0 #fff, 0 6px 14px -6px rgba(120,10,20,.6); }
.cn-kick { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; opacity: .9; margin-bottom: 1px; }

/* v3.4 – task-done note (no duplicate Next button) */
.nextbar.done-note { justify-content: flex-start; background: linear-gradient(180deg, #F3F6FE, #E8EDFC); }

/* v3.5 – reminder strip: plain white surface, dark text, one small accent */
.remind, .remind.late { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy); color: var(--text); font-weight: 600; box-shadow: 0 2px 8px -4px rgba(18,32,138,.18); }
.remind.late { border-left-color: var(--red); }
.remind b { color: var(--navy); }
.alert.info, .alert.warn { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy); color: var(--text); }
.alert.warn { border-left-color: var(--red); }

/* v3.6 – Admin: add learner */
.al-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 4px 16px; }
.al-msg { width: 100%; font: inherit; font-size: 14px; line-height: 1.5; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--ivory); resize: vertical; }
.al-grid .field { min-width: 0; } .al-grid input, .al-grid select { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }

/* v3.7 – Add learner opens inside the Learners block */
.learners-block .row-between { margin-bottom: 14px; }
.learners-block .add-learner { background: linear-gradient(180deg, #F6F8FE, #EEF2FD); border: 1px solid #D9E1FA; border-radius: 14px; padding: 16px 18px; margin: 0 0 18px; }
.learners-block .add-learner h3 { margin: 0 0 4px; }
.learners-block .add-learner[hidden], #al-open[hidden] { display: none; }

/* v3.8 – account email preview */
.al-modal { max-width: 640px; }
.al-mail { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 12px 14px; margin-top: 10px; }
.al-row { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.al-row > span { width: 64px; flex: none; color: var(--muted); }
.al-row input { flex: 1; min-width: 0; font: inherit; font-weight: 700; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.al-mail .al-msg { margin-top: 10px; background: #FBFAF7; }
.al-sent { margin: 10px 0 0; font-weight: 700; color: var(--navy); }

/* v3.9 – Learners: account start column */
.learners-block td.nowrap { white-space: nowrap; }
.learners-block .soon { color: var(--red); font-weight: 700; }

/* v3.10 – account email dialog fits the screen: body scrolls, buttons always visible, × to close */
.modal.al-modal { position: relative; display: flex; flex-direction: column; max-height: calc(100vh - 32px); padding: 0; overflow: hidden; }
.al-modal .modal-body { overflow: auto; padding: 24px 24px 8px; }
.al-modal .btns { margin: 0; padding: 14px 24px 18px; border-top: 1px solid var(--line); background: #fff; flex: none; }
.al-modal .al-msg { max-height: 38vh; }
.al-x { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer; z-index: 2; }
.al-x:hover { background: var(--blue-bg); }
.al-modal h2 { padding-right: 40px; }

/* v3.11 – delete account (inside the profile only) */
.danger-zone { border: 1px solid #F1C4C6; background: linear-gradient(180deg, #fff, #FFF7F7); }
.danger-zone h2 { color: #B91B22; }
.btn.danger { background: linear-gradient(180deg, #E0333A, #B91B22); color: #fff; border-color: #B91B22; }
.btn.danger:disabled { opacity: .45; cursor: not-allowed; }
.del-modal { max-width: 500px; }
.del-modal h2 { color: #B91B22; }

/* v3.12 – Key Skill Subjects: work online */
.ks-ways { display: grid; gap: 8px; margin: 10px 0; }
.wb-file.online { background: linear-gradient(180deg, #F3F6FE, #E9EEFC); border-color: #CDD6F5; }
.warn-t { color: var(--red); }
.ksw-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.ksw-head h1 { margin: 2px 0 0; }
.ksw-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ksw-save { font-size: 13px; color: var(--muted); } .ksw-save.bad { color: var(--red); font-weight: 700; }
.ksw-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; position: sticky; top: 64px; z-index: 5; background: var(--bg, #F6F4EF); padding: 6px 0; }
.ksw-tab { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); font-weight: 700; font-size: 14px; }
.ksw-tab.on { border-color: var(--navy); box-shadow: inset 0 -3px 0 var(--navy); color: var(--navy-d); }
.ksw-tab em { font-style: normal; font-size: 11px; align-self: flex-start; }
.ksw-progress { display: flex; align-items: center; gap: 10px; } .ksw-progress .bar { flex: 1; }
.ksw-kp label { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; color: var(--navy-d); margin-bottom: 8px; }
.ksw-kp textarea, .ksw-table textarea, .ksw-table input, .ksw-info input, .ksw-info textarea, [data-mat] { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; background: #fff; resize: vertical; }
.ksw-kp textarea[readonly], .ksw-table [readonly], .ksw-info [readonly], [data-mat][readonly] { background: #F7F6F2; color: #555; }
.ksw-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 4px 16px; }
.ksw-table table { min-width: 760px; } .ksw-table th[scope=row] { white-space: nowrap; color: var(--navy-d); }
.ksw-table td { vertical-align: top; } .ksw-min { width: 92px; } .ksw-min input { text-align: center; }
.ksw-table tr.warn td.ksw-min input { border-color: var(--red); }
.ksw-w { display: block; font-size: 11px; color: var(--red); margin-top: 4px; line-height: 1.3; }
.ksw-total { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: #FFF0F0; color: var(--red); } .ksw-total.ok { background: var(--blue-bg); color: var(--navy); }
.ksw-option { display: grid; gap: 6px; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #F6F8FE; border: 1px solid #D9E1FA; font-size: 14px; }
.ksw-fb { border: 1px solid #F1C4C6; border-left: 5px solid var(--red); background: #FFF7F7; border-radius: 14px; padding: 14px 18px; margin-bottom: 14px; }
.ksw-fb > b { color: #B91B22; }
.ksw-check { list-style: none; padding: 0; display: grid; gap: 10px; }
.ksw-check > li { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; border-left: 5px solid var(--line); }
.ksw-check > li.ok { border-left-color: var(--navy); } .ksw-check > li.todo { border-left-color: var(--red); } .ksw-check > li.lock { opacity: .75; }
.ksw-check ul { margin: 6px 0; padding-left: 18px; font-size: 14px; }
@media (max-width: 640px) { .ksw-tabs { top: 56px; } .ksw-tab { padding: 8px 10px; font-size: 13px; } }

/* v3.13 – KS online: guidance and criteria */
.ksw-guide details { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: #FBFAF7; margin: 0 0 10px; }
.ksw-guide details[open] { background: #fff; }
.ksw-guide summary { cursor: pointer; font-weight: 800; color: var(--navy-d); font-family: var(--display); }
.ksw-guide ul { margin: 8px 0; padding-left: 20px; font-size: 14px; line-height: 1.55; }
.ksw-crit { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0; }
.ksw-crit th, .ksw-crit td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.ksw-crit th { background: var(--blue-bg); color: var(--navy-d); }
.ksw-crit tr.pass td { background: #F3F6FE; } .ksw-crit tr.resub td { background: #FFF5F5; }
.ksw-crit td.nowrap { white-space: nowrap; }
.ksw-final { border: 1px dashed #CDD6F5; border-radius: 12px; padding: 12px 14px; margin: 12px 0; background: #F8FAFF; }
.ksw-final ul { list-style: none; padding-left: 0; margin: 8px 0; font-size: 14px; display: grid; gap: 4px; }

/* v3.14 – Review & submit laid out like the Word workbook */
.ksw-review h2 { margin-bottom: 12px; } .ksw-review h3 { margin: 18px 0 8px; color: var(--navy-d); }
.ksw-glance { width: 100%; border-collapse: collapse; font-size: 14px; }
.ksw-glance th, .ksw-glance td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.ksw-glance thead th { background: var(--navy); color: #fff; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.ksw-glance tbody tr:nth-child(even) td { background: #FBFAF7; }
.ksw-glance tr.locked td { opacity: .8; }
.ksw-glance.kv th { width: 200px; background: var(--blue-bg); color: var(--navy-d); font-weight: 700; }
.kcs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.kc { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #F2F0EA; color: #6B6F7B; border: 1px solid var(--line); white-space: nowrap; }
.kc.ok { background: var(--blue-bg); color: var(--navy); border-color: #CDD6F5; }
.ksw-ticks { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; gap: 8px; }
.ksw-ticks label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-size: 14px; }
.ksw-ticks input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--navy); }
.ksw-ticks label:has(input:checked) { border-color: #CDD6F5; background: #F6F8FE; }
.ksw-submitbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.ksw-submitbar .btn:disabled { opacity: .45; cursor: not-allowed; }
.ksw-glance.kv th { text-transform: none; letter-spacing: 0; font-size: 14px; }

/* v3.15 – lesson stage table: wide Description, compact other columns */
.ksw-table table { table-layout: fixed; width: 100%; min-width: 860px; }
.ksw-table col.c-st { width: 11%; } .ksw-table col.c-act { width: 16%; } .ksw-table col.c-desc { width: 47%; }
.ksw-table col.c-res { width: 16%; } .ksw-table col.c-min { width: 10%; }
.ksw-table th, .ksw-table td { padding: 8px 6px; }
.ksw-table th[scope=row] { white-space: normal; font-size: 13px; line-height: 1.35; }
.ksw-table td.ksw-min { width: auto; } .ksw-min input { padding: 9px 4px; }
.ksw-table textarea[data-f=description] { min-height: 120px; }
.ksw-table thead th { font-size: 11px; }
.ksw-table table { min-width: 720px; }
.ksw-table th[scope=row] { letter-spacing: 0; }
.ksw-table th[scope=row] .stn { white-space: nowrap; display: inline-block; }
.ksw-table .nowrap { white-space: nowrap; }

/* v3.16 – Lesson Information: one field per row, label left (like the Word template) */
table.ksw-info { display: table; width: 100%; border-collapse: collapse; }
table.ksw-info th, table.ksw-info td { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
table.ksw-info th { width: 200px; background: var(--blue-bg); color: var(--navy-d); text-align: left; font-weight: 700; font-size: 14px; letter-spacing: 0; text-transform: none; }
table.ksw-info td { background: #fff; }
table.ksw-info input, table.ksw-info textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #fff; resize: vertical; }
table.ksw-info input[readonly] { background: #F7F6F2; }
@media (max-width: 640px) { table.ksw-info th { width: 110px; font-size: 13px; } }

/* v3.17 – KS submitted: thank-you page */
.ksw-done { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 28px; align-items: center; }
.ksw-done-photo { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg, 0 14px 30px rgba(18,32,138,.18)); }
.ksw-done-photo img { display: block; width: 100%; height: auto; }
.ksw-done-text h1 { margin: 4px 0 8px; }
.ksw-done-text .lead { font-size: 17px; }
.ksw-done-list { padding-left: 20px; line-height: 1.6; } .ksw-done-list li { margin-bottom: 8px; } .ksw-done-list ul { margin: 6px 0; }
.ksw-story textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; resize: vertical; background: #fff; }
.ksw-quote { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0; font-size: 14px; }
.ksw-quote input { margin-top: 3px; accent-color: var(--navy); }
@media (max-width: 760px) { .ksw-done { grid-template-columns: 1fr; } }

/* v3.18 – part tabs: live progress state */
.pill.kt-none { background: #EFEDE7; color: #6B6F7B; border: 1px solid var(--line); box-shadow: none; }
.pill.kt-prog { background: #FFF4DC; color: #8A5A00; border: 1px solid #F1D9A0; box-shadow: none; }
.pill.kt-done { background: var(--navy); color: #fff; border: 1px solid var(--navy); }

/* v3.19 – Stage 1 Lesson Plan & Demo */
.s1-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; margin-top: 10px; }
.s1-seg.two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.s1-opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.s1-opt input { margin-top: 4px; accent-color: var(--navy); }
.s1-opt.on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #F6F8FE; }
.s1-opt ul { margin: 6px 0 0; padding-left: 16px; } .s1-opt p { margin: 4px 0 0; }
.s1-help { margin: 8px 0; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; background: #FBFAF7; }
.s1-help summary { cursor: pointer; font-weight: 700; color: var(--navy-d); }
#s1-video[hidden], #s1-live[hidden] { display: none; }
.s1-admin { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.s1-a-col { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; }
.s1-a-col h3 { margin: 0 0 6px; }
.s1-lp-view { max-height: 60vh; overflow: auto; }
.modal.al-modal .s1-lp-view table { font-size: 13px; }

/* v3.20 – Stage 2 card: choose one way */
.ks-ways-h { margin: 12px 0 4px; font-size: 14px; color: var(--navy-d); }
.opt-n { display: inline-block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: var(--navy); color: #fff; border-radius: 6px; padding: 2px 7px; margin-right: 6px; vertical-align: 2px; }
.rec { font-style: normal; font-size: 11px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid #CDD6F5; border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: 2px; }
.ks-or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: -2px 0; }
.ks-or::before, .ks-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* v3.21 – Word workbook submission */
.ks-word-list { display: grid; gap: 8px; margin: 10px 0; }
.ks-word-row { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 12px; align-items: center; padding: 10px 12px; border: 1px dashed #CDD6F5; border-radius: 12px; background: #F8FAFF; }
.ks-word-row .kw-t { font-weight: 700; color: var(--navy-d); }
.ks-word-row input[type=file] { grid-column: 1 / -1; font-size: 14px; }
.ks-word-row .kw-f { grid-column: 1 / -1; }
.ks-word-done { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; }

/* v3.22 – Admin storage bar */
.storage-bar { padding: 14px 18px; } .storage-bar .bar { margin: 8px 0 4px; }
.storage-bar.warn .bar span { background: #E0A100; } .storage-bar.crit .bar span { background: var(--red); }
.storage-bar.warn, .storage-bar.crit { border-color: #F1C4C6; }

/* v3.23 – submit buttons on the subject card */
.wb-btns { display: flex; flex-direction: column; gap: 6px; align-items: stretch; flex: none; }
.wb-btns .btn { justify-content: center; white-space: nowrap; }
.opt-n { color: #fff !important; opacity: 1 !important; }
.ks-word.flash { box-shadow: 0 0 0 3px var(--navy), var(--shadow); transition: box-shadow .3s; }

/* v3.24 – home: My progress (both stages, no combined %) */
.my-prog .mp-row { margin: 10px 0 12px; } .my-prog .bar { margin: 6px 0 8px; }
.my-prog .kcs { margin-bottom: 0; }

/* v3.25 – Stage 1 · Lesson Plan → Demo Teaching cards */
.s1-flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; }
.s1-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: linear-gradient(180deg, #fff, #FBFAF7); box-shadow: var(--shadow); }
.s1-card.done { border-color: #CDD6F5; background: linear-gradient(180deg, #F6F8FE, #EEF2FD); }
.s1-card.locked { opacity: .8; }
.s1-c-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.s1-c-head b { flex: 1; font-family: var(--display); color: var(--navy-d); font-size: 16px; }
.s1-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; flex: none; }
.s1-card.locked .s1-n { background: #B9BFD3; }
.s1-dl { display: grid; grid-template-columns: 64px 1fr; gap: 6px 10px; margin: 0 0 12px; font-size: 14px; line-height: 1.45; }
.s1-dl dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; padding-top: 2px; }
.s1-dl dd { margin: 0; }
.s1-parts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.s1-parts span { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--blue-bg); color: var(--navy); border: 1px solid #CDD6F5; }
.s1-c-foot { margin-top: auto; display: flex; justify-content: flex-end; }
.s1-arrow { align-self: center; font-size: 22px; color: var(--muted); }
.s1-note { margin-top: 12px; }
.assess:empty { display: none; }
@media (max-width: 760px) { .s1-flow { grid-template-columns: 1fr; } .s1-arrow { transform: rotate(90deg); justify-self: center; } }

/* v3.26 – Course guide: one journey, no repeats */
.g-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: stretch; }
.g-stage { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.g-stage b { font-family: var(--display); color: var(--navy-d); } .g-stage span:last-child { font-size: 13px; color: var(--muted); }
.g-stage.cert { background: linear-gradient(180deg, #FFFDF8, #F7F2E6); border-color: #E5D5A8; }
.g-tag { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--navy); color: #fff; border-radius: 6px; padding: 2px 8px; }
.g-stage.cert .g-tag { background: #C8A962; }
.g-arrow { align-self: center; color: var(--muted); font-size: 20px; }
.g-steps { display: grid; gap: 4px; }
.g-step { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.g-step:last-child { border-bottom: 0; }
.g-step h3 { margin: 2px 0 6px; font-size: 17px; }
.g-step p { margin: 0 0 8px; }
.g-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; }
.g-tbl { width: 100%; font-size: 14px; }
.g-key { margin-top: 8px !important; padding: 8px 12px; border-radius: 10px; background: var(--blue-bg); font-size: 14px; }
.g-dates { display: flex; flex-wrap: wrap; gap: 6px; }
.g-dates span { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: #F2F0EA; border: 1px solid var(--line); }
.g-list { margin: 0; padding-left: 18px; line-height: 1.6; }
.g-cert { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 10px 0; }
.g-cert li { padding: 6px 12px; border-radius: 999px; background: var(--blue-bg); color: var(--navy); font-weight: 700; font-size: 14px; border: 1px solid #CDD6F5; }
@media (max-width: 760px) { .g-flow { grid-template-columns: 1fr; } .g-arrow { transform: rotate(90deg); justify-self: center; } }

/* v3.27 – Admin: study time */
.tm-tbl { font-size: 14px; } .tm-tbl th, .tm-tbl td { white-space: nowrap; }
.tm-tbl tfoot th { background: var(--blue-bg); color: var(--navy-d); }
.tm-tbl tr.tm-task td { background: #FBFAF7; } .tm-tbl tr.tm-sub td { border-bottom: 2px solid var(--line); background: #F6F8FE; }
.tm-days { display: flex; flex-wrap: wrap; gap: 6px; } .tm-days span { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: #F2F0EA; border: 1px solid var(--line); }

/* =====================================================================
   v4 – TESOL Flex visual: MINIMAL & MODERN (13/11/2026)
   Flat surfaces, thin lines, one strong blue, red only for key actions.
   Replaces the v3 "3D" look (gradients, layered shadows, raised buttons).
   Backup of the file before v4: scratchpad/theme.before-v4.css
   ===================================================================== */
:root {
  --bg: #F6F7FA; --ivory: #F6F7FA; --paper: #FFFFFF;
  --ink: #121735; --text: #121735; --muted: #646B84;
  --line: #E5E8F0; --line-2: #EEF0F5; --edge: #E5E8F0;
  --navy: #1B2A8F; --navy-d: #141F6E; --blue: #2E4FD6; --royal: #2E4FD6;
  --red: #E0302B; --red-d: #C2241F;
  --blue-bg: #EEF2FF; --wait-bg: #EEF2FF; --pink-bg: #FDEEEE; --ok: #2E4FD6; --ok-bg: #EEF2FF;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18,23,53,.05);
  --shadow-lg: 0 10px 28px -16px rgba(18,23,53,.22);
  --surface: #FFFFFF; --lift: 0 0 0 transparent;
}
body { background: var(--bg); background-attachment: scroll; }

/* header: clean white bar with the thin brand stripe */
.top { background: #fff; box-shadow: none; border-bottom: 1px solid var(--line); }
.avatar { background: var(--royal); box-shadow: none; }

/* cards & panels: flat white, thin line */
.card, .tblock, .kpi, .trainers, .guide-banner, .playlist, .toc, .so-col, .rule, .help-panel {
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.card:hover, .tblock:hover { box-shadow: var(--shadow); transform: none; }
.tblock.is-current { transform: none; box-shadow: 0 0 0 2px var(--royal); }

/* block headers: title + thin divider + small solid blue mark */
.card > h2:first-child::before, .card > h3:first-child::before, .card > .row-between:first-child::before {
  background: var(--royal); width: 3px; }
.card > h2:first-child, .card > h3:first-child, .card > .row-between:first-child { border-bottom-color: var(--line-2); }
.card.step::after { background: var(--royal); height: 2px; }

/* buttons: flat */
.btn, .btn:hover, .btn:active { box-shadow: none; transform: none; }
.btn { background: var(--royal); color: #fff; border: 1px solid var(--royal); }
.btn:hover { background: #2443BC; border-color: #2443BC; }
.btn.ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--blue-bg); border-color: #CBD5FB; }
.hero.has-people .btn.big, .btn-next, .btn.danger { background: var(--red); border-color: var(--red); color: #fff; box-shadow: none; }
.hero.has-people .btn.big:hover, .btn-next:hover, .btn.danger:hover { background: var(--red-d); border-color: var(--red-d); }

/* inputs */
input[type=text], input[type=email], input[type=password], input:not([type]), input[type=datetime-local], input[type=date], textarea, select {
  box-shadow: none; border-color: var(--line); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(46,79,214,.15); }

/* pills: flat chips */
.pill { box-shadow: none; }
.st-ok { background: var(--blue-bg); color: var(--navy); }
.st-wait { background: #F0F2F7; color: var(--muted); }
.st-next { background: var(--red); color: #fff; }

/* progress */
.bar span { background: var(--royal); }
.kpi b { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--navy); }

/* dark blocks: solid colour, no gradient */
.stage-banner { background: var(--rays), var(--royal); box-shadow: none; }
.gb-head { background: var(--rays), var(--royal); }
.next-webinar, .card.next-webinar { background: var(--navy); box-shadow: none; }
.ks-wish, .ks-wish.done { background: var(--rays), var(--navy); box-shadow: none; }
.cn-intro { background: var(--navy); box-shadow: none; }
.cn-intro .cn-road .cn-task { background: var(--red); box-shadow: none; }
.cn-intro .cn-road .cn-task:hover { background: var(--red-d); }
.cn-intro .cn-road .cn-task.locked { background: rgba(224,48,43,.16); }

/* light tinted blocks: flat */
.suggested, .nextbar.done-note, .learners-block .add-learner, .wb-file.online, .s1-card.done { background: var(--blue-bg); }
.danger-zone { background: #fff; border-color: #F4C9C7; }
.s1-card, .g-stage { background: #fff; box-shadow: none; }
.gb-cert, .g-stage.cert, .done-steps li:last-child { background: #FFFCF5; }
.tblock.is-current .block-head { background: var(--blue-bg); }

/* course guide cards: no offset 3D shadow */
.gb-stage, .gb-cert, .gb-flow > .gb-stage:nth-of-type(2) { box-shadow: none; }

/* media */
.video, .deck { box-shadow: none; }

/* v4.1 – Flex visual lines: icon | divider in banners, thin arcs with dots on dark blocks */
:root {
  --arcs: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'%3E%3Ccircle cx='200' cy='200' r='128' stroke='white' stroke-opacity='.06' stroke-width='16'/%3E%3Cpath d='M50 200A150 150 0 0 1 200 50' stroke='white' stroke-opacity='.45' stroke-width='1.3'/%3E%3Cpath d='M90 200A110 110 0 0 1 200 90' stroke='white' stroke-opacity='.36' stroke-width='1.3'/%3E%3Cpath d='M130 200A70 70 0 0 1 200 130' stroke='white' stroke-opacity='.28' stroke-width='1.3'/%3E%3Ccircle cx='77.1' cy='114' r='3' fill='white' fill-opacity='.75'/%3E%3Ccircle cx='136.9' cy='109.9' r='2.6' fill='white' fill-opacity='.65'/%3E%3Ccircle cx='134.2' cy='176.1' r='2.3' fill='white' fill-opacity='.55'/%3E%3C/svg%3E");
}
.line-ic { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; color: #fff;
  padding-right: 18px; margin-right: 18px; border-right: 1px solid rgba(255,255,255,.45); }
.line-ic svg { width: 40px; height: 40px; display: block; }
.stage-banner { align-items: center; background: var(--arcs) right -30px bottom -70px / 230px no-repeat, var(--royal); }
.stage-banner .line-ic { margin-left: 22px; margin-right: 0; align-self: stretch; margin-top: 14px; margin-bottom: 14px; }
.stage-banner .sb-num { align-self: stretch; }
.stage-banner .sb-body { padding-left: 18px; }
.next-webinar, .card.next-webinar { background: var(--arcs) right -40px bottom -60px / 220px no-repeat, var(--navy); }
.next-webinar::after { display: none; }
.next-webinar .lined { display: flex; align-items: flex-start; position: relative; }
.next-webinar .line-ic { align-self: stretch; align-items: flex-start; padding-top: 4px; }
.next-webinar .line-ic svg { width: 34px; height: 34px; }
.gb-head { display: flex; align-items: center; background: var(--arcs) right -30px bottom -80px / 240px no-repeat, var(--royal); }
.gb-head > div { flex: 1; }
.gb-head .line-ic { align-self: stretch; }
.cn-intro { background: var(--arcs) right -60px bottom -70px / 200px no-repeat, var(--navy); }
@media (max-width: 640px) {
  .line-ic { padding-right: 12px; margin-right: 12px; }
  .line-ic svg { width: 28px; height: 28px; }
  .stage-banner .line-ic { margin-left: 14px; margin-right: 0; }
  .stage-banner .sb-body { padding-left: 12px; }
  .next-webinar .line-ic svg { width: 26px; height: 26px; }
}

/* v4.2 – Task answers: boxes wrap and grow with long text, then scroll; review step */
#tf textarea { resize: vertical; overflow-wrap: anywhere; line-height: 1.5; }
#tf textarea.one-line { min-height: 46px; }
.choice.other { flex-wrap: nowrap; align-items: flex-start; }
.choice.other textarea { flex: 1; min-width: 0; }
.field .ans { white-space: pre-wrap; overflow-wrap: anywhere; }
.review-head .btns, .review-foot .btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.review-foot { margin-top: 8px; }
.task-layout[hidden], #tf-review[hidden], .card.intro[hidden] { display: none !important; }
.page-nav[hidden] { display: none !important; }
.submit-card .sc-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =====================================================================
   v4.3 – Flex visual like the sales page (flex.educap.vn/demo):
   warm ivory page with the Flex rings & rays visual, white blocks that
   stand out (soft navy shadow, rounded), brand navy/red from the demo page.
   ===================================================================== */
:root {
  --navy:#12208A; --navy-d:#0C1766; --royal:#2E4FD6; --blue:#2E4FD6;
  --red:#CA2027; --red-d:#A9181F;
  --bg:#F6F7FA; --ivory:#F6F7FA; --ink:#1B1F3B; --text:#1B1F3B; --muted:#5B6180;
  --line:#E3E5EF; --line-2:#ECEEF4; --edge:#E3E5EF;
  --blue-bg:#EEF2FD; --wait-bg:#EEF2FD; --ok-bg:#EEF2FD; --pink-bg:#FCEFEF;
  --radius:18px;
  --shadow:0 1px 2px rgba(12,23,102,.06), 0 8px 24px rgba(12,23,102,.07);
  --shadow-lg:0 2px 4px rgba(12,23,102,.06), 0 18px 40px -12px rgba(12,23,102,.22);
}

/* Header: white glass bar so the visual shows through softly */
.top { background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(227,229,239,.9); box-shadow: 0 6px 20px -16px rgba(12,23,102,.35); }

/* Blocks stand out: white, rounded, soft navy shadow */
.card, .tblock, .kpi, .trainers, .guide-banner, .playlist, .toc, .so-col, .rule, .help-panel, .tsec, .submit-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.card:hover, .tblock:hover { box-shadow: var(--shadow-lg); }
.tblock.is-current { box-shadow: 0 0 0 2px var(--royal), var(--shadow-lg); }
.card > h2:first-child, .card > h3:first-child, .card > .row-between:first-child { border-bottom-color: var(--line-2); }
.card > h2:first-child::before, .card > h3:first-child::before, .card > .row-between:first-child::before { background: var(--red); }

/* Tinted tiles inside blocks (like the stat boxes on the sample) */
.gb-stage, .so-col, .rule, .missing-box { border-radius: 16px; }
.submit-card { background: #fff; }
.next-webinar, .card.next-webinar, .stage-banner, .gb-head, .cn-intro { box-shadow: var(--shadow-lg); border: 0; }

/* Page titles a touch stronger on the visual */
h1 { color: var(--navy-d); letter-spacing: -.015em; }
.eyebrow { color: var(--red); letter-spacing: .12em; }

/* Buttons: pill shape and soft glow like the sample */
.btn { border-radius: 999px; }
.btn:not(.ghost):not(.link) { box-shadow: 0 6px 16px -6px rgba(46,79,214,.55); }
.hero.has-people .btn.big, .btn-next, .btn.danger { box-shadow: 0 6px 18px -6px rgba(202,32,39,.5); }
.btn.ghost { background: #fff; border-color: var(--line); box-shadow: 0 1px 2px rgba(12,23,102,.05); }
.btn.sm { border-radius: 999px; }


/* v4.5 – blocks clearer (background visual removed 13/11/2026 – plain light background as before) */
:root { --line:#DCDFEA; --shadow:0 1px 3px rgba(12,23,102,.08), 0 10px 28px -6px rgba(12,23,102,.14); }
.card, .tblock, .kpi, .trainers, .guide-banner, .playlist, .toc, .so-col, .rule, .help-panel, .tsec, .submit-card { border-color: #DCDFEA; }

body { background: var(--bg); background-attachment: scroll; }

/* v4.6 – stronger block shadows on the plain background */
:root { --shadow:0 2px 4px rgba(12,23,102,.07), 0 14px 32px -8px rgba(12,23,102,.20);
        --shadow-lg:0 3px 6px rgba(12,23,102,.08), 0 22px 44px -12px rgba(12,23,102,.30); }
.card, .tblock, .kpi, .trainers, .guide-banner, .playlist, .toc, .rule, .help-panel, .tsec, .submit-card { box-shadow: var(--shadow); }
.gb-stage, .so-col, .ksw-card, .stage-card { box-shadow: 0 1px 2px rgba(12,23,102,.06), 0 6px 16px -6px rgba(12,23,102,.16); }

/* v4.7 – welcome hero: trainers on a soft light disc (Flex visual) instead of a hard white panel */
.hero.has-people { position: relative; overflow: hidden; isolation: isolate;
  background: var(--arcs) left -70px bottom -90px / 260px no-repeat,
              radial-gradient(120% 140% at 85% 30%, #2A45C9 0%, var(--navy) 45%, var(--navy-d) 100%); }
.hero-trainers { -webkit-mask-image: none; mask-image: none; background: none; isolation: isolate; overflow: visible; }
.hero-trainers::before { content: ""; position: absolute; z-index: 0; left: 50%; top: 50%; width: 540px; height: 540px; border-radius: 50%;
  transform: translate(-50%, -36%);
  background: radial-gradient(circle at 50% 38%, #FFFFFF 0 52%, #F1F4FE 66%, #DDE5FB 100%);
  box-shadow: 0 0 0 16px rgba(255,255,255,.07), 0 0 0 34px rgba(255,255,255,.045), 0 30px 60px -20px rgba(0,0,0,.45); }
.hero-trainers::after { content: ""; position: absolute; z-index: 0; left: 50%; top: 50%; width: 660px; height: 660px; border-radius: 50%;
  transform: translate(-50%, -38%); border: 1px solid rgba(255,255,255,.28); pointer-events: none; }
.hero-trainers img { position: relative; z-index: 1; mix-blend-mode: multiply; }
@media (max-width: 640px) {
  .hero-trainers { -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); overflow: hidden; }
  .hero-trainers::before { width: 360px; height: 360px; transform: translate(-50%, -42%); }
  .hero-trainers::after { width: 430px; height: 430px; transform: translate(-50%, -44%); }
}
/* v4.7b – the light disc carries the Flex rings visual, softly */
.hero-trainers::before { width: 720px; height: 720px; transform: translate(-44%, -40%);
  background: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)), url(img/hero-bg.jpg) 18% 40% / 1100px auto no-repeat, #F7F5F0; }
.hero-trainers::after { width: 800px; height: 800px; transform: translate(-45%, -41%); border: 1.5px solid rgba(255,255,255,.35);
  box-shadow: inset 0 0 0 26px rgba(255,255,255,.05); }
@media (max-width: 640px) {
  .hero-trainers::before { width: 520px; height: 520px; transform: translate(-50%, -38%); }
  .hero-trainers::after { width: 580px; height: 580px; transform: translate(-50%, -39%); }
}
/* v4.7c – trainers on the top layer: no blending through the photo; only the photo's white edges fade into the visual */
.hero-trainers img { mix-blend-mode: normal; z-index: 2;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); }

/* v5.0 – Montserrat for the whole site (same font as educap.com.vn) – user feedback 14/11/2026 */
:root { --display: "Montserrat", "Helvetica Neue", Arial, sans-serif; }
body { font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif; font-size: 15px; line-height: 1.6; }
h1, h2, h3 { letter-spacing: -.01em; }
input, textarea, select, button { font-family: inherit; }

/* v5.1 – lesson video stays in view while answering the questions below (user feedback 14/11/2026) */
.lv-mini-bar { display: none; }
@media (min-width: 900px) {
  .lv-sticky { position: sticky; top: 76px; z-index: 6; background: var(--paper, #fff); padding: 6px 0 4px; margin: -6px 0 6px; }
  .lv-sticky .video { width: min(100%, calc(42vh * 16 / 9)); margin-left: auto; margin-right: auto; }
  .lv-sticky .resume { text-align: center; }
}
@media (max-width: 899px) {
  .lv-slot.mini { position: fixed; z-index: 60; right: 10px; top: 64px; width: 54vw; max-width: 260px;
    background: #0C1766; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 28px -8px rgba(12,23,102,.55); }
  .lv-slot.mini .video { margin: 0; border-radius: 0; box-shadow: none; }
  .lv-slot.mini .resume { display: none; }
  .lv-slot.mini .lv-mini-bar { display: flex; justify-content: space-between; }
  .lv-mini-bar button { background: none; border: 0; color: #fff; font: 600 13px/1 inherit; font-family: inherit; padding: 8px 10px; cursor: pointer; }
}

/* v5.2 – suggested answer under each question, encouragement, speak instead of typing (user feedback 14/11/2026) */
.q-input { position: relative; }
.q-input textarea { padding-right: 52px; }
.mic { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.mic:hover { border-color: var(--royal); color: var(--royal); }
.mic.on { background: var(--red); border-color: var(--red); color: #fff; animation: micPulse 1.2s ease-in-out infinite; }
@keyframes micPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(202,32,39,.35); } 50% { box-shadow: 0 0 0 8px rgba(202,32,39,0); } }
.q-sugg { margin: 8px 0 4px; background: var(--blue-bg); border-left: 4px solid var(--royal); border-radius: 10px; padding: 10px 14px; }
.q-sugg-h { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--royal); }
.q-sugg .article-body p:last-child { margin-bottom: 0; }
.q-encourage { background: #E8F5EE; border: 1px solid #BFE3CD; color: #14532D; border-radius: 12px; padding: 12px 14px; margin: 6px 0 14px; }

/* v5.3 – no decorative emoji; thin line lock icon (user feedback 14/11/2026) */
.ic-lock { display: inline-block; vertical-align: -0.12em; }
.lock-ic { font-size: 40px; color: var(--muted); margin: 0; line-height: 1; }
.lock-ic .ic-lock { width: 40px; height: 40px; }
.rule { display: block; }

/* v5.4 – staff trial cohort */
.trial-pill { background: var(--red); color: #fff; font-size: 11px; letter-spacing: .08em; padding: 2px 8px; vertical-align: 2px; }
.trial-opt { border: 1px dashed var(--red); border-radius: 12px; padding: 10px 12px; margin: 6px 0 14px; }
