.live-tag {
  background: #e1f1eb;
  color: #087b70;
  padding: 7px 12px;
  border-radius: 6px;
  white-space: nowrap;
}
.live-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
}
.live-toolbar span,
.live-toolbar label,
small {
  color: var(--muted);
  font-size: 12px;
}
button {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 12px;
  background: white;
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
.primary {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
.login-panel {
  max-width: 560px;
  padding: 28px;
}
label {
  display: block;
}
input:not([type="checkbox"]) {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  max-width: 100%;
  min-width: 0;
}
.login-panel input {
  width: 100%;
  margin: 8px 0 18px;
}
.login-panel small {
  display: block;
  margin-top: 16px;
}
#message:empty {
  display: none;
}
#account-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 18px;
}
.live-card,
#actions .panel,
#upstream-logins .panel {
  padding: 22px;
  margin-bottom: 18px;
}
.live-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}
.live-card p {
  margin: 7px 0;
  overflow-wrap: anywhere;
}
.live-card h4 {
  margin: 18px 0 10px;
  font-size: 15px;
}
.live-card input {
  width: 80px;
}
table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  text-align: left;
}
td,
th {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
td {
  font-size: 12px;
  word-break: break-word;
  max-width: 300px;
}
th {
  color: var(--muted);
  background: #f9fafb;
  font-size: 11px;
  font-weight: 600;
}
td small {
  display: block;
  margin-top: 4px;
}
.state {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  background: #eff3f5;
}
.state.completed {
  background: #e0f1e9;
  color: #216548;
}
.state.failed,
.state.unknown {
  background: #fff0df;
  color: #855811;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    12px/1.7 ui-monospace,
    monospace;
  background: #f3f6f8;
  padding: 16px;
  border-radius: 6px;
  max-height: 48vh;
  overflow: auto;
}
#detail {
  width: min(1100px, 94vw);
  padding: 24px;
}
#confirm {
  padding: 24px;
  width: min(600px, 94vw);
}
details {
  margin: 14px 0;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
.receipt {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  overflow-wrap: anywhere;
}
@media (max-width: 650px) {
  .live-tag {
    display: none;
  }
  .login-panel {
    padding: 20px;
  }
  .live-toolbar {
    gap: 10px;
  }
}
