/* Moiboo Academy · training pages (Workshop, Rental, …) */
:root {
	--brand: #00AFEB;
	--brand-dark: #0090C2;
	--brand-tint: #E8F8FE;
	--brand-tint-2: #F4FBFE;
	--ink: #0B1B2B;
	--ink-2: #3D4B5C;
	--muted: #6B7785;
	--line: #E3E8EE;
	--white: #FFFFFF;
	--radius: 12px;
	--shadow: 0 6px 24px rgba(11, 27, 43, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
	font-family: "Urbanist", system-ui, sans-serif;
	color: var(--ink);
	background: var(--white);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { flex: none; white-space: nowrap; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand img { width: 44px; height: auto; }
.brand span b { color: var(--brand); }
.nav-links { flex: none; display: flex; gap: 22px; margin-left: auto; font-weight: 700; color: var(--ink-2); font-size: 15px; white-space: nowrap; }
.nav-links a:hover { color: var(--brand); }
.search {
	flex: 0 1 340px; min-width: 0;
	display: flex; align-items: center;
	border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 16px;
}
.search:focus-within { border-color: var(--brand); }
.search input { min-width: 0; border: 0; outline: 0; flex: 1; font: inherit; font-size: 14px; background: transparent; }
.search button {
	width: 34px; height: 34px; border-radius: 50%; border: 0; flex: none;
	background: var(--brand); color: var(--white); display: grid; place-items: center;
}

/* ---------- Buttons ---------- */
.btn {
	white-space: nowrap;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-weight: 700; font-size: 15px;
	padding: 12px 22px; border-radius: 10px; border: 2px solid var(--brand);
	background: var(--brand); color: var(--white);
	transition: background .15s, box-shadow .15s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); box-shadow: 0 6px 18px rgba(0, 175, 235, .3); }
.btn-outline { background: var(--white); color: var(--brand); }
.btn-outline:hover { background: var(--brand-tint); color: var(--brand-dark); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 34px; font-size: 16px; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 14px 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs .sep { opacity: .6; }

/* ---------- Hero ---------- */
.hero {
	background: linear-gradient(180deg, var(--brand-tint) 0%, var(--brand-tint-2) 100%);
	position: relative; overflow: hidden;
	padding: 40px 0 110px;
}
.hero::after {
	content: ""; position: absolute; right: -140px; top: -120px;
	width: 520px; height: 520px; border-radius: 50%;
	border: 70px solid rgba(0, 175, 235, .10);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.hero h1 { font-size: 44px; line-height: 1.12; font-weight: 800; margin: 12px 0 14px; letter-spacing: -.01em; }
.hero p.lead { font-size: 17px; color: var(--ink-2); max-width: 560px; }
.hero .meta { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.hero .meta b { color: var(--brand); }
.hero .cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .cta small { display: block; font-weight: 500; font-size: 12px; opacity: .9; }
.hero-visual { background: var(--white); border-radius: 16px; padding: 10px; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-visual img { border-radius: 10px; }

/* ---------- Stats bar ---------- */
.stats {
	position: relative; z-index: 2; margin-top: -64px;
	background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
	display: grid; grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--line);
}
.stat { padding: 22px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .v { font-weight: 800; font-size: 18px; }
.stat .v.link { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.stat .l { font-size: 13px; color: var(--muted); }

/* ---------- Tabs ---------- */
.tabs {
	display: flex; gap: 6px; margin-top: 36px; border-bottom: 1px solid var(--line);
	position: sticky; top: 68px; background: var(--white); z-index: 20; overflow-x: auto;
}
.tabs a { padding: 14px 16px; font-weight: 700; font-size: 15px; color: var(--ink-2); border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a:hover, .tabs a.active { color: var(--brand); border-bottom-color: var(--brand); }

/* ---------- Sections ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding: 32px 0 60px; }
.section { padding: 26px 0; scroll-margin-top: 130px; }
.section h2 { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.section h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.learn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.learn-grid li { list-style: none; display: flex; gap: 12px; font-size: 15px; color: var(--ink-2); }
.learn-grid li svg { flex: none; color: var(--brand); margin-top: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--brand-tint); color: #006F96; font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.detail { display: flex; gap: 14px; align-items: flex-start; }
.detail .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.detail b { display: block; font-size: 15px; }
.detail span { font-size: 13px; color: var(--muted); }

/* ---------- Modules accordion ---------- */
.modules { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.module { border-bottom: 1px solid var(--line); }
.module:last-child { border-bottom: 0; }
.module-head {
	width: 100%; display: flex; align-items: center; gap: 16px; text-align: left;
	background: var(--white); border: 0; padding: 22px 26px; color: var(--ink);
}
.module-head:hover { background: var(--brand-tint-2); }
.module-num { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center; font-weight: 800; background: var(--brand-tint); color: var(--brand); }
.module-title { flex: 1; }
.module-title b { display: block; font-size: 17px; font-weight: 800; }
.module-title span { font-size: 13px; color: var(--muted); }
.module-head .chev { color: var(--brand); transition: transform .2s; flex: none; }
.module.open .module-head .chev { transform: rotate(180deg); }
.module-body { display: none; padding: 0 26px 24px 82px; }
.module.open .module-body { display: block; }
.module-body p { color: var(--ink-2); font-size: 15px; margin-bottom: 14px; }
.included-title { font-weight: 800; font-size: 15px; margin: 6px 0 10px; }
.included { display: flex; flex-wrap: wrap; gap: 26px; color: var(--ink-2); font-size: 15px; margin-bottom: 18px; }
.included span { display: inline-flex; align-items: center; gap: 8px; }
.included svg { color: var(--ink); }
.module-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.no-results { display: none; padding: 24px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); margin-top: 12px; }

/* ---------- Sidebar ---------- */
.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; background: var(--white); }
.side-card h4 { font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.side-card .row { display: flex; gap: 12px; align-items: center; }
.side-card .row img { width: 52px; border-radius: 8px; }
.side-card .muted { font-size: 13px; color: var(--muted); }
.side-sticky { position: sticky; top: 140px; }

/* ---------- Module page ---------- */
.mod-hero { background: linear-gradient(180deg, var(--brand-tint) 0%, var(--white) 100%); padding: 10px 0 28px; }
.mod-hero h1 { font-size: 36px; font-weight: 800; line-height: 1.15; margin: 8px 0 10px; }
.mod-hero .tags { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.mod-hero .tags b { color: var(--ink); }
.mod-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 36px; padding: 28px 0 70px; }
.toc { position: sticky; top: 90px; align-self: start; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.toc h4 { padding: 16px 18px; font-size: 14px; font-weight: 800; background: var(--brand-tint-2); border-bottom: 1px solid var(--line); }
.toc a { display: flex; gap: 12px; padding: 12px 18px; font-size: 14px; color: var(--ink-2); border-left: 3px solid transparent; }
.toc a:hover { background: var(--brand-tint-2); }
.toc a.active { border-left-color: var(--brand); background: var(--brand-tint); color: var(--ink); font-weight: 700; }
.toc a em { font-style: normal; font-weight: 800; color: var(--brand); min-width: 18px; }

.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 24px; overflow: hidden; scroll-margin-top: 90px; }
.card-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.card-head .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.card-head h3 { font-size: 18px; font-weight: 800; }
.card-head span { font-size: 13px; color: var(--muted); }
.card-body { padding: 22px; }

.video { position: relative; aspect-ratio: 16 / 9; background: #0B1B2B; overflow: hidden; display: grid; place-items: center; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.video .play {
	position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 50%; border: 0;
	background: var(--brand); color: var(--white); display: grid; place-items: center;
	box-shadow: 0 0 0 12px rgba(0, 175, 235, .25); transition: transform .15s;
}
.video .play:hover { transform: scale(1.06); }
.video .vlabel { position: absolute; left: 20px; bottom: 16px; z-index: 1; color: var(--white); font-weight: 700; font-size: 15px; }
.video .vlabel small { display: block; font-weight: 500; opacity: .75; font-size: 12px; }

.reading { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; align-items: center; }
.pdf-thumb { aspect-ratio: 3 / 4; border-radius: 10px; border: 1px solid var(--line); background: var(--brand-tint-2); position: relative; overflow: hidden; }
.pdf-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pdf-thumb .badge { position: absolute; top: 10px; left: 10px; background: #E5484D; color: var(--white); font-weight: 800; font-size: 11px; padding: 3px 8px; border-radius: 5px; letter-spacing: .05em; }
.reading h4 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.reading p { color: var(--ink-2); font-size: 14px; margin-bottom: 14px; }
.reading .actions { display: flex; gap: 10px; flex-wrap: wrap; }

.assign { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.assign p { color: var(--ink-2); font-size: 15px; }

.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; }
.pager a { flex: 1; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; transition: border-color .15s, box-shadow .15s; }
.pager a:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.pager a small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.pager a b { font-size: 16px; }
.pager a.next { text-align: right; }

/* ---------- Footer ---------- */
.site-footer { background: #0B1B2B; color: #C7D2DD; padding: 34px 0; font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-footer b { color: var(--white); }
.site-footer a:hover { color: var(--brand); }

/* ---------- Toast ---------- */
.toast {
	position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
	background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: 10px;
	font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 100;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.hero .wrap { grid-template-columns: 1fr; }
	.hero-visual { display: none; }
	.layout, .mod-layout { grid-template-columns: 1fr; }
	.toc, .side-sticky { position: static; }
}
@media (max-width: 720px) {
	.wrap { padding: 0 16px; }
	.site-header .wrap { gap: 12px; }
	.brand span { display: none; }
	.nav-links { margin-left: 0; }
	.search { flex: 1 1 auto; }
	.hero h1 { font-size: 32px; }
	.mod-hero h1 { font-size: 28px; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.learn-grid, .details { grid-template-columns: 1fr; }
	.module-body { padding: 0 20px 22px; }
	.reading { grid-template-columns: 1fr; }
	.pdf-thumb { max-width: 150px; }
	.pager { flex-direction: column; }
	.assign .btn { width: 100%; }
}

/* ---------- carried over ---------- */
.toc { max-height: calc(100vh - 110px); overflow-y: auto; }
.toc h4 { position: sticky; top: 0; z-index: 1; }
.toc-day { padding: 14px 18px 6px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); border-top: 1px solid var(--line); }
.toc h4 + .toc-day { border-top: 0; }
.toc a.done em { color: transparent; position: relative; }
.toc a.done em::after { content: "✓"; color: #16A34A; position: absolute; left: 0; }
.video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0B1B2B; }
.video.playing .play, .video.playing .vlabel { display: none; }
.video:not(.playing) video { opacity: .45; }
.mcards { border: 0; overflow: visible; display: grid; gap: 16px; }
.mcard { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; background: var(--white); }
.mcard h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; padding-right: 110px; }
.mcard p { color: var(--ink-2); font-size: 15px; margin-bottom: 14px; }
.group-head { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 14px 0 -4px; }
.group-head:first-child { margin-top: 0; }
.mstate { position: absolute; top: 20px; right: 22px; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; display: none; }
.mstate.on { display: inline-block; background: var(--brand-tint); color: #006F96; }
.mstate.ok { display: inline-block; background: #DCFCE7; color: #15803D; }

/* ---------- assignment: practice lab ---------- */
.lab .card-head { flex-wrap: wrap; }
.lab-pill { margin-left: auto; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--brand-tint); color: #006F96; }
.lab-pill.ok { background: #DCFCE7; color: #15803D; }
.mission {
	display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
	background: linear-gradient(135deg, #0B1B2B 0%, #12324A 100%); color: var(--white);
	border-radius: 12px; padding: 20px 22px; margin-bottom: 26px;
}
.mission-ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(0, 175, 235, .2); color: var(--brand); display: grid; place-items: center; flex: none; }
.mission-text { flex: 1; min-width: 220px; }
.mission-text small { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--brand); }
.mission-text p { font-size: 16px; line-height: 1.5; margin-top: 2px; }
.lab-label { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; margin: 4px 0 10px; }
.lab-label span { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: var(--white); display: grid; place-items: center; font-size: 13px; }
.lab-label em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--muted); font-weight: 700; }
.lab-bar { height: 6px; background: var(--brand-tint); border-radius: 99px; overflow: hidden; margin-bottom: 12px; }
.lab-bar i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 99px; transition: width .3s; }
.tasks { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; counter-reset: t; }
.task { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; transition: background .2s, border-color .2s; }
.task.done { background: #F0FDF4; border-color: #BBF7D0; }
.task.done .task-text { color: var(--muted); text-decoration: line-through; text-decoration-color: #86EFAC; }
.tick { position: relative; flex: none; cursor: pointer; margin-top: 1px; }
.tick input { position: absolute; opacity: 0; width: 0; height: 0; }
.tick span { display: block; width: 24px; height: 24px; border-radius: 7px; border: 2px solid #C5D0DA; background: var(--white); transition: all .15s; }
.tick input:checked + span { background: #22C55E; border-color: #22C55E; }
.tick input:checked + span::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.tick input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.task-body { flex: 1; min-width: 0; }
.task-text { font-weight: 700; font-size: 15px; }
.hint-btn { border: 0; background: none; color: var(--brand); font-weight: 700; font-size: 13px; padding: 4px 0 0; display: inline-flex; gap: 5px; align-items: center; }
.hint-btn:hover { text-decoration: underline; }
.hint { display: none; margin-top: 8px; font-size: 14px; color: var(--ink-2); background: var(--brand-tint-2); border-left: 3px solid var(--brand); padding: 10px 12px; border-radius: 0 8px 8px 0; }
.task.open .hint { display: block; }
.quiz { display: grid; gap: 14px; margin-bottom: 24px; }
.qz { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.qz p { font-weight: 700; margin-bottom: 10px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { text-align: left; border: 1.5px solid var(--line); background: var(--white); border-radius: 9px; padding: 10px 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .15s; }
.opt:hover { border-color: var(--brand); color: var(--ink); }
.opt.right { border-color: #22C55E; background: #F0FDF4; color: #15803D; }
.opt.wrong { border-color: #F87171; background: #FEF2F2; color: #B91C1C; }
.why { display: none; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.qz.answered .why { display: block; }
.qz.answered.correct .why::before { content: "Correct — "; font-weight: 800; color: #15803D; }
.qz.answered:not(.correct) .why::before { content: "Not quite — try again. "; font-weight: 800; color: #B91C1C; }
.lab-done { border-radius: 12px; padding: 18px 20px; }
.lab-done .locked { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; font-weight: 600; }
.lab-done .unlocked { display: none; align-items: center; gap: 16px; flex-wrap: wrap; }
.lab-done { background: var(--brand-tint-2); border: 1px dashed #B6E6F7; }
.lab-done.ok { background: #F0FDF4; border: 1px solid #BBF7D0; }
.lab-done.ok .locked { display: none; }
.lab-done.ok .unlocked { display: flex; }
.trophy { width: 52px; height: 52px; border-radius: 50%; background: #22C55E; color: #fff; display: grid; place-items: center; flex: none; }
.unlocked b { display: block; font-size: 17px; }
.unlocked span { font-size: 14px; color: var(--ink-2); }
.done-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.lab-reset { margin-top: 12px; border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 600; }
.lab-reset:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 720px) {
	.opts { grid-template-columns: 1fr; }
	.mission .btn, .done-actions, .done-actions .btn { width: 100%; }
	.mcard h3 { padding-right: 0; }
	.mstate { position: static; margin-bottom: 8px; }
}

/* ---------- text guide ---------- */
.steps { list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; color: var(--ink-2); }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); font-weight: 800; color: var(--brand); min-width: 26px; }
.steps li b { color: var(--ink); }
.sub-label { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin: 22px 0 4px; }
.sub-label:first-child { margin-top: 0; }

/* ---------- practice assignment ---------- */
.practice .card-head { flex-wrap: wrap; }
.p-pill { margin-left: auto; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--brand-tint); color: #006F96; }
.p-pill.ok { background: #DCFCE7; color: #15803D; }
.p-note { background: var(--brand-tint-2); border: 1px solid #CDEFFB; border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.p-note b { color: var(--ink); }
.p-scenario { border-left: 4px solid var(--brand); padding: 4px 0 4px 16px; margin-bottom: 22px; }
.p-scenario small { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--brand); }
.p-scenario p { font-size: 16px; color: var(--ink); margin-top: 2px; }
.p-tasks { border: 0; margin: 0 0 18px; padding: 0; }
.p-tasks legend { display: flex; width: 100%; align-items: center; font-weight: 800; font-size: 16px; margin-bottom: 10px; }
.p-tasks legend em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--muted); font-weight: 700; }
.p-tasks ul { list-style: none; display: grid; gap: 8px; }
.p-task { position: relative; }
.p-task input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.p-task label { display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; min-height: 48px; transition: background .2s, border-color .2s; }
.p-task label:hover { border-color: var(--brand); }
.p-task .box { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 2px solid #C5D0DA; background: var(--white); position: relative; margin-top: 1px; transition: all .15s; }
.p-task .p-num { color: var(--brand); font-weight: 800; min-width: 18px; }
.p-task input:checked + label { background: #F0FDF4; border-color: #BBF7D0; color: var(--muted); }
.p-task input:checked + label .box { background: #22C55E; border-color: #22C55E; }
.p-task input:checked + label .box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.p-task input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: 2px; }
.p-collapse { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: var(--white); }
.p-collapse summary { list-style: none; cursor: pointer; padding: 13px 16px; font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 8px; color: var(--ink); min-height: 48px; }
.p-collapse summary::-webkit-details-marker { display: none; }
.p-collapse summary svg { color: var(--brand); }
.p-collapse summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--brand); font-weight: 700; }
.p-collapse[open] summary::after { content: "−"; }
.p-collapse summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 10px; }
.p-collapse ul, .p-collapse p { padding: 0 16px 14px 40px; font-size: 14px; color: var(--ink-2); }
.p-collapse ul li { margin-bottom: 6px; }
.p-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.p-actions .btn[disabled] { background: #CBD5E1; border-color: #CBD5E1; color: #fff; cursor: not-allowed; box-shadow: none; }
.p-help { font-size: 13px; color: var(--muted); }
.p-done { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 12px; padding: 18px 20px; }
.p-done[hidden] { display: none; }
.p-done-text { flex: 1; min-width: 200px; }
.p-done-text b { display: block; font-size: 17px; }
.p-done-text span { font-size: 14px; color: var(--ink-2); }

/* ---------- mobile: module opens under its own link ---------- */
@media (max-width: 980px) {
	.toc { max-height: none; overflow: visible; }
	.toc main.inline { padding: 14px 12px 18px; background: var(--brand-tint-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
	.toc main.inline .card { margin-bottom: 14px; }
	.toc main.inline .pager { display: none; }
}
@media (max-width: 720px) {
	.p-actions .btn, .p-done .btn { width: 100%; }
}

/* ---------- practice v3 ---------- */
.p-block { margin-bottom: 18px; }
.p-block h4, .p-expected h4, .p-stuck h4, .p-more h4 { font-size: 15px; font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.p-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.p-two .p-block { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.p-list { padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.p-list li { margin-bottom: 4px; }
.p-sample { display: grid; gap: 6px; font-size: 14px; }
.p-sample div { display: flex; gap: 8px; }
.p-sample dt { color: var(--muted); min-width: 110px; }
.p-sample dd { font-weight: 700; color: var(--ink); }
.p-help-list { padding: 0 16px 14px; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.p-expected { background: var(--brand-tint-2); border: 1px solid #CDEFFB; border-radius: 10px; padding: 14px 16px; margin: 8px 0 18px; }
.p-expected h4 svg { color: var(--brand); }
.p-expected p { font-size: 14px; color: var(--ink-2); }
.p-field { margin-bottom: 12px; }
.p-field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.p-field input, .p-field textarea, .p-field select { width: 100%; font: inherit; font-size: 15px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 9px; background: var(--white); color: var(--ink); min-height: 46px; }
.p-field input:focus, .p-field textarea:focus, .p-field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 175, 235, .18); }
.req { color: #DC2626; }
.p-calc { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.p-calc-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.p-calc-row input { max-width: 180px; }
.p-calc-msg { font-size: 14px; font-weight: 700; }
.p-calc-msg.ok { color: #15803D; }
.p-calc-msg.no { color: #B91C1C; }
.p-small { font-size: 13px; color: var(--muted); }
.p-outcome { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px 6px; margin-bottom: 14px; }
.p-outcome legend { font-weight: 800; font-size: 15px; padding: 0 6px; }
.p-outcome label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 600; cursor: pointer; }
.p-outcome input { width: 18px; height: 18px; accent-color: var(--brand); }
.p-stuck { border: 1px solid #FDE68A; background: #FFFBEB; border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; }
.p-stuck[hidden] { display: none; }
.p-hint { background: var(--white); border-left: 3px solid var(--brand); padding: 10px 12px; border-radius: 0 8px 8px 0; font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
.p-hint[hidden] { display: none; }
.p-stuck-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.p-pill.warn, .mstate.warn { background: #FEF3C7; color: #B45309; display: inline-block; }
.p-pill.prog { background: var(--brand-tint); color: #006F96; }
.p-more { border: 1px dashed var(--brand); border-radius: 10px; padding: 14px 16px; margin-top: 14px; }
.p-more[hidden] { display: none; }
.p-more p { font-size: 14px; color: var(--ink-2); }
.p-storage { background: #FEF3C7; color: #92400E; border-radius: 8px; padding: 8px 12px; font-size: 13px; margin-bottom: 14px; }
.p-storage[hidden] { display: none; }
@media (max-width: 720px) {
	.p-two { grid-template-columns: 1fr; }
	.p-sample dt { min-width: 96px; }
}

/* ---------- task questions: Yes / No / Need Assistance ---------- */
.p-tasks ul { list-style: none; display: grid; gap: 10px; }
.p-q fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 0; transition: background .2s, border-color .2s; }
.p-q legend { float: left; width: 100%; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 10px; padding: 0; }
.p-q legend .p-num { color: var(--brand); font-weight: 800; margin-right: 4px; }
.p-ans { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.p-ans label { position: relative; cursor: pointer; }
.p-ans input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.p-ans span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-2); background: var(--white); transition: all .15s; }
.p-ans label:hover span { border-color: var(--brand); }
.p-ans input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.p-ans input[value="yes"]:checked + span { background: #22C55E; border-color: #22C55E; color: #fff; }
.p-ans input[value="no"]:checked + span { background: #FEE2E2; border-color: #F87171; color: #B91C1C; }
.p-ans input[value="assist"]:checked + span { background: #FEF3C7; border-color: #F59E0B; color: #B45309; }
.p-q.yes fieldset { background: #F0FDF4; border-color: #BBF7D0; }
.p-q.no fieldset { border-color: #FECACA; }
.p-q.assist fieldset { background: #FFFBEB; border-color: #FDE68A; }
.p-qhelp { margin-top: 10px; font-size: 14px; color: var(--ink-2); background: var(--white); border-left: 3px solid var(--brand); padding: 10px 12px; border-radius: 0 8px 8px 0; }
.p-qhelp[hidden] { display: none; }
@media (max-width: 720px) {
	.p-ans label { flex: 1 1 auto; }
	.p-ans span { width: 100%; justify-content: center; }
}

/* ---------- unified video thumbnail ---------- */
.vthumb { background: radial-gradient(120% 140% at 100% 0%, #00AFEB 0%, #0077A8 38%, #0B1B2B 78%); }
.vthumb::before { content: ""; position: absolute; right: -8%; bottom: -30%; width: 55%; aspect-ratio: 1; border-radius: 50%; border: clamp(18px, 4vw, 46px) solid rgba(255, 255, 255, .07); }
.vthumb::after { content: ""; position: absolute; left: -6%; top: -40%; width: 38%; aspect-ratio: 1; border-radius: 50%; background: rgba(0, 175, 235, .12); }
.vt-art { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(14px, 4%, 36px); color: #fff; text-align: left; }
.vt-top { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: clamp(12px, 1.6vw, 16px); }
.vt-top img { width: clamp(30px, 5vw, 46px); height: auto; background: #fff; border-radius: 50%; padding: 2px; }
.vt-main { max-width: 72%; }
.vt-main small { display: block; font-size: clamp(10px, 1.2vw, 13px); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8EE3FF; margin-bottom: 6px; }
.vt-main b { display: block; font-size: clamp(18px, 3.4vw, 34px); line-height: 1.15; font-weight: 800; }
.vt-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: clamp(8px, 1.4vw, 14px); font-size: clamp(11px, 1.3vw, 14px); font-weight: 700; background: rgba(255, 255, 255, .14); padding: 5px 12px; border-radius: 999px; }
.vthumb .play { position: absolute; z-index: 2; right: clamp(16px, 7%, 64px); top: 50%; transform: translateY(-50%); width: clamp(56px, 9vw, 84px); height: clamp(56px, 9vw, 84px); background: #fff; color: var(--brand); box-shadow: 0 0 0 clamp(8px, 1.4vw, 12px) rgba(255, 255, 255, .22); }
.vthumb .play:hover { transform: translateY(-50%) scale(1.06); }
.vthumb .play svg { width: 40%; height: 40%; margin-left: 4%; }
.vthumb iframe { z-index: 3; }
@media (max-width: 720px) {
	.card#video, .card[id$="-video"] { border-radius: 12px; }
	.vt-main { max-width: 68%; }
}
@media (max-width: 420px) {
	.vt-top span { display: none; }
	.vt-main small { letter-spacing: .06em; }
}
.vthumb .vt-top img { position: static; inset: auto; opacity: 1; object-fit: contain; width: clamp(28px, 5vw, 46px); height: clamp(28px, 5vw, 46px); }
@media (max-width: 520px) {
	.vt-art { padding: 12px 14px; }
	.vt-main { max-width: 70%; }
	.vt-main small .vt-grp { display: none; }
	.vt-main b { font-size: clamp(15px, 4.6vw, 20px); }
	.vt-tag { display: none; }
	.vthumb .play { width: 52px; height: 52px; right: 14px; box-shadow: 0 0 0 7px rgba(255, 255, 255, .22); }
}
html, body { overflow-x: clip; }
@media (max-width: 980px) {
	.hero .wrap { grid-template-columns: minmax(0, 1fr); }
	.hero h1, .mod-hero h1 { overflow-wrap: anywhere; }
}
@media (max-width: 360px) {
	.hero .cta .btn { width: 100%; white-space: normal; }
}
@media (max-width: 980px) {
	.layout, .mod-layout { grid-template-columns: minmax(0, 1fr); }
	.toc, .toc main.inline { min-width: 0; }
}
@media (max-width: 360px) {
	.hero .cta .btn-lg { padding: 14px 18px; }
	.site-header .wrap { gap: 8px; }
	.nav-links { gap: 10px; }
}

.page { display: none; }
.page.active { display: block; }


/* ================= Academy additions ================= */

/* ---------- Header: Courses dropdown ---------- */
.nav-links { align-items: center; }
.nav-home { padding: 8px 0; }
.dd { position: relative; }
.dd-btn {
	display: inline-flex; align-items: center; gap: 6px;
	border: 0; background: none; padding: 8px 0;
	font: inherit; font-weight: 700; font-size: 15px; color: var(--ink-2);
}
.dd-btn:hover, .dd.open .dd-btn, .dd-btn.current { color: var(--brand); }
.dd-chev { transition: transform .2s; }
.dd.open .dd-chev { transform: rotate(180deg); }
.dd-menu {
	display: none; position: absolute; top: calc(100% + 10px); left: -16px; z-index: 60;
	width: 320px; background: var(--white); border: 1px solid var(--line); border-radius: 14px;
	box-shadow: 0 18px 48px rgba(11, 27, 43, .16); padding: 8px;
}
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dd.open .dd-menu { display: block; }
@media (hover: hover) and (min-width: 721px) {
	.dd:not(.hold):hover .dd-menu { display: block; }
	.dd:not(.hold):hover .dd-chev { transform: rotate(180deg); }
}
.dd-head { padding: 8px 12px 6px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dd-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; white-space: normal; }
.dd-item:hover, .dd-item:focus-visible, .dd-item.current { background: var(--brand-tint); outline: none; }
.dd-item.current .dd-txt b { color: var(--brand-dark); }
.dd-ic { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.dd-item:hover .dd-ic, .dd-item.current .dd-ic { background: var(--brand); color: var(--white); }
.dd-ic.sm { width: 30px; height: 30px; border-radius: 8px; }
.dd-ic.sm svg { width: 16px; height: 16px; }
.dd-txt b { display: block; font-size: 15px; color: var(--ink); }
.dd-txt small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
@media (max-width: 720px) {
	.nav-home { display: none; }
	.dd-menu { position: fixed; top: 68px; left: 16px; right: 16px; width: auto; }
}

/* ---------- Shared bits ---------- */
.progress { height: 8px; background: var(--brand-tint); border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.progress i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 99px; transition: width .3s; }
.sec-lead { color: var(--ink-2); margin: -8px 0 18px; }
.tnum { color: var(--brand); margin-right: 4px; }
.mcard-mod { display: inline-block; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--brand-tint-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; margin: -4px 0 14px; }
.mcard-team { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.mcard.is-soon { background: #FAFBFC; }
.mcard.is-soon h3, .mcard.is-soon p { color: var(--muted); }
.mstate.soon, .mstate.ref { display: inline-block; }
.mstate.soon { background: #EEF2F6; color: #5B6878; }
.mstate.ref { background: var(--brand-tint); color: #006F96; }
.side-links { display: grid; gap: 4px; }
.side-links a { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; padding: 6px 4px; border-radius: 8px; }
.side-links a:hover { background: var(--brand-tint-2); color: var(--brand-dark); }

/* ---------- Home: team cards ---------- */
.tgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tcard { border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; background: var(--white); display: flex; flex-direction: column; gap: 12px; transition: border-color .15s, box-shadow .15s; }
.tcard:hover { border-color: #B6E6F7; box-shadow: var(--shadow); }
.tc-top { display: flex; align-items: center; gap: 14px; }
.tc-top small { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.tc-top h3 { font-size: 20px; font-weight: 800; line-height: 1.2; }
.tc-ic { width: 48px; height: 48px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.tc-pill { margin-left: auto; flex: none; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: #DCFCE7; color: #15803D; }
.tc-pill.soon { background: #EEF2F6; color: #5B6878; }
.tcard > p { color: var(--ink-2); font-size: 15px; }
.tc-list { list-style: none; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); border-top: 1px dashed var(--line); padding-top: 12px; }
.tc-list li { display: flex; gap: 10px; }
.tc-list em { font-style: normal; font-weight: 800; color: var(--brand); min-width: 30px; }
.tc-list li.soon { color: var(--muted); }
.tc-list li.soon::after { content: "Soon"; margin-left: auto; font-size: 11px; font-weight: 800; color: #5B6878; background: #EEF2F6; border-radius: 999px; padding: 1px 8px; height: fit-content; }
.tcard .btn { margin-top: auto; align-self: flex-start; }
.journey { display: flex; flex-wrap: wrap; gap: 10px; counter-reset: j; }
.jstep { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 8px; font-weight: 700; font-size: 14px; background: var(--white); transition: border-color .15s, background .15s; }
.jstep em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--white); background: var(--brand); border-radius: 999px; padding: 3px 8px; }
.jstep:hover { border-color: var(--brand); background: var(--brand-tint-2); }
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.how-i { border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid; gap: 6px; }
.how-i .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.how-i b { font-size: 16px; }
.how-i span:last-child { font-size: 14px; color: var(--ink-2); }
#home .section { scroll-margin-top: 80px; }

/* ---------- Team hero visual ---------- */
.team-visual {
	transform: rotate(1.5deg); padding: 34px 30px; display: grid; gap: 10px; justify-items: start;
	background: linear-gradient(135deg, #0B1B2B 0%, #12324A 60%, #0077A8 100%); color: var(--white); position: relative; overflow: hidden;
}
.team-visual::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; border: 34px solid rgba(255, 255, 255, .07); }
.team-visual .tv-ic { width: 64px; height: 64px; border-radius: 16px; background: rgba(0, 175, 235, .22); color: #8EE3FF; display: grid; place-items: center; }
.team-visual .tv-ic svg { width: 32px; height: 32px; }
.team-visual b { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8EE3FF; }
.team-visual > span:last-child { font-size: 22px; font-weight: 800; line-height: 1.25; max-width: 340px; position: relative; z-index: 1; }

/* ---------- Coming soon ---------- */
.soon-banner { display: flex; gap: 14px; align-items: flex-start; background: #F8FAFC; border: 1px dashed #CBD5E1; border-radius: 12px; padding: 16px 18px; margin-bottom: 16px; }
.soon-banner b { display: block; font-size: 16px; }
.soon-banner p { font-size: 14px; color: var(--ink-2); }
.soon-ic { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center; background: #EEF2F6; color: #5B6878; }
.soon-ic.big { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: var(--white); }
.soon-ic.big svg { width: 30px; height: 30px; }
.soon-art { background: radial-gradient(120% 140% at 100% 0%, #00AFEB 0%, #0077A8 38%, #0B1B2B 78%); color: var(--white); padding: clamp(24px, 5vw, 44px); display: grid; gap: 8px; justify-items: start; }
.soon-art small { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8EE3FF; }
.soon-art h3 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; line-height: 1.15; }
.soon-art p { max-width: 560px; opacity: .9; }
.soon-sum { font-size: 16px; color: var(--ink); margin: 6px 0 16px; }
.soon-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); }
.soon-meta b { color: var(--ink); }
.tag-soon { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: #EEF2F6; color: #5B6878; }
.toc a .toc-t { flex: 1; min-width: 0; }
.toc a em { min-width: 30px; }
.toc a.soon { color: var(--muted); }
.toc a.soon em { color: #94A3B8; }
.toc-soon { flex: none; align-self: center; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #5B6878; background: #EEF2F6; border-radius: 999px; padding: 2px 7px; }

/* ---------- Text guide extras ---------- */
.when { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; background: var(--brand-tint-2); border: 1px solid #CDEFFB; border-radius: 10px; padding: 14px 16px; margin-bottom: 22px; }
.when b { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); padding-top: 3px; }
.when p { font-size: 15px; color: var(--ink-2); }
.g-opts, .g-table { margin: 8px 0 12px 40px; }
.g-opts small, .g-table small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.g-table table { border-collapse: collapse; width: 100%; max-width: 560px; font-size: 14px; }
.g-table.wide { margin-left: 0; }
.g-table.wide table { max-width: none; }
.g-table th, .g-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.g-table th { font-weight: 800; color: var(--ink); width: 42%; background: var(--brand-tint-2); }
.g-table td { color: var(--ink-2); }
.g-note { margin: 6px 0 10px; font-size: 14px; color: var(--ink-2); background: #FFFBEB; border-left: 3px solid #F59E0B; padding: 10px 12px; border-radius: 0 8px 8px 0; }
.g-note b { color: #B45309; }

/* ---------- Quick reference table ---------- */
.ref-scroll { overflow-x: auto; margin-bottom: 8px; }
.ref-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.ref-table th { text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--line); }
.ref-table td { padding: 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.ref-table a, .g-table a { color: var(--brand-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.st { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.st-pending { background: #FEF3C7; color: #B45309; }
.st-active { background: #DCFCE7; color: #15803D; }
.st-paused { background: #FFEDD5; color: #C2410C; }
.st-completed { background: var(--brand-tint); color: #006F96; }
.st-cancelled { background: #FEE2E2; color: #B91C1C; }

/* ---------- Video: no link yet ---------- */
.video.no-video .play { opacity: .92; }

/* ---------- Search page ---------- */
.search-results { padding-top: 10px; padding-bottom: 60px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.team-visual { display: none; }
}
@media (max-width: 720px) {
	.tgrid { grid-template-columns: minmax(0, 1fr); }
	.tcard .btn { align-self: stretch; }
	.g-opts, .g-table { margin-left: 0; }
	.when { grid-template-columns: 1fr; gap: 4px; }
	.hero .cta .btn { width: 100%; white-space: normal; }
}
@media (max-width: 420px) {
	.how { grid-template-columns: minmax(0, 1fr); }
}

.tlink { color: var(--brand-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }


/* ---------- guide extras (from workshop pages) ---------- */
.guide-intro { color: var(--ink-2); font-size: 15px; margin: 4px 0 6px; }
.steps.alpha li::before { content: counter(s, upper-alpha); }
.guide-note { background: var(--brand-tint-2); border: 1px solid #CDEFFB; border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0; padding: 12px 14px; margin: 12px 0 4px; font-size: 14px; color: var(--ink-2); }
.guide-note b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 4px; }
.p-help-item { line-height: 1.5; }
.tgrid .tcard:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- Clickable topic lists on course cards ---------- */
.tc-list li a { display: flex; gap: 10px; flex: 1; padding: 3px 8px; margin: 0 -8px; border-radius: 8px; color: var(--ink-2); transition: background .15s, color .15s; }
.tc-list li a:hover, .tc-list li a:focus-visible { background: var(--brand-tint); color: var(--brand-dark); }
.tc-list li a:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Share bar (copy a direct link to one tutorial / course) ---------- */
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.share-label { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 2px; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 700; color: var(--brand-dark); background: var(--white); border: 1px solid #CDEFFB; border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.share-btn:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }
.share-btn.wa { color: #128C4A; border-color: #CFEFDC; }
.share-btn.wa:hover { background: #25D366; border-color: #25D366; color: var(--white); }

/* ---------- Topics with more than one video ---------- */
.vparts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.vparts-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.vpart { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink-2); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 6px; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.vpart b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-dark); font-size: 12px; }
.vpart:hover { border-color: var(--brand); color: var(--brand-dark); }
.vpart.on { background: var(--brand); border-color: var(--brand); color: var(--white); }
.vpart.on b { background: rgba(255, 255, 255, .25); color: var(--white); }
