:root{--ink:#1d2b3e;--muted:#5e6f84;--line:#e5eaf0;--paper:#fff;--bg:#f4f6f9;--accent:#416ec8;--soft:#edf2fb;--danger:#a4312c}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font:14px/1.6 -apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,sans-serif}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,.button{border:1px solid var(--accent);background:var(--accent);color:#fff;cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:7px 16px;display:inline-flex}button:hover{filter:brightness(.94)}button.secondary,.button.secondary{color:var(--accent);border-color:var(--line);background:#fff}button.danger{background:var(--danger);border-color:var(--danger)}button:disabled{opacity:.5;cursor:wait}:focus-visible{outline-offset:3px;outline:2px solid #416ec8}input,select,textarea{color:var(--ink);background:#fff;border:1px solid #cbd5e1;border-radius:6px;width:100%;min-width:0;padding:7px 12px}textarea{resize:vertical;min-height:110px}input[type=checkbox],input[type=radio]{width:auto;accent-color:var(--accent)}label{flex-direction:column;gap:5px;font-weight:500;display:flex}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.6px;margin-bottom:10px;font-size:30px;line-height:1.3}h2{margin-bottom:16px;font-size:21px}h3{margin-bottom:8px;font-size:17px}.muted,small{color:var(--muted)}small{font-size:13px}.top{color:#fff;background:#fff;justify-content:space-between;align-items:center;gap:20px;padding:18px 32px;display:flex}.brand{color:#fff;letter-spacing:1px;white-space:nowrap;flex-shrink:0;font-size:20px;font-weight:700}.top small{color:var(--muted)}.top a{color:#fff}.shell{grid-template-columns:210px minmax(0,1fr);max-width:1600px;min-height:calc(100vh - 76px);margin:auto;display:grid}aside{border-right:1px solid var(--line);padding:28px 18px}nav{flex-direction:column;gap:6px;display:flex}nav a{color:var(--muted);border-radius:6px;padding:9px 14px}nav a.active{background:var(--soft);color:var(--accent);font-weight:700}main{min-width:0;padding:38px 40px}.user{max-width:1050px;margin:auto;padding:32px 24px}.usernav{border-bottom:1px solid var(--line);flex-flow:wrap;gap:24px;margin-bottom:28px;padding-bottom:16px;display:flex}.usernav a.active{border-bottom:2px solid var(--accent);font-weight:700}.pagehead{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px;display:flex}.section{background:var(--paper);border:1px solid var(--line);border-radius:8px;margin-bottom:22px;padding:24px}.row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.row>*{flex:0 auto}.row input,.row select{width:auto;min-width:150px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.span{grid-column:1/-1}.stack{flex-direction:column;gap:18px;display:flex}.actions{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}.notice{background:#eff5ff;border:1px solid #c8d8f4;border-radius:6px;margin-bottom:20px;padding:12px 16px}.error{color:#892c23;background:#fff0ec;border-color:#e4b4a8}.tablewrap{border:1px solid var(--line);background:#fff;border-radius:7px;overflow:auto}table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:14px}th{text-align:left;color:var(--muted);background:#f6f8fb;font-weight:500}th,td{border-bottom:1px solid var(--line);vertical-align:top;padding:13px 16px}td.wrap{white-space:normal;min-width:200px}tr:last-child td{border-bottom:0}.badge{background:var(--soft);color:#087e65;white-space:nowrap;border-radius:4px;padding:3px 8px;font-size:12px}.badge.rejected,.badge.failed,.badge.disabled{color:#913327;background:#fbe6e2}.badge.pending,.badge.review,.badge.unverified{color:#765213;background:#fff0d4}.stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:36px;margin:22px 0;padding:20px 0;display:flex}.stat strong{font-variant-numeric:tabular-nums;font-size:30px;display:block}.surveylist{border:1px solid var(--line);background:#fff;border-radius:8px;overflow:hidden}.surveyitem{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;gap:22px;padding:26px;display:grid}.surveyitem:last-child{border:0}.reward{color:var(--accent);white-space:nowrap;font-size:25px;font-weight:700}.auth{border:1px solid var(--line);background:#fff;border-radius:10px;max-width:460px;margin:50px auto;padding:30px}.question{border-bottom:1px solid var(--line);padding:24px 0}.question:first-child{padding-top:0}.question:last-child{border:0}.question legend{margin-bottom:12px;font-size:17px;font-weight:600}.question fieldset{border:0;margin:0;padding:0}.option{border:1px solid var(--line);border-radius:6px;flex-direction:row;align-items:center;gap:12px;margin:8px 0;padding:12px 14px;font-weight:400;display:flex}.question img{object-fit:contain;max-width:100%;max-height:300px}.progress{background:#e8edf5;border-radius:3px;height:6px;margin:14px 0}.progress>div{background:var(--accent);border-radius:3px;height:100%}.empty{text-align:center;color:var(--muted);padding:50px 20px}.inline{flex-direction:row;align-items:center;gap:10px;display:flex}.questionedit{border:1px solid var(--line);background:#f7f9fc;border-radius:6px;padding:20px}.mono{font-family:ui-monospace,monospace;font-size:12px}.close{margin-left:auto}.sticky{border-top:1px solid var(--line);background:#fff;margin-top:20px;padding:16px;position:sticky;bottom:0}.steps{letter-spacing:.5px;color:var(--muted);font-size:13px}@media (max-width:850px){.shell{grid-template-rows:auto 1fr;grid-template-columns:1fr}aside{border-right:0;border-bottom:1px solid var(--line);padding:12px 20px}nav{white-space:nowrap;flex-direction:row;overflow:auto}main{padding:25px 20px}.top{padding:16px 20px}.top small{display:none}.grid{grid-template-columns:1fr}.pagehead{flex-direction:column}.stats{flex-wrap:wrap;gap:22px}.stat strong{font-size:25px}.user{padding:25px 16px}.usernav{gap:18px}.surveyitem{gap:10px;padding:20px}.section{padding:20px}.auth{margin:25px 16px}.row input,.row select{width:100%}.row{align-items:stretch}.questionedit{padding:16px}h1{font-size:26px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}.filters{flex-wrap:wrap;align-items:end;gap:16px;margin:20px 0;display:flex}.filters>*{min-width:180px}.subnav{gap:20px;margin-bottom:20px}.subnav a[aria-current=page]{font-weight:700;text-decoration:underline}@media (max-width:720px){.shell aside nav{flex-wrap:wrap;gap:6px;display:flex}.shell aside nav a{padding:8px 12px}.filters>*{flex:1;min-width:140px}}.top{border-bottom:1px solid var(--line);height:74px;color:var(--ink);gap:16px;padding:0 28px}.top a,.top .brand{color:var(--ink)}.brand{letter-spacing:0;align-items:center;gap:10px;font-size:18px;display:flex}.brand img{object-fit:contain;flex:none;width:44px;height:44px}.top .row{flex-wrap:nowrap;min-width:0}.account-email{overflow-wrap:anywhere;font-size:13px}.profile-icon{color:#71849e;box-sizing:content-box;background:#edf1f6;border-radius:50%;flex:none;padding:7px}.admin-top{justify-content:flex-end;margin-left:216px}.admin-top>.brand{display:none}.shell{max-width:none;min-height:calc(100vh - 74px);margin-left:216px;display:block}.shell aside{color:#e6edf7;z-index:10;background:#172b45;border:0;width:216px;padding:0 8px 24px;position:fixed;inset:0 auto 0 0;overflow-y:auto}.sidebar-brand{color:#fff;border-bottom:1px solid #2b3e56;height:74px;margin:0 -8px 22px;padding:0 14px}.sidebar-brand:hover{text-decoration:none}.shell aside nav a{color:#e1e9f3;align-items:center;gap:15px;min-height:52px;padding:14px 20px;font-size:16px;display:flex;position:relative}.shell aside nav a:hover{background:#223c5d;text-decoration:none}.shell aside nav a.active{color:#fff;background:#2b4a73}.shell aside nav a.active:before{content:"";background:#79a5f9;border-radius:3px;width:3px;position:absolute;top:9px;bottom:9px;left:0}main{padding:26px 28px 40px}.pagehead{align-items:center;min-height:70px;margin-bottom:20px}.pagehead h1{margin-bottom:0;font-size:30px;font-weight:700}.steps{letter-spacing:0;margin-bottom:12px;font-size:13px}.steps span{margin:0 10px}.page-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.subnav{border-bottom:1px solid #dce3ed;flex-direction:row;align-items:center;gap:18px;margin-bottom:20px;display:flex}.subnav a{color:#52647d;border-bottom:2px solid #0000;border-radius:0;padding:10px 12px 12px;font-size:16px}.subnav a[aria-current=page]{color:var(--accent);border-color:var(--accent);background:0 0;text-decoration:none}.filters{gap:12px;margin:16px 0 20px}.filters>label{color:#52647d;flex:1;min-width:145px;font-size:12px}.filters input,.filters select{height:38px;font-size:14px}.filters>label:first-child{flex:1.4}.bulk-actions:empty{display:none}.list-count{margin:18px 0;font-weight:600}.tablewrap{border-radius:8px;max-width:100%}table{font-size:14px}th{color:#536681;font-weight:600}th,td{vertical-align:middle;padding:15px 18px}tr:hover td{background:#fbfcfe}td.wrap{overflow-wrap:anywhere}.survey-table table{table-layout:auto;min-width:900px}.survey-table td{height:78px}.survey-table th:first-child,.survey-table td:first-child{width:48px;padding-right:8px}.survey-table td.wrap{min-width:170px;max-width:300px}.ownership-cell span,.ownership-cell small,.allocation-cell span,.allocation-cell small{display:block}.ownership-cell small{margin-top:4px}.numeric,.allocation-cell{font-variant-numeric:tabular-nums}.allocation-cell{min-width:175px}progress{accent-color:#5b88df;background:#e9eef5;border:0;border-radius:6px;width:156px;height:8px;margin-top:7px;display:block;overflow:hidden}progress::-webkit-progress-bar{background:#e9eef5;border-radius:6px}progress::-webkit-progress-value{background:#5b88df;border-radius:6px}progress::-moz-progress-bar{background:#5b88df;border-radius:6px}.badge{color:#087e65;background:#e3f4ef;border-radius:12px;align-items:center;gap:6px;padding:4px 11px;font-size:12px;font-weight:500;display:inline-flex}.badge:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.badge.draft,.badge.ready,.badge.ended,.badge.archived,.badge.cancelled,.badge.abandoned,.badge.expired{color:#52637c;background:#eef1f6}.badge.paused,.badge.pending,.badge.review,.badge.unverified{color:#946013;background:#fff1d9}button.secondary:hover,.button.secondary:hover{filter:none;background:#f4f7fd;border-color:#9ab4e5}button:disabled{cursor:not-allowed;opacity:1;color:#8997aa;background:#e6ebf2;border-color:#e6ebf2}input:focus,select:focus,textarea:focus{border-color:#416ec8;outline:2px solid #dce7ff}input[type=checkbox],input[type=radio]{flex:none;width:16px;min-width:16px;height:16px;padding:0}.text-button{min-height:30px;color:var(--accent);white-space:nowrap;background:0 0;border:0;padding:4px 0}.text-button:hover{color:#284f9d;background:0 0}.row-actions{flex-wrap:nowrap;gap:15px}.more-actions{position:relative}.more-trigger{cursor:pointer;color:#526681;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;width:32px;height:32px;min-height:32px;padding:0;display:flex}.more-trigger:hover{background:#edf2fb}.more-panel{border:1px solid var(--line);background:#fff;border-radius:8px;width:180px;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);margin:0;padding:12px;position:fixed;inset:auto;overflow:auto;box-shadow:0 8px 24px #172b451a}.more-panel:popover-open{flex-direction:column;gap:8px;display:flex}.more-panel button,.more-panel select{width:100%;min-width:0}.auth{padding:32px;box-shadow:0 8px 32px #172b4508}.auth h1{font-size:26px}.auth .actions{justify-content:center}.section{border-radius:8px}.user{max-width:1050px}.usernav{white-space:nowrap;flex-wrap:nowrap;gap:12px;padding-bottom:0;overflow-x:auto}.usernav a{border-bottom:2px solid #0000;border-radius:0;padding:12px 14px}.usernav a.active{background:0 0}.surveyitem h2{font-size:19px}.surveyitem{padding:24px}.stats{border:1px solid var(--line);background:#fff;border-radius:8px;padding:20px 24px}p,small,.notice{overflow-wrap:anywhere}@media (max-width:1050px) and (min-width:851px){.pagehead{flex-direction:column;align-items:flex-start;gap:12px}.page-actions{align-self:flex-end}}@media (max-width:850px){.admin-top{justify-content:space-between;height:auto;min-height:64px;margin-left:0;padding:10px 16px}.admin-top>.brand{font-size:16px;display:flex}.admin-top .brand img{width:36px;height:36px}.admin-top .profile-icon{display:none}.shell{min-height:0;margin-left:0}.shell aside{width:auto;padding:8px;position:static;overflow:hidden}.sidebar-brand{display:none}.shell aside nav{flex-flow:row;gap:5px;display:flex;overflow-x:auto}.shell aside nav a{flex:none;gap:8px;min-height:42px;padding:10px 12px;font-size:14px}.shell aside nav a.active:before{width:auto;height:2px;inset:auto 10px 0}.shell aside nav a svg{width:19px;height:19px}main{padding:20px 16px 30px}.pagehead{align-items:stretch;gap:18px;min-height:0;margin-bottom:16px}.pagehead h1{font-size:26px}.page-actions{gap:8px}.page-actions button{white-space:nowrap;flex:1;padding:7px 9px}.filters{gap:10px}.filters>label{min-width:125px}.filters>label:first-child{flex-basis:100%}.subnav{flex-wrap:wrap;gap:8px}.subnav a{padding:8px 9px;font-size:14px}.user{padding:20px 16px}.usernav{gap:0;margin-bottom:24px}.usernav a{padding:10px 11px;font-size:14px}.section{padding:18px}.auth{width:100%;max-width:420px;margin:24px auto;padding:24px}body>.auth{width:calc(100% - 32px)}.top{height:auto;min-height:64px;padding:10px 16px}.top .row{gap:8px}.top .brand{white-space:normal;gap:5px;font-size:16px}.top .brand img{width:36px;height:36px}.top .profile-icon{display:none}.top button{flex-shrink:0;padding:6px 10px}.top .account-email{max-width:145px;font-size:11px}.grid{grid-template-columns:minmax(0,1fr)}.row>*{max-width:100%}.row input:not([type=checkbox]):not([type=radio]),.row select{width:100%;min-width:0}.surveyitem{grid-template-columns:minmax(0,1fr);padding:20px}.surveyitem>*{min-width:0}.stats{gap:18px;padding:18px}.sticky{padding:12px 0}.questionedit{padding:14px}}@media (max-width:360px){.top .account-email{max-width:100px}.top .brand{font-size:14px}.top .brand img{width:30px;height:30px}.page-actions button{font-size:12px}.usernav a{padding:10px 8px;font-size:13px}.section{padding:14px}}.shell aside nav{gap:4px}.shell aside nav a{padding-top:12px;padding-bottom:12px}@media (max-width:600px){.top{flex-wrap:wrap;gap:4px}.top>.brand{flex-basis:100%}.top .row{justify-content:flex-end;align-items:center;width:100%}.top .account-email{flex:1;max-width:none;font-size:12px}.top button{min-height:34px}}.reward{align-self:start;align-items:baseline;gap:6px;display:flex}.reward small{color:var(--accent);font-weight:500}
