/* Module 09 is a self-contained incident-response surface. */

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

.m09-primary { width: fit-content; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 11px 16px; color: #fff; background: #f97316; border-radius: 11px; font-size: 13px; font-weight: 800; text-decoration: none; }
.m09-primary:hover, .m09-primary:focus-visible { background: #ea580c; }

.m09-objective { display: flex; align-items: flex-start; gap: 16px; margin-top: 22px; padding: 22px; background: #fff; border: 1px solid #dbe3ed; border-radius: 16px; box-shadow: 0 8px 24px rgba(30, 58, 95, .06); }
.m09-objective > div:first-child { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: #f97316; border-radius: 12px; font-size: 21px; }
.m09-objective h2 { margin: 5px 0 0; color: #1e3a5f; font-size: 19px; line-height: 1.45; }
.m09-section { scroll-margin-top: 148px; margin-top: 24px; padding: clamp(23px, 4vw, 38px); background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; box-shadow: 0 8px 24px rgba(30, 58, 95, .05); }
.m09-lab-section { border-top: 4px solid #f97316; }
.m09-section-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.m09-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; }
.m09-section-heading h2 { scroll-margin-top: 148px; margin: 3px 0 0; color: #1e3a5f; font-size: 23px; line-height: 1.25; }
.m09-concept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.m09-concept-grid article { padding: 18px; background: #f8fafc; border: 1px solid #dbe3ed; border-radius: 14px; }
.m09-concept-grid i { width: 36px; height: 36px; display: grid; place-items: center; color: #1e3a5f; background: #e7f0f9; border-radius: 10px; font-size: 19px; }
.m09-concept-grid h3 { margin: 13px 0 6px; color: #1e3a5f; font-size: 14px; }
.m09-concept-grid p { margin: 0; color: #64748b; font: 12px/1.6 Inter, sans-serif; }
.m09-lifecycle-companion { margin-top: 18px; padding: 20px; background: #fbfdff; border: 1px solid #dbe3ed; border-radius: 14px; }
.m09-companion-label { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; color: #1e3a5f; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.m09-companion-title { margin: 0 0 14px; color: #1e3a5f; font-size: 16px; }
.m09-instruction, .m09-concept { margin: 0; color: #64748b; font: 12px/1.6 Inter, sans-serif; }
.m09-concept { margin-top: 14px; }
.m09-concept strong { color: #1e3a5f; }
.m09-lifecycle-wheel { position: relative; width: min(100%, 1000px); height: 650px; margin: 18px auto 0; }
.m09-wheel-track { position: absolute; z-index: 0; top: 50%; left: 50%; width: 390px; height: 390px; transform: translate(-50%, -50%); }
.m09-wheel-track::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from -30deg, #1e3a5f 0deg 56deg, transparent 56deg 60deg, #f97316 60deg 116deg, transparent 116deg 120deg, #2f608e 120deg 176deg, transparent 176deg 180deg, #ea580c 180deg 236deg, transparent 236deg 240deg, #3e739f 240deg 296deg, transparent 296deg 300deg, #c2410c 300deg 356deg, transparent 356deg 360deg); -webkit-mask: radial-gradient(circle, transparent 0 56%, #000 57% 100%); mask: radial-gradient(circle, transparent 0 56%, #000 57% 100%); filter: drop-shadow(0 9px 15px rgba(30,58,95,.16)); transform: rotate(var(--wheel-rotation)); transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.m09-wheel-track > span { --wheel-angle: calc((var(--wheel-step) * 60deg) + 27deg); position: absolute; z-index: 2; top: 50%; left: 50%; width: 28px; height: 28px; transform: translate(-50%, -50%) rotate(var(--wheel-angle)) translateY(-181px); }
.m09-wheel-track > span i { width: 28px; height: 28px; display: grid; place-items: center; color: #1e3a5f; background: #fff; border: 2px solid currentColor; border-radius: 50%; font-size: 19px; box-shadow: 0 3px 8px rgba(15,39,65,.18); }
.m09-wheel-track > span:nth-child(even) i { color: #ea580c; }
.m09-wheel-hub { position: absolute; z-index: 1; inset: 25%; display: grid; place-content: center; justify-items: center; padding: 20px; color: #fff; background: linear-gradient(145deg, #0f2741, #1e3a5f); border: 7px solid #eaf1f8; border-radius: 50%; text-align: center; box-shadow: 0 10px 24px rgba(15,39,65,.22); }
.m09-wheel-hub > i { color: #fdba74; font-size: 31px; }
.m09-wheel-hub strong, .m09-wheel-hub small { display: block; }
.m09-wheel-hub strong { margin-top: 7px; font-size: 17px; line-height: 1.2; }
.m09-wheel-hub small { margin-top: 5px; color: rgba(255,255,255,.66); font: 10px/1.35 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.m09-lifecycle { position: absolute; z-index: 1; inset: 0; margin: 0; padding: 0; list-style: none; }
.m09-lifecycle li { --phase-color: #1e3a5f; position: absolute; width: clamp(220px, 26%, 260px); min-height: 84px; padding: 15px 16px 16px; background: rgba(255,255,255,.98); border: 1px solid #dbe3ed; border-top: 4px solid var(--phase-color); border-radius: 13px; box-shadow: 0 8px 20px rgba(30,58,95,.09); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.m09-lifecycle li:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.m09-lifecycle li:nth-child(2) { --phase-color: #f97316; top: 105px; right: 0; border-color: #fed7aa; border-top-color: var(--phase-color); background: #fffaf5; }
.m09-lifecycle li:nth-child(3) { --phase-color: #2f608e; right: 0; bottom: 105px; }
.m09-lifecycle li:nth-child(4) { --phase-color: #ea580c; bottom: 0; left: 50%; transform: translateX(-50%); }
.m09-lifecycle li:nth-child(5) { --phase-color: #3e739f; bottom: 105px; left: 0; }
.m09-lifecycle li:nth-child(6) { --phase-color: #c2410c; top: 105px; left: 0; }
.m09-lifecycle li.is-active { border-color: var(--phase-color); background: #fff; box-shadow: 0 13px 30px rgba(30,58,95,.18), 0 0 0 3px color-mix(in srgb, var(--phase-color) 16%, transparent); }
.m09-phase-button { width: 100%; padding: 0; color: inherit; background: transparent; border: 0; font: inherit; text-align: left; cursor: pointer; }
.m09-phase-heading { display: grid; grid-template-columns: 28px 27px minmax(0, 1fr) 20px; align-items: center; gap: 8px; }
.m09-phase-heading > span { width: 28px; height: 28px; display: grid; place-items: center; color: #fff; background: var(--phase-color); border-radius: 50%; font-size: 11px; font-weight: 800; }
.m09-phase-heading > i { color: var(--phase-color); font-size: 21px; }
.m09-phase-heading > .m09-phase-title { width: auto; height: auto; display: block; color: #1e3a5f; background: transparent; border-radius: 0; font-size: 14px; line-height: 1.2; text-align: left; }
.m09-phase-heading > .m09-phase-chevron { color: #94a3b8; font-size: 19px; transition: transform .2s; }
.m09-lifecycle li.is-active .m09-phase-chevron { color: var(--phase-color); transform: rotate(180deg); }
.m09-phase-detail { animation: m09-phase-open .24s ease-out; }
.m09-phase-detail[hidden] { display: none; }
.m09-lifecycle p { margin: 9px 0 0; color: #64748b; font: 11px/1.5 Inter, sans-serif; }
@keyframes m09-phase-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.m09-role { display: flex; align-items: flex-start; gap: 13px; margin: -5px 0 20px; padding: 16px; color: #1e3a5f; background: #eef6ff; border: 1px solid #cfe2f7; border-radius: 12px; }
.m09-role > i { flex: 0 0 auto; font-size: 22px; }
.m09-role strong { font-size: 14px; }
.m09-role p { margin: 4px 0 0; color: #64748b; font: 12px/1.55 Inter, sans-serif; }

.m09-ticket { margin: -5px 0 16px; padding: 18px; background: #fff; border: 1px solid #dbe3ed; border-left: 4px solid #f97316; border-radius: 12px; box-shadow: 0 6px 18px rgba(30, 58, 95, .05); }
.m09-ticket-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.m09-ticket-head > i { flex: 0 0 auto; margin-top: 2px; font-size: 20px; color: #f97316; }
.m09-ticket-head > div:nth-child(2) { flex: 1 1 auto; }
.m09-ticket-head h3 { margin: 3px 0 0; color: #1e3a5f; font-size: 17px; line-height: 1.3; }
.m09-ticket-priority { flex: 0 0 auto; padding: 4px 10px; color: #b45309; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 999px; font: 800 11px/1.4 Inter, sans-serif; white-space: nowrap; }
.m09-ticket-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 14px 0 0; }
.m09-ticket-grid dt { color: #94a3b8; font: 10px/1.3 Inter, sans-serif; text-transform: uppercase; letter-spacing: .07em; }
.m09-ticket-grid dd { margin: 3px 0 0; color: #1e3a5f; font: 700 13px/1.4 Inter, sans-serif; }
.m09-ticket-note { margin: 14px 0 0; padding-top: 12px; color: #64748b; font: 12px/1.6 Inter, sans-serif; border-top: 1px dashed #e2e8f0; }

.m09-workbench, .m09-artifact { overflow: hidden; background: #f8fafc; border: 1px solid #dbe3ed; border-radius: 16px; }
.m09-casebar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 22px; color: #fff; background: #0f2741; }
.m09-casebar h3 { margin: 5px 0 7px; font-size: 20px; }
.m09-casebar p:last-child { max-width: 720px; margin: 0; color: rgba(255, 255, 255, .68); font: 12px/1.6 Inter, sans-serif; }
.m09-casebar dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 0; }
.m09-casebar dl div { min-width: 102px; padding: 9px 10px; background: rgba(255, 255, 255, .08); border-radius: 9px; }
.m09-casebar dt { color: rgba(255, 255, 255, .55); font: 9px Inter, sans-serif; }
.m09-casebar dd { margin: 4px 0 0; font-size: 11px; font-weight: 800; }
.m09-progress-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; color: #64748b; background: #dbe3ed; border-bottom: 1px solid #dbe3ed; font: 11px Inter, sans-serif; }
.m09-progress-row span { padding: 10px 16px; background: #fff; text-align: center; }
.m09-progress-row strong { color: #1e3a5f; }
.m09-source-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px 16px 0; }
.m09-source-tabs button { min-height: 60px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 3px 9px; padding: 11px 13px; color: #64748b; background: #fff; border: 1px solid #dbe3ed; border-radius: 11px; font: 700 12px 'Space Grotesk', sans-serif; text-align: left; cursor: pointer; }
.m09-source-tabs button i { grid-row: span 2; font-size: 20px; }
.m09-source-tabs button small { color: #94a3b8; font: 9px Inter, sans-serif; }
.m09-source-tabs button[aria-selected="true"] { color: #1e3a5f; background: #fff7ed; border-color: #f97316; box-shadow: 0 0 0 1px rgba(249, 115, 22, .12); }
.m09-source-tabs button[aria-selected="true"] small { color: #c2410c; }
.m09-source-panel { margin: 16px; overflow: hidden; background: #fff; border: 1px solid #dbe3ed; border-radius: 13px; }
.m09-source-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 16px; border-bottom: 1px solid #e2e8f0; }
.m09-source-heading h4 { margin: 4px 0 0; color: #1e3a5f; font-size: 15px; line-height: 1.45; }
.m09-review { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; color: #1e3a5f; background: #eef6ff; border: 1px solid #cfe2f7; border-radius: 9px; font: 800 11px 'Space Grotesk', sans-serif; cursor: pointer; white-space: nowrap; }
.m09-review:hover, .m09-review:focus-visible { background: #dbeafe; }
.m09-table-wrap { overflow-x: auto; }
.m09-data-table { width: 100%; border-collapse: collapse; font: 11px/1.45 Inter, sans-serif; }
.m09-data-table th { padding: 9px 11px; color: #64748b; background: #f8fafc; border-bottom: 1px solid #dbe3ed; font-size: 9px; letter-spacing: .05em; text-align: left; text-transform: uppercase; }
.m09-data-table td { padding: 11px; color: #475569; border-bottom: 1px solid #eef2f7; vertical-align: top; }
.m09-data-table tr:last-child td { border-bottom: 0; }
.m09-data-table tr.is-selected td { background: #fffaf5; }
.m09-data-table code { color: #1e3a5f; font-size: 11px; font-weight: 800; }
.m09-data-table strong, .m09-data-table small { display: block; }
.m09-data-table strong { color: #334155; font-size: 11px; }
.m09-data-table small { margin-top: 3px; color: #64748b; font-size: 10px; }
.m09-evidence-check { display: inline-flex; align-items: center; gap: 6px; color: #1e3a5f; font-weight: 800; cursor: pointer; }
.m09-evidence-check input { width: 17px; height: 17px; margin: 0; accent-color: #f97316; }
.m09-inspect { padding: 6px 9px; color: #1e3a5f; background: #fff; border: 1px solid #cbd5e1; border-radius: 7px; font-size: 10px; font-weight: 800; cursor: pointer; }
.m09-inspect:hover, .m09-inspect:focus-visible { border-color: #1e3a5f; background: #f8fafc; }
.m09-detail { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin: 0 14px 14px; padding: 14px; background: #eef6ff; border: 1px solid #cfe2f7; border-radius: 10px; }
.m09-detail strong { display: block; margin-top: 3px; color: #1e3a5f; font-size: 13px; }
.m09-detail p:last-child { margin: 5px 0 0; color: #64748b; font: 11px/1.6 Inter, sans-serif; }
.m09-detail button, .m09-evidence-tray li button { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; color: #64748b; background: #fff; border: 1px solid #cbd5e1; border-radius: 50%; cursor: pointer; }
.m09-evidence-tray { margin: 0 16px 16px; padding: 16px; background: #fff; border: 1px solid #dbe3ed; border-left: 4px solid #f97316; border-radius: 11px; }
.m09-evidence-tray h4 { margin: 4px 0 0; color: #1e3a5f; font-size: 15px; }
.m09-evidence-tray > p { margin: 9px 0 0; color: #64748b; font: 11px/1.55 Inter, sans-serif; }
.m09-evidence-tray ol { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; }
.m09-evidence-tray li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 9px; background: #f8fafc; border-radius: 8px; }
.m09-evidence-tray li code { color: #f97316; font-size: 10px; font-weight: 800; }
.m09-evidence-tray li span { overflow: hidden; color: #475569; font: 10px Inter, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.m09-evidence-tray li button { width: 24px; height: 24px; }
.m09-hint { margin: 0 16px 16px; color: #64748b; background: #fff; border: 1px dashed #cbd5e1; border-radius: 10px; font: 11px/1.55 Inter, sans-serif; }
.m09-hint summary { padding: 11px 13px; color: #1e3a5f; font-weight: 800; cursor: pointer; }
.m09-hint p { margin: 0; padding: 0 13px 13px; }

.m09-artifact { margin-top: 18px; padding: 22px; }
.m09-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.m09-panel-heading h3 { margin: 4px 0 0; color: #1e3a5f; font-size: 20px; }
.m09-panel-heading > span { padding: 6px 9px; color: #1e3a5f; background: #eef6ff; border: 1px solid #cfe2f7; border-radius: 999px; font-size: 10px; font-weight: 800; }
.m09-artifact-section { margin-top: 18px; padding: 20px; background: #fff; border: 1px solid #dbe3ed; border-radius: 13px; }
.m09-subheading { display: flex; align-items: flex-start; gap: 11px; }
.m09-subheading > span { width: 31px; height: 31px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: #1e3a5f; border-radius: 9px; font-size: 12px; font-weight: 800; }
.m09-subheading h4 { margin: 0; color: #1e3a5f; font-size: 16px; }
.m09-subheading p { margin: 3px 0 0; color: #64748b; font: 11px/1.5 Inter, sans-serif; }
.m09-fieldset { min-width: 0; margin: 20px 0 0; padding: 0; border: 0; }
.m09-fieldset legend { color: #1e3a5f; font-size: 13px; font-weight: 800; }
.m09-help { margin: 4px 0 9px; color: #64748b; font: 11px/1.5 Inter, sans-serif; }
.m09-option-list { display: grid; gap: 7px; }
.m09-option-list label, .m09-response-options label { display: flex; align-items: flex-start; gap: 9px; padding: 11px; background: #f8fafc; border: 1px solid #dbe3ed; border-radius: 9px; cursor: pointer; }
.m09-option-list label:has(input:checked), .m09-response-options label:has(input:checked) { background: #fffaf5; border-color: #f97316; }
.m09-option-list input, .m09-response-options input { width: 17px; height: 17px; flex: 0 0 auto; margin: 1px 0 0; accent-color: #f97316; }
.m09-option-list strong, .m09-option-list small, .m09-response-options strong, .m09-response-options small { display: block; }
.m09-option-list strong, .m09-response-options strong { color: #334155; font: 700 11px/1.45 Inter, sans-serif; }
.m09-option-list small, .m09-response-options small { margin-top: 2px; color: #64748b; font: 10px/1.45 Inter, sans-serif; }
.m09-response-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.m09-response-phase { min-width: 0; margin: 0; padding: 14px; background: #f8fafc; border: 1px solid #dbe3ed; border-top: 3px solid #1e3a5f; border-radius: 11px; }
.m09-response-phase legend { display: flex; align-items: center; gap: 7px; padding: 0 5px; color: #1e3a5f; font-size: 13px; font-weight: 800; }
.m09-response-phase legend span { width: 24px; height: 24px; display: grid; place-items: center; color: #fff; background: #f97316; border-radius: 7px; font-size: 10px; }
.m09-response-phase > p { min-height: 34px; margin: 3px 0 10px; color: #64748b; font: 10px/1.45 Inter, sans-serif; }
.m09-response-options { display: grid; gap: 7px; }
.m09-response-options label { padding: 9px; background: #fff; }
.m09-note-label { display: block; margin-top: 16px; color: #1e3a5f; font-size: 13px; font-weight: 800; }
.m09-artifact textarea { box-sizing: border-box; width: 100%; margin-top: 7px; padding: 13px 14px; resize: vertical; color: #172033; background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; font: 13px/1.6 Inter, sans-serif; }
.m09-artifact textarea:focus { outline: 3px solid rgba(249, 115, 22, .2); border-color: #f97316; }
.m09-note-meta { display: flex; justify-content: space-between; gap: 12px; color: #94a3b8; font: 10px/1.45 Inter, sans-serif; }
.m09-note-meta p { margin: 5px 0 0; }
.m09-note-meta span { margin-top: 5px; white-space: nowrap; }
.m09-artifact-section > .m09-hint { margin: 12px 0 0; }
.m09-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.m09-actions button { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; padding: 10px 15px; border-radius: 10px; font: 800 12px 'Space Grotesk', sans-serif; cursor: pointer; }
.m09-submit { color: #fff; background: #f97316; border: 1px solid #f97316; }
.m09-submit:hover, .m09-submit:focus-visible { background: #ea580c; }
.m09-reset { color: #1e3a5f; background: #fff; border: 1px solid #cbd5e1; }
.m09-reset:hover, .m09-reset:focus-visible { background: #f8fafc; border-color: #1e3a5f; }
.m09-score-empty, .m09-validation, .m09-score { margin-top: 18px; padding: 18px; border-radius: 12px; }
.m09-score-empty { color: #64748b; background: #fff; border: 1px dashed #cbd5e1; font: 11px/1.55 Inter, sans-serif; }
.m09-validation { display: flex; align-items: flex-start; gap: 10px; color: #9a3412; background: #fff7ed; border: 1px solid #fed7aa; }
.m09-validation i { font-size: 20px; }
.m09-validation strong { font-size: 13px; }
.m09-validation p { margin: 3px 0 0; font: 11px/1.55 Inter, sans-serif; }
.m09-score { border: 1px solid; }
.m09-score.is-pass { background: #f0fdf4; border-color: #bbf7d0; }
.m09-score.is-remediate { background: #fff7ed; border-color: #fed7aa; }
.m09-score-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.m09-score-heading h3 { margin: 4px 0 0; color: #1e3a5f; font-size: 19px; }
.m09-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; }
.m09-score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 14px; }
.m09-score-grid div { padding: 10px; background: rgba(255, 255, 255, .78); border-radius: 8px; }
.m09-score-grid strong, .m09-score-grid span { display: block; }
.m09-score-grid strong { color: #1e3a5f; font-size: 13px; }
.m09-score-grid span { margin-top: 2px; color: #64748b; font: 10px Inter, sans-serif; }
.m09-score > ul { margin: 13px 0 0; padding-left: 18px; color: #475569; font: 11px/1.65 Inter, sans-serif; }
.m09-remediation { margin-top: 13px; padding: 13px; background: rgba(255, 255, 255, .74); border-radius: 9px; }
.m09-remediation strong { color: #1e3a5f; font-size: 12px; }
.m09-remediation p { margin: 5px 0 0; color: #64748b; font: 11px/1.55 Inter, sans-serif; }


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

.m09-video-script { margin: 18px 0 0; padding: 12px 14px; color: #475569; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; }
.m09-video-script summary { color: #1e3a5f; font-size: 11px; font-weight: 800; cursor: pointer; }
.m09-script-body { margin: 8px 0 0; }
.m09-script-body p { margin: 12px 0 0; color: #475569; font: 11px/1.6 Inter, sans-serif; }
.m09-script-body p:first-child { margin-top: 0; }
.m09-script-body strong { color: #1e3a5f; }

.m09-review-section { }
.m09-review-section h3 { margin: 20px 0 12px 0; color: #1e3a5f; font-size: 16px; font-weight: 700; }
.m09-review-section h3:first-child { margin-top: 0; }
.m09-review-section ul { margin: 0; padding-left: 20px; color: #475569; font: 12px/1.75 Inter, sans-serif; }
.m09-review-section li { margin: 6px 0; }
.m09-review-section strong { color: #1e3a5f; font-weight: 700; }
.m09-review-section p { margin: 12px 0 0; color: #475569; font: 12px/1.65 Inter, sans-serif; }

.m09-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.m09-shell :focus-visible { outline: 3px solid rgba(249, 115, 22, .38); outline-offset: 2px; }

@media (max-width: 980px) {
  .m09-concept-grid { grid-template-columns: repeat(2, 1fr); }
  .m09-lifecycle-wheel { height: 700px; }
  .m09-wheel-track { width: 310px; height: 310px; }
  .m09-wheel-track > span { transform: translate(-50%, -50%) rotate(var(--wheel-angle)) translateY(-141px); }
  .m09-lifecycle li { width: 220px; }
  .m09-casebar { grid-template-columns: 1fr; }
  .m09-response-grid { grid-template-columns: 1fr; }
  .m09-response-phase > p { min-height: 0; }
}

@media (max-width: 700px) {
  .m09-topbar { align-items: flex-start; }
  .m09-top-actions { align-items: flex-end; flex-direction: column; gap: 6px; }
  .m09-simulation { display: none; }
  .m09-main { width: min(100% - 24px, 1180px); padding-top: 22px; }
  .m09-hero dl, .m09-progress-row, .m09-source-tabs, .m09-score-grid { grid-template-columns: 1fr; }
  .m09-objective { padding: 17px; }
  .m09-objective h2 { font-size: 16px; }
  .m09-section { padding: 18px 14px; border-radius: 16px; }
  .m09-concept-grid { grid-template-columns: 1fr; }
  .m09-lifecycle-wheel { height: auto; padding-top: 218px; }
  .m09-wheel-track { top: 0; width: 194px; height: 194px; transform: translateX(-50%); }
  .m09-wheel-track > span { width: 21px; height: 21px; transform: translate(-50%, -50%) rotate(var(--wheel-angle)) translateY(-87px); }
  .m09-wheel-track > span i { width: 21px; height: 21px; border-width: 1px; font-size: 15px; }
  .m09-wheel-hub { inset: 23%; padding: 10px; border-width: 4px; }
  .m09-wheel-hub > i { font-size: 22px; }
  .m09-wheel-hub strong { margin-top: 3px; font-size: 12px; }
  .m09-wheel-hub small { display: none; }
  .m09-lifecycle { position: relative; display: grid; gap: 10px; }
  .m09-lifecycle li, .m09-lifecycle li:nth-child(n) { position: relative; inset: auto; width: 100%; min-height: 0; transform: none; }
  .m09-casebar dl { grid-template-columns: 1fr; }
  .m09-source-tabs button { grid-template-columns: auto minmax(0, 1fr) auto; }
  .m09-source-tabs button i { grid-row: auto; }
  .m09-source-tabs button small { text-align: right; }
  .m09-source-heading { align-items: stretch; flex-direction: column; }
  .m09-review { justify-content: center; }
  .m09-data-table thead { display: none; }
  .m09-data-table, .m09-data-table tbody, .m09-data-table tr, .m09-data-table td { display: block; width: 100%; box-sizing: border-box; }
  .m09-data-table tr { padding: 10px 0; border-bottom: 1px solid #dbe3ed; }
  .m09-data-table td { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 9px; padding: 5px 12px; border: 0; }
  .m09-data-table td::before { content: attr(data-label); color: #94a3b8; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
  .m09-evidence-tray ol { grid-template-columns: 1fr; }
  .m09-artifact { padding: 14px; }
  .m09-artifact-section { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .m09-shell *, .m09-shell *::before, .m09-shell *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .m09-wheel-track::before, .m09-phase-chevron { transition: none; }
  .m09-phase-detail { animation: none; }
}

.m09-guided-case { display: grid; gap: 14px; }
.m09-guided-case .m09-panel-instruction { margin: 0; color: #475569; }
.m09-guided-status { margin: 0; color: #475569; font-weight: 650; }
