:root{--bg: #f5f6f8;--panel: #ffffff;--ink: #0f172a;--ink-2: #334155;--muted: #64748b;--line: #e5e7eb;--line-2: #d1d5db;--accent: #2456d3;--accent-ink: #1d47b3;--accent-soft: #eaf0fd;--good: #15803d;--good-soft: #e8f6ee;--bad: #b91c1c;--bad-soft: #fdecec;--ring: 0 0 0 3px rgba(36, 86, 211, .22);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.55;font-size:16px;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;background:radial-gradient(1000px 360px at 50% -8%,#dfe8fd,#dfe8fd00 70%),var(--bg);min-height:100vh}a{color:var(--accent);text-underline-offset:2px}:focus-visible{outline:none;box-shadow:var(--ring)}main{max-width:760px;margin:0 auto;padding:28px 16px 56px}.head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:8px}h1{font-size:26px;line-height:1.25;font-weight:700;letter-spacing:-.02em;margin:0}h2{font-size:18px;font-weight:650;margin:0 0 6px}section,details{background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:0 1px 2px #0f172a0a,0 1px 3px #0f172a0f;padding:20px 22px;margin:16px 0}details summary{cursor:pointer;font-weight:600}.purpose{display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 0;border-top:1px solid #eef0f3}.purpose:first-of-type{border-top:0}.purpose label{display:flex;flex-direction:column;gap:4px;cursor:pointer}.purpose strong{font-weight:600}.purpose input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;flex:none;width:46px;height:26px;margin:2px 0 0;border-radius:999px;background:#cbd5e1;position:relative;cursor:pointer;transition:background .15s}.purpose input[type=checkbox]:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0f172a40;transition:transform .15s}.purpose input[type=checkbox]:checked{background:var(--accent)}.purpose input[type=checkbox]:checked:after{transform:translate(20px)}.desc,.muted{font-size:14px}.muted{color:var(--muted)}.always{font-size:12px;font-weight:600;color:var(--good);background:var(--good-soft);border-radius:999px;padding:3px 10px;white-space:nowrap;flex:none}button{font:inherit;font-weight:600;min-height:44px;padding:10px 20px;border-radius:10px;border:0;background:var(--accent);color:#fff;cursor:pointer;margin-top:10px;box-shadow:0 1px 2px #2456d34d;transition:background .12s}button:hover{background:var(--accent-ink)}button:disabled{opacity:.45;cursor:default}select{font:inherit;padding:8px 10px;border:1px solid var(--line-2);border-radius:8px;background:#fff}form label{display:block;margin-top:12px;font-size:14px;font-weight:500;color:var(--ink-2)}form input,form textarea,form select,.question input:not([type=radio]),.question textarea{font:inherit;width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--line-2);border-radius:10px;margin-top:6px;background:#fff;font-weight:400}.question input:focus,form input:focus,form textarea:focus,form select:focus,select:focus{outline:none;border-color:var(--accent);box-shadow:var(--ring)}.error,.ok{display:block;padding:12px 16px;border-radius:10px;border:1px solid;font-size:15px;font-weight:500;margin:12px 0}.error{color:var(--bad);background:var(--bad-soft);border-color:#f5c2c0}.ok{color:var(--good);background:var(--good-soft);border-color:#b9e3c8}output{display:block;margin-top:8px}.history,.requests{list-style:none;padding:0;margin:0}.history li,.requests li{padding:10px 0;border-top:1px solid #eef0f3;font-size:15px}.history li:first-child,.requests li:first-child{border-top:0}pre{white-space:pre-wrap;background:#f1f3f6;padding:12px 14px;border-radius:10px;font-family:inherit;font-size:14px}.question{border:1px solid var(--line);border-radius:12px;padding:12px 16px;margin:0 0 12px;display:grid;gap:8px}.question legend{padding:0 6px;font-weight:500}.question .choices{display:flex;gap:18px;flex-wrap:wrap}.question input[type=radio]{accent-color:var(--accent);width:18px;height:18px;vertical-align:-3px}@media(max-width:520px){h1{font-size:22px}section,details{padding:16px;border-radius:12px}button{width:100%}}
