:root{color:#172033;font-synthesis:none;background:#f5f7fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}.app-shell{grid-template-columns:250px 1fr;min-height:100vh;display:grid}aside{color:#fff;background:#0f172a;flex-direction:column;padding:24px 18px;display:flex}.brand{align-items:center;gap:12px;margin-bottom:34px;display:flex}.brand-mark{color:#fff;background:linear-gradient(135deg,#5b5cf0,#22b8cf);border-radius:12px;place-items:center;width:38px;height:38px;font-weight:800;display:grid}.brand small,.sidebar-user small{color:#94a3b8;display:block}nav{gap:8px;display:grid}nav a{color:#cbd5e1;border-radius:10px;padding:11px 13px;text-decoration:none}nav a.active,nav a:hover{color:#fff;background:#1e293b}.sidebar-user{border-top:1px solid #334155;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:18px;display:flex}.sidebar-user button{color:#94a3b8;background:0 0;border:0}main{min-width:0}.page{max-width:1500px;margin:auto;padding:32px}.page-head{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.page-head h1{margin:0 0 5px;font-size:30px}.page-head p{color:#667085;margin:0}.card{background:#fff;border:1px solid #e7eaf0;border-radius:18px;padding:22px;box-shadow:0 6px 18px #0f172a0a}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.stat{background:#fff;border:1px solid #e7eaf0;border-radius:18px;padding:20px}.stat span,.stat small{color:#667085;display:block}.stat strong{margin:8px 0;font-size:32px;display:block}.grid-2{grid-template-columns:1fr 1fr;gap:20px;display:grid}.wide-left{grid-template-columns:2fr 1fr}.wide-right{grid-template-columns:1fr 2fr}.stack{color:inherit;background:0 0;gap:18px;padding:0;display:grid}.row-item{border-bottom:1px solid #eef0f4;justify-content:space-between;align-items:center;padding:14px 0;display:flex}.row-item:last-child{border-bottom:0}.row-item small,td small{color:#7b8496;margin-top:3px;display:block}.pill{color:#4f46e5;background:#eef2ff;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:700}.pill.published{color:#047857;background:#ecfdf3}.pill.closed{color:#b91c1c;background:#fef2f2}.score{color:#4f46e5;background:#eef2ff;border-radius:10px;place-items:center;min-width:36px;height:36px;font-weight:800;display:inline-grid}.score.hot{color:#be123c;background:#fff1f2}.inline-form{gap:12px;margin-bottom:18px;display:flex}.inline-form input{flex:1}.primary,.secondary,.link-btn{border:0;border-radius:10px;padding:11px 16px;font-weight:700;text-decoration:none}.primary{color:#fff;background:#4f46e5}.secondary,.link-btn{color:#4338ca;background:#eef2ff}.actions{gap:10px;display:flex}.table-card{overflow:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid #eef0f4;padding:14px 12px}th{color:#667085;font-size:13px}label{gap:7px;margin-bottom:14px;font-weight:600;display:grid}input,textarea,select{color:#172033;background:#fff;border:1px solid #d9dee8;border-radius:10px;width:100%;padding:11px 12px}textarea{resize:vertical;min-height:90px}.question{border-bottom:1px solid #edf0f5;grid-template-columns:38px 1fr;gap:12px;padding:15px 0;display:grid}.q-num{color:#4f46e5;background:#eef2ff;border-radius:10px;place-items:center;width:34px;height:34px;font-weight:700;display:grid}.question small{color:#7b8496;margin-top:5px;display:block}.options-preview{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.options-preview span{background:#f4f5f7;border-radius:8px;padding:4px 8px;font-size:12px}.muted{color:#667085}.info,.error{border-radius:10px;margin:10px 0;padding:10px 12px}.info{color:#175cd3;background:#eef6ff}.error{color:#b42318;background:#fef3f2}.empty{color:#98a2b3}.login-wrap,.public-wrap{background:radial-gradient(circle at top,#eef2ff,#f8fafc 55%);place-items:center;min-height:100vh;padding:28px;display:grid}.login-card{text-align:center;width:min(420px,100%)}.login-card label{text-align:left}.login-card .primary{width:100%;margin:4px 0 12px}.login-card .brand-mark{margin:0 auto 12px}.survey-form{width:min(780px,100%);padding:28px}.survey-title{border-bottom:1px solid #eef0f4;align-items:flex-start;gap:14px;margin-bottom:10px;padding-bottom:22px;display:flex}.survey-title h1{margin:0}.survey-title p{color:#667085;margin-bottom:0}.public-q{border-bottom:1px solid #eef0f4;padding:22px 0}.public-q em{color:#d92d20;margin-left:4px}.choice-list{gap:8px;margin-top:10px;display:grid}.choice-list label{border:1px solid #e4e7ec;border-radius:10px;align-items:center;gap:9px;margin:0;padding:10px;font-weight:500;display:flex}.choice-list input{width:auto}.scale-row{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.scale-row button{background:#fff;border:1px solid #d9dee8;border-radius:10px;width:42px;height:42px}.scale-row button.selected{color:#fff;background:#4f46e5;border-color:#4f46e5}.submit-btn{width:100%;margin-top:24px}.success{text-align:center;max-width:460px}.success-icon{color:#047857;background:#ecfdf3;border-radius:50%;place-items:center;width:64px;height:64px;margin:auto;font-size:32px;display:grid}.analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}code{overflow-wrap:anywhere;background:#f4f5f7;border-radius:8px;padding:10px;display:block}@media (width<=900px){.app-shell{grid-template-columns:1fr}.app-shell>aside{display:none}.page{padding:18px}.stats-grid{grid-template-columns:repeat(2,1fr)}.grid-2,.wide-left,.wide-right,.analytics-grid{grid-template-columns:1fr}.page-head{flex-direction:column;align-items:flex-start}.inline-form{flex-direction:column}}@media (width<=520px){.stats-grid{grid-template-columns:1fr}.survey-form{padding:18px}.page{padding:12px}}
