/* Shared by index.html and help.html */
:root { --blue: rgb(17, 96, 154); --ink: #1b1f24; --muted: #5b6672; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: #f4f6f8; }
header { background: var(--blue); color: #fff; padding: 28px 20px; }
header h1 { margin: 0 0 4px; font-size: 24px; }
header p { margin: 0; opacity: .85; }
main { max-width: 560px; margin: 0 auto; padding: 20px; }
section { background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.btn { display: inline-block; background: #000; color: #fff; border: 0; border-radius: 10px; padding: 14px 20px; font-size: 17px; font-weight: 600; cursor: pointer; width: 100%; text-align: center; }
.btn:disabled { opacity: .6; }
.btn.secondary { background: #e8ecf0; color: var(--ink); }
input[type=file] { display: none; }
#fields label { display: grid; grid-template-columns: 130px 1fr; gap: 8px; align-items: center; margin: 6px 0; font-size: 14px; color: var(--muted); }
#fields input { font: inherit; color: var(--ink); padding: 8px 10px; border: 1px solid #d5dbe1; border-radius: 8px; width: 100%; }
#fields input.missing { border-color: #d97706; background: #fffbeb; }
.row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 12px; }
.photo { width: 90px; height: auto; border-radius: 8px; }
.note { font-size: 13px; color: var(--muted); }
#error { background: #fef2f2; color: #991b1b; border-radius: 10px; padding: 12px; margin-bottom: 12px; }
#missing { color: #92400e; font-size: 14px; }
#notice { background: #ecfdf5; color: #065f46; border-radius: 10px; padding: 12px; margin-bottom: 12px; }
.link { background: none; border: 0; color: var(--blue); font: inherit; padding: 8px 0; cursor: pointer; text-decoration: underline; }
#voucher-form { display: flex; gap: 8px; margin-top: 8px; }
#voucher-form input { flex: 1; font: inherit; padding: 10px 12px; border: 1px solid #d5dbe1; border-radius: 10px; text-transform: uppercase; min-width: 0; }
#voucher-form .btn { width: auto; padding: 10px 16px; font-size: 16px; }
#voucher-area { text-align: center; margin-top: 8px; }

/* sample pass */
.sample { margin: 0 0 18px; }
.pass { background: var(--blue); color: #fff; border-radius: 14px; padding: 14px 16px 16px; max-width: 330px; margin: 0 auto; box-shadow: 0 6px 18px rgba(17,96,154,.25); font-size: 12px; }
.pass-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pass-top b { display: block; font-size: 13px; letter-spacing: .02em; }
.pass-top small { color: rgb(206,226,244); font-weight: 700; }
.pass label { display: block; color: rgb(206,226,244); font-size: 10px; letter-spacing: .06em; }
.pass .big { font-size: 20px; }
.pass-main { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.pass-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.pass-row div:last-child { text-align: right; }
.pass .qr { background: #fff; border-radius: 8px; width: 112px; margin: 6px auto 0; padding: 6px; }
.pass .qr svg { display: block; width: 100%; height: auto; }
.pass .alt { text-align: center; font-size: 11px; color: rgb(206,226,244); margin-top: 4px; }
.sample .note { text-align: center; }
/* trust */
details { background: #f4f6f8; border-radius: 10px; padding: 10px 14px; margin: 14px 0; font-size: 14px; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0; }
.trust { font-size: 14px; margin: 14px 0 0; padding-left: 20px; }
.trust li { margin: 4px 0; }
footer { max-width: 560px; margin: 0 auto; padding: 4px 20px 32px; font-size: 12px; color: var(--muted); text-align: center; }
footer a, .note a, .trust a { color: var(--blue); }
.ref { font-family: ui-monospace, Menlo, monospace; font-weight: 700; letter-spacing: .04em; }
/* help page */
form.stack label { display: block; margin: 10px 0 4px; font-size: 14px; color: var(--muted); }
form.stack input[type=text], form.stack input[type=email], form.stack select, form.stack textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #d5dbe1; border-radius: 10px; background: #fff; }
form.stack input[type=file] { display: block; font-size: 14px; }
form.stack .btn { margin-top: 14px; }
.facts { font-size: 14px; padding-left: 18px; }
.case { background: #f4f6f8; border-radius: 10px; padding: 10px 12px; margin: 8px 0; font-size: 14px; }
section + section { margin-top: 16px; }
a.btn { text-decoration: none; display: block; }
header .brand { font-weight: 800; letter-spacing: .04em; font-size: 14px; opacity: .9; margin-bottom: 6px; }
#notice.warn { background: #fffbeb; color: #92400e; }
