:root {
  --ink: #0b1020;
  --bg: #0f172a;
  --card: #0b1020;
  --line: #1f2937;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #38bdf8;
  --accent-2: #f97316;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", Arial, sans-serif;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(56,189,248,0.18), transparent 60%),
    radial-gradient(900px 600px at 10% 10%, rgba(249,115,22,0.12), transparent 55%),
    var(--bg);
  color: var(--text);
}
.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-decoration: none;
  color: var(--text);
}
.logo:link,
.logo:visited,
.logo:hover,
.logo:active {
  text-decoration: none !important;
  color: var(--text);
}
.logo span {
  text-decoration: none !important;
}
.logo-badge {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: conic-gradient(from 180deg, #38bdf8, #a855f7, #f97316, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #020617;
  font-weight: 900;
}
nav a {
  font-size: 0.9rem;
  color: var(--muted);
  margin-left: 16px;
  text-decoration: none;
}
nav a:hover { color: var(--text); }
.card {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.title {
  margin: 0 0 6px;
  font-size: 1.6rem;
}
.subtitle {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
}
label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}
input, select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0b1020;
  color: var(--text);
  margin-bottom: 12px;
}
.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.btn {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 700;
  background: var(--accent);
  color: #020617;
}
.btn.secondary {
  background: #0b1020;
  color: var(--text);
  border: 1px solid var(--line);
}
.status {
  min-height: 18px;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}
.status.error { color: #f97373; }
.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(15,23,42,0.6);
  margin-right: 6px;
}
.note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}
.password-req {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}
.password-req ul {
  margin: 6px 0 0 16px;
  padding: 0;
}
.is-hidden {
  display: none;
}
.plan-wrap {
  margin-top: 10px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.legal-note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}
.legal-note a {
  color: var(--accent);
  text-decoration: none;
}
.footer-links {
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
