:root{font-family:system-ui,sans-serif;color:#13261d;background:#f0f5f1;font-size:16px;line-height:1.5}*{box-sizing:border-box}body{margin:0}header,main,footer,nav{max-width:1100px;margin:auto;padding:1rem}header{padding-top:2rem}h1{font-size:clamp(1.8rem,5vw,2.8rem);line-height:1.15}h2{margin-top:0}p{max-width:75ch}.eyebrow{font-weight:700;letter-spacing:.12em}nav,.wallet{display:flex;flex-wrap:wrap;gap:.7rem;align-items:center}nav a{padding:.6rem;color:#173d27}section{background:white;border:1px solid #8ea899;border-radius:.8rem;padding:1rem;margin:1rem 0}form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1rem;border-top:1px solid #a5b9ac;padding:1rem 0;margin-top:1rem}form h3,form p,fieldset{grid-column:1/-1}label{display:block;font-weight:600}input,select,textarea,button{font:inherit;border:1px solid #617869;border-radius:.35rem;padding:.6rem;width:100%;min-height:44px;color:#13261d;background:#fff}input[type=checkbox]{width:1.5rem;min-height:1.5rem;vertical-align:middle}textarea{min-height:110px;resize:vertical}button{background:#185a35;color:white;width:auto;cursor:pointer;font-weight:600}button:disabled{background:#58675e;cursor:not-allowed}form button{align-self:end}a,button,input,select,textarea{scroll-margin-top:1rem}:focus-visible{outline:3px solid #b15100;outline-offset:3px}#error,#offline{background:#fff0ea;color:#812400;border:2px solid #812400;padding:1rem}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.6 ui-monospace,monospace}dialog{max-width:min(90vw,720px);border:2px solid #185a35;border-radius:.7rem}dialog::backdrop{background:#0009}#preview{margin:1rem auto;padding:1rem;max-width:100%;min-height:200px;border:2px dashed #617869;overflow-wrap:anywhere;background:#e8f3e9;color:#13261d}#preview[data-theme=light]{background:#fffaf0;color:#332711;font-family:Georgia,serif}#preview[data-theme=dark]{background:#14241c;color:#f0fff3}#preview img{max-width:100%;height:auto;object-fit:cover}#preview .avatar{width:96px;height:96px;border-radius:50%}#preview .banner{width:100%;max-height:220px}#media-list img{max-width:120px;max-height:90px}.skip{position:absolute;top:-100px;left:1rem;padding:1rem;background:white;color:#13261d}.skip:focus{top:0;z-index:10}[hidden]{display:none!important}fieldset{min-width:0}footer{border-top:1px solid #8ea899}@media(max-width:400px){header,main,nav,footer{padding:.6rem}section{padding:.8rem}dialog{max-width:96vw}h2{font-size:1.35rem}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
p,li,label,span,button{overflow-wrap:anywhere}input,select,textarea{min-width:0;max-width:100%}form>*{min-width:0}.wallet span{min-width:0;max-width:100%}
#preview section{background:transparent;border-color:currentColor}dialog{max-height:90vh;overflow:auto}

/* High Street official storefront brand */
.brand-logo{display:block;max-width:112px;height:auto;object-fit:contain}

/* High Street primary brand: full-size and centered over default page title. */
header .builder-brand{display:block;width:min(100%,640px);margin:0 auto 1rem}header .builder-brand .brand-logo{display:block;width:100%;max-width:640px;height:auto;max-height:none;object-fit:contain;margin:0 auto}header h1{text-align:center}
