body { font-family: system-ui, Arial, sans-serif; margin: 0; background: #f5f6fb; color: #1f2937; }
header { background: #111827; color: white; padding: 14px 22px; display:flex; justify-content:space-between; align-items:center; gap:16px; }
nav { display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
nav a { color:white; text-decoration:none; }
nav form { margin:0; }
main { padding: 24px; max-width: 1280px; margin: 0 auto; }
h1 { margin-top: 0; }
.card { background:white; border-radius:12px; padding:20px; box-shadow:0 2px 10px rgba(0,0,0,.08); }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:18px; }
.form { max-width:760px; display:flex; flex-direction:column; gap:10px; }
input, textarea, select { padding:10px; border:1px solid #cbd5e1; border-radius:8px; font: inherit; }
textarea { resize: vertical; }
button,.button { background:#2563eb; color:white; border:0; padding:10px 14px; border-radius:8px; text-decoration:none; cursor:pointer; display:inline-block; font: inherit; }
.danger { background:#dc2626; margin-top:12px; }
table { width:100%; border-collapse:collapse; background:white; border-radius:10px; overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.05); }
th,td { padding:10px; border-bottom:1px solid #e5e7eb; text-align:left; vertical-align:top; }
.warning { background:#fff7ed; border:1px solid #fdba74; padding:12px; border-radius:8px; margin-bottom:12px; }
.notice { background:#ecfdf5; border:1px solid #86efac; padding:12px; border-radius:8px; margin-bottom:14px; }
.error { background:#fee2e2; padding:10px; border-radius:8px; }
.hint, .muted, small { color:#64748b; }
.login-page { display:grid; place-items:center; min-height:100vh; }
.login-page .card { width:360px; display:flex; flex-direction:column; gap:10px; }
code { display:inline-block; word-break:break-all; background:#f1f5f9; padding:2px 5px; border-radius:5px; color:#0f172a; }
.checkbox-row { display:flex; gap:18px; flex-wrap:wrap; }
.actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.actions form { display:inline; margin:0; }
.sent td { background:#f8fffb; }
.failed td { background:#fff7f7; }
