/* SOBACO family base — shared by the store (/shop), the partner portal (/partner) and SBC Works (/custom).
   Tokens (near-black canvas, off-white type, a little SOBACO green), system fonts (strict CSP, no font CDN), type scale,
   buttons and form controls. Load first; each site's own stylesheet (shop.css, custom/site.css) adds its layout. */
:root {
  --green: #1f4e3a; --green-deep: #01422a; --green-ink: #8fc7a6; --green-soft: rgba(31, 78, 58, .35); --on-green: #f2efe6;
  --bg: #0e0e0e; --bg-2: #141414; --cell: #1a1a1a; --wall: rgba(255, 255, 255, .04);
  --surface: #141414; --surface-solid: #141414; --raise: #1c1c1c;
  --text: #f2efe6; --muted: #a39f95; --line: #2e2e2c; --rule: #d9d5ca; --line-strong: #f2efe6; --input: #111;
  --shadow: none; --red: #ff7a72; --amber: #e8b45a; --blue: #8fb0ff;
  --radius: 0; --wrap: 1440px;
  --on-text: #0e0e0e; --field: #3a3a38;   /* thm: text on a text-coloured fill; form field border (the theme stylesheet may change both) */
  --sans: "Helvetica Neue", Helvetica, Arial, "Nimbus Sans", "Liberation Sans", sans-serif;
  --display: "Helvetica Neue", "Arial Black", "Nimbus Sans", Helvetica, Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font: 15px/1.5 var(--sans); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
h1, h2, h3 { margin: 0 0 .4em; line-height: .95; }
h1, h2, legend, .btn, button { font-family: var(--display); text-transform: uppercase; }
h1 { font-size: clamp(34px, 7vw, 64px); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(22px, 3.2vw, 32px); font-weight: 800; letter-spacing: -.025em; }
h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; color: var(--text); }
a { color: inherit; text-underline-offset: 3px; }
p { margin: .45em 0; }
.muted { color: var(--muted); } .small { font-size: 13px; } .big { font-size: 30px; font-weight: 800; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 12px; top: 12px; z-index: 400; background: var(--text); color: var(--bg); padding: 10px 14px; }
:focus-visible { outline: 2px solid var(--green-ink); outline-offset: 2px; }
img { max-width: 100%; }

/* ---------- controls ---------- */
.btn, button { font-size: 13px; font-weight: 800; letter-spacing: .01em; color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border-radius: var(--radius); text-decoration: none; background: transparent; border: 1px solid var(--rule); }
.btn:hover, button:hover { background: var(--text); color: var(--bg); }
.btn.light, button.light, .btn.primary, button.primary { background: var(--text); color: var(--on-text); border-color: var(--text); }
.btn.light:hover, .btn.primary:hover, button.primary:hover { background: #fff; border-color: #fff; color: #000; }
.btn.ghost { border-color: var(--line); }
.btn.small { min-height: 36px; padding: 6px 14px; font-size: 12px; }
.btn.wide { width: 100%; margin-top: 10px; }
button:disabled, .btn[disabled] { opacity: .35; cursor: not-allowed; }
button:disabled:hover { background: transparent; color: var(--text); }
button.primary:disabled:hover { background: var(--text); color: var(--on-text); }
input, select, textarea { font: inherit; color: inherit; }
input:not([type=radio]):not([type=checkbox]):not([type=range]):not([type=file]), select, textarea {
  display: block; width: 100%; margin-top: 6px; min-height: 46px; padding: 10px 12px; border-radius: var(--radius); background: var(--input); border: 1px solid var(--field); outline: none; color: var(--text); }
input:focus, select:focus, textarea:focus { border-color: var(--rule); }
input::placeholder, textarea::placeholder { color: #77746c; }
input[type=checkbox], input[type=radio] { accent-color: var(--green-ink); width: 18px; height: 18px; flex: none; }
label { display: block; margin-bottom: 12px; font-size: 11px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); font-family: var(--display); }
label.check, .tick { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 13px; font-weight: 500; text-transform: none; font-family: var(--sans); letter-spacing: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
legend { font-weight: 800; font-size: 12px; padding: 0 0 8px; }
.alert { padding: 12px 14px; border: 1px solid var(--line); border-left-width: 4px; background: var(--bg-2); margin: 0 0 16px; }
.alert.err { border-color: var(--red); color: var(--red); } .alert.ok { border-color: var(--green-ink); color: var(--green-ink); }
.err-text { color: var(--red); }
.ic { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; }

/* ---------- links between the SOBACO sites (footer of the store, partner portal and SBC Works) ---------- */
.family { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; font: 800 11px var(--display); text-transform: uppercase; color: var(--muted); }
.family a { color: var(--muted); text-decoration: none; }
.family a:hover { color: var(--text); text-decoration: underline; }
.family a[aria-current="true"] { color: var(--text); }
