:root {
  --bg: #0f172a;
  --panel: #111827;
  --line: #1f2937;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #0ea5e9;
  --accent-2: #0369a1;
  --ok: #22c55e;
  --err: #f43f5e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  width: 360px;
  min-height: 320px;
  font-family: "Segoe UI", "SF Pro Text", "Noto Sans", sans-serif;
  background: radial-gradient(circle at top right, #0b243a 0%, var(--bg) 50%, #0b1323 100%);
  color: var(--text);
}

.card {
  padding: 14px;
}

.quick-guide {
  border: 1px solid #1e293b;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.7);
  padding: 8px 10px;
  margin-bottom: 10px;
  font-size: 12px;
}

.quick-guide strong {
  display: block;
  margin-bottom: 4px;
  color: #bfdbfe;
}

.quick-guide ol {
  margin: 0;
  padding-left: 16px;
  color: #cbd5e1;
}

.quick-guide li {
  margin: 2px 0;
}

h1 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.offer {
  margin: 0 0 10px;
  font-size: 12px;
  color: #fef08a;
}

.cta-link {
  display: block;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: #082f49;
  background: linear-gradient(180deg, #fde68a, #f59e0b);
}

.cta-link:hover {
  filter: brightness(1.03);
}

label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}

textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  padding: 10px;
  resize: vertical;
  outline: none;
}

textarea:focus {
  border-color: var(--accent);
}

.controls {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}

.wizard {
  margin: 0 0 8px;
  display: flex;
  gap: 8px;
}

.btn {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #111827;
  color: var(--text);
  padding: 9px 10px;
  cursor: pointer;
}

.btn.small {
  padding: 7px 8px;
  font-size: 12px;
}

.btn.primary {
  border-color: transparent;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.btn:disabled {
  opacity: 0.7;
  cursor: default;
}

.status {
  min-height: 18px;
  margin: 10px 0 4px;
  font-size: 12px;
}

.status.ok {
  color: var(--ok);
}

.status.err {
  color: var(--err);
}

.hint {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.cabinet-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: #7dd3fc;
  text-decoration: none;
}

.cabinet-link:hover {
  text-decoration: underline;
}
