* { box-sizing: border-box; }
body { font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background:#f4f5f7; margin:0; color:#1f2933; }
.container { max-width: 1000px; margin: 0 auto; padding: 24px; }
nav { background:#1f4e79; color:#fff; padding:12px 24px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; }
nav a { color:#fff; text-decoration:none; margin-left:16px; font-size:14px; }
nav a:hover { text-decoration:underline; }
nav .brand { font-weight:600; font-size:16px; }
h1, h2, h3 { color:#1f4e79; }
table { width:100%; border-collapse: collapse; background:#fff; margin-top:12px; }
th, td { border:1px solid #e1e4e8; padding:8px 12px; text-align:left; font-size:14px; }
th { background:#eef3f8; }
.card { background:#fff; border:1px solid #e1e4e8; border-radius:6px; padding:16px; margin-bottom:16px; }
form label { display:block; margin-top:10px; font-size:13px; font-weight:600; }
input, textarea, select { width:100%; padding:8px; margin-top:4px; border:1px solid #ccc; border-radius:4px; font-size:14px; font-family: inherit; }
textarea { min-height:120px; font-family: Consolas, monospace; }
textarea.textarea-body { min-height:220px; }
.ab-columns { display:flex; gap:16px; }
.ab-columns > div { flex:1; min-width:0; }
.ab-columns textarea { min-height:180px; }
.stats-mini { font-size:12px; color:#6b7785; margin-top:4px; }
.checkbox-list { display:flex; flex-wrap:wrap; gap:12px; margin-top:8px; }
.checkbox-list label { display:flex; align-items:center; gap:6px; font-weight:normal; font-size:14px; margin-top:0; }
.checkbox-list input[type="checkbox"] { width:auto; margin-top:0; }
button, .btn { background:#1f4e79; color:#fff; border:none; padding:8px 16px; border-radius:4px; cursor:pointer; font-size:14px; margin-top:12px; text-decoration:none; display:inline-block; }
button:hover, .btn:hover { background:#163a5c; }
.btn-secondary { background:#6b7785; }
.btn-danger { background:#a02a23; }
.btn-danger:hover { background:#7c1f1a; }
.flash { background:#e9f7ef; border:1px solid #a3d9b1; padding:8px 12px; border-radius:4px; margin-bottom:12px; color:#1d6b39; }
.flash.error { background:#fdecea; border-color:#f5b3ad; color:#a02a23; }
.badge { display:inline-block; padding:2px 8px; border-radius:10px; font-size:11px; font-weight:600; vertical-align:middle; }
.badge.draft { background:#eee; color:#666; }
.badge.running { background:#d4edda; color:#1d6b39; }
.badge.paused { background:#fff3cd; color:#856404; }
.tag-help { font-size:12px; color:#6b7785; margin-top:4px; }
pre { white-space:pre-wrap; background:#fafafa; padding:8px; border-radius:4px; font-size:13px; }
