:root {
  --bg: #0f1117; --surface: #1a1d27; --border: #2e3350;
  --accent: #4f8ef7; --success: #2ecc71; --danger: #e74c3c;
  --text: #e4e6f1; --muted: #7a7f9a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: 'Segoe UI', system-ui, sans-serif; }
.view { max-width: 640px; margin: 0 auto; padding: 24px 16px; }
.hidden { display: none; }
.login-box { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 32px; margin-top: 80px; text-align: center; }
.login-box p { color: var(--muted); margin-top: 12px; }
header button { background: var(--accent); color: #fff; border: none; border-radius: 6px; padding: 10px 20px; cursor: pointer; }
header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.action-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 16px; margin-bottom: 12px; }
.action-card h3 { margin-bottom: 4px; }
.action-card p { color: var(--muted); font-size: 0.85rem; margin-bottom: 12px; }
.action-card button { background: var(--accent); color: #fff; border: none; border-radius: 6px; padding: 8px 16px; cursor: pointer; }
.action-result { margin-top: 10px; font-size: 0.9rem; background: var(--bg); padding: 8px; border-radius: 6px; line-height: 1.6; }
.action-result pre { font-family: monospace; font-size: 0.8rem; white-space: pre-wrap; margin-top: 6px; }
.status-row { padding: 2px 0; }
.status-state { color: var(--muted); font-size: 0.8rem; }
.result-ok { color: var(--success); font-weight: 600; }
.result-fail { color: var(--danger); font-weight: 600; }
#live-log { font-family: monospace; font-size: 0.8rem; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 12px; max-height: 300px; overflow-y: auto; }
