/* Module 08 — isolated vulnerability-management lab surface. */

.m08-shell { min-height: 100vh; color: #172033; background: rgba(248, 250, 252, .76); }
.m08-shell *, .m08-shell *::before, .m08-shell *::after { box-sizing: border-box; }
.m08-shell .m08-topbar { min-height: 64px; padding: 10px clamp(20px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 20px; background: rgba(255, 255, 255, .96); border-bottom: 1px solid #e5e7eb; }
.m08-shell .m08-brand img { width: auto; height: 42px; display: block; }
.m08-shell .m08-top-actions { display: flex; align-items: center; gap: 16px; }
.m08-shell .m08-simulation, .m08-shell .m08-exit { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.m08-shell .m08-simulation { padding: 7px 11px; color: #1e3a5f; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 999px; }
.m08-shell .m08-exit { color: #1e3a5f; text-decoration: none; }
.m08-shell .m08-exit:hover, .m08-shell .m08-exit:focus-visible { color: #ea580c; text-decoration: underline; }
.m08-shell .m08-main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 44px 0 80px; }
.m08-shell .m08-kicker { margin: 0; color: #f97316; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.m08-shell .m08-lede { max-width: 760px; margin: 0; color: rgba(255, 255, 255, .76); font: 16px/1.75 Inter, sans-serif; }
.m08-shell .m08-hero-action { width: fit-content; margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; color: #fff; background: #f97316; border-radius: 11px; font-size: 13px; font-weight: 700; text-decoration: none; }
.m08-shell .m08-hero-action:hover, .m08-shell .m08-hero-action:focus-visible { background: #ea580c; }

.m08-shell .m08-section { scroll-margin-top: 148px; margin-top: 24px; padding: clamp(23px, 4vw, 38px); background: #fff; border: 1px solid #e5e7eb; border-radius: 20px; box-shadow: 0 8px 24px rgba(30, 58, 95, .05); }
.m08-shell .m08-section-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.m08-shell .m08-section-heading > span { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: #1e3a5f; border-radius: 11px; font-weight: 800; }
.m08-shell .m08-section-heading h2 { scroll-margin-top: 148px; margin: 3px 0 0; color: #1e3a5f; font-size: 23px; line-height: 1.25; }
.m08-shell .m08-intro { margin: -6px 0 20px; color: #64748b; font: 14px/1.65 Inter, sans-serif; }
.m08-shell .m08-concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.m08-shell .m08-concept-grid article { min-width: 0; padding: 19px; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 14px; }
.m08-shell .m08-concept-grid i { color: #1e3a5f; font-size: 24px; }
.m08-shell .m08-concept-grid h3 { margin: 10px 0 6px; color: #1e3a5f; font-size: 14px; }
.m08-shell .m08-concept-grid p { margin: 0; color: #64748b; font: 12px/1.6 Inter, sans-serif; }
.m08-shell .m08-risk-model { margin-top: 17px; padding: 15px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; color: #fff; background: #0c1e32; border-radius: 13px; }
.m08-shell .m08-risk-model strong { margin-right: 5px; color: #f97316; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.m08-shell .m08-risk-model span { padding: 7px 9px; color: #1e3a5f; background: #fff; border-radius: 8px; font-size: 11px; font-weight: 800; }
.m08-shell .m08-risk-model i { color: #f97316; }
.m08-shell .m08-practice { border-top: 4px solid #f97316; }
.m08-shell .m08-role { display: flex; align-items: flex-start; gap: 13px; margin: -4px 0 20px; padding: 16px; color: #1e3a5f; background: #eef6ff; border: 1px solid #cfe2f7; border-radius: 12px; }
.m08-shell .m08-role > i { flex: 0 0 auto; font-size: 22px; }
.m08-shell .m08-role strong { font-size: 14px; }
.m08-shell .m08-role p { margin: 4px 0 0; color: #64748b; font: 12px/1.55 Inter, sans-serif; }

.m08-shell .m08-lesson-loops { margin-top: 22px; padding: 18px; background: #f8fafc; border: 1px solid #dbe3ed; border-radius: 15px; }
.m08-shell .m08-lesson-loop summary { display: flex; align-items: center; gap: 10px; padding: 13px 15px; color: #1e3a5f; cursor: pointer; list-style: none; }
.m08-shell .m08-lesson-loop summary::-webkit-details-marker { display: none; }
.m08-shell .m08-lesson-loop summary > span:nth-child(2) { flex: 1; }
.m08-shell .m08-lesson-loop summary strong, .m08-shell .m08-lesson-loop summary small { display: block; }
.m08-shell .m08-lesson-loop summary strong { font-size: 12px; }
.m08-shell .m08-lesson-loop summary small { margin-top: 3px; color: #64748b; font: 10px Inter, sans-serif; }
.m08-shell .m08-lesson-loop-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 17px; border-top: 1px solid #dbe3ed; }
.m08-shell .m08-lesson-loop-body > section { min-width: 0; }
.m08-shell .m08-lesson-loop-body > section:nth-child(3) { grid-column: 1 / -1; }
.m08-shell .m08-lesson-loop-body > section:nth-child(4) { grid-column: 1 / -1; }
.m08-shell .m08-lesson-loop-body section > p:not(.m08-kicker) { margin: 6px 0 0; color: #475569; font: 11px/1.6 Inter, sans-serif; }
.m08-shell .m08-lesson-question { margin: 10px 0 0; padding: 0; border: 0; }
.m08-shell .m08-lesson-question legend { color: #334155; font: 700 11px/1.45 Inter, sans-serif; }
.m08-shell .m08-lesson-question label { display: flex; gap: 8px; margin-top: 6px; padding: 8px 9px; color: #475569; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 8px; font: 10px/1.4 Inter, sans-serif; cursor: pointer; }
.m08-shell .m08-lesson-question input { flex: 0 0 auto; accent-color: #f97316; }
.m08-shell .m08-lesson-check, .m08-shell .m08-lesson-task-button { margin-top: 11px; padding: 8px 11px; color: #fff; background: #1e3a5f; border: 0; border-radius: 7px; font: 700 10px Inter, sans-serif; cursor: pointer; }
.m08-shell .m08-lesson-task-button { background: #f97316; }
.m08-shell .m08-lesson-loop textarea { width: 100%; margin-top: 8px; padding: 10px; resize: vertical; border: 1px solid #cbd5e1; border-radius: 8px; font: 11px/1.5 Inter, sans-serif; }
.m08-shell .m08-lesson-feedback { margin-top: 9px !important; padding: 9px; border-radius: 8px; font-size: 10px !important; }
.m08-shell .m08-lesson-feedback.is-pass { color: #1e3a5f !important; background: #eef6ff; border: 1px solid #cfe2f7; }
.m08-shell .m08-lesson-feedback.is-hint { color: #9a3412 !important; background: #fff7ed; border: 1px solid #fed7aa; }

.m08-shell .m08-lab-card { margin-top: 20px; padding: 26px; background: #f8fafc; border: 1px solid #dbe3ed; border-radius: 18px; }
.m08-shell .m08-lab-card + .m08-lab-card { margin-top: 28px; border-top: 4px solid #1e3a5f; }
.m08-shell .m08-lab-heading, .m08-shell .m08-panel-heading, .m08-shell .m08-score-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.m08-shell .m08-lab-heading h2 { margin: 4px 0 0; color: #1e3a5f; font-size: 24px; }
.m08-shell .m08-lab-status { flex: 0 0 auto; padding: 7px 10px; color: #1e3a5f; background: #fff; border: 1px solid #dbe3ed; border-radius: 999px; font: 700 10px Inter, sans-serif; }
.m08-shell .m08-objective { margin-top: 17px; display: flex; align-items: flex-start; gap: 12px; padding: 16px; color: #fff; background: linear-gradient(135deg, #0c1e32, #1e3a5f); border-radius: 12px; }
.m08-shell .m08-objective > i { flex: 0 0 auto; color: #f97316; font-size: 22px; }
.m08-shell .m08-objective strong { font-size: 13px; }
.m08-shell .m08-objective p { margin: 4px 0 0; color: rgba(255, 255, 255, .76); font: 12px/1.6 Inter, sans-serif; }
.m08-shell .m08-scope-note { margin-top: 12px; display: flex; align-items: flex-start; gap: 11px; padding: 13px 15px; color: #475569; background: #fff; border: 1px dashed #cbd5e1; border-radius: 11px; }
.m08-shell .m08-scope-note i { flex: 0 0 auto; color: #1e3a5f; font-size: 19px; }
.m08-shell .m08-scope-note p { margin: 0; font: 11px/1.55 Inter, sans-serif; }

.m08-shell .m08-workbench, .m08-shell .m08-artifact { margin-top: 18px; padding: 22px; background: #fff; border: 1px solid #dbe3ed; border-radius: 15px; }
.m08-shell .m08-panel-heading h3 { margin: 4px 0 0; color: #1e3a5f; font-size: 19px; }
.m08-shell .m08-panel-heading > span { color: #64748b; font: 11px Inter, sans-serif; }
.m08-shell .m08-toolbar { margin: 16px 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.m08-shell .m08-toolbar > div { display: flex; gap: 6px; flex-wrap: wrap; }
.m08-shell .m08-toolbar button { min-height: 34px; padding: 7px 10px; color: #475569; background: #f8fafc; border: 1px solid #dbe3ed; border-radius: 8px; font: 700 10px Inter, sans-serif; cursor: pointer; }
.m08-shell .m08-toolbar button[aria-pressed="true"] { color: #fff; background: #1e3a5f; border-color: #1e3a5f; }
.m08-shell .m08-toolbar label { display: flex; align-items: center; gap: 7px; color: #64748b; font: 700 10px Inter, sans-serif; }
.m08-shell .m08-toolbar select, .m08-shell .m08-queue select { min-height: 34px; padding: 6px 28px 6px 9px; color: #334155; background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; font: 11px Inter, sans-serif; }
.m08-shell .m08-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid #dbe3ed; border-radius: 11px; }
.m08-shell .m08-data-table { width: 100%; min-width: 1080px; border-collapse: collapse; font: 10px/1.45 Inter, sans-serif; }
.m08-shell .m08-data-table th { padding: 10px 9px; color: rgba(255, 255, 255, .76); background: #162d4a; font-weight: 700; text-align: left; white-space: nowrap; }
.m08-shell .m08-data-table td { padding: 11px 9px; color: #475569; background: #fff; border-bottom: 1px solid #e5e7eb; vertical-align: middle; }
.m08-shell .m08-data-table tr:last-child td { border-bottom: 0; }
.m08-shell .m08-data-table tr.is-reviewed td { background: #f8fafc; }
.m08-shell .m08-data-table strong, .m08-shell .m08-data-table code, .m08-shell .m08-data-table span, .m08-shell .m08-data-table small { display: block; }
.m08-shell .m08-data-table strong, .m08-shell .m08-data-table code { color: #1e3a5f; }
.m08-shell .m08-data-table code { margin-top: 2px; font-size: 9px; overflow-wrap: anywhere; }
.m08-shell .m08-data-table small { margin-top: 3px; color: #64748b; font-size: 9px; }
.m08-shell .m08-cvss { width: 34px; height: 34px; display: grid !important; place-items: center; color: #fff; background: #1e3a5f; border-radius: 50%; font-weight: 800; }
.m08-shell .m08-pill { width: fit-content; padding: 4px 6px; color: #475569; background: #f1f5f9; border-radius: 999px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.m08-shell .m08-pill.is-alert { color: #9a3412; background: #fff7ed; border: 1px solid #fed7aa; }
.m08-shell .m08-inspect { min-height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; color: #1e3a5f; background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; font: 800 10px Inter, sans-serif; cursor: pointer; }
.m08-shell .m08-inspect:hover, .m08-shell .m08-inspect:focus-visible { border-color: #f97316; }
.m08-shell .m08-detail { position: relative; margin-top: 13px; padding: 17px 48px 17px 18px; background: #f8fafc; border: 1px solid #dbe3ed; border-left: 4px solid #f97316; border-radius: 0 12px 12px 0; }
.m08-shell .m08-detail > button { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; display: grid; place-items: center; padding: 0; color: #64748b; background: #fff; border: 1px solid #dbe3ed; border-radius: 50%; cursor: pointer; }
.m08-shell .m08-detail h4 { margin: 5px 0 7px; color: #1e3a5f; font-size: 15px; }
.m08-shell .m08-detail > p:last-of-type { margin: 0; color: #475569; font: 12px/1.65 Inter, sans-serif; }
.m08-shell .m08-detail dl { margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m08-shell .m08-detail dl div { padding: 9px; background: #fff; border-radius: 8px; }
.m08-shell .m08-detail dt { color: #64748b; font: 9px Inter, sans-serif; }
.m08-shell .m08-detail dd { margin: 3px 0 0; color: #1e3a5f; font-size: 11px; font-weight: 700; }

.m08-shell .m08-fieldset { min-width: 0; margin: 24px 0 0; padding: 0; border: 0; }
.m08-shell .m08-fieldset legend, .m08-shell .m08-note-label { display: flex; align-items: center; gap: 9px; color: #1e3a5f; font-size: 14px; font-weight: 700; }
.m08-shell .m08-fieldset legend > span, .m08-shell .m08-note-label > span { width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: #f97316; border-radius: 7px; font-size: 10px; }
.m08-shell .m08-help { margin: 6px 0 10px 36px; color: #64748b; font: 11px/1.55 Inter, sans-serif; }
.m08-shell .m08-check-grid { margin-left: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.m08-shell .m08-option-list { margin: 10px 0 0 36px; display: grid; gap: 8px; }
.m08-shell .m08-check-grid label, .m08-shell .m08-option-list label { min-width: 0; display: flex; align-items: flex-start; gap: 10px; padding: 12px 13px; background: #f8fafc; border: 1px solid #dbe3ed; border-radius: 10px; cursor: pointer; }
.m08-shell .m08-check-grid label:has(input:checked), .m08-shell .m08-option-list label:has(input:checked) { background: #fffaf5; border-color: #f97316; box-shadow: 0 0 0 1px rgba(249, 115, 22, .12); }
.m08-shell .m08-check-grid input, .m08-shell .m08-option-list input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; accent-color: #f97316; }
.m08-shell .m08-check-grid strong, .m08-shell .m08-check-grid small, .m08-shell .m08-option-list strong, .m08-shell .m08-option-list small { display: block; }
.m08-shell .m08-check-grid strong, .m08-shell .m08-option-list strong { color: #334155; font: 600 12px/1.5 Inter, sans-serif; }
.m08-shell .m08-check-grid small, .m08-shell .m08-option-list small { margin-top: 3px; color: #64748b; font: 11px/1.45 Inter, sans-serif; }
.m08-shell .m08-two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.m08-shell .m08-two-column .m08-option-list { margin-top: 10px; }
.m08-shell .m08-note-label { margin-top: 24px; }
.m08-shell #m08-priority-notes, .m08-shell #m08-queue-notes { width: calc(100% - 36px); margin-left: 36px; padding: 13px 14px; resize: vertical; color: #172033; background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; font: 13px/1.6 Inter, sans-serif; }
.m08-shell #m08-priority-notes:focus, .m08-shell #m08-queue-notes:focus { border-color: #f97316; }
.m08-shell .m08-note-count { margin: 5px 0 0 36px; color: #64748b; font: 10px Inter, sans-serif; text-align: right; }
.m08-shell .m08-hint { margin: 14px 0 0 36px; padding: 12px 14px; color: #475569; background: #f8fafc; border: 1px solid #dbe3ed; border-radius: 10px; }
.m08-shell .m08-hint summary { color: #1e3a5f; font-size: 11px; font-weight: 800; cursor: pointer; }
.m08-shell .m08-hint p { margin: 8px 0 0; font: 11px/1.6 Inter, sans-serif; }
.m08-shell .m08-actions { margin: 22px 0 0 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.m08-shell .m08-actions button { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; padding: 10px 15px; border-radius: 10px; font: 700 12px 'Space Grotesk', sans-serif; cursor: pointer; }
.m08-shell .m08-submit { color: #fff; background: #f97316; border: 1px solid #f97316; }
.m08-shell .m08-submit:hover, .m08-shell .m08-submit:focus-visible { background: #ea580c; }
.m08-shell .m08-reset { color: #1e3a5f; background: #fff; border: 1px solid #cbd5e1; }
.m08-shell .m08-reset:hover, .m08-shell .m08-reset:focus-visible { background: #f8fafc; border-color: #1e3a5f; }

.m08-shell .m08-score-empty, .m08-shell .m08-validation, .m08-shell .m08-score { margin: 20px 0 0 36px; padding: 18px; border-radius: 13px; }
.m08-shell .m08-score-empty { color: #64748b; background: #f8fafc; border: 1px dashed #cbd5e1; font: 11px/1.55 Inter, sans-serif; }
.m08-shell .m08-validation { display: flex; align-items: flex-start; gap: 11px; color: #9a3412; background: #fff7ed; border: 1px solid #fed7aa; }
.m08-shell .m08-validation i { flex: 0 0 auto; font-size: 20px; }
.m08-shell .m08-validation strong { font-size: 13px; }
.m08-shell .m08-validation p { margin: 3px 0 0; font: 11px/1.55 Inter, sans-serif; }
.m08-shell .m08-score { background: #fff; border: 2px solid; }
.m08-shell .m08-score.is-pass { border-color: #1e3a5f; }
.m08-shell .m08-score.is-remediate { border-color: #f97316; }
.m08-shell .m08-score-heading h4 { margin: 4px 0 0; color: #1e3a5f; font-size: 18px; }
.m08-shell .m08-score-heading > span { width: 54px; height: 54px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: #1e3a5f; border-radius: 50%; font-size: 18px; font-weight: 800; }
.m08-shell .m08-score-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.m08-shell .m08-score-grid div { padding: 10px; background: #f8fafc; border-radius: 9px; }
.m08-shell .m08-score-grid strong, .m08-shell .m08-score-grid span, .m08-shell .m08-score-grid small { display: block; }
.m08-shell .m08-score-grid strong { color: #1e3a5f; font-size: 13px; }
.m08-shell .m08-score-grid span { margin-top: 2px; color: #475569; font: 700 10px Inter, sans-serif; }
.m08-shell .m08-score-grid small { margin-top: 4px; color: #64748b; font: 9px/1.4 Inter, sans-serif; }
.m08-shell .m08-feedback-list { margin: 14px 0 0; padding-left: 18px; color: #475569; font: 11px/1.65 Inter, sans-serif; }
.m08-shell .m08-expert-model { margin-top: 14px; padding: 14px; background: #f8fafc; border-left: 3px solid #1e3a5f; border-radius: 0 9px 9px 0; }
.m08-shell .m08-expert-model strong { color: #1e3a5f; font-size: 12px; }
.m08-shell .m08-expert-model p { margin: 5px 0 0; color: #64748b; font: 11px/1.6 Inter, sans-serif; }

.m08-shell .m08-queue { margin-top: 18px; display: grid; gap: 9px; }
.m08-shell .m08-queue article { min-width: 0; display: grid; grid-template-columns: 130px minmax(0, 1fr) auto 220px; align-items: center; gap: 14px; padding: 14px; background: #fff; border: 1px solid #dbe3ed; border-radius: 11px; }
.m08-shell .m08-queue article.is-reviewed { border-left: 4px solid #1e3a5f; }
.m08-shell .m08-queue-id span, .m08-shell .m08-queue-id code { display: block; }
.m08-shell .m08-queue-id span { color: #1e3a5f; font-size: 12px; font-weight: 800; }
.m08-shell .m08-queue-id code { margin-top: 3px; color: #64748b; font-size: 9px; }
.m08-shell .m08-queue h3 { margin: 0; color: #1e3a5f; font-size: 13px; }
.m08-shell .m08-queue p { margin: 4px 0 0; color: #64748b; font: 11px/1.5 Inter, sans-serif; }
.m08-shell .m08-queue label { color: #64748b; font: 700 9px Inter, sans-serif; text-transform: uppercase; letter-spacing: .05em; }
.m08-shell .m08-queue select { width: 100%; margin-top: 4px; text-transform: none; letter-spacing: 0; }
.m08-shell .m08-queue-detail { background: #fff; }
.m08-shell .m08-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }


.m08-shell .m08-quiz-form { margin-top: 18px; padding: 24px; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 16px; }
.m08-shell .m08-quiz-form > .m08-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 0 0 24px 0; }
.m08-shell .m08-quiz-form > .m08-panel-heading h3 { margin: 4px 0 0; color: #1e3a5f; font-size: 20px; }
.m08-shell .m08-quiz-question { min-width: 0; margin: 0 0 24px 0; padding: 0; border: 0; }
.m08-shell .m08-quiz-question legend { display: flex; align-items: center; gap: 9px; color: #1e3a5f; font-size: 14px; font-weight: 700; }
.m08-shell .m08-quiz-question legend > span { width: 28px; height: 26px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: #f97316; border-radius: 7px; font-size: 10px; }
.m08-shell .m08-quiz-options { margin: 12px 0 0 37px; display: grid; gap: 8px; }
.m08-shell .m08-quiz-options label { min-width: 0; display: flex; align-items: flex-start; gap: 10px; padding: 13px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; cursor: pointer; }
.m08-shell .m08-quiz-options label:has(input:checked) { background: #fff; border-color: #f97316; box-shadow: 0 0 0 1px rgba(249, 115, 22, .15); }
.m08-shell .m08-quiz-options input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; accent-color: #f97316; }
.m08-shell .m08-quiz-options span { display: block; color: #334155; font: 12px/1.5 Inter, sans-serif; }
.m08-shell .m08-quiz-actions { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.m08-shell .m08-quiz-submit { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; color: #fff; background: #f97316; border: 1px solid #f97316; border-radius: 9px; font: 700 11px 'Space Grotesk', sans-serif; cursor: pointer; }
.m08-shell .m08-quiz-submit:hover, .m08-shell .m08-quiz-submit:focus-visible { background: #ea580c; }
.m08-shell .m08-quiz-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.m08-shell .m08-quiz-retry { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; color: #fff; background: #f97316; border: 1px solid #f97316; border-radius: 9px; font: 700 10px 'Space Grotesk', sans-serif; cursor: pointer; }
.m08-shell .m08-quiz-retry:hover, .m08-shell .m08-quiz-retry:focus-visible { background: #ea580c; }
.m08-shell .m08-quiz-empty { margin: 14px 0 0; padding: 13px 15px; color: #64748b; background: #fff; border: 1px dashed #e5e7eb; border-radius: 10px; font: 11px/1.55 Inter, sans-serif; }
.m08-shell .m08-quiz-ready { margin: 14px 0 0; padding: 13px 15px; color: #1e3a5f; background: #fff; border: 2px solid #1e3a5f; border-radius: 10px; font: 11px/1.55 Inter, sans-serif; }
.m08-shell .m08-quiz-score { margin: 20px 0 0; padding: 19px; background: #fff; border: 2px solid; border-radius: 13px; }
.m08-shell .m08-quiz-score.m08-quiz-pass { border-color: #1e3a5f; }
.m08-shell .m08-quiz-score.m08-quiz-remediate { border-color: #f97316; }
.m08-shell .m08-quiz-score-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.m08-shell .m08-quiz-score-heading h3 { margin: 4px 0 0; color: #1e3a5f; font-size: 20px; }
.m08-shell .m08-quiz-score-heading > span { width: 56px; height: 56px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: #1e3a5f; border-radius: 50%; font-size: 19px; font-weight: 800; }
.m08-shell .m08-quiz-feedback-list { margin: 14px 0 0; padding-left: 18px; color: #475569; font: 12px/1.65 Inter, sans-serif; }
.m08-shell .m08-quiz-feedback-list li { margin: 7px 0; }
.m08-shell .m08-quiz-feedback-correct { color: #1e3a5f; }
.m08-shell .m08-quiz-feedback-incorrect { color: #9a3412; }
.m08-shell .m08-quiz-feedback-list i { margin-right: 6px; font-size: 17px; }

.m08-shell .m08-review-section { }
.m08-shell .m08-review-section h3 { margin: 20px 0 12px 0; color: #1e3a5f; font-size: 16px; font-weight: 700; }
.m08-shell .m08-review-section h3:first-child { margin-top: 0; }
.m08-shell .m08-review-section ul { margin: 0; padding-left: 20px; color: #475569; font: 12px/1.75 Inter, sans-serif; }
.m08-shell .m08-review-section li { margin: 6px 0; }
.m08-shell .m08-review-section strong { color: #1e3a5f; font-weight: 700; }
.m08-shell .m08-review-section p { margin: 12px 0 0; color: #475569; font: 12px/1.65 Inter, sans-serif; }
.m08-shell .m08-assessment-findings { margin: 0 0 24px; padding: 18px; background: #fff; border: 1px solid #dbe3ed; border-radius: 8px; }
.m08-shell .m08-assessment-findings > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.m08-shell .m08-assessment-findings h3, .m08-shell .m08-assessment-findings h4 { margin: 3px 0; color: #1e3a5f; }
.m08-shell .m08-assessment-findings > header > span { color: #64748b; font: 700 11px Inter, sans-serif; }
.m08-shell .m08-assessment-filters { display: grid; grid-template-columns: repeat(6, minmax(110px, 1fr)); gap: 8px; margin: 0 0 14px; }
.m08-shell .m08-assessment-filters label { display: grid; gap: 4px; color: #475569; font-size: 10px; font-weight: 700; }
.m08-shell .m08-assessment-filters input, .m08-shell .m08-assessment-filters select { width: 100%; min-width: 0; min-height: 34px; padding: 6px; color: #334155; background: #fff; border: 1px solid #cbd5e1; border-radius: 4px; font: 11px Inter, sans-serif; }
.m08-shell .m08-assessment-finding-layout { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.8fr); gap: 14px; }
.m08-shell .m08-assessment-finding-list { display: grid; align-content: start; gap: 6px; }
.m08-shell .m08-assessment-finding-list > button { min-width: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px; text-align: left; color: #334155; background: #fff; border: 1px solid #dbe3ed; border-radius: 5px; cursor: pointer; }
.m08-shell .m08-assessment-finding-list > button[aria-current="true"] { border-color: #1e3a5f; box-shadow: inset 3px 0 #f97316; }
.m08-shell .m08-assessment-finding-list strong, .m08-shell .m08-assessment-finding-list small { display: block; overflow-wrap: anywhere; }
.m08-shell .m08-assessment-finding-list small { margin-top: 3px; color: #64748b; font-size: 10px; }
.m08-shell .m08-assessment-review-state { flex: 0 0 auto; color: #475569; font-size: 10px; }
.m08-shell .m08-assessment-finding-detail { min-width: 0; padding: 14px; background: #f8fafc; border: 1px solid #dbe3ed; border-radius: 6px; }
.m08-shell .m08-assessment-finding-heading { display: flex; justify-content: space-between; gap: 10px; }
.m08-shell .m08-assessment-finding-heading code { overflow-wrap: anywhere; color: #64748b; font-size: 10px; }
.m08-shell .m08-assessment-finding-detail dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.m08-shell .m08-assessment-finding-detail dl > div { min-width: 0; padding: 8px; background: #fff; border: 1px solid #e2e8f0; }
.m08-shell .m08-assessment-finding-detail dt { color: #64748b; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.m08-shell .m08-assessment-finding-detail dd { margin: 4px 0 0; color: #334155; font-size: 11px; overflow-wrap: anywhere; }
.m08-shell .m08-assessment-priority-note { padding: 9px; color: #334155; background: #fff; border-left: 3px solid #f97316; font-size: 11px; }
.m08-shell .m08-assessment-evidence { display: grid; gap: 6px; margin: 12px 0; }
.m08-shell .m08-assessment-evidence h5, .m08-shell .m08-assessment-finding-detail form h5 { margin: 4px 0; color: #1e3a5f; }
.m08-shell .m08-assessment-evidence article { padding: 9px; background: #fff; border-left: 2px solid #f97316; }
.m08-shell .m08-assessment-evidence article strong, .m08-shell .m08-assessment-evidence article span { display: block; color: #475569; font-size: 10px; }
.m08-shell .m08-assessment-evidence article p { margin: 4px 0 0; color: #64748b; font-size: 10px; line-height: 1.5; }
.m08-shell .m08-assessment-finding-detail form { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid #dbe3ed; }
.m08-shell .m08-assessment-finding-detail form > label { display: grid; gap: 4px; color: #475569; font-size: 10px; font-weight: 700; }
.m08-shell .m08-assessment-finding-detail select, .m08-shell .m08-assessment-finding-detail textarea { width: 100%; min-height: 34px; padding: 7px; color: #334155; background: #fff; border: 1px solid #cbd5e1; border-radius: 4px; font: 11px Inter, sans-serif; }
.m08-shell .m08-assessment-finding-detail textarea { min-height: 64px; resize: vertical; }
.m08-shell .m08-assessment-finding-detail fieldset { display: grid; gap: 5px; border: 1px solid #cbd5e1; }
.m08-shell .m08-assessment-finding-detail fieldset label { color: #475569; font-size: 10px; overflow-wrap: anywhere; }
.m08-shell .m08-assessment-finding-detail form > button { width: fit-content; min-height: 34px; padding: 7px 11px; color: #fff; background: #1e3a5f; border: 0; border-radius: 4px; font: 700 10px Inter, sans-serif; cursor: pointer; }
.m08-shell .m08-assessment-followups { display: grid; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #dbe3ed; }
.m08-shell .m08-assessment-followups h5 { margin: 4px 0; color: #1e3a5f; }
.m08-shell .m08-assessment-followups form { display: grid; gap: 8px; min-width: 0; padding: 10px; background: #fff; border: 1px solid #dbe3ed; }
.m08-shell .m08-assessment-followups form > p { margin: 0; overflow-wrap: anywhere; color: #475569; font-size: 10px; }
.m08-shell .m08-assessment-followups form > label { display: grid; gap: 4px; color: #475569; font-size: 10px; font-weight: 700; }
.m08-shell .m08-assessment-followups textarea { width: 100%; min-height: 58px; padding: 7px; resize: vertical; color: #334155; background: #fff; border: 1px solid #cbd5e1; border-radius: 4px; font: 11px Inter, sans-serif; }
.m08-shell .m08-assessment-followups fieldset { display: grid; gap: 5px; min-width: 0; border: 1px solid #cbd5e1; }
.m08-shell .m08-assessment-followups fieldset label { overflow-wrap: anywhere; color: #475569; font-size: 10px; }
.m08-shell .m08-assessment-followups form > button { width: fit-content; min-height: 34px; padding: 7px 11px; color: #fff; background: #1e3a5f; border: 0; border-radius: 4px; font: 700 10px Inter, sans-serif; cursor: pointer; }
.m08-shell [data-m08-review-status] { color: #166534; font: 11px Inter, sans-serif; }
.m08-shell :focus-visible { outline: 3px solid rgba(249, 115, 22, .38); outline-offset: 2px; }

@media (max-width: 1000px) {
  .m08-shell .m08-queue article { grid-template-columns: 120px minmax(0, 1fr) auto; }
  .m08-shell .m08-queue article > label { grid-column: 2 / -1; }
}

@media (max-width: 800px) {
  .m08-shell .m08-assessment-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m08-shell .m08-assessment-finding-layout { grid-template-columns: 1fr; }
  .m08-shell .m08-concept-grid { grid-template-columns: repeat(2, 1fr); }
  .m08-shell .m08-two-column { grid-template-columns: 1fr; }
  .m08-shell .m08-score-grid { grid-template-columns: repeat(2, 1fr); }
  .m08-shell .m08-detail dl { grid-template-columns: 1fr; }
  .m08-shell .m08-lesson-loop-body { grid-template-columns: 1fr; }
  .m08-shell .m08-lesson-loop-body > section:nth-child(3), .m08-shell .m08-lesson-loop-body > section:nth-child(4) { grid-column: auto; }
  .m08-shell .m08-table-wrap { overflow: visible; border: 0; }
  .m08-shell .m08-data-table { min-width: 0; display: block; }
  .m08-shell .m08-data-table thead { display: none; }
  .m08-shell .m08-data-table tbody { display: grid; gap: 10px; }
  .m08-shell .m08-data-table tr { display: block; overflow: hidden; border: 1px solid #dbe3ed; border-radius: 11px; }
  .m08-shell .m08-data-table td { min-width: 0; display: grid; grid-template-columns: minmax(95px, .7fr) minmax(0, 1.3fr); gap: 9px; padding: 8px 11px; overflow-wrap: anywhere; }
  .m08-shell .m08-data-table td::before { content: attr(data-label); color: #64748b; font-size: 9px; font-weight: 700; text-transform: uppercase; }
  .m08-shell .m08-cvss { display: grid !important; }
}

@media (max-width: 420px) {
  .m08-shell .m08-assessment-filters { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .m08-shell .m08-assessment-findings { padding: 12px; }
  .m08-shell .m08-main { width: min(100% - 24px, 1180px); padding-top: 22px; }
  .m08-shell .m08-topbar { padding-inline: 14px; }
  .m08-shell .m08-brand img { height: 34px; }
  .m08-shell .m08-simulation { display: none; }
  .m08-shell .m08-exit { font-size: 0; }
  .m08-shell .m08-exit i { font-size: 20px; }
  .m08-shell .m08-hero, .m08-shell .m08-section { border-radius: 16px; }
  .m08-shell .m08-lab-card { padding: 19px 14px; }
  .m08-shell .m08-lab-heading, .m08-shell .m08-panel-heading, .m08-shell .m08-score-heading { flex-direction: column; }
  .m08-shell .m08-concept-grid, .m08-shell .m08-check-grid, .m08-shell .m08-score-grid, .m08-shell .m08-progress { grid-template-columns: 1fr; }
  .m08-shell .m08-queue article { grid-template-columns: 1fr; align-items: start; }
  .m08-shell .m08-queue article > label { grid-column: auto; width: 100%; }
  .m08-shell .m08-queue .m08-inspect { width: fit-content; }
  .m08-shell .m08-risk-model { justify-content: flex-start; }
  .m08-shell .m08-risk-model strong { width: 100%; }
  .m08-shell .m08-workbench, .m08-shell .m08-artifact { padding: 18px 13px; }
  .m08-shell .m08-help, .m08-shell .m08-check-grid, .m08-shell .m08-option-list, .m08-shell #m08-priority-notes, .m08-shell #m08-queue-notes, .m08-shell .m08-note-count, .m08-shell .m08-hint, .m08-shell .m08-actions, .m08-shell .m08-score-empty, .m08-shell .m08-validation, .m08-shell .m08-score { margin-left: 0; }
  .m08-shell #m08-priority-notes, .m08-shell #m08-queue-notes { width: 100%; }
  .m08-shell .m08-data-table td { grid-template-columns: minmax(80px, .65fr) minmax(0, 1.35fr); }
}

@media (prefers-reduced-motion: reduce) {
  .m08-shell .m08-hero-action { transition: none; }
}

.m08-guided-case { display: grid; gap: 16px; }
.m08-guided-case .m08-panel-instruction { margin: 0; color: #475569; }
.m08-guided-ticket { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.m08-guided-ticket h3, .m08-guided-ticket p { grid-column: 1 / -1; margin: 0; }
.m08-guided-ticket label { display: grid; gap: 5px; font-size: 13px; font-weight: 650; }
.m08-guided-ticket input, .m08-guided-ticket select, .m08-guided-ticket textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 9px; font: inherit; }
.m08-guided-ticket textarea { min-height: 90px; }
.m08-guided-case-summary { border: 1px solid #dbe3ed; border-radius: 10px; padding: 12px; background: #f8fafc; }
@media (max-width: 640px) { .m08-guided-ticket { grid-template-columns: 1fr; } }
