:root { font: 16px system-ui, sans-serif; color: #142b3d; background: #f2f4ef; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { background: #0c3960; color: white; padding: 16px max(20px, calc((100vw - 880px)/2)); display:flex; align-items:center; justify-content:space-between; }
h1 { margin: 0; font-size: 1.5rem; white-space:nowrap; }
main { max-width: 920px; margin: auto; padding: 0 20px 32px; }
section { background: white; border: 1px solid #dbe1df; border-radius: 12px; padding: 20px; margin: 16px 0; }
h2 { margin: 0 0 12px; font-size: 1.18rem; }
form { display: grid; gap: 12px; margin: 12px 0; }
label { display: grid; gap: 4px; }
.check { display:flex; align-items: baseline; gap: 8px; }
input,textarea,button,select { font:inherit; }
input:not([type=checkbox]), textarea,select { width:100%; padding:8px; border:1px solid #7a8b96; border-radius: 5px; }
textarea { min-height: 100px; }
button { cursor:pointer; border: 1px solid #0c3960; background: #0c3960; color:white; border-radius: 6px; padding: 8px 12px; width:fit-content; }
button:disabled { opacity:.6; cursor:wait; }
fieldset { border:1px solid #a7b5bd; border-radius:6px; min-width:0; }
.choices { display:grid; gap:6px; max-height:220px; overflow:auto; margin-top:8px; }
.interval { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
#notice { position:sticky; top:0; background:#eceddf; padding:10px; z-index:1; }
#notice:empty { display:none; }
#qr { width:240px; max-width:100%; image-rendering:pixelated; }
#campaign-message { white-space:pre-wrap; overflow-wrap:anywhere; }
.table-wrap { overflow:auto; margin-top:12px; max-height:440px; }
table { width:100%; border-collapse:collapse; text-align:left; }
th,td { padding:8px; border-bottom:1px solid #dbe1df; }
td:last-child { font-size:.85rem; overflow-wrap:anywhere; }
