.dro-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px;
  color: #172033;
}

.dro-hero,
.dro-panel,
.dro-context,
.dro-summary article {
  background: #fff;
  border: 1px solid #d9e0ea;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(26, 42, 68, .08);
}

.dro-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.dro-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #2563eb;
}

.dro-hero h1,
.dro-panel h2 {
  margin: 0;
}

.dro-muted {
  color: #5e6c82;
}

.dro-actions,
.dro-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dro-actions a,
.dro-link,
.dro-button,
.dro-mini {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #172033;
  border-radius: 7px;
  padding: 9px 12px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}

.dro-primary {
  background: #1f6feb;
  border-color: #1f6feb;
  color: #fff;
}

.dro-danger {
  background: #b42318;
  border-color: #b42318;
  color: #fff;
}

.dro-context,
.dro-summary,
.dro-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.dro-context {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 16px;
}

.dro-context div,
.dro-summary article,
.dro-preview-grid div {
  display: grid;
  gap: 4px;
}

.dro-context span,
.dro-summary span,
.dro-preview-grid span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.dro-summary {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.dro-summary article {
  padding: 16px;
}

.dro-summary strong {
  font-size: 28px;
}

.dro-panel {
  margin-top: 18px;
  padding: 20px;
}

.dro-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.dro-controls {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.dro-controls label,
.dro-confirm {
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: #334155;
}

.dro-controls input,
.dro-controls select,
.dro-confirm input {
  min-height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  padding: 8px 10px;
}

.dro-table-wrap {
  overflow-x: auto;
}

.dro-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1100px;
}

.dro-table th,
.dro-table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.dro-table th {
  color: #475569;
  background: #f8fafc;
}

.dro-badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 3px 8px;
  background: #e2e8f0;
  color: #172033;
  font-weight: 800;
  font-size: 11px;
}

.dro-badge.fail {
  background: #fee4e2;
  color: #b42318;
}

.dro-badge.warning {
  background: #fef3c7;
  color: #92400e;
}

.dro-empty {
  text-align: center;
  color: #64748b;
  padding: 28px;
}

.dro-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dro-modal {
  width: min(980px, calc(100vw - 40px));
  max-height: 88vh;
  border: 0;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .28);
}

.dro-modal::backdrop {
  background: rgba(15, 23, 42, .42);
}

.dro-modal-close {
  float: right;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.dro-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.dro-preview-grid div,
.dro-history-row {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 10px;
}

.dro-pre {
  white-space: pre-wrap;
  overflow: auto;
  background: #101828;
  color: #f8fafc;
  border-radius: 7px;
  padding: 12px;
}

.dro-warning {
  color: #92400e;
  background: #fef3c7;
  border-radius: 7px;
  padding: 10px;
}

.dro-history {
  display: grid;
  gap: 8px;
}

.dro-history-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 1000px) {
  .dro-hero,
  .dro-panel-head {
    display: grid;
  }
  .dro-controls,
  .dro-context,
  .dro-summary,
  .dro-grid,
  .dro-preview-grid {
    grid-template-columns: 1fr;
  }
}

