/* MQ Sign — tekenpagina. --brand komt uit /sign/brand.css (huisstijl per tenant). */
:root { --brand: #1f5f7a; --ink: #1c2530; --muted: #5d6b78; --line: #d9e0e6; --bg: #f4f6f8; --danger: #a4262c; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }
.bar { background: var(--brand); color: #fff; padding: 14px 0; margin-bottom: 24px; }
.practice { font-weight: 600; font-size: 1.05rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin-bottom: 16px; }
h1 { font-size: 1.35rem; margin: 0 0 8px; }
h2 { font-size: 1.15rem; margin: 0 0 12px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; padding-top: 8px; padding-bottom: 32px; }
.center { text-align: center; }
.error { color: var(--danger); font-weight: 500; }
.stack { display: grid; gap: 10px; margin-top: 12px; }
label { font-weight: 500; }
input, textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; width: 100%; }
input:focus, textarea:focus, button:focus-visible, canvas:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 1px; }
#code { font-size: 1.5rem; letter-spacing: .4em; max-width: 12ch; text-align: center; }
button { font: inherit; cursor: pointer; border-radius: 8px; padding: 10px 16px; border: 1px solid transparent; }
button.primary { background: var(--brand); color: #fff; font-weight: 600; }
button.primary:disabled { opacity: .6; cursor: default; }
button.danger { background: #fff; color: var(--danger); border-color: var(--danger); justify-self: start; }
button.link { background: none; color: var(--brand); padding: 4px 0; text-decoration: underline; }
.viewer { background: #e6eaee; border-radius: 10px; padding: 8px; margin-bottom: 8px; display: grid; gap: 8px; justify-items: center; }
.viewer .page { width: 100%; max-width: 900px; height: auto; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.tab { background: #fff; border-color: var(--line); color: var(--ink); }
.tab.active { border-color: var(--brand); color: var(--brand); font-weight: 600; }
#pad, #typed-preview { width: 100%; height: auto; aspect-ratio: 3 / 1; border: 1px dashed var(--muted); border-radius: 8px; background: #fff; touch-action: none; }
#typed-preview { margin-top: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: auto; margin-top: 4px; }
.decline summary { cursor: pointer; color: var(--muted); }
.hint { color: var(--muted); font-size: .85rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
