:root {
  --ink: #111827;
  --muted: #5f6878;
  --subtle: #8a94a6;
  --line: #dce2ea;
  --line-strong: #c9d1dc;
  --surface: #fff;
  --soft: #f6f8fb;
  --soft-blue: #f1f6ff;
  --navy: #072d73;
  --blue: #1b56c4;
  --orange: #fa4b12;
  --orange-soft: #fff6f1;
  --green: #13894a;
  --purple: #7044c7;
  --danger: #bc2f2f;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(25, 43, 74, .08);
  --sidebar: 232px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #fff; color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); }
button { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-160%); padding: 10px 14px; background: var(--navy); color: #fff; border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.app-header { position: sticky; top: 0; z-index: 30; height: 64px; display: flex; align-items: center; gap: 18px; padding: 0 28px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(10px); }
.brand { font: 800 22px/1 Manrope, Inter, sans-serif; color: var(--navy); text-decoration: none; letter-spacing: -.04em; }
.header-divider { width: 1px; height: 28px; background: var(--line); }
.breadcrumb { color: #283244; font-size: 14px; font-weight: 600; text-decoration: none; }
.breadcrumb::after { content: "›"; margin-left: 10px; color: var(--subtle); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.progress-menu { display: flex; align-items: center; gap: 10px; min-width: 140px; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.progress-menu strong, .progress-menu small { display: block; }
.progress-menu strong { font-size: 12px; }
.progress-menu small { margin-top: 2px; color: var(--muted); }
.mini-progress { display: grid; place-items: center; width: 40px; height: 40px; border: 5px solid #e5e8ed; border-radius: 50%; color: var(--muted); font-size: 11px; font-weight: 800; }

.module-tabs { display: flex; gap: 8px; padding: 10px 28px; border-bottom: 1px solid var(--line); background: #fff; overflow-x: auto; }
.module-tabs[hidden] { display: none; }
.module-tab { min-width: 150px; display: grid; gap: 3px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-align: left; cursor: pointer; }
.module-tab strong { font-size: 12px; }
.module-tab small { color: var(--muted); font-size: 10px; white-space: nowrap; }
.module-tab:hover { border-color: var(--line-strong); background: var(--soft); }
.module-tab.is-active { border-color: var(--navy); background: var(--soft-blue); box-shadow: inset 0 -3px 0 var(--navy); }

.vendor-f5 { --navy: #5e0712; --blue: #b5122b; --orange: #e4002b; --orange-soft: #fff3f5; --soft-blue: #fff2f4; }
.vendor-f5 .module-tab.is-active { border-color: #e4002b; background: #fff2f4; box-shadow: inset 0 -3px 0 #e4002b; }
.vendor-f5 .button-primary { background: #e4002b; box-shadow: 0 5px 14px rgba(228,0,43,.2); }
.vendor-f5 .button-primary:hover { background: #c90026; }
.vendor-checkpoint { --navy: #071f5d; --blue: #075ac8; --orange: #d71967; --orange-soft: #fff1f7; --soft-blue: #edf5ff; }
.vendor-checkpoint .module-tab.is-active { border-color: #d71967; background: #fff1f7; box-shadow: inset 0 -3px 0 #d71967; }
.vendor-checkpoint .button-primary { background: linear-gradient(135deg, #075ac8, #d71967); box-shadow: 0 5px 14px rgba(7,90,200,.2); }
.vendor-checkpoint .button-primary:hover { background: linear-gradient(135deg, #064ba5, #b61158); }
.vendor-fortigate { --navy: #101f49; --blue: #2450a6; --orange: #da291c; --orange-soft: #fff2f0; --soft-blue: #eef4ff; }
.vendor-fortigate .module-tab.is-active { border-color: #da291c; background: #fff2f0; box-shadow: inset 0 -3px 0 #da291c; }
.vendor-fortigate .button-primary { background: #da291c; box-shadow: 0 5px 14px rgba(218,41,28,.22); }
.vendor-fortigate .button-primary:hover { background: #ba2117; }
.vendor-zscaler { --navy: #052e52; --blue: #0068a8; --orange: #00a7e1; --orange-soft: #eaf9ff; --soft-blue: #eef8fd; }
.vendor-zscaler .module-tab.is-active { border-color: #00a7e1; background: #eaf9ff; box-shadow: inset 0 -3px 0 #00a7e1; }
.vendor-zscaler .button-primary { background: linear-gradient(135deg, #0068a8, #00a7e1); box-shadow: 0 5px 14px rgba(0,104,168,.22); }
.vendor-zscaler .button-primary:hover { background: linear-gradient(135deg, #005889, #0094c7); }

.app-shell { display: grid; grid-template-columns: var(--sidebar) minmax(0,1fr); min-height: calc(100vh - 64px); }
.sidebar { position: sticky; top: 64px; height: calc(100vh - 64px); display: flex; flex-direction: column; padding: 22px 14px; border-right: 1px solid var(--line); background: #fff; overflow-y: auto; }
.side-nav { display: grid; gap: 5px; }
.side-link { position: relative; width: 100%; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 10px 12px; border: 0; border-radius: 7px; background: transparent; color: #2c3442; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.side-link span { display: grid; place-items: center; width: 22px; height: 22px; color: #202938; font-size: 18px; }
.side-link:hover { background: var(--soft); }
.side-link:focus-visible { outline: 3px solid rgba(27,86,196,.2); outline-offset: 2px; }
.side-link.is-active { background: var(--soft-blue); color: var(--navy); }
.side-link.is-active::before { content: ""; position: absolute; left: -14px; top: 7px; bottom: 7px; width: 4px; border-radius: 0 4px 4px 0; background: var(--navy); }
.about-hub { margin: auto 4px 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; }
.about-hub strong { font-size: 12px; }
.about-hub p { margin: 8px 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.about-hub a { font-size: 11px; font-weight: 700; text-decoration: none; }

.main-content { min-width: 0; padding: 26px 28px 48px; }
.view { display: none; animation: view-in .2s ease-out; }
.view.is-active { display: block; }
@keyframes view-in { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .view { animation: none; } }

.overview-grid { display: grid; grid-template-columns: minmax(0,1fr) 264px; gap: 24px; max-width: 1420px; margin: 0 auto; }
.overview-primary { min-width: 0; }
.hub-intro { padding: 2px 0 20px; }
.vendor-label { margin: 0 0 7px; color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hub-intro h1, .workspace-header h1 { margin: 0; font: 800 clamp(28px,3vw,40px)/1.08 Manrope, Inter, sans-serif; letter-spacing: -.035em; }
.hub-intro > p:not(.vendor-label), .workspace-header p { max-width: 760px; margin: 7px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.hub-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.hub-meta strong { color: var(--ink); }
.primary-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border: 1px solid transparent; border-radius: 6px; font-size: 13px; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .mode-card:focus-visible, .question-row:focus-visible { outline: 3px solid rgba(27,86,196,.25); outline-offset: 2px; }
.button-primary { background: var(--orange); color: #fff; box-shadow: 0 5px 14px rgba(250,75,18,.2); }
.button-primary:hover { background: #e8420d; }
.button-secondary { border-color: var(--line-strong); background: #fff; color: #1f2937; }
.button-secondary:hover { border-color: #9eabbc; background: var(--soft); }
.button-navy { background: var(--navy); color: #fff; }
.button-quiet { min-height: 36px; border-color: var(--line-strong); background: #fff; }
.button-small { min-height: 36px; padding: 7px 13px; font-size: 12px; }
.text-link { padding: 2px 0; border: 0; background: transparent; color: var(--blue); font-size: 12px; font-weight: 750; cursor: pointer; }

.next-step { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 15px 17px; border: 1px solid #ffd6c8; background: linear-gradient(90deg,var(--orange-soft),#fff); border-radius: var(--radius); }
.next-step-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ffbca4; border-radius: 50%; color: var(--orange); font-size: 22px; }
.next-step small { color: var(--orange); font-weight: 800; }
.next-step h2 { margin: 3px 0 2px; font: 800 16px/1.2 Manrope, Inter, sans-serif; }
.next-step p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }

.section-title { margin: 0 0 14px; font: 800 15px/1.2 Manrope, Inter, sans-serif; }
.proficiency { padding: 20px 0; border-bottom: 1px solid var(--line); }
.proficiency-track { display: grid; grid-template-columns: repeat(6,1fr); }
.skill-node { position: relative; min-width: 0; padding: 22px 6px 0; text-align: center; }
.skill-node::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--line-strong); }
.skill-node:first-child::before { left: 50%; }
.skill-node:last-child::before { right: 50%; }
.skill-dot { position: absolute; z-index: 1; top: 2px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border: 2px solid var(--line-strong); border-radius: 50%; background: #fff; }
.skill-node.has-progress .skill-dot { border-color: var(--orange); background: var(--orange-soft); }
.skill-node strong { display: block; min-height: 28px; font-size: 10px; line-height: 1.35; }
.skill-node small { color: var(--muted); font-size: 10px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 18px 0 10px; }
.section-heading.compact { align-items: center; margin: 0 0 10px; }
.section-heading h2 { margin: 0; font: 800 17px/1.2 Manrope, Inter, sans-serif; }
.section-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.mode-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; }
.mode-card { min-width: 0; min-height: 158px; display: flex; flex-direction: column; align-items: center; padding: 15px 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-align: center; cursor: pointer; }
.mode-card:hover { border-color: #aab6c5; box-shadow: var(--shadow); }
.mode-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 9px; border-radius: 50%; color: #fff; font-weight: 800; }
.mode-blue { background: #3266d4; }.mode-orange{background:#ff862c}.mode-green{background:#199557}.mode-purple{background:#7846cf}.mode-navy{background:#2256be;border-radius:7px}.mode-outline{border:2px solid var(--orange);background:#fff;color:var(--orange);border-radius:7px}
.mode-card strong { font-size: 12px; }
.mode-card small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.mode-card p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }

.lab-preview { margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.terminal { overflow: hidden; border-radius: 7px; background: #0d1219; color: #edf4ef; box-shadow: inset 0 0 0 1px #27303a; }
.terminal-label { padding: 8px 12px; border-bottom: 1px solid #343c46; color: #b9c0c9; font: 700 9px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .12em; }
.terminal pre { margin: 0; padding: 14px 18px 18px; overflow: auto; font: 500 11px/1.48 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
.terminal-command { color: #62dd74; }
.terminal-actions { display: grid; grid-template-columns: auto minmax(170px,1fr) auto auto; align-items: center; gap: 9px; padding-top: 10px; }
.terminal-actions label { color: var(--muted); font-size: 11px; }
select, input, textarea { border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; color: var(--ink); }
select, input { min-height: 38px; padding: 8px 10px; }
textarea { width: 100%; padding: 12px; resize: vertical; line-height: 1.55; }
select:focus, input:focus, textarea:focus { outline: 3px solid rgba(27,86,196,.15); border-color: var(--blue); }
.feedback { min-height: 18px; margin: 8px 0 0; font-size: 12px; }
.feedback.is-good { color: var(--green); }.feedback.is-bad{color:var(--danger)}

.expert-strip { display: grid; grid-template-columns: 52px minmax(0,1fr) auto auto; align-items: center; gap: 16px; margin-top: 18px; padding: 16px 18px; border: 1px solid #cfdcf1; border-radius: 9px; background: #f4f8ff; }
.expert-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 22px; }
.expert-strip h2 { margin: 0; font: 800 16px/1.2 Manrope, Inter, sans-serif; }
.expert-strip p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }

.overview-aside { display: grid; align-content: start; gap: 18px; }
.readiness-card, .visual-preview { padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.readiness-card h2, .visual-preview h2 { margin: 0; font: 800 15px/1.2 Manrope, Inter, sans-serif; }
.readiness-ring { --angle: calc(var(--progress) * 3.6deg); display: grid; place-items: center; width: 106px; height: 106px; margin: 18px auto 12px; border-radius: 50%; background: conic-gradient(var(--blue) var(--angle),#e8ebef 0); position: relative; }
.readiness-ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #fff; }
.readiness-ring span { position: relative; font-size: 20px; font-weight: 800; }
.readiness-card > p { min-height: 34px; margin: 0 auto 14px; color: var(--muted); font-size: 11px; line-height: 1.45; text-align: center; }
.readiness-card dl { margin: 0; border-top: 1px solid var(--line); }
.readiness-card dl div { display: flex; justify-content: space-between; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.readiness-card dd { margin: 0; font-weight: 800; }
.reset-progress { display: block; margin: 13px auto 0; color: var(--muted); font-size: 10px; }
.reset-progress[data-confirm-state="confirm"] { color: var(--danger); font-weight: 800; }
.visual-preview-item { display: grid; grid-template-columns: 86px 1fr; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.visual-preview-item img { width: 86px; height: 54px; object-fit: cover; border: 1px solid var(--line); border-radius: 5px; }
.visual-preview-item strong { font-size: 11px; line-height: 1.35; }
.visual-library-link { margin-top: 12px; }

.workspace-header { max-width: 1260px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 auto 22px; }
.workspace-header .assessment-score { min-width: 110px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); font-weight: 800; text-align: center; }
.question-toolbar { max-width: 1260px; display: grid; grid-template-columns: minmax(220px,1.5fr) repeat(3,minmax(130px,.7fr)) auto; align-items: end; gap: 10px; margin: 0 auto 14px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.question-toolbar label, .mock-controls label { display: grid; gap: 5px; color: var(--muted); font-size: 10px; font-weight: 700; }
.question-toolbar output { padding-bottom: 10px; color: var(--muted); font-size: 11px; font-weight: 700; white-space: nowrap; }
.question-workspace, .lab-workspace { max-width: 1260px; min-height: 660px; display: grid; grid-template-columns: 330px minmax(0,1fr); gap: 16px; margin: 0 auto; }
.question-list, .lab-list { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: auto; max-height: calc(100vh - 210px); }
.question-row, .lab-row { width: 100%; display: block; padding: 13px 14px; border: 0; border-bottom: 1px solid var(--line); background: #fff; text-align: left; cursor: pointer; }
.question-row:hover, .lab-row:hover { background: var(--soft); }
.question-row.is-selected, .lab-row.is-selected { background: var(--soft-blue); box-shadow: inset 3px 0 0 var(--blue); }
.question-row small, .lab-row small { display: flex; justify-content: space-between; gap: 6px; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.question-row strong, .lab-row strong { display: block; margin-top: 6px; font-size: 12px; line-height: 1.42; }
.question-detail, .lab-detail { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.question-detail h2, .lab-detail h2 { margin: 8px 0 12px; font: 800 24px/1.25 Manrope, Inter, sans-serif; letter-spacing: -.02em; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { padding: 5px 8px; border-radius: 4px; background: var(--soft); color: #455064; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.badge-scenario { background: #eaf8ef; color: #126c3c; }.badge-expert{background:#f0eafd;color:#6030b6}.badge-important{background:#fff1e9;color:#b73c0f}
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.answer-block { margin: 14px 0; padding: 15px; border-left: 3px solid var(--orange); background: var(--orange-soft); }
.answer-block h3, .detail-section h3 { margin: 0 0 8px; font: 800 13px/1.2 Manrope,Inter,sans-serif; }
.answer-block p, .detail-section p, .detail-section li { color: #354052; font-size: 13px; line-height: 1.65; }
.detail-section { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.detail-section ul, .detail-section ol { margin: 8px 0; padding-left: 20px; }
.command-card { margin: 10px 0; overflow: hidden; border: 1px solid #273444; border-radius: 7px; background: #0d1219; color: #eef4ef; }
.command-card header { display: flex; justify-content: space-between; gap: 10px; padding: 8px 11px; border-bottom: 1px solid #334052; color: #bbc4cf; font-size: 9px; font-weight: 800; }
.command-card pre { margin: 0; padding: 13px; overflow: auto; color: #72e482; font: 600 11px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; }
.command-card p { margin: 0; padding: 0 13px 13px; color: #ccd4dd; font-size: 11px; }
.question-visual { margin: 16px 0; }
.question-visual button { width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; cursor: zoom-in; }
.question-visual img { width: 100%; max-height: 460px; object-fit: contain; background: var(--soft); }
.question-visual figcaption { margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.reference-list a { overflow-wrap: anywhere; }
.empty-state { padding: 40px 20px; color: var(--muted); text-align: center; }

.scenario-grid { max-width: 1260px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 0 auto; }
.scenario-card { display: flex; flex-direction: column; min-height: 210px; padding: 17px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.scenario-card small { color: var(--orange); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.scenario-card h2 { margin: 9px 0; font: 800 15px/1.4 Manrope,Inter,sans-serif; }
.scenario-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.scenario-card button { margin-top: auto; align-self: flex-start; }
.safety-banner { max-width: 1260px; margin: 0 auto 14px; padding: 12px 14px; border: 1px solid #f0cd88; border-radius: 7px; background: #fff9eb; color: #654b17; font-size: 12px; line-height: 1.5; }
.lab-detail .terminal { margin: 14px 0; }
.lab-choices { display: grid; gap: 8px; margin: 12px 0; }
.lab-choice { display: flex; gap: 9px; align-items: flex-start; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; }
.lab-choice:hover { background: var(--soft); }

.practice-lab-shell { max-width: 1260px; display: grid; grid-template-columns: minmax(0,1fr) 330px; align-items: start; gap: 18px; margin: 0 auto; }
.practice-console-panel, .practice-guide { border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.practice-console-panel { min-width: 0; padding: 18px; }
.practice-console-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.practice-console-heading h2, .practice-guide h2 { margin: 0; font: 800 18px/1.25 Manrope,Inter,sans-serif; }
.practice-console-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.practice-status { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 7px 9px; border-radius: 6px; background: #eaf8ef; color: #126c3c; font-size: 10px; font-weight: 800; }
.practice-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(25,149,87,.12); }
.practice-command-library { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 10px; }
.practice-command-library button { min-height: 32px; padding: 6px 9px; border: 1px solid #cbd6e5; border-radius: 5px; background: #f6f8fb; color: #25344a; font: 700 10px/1.25 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; cursor: pointer; }
.practice-command-library button:hover { border-color: var(--blue); background: var(--soft-blue); color: var(--navy); }
.practice-command-library button:focus-visible { outline: 3px solid rgba(27,86,196,.18); outline-offset: 2px; }
.practice-terminal { overflow: hidden; border: 1px solid #273444; border-radius: 8px; background: #0b1118; color: #edf4ef; box-shadow: 0 10px 26px rgba(7,13,22,.14); }
.practice-transcript { min-height: 360px; max-height: 520px; overflow: auto; padding: 3px 0; }
.practice-entry { padding: 13px 16px 15px; border-bottom: 1px solid #26313d; }
.practice-entry:last-child { border-bottom: 0; }
.practice-entry-command { color: #72e482; font: 700 11px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; overflow-wrap: anywhere; }
.practice-entry.is-blocked .practice-entry-command { color: #ff8c8c; }
.practice-entry.is-unknown .practice-entry-command { color: #ffd073; }
.practice-entry pre { margin: 9px 0 0; overflow-x: auto; color: #e8edf3; font: 500 11px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; white-space: pre; }
.practice-evidence { margin-top: 12px; padding: 11px 12px; border-left: 3px solid #4e8df5; background: #141e29; color: #d5dde6; }
.practice-entry.is-blocked .practice-evidence { border-left-color: #e76060; }
.practice-entry.is-unknown .practice-evidence { border-left-color: #d99b2b; }
.practice-evidence strong { display: block; margin-bottom: 4px; color: #fff; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.practice-evidence p { margin: 0; font-size: 11px; line-height: 1.55; }
.practice-evidence .practice-next { margin-top: 6px; color: #aebfd1; }
.practice-command-form { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 11px 12px; border-top: 1px solid #364352; background: #101923; }
.practice-prompt { color: #72e482; font: 700 11px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; white-space: nowrap; }
.practice-command-form input { width: 100%; min-height: 38px; padding: 7px 9px; border-color: #455569; background: #0b1118; color: #f4f7fb; caret-color: #72e482; font: 600 12px/1.25 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
.practice-command-form input::placeholder { color: #718093; }
.practice-command-form input:focus { border-color: #72a7ff; outline-color: rgba(114,167,255,.24); }
.practice-console-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 10px; }
.practice-console-actions p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.practice-console-actions code { color: var(--navy); font-weight: 800; }
.practice-guide { padding: 18px; }
.practice-steps { display: grid; gap: 0; margin: 16px 0 0; padding: 0; list-style: none; }
.practice-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.practice-steps li > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--soft-blue); color: var(--navy); font-size: 10px; font-weight: 800; }
.practice-steps strong { display: block; font-size: 11px; }
.practice-steps p { margin: 3px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.practice-mission, .practice-boundary { margin-top: 16px; padding: 14px; border-radius: 7px; }
.practice-mission { border: 1px solid #cfdcf1; background: #f4f8ff; }
.practice-boundary { border: 1px solid #f0cd88; background: #fff9eb; }
.practice-mission h3, .practice-boundary h3 { margin: 0; font: 800 12px/1.25 Manrope,Inter,sans-serif; }
.practice-mission p, .practice-boundary p { margin: 7px 0 0; color: #465367; font-size: 10px; line-height: 1.55; }
.practice-mission .button { width: 100%; margin-top: 11px; }

.mcq-list { max-width: 900px; display: grid; gap: 12px; margin: 0 auto; }
.mcq-card { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.mcq-card legend { padding: 0 4px; font-weight: 800; line-height: 1.45; }
.mcq-options { display: grid; gap: 7px; margin-top: 12px; }
.mcq-option { display: flex; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.mcq-option:hover { background: var(--soft); }
.mcq-explanation { margin: 10px 0 0; padding: 10px; border-radius: 6px; background: var(--soft); color: #354052; font-size: 12px; line-height: 1.55; }
.mcq-explanation.is-correct { border-left: 3px solid var(--green); }.mcq-explanation.is-wrong{border-left:3px solid var(--danger)}

.exam-overview { max-width: 1100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 auto 16px; padding: 18px 20px; border: 1px solid #315978; border-radius: 10px; background: #0e2a40; }
.exam-overview h2 { margin: 3px 0 5px; font: 800 20px/1.25 Manrope,Inter,sans-serif; color: #f4f8fc; }
.exam-overview p { margin: 0; color: #9db0bf; font-size: 12px; line-height: 1.55; }
.exam-kicker { color: var(--orange); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.exam-live-status { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; color: #b8c9d5; font-size: 10px; font-weight: 700; }
.exam-live-status i { width: 8px; height: 8px; border-radius: 50%; background: #45d389; box-shadow: 0 0 0 4px rgba(69,211,137,.12); }
.exam-grid { max-width: 1100px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 0 auto; }
.exam-grid.is-single { grid-template-columns: minmax(0,560px); }
.exam-card { display: flex; flex-direction: column; min-height: 310px; padding: 20px; border: 1px solid #27506d; border-radius: 10px; background: #0b2233; box-shadow: var(--shadow); }
.exam-card header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.exam-code, .exam-match { font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.exam-code { color: var(--orange); }
.exam-match { color: #8eabbf; }
.exam-card h2 { margin: 18px 0; font: 800 18px/1.35 Manrope,Inter,sans-serif; color: #f4f8fc; }
.exam-card dl { display: grid; grid-template-columns: repeat(3,1fr); margin: 0; border: 1px solid #24465e; border-radius: 8px; overflow: hidden; }
.exam-card dl div { min-width: 0; padding: 11px 9px; border-left: 1px solid #24465e; }
.exam-card dl div:first-child { border-left: 0; }
.exam-card dt { color: #8fa6b6; font-size: 8px; letter-spacing: .05em; text-transform: uppercase; }
.exam-card dd { margin: 4px 0 0; color: #fff; font-size: 13px; font-weight: 800; }
.exam-note { flex: 1; margin: 14px 0; color: #a9bac7; font-size: 10px; line-height: 1.55; }
.exam-card .button { width: 100%; margin-top: auto; }

.visual-grid { max-width: 1260px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 0 auto; }
.visual-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.visual-card button { width: 100%; padding: 0; border: 0; background: var(--soft); cursor: zoom-in; }
.visual-card img { width: 100%; aspect-ratio: 16/9; object-fit: contain; }
.visual-card div { padding: 13px; }
.visual-card h2 { margin: 0; font: 800 14px/1.4 Manrope,Inter,sans-serif; }
.visual-card p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.visual-dialog { width: min(1100px,calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: 10px; box-shadow: 0 26px 80px rgba(0,0,0,.3); }
.visual-dialog::backdrop { background: rgba(6,13,25,.72); }
.visual-dialog img { width: 100%; max-height: 70vh; object-fit: contain; background: var(--soft); }
.visual-dialog > div { padding: 18px 22px 22px; }
.visual-dialog h2 { margin: 0; font: 800 20px/1.25 Manrope,Inter,sans-serif; }
.visual-dialog p { color: var(--muted); font-size: 12px; line-height: 1.6; }
.dialog-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 24px; cursor: pointer; }

.mock-shell, .doubt-shell { max-width: 900px; margin: 0 auto; padding: 22px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.mock-controls { display: flex; align-items: end; gap: 10px; }
.mock-controls label { min-width: 170px; }
.mock-timer { margin-left: auto; font: 800 24px/1 ui-monospace,SFMono-Regular,Menlo,monospace; color: var(--navy); }
.mock-question { min-height: 150px; margin: 18px 0; padding: 20px; border: 1px solid #cbd8ed; border-radius: 8px; background: #f4f8ff; }
.mock-question h2 { margin: 0; font: 800 22px/1.35 Manrope,Inter,sans-serif; }
.mock-question p { color: var(--muted); line-height: 1.6; }
.answer-label, .doubt-shell > label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; }
.mock-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 10px; }
.mock-feedback { margin-top: 14px; }
.mock-feedback .answer-block { margin-bottom: 0; }
.doubt-input-row { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.doubt-results { min-height: 230px; margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.doubt-result { padding: 13px 0; border-bottom: 1px solid var(--line); }
.doubt-result:last-child { border-bottom: 0; }
.doubt-result h2 { margin: 0 0 5px; font: 800 14px/1.4 Manrope,Inter,sans-serif; }
.doubt-result p { margin: 0; color: #354052; font-size: 12px; line-height: 1.55; }
.human-help { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 16px; padding: 15px; border: 1px solid #cfdcf1; border-radius: 8px; background: #f4f8ff; }
.human-help p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.load-error, .noscript { max-width: 720px; margin: 50px auto; padding: 24px; border: 1px solid var(--line); border-radius: 9px; background: #fff; text-align: center; }

/* Professional learning workspace — shared across every vendor hub. */
:root {
  --ink: #f4f8fc;
  --muted: #9eb0c2;
  --subtle: #71869a;
  --line: #203d52;
  --line-strong: #34556d;
  --surface: #0b2233;
  --soft: #0d293d;
  --soft-blue: #0f3048;
  --navy: #071b2b;
  --blue: #4c97de;
  --orange: #ff6b16;
  --orange-soft: #402313;
  --green: #4fd18b;
  --purple: #aa8cff;
  --danger: #ff7a7a;
  --shadow: 0 18px 52px rgba(0, 5, 12, .28);
  color-scheme: dark;
  background: #061724;
}
body {
  background:
    radial-gradient(circle at 78% 0, rgba(26, 88, 132, .16), transparent 32rem),
    #061724;
  color: var(--ink);
}
a { color: #7dbcf2; }
.app-header {
  height: 58px;
  gap: 16px;
  padding: 0 22px;
  border-color: #1c384c;
  background: rgba(4, 19, 31, .96);
  box-shadow: 0 8px 24px rgba(0, 8, 18, .18);
}
.brand { color: #fff; letter-spacing: -.03em; }
.brand::before {
  content: "TC";
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 9px;
  border: 2px solid var(--orange);
  border-radius: 8px;
  color: #fff;
  font: 800 11px/1 Inter, sans-serif;
  letter-spacing: 0;
}
.header-divider { background: var(--line); }
.breadcrumb { color: #bed0df; }
.button-quiet { border-color: var(--line-strong); background: #0b2233; color: #eaf3fa; }
.progress-menu { color: #edf6fc; }
.progress-menu small { color: var(--muted); }
.mini-progress { border-color: #29455a; color: #fff; background: #0c2638; }
.vendor-switcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 190px;
  margin-left: auto;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #091f30;
}
.vendor-switcher::before { content: "▦"; color: var(--orange); font-size: 16px; }
.vendor-switcher select { width: 100%; min-height: 36px; padding: 6px 24px 6px 0; border: 0; background: transparent; color: #edf6fc; font-size: 12px; font-weight: 700; }
.module-tabs { padding: 9px 22px; border-color: var(--line); background: #081c2b; }
.module-tab { min-width: 158px; border-color: var(--line); background: #0b2233; color: #ecf5fb; }
.module-tab:hover { border-color: var(--line-strong); background: #102f45; }
.module-tab.is-active { border-color: var(--orange); background: #102f45; box-shadow: inset 0 -3px 0 var(--orange); }
.module-tab small { color: var(--muted); }
.app-shell { grid-template-columns: 208px minmax(0, 1fr); min-height: calc(100vh - 58px); }
.sidebar {
  top: 58px;
  height: calc(100vh - 58px);
  padding: 16px 12px;
  border-color: #19364a;
  background: linear-gradient(180deg, #071d2d, #061725);
}
.side-nav { gap: 4px; }
.side-link { min-height: 42px; color: #cbd9e5; font-size: 12px; }
.side-link span { color: #a9c0d2; font-size: 16px; }
.side-link:hover { background: #102d42; }
.side-link.is-active { background: #12344c; color: #fff; box-shadow: inset 0 0 0 1px #214a65; }
.side-link.is-active::before { left: -12px; background: var(--orange); }
.about-hub { border-color: var(--line); background: #0b2233; }
.about-hub p { color: var(--muted); }
.main-content { padding: 18px 20px 52px; }
.overview-grid { grid-template-columns: minmax(0, 1fr) 310px; gap: 14px; max-width: 1460px; }
.hub-intro {
  position: relative;
  min-height: 266px;
  padding: 30px 34px 28px 136px;
  overflow: hidden;
  border: 1px solid #27506d;
  border-radius: 10px;
  background:
    radial-gradient(circle at 84% 18%, rgba(61, 139, 207, .20), transparent 13rem),
    linear-gradient(135deg, #0b3153, #08233a 70%);
  box-shadow: var(--shadow);
}
.hub-intro::after {
  content: "";
  position: absolute;
  top: -72px;
  right: -56px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(105, 179, 235, .12);
  border-radius: 50%;
  box-shadow: inset 0 0 0 52px rgba(93, 166, 224, .025), inset 0 0 0 105px rgba(93, 166, 224, .025);
}
.vendor-mark {
  position: absolute;
  top: 34px;
  left: 34px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(151, 208, 249, .32);
  border-radius: 18px;
  overflow: hidden;
  padding: 12px;
  background: #fff;
  color: #08233a;
  font: 800 23px/1 Manrope, Inter, sans-serif;
  box-shadow: 0 10px 24px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.08);
}
.vendor-mark .vendor-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.vendor-mark .vendor-logo[hidden], .vendor-mark .vendor-mark-fallback[hidden] { display: none; }
.vendor-label { color: #7fc6f4; font-size: 10px; letter-spacing: .1em; }
.hub-intro h1 { max-width: 820px; color: #fff; font-size: clamp(30px, 3.2vw, 46px); }
.hub-intro > p:not(.vendor-label) { color: #b9ccdc; }
.hub-meta { gap: 0; margin-top: 24px; color: #98aec0; }
.hub-meta span { min-width: 116px; padding: 0 22px; border-left: 1px solid #315673; }
.hub-meta span:first-child { padding-left: 0; border-left: 0; }
.hub-meta strong { display: block; color: #fff; font-size: 22px; }
.primary-actions { margin-top: 24px; }
.button { border-radius: 6px; }
.button-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(255, 107, 22, .2); }
.button-primary:hover { background: #f35f0d; }
.button-secondary { border-color: var(--line-strong); background: #0c2639; color: #e9f3fa; }
.button-secondary:hover { border-color: #5b7d95; background: #123249; }
.button-navy { background: #123b5b; color: #fff; }
.next-step {
  margin-top: 14px;
  padding: 16px 18px;
  border-color: #27506b;
  background: #0b2233;
}
.next-step-icon { border-color: #485a63; background: #112e42; }
.next-step h2 { color: #f4f8fc; }
.next-step p, .section-heading p { color: var(--muted); }
.proficiency { margin-top: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 9px; background: #0b2233; }
.skill-node::before { background: #365269; }
.skill-dot { border-color: #47657b; background: #0b2233; }
.skill-node.has-progress .skill-dot { border-color: var(--orange); background: #432819; }
.skill-node small { color: #91a7b9; }
.mode-grid { gap: 8px; }
.mode-card {
  min-height: 145px;
  border-color: var(--line);
  background: #0b2233;
  color: #eff6fb;
}
.mode-card:hover { border-color: #4a6d84; background: #102d42; }
.mode-card small, .mode-card p { color: var(--muted); }
.mode-icon { background: #183d57; color: #fff; }
.mode-orange, .mode-outline { border: 1px solid #ad541c; background: #3b2618; color: #ff9a56; }
.lab-preview, .practice-console-panel, .practice-guide, .question-list, .lab-list, .question-detail, .lab-detail, .mcq-card, .visual-card, .mock-shell, .doubt-shell {
  border-color: var(--line);
  background: #0b2233;
  color: #eef6fb;
}
.terminal, .practice-terminal { background: #020b12; }
.terminal-actions label, .practice-console-heading p, .practice-console-actions p { color: var(--muted); }
select, input, textarea { border-color: var(--line-strong); background: #071b2a; color: #eef6fb; }
.expert-strip { border-color: #315978; background: #0e2a40; }
.expert-strip p { color: var(--muted); }
.readiness-card, .visual-preview { border-color: #27506d; background: #0b2233; box-shadow: var(--shadow); }
.readiness-ring { width: 132px; height: 132px; background: conic-gradient(var(--orange) var(--angle), #294252 0); }
.readiness-ring::before { background: #0b2233; }
.readiness-ring span { color: #fff; font-size: 26px; }
.readiness-card > p { color: var(--muted); }
.readiness-card dl, .readiness-card dl div { border-color: var(--line); }
.readiness-card dt { color: var(--muted); }
.readiness-card dd { color: #fff; }
.visual-preview-item { border-color: var(--line); color: #eff6fb; }
.visual-preview-item img { border-color: var(--line-strong); background: #fff; }
.learning-insights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.insight-panel { padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: #0b2233; }
.insight-panel header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.insight-panel h2 { margin: 0; font: 800 14px/1.2 Manrope, Inter, sans-serif; }
.insight-panel header span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.weak-topic, .activity-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.weak-topic strong, .activity-item strong { font-size: 11px; }
.weak-topic span, .activity-item span { color: var(--muted); font-size: 10px; }
.weak-meter { grid-column: 1/-1; height: 3px; border-radius: 999px; background: #294252; overflow: hidden; }
.weak-meter i { display: block; height: 100%; background: var(--orange); }
.workspace-header p, .question-toolbar label, .question-toolbar output { color: var(--muted); }
.question-toolbar { border-color: var(--line); background: #0a2132; }
.question-row, .lab-row { border-color: var(--line); background: #0b2233; color: #eef6fb; }
.question-row:hover, .lab-row:hover { background: #102d42; }
.question-row.is-selected, .lab-row.is-selected { background: #12344c; box-shadow: inset 3px 0 0 var(--orange); }
.question-row small, .lab-row small { color: var(--muted); }
.answer-block { border-left-color: var(--orange); background: #352315; }
.answer-block p, .detail-section p, .detail-section li, .doubt-result p { color: #c7d5e0; }
.detail-section, .doubt-result { border-color: var(--line); }
.badge { background: #16354a; color: #cbd9e5; }
.badge-scenario { background: #123c2c; color: #82e8ae; }
.badge-expert { background: #302650; color: #c8b5ff; }
.badge-important { background: #442718; color: #ffab70; }
.scenario-card { border-color: var(--line); background: #0b2233; }
.scenario-card p { color: var(--muted); }
.safety-banner { border-color: #725622; background: #2d2414; color: #f0d99c; }
.practice-command-library button { border-color: #36566e; background: #0e2a40; color: #cce5f5; }
.practice-command-library button:hover { background: #123b59; color: #fff; }
.practice-mission { border-color: #315978; background: #0e2a40; }
.practice-boundary { border-color: #725622; background: #2d2414; }
.practice-mission p, .practice-boundary p { color: #bfd0dc; }
.mcq-option, .lab-choice { border-color: var(--line); background: #0d293d; }
.mcq-option:hover, .lab-choice:hover { background: #12344c; }
.mcq-explanation, .doubt-results { background: #0d293d; color: #c7d5e0; }
.visual-card button, .question-visual img { background: #f5f8fb; }
.visual-card p, .mock-question p { color: var(--muted); }
.mock-question { border-color: #315978; background: #0e2a40; }
.mock-timer { color: #ff9a56; }
.human-help { border-color: #315978; background: #0e2a40; }
.load-error, .noscript { border-color: var(--line); background: #0b2233; }
.mobile-bottom-nav { display: none; }

.vendor-azure { --orange: #ff6b16; --blue: #4da6e8; }
.vendor-aws { --orange: #ff9900; --blue: #58a6ff; }
.vendor-cyberark { --orange: #39b8ff; --blue: #78d5ff; }
.vendor-cisco-ise { --orange: #32b7e9; --blue: #54c8f2; }
.vendor-meraki { --orange: #75bf43; --blue: #91d468; }
.vendor-forescout { --orange: #f0a028; --blue: #61c7bc; }
.vendor-forcepoint-email { --orange: #ef4758; --blue: #ed6b77; }
.vendor-crowdstrike { --orange: #f0445f; --blue: #ff7187; }
.vendor-netskope { --orange: #00a9e0; --blue: #57c9ed; }
.vendor-proofpoint { --orange: #ef4450; --blue: #ff7881; }
.vendor-sophos { --orange: #12a7df; --blue: #67c9ed; }
.vendor-sonicwall { --orange: #f47b2a; --blue: #ff9a55; }
.vendor-splunk { --orange: #74b944; --blue: #9bd36f; }
.vendor-tenable { --orange: #11b7c4; --blue: #66d8e0; }
.vendor-qualys { --orange: #ef4b50; --blue: #ff777b; }
.vendor-wiz { --orange: #8c72ff; --blue: #ac9aff; }
.vendor-okta { --orange: #169eda; --blue: #63c4ed; }

@media (max-width: 1180px) {
  :root { --sidebar: 200px; }
  .mode-grid { grid-template-columns: repeat(3,1fr); }
  .overview-grid { grid-template-columns: minmax(0,1fr) 230px; }
  .terminal-actions { grid-template-columns: 1fr 1fr; }
  .terminal-actions label { grid-column: 1/-1; }
  .expert-strip { grid-template-columns: 48px minmax(0,1fr); }
  .expert-strip .button { width: 100%; }
  .scenario-grid, .visual-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .app-header { height: 58px; padding: 0 16px; }
  .header-divider, .breadcrumb { display: none; }
  .header-actions { gap: 8px; }
  .header-actions .button-quiet { display: none; }
  .progress-menu { min-width: auto; }
  .progress-menu > span:last-child { display: none; }
  .module-tabs { padding: 8px 12px; }
  .module-tab { min-width: 132px; padding: 8px 10px; }
  .app-shell { display: block; }
  .sidebar { display: none; }
  .main-content { padding: 14px 12px 92px; }
  .overview-grid { display: block; }
  .overview-aside { grid-template-columns: 1fr 1fr; margin-top: 18px; }
  .question-toolbar { grid-template-columns: repeat(2,1fr); }
  .question-toolbar label:first-child { grid-column: 1/-1; }
  .question-toolbar output { padding: 0; }
  .question-workspace, .lab-workspace { grid-template-columns: 280px minmax(0,1fr); }
  .practice-lab-shell { grid-template-columns: 1fr; }
  .practice-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .practice-guide > h2, .practice-steps { grid-column: 1/-1; }
  .vendor-switcher { min-width: 156px; margin-left: auto; }
  .header-actions { margin-left: 0; }
  .hub-intro { padding: 26px 24px 24px 112px; }
  .vendor-mark { top: 28px; left: 24px; width: 66px; height: 66px; }
  .learning-insights { grid-template-columns: 1fr; }
  .mobile-bottom-nav {
    position: fixed;
    z-index: 40;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 70px;
    padding: 7px max(8px, env(safe-area-inset-right)) max(7px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    border-top: 1px solid #294a61;
    background: rgba(5, 22, 35, .98);
    box-shadow: 0 -12px 30px rgba(0, 7, 14, .32);
  }
  .mobile-bottom-nav button { display: grid; place-items: center; gap: 2px; border: 0; background: transparent; color: #a8bbca; font-size: 10px; font-weight: 700; }
  .mobile-bottom-nav button span { font-size: 20px; }
  .mobile-bottom-nav button.is-active { color: var(--orange); }
}

@media (max-width: 680px) {
  .brand { font-size: 20px; }
  .hub-intro h1, .workspace-header h1 { font-size: 28px; }
  .hub-intro > p:not(.vendor-label), .workspace-header p { font-size: 14px; }
  .hub-meta { display: grid; grid-template-columns: 1fr 1fr; }
  .primary-actions .button { flex: 1; }
  .next-step { grid-template-columns: 42px 1fr; }
  .next-step .button { grid-column: 1/-1; width: 100%; }
  .proficiency-track { grid-template-columns: repeat(3,1fr); gap: 14px 0; }
  .skill-node:nth-child(3)::before, .skill-node:nth-child(4)::before { right: 50%; }
  .skill-node:nth-child(4)::before { left: 50%; right: 0; }
  .mode-grid { grid-template-columns: repeat(2,1fr); }
  .mode-card { min-height: 150px; }
  .terminal pre { font-size: 9px; }
  .terminal-actions { display: grid; grid-template-columns: 1fr; }
  .terminal-actions > * { min-width: 0; width: 100%; max-width: 100%; }
  .expert-strip { display: flex; flex-direction: column; align-items: stretch; text-align: center; }
  .expert-icon { align-self: center; }
  .overview-aside { grid-template-columns: 1fr; }
  .workspace-header { display: block; }
  .workspace-header .button, .workspace-header .assessment-score { margin-top: 12px; }
  .question-toolbar { grid-template-columns: 1fr; }
  .question-toolbar label:first-child { grid-column: auto; }
  .question-workspace, .lab-workspace { display: block; }
  .question-list, .lab-list { max-height: 270px; margin-bottom: 12px; }
  .question-detail, .lab-detail { padding: 16px; }
  .question-detail h2, .lab-detail h2 { font-size: 21px; }
  .practice-console-panel, .practice-guide { padding: 14px; }
  .practice-console-heading { display: block; }
  .practice-status { margin-top: 10px; }
  .practice-transcript { min-height: 320px; max-height: 440px; }
  .practice-command-form { grid-template-columns: 1fr auto; }
  .practice-prompt { grid-column: 1/-1; }
  .practice-command-form .button { min-width: 112px; }
  .practice-console-actions { align-items: flex-start; }
  .practice-guide { display: block; }
  .scenario-grid, .visual-grid { grid-template-columns: 1fr; }
  .exam-grid, .exam-grid.is-single { grid-template-columns: 1fr; }
  .exam-overview { display: block; }
  .exam-live-status { margin-top: 14px; }
  .mock-controls { flex-wrap: wrap; }
  .mock-timer { width: 100%; margin: 8px 0 0; }
  .doubt-input-row { grid-template-columns: 1fr; }
  .human-help { display: block; }
  .human-help .button { width: 100%; margin-top: 12px; }
  .app-header { gap: 8px; padding: 0 10px; }
  .brand { font-size: 0; }
  .brand::before { margin: 0; }
  .vendor-switcher { min-width: 146px; padding: 0 8px; }
  .vendor-switcher select { font-size: 11px; }
  .progress-menu { display: none; }
  .module-tabs { padding: 7px 10px; }
  .hub-intro { min-height: 0; padding: 96px 18px 22px; }
  .hub-intro::after { width: 210px; height: 210px; }
  .vendor-mark { top: 18px; left: 18px; width: 60px; height: 60px; border-radius: 14px; font-size: 18px; }
  .hub-intro h1 { font-size: 29px; }
  .hub-meta { grid-template-columns: repeat(2, 1fr); gap: 12px 0; }
  .hub-meta span { min-width: 0; padding: 0 12px; }
  .hub-meta span:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hub-meta strong { font-size: 19px; }
  .primary-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .next-step { grid-template-columns: 38px 1fr; }
  .proficiency { overflow: hidden; }
  .proficiency-track { display: flex; gap: 0; overflow-x: auto; padding-bottom: 8px; }
  .skill-node { min-width: 120px; }
  .mode-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .mode-card { min-width: 148px; scroll-snap-align: start; }
  .readiness-card { display: grid; grid-template-columns: 116px 1fr; align-items: center; gap: 0 12px; }
  .readiness-card h2, .readiness-card .reset-progress { grid-column: 1/-1; }
  .readiness-ring { width: 100px; height: 100px; margin: 14px 0; }
  .readiness-card > p { text-align: left; }
  .readiness-card dl { border-top: 0; }
  .visual-preview { margin-top: 12px; }
}

@media print {
  .app-header, .sidebar, .question-toolbar, .detail-actions, .button, .overview-aside { display: none !important; }
  .app-shell { display: block; }
  .main-content { padding: 0; }
  .view { display: none !important; }
  #view-questions { display: block !important; }
  .question-workspace { display: block; }
  .question-list { display: none; }
  .question-detail { border: 0; padding: 0; }
}
