.secret-panel {
  border: 1px solid #304767;
  background: linear-gradient(145deg, #111d34, #0b1426);
  border-radius: 16px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.secret-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.secret-heading strong {
  display: block;
  margin-top: 3px;
}

.key-status {
  border: 1px solid #644c2b;
  background: #30230f;
  color: #ffd38a;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.key-status.configured {
  border-color: #2d6a55;
  background: #123b2f;
  color: #81efc1;
}

.secret-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.secret-help {
  color: #8291ad;
  line-height: 1.45;
}

.secret-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.secret-actions button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

@media (max-width: 720px) {
  header {
    height: auto;
    min-height: 78px;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .header-actions {
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .header-actions #settingsButton {
    display: inline-flex;
    padding: 9px 10px;
  }

  .secret-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .secret-actions button {
    width: 100%;
  }
}
