html, body { margin: 0; height: 100%; background: #FAFAFA; color: #18181B;
  font: 14px/1.55 "Segoe UI", system-ui, -apple-system, sans-serif; }
#app { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #FAFAFA; }
#app[hidden] { display: none; }
.wait { position: fixed; inset: 0; display: grid; place-items: center; color: #71717A; }
.wait[hidden] { display: none; }
.help { min-height: 100%; display: grid; place-items: center; padding: 24px 16px; box-sizing: border-box; }
.help[hidden] { display: none; }
.card { max-width: 620px; background: #fff; border: 1px solid #E5E5E5; border-radius: 12px; padding: 24px 28px; }
.head { display: flex; align-items: center; gap: 12px; }
.logo { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  font-weight: 800; background: linear-gradient(135deg, #3E8EFF, #7C5CFF); }
h1 { font-size: 18px; margin: 0; }
ol { padding-left: 20px; }
li { margin-bottom: 10px; }
code { background: #F5F5F5; border-radius: 4px; padding: 1px 6px; font-size: 13px; }
.muted { color: #71717A; font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.btn { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 8px;
  border: 1px solid #D4D4D8; background: #fff; color: #18181B; font-weight: 600; text-decoration: none; }
.btn:hover { border-color: #A1A1AA; }
.btn.primary { background: #1F6FE0; border-color: #1F6FE0; color: #fff; }
.btn.primary:hover { background: #1A5FC4; border-color: #1A5FC4; }
.btn.busy { pointer-events: none; opacity: .85; }
.spin { width: 14px; height: 14px; margin-right: 8px; border-radius: 50%; border: 2px solid currentColor;
  border-right-color: transparent; animation: spin .8s linear infinite; }
.spin[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 3s; } }
.btn:focus-visible { outline: 2px solid #1F6FE0; outline-offset: 2px; }
.btn[hidden], .hint[hidden], #steps[hidden], #open-wait[hidden] { display: none; }
.hint { color: #B45309; margin: 6px 0; }
h2 { font-size: 15px; margin: 18px 0 6px; }
details.more { margin-top: 14px; }
details.more summary { cursor: pointer; color: #52525B; }
@media (max-width: 480px) { .card { padding: 20px 16px; } .btn { padding: 0 12px; } }
