body { background: #f5f6f8; font-size: 14px; }
.mh-shell { max-width: 1600px; margin: 0 auto; padding: 16px; }
.mh-topbar {
  background: #1f2937; color: #e5e7eb; border-radius: 8px;
  padding: 12px 16px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.mh-topbar input { background: #111827; color: #e5e7eb; border: 1px solid #374151; }
.mh-topbar input::placeholder { color: #6b7280; }
.mh-pill {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.mh-pill-debug { background: #fef3c7; color: #92400e; }
.mh-pill-staging { background: #dbeafe; color: #1e40af; }
.mh-pill-staff { background: #dcfce7; color: #166534; }
.mh-pill-travel { background: #ede9fe; color: #5b21b6; }
.mh-pill-shipping { background: #cffafe; color: #155e75; }
.mh-pill-immediate { background: #fee2e2; color: #991b1b; }
.mh-pill-deferred { background: #d1fae5; color: #065f46; }
.mh-pill-pending { background: #fef9c3; color: #854d0e; }
.mh-pill-paid { background: #dbeafe; color: #1e40af; }
.mh-pill-confirmed { background: #dcfce7; color: #166534; }
.mh-pill-failed { background: #fee2e2; color: #991b1b; }

.mh-step { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; margin-bottom: 14px; }
.mh-step.disabled { opacity: 0.55; }
.mh-step-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid #e5e7eb; font-weight: 600;
}
.mh-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #2563eb; color: #fff; font-size: 12px; font-weight: 700;
}
.mh-step-num.done { background: #16a34a; }
.mh-step-num.idle { background: #9ca3af; }
.mh-step-body { padding: 14px; }

.mh-result {
  border: 1px solid #e5e7eb; border-radius: 6px; padding: 10px 12px;
  margin-bottom: 8px; display: flex; gap: 12px; align-items: center;
}
.mh-result.selected { border-color: #2563eb; background: #eff6ff; }
.mh-result-main { flex: 1; }
.mh-result-price { font-size: 18px; font-weight: 700; }
.mh-breakdown {
  margin-top: 8px; padding: 8px 10px;
  background: #f9fafb; border: 1px dashed #d1d5db; border-radius: 4px;
  font-size: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.mh-breakdown .row { display: flex; justify-content: space-between; padding: 1px 0; }
.mh-breakdown .row.total { border-top: 1px solid #d1d5db; margin-top: 4px; padding-top: 4px; font-weight: 700; }

.mh-order-card {
  background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 6px;
  padding: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px;
}
.mh-order-card .label { font-size: 11px; text-transform: uppercase; color: #6b7280; letter-spacing: 0.5px; }
.mh-order-card .value { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; word-break: break-all; }

.mh-inspector {
  position: sticky; top: 16px;
  background: #0b1220; color: #e5e7eb; border-radius: 8px;
  max-height: calc(100vh - 32px); overflow-y: auto;
}
.mh-inspector-head {
  padding: 10px 14px; border-bottom: 1px solid #1f2937;
  display: flex; justify-content: space-between; align-items: center;
  position: sticky; top: 0; background: #0b1220; z-index: 1;
}
.mh-inspector-head h6 { margin: 0; color: #e5e7eb; }
.mh-call {
  border-bottom: 1px solid #1f2937; padding: 10px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px;
}
.mh-call .meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.mh-method { padding: 1px 6px; border-radius: 3px; font-weight: 700; font-size: 11px; }
.mh-method.GET { background: #1e40af; color: #dbeafe; }
.mh-method.POST { background: #166534; color: #dcfce7; }
.mh-method.PUT { background: #854d0e; color: #fef9c3; }
.mh-method.DELETE { background: #991b1b; color: #fee2e2; }
.mh-status { padding: 1px 6px; border-radius: 3px; font-weight: 700; font-size: 11px; }
.mh-status.s2 { background: #14532d; color: #bbf7d0; }
.mh-status.s3 { background: #1e3a8a; color: #dbeafe; }
.mh-status.s4 { background: #7f1d1d; color: #fecaca; }
.mh-status.s5 { background: #581c87; color: #e9d5ff; }
.mh-status.sx { background: #475569; color: #cbd5e1; }
.mh-call .url { color: #93c5fd; word-break: break-all; }
.mh-call .dur { color: #9ca3af; margin-left: auto; }
.mh-call details { margin-top: 6px; }
.mh-call summary { cursor: pointer; color: #9ca3af; font-size: 11px; }
.mh-call pre {
  margin: 4px 0 0; padding: 6px 8px; background: #0f172a;
  border: 1px solid #1f2937; border-radius: 4px; color: #cbd5e1;
  max-height: 220px; overflow: auto; white-space: pre; font-size: 11px;
}
.mh-call.failed .url { color: #fca5a5; }

.mh-empty {
  padding: 18px; text-align: center; color: #6b7280; font-size: 12px;
}

.form-label-sm { font-size: 12px; font-weight: 600; color: #374151; margin-bottom: 2px; }
.text-muted-sm { font-size: 11px; color: #6b7280; }
.mh-banner {
  background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412;
  padding: 8px 12px; border-radius: 6px; font-size: 12px; margin-bottom: 12px;
}
.mh-banner.error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.mh-banner.info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.mh-banner-detail {
  margin-top: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  white-space: pre-wrap;
  word-break: break-word;
}
