.simple-wrap {
  max-width: 56rem;
}

.simple-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(125, 211, 252, 0.28);
  padding: 18px;
  background:
    linear-gradient(140deg, rgba(30, 64, 175, 0.24) 0%, rgba(8, 13, 28, 0.9) 44%),
    linear-gradient(180deg, rgba(10, 16, 32, 0.85), rgba(6, 10, 21, 0.95));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}

.simple-header-actions {
  flex-shrink: 0;
}

.simple-lead {
  max-width: 44rem;
  margin-top: 0.5rem;
  color: #dbe7ff;
  line-height: 1.52;
}

.simple-flow-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.3), rgba(8, 14, 30, 0.9));
}

.simple-flow-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(141, 165, 231, 0.28);
  border-radius: 10px;
  min-height: 40px;
  padding: 7px 11px;
  color: #dbe6ff;
  background: rgba(10, 18, 40, 0.72);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}

.simple-flow-strip a span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  background: rgba(56, 189, 248, 0.22);
  color: #dbeafe;
  border: 1px solid rgba(125, 211, 252, 0.45);
}

.simple-flow-strip a:hover {
  border-color: rgba(125, 211, 252, 0.62);
  background: rgba(30, 41, 59, 0.62);
}

.simple-h2 {
  font-size: 1.16rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.simple-note {
  margin-top: 0;
  margin-bottom: 1rem;
}

.simple-message {
  min-height: 1.25rem;
  margin: 0.4rem 0 0.1rem;
  font-weight: 600;
}

.simple-message.warn {
  color: var(--warn-fg, #fbbf24);
}

.simple-message.error {
  color: var(--error-fg, #f87171);
}

.simple-message.ok {
  color: var(--ok-fg, #4ade80);
}

.simple-supabase {
  margin-bottom: 1rem;
}

.simple-jwt-details {
  margin-top: 0.5rem;
}

.simple-status .simple-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.simple-pill {
  padding: 0.42rem 0.68rem;
  border-radius: 0.62rem;
  background: rgba(8, 14, 30, 0.74);
  border: 1px solid rgba(125, 211, 252, 0.25);
  font-size: 0.875rem;
}

.simple-pill strong {
  display: inline-block;
  margin-left: 0.25rem;
}

.simple-scan-headline {
  font-weight: 600;
}

#simpleProgressWrap {
  margin: 0.75rem 0;
}

#simpleProgressWrap progress {
  width: 100%;
}

#simpleMain > .card {
  border-radius: 16px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  background: linear-gradient(165deg, rgba(10, 16, 32, 0.9), rgba(7, 12, 24, 0.96));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.36);
}

#simpleMain .table-wrap {
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  background: rgba(6, 10, 22, 0.66);
}

#simpleMain table thead th {
  background: rgba(15, 23, 42, 0.88);
  color: #dbe7ff;
}

#simpleMain table tbody tr:hover {
  background: rgba(30, 58, 138, 0.24);
}

@media (max-width: 760px) {
  .simple-flow-strip {
    grid-template-columns: 1fr;
  }
  .simple-header {
    padding: 14px;
  }
  .simple-wrap {
    max-width: 100%;
  }
}
