:root { color-scheme: light; --blue:#123a6d; --blue2:#1f5a9d; --gold:#f3b61f; --ink:#182230; --muted:#607084; --line:#dce3ec; --bg:#f3f6fa; --danger:#a62a2a; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font-family:Arial,Helvetica,sans-serif; line-height:1.5; }
.shell { width:min(1120px,calc(100% - 28px)); margin:28px auto 64px; }
.narrow { width:min(650px,calc(100% - 28px)); }
.card { background:#fff; border:1px solid var(--line); border-radius:16px; padding:24px; margin-bottom:18px; box-shadow:0 8px 24px rgba(18,58,109,.07); }
.top { border-top:5px solid var(--gold); }
.brand { color:var(--blue); font-size:1.45rem; font-weight:800; letter-spacing:.02em; }
.tag,.muted { color:var(--muted); }
h1,h2 { color:var(--blue); line-height:1.2; }
h1 { font-size:1.8rem; }
h2 { font-size:1.35rem; }
label,legend { display:block; font-weight:700; margin:0 0 16px; }
input,textarea,select { width:100%; margin-top:7px; border:1px solid #aab7c6; border-radius:9px; padding:12px; font:inherit; color:inherit; background:#fff; }
input:focus,textarea:focus { outline:3px solid rgba(31,90,157,.18); border-color:var(--blue2); }
fieldset { border:1px solid var(--line); border-radius:10px; padding:14px 16px 3px; margin:0 0 20px; }
.radio { display:flex; gap:9px; align-items:center; font-weight:400; }
.radio input { width:auto; margin:0; }
button { border:0; border-radius:9px; background:var(--blue); color:#fff; padding:11px 18px; font:inherit; font-weight:700; cursor:pointer; }
button:hover { background:var(--blue2); }
button:disabled { opacity:.55; cursor:not-allowed; }
button.secondary { background:#e7edf5; color:var(--blue); }
.button-link { display:inline-block; border-radius:9px; padding:11px 18px; color:#fff; font-weight:700; text-decoration:none; }
.button-link[hidden] { display:none; }
.button-link.whatsapp { background:#187b42; }
.button-link.whatsapp:hover { background:#126333; }
.status { min-height:1.5em; color:var(--danger); font-weight:700; }
.notice { background:#fff8df; border-left:4px solid var(--gold); padding:10px 12px; }
.success { text-align:center; border-top:5px solid #23824a; }
.registration-number { display:inline-block; font-size:1.35rem; color:var(--blue); background:#eef4fb; padding:10px 14px; border-radius:8px; }
.grid.two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px; }
.grid .wide { grid-column:1/-1; }
.row-between { display:flex; justify-content:space-between; align-items:center; gap:15px; }
.actions { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0; }
.campaign-list { display:grid; gap:9px; }
.campaign-item { display:flex; justify-content:space-between; text-align:left; width:100%; background:#f5f8fc; color:var(--ink); border:1px solid var(--line); }
.campaign-item:hover { background:#eaf1f9; }
.campaign-item span { color:var(--muted); }
.link-panel { display:grid; grid-template-columns:200px 1fr; gap:20px; align-items:center; background:#f7f9fc; padding:18px; border-radius:12px; margin-bottom:18px; }
.whatsapp-panel { background:#eef9f2; border:1px solid #cde8d7; border-radius:12px; padding:16px; margin:0 0 18px; }
.break-word { overflow-wrap:anywhere; }
.pill { border-radius:999px; padding:5px 11px; color:var(--blue); background:#e8f0fa; font-weight:700; }
.table-wrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; font-size:.94rem; }
th,td { padding:10px; border-bottom:1px solid var(--line); text-align:left; white-space:nowrap; }
th { color:var(--blue); background:#f5f8fc; }
@media (max-width:700px) { .grid.two,.link-panel { grid-template-columns:1fr; } .row-between { align-items:flex-start; } .card { padding:18px; } }

/* Registration row management — v1.4 */
.row-actions { white-space:nowrap; }
.row-actions button + button { margin-left:6px; }
.small-btn { padding:7px 10px; font-size:.86rem; }
button.danger-btn { background:var(--danger); }
button.danger-btn:hover { filter:brightness(.9); }
.edit-dialog { width:min(520px, calc(100% - 32px)); border:0; border-radius:14px; padding:0; box-shadow:0 18px 60px rgba(0,0,0,.25); }
.edit-dialog::backdrop { background:rgba(15,23,42,.55); }
.edit-dialog form { padding:24px; }
.edit-dialog h2 { margin-top:0; }
.edit-dialog select { width:100%; box-sizing:border-box; border:1px solid var(--line); border-radius:8px; padding:11px; font:inherit; background:#fff; color:var(--ink); }
