:root{--bg: #f6f7f9;--surface: #ffffff;--text: #1b1f24;--muted: #5b6573;--border: #d5dae1;--accent: #1f4e79;--accent-text: #ffffff;--error: #b42318;--ok: #1a7f37;--notice: #fff4d6;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--text);background:var(--bg)}@media(prefers-color-scheme:dark){:root{--bg: #111418;--surface: #1a1f25;--text: #e6e9ee;--muted: #9aa4b2;--border: #2e3640;--accent: #6ea8e0;--accent-text: #0b1520;--error: #ff8b7e;--ok: #63d083;--notice: #3a3218}}*{box-sizing:border-box}body{margin:0;background:var(--bg)}.shell{min-height:100vh}.top{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 24px;background:var(--surface);border-bottom:1px solid var(--border);flex-wrap:wrap}.top nav{display:flex;gap:12px;flex-wrap:wrap}.page{max-width:880px;margin:0 auto;padding:24px 16px 64px}.page.narrow{max-width:420px}h1{font-size:1.5rem;margin:0 0 16px}.muted{color:var(--muted)}.field{display:flex;flex-direction:column;gap:6px;margin:12px 0;font-weight:500}input,select,textarea{font:inherit;padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text)}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}button{font:inherit;padding:8px 14px;border-radius:6px;border:1px solid var(--accent);background:var(--accent);color:var(--accent-text);cursor:pointer}button.link{background:none;border:none;color:var(--accent);padding:4px;text-decoration:underline}.cards{list-style:none;padding:0;display:grid;gap:8px}.card{width:100%;display:flex;justify-content:space-between;background:var(--surface);color:var(--text);border:1px solid var(--border);text-align:left}.badge{font-size:.8rem;padding:2px 8px;border-radius:10px;border:1px solid var(--border)}.badge.sent{border-color:var(--accent)}.badge.submitted{border-color:var(--ok);color:var(--ok)}.section{border:1px solid var(--border);border-radius:8px;background:var(--surface);margin:16px 0;padding:12px 16px}.section legend{font-weight:600;padding:0 6px}.question{display:flex;flex-direction:column;gap:8px;padding:12px 0;border-bottom:1px solid var(--border)}.question:last-child{border-bottom:none}.question>label{font-weight:500}.question.invalid{border-left:3px solid var(--error);padding-left:10px}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.inline{display:inline-flex;gap:6px;align-items:center}.prefill{background:var(--notice);padding:8px;border-radius:6px;margin:0;display:flex;flex-direction:column;gap:4px}.cite{font-size:.85rem;color:var(--muted)}.notice{background:var(--notice);padding:8px 12px;border-radius:6px}.error{color:var(--error);margin:0}.actions{margin:16px 0}.delegate summary{cursor:pointer;color:var(--muted)}.delegate input{margin-right:8px}table{width:100%;border-collapse:collapse;background:var(--surface);margin:12px 0}th,td{text-align:left;padding:8px;border-bottom:1px solid var(--border)}.thread{list-style:none;padding:0;display:flex;flex-direction:column;gap:8px}.thread li{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:8px 12px}.thread li.vendor{border-left:3px solid var(--accent)}.thread p{margin:4px 0 0;white-space:pre-wrap}
