/* Bandit Collection Portal – public form. Mobile-first. Colours use CSS variables so the theme/brand can override them. */
.bsnj-portal{--bsnj-accent:var(--wp--preset--color--primary,#111);--bsnj-border:#cfd3d8;--bsnj-error:#b3261e;--bsnj-radius:8px;max-width:760px;margin:0 auto;font-size:1rem;line-height:1.5}
.bsnj-portal *{box-sizing:border-box}
.bsnj-form fieldset{border:0;margin:0 0 1.5rem;padding:0}
.bsnj-form legend{font-size:1.15rem;font-weight:700;margin-bottom:.75rem}
.bsnj-field{margin-bottom:1rem}
.bsnj-field label,.bsnj-label{display:block;font-weight:600;margin:0 0 .3rem}
.bsnj-form input[type=text],.bsnj-form input[type=email],.bsnj-form input[type=tel],.bsnj-form select,.bsnj-form textarea{width:100%;min-height:44px;padding:.6rem .75rem;border:1px solid var(--bsnj-border);border-radius:var(--bsnj-radius);font:inherit;background:#fff;color:#111}
.bsnj-form input:focus,.bsnj-form select:focus,.bsnj-form textarea:focus{outline:2px solid var(--bsnj-accent);outline-offset:1px}
.bsnj-form [aria-invalid=true]{border-color:var(--bsnj-error)}
.bsnj-checks{display:grid;grid-template-columns:1fr;gap:.35rem}
.bsnj-check{display:flex!important;gap:.5rem;align-items:flex-start;font-weight:400!important;min-height:32px}
.bsnj-check input{margin-top:.3rem;width:18px;height:18px;flex:0 0 auto}
.bsnj-help{margin:.1rem 0 .4rem;font-size:.9rem;color:#555}
.bsnj-req{color:var(--bsnj-error)}
.bsnj-error{color:var(--bsnj-error);font-size:.9rem;margin:.3rem 0 0}
.bsnj-alert{border:1px solid var(--bsnj-error);background:#fdecea;color:#5f1410;padding:.75rem 1rem;border-radius:var(--bsnj-radius);margin-bottom:1rem}
.bsnj-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.bsnj-previews{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;margin-top:.5rem}
.bsnj-previews figure{margin:0;font-size:.75rem;word-break:break-all}
.bsnj-previews img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px;border:1px solid var(--bsnj-border)}
.bsnj-previews .bsnj-noprev{display:flex;align-items:center;justify-content:center;aspect-ratio:1;background:#f2f3f5;border-radius:6px}
.bsnj-ack{background:#f7f7f8;padding:.75rem;border-radius:var(--bsnj-radius)}
.bsnj-privacy-note{font-size:.85rem;color:#555}
.bsnj-submit{width:100%;min-height:48px;border:0;border-radius:var(--bsnj-radius);background:var(--bsnj-accent);color:#fff;font-weight:700;font-size:1.05rem;cursor:pointer}
.bsnj-submit[disabled]{opacity:.6;cursor:wait}
.bsnj-confirmation{border:1px solid var(--bsnj-border);border-radius:var(--bsnj-radius);padding:1.25rem}
.bsnj-ref strong{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:1.15rem;letter-spacing:.05em}
@media (min-width:640px){
 .bsnj-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
 .bsnj-checks{grid-template-columns:1fr 1fr}
 .bsnj-previews{grid-template-columns:repeat(5,1fr)}
 .bsnj-submit{width:auto;padding:0 2rem}
}
.bsnj-appointment-note{background:#f7f7f8;border-left:4px solid var(--bsnj-accent);padding:.6rem .8rem;font-size:.95rem}
