/* 증인 웹 — 흰 바탕·기본 글꼴, 모바일 먼저, 넓으면 가운데 440px 기둥 (디자인 명세 9절) */
:root { --text: #111; --sub: #5f635f; --line: #e3e3de; --bubble: #ececea; --hl: #ffe45c; --accent: #111; --on-accent: #fff; --red: #c62828; }
* { box-sizing: border-box; }
html, body { margin: 0; background: #fff; color: var(--text); font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif; }
main { max-width: 440px; margin: 0 auto; padding: 24px 16px 48px; display: flex; flex-direction: column; gap: 16px; }
h1 { font-size: 24px; line-height: 1.35; margin: 8px 0; }
.sub { color: var(--sub); font-size: 15px; }
.small { color: var(--sub); font-size: 13px; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.card .label { font-size: 12px; color: var(--sub); }
.sticker { align-self: center; width: 180px; height: 180px; border-radius: 24px; background: var(--bubble); display: grid; place-items: center; font-size: 72px; }
.bubble { background: var(--bubble); border-radius: 18px 18px 18px 4px; padding: 14px; font-size: 16px; line-height: 1.45; white-space: pre-wrap; }
.facts { font-size: 12px; color: var(--sub); }
.sign mark { background: var(--hl); color: var(--text); padding: 0 2px; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
legend { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.choices { display: flex; gap: 8px; flex-wrap: wrap; }
.choices label { border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.choices input { accent-color: var(--accent); }
input[type=email], input[type=text] { width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px; border: 0; background: #f6f6f3; color: var(--text); }
button { font: inherit; cursor: pointer; }
.primary { width: 100%; min-height: 54px; border: 0; border-radius: 14px; background: var(--accent); color: var(--on-accent); font-weight: 700; }
.primary:disabled { opacity: .35; cursor: default; }
.text { background: none; border: 0; color: var(--sub); min-height: 44px; width: 100%; }
.reactions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.reactions button { min-height: 64px; border: 1px solid var(--line); border-radius: 14px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; gap: 2px; }
.reactions button[aria-pressed=true] { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.reactions .emoji { font-size: 22px; }
.links { display: flex; gap: 16px; justify-content: center; font-size: 13px; }
.links a, .links button { color: var(--sub); background: none; border: 0; text-decoration: underline; padding: 8px; }
.notice { border-radius: 12px; background: #f6f6f3; padding: 14px; }
.error { color: var(--red); font-size: 14px; }
:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }
.note-row { display: flex; gap: 8px; }
.note-row[hidden] { display: none; }
.primary.send { width: auto; padding: 0 18px; }
.contents { display: contents; }
.link-button { display: grid; place-items: center; text-decoration: none; text-align: center; padding: 8px 12px; }
h1.brand { font-size: 15px; margin: 0; color: var(--sub); }
