@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
.legend-unknown{background:#cbd5e1}
:root{font-family:'DM Sans','Noto Sans SC',system-ui,sans-serif;color:#182236;background:#f2f4f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.student-page{min-height:100vh;padding:36px 18px 28px;background:radial-gradient(ellipse at 4% 0%,#e9f2ee 0,transparent 32%),#f3f5f6}.form-shell{width:min(100%,700px);margin:0 auto}.brand-row{display:flex;align-items:center;gap:15px;margin-bottom:26px}.brand-mark{width:48px;height:48px;background:#6e2c72;color:#fff;border-radius:14px;display:grid;place-items:center;font-weight:800;font-size:22px;box-shadow:0 7px 20px #6e2c7224}.eyebrow{font-size:11px;letter-spacing:.15em;font-weight:700;color:#748093}h1,h2,p{margin:0}.brand-row h1{font-size:22px;letter-spacing:-.03em;margin-top:3px}.live-pill{margin-left:auto;border:1px solid #dce7e0;background:#fff;border-radius:99px;padding:8px 12px;color:#41574b;font-size:12px;font-weight:600;white-space:nowrap}.live-pill i,.live-status i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#40b981;margin-right:7px}.intro{padding:27px 30px;border-radius:19px;background:#182236;color:white;margin-bottom:18px;position:relative;overflow:hidden}.intro:after{content:'';position:absolute;right:-35px;top:-85px;width:210px;height:210px;border:1px solid #ffffff19;border-radius:50%;box-shadow:0 0 0 28px #ffffff08,0 0 0 58px #ffffff05}.intro-kicker{font-size:20px;font-weight:700;letter-spacing:-.02em}.intro p{font-size:13px;color:#c4ccda;line-height:1.8;margin-top:7px;max-width:520px}.intro b{color:#fff}.identity-card,.question-card{background:#fff;border:1px solid #e7eaee;border-radius:18px;padding:25px 28px;margin-bottom:15px;box-shadow:0 4px 18px #18223606}.section-heading{display:flex;gap:13px;align-items:center;margin-bottom:23px}.step-no{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#f1eaf2;color:#743b77;font-size:12px;font-weight:800;letter-spacing:.03em;flex:none}.section-heading h2{font-size:16px;letter-spacing:-.02em}.section-heading p{font-size:12px;color:#8590a0;margin-top:4px}.field-label{display:block;color:#374155;font-size:12px;font-weight:600;margin-bottom:8px}.field-label span{color:#c64f58}.identity-card input[type=text],.identity-card input[type=number],.answer-field input{height:46px;border:1px solid #dfe4e9;border-radius:10px;background:#fbfcfd;padding:0 14px;font:inherit;font-size:13px;color:#182236;width:100%;outline:none;transition:.15s}.identity-card input:focus,.answer-field input:focus{border-color:#7a5680;box-shadow:0 0 0 3px #7a568016;background:#fff}.identity-card input::placeholder,.answer-field input::placeholder{color:#a5adba}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:19px}.two-fields fieldset{padding:0;border:0;margin:0}.radio-row{display:flex;gap:16px;align-items:center;height:39px}.radio-row label{display:flex;align-items:center;gap:7px;font-size:13px;color:#425066;cursor:pointer}.radio-row input{accent-color:#753f7b}.question-card{padding-bottom:18px}.question-card .section-heading{margin-bottom:10px}.answer-field{display:grid;grid-template-columns:31px minmax(200px,1fr) 190px;align-items:center;gap:13px;padding:17px 0;border-top:1px solid #edf0f2;cursor:text}.question-index{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:#edf5f1;color:#3c7a61;font-size:11px;font-weight:800}.question-text{font-size:13px;font-weight:600;line-height:1.5;color:#303c4e}.question-text small{display:block;font-size:11px;font-weight:400;color:#8993a2;margin-top:3px}.answer-field input{height:42px}.privacy-note{display:flex;align-items:center;gap:9px;color:#727e8e;font-size:11px;padding:4px 2px 15px}.lock-icon{width:17px;height:17px;display:grid;place-items:center;border:1px solid #a5b8ac;border-radius:50%;color:#668976;font-size:6px}.submit-button{width:100%;height:52px;background:#6e2c72;color:white;border:0;border-radius:12px;font:inherit;font-size:14px;font-weight:700;box-shadow:0 7px 18px #6e2c7225;cursor:pointer;transition:transform .15s,background .15s}.submit-button:hover{background:#59235e;transform:translateY(-1px)}.submit-button:disabled{opacity:.65;cursor:wait;transform:none}.submit-button span{margin-left:7px}.form-status{min-height:23px;text-align:center;font-size:12px;margin-top:10px;color:#3c7a61}.form-status.error{color:#b4414d}.page-footer{text-align:center;color:#9ba4b0;font-size:10px;padding-top:8px}
.display-page{min-height:100vh;background:#0b1324;color:#edf2f9;padding:40px 46px}.dashboard{width:min(1480px,100%);margin:0 auto}.dashboard-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.display-page .eyebrow{color:#77849b}.dashboard-header h1{font-size:clamp(25px,3vw,38px);letter-spacing:-.04em;margin-top:8px}.dashboard-header p{color:#95a1b6;font-size:13px;margin-top:7px}.live-status{border:1px solid #24334a;background:#111d31;color:#b9c6d8;border-radius:99px;padding:10px 14px;font-size:12px}.live-status i{background:#42d493;box-shadow:0 0 10px #42d49388}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:20px;align-items:stretch}.graph-panel,.qr-card,.how-card,.privacy-card{border:1px solid #233148;background:#111d30;border-radius:18px}.graph-panel{padding:23px 24px 17px;min-width:0}.graph-toolbar{display:flex;align-items:center;justify-content:space-between}.panel-label{font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:#8391a7;font-weight:700}.graph-toolbar h2{font-size:20px;margin-top:5px;letter-spacing:-.02em}.response-count{display:flex;gap:8px;align-items:baseline;padding:8px 12px;background:#1c2b41;border:1px solid #2b3b52;border-radius:10px}.response-count b{font-size:20px}.response-count small{font-size:11px;color:#9eacc0}.network-tabs{display:flex;gap:6px;margin-top:18px;border-bottom:1px solid #27364d}.network-tabs button{border:0;background:transparent;color:#8e9bb0;font:inherit;font-size:12px;padding:10px 13px 12px;cursor:pointer;border-bottom:2px solid transparent}.network-tabs button.active{color:#e9f0fa;border-bottom-color:#c19aca}.graph-wrap{width:100%;height:min(61vh,610px);min-height:370px;overflow:hidden;background:#f7f8fb;border-radius:12px;margin-top:15px}.graph-wrap img{width:100%;height:100%;display:block;object-fit:contain}.legend{display:flex;align-items:center;gap:16px;color:#b5c0d1;font-size:11px;margin:14px 2px 0}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:10px;height:10px;border-radius:50%;display:inline-block}.legend-m{background:#b6e2d3}.legend-f{background:#ef7c8e}.legend-help{margin-left:auto;color:#8391a7}.side-panel{display:flex;flex-direction:column;gap:14px}.qr-card{padding:20px;background:#f8fafc;color:#182236;border-color:transparent}.qr-title{display:flex;gap:11px;align-items:center}.qr-icon{width:34px;height:34px;border-radius:10px;background:#efeaf1;color:#753f7b;display:grid;place-items:center;font-size:17px}.qr-title h2{font-size:15px}.qr-title p{font-size:11px;color:#8993a2;margin-top:3px}.qr-holder{height:210px;display:grid;place-items:center;margin:15px auto 10px}.qr-holder canvas,.qr-holder img{max-width:100%;height:auto!important}.qr-holder span{color:#8993a2;font-size:12px}.student-link{display:block;text-align:center;color:#6e2c72;font-size:12px;font-weight:600;text-decoration:none;overflow-wrap:anywhere}.qr-hint{text-align:center;color:#929cac;font-size:10px;margin-top:7px}.how-card{padding:19px 20px}.how-card .panel-label{margin-bottom:14px}.how-step{display:flex;gap:12px;align-items:center;padding:11px 0;border-top:1px solid #233148;color:#c3ccda;font-size:12px}.how-step b{font-size:10px;color:#a588ad;letter-spacing:.08em}.privacy-card{padding:14px 15px;display:flex;gap:9px;align-items:center;color:#9faec2;font-size:11px}.privacy-dot{width:7px;height:7px;border-radius:50%;background:#6dc39a;flex:none}.dashboard-footer{display:flex;justify-content:space-between;color:#65748b;font-size:10px;padding:15px 3px}.student-link:hover{text-decoration:underline}@media(max-width:900px){.display-page{padding:28px 22px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 260px;gap:13px}.graph-panel{padding:19px}.qr-holder{height:180px}}@media(max-width:700px){.dashboard-grid{grid-template-columns:1fr}.side-panel{display:grid;grid-template-columns:1fr 1fr}.qr-card{grid-row:span 2}.graph-wrap{height:52vh;min-height:330px}.dashboard-header{align-items:flex-start;gap:12px}.dashboard-footer{gap:10px}.answer-field{grid-template-columns:28px 1fr}.answer-field input{grid-column:2}.identity-card,.question-card{padding:21px 19px}.intro{padding:23px}.two-fields{gap:13px}}@media(max-width:460px){.student-page{padding:22px 12px}.brand-row{gap:11px}.brand-row h1{font-size:19px}.brand-mark{width:43px;height:43px}.live-pill{padding:7px 9px;font-size:10px}.two-fields{grid-template-columns:1fr}.side-panel{grid-template-columns:1fr}.qr-card{grid-row:auto}.dashboard-header h1{font-size:25px}.live-status{font-size:10px;padding:8px}.display-page{padding:22px 12px}.graph-panel{padding:15px}.network-tabs button{font-size:11px;padding-inline:9px}.legend{gap:10px;font-size:10px}.legend-help{font-size:9px}.graph-wrap{min-height:285px;height:44vh}.dashboard-footer{font-size:9px}}
.graph-wrap{position:relative;touch-action:none;}
.graph-wrap img{transform-origin:50% 50%;will-change:transform;user-select:none;-webkit-user-drag:none;}
.graph-wrap.is-zoomed{cursor:grab;}
.graph-wrap.is-zoomed:active{cursor:grabbing;}
.graph-controls{position:absolute;top:12px;right:12px;display:flex;align-items:center;gap:10px;padding:7px 9px;border:1px solid #dbe2ea;border-radius:9px;background:#ffffffed;color:#526176;font-size:11px;box-shadow:0 2px 9px #14223818;}
.graph-controls button{border:1px solid #d6dce5;border-radius:6px;background:#fff;color:#26364b;padding:5px 9px;font:inherit;cursor:pointer;}
.graph-controls button:hover{background:#edf1f6;}
.roster-card{padding:18px 20px;border:1px solid #233148;background:#111d30;border-radius:18px;color:#edf2f9;}
.roster-card p{color:#aab6c8;font-size:11px;line-height:1.6;margin:9px 0;}
.roster-card small{display:block;color:#8492a8;font-size:10px;line-height:1.5;margin-top:10px;}
.auth-panel{min-height:calc(100vh - 80px);display:grid;place-items:center}.auth-panel[hidden],.dashboard[hidden]{display:none}.auth-card{width:min(100%,430px);padding:34px;border:1px solid #263650;border-radius:18px;background:#111d30;box-shadow:0 18px 60px #0004}.auth-card h1{font-size:25px;margin-top:10px}.auth-card>p{color:#9eacc0;font-size:13px;line-height:1.7;margin-top:8px}.auth-card form{margin-top:24px}.auth-card label,.admin-tools label{display:block;color:#c3ccda;font-size:12px;font-weight:600;margin:14px 0 7px}.auth-card input,.admin-tools input{width:100%;height:43px;padding:0 12px;border:1px solid #35445a;border-radius:9px;background:#0c1728;color:#edf2f9;font:inherit;outline:none}.auth-card input:focus,.admin-tools input:focus{border-color:#bd92c7;box-shadow:0 0 0 3px #bd92c722}.auth-card button,.admin-tools form button,.danger-button,.logout-button{width:100%;min-height:40px;border:0;border-radius:9px;background:#74477c;color:#fff;font:inherit;font-size:12px;font-weight:700;cursor:pointer;margin-top:15px}.auth-card button:hover,.admin-tools form button:hover{background:#895991}.auth-card #auth-status{min-height:20px;margin-top:12px;color:#8cd0aa;font-size:12px}.auth-card #auth-status.error,.roster-status.error{color:#f28d96}.admin-tools form{margin-top:8px}.admin-tools label{margin-top:12px}.admin-tools input{height:38px;font-size:12px}.admin-tools .danger-button{background:#7f3542;margin-top:10px}.admin-tools .danger-button:hover{background:#9a3d4b}.admin-tools button:disabled{opacity:.6;cursor:wait}.admin-tools .logout-button{background:#27364c;color:#c6d0de;margin-top:7px}.admin-tools .roster-status{min-height:17px;font-size:11px;margin-top:6px;color:#8cd0aa}
.roster-template{display:inline-block;color:#dfc2e5;font-size:11px;font-weight:600;margin:0 0 11px;text-decoration:none;}
.roster-template:hover{text-decoration:underline;}
.roster-file-label{display:block;color:#aab6c8;font-size:11px;margin:0 0 6px;}
#roster-file{display:block;width:100%;color:#b5c0d1;font-family:inherit;font-size:11px;margin-bottom:10px;}
#roster-file::file-selector-button{border:1px solid #34435a;border-radius:6px;background:#1b2940;color:#e1e8f2;padding:6px 8px;margin-right:8px;cursor:pointer;}
#roster-form>button{width:100%;border:1px solid #5a4265;border-radius:8px;background:#493553;color:#fff;font-family:inherit;font-size:12px;font-weight:600;padding:9px;cursor:pointer;}
#roster-form>button:disabled{opacity:.55;cursor:wait;}
.roster-status{min-height:0;color:#83d6a9;font-size:11px;line-height:1.5;margin-top:8px;}
.roster-status.error{color:#ff9caa;}
#graph-canvas{width:100%;height:100%;}
#graph-canvas svg{display:block;width:100%;height:100%;}
.submit-dialog{width:min(420px,calc(100vw - 32px));padding:30px 28px 24px;border:1px solid #e4e8ed;border-radius:20px;background:#fff;color:#182236;text-align:center;box-shadow:0 24px 80px #10182838;}
.submit-dialog::backdrop{background:#10182888;backdrop-filter:blur(3px);}
.submit-dialog-icon{display:grid;width:58px;height:58px;place-items:center;margin:0 auto 16px;border-radius:50%;background:#e6f6ed;color:#218251;font-size:30px;font-weight:700;}
.submit-dialog h2{font-size:21px;letter-spacing:-.02em;}
.submit-dialog p{margin:10px 0 23px;color:#687487;font-size:14px;line-height:1.7;overflow-wrap:anywhere;}
.submit-dialog button{min-width:120px;border:0;border-radius:10px;background:#6e2c72;color:#fff;font-family:inherit;font-size:14px;font-weight:600;padding:11px 20px;cursor:pointer;}
.submit-dialog button:hover{background:#58215d;}
.submit-dialog.is-error .submit-dialog-icon{background:#fff0f0;color:#c33e4a;}
.submit-dialog.is-error button{background:#b83d4b;}
.submit-dialog.is-error button:hover{background:#9f2e3b;}
.submit-dialog button:focus-visible{outline:3px solid #c5a2cb;outline-offset:3px;}
