* { box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px 80px;
  color: #111;
  background: #f8f9fb;
  line-height: 1.55;
}
h1 { font-size: 26px; margin: 0 0 4px; }
h2 { font-size: 18px; margin: 32px 0 12px; }
.sub { color: #666; margin-bottom: 24px; }
.card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 20px 22px; margin: 16px 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.card h3 { margin: 0 0 10px; font-size: 15px; }
code, pre {
  background: #0f172a; color: #e2e8f0; padding: 2px 6px; border-radius: 4px;
  font-size: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
pre { padding: 12px 14px; overflow-x: auto; line-height: 1.5; }
.step { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; }
.step .num {
  flex: 0 0 26px; height: 26px; border-radius: 50%;
  background: #ff4747; color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.btn {
  display: inline-block; padding: 9px 16px; border-radius: 8px;
  background: #ff4747; color: #fff; text-decoration: none; font-weight: 700;
  border: none; cursor: pointer; font-size: 13px;
}
.btn.alt { background: #111; }
.btn:hover { opacity: 0.92; }
.status-line { font-size: 13px; margin-top: 8px; }
.ok { color: #16a34a; }
.err { color: #dc2626; }
table { width: 100%; border-collapse: collapse; margin-top: 8px; }
th, td { padding: 8px 10px; border-bottom: 1px solid #eee; text-align: left; font-size: 13px; vertical-align: top; }
th { background: #fafafa; font-weight: 600; }
img.thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; background: #eee; }
.row-actions button {
  background: transparent; color: #dc2626; border: 1px solid #fca5a5;
  padding: 4px 8px; border-radius: 6px; cursor: pointer; font-size: 12px;
}
.row-actions button:hover { background: #fef2f2; }
input.token { width: 340px; padding: 8px; border: 1px solid #ccc; border-radius: 6px; font-family: ui-monospace, monospace; font-size: 12px; }
