/* sign.loom.co.za - the LOOM look of the Sales Tracker dashboard (web/css/dashboard.css, web/forms/forms.css):
   black header with the LOOM logo, slate text on a light background, white cards, LOOM blue actions, LOOM red
   (logo mark) as the accent. See docs/BRAND.md - use these tokens for every new page. */
[hidden]{display:none !important}
:root{--loom:#1d4ed8;--loom-dark:#1e40af;--loom-red:#f05960;--red:#dc2626;--green:#16a34a;--bg:#f8fafc;--card:#fff;
      --border:#e2e8f0;--input:#cbd5e1;--text:#1e293b;--label:#334155;--muted:#64748b}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);font-size:15px;line-height:1.5}
.top{background:#000;color:#fff;border-bottom:3px solid var(--loom-red)}
.top .wrap{display:flex;align-items:center;gap:16px;min-height:68px;flex-wrap:wrap}
.top img{height:40px;width:auto;display:block}
.top .title{font-size:17px;font-weight:600;color:#e2e8f0}
.wrap{max-width:780px;margin:0 auto;padding:0 16px}
main.wrap{padding-top:24px;padding-bottom:12px}
h1{font-size:24px;font-weight:700;color:var(--text);margin:0 0 6px}
.lead{color:var(--muted);margin:0 0 18px}
.rep{margin:0 0 16px;padding:10px 14px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;color:var(--label);font-size:14px}
.rep b{color:var(--loom)}
.card{background:var(--card);border:1px solid var(--border);border-radius:10px;padding:20px;margin:0 0 16px}
.card h2{font-size:16px;font-weight:700;color:var(--text);margin:0 0 16px;padding-bottom:10px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:10px}
.card h2::before{content:"";width:4px;height:18px;background:var(--loom-red);border-radius:2px}
.field{margin:0 0 14px}
.field>label{display:block;font-weight:600;font-size:13px;color:var(--label);margin:0 0 5px}
input[type=text],input[type=tel],input[type=email],input[type=number],input[type=date],textarea{width:100%;font:inherit;font-size:15px;padding:9px 11px;border:1px solid var(--input);border-radius:7px;background:#fff;color:var(--text)}
textarea{min-height:64px;resize:vertical}
input:focus,textarea:focus{outline:2px solid #bfdbfe;border-color:var(--loom)}
.choices{display:grid;gap:8px}
.radio,.check{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid var(--border);border-radius:8px;cursor:pointer;background:#fff;font-size:14px}
.radio:hover,.check:hover{border-color:#bfdbfe;background:#f8fbff}
.radio:has(input:checked),.check:has(input:checked){border-color:var(--loom);background:#eff6ff}
.radio input,.check input{margin-top:3px;width:18px;height:18px;flex:none;accent-color:var(--loom)}
.check{margin:0 0 4px}
.hint{color:var(--muted);font-size:12px;margin-top:4px}
.err{color:var(--red);font-size:12px;margin-top:3px}
.err:empty{display:none}
.invalid input[type],.invalid textarea{border-color:var(--red);background:#fef2f2}
.fee{font-weight:700;color:var(--loom);margin:6px 0 0;padding:10px 12px;background:#eff6ff;border-radius:8px}
.fee:empty{display:none}
.notice{padding:12px 14px;border-radius:8px;margin:0 0 16px;font-size:14px}
.notice.bad{background:#fef2f2;border:1px solid #fecaca;color:#b91c1c}
#turnstile{margin:10px 0 14px}
button{font:inherit;font-weight:700;font-size:15px;background:var(--loom);color:#fff;border:1px solid var(--loom);border-radius:8px;padding:12px 22px;cursor:pointer;width:100%}
button:hover{background:var(--loom-dark)}
button:disabled{opacity:.6;cursor:wait}
a{color:var(--loom)}
.done{text-align:center;padding:32px 20px}
.done .tick{width:56px;height:56px;border-radius:50%;background:#dcfce7;color:var(--green);font-size:30px;line-height:56px;margin:0 auto 12px;font-weight:700}
.done .ref{display:inline-block;margin:8px 0;padding:6px 14px;border-radius:8px;background:#f1f5f9;font-weight:700;letter-spacing:.5px}
.foot{color:var(--muted);font-size:12px;padding:8px 16px 28px;text-align:center;line-height:1.7}
.foot b{color:var(--label)}
@media (min-width:600px){button{width:auto}}
.done h2{justify-content:center;border:0;padding:0}.done h2::before{display:none}.done p{color:var(--muted);margin:6px 0}
