/* The two public pages a customer sees on a phone: a survey (/s/<code>) and a counter check-in (/v/<code>). */
@font-face { font-family: Figtree; src: url('/fonts/Figtree-var.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
:root { --rs-ink: #0B1B33; --rs-brand: #0B1B33; --rs-soft: #F4F6FA; --rs-line: #D9DEE7; --rs-muted: #5A6578; --rs-ok: #1F7A4D; --rs-bad: #B3261E; }
* { box-sizing: border-box; }
html, body { margin: 0; background: #fff; color: var(--rs-ink); font: 17px/1.5 Figtree, system-ui, -apple-system, sans-serif; }
.rs-wrap { max-width: 560px; margin: 0 auto; padding: 28px 16px 40px; }
.rs-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.rs-head img { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; }
.rs-head b { font-size: 15px; color: var(--rs-muted); font-weight: 600; }
h1 { font-size: 26px; line-height: 1.2; margin: 0 0 8px; }
.rs-muted { color: var(--rs-muted); }
.rs-variant { background: var(--rs-soft); border-left: 4px solid var(--rs-brand); padding: 14px 16px; border-radius: 8px; margin: 16px 0; font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 22px 0; }
legend { font-weight: 700; margin-bottom: 10px; font-size: 18px; }
.rs-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--rs-line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; min-height: 48px; }
.rs-opt:has(input:checked) { border-color: var(--rs-brand); background: var(--rs-soft); }
.rs-opt input { width: 20px; height: 20px; accent-color: var(--rs-brand); margin: 0; }
.rs-scale { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; }
.rs-scale.five { grid-template-columns: repeat(5, 1fr); }
.rs-scale label { display: grid; place-items: center; min-height: 44px; border: 1.5px solid var(--rs-line); border-radius: 8px; cursor: pointer; font-weight: 700; font-size: 15px; }
.rs-scale label:has(input:checked) { background: var(--rs-brand); color: #fff; border-color: var(--rs-brand); }
.rs-scale input { position: absolute; opacity: 0; pointer-events: none; }
.rs-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--rs-muted); margin-top: 4px; }
textarea, input[type=email], input[type=text] { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--rs-line); border-radius: 12px; }
textarea { min-height: 96px; }
textarea:focus, input:focus { outline: 2px solid var(--rs-brand); outline-offset: 1px; }
.rs-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin-top: 10px; }
.rs-check input { width: 20px; height: 20px; margin-top: 2px; }
button { width: 100%; font: inherit; font-weight: 700; padding: 15px; border: 0; border-radius: 12px; background: var(--rs-brand); color: #fff; cursor: pointer; margin-top: 18px; min-height: 52px; }
button:disabled { opacity: .6; }
.rs-err { color: var(--rs-bad); font-weight: 600; margin-top: 10px; }
.rs-done { text-align: center; padding: 40px 0; }
.rs-done .rs-tick { width: 64px; height: 64px; border-radius: 50%; background: var(--rs-ok); color: #fff; display: grid; place-items: center; font-size: 34px; margin: 0 auto 16px; }
.rs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rs-foot { text-align: center; font-size: 13px; color: var(--rs-muted); padding: 0 16px 24px; }
.rs-foot a { color: inherit; }
