:root{color-scheme:light;font-family:Arial,Helvetica,sans-serif;color:#203d53;background:#f1f3f6;font-synthesis:none;--burgundy:#823d55;--blue:#28567a;--muted:#6b7f8f;--border:#dbe3e9}
*{box-sizing:border-box}body{margin:0;min-height:100vh;min-height:100dvh;font-size:16px;line-height:1.5;background:radial-gradient(ellipse at 0% 0%,#c6d8ea9e,transparent 48%),radial-gradient(ellipse at 100% 100%,#e6cdd69c,transparent 48%),#f3f4f6;background-attachment:fixed}a{color:var(--blue);text-underline-offset:3px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6b9dc4;outline-offset:3px}input,select,textarea{width:100%;min-width:0;border:1px solid #cbd8e1;border-radius:8px;background:#fbfcfe;padding:10px 12px;color:#203d53}input[type=color]{width:48px;height:43px;padding:4px}input[type=checkbox]{width:19px;height:19px;accent-color:var(--blue)}textarea{resize:vertical}h1,h2,h3,p{margin-top:0}h1{font-size:34px;line-height:1.16;letter-spacing:-1px;margin-bottom:10px}h2{font-size:23px;line-height:1.25;letter-spacing:-.4px;margin-bottom:14px}h3{font-size:17px;margin-bottom:8px}p{margin-bottom:16px}.muted,small,.form-note{color:var(--muted)}.eyebrow{color:var(--burgundy);font-size:11px;font-weight:700;letter-spacing:1.8px;margin-bottom:15px}.brand{display:block;color:var(--burgundy);font-size:25px;font-weight:800;letter-spacing:3px;text-decoration:none}.brand span{display:block;color:var(--muted);font-size:11px;font-weight:400;letter-spacing:.6px;margin-top:3px}.card{border:1px solid #ffffffeb;border-radius:18px;background:#ffffffed;box-shadow:0 9px 35px #29415906;padding:28px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 18px;border:1px solid transparent;border-radius:9px;background:var(--blue);color:#fff;font-size:14px;font-weight:600;text-decoration:none;line-height:1.3}.button:hover{filter:brightness(.96)}.button.secondary{background:#f7f9fb;border-color:var(--border);color:#38566c}.icon-button{border:0;background:transparent;color:#5b7384;font-size:27px;line-height:1;padding:6px 10px;border-radius:6px}.button[hidden],[hidden]{display:none!important}.notice{padding:13px 16px;border-radius:10px;background:#edf3fa;color:#365572;font-size:14px;margin:18px 0}.error,#editor-error,#confirm-error,#reset-error{color:#973c54}.notice.error{background:#faedf0}.vote-page{width:min(100% - 32px,580px);margin:0 auto;padding:32px 0}.vote-page>.brand{text-align:center;margin:0 0 27px}.public-card{padding:32px}.public-card h1{font-size:29px}.public-card .eyebrow{font-size:10px;letter-spacing:1.5px}.public-foot{text-align:center;font-size:12px;color:#7a8b98;margin-top:19px}.vote-question{padding:0;margin:26px 0;border:0;min-width:0}.vote-question legend{font-size:17px;font-weight:600;margin-bottom:16px;padding:0;overflow-wrap:anywhere}.vote-options{display:grid;gap:10px}.vote-option{position:relative;display:block;cursor:pointer}.vote-option input{position:absolute;opacity:0;width:1px;height:1px}.option-box{display:flex;align-items:center;gap:15px;min-height:65px;padding:16px 18px;border:2px solid transparent;border-radius:11px;background:var(--team-color);transition:box-shadow .15s,border-color .15s}.option-number{font-size:12px;opacity:.65;font-variant-numeric:tabular-nums}.option-label{font-weight:600;color:#20384a;overflow-wrap:anywhere}.option-check{margin-left:auto;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;flex-shrink:0;color:transparent;border:1px solid #203d5340}.vote-option input:checked+.option-box{border-color:#2d5273;box-shadow:0 2px 9px #203d5312}.vote-option input:checked+.option-box .option-check{background:#2d5273;color:#fff;border-color:#2d5273}.vote-option input:focus-visible+.option-box{outline:3px solid #2c638f;outline-offset:3px}.vote-submit{width:100%;min-height:49px;font-size:15px}.form-note{font-size:12px;line-height:1.5;margin:12px 0}.vote-success{text-align:center;padding:30px 0 13px}.success-mark{display:grid;place-items:center;width:65px;height:65px;background:#e0eee6;color:#39825d;border-radius:50%;font-size:30px;margin:0 auto 22px}.confirmation-choice{padding:13px 15px;background:#f1f5f8;border-radius:9px}.confirmation-choice small{display:block;margin-bottom:6px}.loading{padding:22px 0;color:var(--muted)}
dialog{width:min(100% - 32px,480px);max-height:90dvh;overflow:auto;margin:auto;padding:28px;border:1px solid #e4e8ed;border-radius:17px;color:#203d53;background:#fff;box-shadow:0 20px 80px #1b304b2e}dialog::backdrop{background:#20334b70;backdrop-filter:blur(4px)}dialog label{display:grid;gap:6px;font-size:13px;font-weight:600}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:23px}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.dialog-header h2{margin:0}.dialog-header .eyebrow{margin-bottom:7px}.sidebar{width:224px;position:fixed;inset:0 auto 0 0;padding:31px 22px;background:#ffffffc9;border-right:1px solid #fff;display:flex;flex-direction:column}.sidebar nav{display:grid;gap:8px;margin-top:44px}.sidebar nav a{display:block;border-radius:8px;padding:11px 12px;font-size:13px;text-decoration:none;color:#596e7f}.sidebar nav a.active{background:#e8eef6;color:var(--blue);font-weight:700}.sidebar-bottom{display:grid;gap:6px;margin-top:auto;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.sidebar-bottom a{margin-top:17px;text-decoration:none}.panel-main{margin-left:224px;padding:38px 42px;max-width:1760px}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.panel-title .eyebrow{margin-bottom:10px}.panel-title p:last-child{margin-bottom:0;font-size:14px}.toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:20px 24px;margin-bottom:27px}.toolbar label{display:grid;gap:6px;min-width:200px;flex:1;max-width:500px;font-size:12px;color:var(--muted)}.toolbar-actions{display:flex;gap:9px;flex-wrap:wrap}.stats-header{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:25px 0}.stats-header h2{font-size:26px;margin:13px 0 8px}.stats-header .muted{font-size:13px;margin:0}.status-badge{display:inline-block;border-radius:20px;padding:4px 10px;color:#416d59;background:#e1eee7;font-size:11px;font-weight:600;margin:0 6px 0 0}.status-badge.test{background:#efe7ef;color:#80556f}.status-badge.closed{background:#e9edf1;color:#607182}.total-card{flex-shrink:0;min-width:180px;padding:0 0 0 28px;border-left:1px solid #ced9e3;display:grid;gap:0}.total-card>span{color:var(--muted);font-size:12px}.total-card strong{font-size:43px;line-height:1.4;letter-spacing:-1.5px;font-weight:600;font-variant-numeric:tabular-nums}.total-card small{font-size:11px}.total-card .offline{color:#973c54}.charts-section{margin-bottom:30px}.charts-section>h3{margin:0 0 15px;font-size:18px}.chart-grid{display:grid;grid-template-columns:1fr;gap:18px}.chart-card{min-width:0;padding:24px}.chart-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.chart-title h3{font-size:15px}.chart-title span{font-size:11px;color:var(--muted)}.bars{display:flex;align-items:flex-end;gap:16px;min-height:260px;padding:28px 5px 0}.bar-item{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end}.bar-space{height:175px;width:100%;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #dce4eb}.bar{width:min(100%,95px);border-radius:8px 8px 0 0;min-height:3px;background:var(--team-color);transition:height .35s}.bar-label{margin-top:11px;font-size:12px;text-align:center;overflow-wrap:anywhere;max-width:100%}.bar-votes{font-size:20px;font-weight:700;margin-top:3px;line-height:1.3}.bar-percent{font-size:10px;color:var(--muted)}.line-chart{width:100%;height:auto;display:block;overflow:visible}.chart-svg-wrap{margin-top:15px}.legend{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:16px;font-size:12px}.legend-item{display:flex;align-items:center;gap:7px;max-width:100%;overflow-wrap:anywhere}.legend-dot{display:block;width:11px;height:11px;border-radius:3px;flex-shrink:0;background:var(--team-color)}.chart-foot{text-align:center;font-size:11px;color:var(--muted);margin-top:22px}.test-controls{display:flex;align-items:center;justify-content:space-between;gap:25px;background:#fffafb}.test-controls h3{font-size:15px}.test-controls .muted{font-size:12px;max-width:650px;margin:0}.test-controls .button{flex-shrink:0}.empty{text-align:center;padding:70px 24px}.editor{width:min(100% - 32px,850px);padding:0}.editor .dialog-header{padding:24px 28px;margin:0;border-bottom:1px solid #e3e9ee}.editor-body{padding:24px 28px}.editor footer{margin:0;padding:20px 28px;border-top:1px solid #e3e9ee;background:#f9fbfc}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .full{grid-column:1/-1}.check-field{display:flex;align-items:center;gap:10px;align-self:center}.check-field span{display:grid}.check-field small{font-size:11px;font-weight:400}.editor-body>h3{margin-top:30px}.question-block{padding:18px;border:1px solid #dce5ec;border-radius:10px;margin-bottom:15px;background:#fbfcfd}.question-head{display:flex;align-items:flex-start;gap:10px;margin-bottom:12px}.question-head label{flex:1}.question-head .icon-button{margin-top:24px}.option-row{display:flex;align-items:center;gap:8px;margin:8px 0}.option-row input[type=text]{flex:1;font-size:14px}.option-row .icon-button{font-size:21px}.question-block .button{margin-top:10px;font-size:12px}.qr-code{display:grid;place-items:center;background:white;margin:20px auto 16px;padding:8px;width:min(100%,330px)}.qr-code svg{display:block;width:100%;height:auto}#qr-dialog{text-align:center;width:min(100% - 32px,560px)}#qr-url{overflow-wrap:anywhere;font-size:14px}#qr-mode{font-size:12px}#panel-message:empty{display:none}.axis-label{font-size:11px;fill:#6b7f8f}.axis-grid{stroke:#e6ecf1;stroke-width:1}.series-line{fill:none;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.series-dot{stroke:white;stroke-width:1.5}
@media(min-width:1400px){.chart-grid{grid-template-columns:1fr 1.15fr}.bars{min-height:290px}.bar-space{height:200px}}
@media(max-width:1050px){.panel-main{padding:28px 24px}.toolbar{align-items:stretch;flex-direction:column}.toolbar label{max-width:none}.panel-title{align-items:flex-start}.panel-title .button{flex-shrink:0;font-size:12px}.toolbar-actions .button{font-size:12px}}
@media(max-width:760px){.sidebar{position:static;inset:auto;width:100%;padding:17px 20px;flex-direction:row;align-items:center;justify-content:space-between;border:0;border-bottom:1px solid #fff}.sidebar .brand{font-size:21px}.sidebar .brand span,.sidebar-bottom{display:none}.sidebar nav{display:flex;align-items:center;margin:0;gap:8px}.sidebar nav a{font-size:11px;padding:8px}.panel-main{margin-left:0;padding:25px 17px}.panel-title{display:grid;margin-bottom:20px}.panel-title h1{font-size:30px}.panel-title .button{justify-self:start}.toolbar{padding:18px}.stats-header{gap:13px}.stats-header h2{font-size:21px}.total-card{min-width:115px;padding-left:16px}.total-card strong{font-size:35px}.total-card>span{font-size:10px}.total-card small{font-size:10px}.chart-card{padding:20px 15px}.bars{gap:9px;padding-left:0;padding-right:0}.bar-label{font-size:10px}.bar-votes{font-size:18px}.test-controls{align-items:flex-start;flex-direction:column;padding:20px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.editor-body,.editor .dialog-header{padding:20px}.editor footer{padding:17px 20px}.legend{font-size:11px;gap:9px 14px}.option-box{min-height:65px}.public-card{padding:26px}.public-card h1{font-size:26px}.vote-page{padding-top:23px}.vote-page>.brand{margin-bottom:22px}.public-card .eyebrow{font-size:9px}.dialog-actions .button{flex:1}.question-block{padding:12px}.option-row{gap:6px}.option-row input[type=color]{width:39px}.question-head{gap:0}dialog{padding:22px}.question-editor .icon-button{padding:4px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
