.sa-mt-launch {
  position: fixed;
  right: 76px;
  bottom: 16px;
  z-index: 99998;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(6, 182, 212, 0.55);
  border-radius: 999px;
  background: rgba(8, 12, 20, 0.9);
  color: #e2e8f0;
  font: 800 11px/1.1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.09em;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}
.sa-mt-launch:hover,
.sa-mt-launch:focus-visible {
  color: #fff;
  border-color: #06b6d4;
}
.sa-mt-launch .sa-mt-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
.sa-mt-launch.offline .sa-mt-dot {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}
.sa-mt-drawer {
  position: fixed;
  right: 14px;
  bottom: 62px;
  z-index: 99998;
  width: min(520px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 96px));
  display: none;
  flex-direction: column;
  overflow: hidden;
  resize: both;
  min-width: 330px;
  min-height: 360px;
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: 12px;
  background: rgba(8, 12, 20, 0.96);
  color: #e2e8f0;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}
.sa-mt-drawer.open {
  display: flex;
}
.sa-mt-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sa-mt-title {
  flex: 1;
  min-width: 0;
}
.sa-mt-kicker {
  color: #06b6d4;
  font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.16em;
}
.sa-mt-name {
  margin-top: 3px;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sa-mt-x,
.sa-mt-action,
.sa-mt-tab {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  cursor: pointer;
  font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}
.sa-mt-x {
  width: 30px;
  height: 30px;
}
.sa-mt-action {
  padding: 8px 10px;
}
.sa-mt-tab {
  padding: 8px 10px;
}
.sa-mt-x:hover,
.sa-mt-action:hover,
.sa-mt-tab:hover,
.sa-mt-tab.active {
  border-color: rgba(6, 182, 212, 0.6);
  color: #fff;
  background: rgba(6, 182, 212, 0.1);
}
.sa-mt-actions,
.sa-mt-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sa-mt-actions {
  justify-content: space-between;
}
.sa-mt-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 14px;
}
.sa-mt-card {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}
.sa-mt-card h4 {
  margin: 0 0 7px;
  color: #94a3b8;
  font: 800 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sa-mt-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
}
.sa-mt-row:first-of-type {
  border-top: 0;
}
.sa-mt-key {
  color: #64748b;
  font: 800 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sa-mt-val {
  color: #dbeafe;
  line-height: 1.45;
}
.sa-mt-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 5px 5px 0;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.sa-mt-pill.green { color: #22c55e; border-color: rgba(34, 197, 94, 0.35); }
.sa-mt-pill.amber { color: #eab308; border-color: rgba(234, 179, 8, 0.35); }
.sa-mt-pill.red { color: #ef4444; border-color: rgba(239, 68, 68, 0.35); }
.sa-mt-pill.blue { color: #06b6d4; border-color: rgba(6, 182, 212, 0.35); }
.sa-mt-list {
  margin: 0;
  padding-left: 18px;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.5;
}
.sa-mt-log {
  max-height: 260px;
  overflow: auto;
  padding: 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  color: #cbd5e1;
  font: 11px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre-wrap;
}
.sa-mt-empty {
  padding: 12px;
  color: #64748b;
  font-size: 12px;
  text-align: center;
}
@media (max-width: 820px), (max-height: 680px) {
  .sa-mt-launch {
    right: 70px;
    bottom: 10px;
  }
  .sa-mt-drawer {
    inset: 58px 8px 56px 8px;
    width: auto;
    max-height: none;
    min-width: 0;
    resize: none;
  }
}
@media print {
  .sa-mt-launch,
  .sa-mt-drawer {
    display: none !important;
  }
}
