.bvmme-vendor { max-width:1120px; margin:24px auto; padding:24px; background:var(--global-palette9,#fff); border:1px solid #cfd7e5; border-radius:10px; color:var(--global-palette3,#1d2735); font:inherit; line-height:1.5; }
.bvmme-vendor h1 { font-size:1.8em; margin:4px 0; }
.bvmme-vendor h2 { font-size:1.2em; margin:0 0 12px; }
.bvmme-vendor h3 { font-size:1em; }
.bvmme-eyebrow { font-size:.78em; font-weight:700; letter-spacing:.06em; color:#475a74; }
.bvmme-vendor .bvmme-card { background:#fff; border:1px solid #cfd7e5; border-radius:10px; padding:18px; margin:18px 0; }
.bvmme-vendor .bvmme-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:12px; margin:12px 0; }
.bvmme-vendor .bvmme-field { display:flex; flex-direction:column; gap:5px; margin:10px 0; font-weight:500; }
.bvmme-vendor input:not([type=checkbox]),.bvmme-vendor select { width:100%; box-sizing:border-box; border:1px solid #b9c6d8; border-radius:8px; padding:7px 9px; color:#1d2735; background:#fff; font:inherit; min-height:36px; }
.bvmme-vendor button { border:1px solid #165fcf; background:#165fcf; color:#fff; border-radius:8px; font:inherit; font-weight:600; padding:6px 12px; cursor:pointer; }
.bvmme-vendor button:hover { background:#114ca7; }
.bvmme-vendor .bvmme-secondary { background:#fff; color:#114ca7; }
.bvmme-vendor .bvmme-secondary:hover { background:#e7efff; }
.bvmme-vendor :focus-visible { outline:2px solid #165fcf; outline-offset:3px; }
.bvmme-vendor table { width:100%; border-collapse:collapse; }
.bvmme-vendor th,.bvmme-vendor td { text-align:left; padding:9px 10px; border-bottom:1px solid #e2e8f2; vertical-align:top; }
.bvmme-vendor small { display:block; color:#5a677a; }
.bvmme-vendor .bvmme-table { overflow:auto; }
.bvmme-vendor .bvmme-note { border-left:4px solid #165fcf; padding:10px 12px; background:#e7efff; }
.bvmme-vendor .bvmme-alert { border-left:4px solid #b32d2e; padding:10px 12px; background:#fff1f1; }
.bvmme-date { display:flex; align-items:flex-start; gap:8px; margin:12px 0; }
.bvmme-date input { margin-top:6px; }
.bvmme-vendor fieldset { border:0; padding:0; margin:20px 0; }
.bvmme-vendor legend { font-weight:700; }
.bvmme-vendor summary { cursor:pointer; margin:10px 0; }
.bvmme-rule-text { white-space:pre-wrap; font-size:.92em; }
.bvmme-rules { padding:12px; margin:12px 0; border:1px solid #d6dce6; border-radius:8px; background:#f7f9fc; }
.bvmme-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.bvmme-vendor nav a { display:inline-block; margin:5px 12px 5px 0; }
@media(max-width:600px) { .bvmme-vendor { padding:20px 16px; } .bvmme-vendor .bvmme-card { padding:12px; } .bvmme-vendor button { min-height:42px; } }

@media(max-width:600px) {
.bvmme-vendor table thead { display:none; }
.bvmme-vendor table tbody tr { display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid #d6dce6; padding:8px 0; }
.bvmme-vendor table td { border:0; padding:5px 0; min-width:0; }
.bvmme-vendor table td:first-child,.bvmme-vendor table td:last-child { grid-column:1/-1; }
.bvmme-vendor td[data-label]::before { content:attr(data-label) ": "; font-weight:600; }
}

.bvmme-vendor select { padding-right:2.5em; max-width:100%; }
.bvmme-vendor .bvmme-test-note { font-size:.88em; color:#475a74; margin:4px 0 16px; }
.bvmme-vendor .bvmme-identity { border-top:1px solid #cfd7e5; border-bottom:1px solid #cfd7e5; padding:12px 0; }
.bvmme-vendor .bvmme-identity p { margin:4px 0; }
.bvmme-vendor .bvmme-identity a { margin-left:10px; }
.bvmme-vendor .bvmme-switch,.bvmme-vendor .bvmme-session { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin:8px 0; }
.bvmme-vendor .bvmme-switch select { width:auto; min-width:min(100%,220px); max-width:100%; }
.bvmme-vendor .bvmme-identity form { margin:0; }
.bvmme-vendor footer { font-size:.88em; }
.bvmme-vendor input[type=hidden] { display:none; }
.bvmme-vendor input[name=code] { max-width:15em; letter-spacing:.2em; }
.bvmme-vendor .bvmme-card > form > .bvmme-field:has(input[name=email]) { max-width:32em; }
.bvmme-vendor select { appearance:auto; background-image:none; }
.bvmme-vendor .bvmme-market-nav { display:flex; gap:10px 18px; flex-wrap:wrap; margin-top:10px; }
.bvmme-vendor .bvmme-market-nav a { margin:0; }
.bvmme-vendor .bvmme-restart { display:inline-block; padding:6px 12px; border:1px solid currentColor; border-radius:8px; font-weight:600; }
/* Compact, consistently aligned controls retain deliberate touch sizing. */
.bvmme-vendor button,.bvmme-vendor .bvmme-restart { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; min-height:34px; padding:5px 12px; font:inherit; font-weight:600; line-height:1.4; text-align:center; border:1px solid #165fcf; background:#165fcf; color:#fff; text-decoration:none; }
.bvmme-vendor button:is(:hover,:focus,:active),.bvmme-vendor .bvmme-restart:is(:hover,:focus,:active) { background:#114ca7; color:#fff; border-color:#114ca7; }
.bvmme-vendor button.bvmme-secondary { background:#e4ebf5; color:#173c66; border-color:#61758c; }
.bvmme-vendor button.bvmme-secondary:is(:hover,:focus,:active) { background:#cbd9ed; color:#102e52; border-color:#425c7c; }
.bvmme-vendor button:disabled { background:#e5e7eb; color:#59636e; border-color:#9aa4af; opacity:1; cursor:not-allowed; }
.bvmme-vendor .bvmme-existing { border-left:3px solid #61758c; padding-left:12px; }
@media(pointer:coarse),(max-width:600px) { .bvmme-vendor button,.bvmme-vendor .bvmme-restart { min-height:42px; } }
.bvmme-vendor .wpcf7 label { display:block; margin:12px 0; }
.bvmme-vendor .wpcf7 textarea { width:100%; box-sizing:border-box; max-width:100%; border:1px solid #b9c6d8; border-radius:8px; padding:7px 9px; color:#1d2735; background:#fff; font:inherit; }
.bvmme-vendor .wpcf7 input[type=submit] { display:inline-flex; width:auto; min-height:34px; align-items:center; justify-content:center; padding:5px 12px; border:1px solid #165fcf; border-radius:8px; background:#165fcf; color:#fff; font:inherit; font-weight:600; cursor:pointer; }
.bvmme-vendor .wpcf7 input[type=submit]:is(:hover,:focus,:active) { background:#114ca7; color:#fff; }
.bvmme-vendor .wpcf7 input[type=submit]:disabled { background:#e5e7eb; color:#59636e; border-color:#9aa4af; cursor:not-allowed; opacity:1; }
.bvmme-vendor .wpcf7-response-output { padding:10px; margin:16px 0; color:#1d2735; }
@media(pointer:coarse),(max-width:600px) { .bvmme-vendor .wpcf7 input[type=submit] { min-height:42px; } }
.bvmme-vendor .bvmme-field[hidden] { display:none; }
.bvmme-vendor .wpcf7 :is(input,textarea,select,button):focus-visible { outline:2px solid #165fcf; outline-offset:3px; box-shadow:none; }
/* Independent help: consent and submit always occupy separate rows. */
.bvmme-vendor .bvmme-help-consent { display:block; margin:16px 0 12px; }
.bvmme-vendor .bvmme-help-consent .wpcf7-list-item { margin:0; }
.bvmme-vendor .bvmme-help-consent label { display:flex; gap:8px; align-items:flex-start; }
.bvmme-vendor .bvmme-help-consent input { flex:none; margin-top:5px; }
.bvmme-vendor .bvmme-help-submit { display:flex; align-items:center; justify-content:flex-start; gap:8px; clear:both; margin:12px 0; }
.bvmme-vendor .bvmme-help-submit p { display:flex; align-items:center; margin:0; }
.bvmme-vendor .wpcf7-not-valid-tip { color:#a21c23; font-size:.9em; }
.bvmme-vendor .wpcf7-response-output:empty { display:none; }

.bvmme-vendor [data-bvmme-power-details][hidden] { display:none; }
.bvmme-vendor [name=power_need] { max-width:26em; }
.bvmme-vendor [name=power_equipment] { width:100%; box-sizing:border-box; padding:7px 9px; border:1px solid #b9c6d8; border-radius:8px; color:#1d2735; background:#fff; font:inherit; }

/* Vendor-only navigation and secondary help stay compact in the active theme. */
.bvmme-vendor .bvmme-market-nav { gap:6px; padding:8px 0; }
.bvmme-vendor .bvmme-market-nav a { display:inline-flex; align-items:center; min-height:34px; margin:0; padding:5px 10px; border:1px solid #b9c6d8; border-radius:6px; background:#f4f7fb; color:#173c66; font:inherit; font-weight:600; line-height:1.4; text-decoration:none; }
.bvmme-vendor .bvmme-market-nav a:is(:hover,:focus) { background:#e4ebf5; color:#102e52; border-color:#61758c; }
.bvmme-vendor .bvmme-help-link { margin:18px 0 10px; font-size:.9em; }
.bvmme-vendor .bvmme-help-link a { background:transparent; color:#173c66; padding:0; border:0; text-decoration:underline; }
.bvmme-vendor .bvmme-offers { list-style:none; padding:0; margin:12px 0; }
.bvmme-vendor .bvmme-offers li { border-left:3px solid #61758c; padding:6px 12px; margin:8px 0; }
.bvmme-vendor .bvmme-offers span { display:block; font-size:.92em; }
@media(pointer:coarse),(max-width:600px) { .bvmme-vendor .bvmme-market-nav a { min-height:42px; } }

/* Event-first entry shares artwork with the shopper event, not its application form. */
.bvmme-event-first { max-width:1040px; padding:24px; }
.bvmme-local-banner { font-size:.78em; color:#526358; margin:0 0 12px; }
.bvmme-event-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:24px; align-items:center; margin-bottom:20px; }
.bvmme-event-hero h1 { font-size:clamp(1.6rem,4vw,2.15rem); line-height:1.15; margin:4px 0 12px; }
.bvmme-event-art img { display:block; width:100%; height:auto; border-radius:8px; }
.bvmme-event-hero p { margin:8px 0; }
.bvmme-event-time { font-weight:600; }
.bvmme-steps { display:flex; list-style:none; gap:8px; padding:0; margin:20px 0; flex-wrap:wrap; }
.bvmme-steps li { flex:1; padding:8px 10px; border-bottom:2px solid #cfd7d1; color:#435649; font-size:.92em; white-space:nowrap; }
.bvmme-steps [aria-current] { border-color:#294d39; color:#193e2a; font-weight:700; }
.bvmme-event-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),400px)); gap:16px; margin:16px 0; }
.bvmme-event-card { border:1px solid #cfd7d1; padding:14px; border-radius:8px; }
.bvmme-event-card img { width:100%; height:auto; border-radius:5px; }
.bvmme-application-summary { display:grid; grid-template-columns:1fr 1fr; gap:12px 24px; margin:16px 0; }
.bvmme-application-summary dt { color:#526358; font-size:.9em; }
.bvmme-application-summary dd { margin:2px 0 0; font-weight:600; overflow-wrap:anywhere; }
.bvmme-event-first .bvmme-rules { padding:8px 12px; }
.bvmme-event-first .bvmme-rules summary { margin:3px 0; font-weight:600; }
.bvmme-event-first .bvmme-rule-text { padding:12px 0; }
.bvmme-event-first button,.bvmme-event-first .bvmme-restart { background:#294d39; border-color:#294d39; }
.bvmme-event-first button:is(:hover,:focus),.bvmme-event-first .bvmme-restart:is(:hover,:focus) { background:#193e2a; border-color:#193e2a; }
.bvmme-event-first .bvmme-secondary { background:#f0f4f1; color:#294d39; border-color:#8da395; }
.bvmme-event-first .bvmme-secondary:is(:hover,:focus) { background:#dae5de; color:#193e2a; }
.bvmme-event-first .bvmme-confirmation { border-left:4px solid #294d39; }
@media(max-width:600px) { .bvmme-event-first { padding:16px; } .bvmme-event-hero { grid-template-columns:1fr; gap:12px; } .bvmme-event-art { max-width:460px; } .bvmme-event-hero h1 { font-size:1.7rem; } .bvmme-steps { gap:2px; } .bvmme-steps li { padding:7px 4px; font-size:.79em; } .bvmme-application-summary { grid-template-columns:1fr; } }

.bvmme-event-card h2 { font-size:1.35rem; line-height:1.3; margin:12px 0 8px; }

.bvmme-card-actions { text-align:center; }
