.ops-trust-banner,
.ops-quality-alert,
.ops-quality-ok{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:0 0 18px;
  padding:16px 18px;
  border-radius:16px;
  border:1px solid #cfe0ff;
  background:linear-gradient(135deg,#f7fbff,#edf5ff);
  color:#23344f;
}
.ops-trust-banner b,
.ops-quality-alert b,
.ops-quality-ok b{display:block;margin-bottom:4px;color:#10233f}
.ops-trust-banner span,
.ops-quality-alert span,
.ops-quality-ok span{color:#60728c;font-size:13px;line-height:1.55}
.ops-inline-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.compact-banner{margin-bottom:12px;padding:12px 14px}
.ops-quality-alert{border-color:#ffc9c9;background:#fff6f6}
.ops-quality-alert b{color:#d53945}
.ops-quality-ok{border-color:#bfead7;background:#f3fbf7}
.ops-quality-ok b{color:#12875b}
.ops-filterbar{grid-template-columns:minmax(260px,1.5fr) repeat(4,minmax(128px,.65fr)) minmax(150px,.75fr) auto}
.ops-data-table{min-width:1280px}
.ops-data-table td b{color:#17243a}
.ops-data-table .tag{margin:2px 4px 2px 0}
.ops-reason-pills{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.ops-health-mini{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.ops-health-mini span{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#64748b;font-size:12px;font-weight:750}
.ops-health-mini b{color:#0f172a}
.fulfillment-filterbar{grid-template-columns:minmax(280px,1.6fr) repeat(4,minmax(130px,.7fr)) auto}
.danger-text{color:#e5484d}
.tag.red{background:#fff0f0;color:#d7353f}
.tag.orange{background:#fff5e8;color:#b86400}
.tag.gray{background:#eef2f7;color:#627083}
.ops-table-summary{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  align-items:center;
  padding:14px 18px;
  border-top:1px solid #e5edf7;
  background:#f8fbff;
  color:#52637a;
}
.ops-table-summary b{color:#17243a}
.data-missing{
  display:inline-flex;
  align-items:center;
  padding:4px 8px;
  border-radius:999px;
  background:#fff3df;
  color:#a26000;
  font-size:12px;
  font-weight:700;
}
.card.soft{
  margin:12px 0;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid #e0e9f6;
  background:#f8fbff;
  box-shadow:none;
}
.ops-formula p{margin:0 0 8px}
.ops-sync-check{
  display:grid;
  grid-template-columns:minmax(180px,240px) auto auto minmax(360px,1fr);
  align-items:end;
  gap:14px;
  padding:16px 18px 18px;
}
.ops-sync-check .field{display:flex;flex-direction:column;gap:8px}
.ops-sync-check label{font-size:12px;font-weight:800;color:#65748a}
.ops-sync-result{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  align-items:center;
  padding:12px 14px;
  border:1px solid #e3ebf6;
  border-radius:14px;
  background:#f8fbff;
  color:#60728c;
  font-size:13px;
}
.ops-sync-result b{color:#17243a}
.ops-candidate{
  display:flex;
  flex-direction:column;
  gap:2px;
  margin:4px 0;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid #dbe7f6;
  background:#f8fbff;
}
.ops-candidate span{color:#6c7d93;font-size:12px}
.ops-focus-ring{
  position:relative;
  outline:3px solid rgba(37,99,235,.55);
  outline-offset:-3px;
  background:#eff6ff !important;
  box-shadow:inset 4px 0 0 #2563eb, 0 0 0 6px rgba(37,99,235,.08);
  transition:background .2s ease, box-shadow .2s ease;
}
.ops-footnote{margin:12px 2px 0;color:#7a8799;font-size:12px}
@media(max-width:1100px){
  .ops-filterbar{grid-template-columns:1fr 1fr}
  .ops-sync-check{grid-template-columns:1fr}
  .ops-trust-banner,.ops-quality-alert,.ops-quality-ok{align-items:flex-start;flex-direction:column}
  .ops-inline-actions{justify-content:flex-start}
}

.module-readiness-notice{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin:0 0 16px;
  padding:14px 16px;
  border:1px solid #fed7aa;
  border-radius:16px;
  background:linear-gradient(135deg,#fff7ed,#fff);
  color:#9a3412;
  box-shadow:0 10px 28px rgba(251,146,60,.08);
}
.module-readiness-notice b{
  flex:0 0 auto;
  color:#c2410c;
  font-weight:800;
}
.module-readiness-notice span{
  color:#7c2d12;
  line-height:1.65;
}
.module-action-broken{
  opacity:.72;
  cursor:not-allowed!important;
  filter:saturate(.7);
}
.module-empty-fallback{
  min-height:280px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.auto-table-wrap{
  overflow-x:auto;
}
.auto-table-wrap>table{
  min-width:980px;
}

.ops-source-panel{
  display:grid;
  grid-template-columns:minmax(220px,320px) 1fr;
  gap:16px;
  align-items:stretch;
  margin:16px 0;
  padding:16px;
  border:1px solid #dbeafe;
  border-radius:20px;
  background:linear-gradient(135deg,#f8fbff 0%,#ffffff 58%,#eef6ff 100%);
  box-shadow:0 14px 36px rgba(37,99,235,.07);
}
.ops-source-panel>div:first-child{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
  padding:8px 10px;
}
.ops-source-panel b{
  color:#17243a;
  font-size:18px;
  font-weight:900;
}
.ops-source-panel span{
  color:#64748b;
  line-height:1.65;
}
.ops-source-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(120px,1fr));
  gap:10px;
}
.ops-source-item{
  appearance:none;
  border:1px solid #e2e8f0;
  border-radius:16px;
  background:#fff;
  padding:12px 14px;
  text-align:left;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(15,23,42,.04);
  transition:.16s ease;
}
.ops-source-item:hover{
  transform:translateY(-1px);
  border-color:#93c5fd;
  box-shadow:0 14px 26px rgba(37,99,235,.1);
}
.ops-source-item strong{
  display:block;
  margin-bottom:6px;
  color:#1d4ed8;
  font-size:14px;
}
.ops-source-item small{
  display:block;
  color:#64748b;
  font-size:12px;
  line-height:1.55;
}
.ops-glossary{
  display:grid;
  gap:10px;
}
.ops-glossary>div{
  padding:14px 16px;
  border:1px solid #e2e8f0;
  border-radius:16px;
  background:#fff;
}
.ops-glossary>div.active{
  border-color:#2563eb;
  background:#eff6ff;
  box-shadow:inset 4px 0 0 #2563eb;
}
.ops-glossary b{
  display:block;
  margin-bottom:6px;
  color:#17243a;
  font-weight:900;
}
.ops-glossary span{
  color:#5b6b82;
  line-height:1.7;
}
.ops-trace-panel{
  margin:14px 0;
  padding:16px;
  border:1px solid #dbeafe;
  border-radius:20px;
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 62%,#eef6ff 100%);
  box-shadow:0 14px 32px rgba(37,99,235,.06);
}
.ops-trace-head{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-start;
  margin-bottom:12px;
}
.ops-trace-head b{
  display:block;
  color:#17243a;
  font-size:17px;
  font-weight:900;
}
.ops-trace-head span{
  display:block;
  margin-top:4px;
  color:#64748b;
  line-height:1.6;
}
.ops-trace-grid{
  display:grid;
  grid-template-columns:1fr 1fr 2fr;
  gap:10px;
}
.ops-trace-card{
  padding:12px 14px;
  border:1px solid #e2e8f0;
  border-radius:16px;
  background:#fff;
}
.ops-trace-card label{
  display:block;
  margin-bottom:6px;
  color:#8190a7;
  font-size:12px;
  font-weight:800;
}
.ops-trace-card strong{
  color:#17243a;
  font-size:14px;
  line-height:1.65;
}
.ops-trace-coverage{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.ops-trace-coverage span{
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
}
.ops-trace-coverage .ok{
  color:#047857;
  background:#ecfdf5;
}
.ops-trace-coverage .warn{
  color:#b45309;
  background:#fff7ed;
}
@media(max-width:1280px){
  .ops-source-panel{grid-template-columns:1fr}
  .ops-source-grid{grid-template-columns:repeat(2,minmax(160px,1fr))}
  .ops-trace-grid{grid-template-columns:1fr}
}
@media(max-width:720px){
  .ops-source-grid{grid-template-columns:1fr}
}
