/* Modular CSS slice extracted from exam-composer.css (722-1442) */
.ec-doc-question[data-lock-options="1"]::after {
  content: "🔒 Khóa A–D";
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #fef3c7;
  color: #b45309;
  font-family: Inter, sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  vertical-align: middle;
}
.ec-doc-passage {
  margin: 10px 0 8px;
  padding: 8px 12px;
  border-left: 3px solid #3b82f6;
  background: #f8fafc;
  border-radius: 0 6px 6px 0;
}
.ec-doc-blank-ans,
.ec-doc-match-ans,
.ec-doc-order-ans {
  color: #0f766e;
  font-size: 13.5px;
}

.ec-tf-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}
.ec-tf-chip.state-true { background: #dcfce7; color: #15803d; border-color: #86efac; }
.ec-tf-chip.state-false { background: #fee2e2; color: #b91c1c; border-color: #fca5a5; }

.ec-diagram-figure {
  margin: 10px auto;
  padding: 4px;
  border: 1.5px dashed transparent;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
}
.ec-diagram-figure.ec-align-left { margin-left: 0; margin-right: auto; }
.ec-diagram-figure.ec-align-right { margin-left: auto; margin-right: 0; }
.ec-diagram-figure.is-selected {
  border-color: #7c3aed;
  background: rgba(124, 58, 237, 0.04);
}
.ec-diagram-figure img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.ec-drop-indicator {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: #7c3aed;
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.7);
  pointer-events: none;
  z-index: 20;
}

.ec-word-table td.ec-drop-cell-active,
.ec-word-table th.ec-drop-cell-active {
  outline: 2px dashed #7c3aed !important;
  outline-offset: -2px;
  background: rgba(124, 58, 237, 0.08) !important;
}

.ec-drag-ghost {
  position: fixed;
  z-index: 1100;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid #7c3aed;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.28);
}
.ec-drag-ghost img {
  max-width: 110px;
  max-height: 80px;
  object-fit: contain;
}
.ec-drag-ghost span {
  font-size: 11px;
  font-weight: 700;
  color: #6d28d9;
}

.ec-figure-floating-bar {
  position: fixed;
  z-index: 1060;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
}
.ec-figure-floating-bar button {
  font-size: 11.5px;
  padding: 3px 7px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
  cursor: pointer;
}
.ec-figure-floating-bar button.ec-danger { color: #dc2626; }

.ec-mathk-modal-card {
  background: #ffffff;
  border-radius: 12px;
  width: min(860px, 98vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
}
.ec-mathk-host {
  flex: 1 1 auto;
  display: block;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  min-height: min(460px, 76vh);
  max-height: 84vh;
}
.ec-mathk-host mathk-editor {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto !important;
  min-height: min(440px, 72vh);
}
.ec-mathk-loading {
  padding: 28px 16px;
  text-align: center;
  font-size: 13px;
  color: #475569;
}
.ec-mathk-fallback {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ec-mathk-fallback-note {
  margin: 0;
  font-size: 13px;
  color: #334155;
}
.ec-mathk-fallback-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
.ec-mathk-fallback-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.ec-pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
}

.ec-drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(680px, 100vw);
  background: #ffffff;
  border-left: 1px solid #cbd5e1;
  z-index: 1070;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(15, 23, 42, 0.14);
}
.ec-drawer-body { padding: 14px; overflow: auto; flex: 1; }
.ec-matrix-summary { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; font-size: 13px; }
.ec-matrix-table-wrap { overflow-x: auto; }
.ec-matrix-table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: center; }
.ec-matrix-table th, .ec-matrix-table td { border: 1px solid #cbd5e1; padding: 5px 6px; }
.ec-topic-col { text-align: left; font-weight: 500; }
.ec-cell-warn { background: #fef9c3; }
.ec-cell-ok { background: #dcfce7; }
.ec-cell-over { background: #fee2e2; }

.ec-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.ec-modal-card {
  background: #ffffff;
  border-radius: 12px;
  width: min(760px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ec-shuffle-modal-card {
  width: min(860px, 100%);
}
.ec-shuffle-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13px;
}
.ec-shuffle-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.ec-shuffle-field input,
.ec-shuffle-field select {
  padding: 4px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  background: #ffffff;
}
.ec-shuffle-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px 14px;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 12.5px;
}
.ec-shuffle-opt {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  color: #334155;
}
.ec-shuffle-actions-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
}
.ec-shuffle-preview-grid {
  padding: 14px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.ec-shuffle-card { border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px 10px; font-size: 12px; background: #ffffff; }
.ec-shuffle-card-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 6px; border-bottom: 1px dashed #e2e8f0; padding-bottom: 4px; }
.ec-shuffle-code { font-weight: 700; color: #1d4ed8; }
.ec-shuffle-dist { font-size: 10.5px; color: #64748b; font-variant-numeric: tabular-nums; }
.ec-shuffle-keys { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 600px) {
  .ec-shuffle-controls { flex-direction: column; align-items: stretch; }
  .ec-shuffle-field { justify-content: space-between; }
  .ec-shuffle-options-grid { grid-template-columns: 1fr; }
  .ec-shuffle-actions-bar { flex-direction: column; }
  .ec-shuffle-actions-bar .ec-btn { width: 100%; justify-content: center; }
  .ec-shuffle-preview-grid { grid-template-columns: 1fr; }
}

.ec-import-modal-card { width: min(760px, 100%); }
.ec-import-body { padding: 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.ec-import-dropzone {
  border: 2px dashed #93c5fd;
  background: #f8fafc;
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.ec-import-dropzone:hover, .ec-import-dropzone.is-dragover {
  border-color: #2563eb;
  background: #eff6ff;
}
.ec-import-drop-icon { font-size: 26px; margin-bottom: 4px; }
.ec-import-drop-title { font-weight: 600; font-size: 14px; color: #0f172a; }
.ec-import-drop-sub { font-size: 12px; color: #475569; margin-top: 4px; }
.ec-import-mode-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 12.5px; }
.ec-import-mode-label { font-weight: 600; color: #334155; }
.ec-import-cost-hint { font-size: 12px; color: #1d4ed8; background: #eff6ff; padding: 7px 10px; border-radius: 8px; }
.ec-import-staging-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 10px; max-height: 290px; overflow-y: auto; }
.ec-import-empty { grid-column: 1 / -1; text-align: center; font-size: 12.5px; color: #64748b; padding: 14px; border: 1px solid #e2e8f0; border-radius: 8px; }
.ec-import-doc-card { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; background: #ffffff; }
.ec-import-doc-icon { font-size: 24px; }
.ec-import-doc-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; }
.ec-import-doc-meta strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ec-import-doc-meta span { color: #64748b; font-size: 11.5px; }
.ec-import-img-card { border: 1px solid #cbd5e1; border-radius: 8px; padding: 6px; background: #ffffff; display: flex; flex-direction: column; gap: 6px; cursor: grab; }
.ec-import-img-thumb-wrap { position: relative; height: 110px; background: #f1f5f9; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ec-import-img-thumb-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.15s; }
.ec-import-page-num { position: absolute; left: 4px; top: 4px; background: rgba(15,23,42,0.75); color: #fff; font-size: 10.5px; padding: 2px 6px; border-radius: 4px; }
.ec-import-img-actions { display: flex; justify-content: space-between; gap: 4px; }
.ec-import-img-actions button { flex: 1; padding: 3px 0; font-size: 12px; border: 1px solid #cbd5e1; background: #f8fafc; border-radius: 4px; cursor: pointer; }
.ec-import-img-actions button:disabled { opacity: 0.4; cursor: default; }
.ec-import-progress-wrap { display: flex; flex-direction: column; gap: 6px; }
.ec-import-progress-track { height: 8px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.ec-import-progress-bar { height: 100%; background: #2563eb; transition: width 0.25s; }
.ec-import-progress-text { font-size: 12px; color: #1e40af; font-weight: 500; }
@media (max-width: 600px) {
  .ec-import-staging-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Ẩn header mặc định khi trang 1 đã có header 2 cột thật từ file PDF/Word */
.ec-a4-page.ec-hide-default-header .ec-a4-header,
.ec-a4-page.ec-hide-default-header .ec-student-info-line {
  display: none !important;
}

/* Bố cục tài liệu đa trang chuẩn khảo thí (Ma trận 12 cột, Header 2 cột, Hình cạnh câu hỏi) */
.ec-p2w-header-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 8px;
  text-align: center;
  font-size: 11pt;
  line-height: 1.32;
  margin-bottom: 10px;
}
.ec-p2w-hdr-line.ec-bold { font-weight: 700; }
.ec-p2w-hdr-line.ec-italic { font-style: italic; font-weight: 400; }
.ec-p2w-hdr-line.ec-mt-xs { margin-top: 2px; }
.ec-p2w-signature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  text-align: center;
  font-size: 11pt;
  margin: 14px 0 6px;
}
.ec-table-scroll-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 8px 0;
}
.ec-a4-fig-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
}
.ec-inline-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 20px;
  padding-left: 18px;
  margin-bottom: 4px;
}
.ec-doc-h1 { text-align: center; font-weight: 700; font-size: 13pt; margin: 8px 0 4px; }
.ec-doc-center { text-align: center; margin: 6px 0; }
.ec-doc-subbullet { padding-left: 18px; margin-bottom: 3px; }
.ec-doc-end-line { text-align: center; font-weight: 700; margin: 10px 0; }

@media (max-width: 640px) {
  .ec-p2w-header-grid { grid-template-columns: 1fr; font-size: 10pt; }
  .ec-a4-fig-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .ec-hide-sm { display: none; }
  .ec-mobile-tabs { display: flex; }
  .ec-tab-btn {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
  }
  .ec-tab-btn.is-active { background: #2563eb; color: #ffffff; border-color: #2563eb; }
  .ec-a4-page { padding: 16px 14px; min-height: 600px; font-size: 14px; }
  .ec-a4-header { grid-template-columns: 1fr; text-align: left; }

  html.ec-split-board-mode .ec-studio-shell,
  body.ec-split-board-mode .ec-studio-shell {
    width: 100vw;
  }
  html.ec-split-board-mode #geometry-drawing-board-view,
  body.ec-split-board-mode #geometry-drawing-board-view {
    left: 0 !important;
    top: var(--ec-mobile-board-top, 140px) !important;
    width: 100vw !important;
    height: calc(100vh - var(--ec-mobile-board-top, 140px)) !important;
    border-left: none;
  }
  .ec-drag-pill { display: none; }
}

/* === Multi-Page A4 & Integrated Rubric Studio === */
.ec-workspace-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.ec-mode-switcher {
  display: inline-flex;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 10px;
  gap: 3px;
}
.ec-mode-tab {
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #475569;
  cursor: pointer;
}
.ec-mode-tab.is-active {
  background: #ffffff;
  color: #1d4ed8;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.ec-a4-stack {
  width: 100%;
  max-width: 794px;
  margin: 0 auto;
  display: block;
}

.ec-add-page-footer {
  text-align: center;
  padding: 16px 0 28px;
}

.ec-page-guides {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
.ec-auto-page-guide {
  position: absolute;
  left: -44px;
  right: -44px;
  border-top: 2px dashed #94a3b8;
  display: flex;
  justify-content: flex-end;
}
.ec-auto-page-guide span {
  background: #e2e8f0;
  color: #334155;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 0 0 6px 6px;
}

.ec-page-break {
  margin: 18px -44px 28px;
  height: 28px;
  padding: 0 18px;
  background: #f1f5f9;
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
  box-shadow: inset 0 4px 8px -4px rgba(15, 23, 42, 0.12), inset 0 -4px 8px -4px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: Inter, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  user-select: none;
}
.ec-page-break-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ec-page-break-del,
.ec-page-break-del-page {
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #475569;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
}
.ec-page-break-del:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.ec-page-break-del-page {
  color: #dc2626;
}
.ec-page-break-del-page:hover {
  background: #fee2e2;
  border-color: #fca5a5;
}

.ec-rubric-workspace {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #f8fafc;
}
.ec-rubric-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}
.ec-rubric-toolbar-left,
.ec-rubric-toolbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.ec-rubric-total-badge {
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #1e293b;
}
.ec-rubric-total-badge.is-ok { background: #dcfce7; color: #15803d; }
.ec-rubric-total-badge.is-warn { background: #fef9c3; color: #a16207; }

.ec-rubric-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
.ec-rubric-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ec-rubric-card.is-approved { border-color: #22c55e; }
.ec-rubric-card-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.ec-rubric-q-title { font-weight: 700; font-size: 14px; color: #1e3a8a; }
.ec-rubric-head-controls { display: flex; align-items: center; gap: 8px; }
.ec-pts-label { font-size: 12.5px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.ec-rubric-pts-input, .ec-step-pts-input {
  width: 86px;
  padding: 4px 6px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  text-align: center;
}
.ec-btn-approved { background: #dcfce7; color: #15803d; border-color: #86efac; }
.ec-rubric-stem { font-size: 13.5px; color: #334155; background: #f8fafc; padding: 8px 10px; border-radius: 6px; }
.ec-rubric-field-row { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; }
.ec-rubric-field-row label { font-weight: 600; color: #475569; }
.ec-rubric-text-input, .ec-rubric-textarea, .ec-step-desc-input {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  box-sizing: border-box;
}
.ec-rubric-steps-box { display: flex; flex-direction: column; gap: 6px; }
.ec-rubric-steps-head { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 600; color: #475569; }
.ec-rubric-step-row { display: flex; align-items: center; gap: 6px; }
.ec-step-desc-input { flex: 1; }
.ec-mini-btn { font-size: 11.5px; padding: 4px 8px; border-radius: 6px; border: 1px solid #cbd5e1; background: #f8fafc; cursor: pointer; }
.ec-mini-btn.ec-danger { color: #dc2626; }
.ec-rubric-empty { text-align: center; padding: 40px 16px; color: #64748b; }

@media (max-width: 768px) {
  .ec-word-editor { min-height: 360px; }
  .ec-rubric-step-row { flex-wrap: wrap; }
  .ec-step-desc-input { min-width: 100%; }
  .ec-page-break { margin: 14px -14px; }
  .ec-page1-bar { margin: -6px -4px 10px; }
}

@media print {
  @page { size: A4; margin: 16mm 18mm; }
  body > *:not(#exam-composer-studio-view) { display: none !important; }
  .ec-studio-shell {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    background: #ffffff !important;
  }
  .ec-toolbar, .ec-word-ribbon, .ec-add-page-footer, .ec-page-guides,
  .ec-figure-floating-bar, .ec-table-floating-bar, .ec-rubric-toolbar, #ec-matrix-drawer,
  #ec-shuffle-modal, #ec-mathk-modal, .ec-page1-bar, .ec-page-break-actions,
  .ec-page-break-del, .ec-page-break-del-page, .ec-page-break-label {
    display: none !important;
  }
  .ec-word-table.ec-table-borderless,
  .ec-word-table.ec-table-borderless th,
  .ec-word-table.ec-table-borderless td {
    border: none !important;
  }
  .ec-a4-viewport, .ec-rubric-list { overflow: visible !important; padding: 0 !important; }
  .ec-a4-page { box-shadow: none !important; border: none !important; padding: 0 !important; min-height: auto !important; }
  .ec-page-break {
    page-break-before: always !important;
    break-before: page !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .ec-diagram-figure, .ec-rubric-card { break-inside: avoid !important; }
}

/* === Exam Audit Workspace === */
.ec-audit-ai-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #334155;
  cursor: pointer;
}
.ec-audit-banner {
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
}
.ec-audit-banner.is-valid { background: #f0fdf4; border-color: #86efac; color: #14532d; }
.ec-audit-banner.is-issues { background: #fffbeb; border-color: #fcd34d; color: #78350f; }
.ec-audit-banner-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.ec-audit-banner-desc { margin: 0 0 8px 0; font-size: 13px; }
.ec-audit-stats { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12.5px; }

.ec-audit-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-left-width: 4px;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ec-audit-card.ec-sev-critical { border-left-color: #dc2626; }
.ec-audit-card.ec-sev-warning { border-left-color: #d97706; }