/* =========================================================
   Design blueprint grid · Tutorials · Test briefing · Outcome
   ========================================================= */

/* ---------- 2D blueprint grid ---------- */
.g2d-host { position: absolute; inset-inline-start: 1px; inset-inline-end: 1px; top: 48px; bottom: 1px; overflow: hidden; border-radius: 0 0 11px 11px; background: #0a0a0b}
.g2d { position: absolute; inset: 0; user-select: none}
.g2d.drop { outline: 2px dashed var(--accent); outline-offset: -4px}
.g2d-svg { width: 100%; height: 100%; display: block; touch-action: none; cursor: default}
.g2d.placing .g2d-svg, .g2d.tool-route .g2d-svg, .g2d.tool-measure .g2d-svg { cursor: crosshair}
.g2d.tool-connect .g2d-svg, .g2d.tool-rotate .g2d-svg { cursor: pointer}
.g2d.tool-erase .g2d-svg { cursor: not-allowed}
.g-bg { fill: #111112}
.g-minor { stroke: #1d1d1f; stroke-width: 1; vector-effect: non-scaling-stroke}
.g-major { stroke: #2c2c2e; stroke-width: 1.2; vector-effect: non-scaling-stroke}
.g-hatch { stroke: rgba(198,113,52,0.28); stroke-width: 0.35}
.g-shade { stroke: rgba(25,67,135,0.55); stroke-width: 0.35}
.g-nob { opacity: .95}
.g-safe { fill: rgba(0,255,111,0.025); stroke: rgba(0,255,111,0.35); stroke-width: 1.2; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke}
.g-crater { stroke: rgba(223,150,97,0.5); stroke-width: 1; vector-effect: non-scaling-stroke}
.g-bgl { fill: #98989d; text-anchor: middle; font-family: var(--font); pointer-events: none}
.g-bgl.l { text-anchor: start}
.g-sun circle { fill: #FF7F24; opacity: .85}
.g-sun path { stroke: #FF7F24; stroke-width: 1.5; fill: none; vector-effect: non-scaling-stroke}
.g-village { fill: rgba(232,205,132,0.06)}

.g-bld { fill: #232325; stroke: #424245; stroke-width: 1; vector-effect: non-scaling-stroke}
.g-road { fill: #232325}
.g-roadl { stroke: #6e6e73; stroke-width: 1; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke}

.g-zone { fill: none; stroke-width: 1.3; stroke-dasharray: 7 5; vector-effect: non-scaling-stroke}
.g-zone.ok { stroke: rgba(0,255,111,0.4)}
.g-zone.bad { stroke: rgba(255,92,174,0.9); fill: rgba(255,92,174,0.05)}
.g-zl { text-anchor: middle; font-family: var(--font)}
.g-zl.ok { fill: rgba(0,255,111,0.7)}
.g-zl.bad { fill: #F792C4}
.g-shadez { fill: url(stages.css%3Fv=46-placement-caption.css); stroke: rgba(97,155,248,0.5); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke}

.g-target { fill: none; stroke: var(--warn); stroke-width: 2; vector-effect: non-scaling-stroke; animation: gPulse 1.2s ease-in-out infinite}
@keyframes gPulse { 50% { opacity: .25} }
.g-imp line { stroke: rgba(0,255,111,0.45); stroke-width: 1.4; stroke-dasharray: 1 4; stroke-linecap: round; vector-effect: non-scaling-stroke}
.g-link .g-lhit { stroke: transparent; stroke-width: 12; vector-effect: non-scaling-stroke}
.g-link.tube .g-l1 { stroke: #d2d2d7; stroke-width: 8; stroke-linecap: round; vector-effect: non-scaling-stroke}
.g-link.tube .g-l2 { stroke: #48484a; stroke-width: 2; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke}
.g-link.cable .g-l1 { stroke: #00FF6F; stroke-width: 2.2; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; filter: none}
.tool-erase .g-link:hover .g-l1, .tool-erase .g-route:hover .g-rline { stroke: var(--red)}
.g-route .g-rhit { fill: none; stroke: transparent; stroke-width: 12; vector-effect: non-scaling-stroke}
.g-route .g-rline { fill: none; stroke: #FF7F24; stroke-width: 2.4; stroke-dasharray: 8 5; stroke-linejoin: round; vector-effect: non-scaling-stroke}
.g-mk { fill: #FF7F24; stroke: #232325; stroke-width: 1; vector-effect: non-scaling-stroke}
.g-it { cursor: grab}
.g-it .g-sh { fill: currentColor; fill-opacity: .16; stroke: currentColor; stroke-width: 1.6; vector-effect: non-scaling-stroke}
.g-it .g-ring { fill: none; stroke: currentColor; stroke-opacity: .45; stroke-width: 1; vector-effect: non-scaling-stroke}
.g-it .g-door { fill: #FF7F24}
.g-it .g-cells { fill: none; stroke: currentColor; stroke-opacity: .5; stroke-width: 0.8; vector-effect: non-scaling-stroke}
.g-it .g-ic { color: currentColor; pointer-events: none}
.g-it .g-ic svg { overflow: visible}
.g-lab { fill: #e5e5ea; text-anchor: middle; font-family: var(--font); paint-order: stroke; stroke: #0a0a0b; stroke-width: 3px; stroke-linejoin: round; pointer-events: none}
.g-it:hover .g-sh { fill-opacity: .3}
.g-it.sel .g-sh { stroke: #ffffff; stroke-width: 2.4; fill-opacity: .32; filter: none}
.g-it.focus .g-sh { stroke: var(--warn); stroke-width: 2.4}
.g-it.bad .g-sh { stroke: var(--red); stroke-width: 2.2; fill: var(--red); fill-opacity: .18}
.g-it.src .g-sh { stroke: var(--warn); stroke-width: 3}
.g-it.no .g-sh { stroke: var(--red)}
.g-it.fixed { cursor: pointer}
.g-it.fixed .g-sh { stroke-dasharray: 4 3}
.g-node { cursor: pointer}
.g-nd { fill: #1d1d1f; stroke: #D17C40; stroke-width: 2; vector-effect: non-scaling-stroke}
.g-node .g-ic { color: #F5AA75}
.g-ghost rect, .g-ghost circle:first-child { fill: rgba(0,255,111,0.14); stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke}
.g-ghost.no rect, .g-ghost.no circle:first-child { fill: rgba(255,92,174,0.14); stroke: var(--red)}
.g-ghost text { fill: #ffffff; text-anchor: middle; font-family: var(--font); paint-order: stroke; stroke: #0a0a0b; stroke-width: 3px}
.g-ghost.no text { fill: #F8A1CD}
.g-rub { stroke: var(--warn); stroke-width: 2; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke}
.g-rdraft { fill: none; stroke: #FF7F24; stroke-width: 2.4; stroke-dasharray: 8 5; vector-effect: non-scaling-stroke}
.g-rpt { fill: #FF7F24}
.g-meas { fill: #ffffff; text-anchor: middle; font-family: var(--font); paint-order: stroke; stroke: #0a0a0b; stroke-width: 3px}
.g2d-scale { position: absolute; inset-inline-start: 12px; bottom: 58px; display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: #aeaeb2; pointer-events: none}
.g2d-scale i { height: 6px; border: 1.5px solid #98989d; border-top: 0}
.g2d-north { position: absolute; inset-inline-start: 12px; top: 10px; display: flex; flex-direction: column; align-items: center; font-size: 11px; color: #aeaeb2; pointer-events: none}
.g2d-xy { position: absolute; inset-inline-end: 12px; bottom: 58px; font-size: 11.5px; color: #98989d; font-variant-numeric: tabular-nums; pointer-events: none}
.g2d-rules { position: absolute; inset-inline-end: 10px; top: 10px; width: 262px; z-index: 6; border-radius: 10px; background: rgba(9, 9, 9, 0.94); border: 1px solid #2c2c2e; box-shadow: none}
.g2d-rh { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; text-align: start; font-size: 13.5px; color: #f5f5f7}
.g2d-rh b { font-weight: 500; flex: 1}
.g2d-rn { min-width: 32px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(255,127,36,0.14); color: var(--warn); font-size: 12px; display: grid; place-items: center; font-variant-numeric: tabular-nums}
.g2d-rn.ok { background: rgba(135, 135, 135, 0.16); color: var(--accent)}
.g2d-rl { max-height: 320px; padding: 0 6px 8px; display: grid; gap: 3px}
.g2d-r { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; padding: 7px 8px; border-radius: 8px; text-align: start; border: 1px solid transparent}
.g2d-r:hover { background: #161617}
.g2d-r.on { border-color: var(--accent-line); background: #111112}
.g2d-r b { display: block; font-size: 12.5px; font-weight: 500; color: #f5f5f7}
.g2d-r small { display: block; font-size: 11.5px; line-height: 1.35; color: #aeaeb2; margin-top: 2px}
.g2d-rs { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: none}
.g2d-r.ok .g2d-rs, .g2d-rs.ok { background: var(--accent); color: var(--accent-ink)}
.g2d-r.bad .g2d-rs, .g2d-rs.bad { background: var(--red); color: #f5f5f7}
.g2d-r.warn .g2d-rs, .g2d-rs.warn { background: var(--warn); color: #111112}
.g2d-mlist { display: grid; gap: 8px}
.g2d-mlist > div { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #0a0a0b}
.g2d-mlist b { display: block; color: var(--text); font-weight: 500}
.g2d-mlist small { display: block; font-size: 13px; line-height: 1.4}
.g2d-sel { position: absolute; inset-inline-start: 10px; top: 46px; width: 250px; z-index: 7; padding: 10px 12px; border-radius: 10px; background: rgba(9, 9, 9, 0.95); border: 1px solid var(--accent-line); box-shadow: none; animation: riseIn .2s ease both}
.g2d-sel .bs-h { display: flex; align-items: center; gap: 8px}
.g2d-sel .bs-h b { font-size: 14px; font-weight: 500}
.g2d-sel p { margin: 6px 0 8px; font-size: 12.5px; color: #d2d2d7; line-height: 1.4}
.g2d-sel .bs-k { display: flex; gap: 12px; font-size: 12px; color: #e5e5ea}
.g2d-sel .bs-k span { display: inline-flex; gap: 5px; align-items: center}
.g2d-sel .bs-a { display: flex; gap: 6px; margin-top: 8px}
.g2d-sel .bs-a .btn { height: 32px; font-size: 12.5px; padding: 0 10px}

/* ---------- Tutorials ---------- */
.mc-card { display: grid; grid-template-columns: 112px 1fr; gap: 10px; align-items: center; width: 100%; margin: 0 0 10px; padding: 8px; border-radius: 10px; border: 1px solid rgba(0,255,111,0.35); background: #111112; text-align: start; transition: border-color .2s, transform .2s}
.mc-card:hover { border-color: var(--accent); transform: translateY(-1px)}
.mc-th { position: relative; width: 112px; height: 63px; border-radius: 7px; overflow: hidden; display: block}
.mc-th img { width: 100%; height: 100%; object-fit: cover; display: block}
.mc-th i { position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; margin-block: -16px 0; margin-inline: -16px 0; border-radius: 50%; background: rgba(0,255,111,0.92); color: var(--accent-ink); display: grid; place-items: center; box-shadow: none}
.mc-ct { display: grid; gap: 2px; min-width: 0}
.mc-ct small { display: flex; align-items: center; gap: 5px; font-size: 11px; letter-spacing: .03em; color: var(--accent); text-transform: uppercase}
.mc-ct b { font-size: 14px; font-weight: 500; color: #f5f5f7; line-height: 1.25}
.mc-ct em { font-style: normal; font-size: 11.5px; color: #aeaeb2}
.mc-dots { display: flex; gap: 4px; margin-top: 3px}
.mc-dots i { width: 18px; height: 4px; border-radius: 2px; background: #2c2c2e}
.mc-dots i.on { background: var(--accent)}
.mc-dots i.cur { background: rgba(0,255,111,0.45)}
.mc-chip { margin-inline-start: 6px}
.mc-chip.done { color: var(--accent); border-color: var(--accent-line)}
.mc-prompt { position: absolute; inset-inline-start: 1px; inset-inline-end: 1px; top: 48px; bottom: 1px; z-index: 8; display: grid; place-items: center; background: rgba(7, 7, 7, 0.62); backdrop-filter: blur(3px); border-radius: 0 0 11px 11px; animation: riseIn .3s ease both}
.mc-pin { width: 700px; display: grid; grid-template-columns: 290px 1fr; gap: 20px; padding: 18px; border-radius: 14px; background: rgba(12, 12, 12, 0.96); border: 1px solid var(--accent-line); box-shadow: none}
.mc-pth { position: relative; display: block; width: 290px; height: 163px; border-radius: 10px; overflow: hidden}
.mc-pth img { width: 100%; height: 100%; object-fit: cover}
.mc-pp { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin-block: -30px 0; margin-inline: -30px 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; outline: 8px solid rgba(0,255,111,0.2); outline-offset: 0; box-shadow: none; animation: pulseRing 1.8s ease-out infinite}
.mc-pin small { font-size: 11.5px; letter-spacing: .12em; color: var(--accent)}
.mc-pin h3 { margin: 6px 0 4px; font-size: 21px; font-weight: 600}
.mc-pin p { margin: 0 0 10px; font-size: 13.5px; color: #d2d2d7; line-height: 1.45}
.mc-pl { display: grid; gap: 3px; margin-bottom: 12px}
.mc-pl span { font-size: 12.5px; color: #e5e5ea; display: flex; gap: 8px; align-items: center}
.mc-pl b { width: 18px; height: 18px; border-radius: 50%; background: #1d1d1f; color: var(--accent); font-size: 11px; display: grid; place-items: center; font-weight: 600; flex: none}
.mc-pa { display: flex; gap: 8px}
.mc-pa .btn { height: 38px; font-size: 14px}

/* ---------- Simulation briefing ---------- */
.sb-flow { display: grid; grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr; align-items: stretch}
.sb-step { position: relative; padding: 14px 14px 12px; border-radius: 12px; border: 1px solid #232325; background: #111112}
.sb-n { position: absolute; inset-inline-end: 10px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: #1d1d1f; color: var(--accent); font-size: 12px; font-weight: 600; display: grid; place-items: center}
.sb-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(135, 135, 135, 0.1); color: var(--accent)}
.sb-step b { display: block; margin-top: 10px; font-size: 15px; font-weight: 500; color: #f5f5f7}
.sb-step p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: #d2d2d7}
.sb-ar { display: grid; place-items: center; color: var(--accent)}
.sb-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 16px}
.sb-cols h5 { margin: 0 0 8px; font-size: 12.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: #f5f5f7}
.sb-ph { display: grid; grid-template-columns: 28px 1fr; column-gap: 8px; padding: 7px 0; border-top: 1px solid #1d1d1f}
.sb-ph > span { grid-row: span 2; width: 26px; height: 26px; border-radius: 8px; background: #161617; color: var(--warn); display: grid; place-items: center}
.sb-ph b { font-size: 13.5px; font-weight: 500; color: #f5f5f7}
.sb-ph small { font-size: 12.5px; color: #aeaeb2}
.sb-cr { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid #1d1d1f; font-size: 13.5px}
.sb-cr > span { width: 26px; height: 26px; border-radius: 8px; background: rgba(135, 135, 135, 0.1); color: var(--accent); display: grid; place-items: center}
.sb-cr b { font-weight: 400; color: #f5f5f7}
.sb-cr em { font-style: normal; color: var(--accent); font-size: 13px}
.sb-why { display: grid; grid-template-columns: 18px 1fr; gap: 8px; margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 159, 10, 0.35); background: rgba(255, 159, 10, 0.06); font-size: 13px; line-height: 1.45; color: #e5e5ea}
.sb-why .ico { color: var(--warn); margin-top: 2px}

.sb.compact .sb-step { padding: 10px 10px 8px}
.sb.compact .sb-ic { width: 28px; height: 28px}
.sb.compact .sb-step b { margin-top: 6px; font-size: 13.5px}
.sb.compact .sb-step p { font-size: 11.5px; line-height: 1.35}
.sb.compact .sb-cols { margin-top: 10px; gap: 14px}
.sb.compact .sb-ph, .sb.compact .sb-cr { padding: 4px 0}
.sb.compact .sb-ph b, .sb.compact .sb-cr { font-size: 12.5px}
.sb.compact .sb-ph small { font-size: 11.5px}
.sb.compact .sb-why { font-size: 12px; padding: 8px 10px; margin-top: 6px}

/* ---------- Mission outcome ---------- */
.o-head { inset-inline-start: 13px; top: -8px; width: 1414px; height: 78px; display: flex; align-items: center; gap: 18px; padding: 0 16px}
.o-head .moon { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center}
.o-head .moon img { width: 100%; height: 100%; object-fit: cover}
.o-ht small { font-size: 12px; letter-spacing: .14em; color: var(--accent)}
.o-ht h1 { margin: 2px 0 0; font-size: 28px; font-weight: 500}
.o-ver { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--accent-line); background: rgba(124, 124, 124, 0.07); color: var(--accent); font-size: 13.5px}
.o-hb { margin-inline-start: auto; display: flex; gap: 10px; align-items: center}
.o-hb .hb { height: 44px; padding: 0 14px; border-radius: 6px; border: 1px solid #2c2c2e; background: #111112; display: flex; align-items: center; gap: 10px; font-size: 14px; color: #f5f5f7}
.o-hb .hb:hover { border-color: #545458}
.o-cert { inset-inline-start: 13px; top: 82px; width: 470px; height: 368px; padding: 12px}
.cert { height: 298px; border-radius: 10px; padding: 6px; background: #3a3a3c}
.cert-in { position: relative; height: 100%; border-radius: 6px; background: #1d1d1f; padding: 16px 20px; text-align: center; overflow: hidden}
.cert-top { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; letter-spacing: .3em; color: #e5e5ea}
.cert-top em { font-style: normal; letter-spacing: .08em; color: var(--accent); margin-inline-start: 8px}
.cert-in > small { display: block; margin-top: 14px; font-size: 12.5px; color: #aeaeb2}
.cert-in h2 { margin: 4px 0 2px; font-size: 30px; font-weight: 600; color: #f5f5f7; font-family: Georgia, 'Times New Roman', serif; font-style: italic}
.cert-in p { margin: 0; font-size: 13px; color: #d2d2d7}
.cert-in h3 { margin: 8px 0 2px; font-size: 21px; font-weight: 600; color: var(--accent)}
.cert-d { font-style: normal; font-size: 12.5px; color: #aeaeb2}
.cert-row { display: flex; justify-content: center; gap: 22px; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.1)}
.cert-row small { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #98989d}
.cert-row b { display: block; font-size: 12.5px; font-weight: 500; color: #f5f5f7; margin-top: 2px}
.cert-badge { position: absolute; inset-inline-end: 10px; top: 36px; width: 70px; height: 76px; opacity: .95}
.cert-badge img, .cert-badge svg { width: 70px; height: 76px; object-fit: contain}
.o-ca { display: flex; gap: 8px; margin-top: 10px}
.o-ca .btn { flex: 1; height: 38px; font-size: 13.5px}
.o-proof, .o-port, .o-can, .o-skills, .o-car, .o-home, .o-ref { padding: 14px 16px}
.o-proof h3, .o-port h3, .o-can h3, .o-skills h3, .o-car h3, .o-home h3, .o-ref h3 { margin: 0 0 10px; font-size: 15px; font-weight: 500; text-transform: uppercase; display: flex; align-items: center; gap: 8px}
.o-skills h3 small { text-transform: none; font-weight: 400; color: #98989d; font-size: 12.5px}
.o-proof { inset-inline-start: 13px; top: 462px; width: 470px; height: 176px}
.o-p4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px}
.o-p4 > div { padding: 10px 8px; border-radius: 8px; border: 1px solid #232325; background: #161617; height: 118px}
.o-p4 b { display: block; margin-top: 6px; font-size: 17px; font-weight: 600; color: #f5f5f7}
.o-p4 small { display: block; font-size: 12px; color: #e5e5ea; margin-top: 2px; line-height: 1.25}
.o-p4 em { display: block; font-style: normal; font-size: 11px; color: #98989d; margin-top: 4px; line-height: 1.25}
.o-port { inset-inline-start: 13px; top: 650px; width: 470px; height: 200px}
.o-pl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px}
.o-pl button { display: grid; grid-template-columns: 30px 1fr 16px; gap: 8px; align-items: center; padding: 10px; border-radius: 8px; border: 1px solid #232325; background: #161617; text-align: start}
.o-pl button:hover { border-color: var(--accent-line)}
.o-pl button > span:first-child { color: var(--accent)}
.o-pl b { display: block; font-size: 13.5px; font-weight: 500}
.o-pl small { display: block; font-size: 11.5px; color: #aeaeb2}
.o-can { inset-inline-start: 495px; top: 82px; width: 520px; height: 168px}
.o-c { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: start; padding: 6px 0; font-size: 14px; color: #f5f5f7; line-height: 1.4}
.o-c .ico { color: var(--accent)}
.o-skills { inset-inline-start: 495px; top: 262px; width: 520px; height: 330px}
.o-sk { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid #1d1d1f}
.o-si { width: 34px; height: 34px; border-radius: 10px; background: rgba(67,136,246,0.12); color: #4388F6; display: grid; place-items: center}
.o-sk b { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500}
.o-sk b em { font-style: normal; font-size: 12.5px; color: var(--accent); font-weight: 400}
.o-sk small { display: block; font-size: 12.5px; color: #d2d2d7; line-height: 1.35; margin-top: 2px}
.o-car { inset-inline-start: 495px; top: 604px; width: 520px; height: 246px}
.o-c4 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px}
.o-c4 button { display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; padding: 10px; border-radius: 8px; border: 1px solid #232325; background: #161617; text-align: start; height: 84px; align-content: start}
.o-c4 button:hover { border-color: var(--accent-line)}
.o-c4 button > span { grid-row: span 2; width: 28px; height: 28px; border-radius: 8px; background: rgba(135, 135, 135, 0.1); color: var(--accent); display: grid; place-items: center}
.o-c4 b { font-size: 13.5px; font-weight: 500}
.o-c4 small { font-size: 12px; color: #aeaeb2; line-height: 1.35}
.o-home { inset-inline-start: 1027px; top: 82px; width: 400px; height: 440px; background: #161617}
.o-home h3 .ico, .o-ref h3 .ico { color: var(--accent)}
.o-hh { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center}
.o-hi { width: 46px; height: 46px; border-radius: 12px; background: rgba(135, 135, 135, 0.16); color: var(--accent); display: grid; place-items: center}
.o-hh b { display: block; font-size: 17px; font-weight: 600}
.o-hh small { display: block; font-size: 12.5px; color: #aeaeb2}
.o-home p { margin: 10px 0 6px; font-size: 13.5px; line-height: 1.45; color: #e5e5ea}
.o-home ol { margin: 0; padding-inline-start: 20px; display: grid; gap: 5px; font-size: 13.5px; color: #f5f5f7}
.o-home .o-val { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--warn)}
.o-home .btn { width: 100%; height: 42px; margin-top: 8px}
.o-ref { inset-inline-start: 1027px; top: 534px; width: 400px; height: 316px}
.o-ref p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.45; color: #e5e5ea}
.o-ref textarea { width: 100%; height: 130px; resize: none; padding: 10px 12px; border-radius: 8px; border: 1px solid #2c2c2e; background: #0a0a0b; color: var(--text); font: inherit; font-size: 13.5px; outline: 0}
.o-ref textarea:focus { border-color: var(--accent-line)}
.o-ref .btn { margin-top: 8px; height: 38px; font-size: 13.5px}
.o-sh { display: grid; gap: 8px}
.o-sh label { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #0a0a0b; cursor: pointer}
.o-sh label > span:first-child { color: var(--accent)}
.o-sh b { display: block; color: var(--text); font-weight: 500}
.o-sh small { display: block; font-size: 13px}
.o-sh input { width: 18px; height: 18px; accent-color: var(--accent)}
.o-rep { background: #f5f5f7; color: #161617; border-radius: 10px; padding: 22px 26px; max-height: 60vh; overflow: auto; font-size: 14px; line-height: 1.5}
.o-rep .top { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 3px solid #00FF6F; padding-bottom: 10px}
.o-rep h1 { margin: 0; font-size: 22px; color: #161617}
.o-rep h2 { font-size: 15px; margin: 16px 0 6px; color: #0F6737}
.o-rep table { width: 100%; border-collapse: collapse}
.o-rep td, .o-rep th { padding: 6px 8px; border-bottom: 1px solid #d2d2d7; text-align: start; color: #161617}
.o-rep .muted { color: #636366; font-size: 12.5px}
.o-rep .ok { color: var(--accent); font-weight: 600}
.o-rep .no { color: #C2185B; font-weight: 600}
.o-rep p, .o-rep li { color: #161617}

/* ---------- Tutorials player, full screen: a calm cinema layout. The video and what this tutorial is
   about on the left, the five tutorials on the right, Back and one clear next step at the bottom ---------- */
.modal.mcfull { width: 100%; height: 100%; max-width: none; max-height: none; border: 0; border-radius: 0; background: #000000; box-shadow: none; animation: fadeIn .2s ease both}
.mc.full { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: 64px minmax(0, 1fr) 84px; column-gap: 28px; width: 100%; height: 100%; padding: 0 28px; background: #000000; color: var(--text)}
.mc-top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #1d1d1f}
.mc-brand { display: flex; align-items: center; gap: 10px; font-size: 16px}
.mc-brand .ico { color: var(--accent)}
.mc-brand b { font-weight: 700}
.mc-brand small { font-size: 15px; color: #98989d}
.mc-brand small::before { content: "·"; margin-inline-end: 10px}
.mc-prog { display: flex; align-items: center; gap: 12px}
.mc-prog small { font-size: 13px; color: #aeaeb2}
.mc-pdots { display: flex; gap: 5px}
.mc-pdots i { width: 24px; height: 5px; border-radius: 3px; background: #2c2c2e}
.mc-pdots i.on { background: var(--accent)}

.mc-stage { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 22px; padding-top: 24px; overflow: hidden}
.mc-video { position: relative; flex: none; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0a0a0b}
.mc-video video { width: 100%; height: 100%; display: block; object-fit: cover; background: #000000}
.mc-prev-tag { position: absolute; inset-inline-end: 14px; top: 14px; height: 24px; padding: 0 10px; border-radius: 999px; display: grid; place-items: center; background: rgba(0, 0, 0, 0.6); border: 1px solid #424245; font-size: 11.5px; color: #d2d2d7; pointer-events: none}
.mc-info { min-height: 0}
.mc-ep { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent)}
.mc-info h2 { margin: 6px 0 6px; font-size: 30px; font-weight: 700; letter-spacing: -.01em; color: #ffffff}
.mc-by { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: #aeaeb2}
.mc-by .ico { color: var(--accent)}
.mc-by b { font-weight: 600; color: #e5e5ea}
.mc-about { margin: 12px 0 0; max-width: 860px; font-size: 16px; line-height: 1.55; color: #d2d2d7}
.mc-info h5 { margin: 18px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #98989d}
.mc-learn { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px}
.mc-learn li { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid #2c2c2e; background: #111112; font-size: 14px; color: #e5e5ea}
.mc-learn li .ico { color: var(--accent)}
.mc-mark { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: #c7c7cc}
.mc-mark:hover, .mc-mark.done { color: var(--accent)}

.mc-side { min-height: 0; display: flex; flex-direction: column; padding: 24px 0 18px}
.mc-side h4 { margin: 0 0 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #98989d}
.mc-list { display: grid; gap: 8px; align-content: start}
.mc-it { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 12px; border: 1px solid transparent; text-align: start; transition: background .15s, border-color .15s}
.mc-it:hover { background: #111112}
.mc-it.on { border-color: var(--accent); background: #111112}
.mc-ith { position: relative; display: block; width: 128px; height: 72px; border-radius: 8px; overflow: hidden}
.mc-ith img { width: 100%; height: 100%; object-fit: cover; display: block}
.mc-ith em { position: absolute; inset-inline-end: 5px; bottom: 5px; padding: 0 5px; border-radius: 4px; background: rgba(0, 0, 0, 0.75); font-style: normal; font-size: 11px; color: #f5f5f7}
.mc-it.seen:not(.on) .mc-ith img { opacity: .6}
.mc-itt { min-width: 0}
.mc-itt small { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #98989d}
.mc-itt b { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; line-height: 1.3; color: #f5f5f7}
.mc-itt > i { display: inline-flex; align-items: center; gap: 6px; margin-top: 5px; font-style: normal; font-size: 12px; font-weight: 600}
.mc-now { color: var(--accent)}
.mc-seen { color: #98989d}
.mc-seen .ico { color: var(--accent)}
.mc-eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px}
.mc-eq i { width: 3px; height: 10px; border-radius: 1px; background: var(--accent); animation: eq 1s ease-in-out infinite}
.mc-eq i:nth-child(2) { animation-delay: .2s}
.mc-eq i:nth-child(3) { animation-delay: .4s}
.mc-tip { display: flex; gap: 8px; margin: 0; padding-top: 14px; font-size: 13px; line-height: 1.45; color: #98989d}
/* the education sponsor: the Qatar Foundation logo, white on the dark theme and black on the light one */
.mc-sponsor { margin-top: auto; display: grid; justify-items: center; gap: 12px; padding: 16px 16px 18px; border-radius: 14px; border: 1px solid #1d1d1f}
.mc-sponsor small { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #98989d}
.mc-sponsor .qf { display: block; width: 172px; aspect-ratio: 693 / 507; background: var(--qf-ink); -webkit-mask: url(../assets/qf_logo.svg) center / contain no-repeat; mask: url(../assets/qf_logo.svg) center / contain no-repeat}
.mc-tip .ico { flex: none; margin-top: 2px}

.mc-bar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #1d1d1f}
.mc-back, .mc-go { height: 48px; padding: 0 22px; gap: 10px; font-size: 15px}

/* up next and finished, over the video */
.mc-next { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(4, 4, 4, 0.82); backdrop-filter: blur(4px)}
.mc-nin { max-width: 460px; text-align: center}
.mc-nin small { font-size: 12px; letter-spacing: .14em; color: var(--accent)}
.mc-nin h3 { margin: 8px 0 12px; font-size: 22px; font-weight: 600}
.mc-nin p { margin: 0 0 14px; color: #d2d2d7}
.mc-nin > div { display: flex; justify-content: center; gap: 10px}
.mc-trophy { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(135, 135, 135, 0.16); color: var(--accent)}
/* a tutorial's film of the mission's world (js/masterclass.js, V6G-10): the intro's player, sized for the tutorial's box */
.mc-film { position: absolute; inset: 0}
.mv.small .mv-title { inset-inline-start: 28px; bottom: 96px}
.mv.small .mv-title small { font-size: 11.5px}
.mv.small .mv-title h2 { font-size: 30px}
.mv.small .mv-sub { bottom: 66px; padding: 0 36px}
.mv.small .mv-sub span { font-size: 16.5px; padding: 6px 12px; max-width: 820px}
.mv.small .mv-end h2 { font-size: 30px}
.mv.small .mv-end p { font-size: 16px}
.mv.small .mv-skip { bottom: 66px; inset-inline-end: 14px}
.mv.small .mv-bar { height: 52px}
.mc-by > span { display: inline}

/* V6G-14: the Tutorials page is a learning dashboard first (what to watch for your step, your learning path, your
   progress); the player opens from it. Back sits in the header on both. Flat panels, no shadows, no gradients. */
.mc.full { display: flex; flex-direction: column; grid-template-columns: none; grid-template-rows: none; column-gap: 0; padding: 0 28px}
.mc.full > .mc-top { flex: none; height: 78px; gap: 18px; justify-content: flex-start}
.mc-top .mc-brand { flex: 1; min-width: 0}
.mc-hback { flex: none; display: flex; align-items: center; gap: 10px; height: 52px; padding-block: 0; padding-inline: 12px 16px; border-radius: 14px; border: 1px solid #2c2c2e; background: #111112; color: #f5f5f7; text-align: start; font-size: inherit; cursor: pointer}
.mc-hback:hover { border-color: var(--accent)}
.mc-hback span { display: flex; flex-direction: column; min-width: 0}
.mc-hback small { font-size: 11.5px; color: #a1a1a6; line-height: 1.2}
.mc-hback b { font-size: 14.5px; font-weight: 600; white-space: nowrap; line-height: 1.25}
.mc-prog .mcd-ring { width: 30px; height: 30px}
.mc-x { width: 42px; height: 42px; margin-inline-start: 6px; display: grid; place-items: center; border-radius: 12px; border: 1px solid #2c2c2e; background: none; color: #f5f5f7; cursor: pointer}
.mc-x:hover { border-color: var(--accent)}
.mc-body { flex: 1; min-height: 0}
.mc-play { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: minmax(0, 1fr) 84px; column-gap: 28px}
.mc-play .mc-bar { grid-column: 1 / -1}
.mc-play .mc-bar .btn { height: 48px; padding: 0 22px; gap: 10px; font-size: 15px}
.mcd-ring .bg { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 3.4}
.mcd-ring .fg { fill: none; stroke: var(--accent); stroke-width: 3.4; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%}
.mcd { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; padding: 22px 0 24px}
.mcd-main { min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 24px; padding-inline-end: 4px}
.mcd-hero { flex: none; display: grid; grid-template-columns: 430px minmax(0, 1fr); gap: 26px; padding: 18px; border-radius: 20px; border: 1px solid #2c2c2e; background: #0f0f11}
.mcd-hthumb { position: relative; display: block; aspect-ratio: 16 / 10; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #1c1c1e; cursor: pointer}
.mcd-hthumb img { display: block; width: 100%; height: 100%; object-fit: cover}
.mcd-hthumb i { position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #000}
.mcd-hthumb em { position: absolute; inset-inline-end: 10px; bottom: 10px; padding: 3px 8px; border-radius: 8px; background: rgba(0, 0, 0, 0.72); color: #fff; font-style: normal; font-size: 12.5px; font-weight: 600}
.mcd-hinfo { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px}
.mcd-kick { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent)}
.mcd-hinfo h2 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 700}
.mcd-hinfo p { margin: 0; font-size: 15px; line-height: 1.5; color: #c7c7cc}
.mcd-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: #98989d}
.mcd-meta span + span::before { content: "·"; margin-inline-end: 14px}
.mcd-play { align-self: flex-start; height: 48px; margin-top: 4px; padding: 0 22px; gap: 10px; font-size: 15px}
.mcd-ph { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px}
.mcd-ph h3 { margin: 0; font-size: 20px; font-weight: 700}
.mcd-ph small { font-size: 13px; color: #98989d}
.mcd-path ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px}
.mcd-row { display: grid; grid-template-columns: 32px 128px minmax(0, 1fr) 132px 46px 118px; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; border: 1px solid #232325; background: #0f0f11}
.mcd-row.rec { border-color: var(--accent-line)}
.mcd-n { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #3a3a3c; font-size: 13px; font-weight: 700; color: #c7c7cc}
.mcd-row.done .mcd-n { border-color: var(--accent); background: var(--accent); color: #000}
.mcd-rth { position: relative; display: block; width: 128px; aspect-ratio: 16 / 10; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #1c1c1e; cursor: pointer}
.mcd-rth img { display: block; width: 100%; height: 100%; object-fit: cover}
.mcd-rth i { position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, 0.62); color: #fff}
.mcd-rt { min-width: 0}
.mcd-rt small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #98989d}
.mcd-rt b { display: block; margin-top: 2px; font-size: 16px; font-weight: 600}
.mcd-rt p { margin: 3px 0 0; font-size: 13px; line-height: 1.4; color: #a1a1a6; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical}
.mcd-st { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #98989d}
.mcd-st.done, .mcd-st.step { color: var(--accent)}
.mcd-len { font-size: 13px; color: #98989d}
.mcd-go { height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid #3a3a3c; background: none; color: #f5f5f7; font-size: 14px; font-weight: 600; cursor: pointer}
.mcd-row.rec .mcd-go, .mcd-go:hover { border-color: var(--accent)}
.mcd-side { min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 14px}
.mcd-card { padding: 16px 18px; border-radius: 18px; border: 1px solid #232325; background: #0f0f11}
.mcd-card h4 { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #98989d}
.mcd-card p { margin: 0; font-size: 14.5px; line-height: 1.45}
.mcd-card p + p { margin-top: 4px}
.mcd-muted { color: #a1a1a6}
.mcd-progress { display: flex; align-items: center; gap: 16px}
.mcd-progress .mcd-ring { flex: none; width: 78px; height: 78px}
.mcd-progress b { display: block; font-size: 26px; font-weight: 700}
.mcd-progress small { display: block; font-size: 13px; color: #a1a1a6}
.mcd-chips { display: flex; flex-wrap: wrap; gap: 8px}
.mcd-chips span { padding: 6px 11px; border-radius: 999px; border: 1px solid #2c2c2e; font-size: 13px; color: #e5e5ea}
.mcd-card.mc-sponsor { margin-top: 0}
[data-theme="light"] .mc-hback, [data-theme="light"] .mc-x { background: #fff; border-color: #dbdbdc; color: #1d1d1f}
[data-theme="light"] .mc-hback small, [data-theme="light"] .mcd-ph small, [data-theme="light"] .mcd-meta, [data-theme="light"] .mcd-rt small, [data-theme="light"] .mcd-len, [data-theme="light"] .mcd-st, [data-theme="light"] .mcd-card h4, [data-theme="light"] .mcd-progress small, [data-theme="light"] .mcd-muted, [data-theme="light"] .mcd-rt p { color: #6e6e73}
[data-theme="light"] .mcd-hero, [data-theme="light"] .mcd-row, [data-theme="light"] .mcd-card { background: #fff; border-color: #e5e5ea}
[data-theme="light"] .mcd-row.rec { border-color: var(--accent-line)}
[data-theme="light"] .mcd-hinfo p { color: #3c3c43}
[data-theme="light"] .mcd-n { border-color: #d2d2d7; color: #3c3c43}
[data-theme="light"] .mcd-go { border-color: #d2d2d7; color: #1d1d1f}
[data-theme="light"] .mcd-chips span { border-color: #e5e5ea; color: #1d1d1f}
[data-theme="light"] .mcd-st.done, [data-theme="light"] .mcd-st.step, [data-theme="light"] .mcd-kick { color: #1d1d1f}
[data-theme="light"] .mcd-st.done .ico, [data-theme="light"] .mcd-st.step .ico, [data-theme="light"] .mcd-kick .ico { color: var(--accent)}
[data-theme="light"] .mcd-ring .bg { stroke: rgba(0, 0, 0, 0.1)}

/* Map text outlines stay in screen pixels instead of expanding in world units. */
.g-lab, .g-ghost text, .g-meas { vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-miterlimit: 1; pointer-events: none; }

/* Placement captions use a bounded background, never a glyph outline. */
.g-ghost text { stroke: none; stroke-width: 0; }
