* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #0f172a; color: #e2e8f0; line-height: 1.6; padding: 24px; }
.container { max-width: 980px; margin: 0 auto; }
header { text-align: center; margin-bottom: 32px; }
header h1 { font-size: 2rem; color: #38bdf8; }
.card { background: #1e293b; border: 1px solid #334155; border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.card h2 { font-size: 1.1rem; margin-bottom: 14px; color: #38bdf8; }
label { display: block; margin-bottom: 14px; font-size: 0.9rem; color: #cbd5e1; }
input, textarea, select { width: 100%; margin-top: 6px; padding: 10px 12px; background: #0f172a; border: 1px solid #334155; border-radius: 8px; color: #e2e8f0; font-family: inherit; font-size: 0.9rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.actions { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
button { padding: 12px 24px; border: none; border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer; }
.btn-primary { background: #0284c7; color: white; }
.btn-danger { background: #dc2626; color: white; }
.btn-secondary { background: #16a34a; color: white; }
.btn-mini { padding: 8px 14px; font-size: 0.82rem; background: #334155; color: #e2e8f0; }
.btn-success { background: #16a34a; color: white; }
.input-group { display: flex; gap: 8px; margin-top: 6px; }
.progress-bar { width: 100%; height: 14px; background: #0f172a; border-radius: 8px; overflow: hidden; margin-bottom: 10px; }
.progress-bar__fill { height: 100%; width: 0%; background: linear-gradient(90deg, #38bdf8, #22d3ee); transition: width 0.3s; }
.log { background: #0f172a; border: 1px solid #334155; border-radius: 8px; padding: 14px; font-family: monospace; font-size: 0.8rem; max-height: 340px; overflow-y: auto; color: #cbd5e1; }
.log .ok { color: #4ade80; } .log .err { color: #f87171; } .log .info { color: #60a5fa; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }