/* Module 11 is a self-contained SOC operations and communication surface. */

.m11-shell { min-height: 100vh; color: #172033; background: rgba(248, 250, 252, .78); }
.m11-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; }
.m11-brand img { width: auto; height: 42px; display: block; }
.m11-top-actions { display: flex; align-items: center; gap: 16px; }
.m11-simulation, .m11-exit { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; }
.m11-simulation { padding: 7px 11px; color: #1e3a5f; background: #eff6ff; border: 1px solid #dbeafe; border-radius: 999px; }
.m11-exit { color: #1e3a5f; text-decoration: none; }
.m11-exit:hover, .m11-exit:focus-visible { color: #c2410c; text-decoration: underline; }
.m11-main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 44px 0 80px; }
.m11-kicker { margin: 0; color: #f97316; font: 800 11px/1.4 Inter, sans-serif; letter-spacing: .13em; text-transform: uppercase; }

.m11-practice-note { display: flex; align-items: flex-start; gap: 15px; margin-top: 22px; padding: 20px 22px; background: #fff; border: 1px solid #dbe3ed; border-radius: 16px; box-shadow: 0 8px 24px rgba(30, 58, 95, .05); }
.m11-practice-note > i { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: #f97316; border-radius: 11px; font-size: 21px; }
.m11-practice-note h2 { margin: 4px 0 4px; color: #1e3a5f; font-size: 18px; }
.m11-practice-note p:last-child { margin: 0; color: #64748b; font: 12px/1.55 Inter, sans-serif; }
.m11-loop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.m11-loop-grid article { min-width: 0; padding: 14px; background: #fff; border: 1px solid #dbe3ed; border-radius: 12px; }
.m11-loop-grid article h4 { margin: 6px 0 5px; color: #1e3a5f; font-size: 13px; line-height: 1.3; }
.m11-loop-grid article p:last-child { margin: 0; color: #64748b; font: 11px/1.55 Inter, sans-serif; }
.m11-crosswalk-note, .m11-shared-note { margin: 14px 0 0; padding: 12px 14px; color: #475569; background: #f8fafc; border-left: 3px solid #f97316; font: 11px/1.55 Inter, sans-serif; }

.m11-lab-switcher { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.m11-lab-switcher button { min-width: 0; min-height: 74px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 16px; color: #475569; background: #fff; border: 1px solid #dbe3ed; border-radius: 14px; box-shadow: 0 5px 16px rgba(30, 58, 95, .04); text-align: left; cursor: pointer; }
.m11-lab-switcher button > i { width: 40px; height: 40px; display: grid; place-items: center; color: #1e3a5f; background: #e7f0f9; border-radius: 10px; font-size: 20px; }
.m11-lab-switcher button span { font-size: 13px; font-weight: 800; }
.m11-lab-switcher button small { display: block; margin-bottom: 3px; color: #94a3b8; font: 9px Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.m11-lab-switcher button > strong { padding: 5px 8px; color: #64748b; background: #f8fafc; border-radius: 999px; font-size: 9px; white-space: nowrap; }
.m11-lab-switcher button > strong.is-complete { color: #166534; background: #dcfce7; }
.m11-lab-switcher button[aria-current="page"] { border-color: #f97316; box-shadow: 0 0 0 2px rgba(249, 115, 22, .12); }
.m11-lab-switcher button[aria-current="page"] > i { color: #fff; background: #f97316; }

.m11-lab { margin-top: 16px; overflow: hidden; background: #f8fafc; border: 1px solid #dbe3ed; border-top: 4px solid #f97316; border-radius: 20px; box-shadow: 0 8px 24px rgba(30, 58, 95, .05); }
.m11-casebar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 25px; color: #fff; background: #0f2741; }
.m11-casebar h2 { margin: 5px 0 8px; font-size: 23px; }
.m11-casebar p:last-child { max-width: 800px; margin: 0; color: rgba(255, 255, 255, .72); font: 12px/1.65 Inter, sans-serif; }
.m11-casebar p strong { color: #fff; }
.m11-casebar dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 0; }
.m11-casebar dl div { min-width: 108px; padding: 10px; background: rgba(255, 255, 255, .08); border-radius: 9px; }
.m11-casebar dt { color: rgba(255, 255, 255, .55); font: 9px Inter, sans-serif; }
.m11-casebar dd { margin: 4px 0 0; font-size: 11px; font-weight: 800; }

.m11-dataset, .m11-deliverable { margin: 18px; padding: 20px; background: #fff; border: 1px solid #dbe3ed; border-radius: 15px; }
.m11-dataset-heading, .m11-deliverable-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.m11-dataset-heading h3, .m11-deliverable-heading h3 { margin: 4px 0 0; color: #1e3a5f; font-size: 19px; }
.m11-dataset-heading > span, .m11-deliverable-heading > span { padding: 6px 9px; color: #1e3a5f; background: #eef6ff; border: 1px solid #cfe2f7; border-radius: 999px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.m11-table-wrap { margin-top: 17px; overflow-x: auto; border: 1px solid #dbe3ed; border-radius: 11px; }
.m11-data-table { width: 100%; border-collapse: collapse; font: 11px/1.45 Inter, sans-serif; }
.m11-data-table caption:not(.m11-visually-hidden) { padding: 11px 13px; color: #1e3a5f; background: #eef6ff; font-size: 12px; font-weight: 800; text-align: left; }
.m11-data-table th { padding: 10px 11px; color: #64748b; background: #f8fafc; border-bottom: 1px solid #dbe3ed; font-size: 9px; letter-spacing: .05em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.m11-data-table td { padding: 11px; color: #475569; border-bottom: 1px solid #eef2f7; vertical-align: top; white-space: nowrap; }
.m11-data-table tbody th { color: #1e3a5f; background: #fff; font-size: 11px; letter-spacing: 0; text-transform: none; }
.m11-data-table tr:last-child td, .m11-data-table tbody tr:last-child th { border-bottom: 0; }
.m11-data-table td.is-risk { color: #c2410c; background: #fff7ed; font-weight: 800; }
.m11-data-table tr.is-selected td { background: #fffaf5; }
.m11-metric-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 14px; }
.m11-metric-cards label { min-width: 0; display: flex; align-items: flex-start; gap: 8px; padding: 12px; background: #f8fafc; border: 1px solid #dbe3ed; border-radius: 10px; cursor: pointer; }
.m11-metric-cards label.is-selected, .m11-metric-cards label:has(input:checked) { background: #fff7ed; border-color: #f97316; }
.m11-metric-cards input { width: 17px; height: 17px; flex: 0 0 auto; margin: 1px 0 0; accent-color: #f97316; }
.m11-metric-cards small, .m11-metric-cards strong, .m11-metric-cards em { display: block; }
.m11-metric-cards small { color: #64748b; font: 8px/1.35 Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.m11-metric-cards strong { margin-top: 5px; color: #1e3a5f; font-size: 13px; }
.m11-metric-cards em { margin-top: 4px; color: #64748b; font: normal 10px/1.5 Inter, sans-serif; }
.m11-rule-table { margin-top: 14px; }
.m11-case-summary dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 15px 0 0; }
.m11-case-summary dl div { padding: 11px 12px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 9px; }
.m11-case-summary dt { color: #94a3b8; font: 9px Inter, sans-serif; text-transform: uppercase; }
.m11-case-summary dd { margin: 4px 0 0; color: #1e3a5f; font-size: 11px; font-weight: 800; }
.m11-case-table strong { color: #334155; font-size: 11px; }
.m11-evidence-check { display: inline-flex; align-items: center; gap: 6px; color: #1e3a5f; font-weight: 800; cursor: pointer; }
.m11-evidence-check input { width: 17px; height: 17px; margin: 0; accent-color: #f97316; }
.m11-inspect { padding: 6px 9px; color: #1e3a5f; background: #fff; border: 1px solid #cbd5e1; border-radius: 7px; font-size: 10px; font-weight: 800; cursor: pointer; }
.m11-inspect:hover, .m11-inspect:focus-visible { background: #f8fafc; border-color: #1e3a5f; }
.m11-event-detail { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-top: 14px; padding: 15px; color: #475569; background: #eef6ff; border: 1px solid #cfe2f7; border-radius: 10px; }
.m11-event-detail strong { display: block; margin-top: 4px; color: #1e3a5f; font-size: 13px; }
.m11-event-detail p:last-child { margin: 5px 0 0; font: 11px/1.6 Inter, sans-serif; }
.m11-event-detail 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; }

.m11-deliverable { margin-top: 0; }
.m11-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.m11-form-grid-three { grid-template-columns: repeat(3, 1fr); }
.m11-fieldset { min-width: 0; margin: 0; padding: 14px; background: #f8fafc; border: 1px solid #dbe3ed; border-top: 3px solid #1e3a5f; border-radius: 11px; }
.m11-fieldset legend { padding: 0 5px; color: #1e3a5f; font-size: 12px; font-weight: 800; }
.m11-option-list { display: grid; gap: 7px; margin-top: 4px; }
.m11-option-list label { display: flex; align-items: flex-start; gap: 8px; padding: 9px; color: #475569; background: #fff; border: 1px solid #dbe3ed; border-radius: 8px; font: 10px/1.45 Inter, sans-serif; cursor: pointer; }
.m11-option-list label:has(input:checked) { color: #1e3a5f; background: #fff7ed; border-color: #f97316; font-weight: 700; }
.m11-option-list input { width: 16px; height: 16px; flex: 0 0 auto; margin: 0; accent-color: #f97316; }
.m11-text-label { display: block; margin-top: 18px; color: #1e3a5f; font-size: 13px; font-weight: 800; }
.m11-field-help { margin: 4px 0 0; color: #64748b; font: 10px/1.5 Inter, sans-serif; }
.m11-deliverable 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; }
.m11-deliverable textarea:focus { outline: 3px solid rgba(249, 115, 22, .2); border-color: #f97316; }
.m11-text-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 5px; color: #94a3b8; font: 10px Inter, sans-serif; }
.m11-writing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.m11-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 19px; }
.m11-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; }
.m11-submit { color: #fff; background: #f97316; border: 1px solid #f97316; }
.m11-submit:hover, .m11-submit:focus-visible { background: #ea580c; }
.m11-reset { color: #1e3a5f; background: #fff; border: 1px solid #cbd5e1; }
.m11-reset:hover, .m11-reset:focus-visible { background: #f8fafc; border-color: #1e3a5f; }
.m11-score-empty, .m11-validation, .m11-score { margin-top: 18px; padding: 18px; border-radius: 12px; }
.m11-score-empty { color: #64748b; background: #f8fafc; border: 1px dashed #cbd5e1; font: 11px/1.55 Inter, sans-serif; }
.m11-validation { display: flex; align-items: flex-start; gap: 10px; color: #9a3412; background: #fff7ed; border: 1px solid #fed7aa; }
.m11-validation i { font-size: 20px; }
.m11-validation strong { font-size: 13px; }
.m11-validation p { margin: 3px 0 0; font: 11px/1.55 Inter, sans-serif; }
.m11-score { border: 1px solid; }
.m11-score.is-pass { background: #f0fdf4; border-color: #bbf7d0; }
.m11-score.is-remediate { background: #fff7ed; border-color: #fed7aa; }
.m11-score-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.m11-score-heading h3 { margin: 4px 0 0; color: #1e3a5f; font-size: 19px; }
.m11-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; }
.m11-score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 14px; }
.m11-score-grid div { padding: 10px; background: rgba(255, 255, 255, .78); border-radius: 8px; }
.m11-score-grid strong, .m11-score-grid span { display: block; }
.m11-score-grid strong { color: #1e3a5f; font-size: 13px; }
.m11-score-grid span { margin-top: 2px; color: #64748b; font: 10px Inter, sans-serif; }
.m11-score > ul { margin: 13px 0 0; padding-left: 18px; color: #475569; font: 11px/1.65 Inter, sans-serif; }
.m11-remediation { margin-top: 13px; padding: 13px; background: rgba(255, 255, 255, .74); border-radius: 9px; }
.m11-remediation strong { color: #1e3a5f; font-size: 12px; }
.m11-remediation p { margin: 5px 0 0; color: #64748b; font: 11px/1.6 Inter, sans-serif; }


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

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

.m11-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; }
.m11-shell :focus-visible { outline: 3px solid rgba(249, 115, 22, .38); outline-offset: 2px; }

@media (max-width: 1020px) {
  .m11-hero, .m11-casebar { grid-template-columns: 1fr; }
  .m11-loop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m11-metric-cards { grid-template-columns: repeat(2, 1fr); }
  .m11-form-grid-three { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .m11-topbar { align-items: flex-start; }
  .m11-top-actions { align-items: flex-end; flex-direction: column; gap: 6px; }
  .m11-simulation { display: none; }
  .m11-main { width: min(100% - 24px, 1180px); padding-top: 22px; }
  .m11-hero dl, .m11-casebar dl, .m11-lab-switcher, .m11-form-grid, .m11-form-grid-three, .m11-writing-grid, .m11-score-grid, .m11-case-summary dl { grid-template-columns: 1fr; }
  .m11-practice-note { padding: 17px; }
  .m11-loop-grid { grid-template-columns: 1fr; }
  .m11-practice-note h2 { font-size: 16px; }
  .m11-lab-switcher button { grid-template-columns: auto minmax(0, 1fr); }
  .m11-lab-switcher button > strong { grid-column: 2; width: fit-content; }
  .m11-casebar { padding: 20px; }
  .m11-dataset, .m11-deliverable { margin: 12px; padding: 14px; }
  .m11-dataset-heading, .m11-deliverable-heading { align-items: flex-start; flex-direction: column; }
  .m11-metric-cards { grid-template-columns: 1fr; }
  .m11-case-table thead { display: none; }
  .m11-case-table, .m11-case-table tbody, .m11-case-table tr, .m11-case-table td { display: block; width: 100%; box-sizing: border-box; }
  .m11-case-table tr { padding: 9px 0; border-bottom: 1px solid #dbe3ed; }
  .m11-case-table td { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px; padding: 5px 11px; border: 0; white-space: normal; }
  .m11-case-table td::before { content: attr(data-label); color: #94a3b8; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
}

@media (prefers-reduced-motion: reduce) {
  .m11-shell *, .m11-shell *::before, .m11-shell *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

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