.campaign-banner{position:relative;isolation:isolate;overflow:hidden;margin:12px 0 16px;border:1px solid #ceddcf;border-radius:8px;background:#e9efe7}.campaign-banner picture{position:absolute;inset:0;z-index:-1}.campaign-banner picture img{width:100%;height:100%;object-fit:cover;display:block}.campaign-band{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;background:rgba(255,255,250,.91);padding:14px 16px}.campaign-band h3{font-size:19px;line-height:1.45;margin:0 0 6px;color:#233f30;font-weight:700}.campaign-band p{font-size:13px;line-height:1.6;margin:0;color:#364b3c}.campaign-actions{display:flex;flex-direction:column;gap:7px;align-items:center}.campaign-button{display:inline-flex;align-items:center;justify-content:center;min-height:32px;border:1px solid #3e684a;border-radius:5px;background:#416a4c;color:#fff!important;padding:6px 11px;text-decoration:none;font-size:13px;font-weight:600;line-height:1.4;white-space:normal;text-align:center}.campaign-button:hover{background:#31563c}.campaign-login{font-size:11px;color:#52634f;line-height:1.4}.campaign-lock{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 10px;padding:7px 9px;font-size:12px;line-height:1.6}.campaign-lock .campaign-button{font-size:12px;min-height:28px;padding:4px 9px}.campaign-confirmed{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;margin:9px 0 5px;padding:7px 9px;background:#f0f5ef;border-radius:5px;font-size:12px}.campaign-confirmed .campaign-button{font-size:12px;min-height:28px;padding:4px 9px}.campaign-notice{padding:8px 12px;border-left:3px solid #79936d;background:#eff4e9;font-size:14px;line-height:1.6}.campaign-preview-note{color:#8a592e;font-size:12px;margin:5px 0}.campaign-admin .campaign-stats{table-layout:auto}.campaign-stats th,.campaign-stats td{width:auto!important}.campaign-stats th:first-child,.performance-table th:first-child{font-size:inherit}.campaign-stats th:first-child::before,.performance-table th:first-child::before{content:none}.performance-table{table-layout:auto}.campaign-preview-links{font-size:13px}body .performance-table th,body .performance-table td{width:auto}
@media(max-width:700px){.campaign-band{grid-template-columns:1fr;gap:9px;padding:11px 12px}.campaign-band h3{font-size:17px;line-height:1.4;margin-bottom:5px}.campaign-band p{font-size:12px;line-height:1.5}.campaign-actions{align-items:flex-start;gap:5px}.campaign-button{font-size:12px;padding:5px 9px;min-height:29px}.campaign-login{font-size:11px}.campaign-lock{padding:6px 8px}.campaign-lock span{max-width:100%;overflow-wrap:anywhere}.campaign-confirmed{align-items:flex-start}.campaign-notice{font-size:12px}.performance-table{min-width:420px}}

/* Additions are scoped; the top page's typography, table and grid stay unchanged. */
.shell .campaign-band{display:block;padding:10px 12px}.shell .campaign-band h3{font-size:14px;line-height:1.45;margin:0 0 4px}.shell .campaign-band p{font-size:11px;line-height:1.5}.shell .campaign-actions{flex-direction:row;flex-wrap:wrap;justify-content:flex-start;gap:6px 10px;margin-top:7px}.shell .campaign-button{font-size:11px;min-height:28px;padding:4px 8px}.shell .campaign-login{font-size:10px}.shell .campaign-banner{margin:8px 0 10px}.shell .campaign-lock{margin:0;padding:6px 8px;background:#f7f5ed;border-top:1px solid #dfdecf;border-bottom:1px solid #dfdecf;border-radius:0;font-size:11px;line-height:1.4}.shell .campaign-confirmed{font-size:11px}.shell .campaign-notice{font-size:12px}.campaign-result-marks{padding:6px 8px;font-size:11px}.supporter-controls{display:flex;gap:5px 10px;align-items:center;flex-wrap:wrap;margin:7px 0;font-size:10px;color:#6a756c}.supporter-controls a{color:#45694d}.supporter-controls button{font:inherit;padding:3px 6px}.supporter-panel{padding:10px;background:#fff;border:1px solid #dbe4dc;border-radius:6px;margin:8px 0}.supporter-panel h2{font-size:17px}.supporter-panel h3{font-size:14px}.supporter-panel p,.supporter-panel label{font-size:12px;line-height:1.6}.supporter-panel form{margin:10px 0}.supporter-panel label{display:block;margin:7px 0}.supporter-panel input:not([type=checkbox]),.supporter-panel select{font:inherit;max-width:100%;padding:6px;border:1px solid #b8c8bc;border-radius:4px;display:block}.supporter-panel button{font:inherit;padding:5px 9px;border:1px solid #a3b7a8;border-radius:4px;background:#edf4ee;color:#294a32}.supporter-panel details{padding:8px;margin:10px 0;border:1px solid #dbe4dc;border-radius:5px}.supporter-panel article{margin:8px 0;padding:6px;border:1px solid #dbe4dc}.supporter-panel .actions{display:flex;gap:5px;flex-wrap:wrap}.supporter-panel .actions form{margin:0}.supporter-panel table{width:100%;border-collapse:collapse;font-size:11px;table-layout:auto}.supporter-panel th,.supporter-panel td{padding:5px 4px;text-align:right;border-bottom:1px solid #dae3dc}.supporter-panel th{background:#eef3ef}.supporter-panel .table-scroll{max-width:100%;overflow-x:auto}.supporter-panel .performance-table{min-width:0;white-space:normal}.supporter-watermark{font-size:10px;color:#8b978e;text-align:right;padding:4px 8px;pointer-events:none}#session-message:not(:empty){padding:8px;color:#962e2e;background:#fff1f1;border:1px solid #e2c7c7;font-size:12px}
@media(max-width:600px){.shell .campaign-band{padding:8px 10px}.shell .campaign-band h3{font-size:13px}.shell .campaign-band p{font-size:11px}.shell .campaign-login{font-size:10px}.shell .campaign-actions{gap:5px}.supporter-panel .performance-table th,.supporter-panel .performance-table td{font-size:10px;padding:4px 2px;width:auto!important}}

.supporter-panel .roster-guard-warning{border:2px solid #b73434;border-radius:6px;background:#fff0f0;color:#922727;padding:10px;margin:10px 0}.supporter-panel .roster-guard-warning h3{color:#922727;margin-top:0}.roster-removed-ids{max-height:12em;overflow:auto;font-size:12px;padding-left:24px}.supporter-panel .roster-guard-warning button{background:#a82d2d;color:white;border-color:#a82d2d}

.supporter-panel textarea{display:block;width:100%;max-width:100%;font:inherit;padding:6px;border:1px solid #b8c8bc;border-radius:4px;box-sizing:border-box}.roster-fetch-late{color:#962929;background:#fff0f0;border:1px solid #bd4c4c;padding:8px}.roster-schedule-admin{border:1px solid #dbe4dc;border-radius:6px;padding:8px;margin:10px 0}#registration-retry{margin-top:7px}

.member-card-help{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center}.member-card-help a{color:#355b42;text-decoration:underline;text-underline-offset:3px}.member-card-figure{margin:16px 0}.member-card-figure img{display:block;width:100%;max-width:100%;height:auto;border:1px solid #dbe4dc;border-radius:5px;box-sizing:border-box}.member-card-figure figcaption{font-size:11px;color:#66766b;margin-top:4px}
dialog.mark-reset-confirm{position:fixed;inset:50% auto auto 50%;margin:0;transform:translate(-50%,-50%);width:min(320px,calc(100vw - 32px));max-width:calc(100vw - 32px);height:auto;min-height:0;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);box-sizing:border-box;padding:16px;border:1px solid #b7c8bd;border-radius:12px;background:#fff;color:#17372a;box-shadow:0 12px 40px #0003;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:max-content max-content;align-content:start;gap:12px;font-size:16px;line-height:1.5;z-index:100}dialog.mark-reset-confirm:not([open]){display:none!important}dialog.mark-reset-confirm::backdrop{background:rgba(0,0,0,.4)}dialog.mark-reset-confirm .mark-reset-question{flex-basis:100%;margin:0 0 6px}dialog.mark-reset-confirm button{min-width:88px;min-height:44px;padding:8px 18px;border-radius:6px;font-size:16px}
.supporter-source-status{font-size:12px;color:#63756c;margin:4px 0 8px}

dialog.mark-reset-confirm[open]{display:grid;position:fixed;inset:50% auto auto 50%;margin:0;transform:translate(-50%,-50%);width:min(320px,calc(100vw - 32px));height:auto;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:max-content max-content;align-content:start;gap:12px;box-sizing:border-box;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;white-space:normal}dialog.mark-reset-confirm[open] .mark-reset-question{grid-column:1 / -1;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}dialog.mark-reset-confirm[open] button{min-width:0;width:100%;margin:0}

.race-reaction{display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;color:#354b3f;font-size:12px}
.race-reaction[hidden]{display:none}
.race-reaction-result{padding:5px 8px;background:#f1f6f1;border-top:1px solid #dfe8df;border-bottom:1px solid #dfe8df}
.race-reaction-actions{display:flex;gap:5px}
.race-reaction-button,.race-reaction-close{border:1px solid #a9bdad;border-radius:6px;background:#fff;color:#294b37;font:inherit;font-weight:700;min-height:30px;padding:3px 9px;cursor:pointer}
.race-reaction-button:hover,.race-reaction-close:hover{background:#e6efe7}
.race-reaction-button:focus-visible,.race-reaction-close:focus-visible{outline:2px solid #316746;outline-offset:2px}
dialog.race-reaction-dialog[open]{display:grid;grid-template-rows:max-content max-content;justify-items:end;gap:7px;position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;box-sizing:border-box;width:min(360px,calc(100vw - 28px));height:auto;min-height:0;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #a9bdad;border-radius:14px;padding:8px;background:#fffdf9;color:#354b3f;box-shadow:0 8px 36px #1d2c2538}
.race-reaction-dialog::backdrop{background:#1c282366}
.race-reaction-media{width:100%;display:grid;justify-items:center;align-items:center;min-height:38px;font-size:14px}
.race-reaction-media img{display:block;width:100%;height:auto;max-height:calc(100vh - 82px);max-height:calc(100dvh - 82px);object-fit:contain;border-radius:9px}
.race-reaction-close{min-height:36px;font-size:13px}
@media(max-width:600px){.race-reaction-button{min-height:34px}.race-reaction-close{min-height:40px}}

