:root{--bg:#f4f5f2;--card:#fff;--ink:#14171f;--muted:#6b7280;--line:#e3e5e0;--soft:#eef0ea;--accent:#233600;--accent-ink:#fff;--pos:#14855b;--pos-soft:#e3f4ec;--neg:#c43c3c;--neg-soft:#fbe9e9}@media (prefers-color-scheme:dark){body.plain,body.qrscreen{--bg:#0f110e;--card:#171a15;--ink:#eef0ea;--muted:#9aa392;--line:#2a2f26;--soft:#1e221b;--accent:#8fb03f;--accent-ink:#0f110e;--pos:#4cc38a;--pos-soft:#15301f;--neg:#f07575;--neg-soft:#3a1c1c}}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html{-webkit-text-size-adjust:100%}body{color:var(--ink);background:var(--bg);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);margin:0;font:16px/1.5 -apple-system,Segoe UI,system-ui,sans-serif}a{color:inherit}.badge{flex-shrink:0;width:64px;height:auto}.err{color:var(--neg);min-height:1.4em;margin:12px 0 0;font-size:15px}.muted{color:var(--muted)}body.sheet{color:#111;--line:#e6e6e6;--muted:#8a8f98;background:#fff;font-size:17px;line-height:1.45}body.sheet #app{max-width:520px;margin:0 auto;padding:36px 22px 40px}.sheet .top{justify-content:space-between;align-items:flex-start;gap:16px;margin:0 0 26px;display:flex}.sheet .top h1{letter-spacing:-.01em;margin:6px 0 0;font-size:24px;line-height:1.25}.sheet .intro{color:#444;margin:-10px 0 26px}.sheet .q{border-radius:12px;margin:0 0 34px}.sheet .q.bad{outline:2px solid var(--neg);outline-offset:8px}.sheet .q .label{margin-bottom:12px;font-weight:600;display:block}.sheet .q .opt{color:var(--muted);margin-left:6px;font-size:14px;font-weight:400}.sheet textarea,.sheet .field{width:100%;font:inherit;color:inherit;border:1px solid var(--line);appearance:none;background:#fff;border-radius:10px;padding:12px;font-size:16px}.sheet textarea{resize:vertical;min-height:96px}.sheet .field{min-height:50px}.sheet textarea:focus,.sheet .field:focus{border-color:#111;outline:none}.sheet select.field{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center no-repeat;padding-right:38px}.sheet .sec{letter-spacing:-.01em;margin:8px 0 22px;padding-top:6px;font-size:22px}.sheet .sec:not(:first-child){border-top:1px solid var(--line);margin-top:44px;padding-top:22px;font-size:19px}.sheet .choices{flex-direction:column;gap:8px;display:flex}.sheet .choice{border:1px solid var(--line);cursor:pointer;border-radius:10px;align-items:center;gap:12px;min-height:48px;padding:10px 14px;display:flex}.sheet .choice input{opacity:0;pointer-events:none;position:absolute}.sheet .choice .dot{border:1.5px solid var(--muted);border-radius:50%;flex-shrink:0;width:18px;height:18px}.sheet .choice:has(input:checked){border-color:#111}.sheet .choice:has(input:checked) .dot{border:5.5px solid #111}.sheet .stars{gap:6px;display:flex}.sheet .stars button{border:1px solid var(--line);min-height:52px;color:var(--line);cursor:pointer;background:#fff;border-radius:10px;flex:1;padding:0;font-size:28px;line-height:1}.sheet .stars button.on{color:#111;border-color:#111}.sheet .send{width:100%;min-height:54px;font:inherit;color:#fff;cursor:pointer;-webkit-appearance:none;background:#111;border:0;border-radius:12px;margin-top:4px;font-weight:600}.sheet .send:disabled{opacity:.5}.sheet .done{text-align:center;place-items:center;min-height:70vh;padding:0 10px;font-size:19px;display:grid}.sheet .done.muted{color:var(--muted);font-size:16px}button,.btn{font:inherit;cursor:pointer;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:10px;align-items:center;min-height:42px;padding:9px 14px;font-size:15px;font-weight:500;text-decoration:none;display:inline-flex}button.primary,.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}button.ghost{color:var(--muted);background:0 0;border-color:#0000}button[data-armed]{border-color:var(--neg);color:var(--neg)}button:disabled{opacity:.5}input,select{font:inherit;color:inherit;background:var(--card);border:1px solid var(--line);border-radius:10px;min-height:42px;padding:9px 12px;font-size:16px}.bar{background:var(--card);border-bottom:1px solid var(--line);z-index:2;position:sticky;top:0}.bar-in{flex-wrap:wrap;align-items:center;gap:14px;max-width:1100px;margin:0 auto;padding:8px 16px;display:flex}.brand{align-items:center;gap:10px;font-weight:700;text-decoration:none;display:flex}.brand .badge{width:36px}.bar nav{gap:4px;display:flex}.bar nav a{color:var(--muted);border-radius:9px;padding:7px 12px;text-decoration:none}.bar nav a.on{background:var(--soft);color:var(--ink)}.bar #out{margin-left:auto}.wrapx{max-width:1100px;margin:0 auto;padding:18px 16px 60px}.card{background:var(--card);border:1px solid var(--line);border-radius:16px;margin-bottom:14px;padding:18px}.card .head{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.card h2,.card h3{letter-spacing:-.01em;margin:0;font-size:19px}.card h3{font-size:16px}.card .head .muted{font-size:14px}.card .head button{margin-left:auto}.pill{background:var(--soft);color:var(--muted);border-radius:999px;padding:2px 10px;font-size:12px;font-weight:600}.pill.pos{background:var(--pos-soft);color:var(--pos)}.pill.neg{background:var(--neg-soft);color:var(--neg)}.actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.tools{flex-wrap:wrap;gap:8px;margin-bottom:8px;display:flex}.tools input{flex:1;min-width:160px}.scroll{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;vertical-align:top;border-bottom:1px solid var(--line);padding:8px 10px}th{background:var(--soft);white-space:nowrap;font-weight:600;position:sticky;top:0}td.nowrap{white-space:nowrap}mark{color:#111;background:#f6e27a;border-radius:3px}.answer dl{grid-template-columns:minmax(120px,max-content) 1fr;gap:4px 14px;margin:12px 0 0;font-size:15px;display:grid}.answer dt{color:var(--muted)}.answer dd{overflow-wrap:anywhere;margin:0}@media (max-width:560px){.answer dl{grid-template-columns:1fr}.answer dd{margin-bottom:6px}}.toastx{left:50%;bottom:calc(20px + env(safe-area-inset-bottom));background:var(--ink);color:var(--card);border-radius:999px;max-width:calc(100% - 32px);padding:10px 18px;transition:transform .3s;position:fixed;transform:translate(-50%,120px)}.toastx.show{transform:translate(-50%)}.toastx.bad{background:var(--neg);color:#fff}.login{flex-direction:column;align-items:center;max-width:360px;margin:10vh auto 0;padding:0 20px;display:flex}.login .badge{width:96px}.login h1{letter-spacing:.04em;margin:12px 0 20px}.login form{flex-direction:column;gap:12px;width:100%;display:flex}.login label{color:var(--muted);flex-direction:column;gap:4px;font-size:14px;display:flex}.login input{color:var(--ink)}.login button{justify-content:center}body.qrscreen #app{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:18px;min-height:100vh;padding:24px;display:flex}.qrscreen .badge{top:calc(18px + env(safe-area-inset-top));position:fixed;right:18px}.qrscreen h1{letter-spacing:-.02em;margin:0;font-size:clamp(22px,4vw,40px)}.qrscreen .hint{color:var(--muted);margin:0;font-size:clamp(15px,2vw,20px)}.qrscreen .qr{aspect-ratio:1;background:#fff;border-radius:20px;place-items:center;width:min(70vh,80vw);padding:14px;transition:transform .25s,box-shadow .25s;display:grid;box-shadow:0 4px 30px #00000014}.qrscreen .qr svg{width:100%;height:100%;display:block}.qrscreen .qr.flash{box-shadow:0 0 0 8px var(--pos);transform:scale(.96)}.qrscreen .qr.off{opacity:.15}.qrscreen .meta{color:var(--muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;font-size:14px;display:flex}.qrscreen .meta button,.qrscreen .meta a{border:1px solid var(--line);min-height:0;color:var(--muted);background:0 0;border-radius:8px;padding:5px 12px;font-size:14px;text-decoration:none}.qrscreen .count{color:var(--ink);font-weight:700}.qrscreen .url{color:var(--muted);-webkit-user-select:all;user-select:all;font-family:ui-monospace,Consolas,monospace;font-size:13px}.qrscreen .toast{background:var(--pos);color:#fff;border-radius:999px;padding:10px 20px;font-weight:600;transition:transform .3s;position:fixed;top:24px;left:50%;transform:translate(-50%,-80px)}.qrscreen .toast.show{transform:translate(-50%)}.qrscreen .closed{color:var(--neg);font-weight:600}
