html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #0b0c10;
  color: #e8e8e8;
}
header {
  padding: 16px 20px;
  border-bottom: 1px solid #1f222b;
  display: flex;
  align-items: center;
  gap: 12px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  background: #666;
}
.dot.online {
  background: #26c281;
}
.dot.offline {
  background: #ff5c5c;
}

.pill {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #2a2d36;
  background: #12131a;
  color: #c8cbd3;
}
main {
  padding: 20px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #1f222b;
}
th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8f96a3;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}
a {
  color: #9bd1ff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.link {
  color: #9bd1ff;
}
.muted {
  color: #a6acb7;
}

/* Row selection */
.row-selected {
  background: rgba(155, 209, 255, 0.06);
}

/* Buttons */
.btn {
  background: #2d333d;
  color: #fff;
  border: 0;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}
.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
}
.icon-btn {
  background: #2d333d;
  color: #fff;
  border: 0;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  padding: 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.log-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.log-title {
  font-size: 14px;
}
.log-status {
  font-size: 12px;
  color: #8f96a3;
}
.log-container {
  flex: 1;
  overflow: auto;
  background: #111;
  border: 1px solid #2a2d36;
  padding: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  white-space: pre;
  line-height: 1.4;
  border-radius: 4px;
}
.shot-frame {
  max-width: 95vw;
  max-height: 80vh;
  overflow: auto;
  border: 1px solid #2a2d36;
  padding: 8px;
  background: #111;
}
.shot-frame img {
  max-width: 100%;
  height: auto;
  display: block;
}
.shot-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Service pill menu */
.version-pill {
  font-size: 10px;
  color: #8f96a3;
  background: #1a1e24;
  padding: 2px 4px;
  border-radius: 4px;
  border: 1px solid #242a33;
  cursor: pointer;
  position: relative;
}
.release-menu {
  position: fixed;
  background: #101317;
  border: 1px solid #242a33;
  border-radius: 4px;
  padding: 4px 0;
  z-index: 2000;
  min-width: 180px;
  max-height: 260px;
  overflow: auto;
}
.release-item {
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.release-item:hover {
  background: #1a1e24;
}
.release-item.active {
  color: #26c281;
}
