/* Dirty Bags Sponsor Boards — black, white, Dirty Bags green. Mobile first. */
:root {
  /* Brand colors: black base with Dirty Bags green.
     Change them without editing this file via the BRAND_COLOR / ACCENT_COLOR settings. */
  --brand: #161616;
  --brand-dark: #000000;
  --brand-tint: #f0f4ea;
  --accent: #66c010;
  --accent-text: #3b7a06;
  --on-accent: #111111;
  --danger: #b3261e;
  --ink: #161616;
  --muted: #5f6368;
  --line: #e3e3e1;
  --bg: #f5f5f4;
  --card: #fff;
  --ok: #1f7a3d;  --ok-bg: #e5f4ea;
  --warn: #9a5b00; --warn-bg: #fff3dc;
  --info: #2c5aa0; --info-bg: #e7eefa;
  --act: #161616; --act-bg: #ececea;
  --wait: #5f6368; --wait-bg: #efefee;
  --radius: 12px;
  --tap: 48px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Arial Black", "Helvetica Neue", Impact, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 var(--font); color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .4em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .75em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.hl { color: var(--brand); font-weight: 700; }
.opt { font-weight: 400; color: var(--muted); font-size: .85em; }

/* Header / footer */
.site-header { background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); position: sticky; top: 0; z-index: 10; border-bottom: 4px solid var(--accent); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-height: 44px; }
.wordmark { white-space: nowrap; display: inline-flex; flex-direction: column; line-height: .9; font-family: var(--display); }
.wordmark b { font-size: 1.15rem; letter-spacing: .02em; }
.wordmark i { font-style: normal; font-size: .62rem; letter-spacing: .38em; color: var(--accent); font-family: var(--font); font-weight: 800; margin-top: 3px; }
.wordmark.sm b { font-size: .95rem; }
.brand-img { height: 36px; width: auto; } .brand-img.sm { height: 28px; }
.product { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #c9c9c9; border-left: 1px solid #3d3d3d; padding-left: 10px; }
.topnav { display: flex; align-items: center; gap: 4px; }
.topnav a, .topnav .linkbtn { color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; padding: 10px 8px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.topnav form { margin: 0; }
.site-footer { background: var(--brand); color: #c9c9c9; padding: 24px 16px 40px; margin-top: 48px; font-size: .85rem; }
.site-footer .wordmark { color: #fff; }
.site-footer a { color: #fff; }
.site-footer p { margin-top: 10px; }

.main { max-width: 1040px; margin: 0 auto; padding: 16px; }
.narrow { max-width: 560px; margin: 0 auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--tap); padding: 10px 18px; border-radius: 10px; border: 2px solid transparent; font: 700 1rem var(--font); text-decoration: none; cursor: pointer; text-align: center; line-height: 1.2; -webkit-tap-highlight-color: transparent; }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-secondary:hover { background: #f1f1f1; }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn-danger { background: #fff; color: var(--danger); border-color: var(--danger); }
.btn-lg { min-height: 56px; font-size: 1.1rem; padding: 14px 24px; }
.btn-sm { min-height: 44px; padding: 8px 14px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; color: var(--brand); font: 600 1rem var(--font); text-decoration: underline; cursor: pointer; padding: 10px 0; }
.btn-link.danger { color: var(--danger); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.btn-row form { margin: 0; }
button[disabled], .btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Forms */
.stack { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .95rem; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], input[type=url], input:not([type]), textarea, select {
  font: 16px var(--font); padding: 12px; border: 1.5px solid #c8cacd; border-radius: 10px; background: #fff; color: var(--ink); min-height: var(--tap); width: 100%;
}
textarea { resize: vertical; min-height: 0; }
input[readonly], textarea[readonly] { background: #f7f7f7; }
fieldset { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px 14px 14px; margin: 0; display: flex; flex-direction: column; gap: 12px; }
legend { font-weight: 800; padding: 0 6px; }
.row2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; }
.check input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--brand); }
.radios { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
.radios label { flex-direction: row; align-items: center; gap: 8px; font-weight: 600; min-height: 44px; }
.radios input { width: 20px; height: 20px; accent-color: var(--brand); }
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details.optional > summary { font-weight: 700; color: var(--brand); padding: 10px 0 10px 32px; min-height: 44px; position: relative; }
details.optional > summary::before { position: absolute; left: 0; top: 10px; content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--brand); font-weight: 800; }
details.optional[open] > summary::before { content: "–"; }
details.optional[open] { display: flex; flex-direction: column; gap: 12px; }
.inline-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.inline-row select { width: auto; flex: 1; min-width: 200px; }
.inline-form { margin: 0; }

/* Cards & notices */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; margin-bottom: 16px; }
.card.empty { text-align: center; padding: 28px 16px; }
.notice { background: var(--info-bg); border-left: 4px solid var(--info); padding: 12px 14px; border-radius: 8px; margin: 10px 0; }
.notice.warn { background: var(--warn-bg); border-left-color: #d98a00; }
.flash { max-width: 1040px; margin: 12px auto 0; padding: 12px 16px; border-radius: 10px; font-weight: 600; background: var(--ok-bg); color: var(--ok); border: 1px solid #bfe3cb; width: calc(100% - 32px); }
.flash.err { background: #fdecea; color: var(--danger); border-color: #f4c7c3; }
.demo-banner { background: repeating-linear-gradient(-45deg, #fff3dc, #fff3dc 12px, #ffecc4 12px, #ffecc4 24px); border: 1.5px dashed #d98a00; color: #6b4000; padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; font-size: .92rem; }
.tag-demo { display: inline-block; background: #d98a00; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; padding: 2px 7px; border-radius: 4px; vertical-align: middle; }
.page-head, .section-head, .event-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.section-head h2, .section-head h3 { margin: 0; }
.back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--muted); }
.count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; background: var(--accent); color: var(--on-accent); font-size: .85rem; vertical-align: middle; margin-left: 4px; }

/* Status badges — always text + color */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .85rem; font-weight: 700; white-space: nowrap; border: 1px solid transparent; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.t-done { background: var(--ok-bg); color: var(--ok); border-color: #bfe3cb; }
.t-warn { background: var(--warn-bg); color: var(--warn); border-color: #f3d9a4; }
.t-info { background: var(--info-bg); color: var(--info); border-color: #c9d8f2; }
.t-action { background: var(--act-bg); color: var(--act); border-color: #d6d6d3; }
.t-wait { background: var(--wait-bg); color: var(--wait); border-color: #dcdddf; }
.t-wait .dot { background: transparent; border: 2px solid currentColor; width: 9px; height: 9px; }

/* Public page */
.v-public .main { max-width: 1120px; }
.hero { display: grid; gap: 22px; padding: 12px 0 28px; }
.eyebrow { text-transform: uppercase; font-size: .78rem; font-weight: 800; letter-spacing: .12em; color: var(--accent-text); margin-bottom: 8px; }
.hero h1 { font-family: var(--display); font-size: 2.2rem; line-height: 1.02; text-transform: uppercase; letter-spacing: -.01em; }
.lede { font-size: 1.1rem; color: #3a3a3a; max-width: 36em; }
.cta-row { display: flex; flex-direction: column; gap: 6px; align-items: stretch; margin-top: 18px; }
.cta-row .btn-link { text-align: center; }
.hero-photo { margin: 0; border-radius: 14px; overflow: hidden; background: #e9e9e6; box-shadow: 0 24px 50px -28px rgba(0,0,0,.55); }
.hero-photo img { width: 100%; height: auto; }
.how h2, .cta-band h2 { font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 16px 16px 16px 64px; position: relative; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--display); }
.steps b { display: block; font-size: 1.05rem; } .steps span { color: var(--muted); }
.points { display: grid; gap: 12px; margin: 28px 0; }
.points > div { border-top: 4px solid var(--brand); padding-top: 12px; }
.cta-band { background: var(--brand); color: #fff; border-radius: 16px; padding: 28px 20px; text-align: center; margin-top: 12px; background-image: linear-gradient(135deg, rgba(102,192,16,0) 60%, rgba(102,192,16,.28)); }
.cta-band p { color: #d6d6d6; }

/* Events list */
.event-grid { display: grid; gap: 12px; }
.event-card { display: block; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 16px; text-decoration: none; color: inherit; }
.event-card h2 { margin: 0; display: inline; }
.ec-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.ec-progress { margin: 6px 0 2px; } .ec-next { font-weight: 700; margin: 0; color: var(--brand); }
.demo-offer { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }

/* Dashboard */
.inhand { margin: 0; }
.status-strip { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.stat-big { font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; }
.bar { height: 10px; background: #ececec; border-radius: 6px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--accent); border-radius: 6px; transition: width .2s; }
.stat-pills { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat-pills li { background: #f6f6f6; border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
.stat-pills li b { display: block; font-size: 1.25rem; }
.stat-pills li.warn { background: var(--warn-bg); color: var(--warn); }
.stat-pills li.act { background: var(--act-bg); color: var(--act); }
.order-ready { margin: 14px 0 0; font-weight: 800; }
.order-ready.yes { color: var(--ok); } .order-ready.no { color: var(--muted); }
.next-step { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 18px 16px; margin-bottom: 18px; }
.next-step h2 { font-size: 1.4rem; }
.next-step p { color: #d6d6d6; }
.next-step .eyebrow { color: var(--accent); }

.srow-head { display: none; }
.sponsor-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.srow { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; align-items: start; }
.srow.s-proof_ready { box-shadow: inset 5px 0 0 var(--brand); }
.srow.s-new_file_needed { box-shadow: inset 5px 0 0 #d98a00; }
.srow-main { text-decoration: none; color: inherit; grid-column: 1; min-height: 44px; }
.srow-name { display: block; font-weight: 800; font-size: 1.05rem; }
.srow-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: .9rem; }
.deadline.overdue { color: var(--danger); font-weight: 700; }
.srow-status { grid-column: 2; grid-row: 1; }
.srow-next { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.next-text { font-size: .92rem; color: var(--muted); }
.next-text.act { color: var(--ink); font-weight: 700; }
.add-sponsor > summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.add-sponsor > summary h2 { margin: 0; }
.add-sponsor > summary::after { content: "+"; font: 800 1.5rem var(--font); color: var(--brand); }
.add-sponsor[open] > summary::after { content: "–"; }
.add-sponsor[open] > summary { margin-bottom: 12px; }
.activity ul { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.activity li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.activity time { color: var(--muted); font-size: .8rem; }

.qty-list { list-style: none; padding: 0; margin: 0 0 14px; }
.qty-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.qty-list li.total { border-bottom: 0; font-size: 1.05rem; }
.quote-table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: .95rem; }
.quote-table th, .quote-table td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.quote-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.quote-table .num { text-align: right; white-space: nowrap; }
.quote-table tfoot td { font-weight: 800; font-size: 1.1rem; border-bottom: 0; }
.quote-table input { width: 110px; text-align: right; min-height: 44px; padding: 8px; }
.delivery-feasible { font-weight: 700; padding: 10px 12px; border-radius: 10px; }
.f-yes { background: var(--ok-bg); color: var(--ok); } .f-no { background: #fdecea; color: var(--danger); } .f-conditional { background: var(--warn-bg); color: var(--warn); }
.delivery-feasible span { font-weight: 500; color: var(--ink); }

/* Sponsor detail */
.sponsor-head { margin-bottom: 14px; }
.sponsor-head h1 { margin-bottom: 8px; }
.sponsor-head .muted { margin: 8px 0 4px; }
.next-inline { font-weight: 600; color: var(--muted); margin: 0; }
.next-inline.act { color: var(--brand); }
.copy-field { display: flex; gap: 8px; }
.copy-field input { flex: 1; min-width: 0; font-size: .9rem; }
.msg-label { margin-top: 14px; }
.msg-label textarea { font-weight: 400; font-size: .95rem; }
.manage-link { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.manage-link > summary { font-weight: 700; color: var(--muted); min-height: 44px; display: flex; align-items: center; }
.file-list { list-style: none; padding: 0; margin: 0 0 12px; }
.file-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.file-icon { flex: none; width: 46px; height: 54px; border-radius: 6px; display: grid; place-items: center; font: 800 .72rem var(--font); color: #fff; background: var(--brand); }
.file-icon.k-pdf { background: #b3261e; } .file-icon.k-svg { background: #2c5aa0; } .file-icon.k-png { background: #1f7a3d; } .file-icon.k-jpg { background: #9a5b00; }
.file-info { display: flex; flex-direction: column; min-width: 0; }
.file-name { font-weight: 700; word-break: break-all; }
.flag { color: var(--warn); font-weight: 700; font-size: .88rem; margin-top: 2px; }
.extras { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 6px 0 0; font-size: .88rem; }
.extras dt { color: var(--muted); } .extras dd { margin: 0; }
.upload-behalf > summary, .request-changes > summary { margin-top: 6px; }
.upload-behalf[open] > summary { margin-bottom: 14px; }
.danger-zone { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 6px; }
.staff-note { background: #f6f6f6; padding: 10px 12px; border-radius: 8px; font-size: .95rem; }

/* Proofs: flat top-down 24×48 boards with separate hole overlay */
.proof-wrap { margin: 8px 0 12px; }
.proof-boards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #e9e9e7; padding: 14px; border-radius: 12px; }
.board { margin: 0; }
.board-face { position: relative; aspect-ratio: 1 / 2; background: #fff; border-radius: 3px; overflow: hidden; box-shadow: 0 2px 0 rgba(0,0,0,.15), 0 10px 22px -10px rgba(0,0,0,.4); }
.board-face img { width: 100%; height: 100%; object-fit: cover; }
/* Regulation hole: 6" diameter, centered 9" from the top on a 24" × 48" board */
.hole-overlay { position: absolute; inset: 0; pointer-events: none; }
.hole { position: absolute; left: 37.5%; top: 12.5%; width: 25%; aspect-ratio: 1; border-radius: 50%; background: rgba(20,20,20,.82); box-shadow: inset 0 3px 8px rgba(0,0,0,.6), 0 0 0 2px rgba(255,255,255,.9); }
.hole::after { content: "HOLE"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 800 .55rem var(--font); letter-spacing: .1em; opacity: .7; }
.proof-wrap.no-hole .hole-overlay { display: none; }
.board figcaption { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 6px; font-weight: 600; }
.overlay-toggle { flex-direction: row; align-items: center; gap: 8px; font-weight: 600; margin-top: 10px; min-height: 44px; }
.overlay-toggle input { width: 20px; height: 20px; accent-color: var(--brand); }
.overlay-toggle small { color: var(--muted); font-weight: 400; }
.overlay-toggle { flex-wrap: wrap; }
.decide { display: grid; gap: 10px; margin-top: 14px; }
.decide form { margin: 0; }
.request-changes[open] > summary { margin-bottom: 12px; }
.history { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.history ol { padding-left: 0; list-style: none; margin: 0; font-size: .92rem; }
.history li { padding: 6px 0; }
.history li.current { font-weight: 700; }
.history blockquote, .history.compact blockquote { margin: 4px 0 0; padding: 6px 10px; border-left: 3px solid var(--line); color: var(--muted); font-weight: 400; font-style: italic; }
.history.compact { font-size: .85rem; padding-left: 0; list-style: none; margin: 8px 0; border: 0; }

/* Sponsor upload page — short and focused */
.v-sponsor .main { max-width: 560px; }
.sponsor-page .sp-intro { padding: 8px 0 14px; }
.sponsor-page h1 { font-size: 1.9rem; }
.sp-sub { font-size: 1.05rem; color: #3a3a3a; }
.sp-deadline { background: #fff; border: 1.5px solid var(--brand); border-radius: 10px; padding: 10px 14px; display: inline-block; }
.file-drop { position: relative; border: 2.5px dashed #b6b9bd; border-radius: 14px; padding: 24px 16px; text-align: center; align-items: center; background: #fafafa; cursor: pointer; gap: 4px; }
.file-drop:hover, .file-drop.has-file { border-color: var(--brand); background: var(--brand-tint); }
.file-drop input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.fd-cta { font-size: 1.1rem; font-weight: 800; color: var(--brand); display: inline-flex; align-items: center; gap: 8px; }
.fd-cta::before { content: ""; width: 22px; height: 22px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4M6 10l6-6 6 6M4 20h16'/%3E%3C/svg%3E"); }
.fd-hint { color: var(--muted); font-size: .88rem; font-weight: 500; }
.fd-name { font-weight: 700; color: var(--ok); word-break: break-all; font-size: .95rem; }
.fd-name:not(:empty)::before { content: "✓ Attached: "; }
.tip { font-size: .9rem; color: var(--muted); margin: 0; }
.file-warn { background: var(--warn-bg); color: #6b4000; padding: 10px 12px; border-radius: 8px; font-size: .92rem; margin: 0; }
.form-error { background: #fdecea; color: var(--danger); padding: 10px 12px; border-radius: 8px; font-weight: 600; margin: 0; }
.progress .bar { height: 12px; }
.progress p { margin: 6px 0 0; color: var(--muted); }
.sp-confirm { background: #fff; border: 2px solid #bfe3cb; border-radius: 14px; padding: 22px 18px; text-align: center; margin-bottom: 16px; }
.sp-confirm p { text-align: left; }
.check-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 2rem; display: grid; place-items: center; margin: 0 auto 10px; font-weight: 800; }
.sp-status { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--ok); border-radius: 12px; padding: 16px; margin-bottom: 14px; }
.replace { margin: 10px 0; } .replace > summary { font-weight: 700; color: var(--brand); min-height: 44px; display: flex; align-items: center; }
.replace[open] > summary { margin-bottom: 10px; }
.sp-help { margin-top: 18px; }

/* Admin */
.queue { list-style: none; margin: 0; padding: 0; }
.queue li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--line); }
.queue a { text-decoration: none; color: var(--ink); min-height: 32px; }
.queue a b { color: var(--brand); }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.admin-table th, .admin-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .93rem; }
.admin-table th { background: #fafafa; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.two-col { display: grid; gap: 12px; }
.two-col p { margin: 0; }
.panel-grid { display: grid; gap: 18px; margin-top: 12px; }
.panel-grid h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mini-proof .proof-boards { max-width: 360px; }
.sponsor-panel details > summary { margin: 6px 0; }
.sponsor-panel details[open] > summary { margin-bottom: 12px; }

@media (max-width: 480px) {
  .site-header { padding-left: 12px; padding-right: 8px; }
  .has-nav .product { display: none; }
  .topnav a, .topnav .linkbtn { padding: 10px 6px; font-size: .85rem; }
}

@media (max-width: 700px) {
  .admin-table thead { display: none; }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; width: 100%; }
  .admin-table tr { border-bottom: 6px solid var(--bg); padding: 6px 0; }
  .admin-table td { border: 0; padding: 4px 12px; display: flex; justify-content: space-between; gap: 12px; }
  .admin-table td::before { content: attr(data-label); color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
  .admin-table td[data-label="Event"] { display: block; padding-top: 10px; }
  .admin-table td[data-label="Event"]::before { content: none; }
  .btn-row .btn { flex: 1 1 100%; }
}

@media (min-width: 700px) {
  h1 { font-size: 2.1rem; }
  .main { padding: 24px; }
  .row2 { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1.05fr 1fr; align-items: center; padding: 36px 0 44px; gap: 40px; }
  .hero h1 { font-size: 3.2rem; }
  .cta-row { flex-direction: row; align-items: center; gap: 18px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 64px 16px 16px; }
  .points { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .event-grid { grid-template-columns: 1fr 1fr; }
  .demo-offer { flex-direction: row; align-items: center; justify-content: space-between; }
  .stat-pills { grid-template-columns: repeat(4, 1fr); }
  .two-col { grid-template-columns: 1fr 1fr; }
  .panel-grid { grid-template-columns: 1fr 1fr; }
  .decide { grid-template-columns: 1fr 1fr; align-items: start; }
  .activity li { flex-direction: row; gap: 12px; } .activity time { min-width: 120px; }
  .queue li { flex-direction: row; justify-content: space-between; gap: 12px; }

  /* Sponsor rows become a scannable table on wider screens */
  .srow-head { display: grid; grid-template-columns: 2fr 1fr 1.6fr; gap: 12px; padding: 0 16px 6px; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
  .sponsor-list { gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
  .srow { grid-template-columns: 2fr 1fr 1.6fr; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); align-items: center; padding: 12px 16px; }
  .srow:last-child { border-bottom: 0; }
  .srow-status { grid-column: 2; grid-row: auto; }
  .srow-next { grid-column: 3; border-top: 0; padding-top: 0; }
}

@media (min-width: 1000px) {
  .proof-card .proof-boards { max-width: 620px; margin: 0 auto; }
}

/* Toast */
.toast { visibility: hidden; position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(120%); background: var(--brand); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .2s; z-index: 50; max-width: calc(100% - 32px); text-align: center; }
.toast.show { visibility: visible; transform: translateX(-50%) translateY(0); }

/* Buttons sitting on navy panels use the green accent so they stand out */
.next-step .btn-primary, .cta-band .btn-primary { background: var(--accent); color: var(--on-accent); }
.next-step .btn-primary:hover, .cta-band .btn-primary:hover { filter: brightness(1.06); }
.fs-help { margin: 0; }
/* "Needs you" states stand out in solid black */
.t-action { background: var(--brand); color: #fff; border-color: var(--brand); }
.stat-pills li.act { background: var(--brand); color: #fff; }

/* Non-board proofs: bags and scorestands shown flat, as uploaded */
.proof-flats { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; background: #ebebe9; padding: 14px; border-radius: 12px; }
.flat { margin: 0; flex: 1 1 0; max-width: 320px; min-width: 120px; }
.flat-face { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 0 rgba(0,0,0,.12), 0 10px 22px -10px rgba(0,0,0,.35); }
.flat.bag .flat-face { aspect-ratio: 1; border-radius: 14px; }
.flat-face img { width: 100%; height: 100%; object-fit: contain; }
.flat figcaption { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 6px; font-weight: 600; }

/* Sponsor hub additions */
.level { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: #ececea; color: var(--ink); }
.gear-line { color: var(--ink); font-size: .9rem; }
.pay { font-size: .85rem; font-weight: 700; }
.pay.paid { color: var(--ok); } .pay.unpaid { color: var(--warn); }
.items-picker { display: grid; gap: 8px; }
.items-picker .qty-row { display: grid; grid-template-columns: 1fr 96px; align-items: center; gap: 10px; background: #fafafa; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; font-weight: 700; }
.items-picker .qty-row small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.items-picker input { text-align: center; }
.item-card { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.item-card:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.item-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.item-head h3 { margin: 0; }
.money-row { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 6px 0; }
.copy-from { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 700px) { .copy-from { flex-direction: row; align-items: end; } .copy-from label { flex: 1; } }
.gear-total { margin: 12px 0 0; font-size: .95rem; }
.fee-cta { display: flex; flex-direction: column; gap: 10px; background: var(--warn-bg); border-radius: 10px; padding: 12px; margin: 10px 0; }
.fee-cta p { margin: 0; }
.fee-list { list-style: none; padding: 0; margin: 10px 0 0; }
.fee-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.fee-link { margin-top: 8px; } .fee-link input { flex: 1; min-width: 180px; } .fee-admin { align-items: flex-start !important; flex-wrap: wrap; }
.flat.stand { max-width: 150px; }
.flat.stand .flat-face { background: #f3f3f1; }

/* Product showcase on the public page */
.products { margin: 8px 0 30px; }
.products h2 { font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; margin-bottom: 4px; }
.gear-grid { display: grid; gap: 14px; margin-top: 14px; }
.gear-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gear-card h3 { margin: 14px 16px 4px; }
.gear-card p { margin: 0 16px 16px; color: var(--muted); }
.gear-img { position: relative; aspect-ratio: 1 / 1; background: #f1f1ef; display: grid; place-items: center; overflow: hidden; }
.gear-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gear-img.stand img { object-fit: contain; padding: 12px 0; background: #fff; }
.gear-img.stand { background: #fff; }
.gear-img.no-photo { background: var(--brand); color: #fff; font: 800 1.2rem var(--display); text-transform: uppercase; letter-spacing: .04em; border-bottom: 4px solid var(--accent); }
@media (min-width: 700px) { .gear-grid { grid-template-columns: repeat(3, 1fr); } }

.product { white-space: nowrap; }
@media (max-width: 430px) { .product { display: none; } .topnav a { white-space: nowrap; } }
/* Cost estimates */
.estimate { background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.estimate p { margin: 0; display: flex; justify-content: space-between; gap: 10px; }
.estimate p + p { margin-top: 6px; }
.estimate p.muted { display: block; }
.estimate b { font-size: 1.1rem; }
.estimate .neg { color: var(--danger); }
.money-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 6px; }
.money-sum div { background: #f6f6f5; border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; }
.money-sum span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.money-sum b { font-size: 1.2rem; }
.money-sum .pos { background: var(--ok-bg); } .money-sum .pos b { color: var(--ok); }
.money-sum .neg { background: #fdecea; } .money-sum .neg b { color: var(--danger); }
.price-list { display: grid; gap: 10px; margin-top: 14px; }
.price-list div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-list b { font-size: 1.15rem; }
@media (min-width: 700px) { .price-list { grid-template-columns: repeat(4, 1fr); } .price-list div { flex-direction: column; } }
.pricing { margin: 8px 0 30px; } .pricing h2 { font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; margin-bottom: 4px; }
.estimate p[hidden] { display: none; }
/* Mockup proofs: shown exactly as Dirty Bags made them */
.proof-mockups { display: grid; gap: 12px; background: #ebebe9; padding: 12px; border-radius: 12px; }
.mockup { margin: 0; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 22px -12px rgba(0,0,0,.35); }
.mockup img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; display: block; margin: 0 auto; }
.mini-proof .proof-mockups { max-width: 420px; }
.layout-choice { display: grid; gap: 6px; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0; }
.layout-choice label { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 600; }
.layout-choice input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.layout-choice small { display: block; font-weight: 400; color: var(--muted); }
.money-label { margin: 14px 0 0; font-size: .8rem; font-weight: 700; color: var(--muted); }
.money-sum small { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.money-sum .due { background: var(--warn-bg); } .money-sum .due b { color: var(--warn); }
/* Logo previews (checkerboard shows white or transparent areas) */
.logo-thumb { flex: none; width: 72px; height: 54px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: grid; place-items: center;
  background: #fff conic-gradient(#e9e9e7 25%, #fff 0 50%, #e9e9e7 0 75%, #fff 0) 0 0 / 14px 14px; }
.logo-thumb { position: relative; }
.logo-thumb img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: contain; }
.file-list li.has-big { flex-direction: column; }
.logo-thumb.big { width: 100%; max-width: 420px; height: auto; aspect-ratio: 16 / 9; }
.logo-thumb.big img { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
.sp-logo { margin: 8px auto 14px; }
.estimate .pos, .raise-pos { color: var(--ok); } .raise-neg { color: var(--danger); }
/* Sponsor's own sponsorship summary */
.sp-sponsorship { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 4px 0 14px; }
.sp-sponsorship div { background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; display: flex; flex-direction: column; }
.sp-sponsorship span { font-size: .78rem; font-weight: 700; color: var(--muted); }
.sp-sponsorship b { font-size: 1.2rem; }
.sp-sponsorship small.ok { color: var(--ok); font-weight: 700; margin-top: 2px; }

/* Make the collapsed "Add a sponsor" card stand out as an action */
.add-sponsor:not([open]) { border: 2px dashed var(--accent); background: #f6fbef; }
.add-sponsor:not([open]):hover { background: #eef8e2; }
.add-sponsor > summary::after { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 1.4rem; line-height: 1; }
.add-sponsor[open] > summary::after { background: #ececea; color: var(--ink); }
.archived-banner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.archived-banner form { margin: 0; }
.archived-list > summary { min-height: 44px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.archived-list[open] > summary { margin-bottom: 8px; }
.donations > p.muted { margin-top: 0; }
.donation-list { list-style: none; padding: 0; margin: 12px 0; }
.donation-list > li { border-top: 1px solid var(--line); padding: 10px 0; }
.don-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.don-amt { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.don-amt b { font-size: 1.1rem; }
.don-amt form { margin: 0; }
.donation-list li.is-received .don-amt b { color: var(--ok); }
.don-edit > summary { color: var(--muted); font-size: .9rem; cursor: pointer; min-height: 32px; display: inline-flex; align-items: center; }
.don-edit[open] > form.stack { margin: 8px 0; }
.add-donation > summary, .add-reg > summary, .add-exp > summary { list-style: none; display: inline-flex; margin-top: 4px; }
.add-donation > summary::-webkit-details-marker, .add-reg > summary::-webkit-details-marker, .add-exp > summary::-webkit-details-marker { display: none; }
.add-donation[open] > summary, .add-reg[open] > summary, .add-exp[open] > summary { margin-bottom: 12px; }
.money-sum.multi { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.goal { margin: 12px 0 4px; }
.goal p { margin: 0 0 6px; }
.reg-list { list-style: none; padding: 0; margin: 12px 0; }
.reg-list > li { border-top: 1px solid var(--line); padding: 10px 0; }
.reg-list li.is-paid .don-amt b { color: var(--ok); }
.reg-n { color: var(--muted); font-variant-numeric: tabular-nums; }
.reg-tools { flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
fieldset.player { margin: 0; }
@media (max-width: 600px) { .money-sum.multi > div:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: #efefed; color: var(--muted); vertical-align: middle; }
.tag-on { background: var(--ok-bg); color: var(--ok); }
.tag-off { background: #efefed; color: var(--muted); }
.signup-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.signup-card .section-head { margin-bottom: 8px; align-items: center; }
.signup-cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--ok-bg); border-color: #bfe3cb; }
.signup-cta p { margin: 2px 0 0; }
.signup-qr { display: flex; gap: 14px; align-items: center; margin-top: 10px; }
.signup-qr img { width: 120px; height: 120px; flex: none; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.signup-qr p { margin: 0 0 4px; }
.signup-qr .btn-row { margin: 4px 0 0; }
.signup-settings { margin-top: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup-head { margin: 8px 0 16px; }
.signup-head h1 { margin: 4px 0; }
.signup-facts { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.signup-facts li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; }
.signup-facts span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.signup-done h2 { margin-top: 0; }
.hub-plug { margin: 24px 0 8px; padding: 14px 16px; border-radius: 12px; background: #161616; color: #fff; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.hub-plug p { margin: 0; flex: 1 1 220px; }
.hub-plug .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
/* Fundraiser page */
.head-actions { margin: 0; }
.page-card .btn-row { margin-bottom: 0; }
.fpage { max-width: 760px; margin: 0 auto; }
.fp-hero { padding: 8px 0 12px; }
.fp-hero h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); margin: 4px 0 6px; line-height: 1.1; }
.fp-when { color: var(--muted); font-weight: 600; margin: 0 0 12px; }
.fp-about { white-space: pre-line; font-size: 1.05rem; margin: 0 0 16px; }
.fp-goal { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; }
.fp-goal p { margin: 0 0 8px; } .fp-goal b { font-size: 1.4rem; color: var(--ok); }
.fp-cta { margin: 4px 0 0; }
.fp-section { margin: 28px 0; }
.fp-section h2 { margin-bottom: 12px; }
.fp-level { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 16px 0 8px; }
.wall { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.wall li { background: #fff; border: 1px solid var(--line); border-radius: 12px; aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px; text-align: center; gap: 6px; }
.wall img { max-width: 100%; max-height: 70%; object-fit: contain; }
.wall-name { font-size: .78rem; color: var(--muted); font-weight: 600; }
.wall-text { font-weight: 800; font-size: 1.05rem; }
.fp-donors { line-height: 1.8; }
.fp-contact { text-align: center; margin-top: 24px; }
.pkg-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.pkg-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.pkg-card .btn { margin-top: auto; }
.pkg-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pkg-top h3 { margin: 0; }
.pkg-price { font-size: 1.4rem; }
.pkg-benefits { margin: 0; padding-left: 20px; }
.pkg-benefits li { margin: 3px 0; }
.pkg-gear { color: var(--ok); font-weight: 600; margin: 0; }
.pkg-admin { list-style: none; padding: 0; margin: 12px 0; }
.pkg-admin > li { border-top: 1px solid var(--line); padding: 10px 0; }
.pkg-active { align-self: end; min-height: 48px; }
.wall-pick { list-style: none; padding: 0; margin: 0; }
.wall-pick li { padding: 4px 0; }
/* Recap & letters */
.recap-head h1 { margin: 4px 0; }
.recap-big { border-radius: 14px; padding: 18px; margin: 16px 0; display: flex; flex-direction: column; background: var(--ok-bg); }
.recap-big span { font-weight: 700; color: var(--muted); }
.recap-big b { font-size: 2.4rem; color: var(--ok); line-height: 1.1; }
.recap-big.neg { background: #fdecea; } .recap-big.neg b { color: var(--danger); }
.recap-counts { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.recap-counts li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.recap-table { width: 100%; border-collapse: collapse; }
.recap-table th, .recap-table td { padding: 8px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 500; }
.recap-table td { text-align: right; font-weight: 700; white-space: nowrap; }
.recap-table tfoot th, .recap-table tfoot td { font-weight: 800; border-top: 2px solid var(--ink, #161616); }
.recap-owed { list-style: none; padding: 0; margin: 0; }
.recap-owed li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.letter { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 48px 44px; margin: 16px 0; font-size: 1.02rem; line-height: 1.6; }
.letter-date { margin-top: 0; }
.letter-to { font-weight: 700; margin-bottom: 24px; }
.letter-signer { white-space: pre-line; font-weight: 700; }
.letter-tax { margin-top: 32px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
@media (max-width: 600px) { .letter { padding: 24px 20px; } }
@media print {
  .site-header, .site-footer, .no-print, .flash, .toast, .back { display: none !important; }
  body, .main { background: #fff !important; }
  .card { box-shadow: none !important; border: 1px solid #ccc; break-inside: avoid; }
  .letter { border: 0; border-radius: 0; padding: 0.6in 0.5in; margin: 0; break-after: page; }
  .letter:last-child { break-after: auto; }
  .recap-big { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.letter-body p { white-space: pre-line; }
.slug-field { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; margin-top: 6px; }
.slug-field .slug-base { display: flex; align-items: center; padding: 0 4px 0 12px; color: var(--muted); font-weight: 500; font-size: .9rem; white-space: nowrap; background: #f6f6f5; max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.slug-field input { border: 0; border-radius: 0; margin: 0; min-width: 0; flex: 1; }
