
:root{--ink:#252333;--muted:#777386;--p:#6750a4;--line:#e9e6ef;--bg:#f7f6fa}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:"Segoe UI",Tahoma,Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}.shell{min-height:100vh}.side{position:fixed;inset:0 0 0 auto;width:262px;background:#fff;border-left:1px solid var(--line);z-index:30;padding:25px 18px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:0 5px 27px}.brand>i{width:46px;height:46px;border-radius:15px;background:linear-gradient(145deg,#725bbb,#51388e);color:#fff;display:grid;place-items:center;box-shadow:0 9px 20px #6750a42c}.brand b,.brand small,.profile b,.profile small{display:block}.brand b{font-size:18px}.brand small{font-size:12px;color:var(--muted);margin-top:2px}.close{display:none}.side nav label{display:block;font-size:12px;color:#aaa5b4;margin:5px 11px 9px}.side nav label:nth-of-type(2){margin-top:24px}.side nav button{border:0;background:transparent;color:#6d6877;width:100%;height:46px;border-radius:13px;padding:0 12px;display:flex;align-items:center;gap:12px;margin:3px 0}.side nav button svg{width:20px}.side nav button svg:last-child{margin-right:auto;width:17px}.side nav button.active{background:#f0ebfa;color:var(--p);font-weight:700}.profile{margin-top:auto;border-top:1px solid var(--line);padding-top:18px;display:flex;align-items:center;gap:10px}.profile>span,.student>span{background:#e8e0ff;color:#51388e;display:grid;place-items:center;font-weight:800}.profile>span{width:39px;height:39px;border-radius:13px}.profile small{font-size:10px;color:var(--muted);margin-top:3px}.profile>svg{margin-right:auto;width:18px;color:#aaa}.shell>main{margin-right:262px;min-height:100vh}.shell header{height:74px;background:#ffffffdf;backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:flex-end;padding:0 36px;position:sticky;top:0;z-index:20}.shell header>div:last-child{display:flex;gap:10px}.icon,.school,.menubtn{border:1px solid var(--line);background:#fff}.icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;position:relative}.icon svg,.school svg{width:19px}.icon i{position:absolute;width:7px;height:7px;background:#ef6b61;border-radius:50%;top:9px;right:9px;border:2px solid #fff}.school{height:42px;padding:0 14px;border-radius:13px;display:flex;align-items:center;gap:8px;color:#5e5969;font-size:13px}.menubtn,.mobile-logo{display:none}.work{padding:34px 38px 55px;max-width:1480px;margin:auto}.welcome{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:26px}.eyebrow{color:var(--p);font-size:13px;font-weight:700;display:flex;gap:6px;align-items:center;margin:0 0 8px}.eyebrow svg{width:15px}.welcome h1,.empty h1{font-size:30px;margin:0 0 6px}.welcome>div>p:last-child{margin:0;color:var(--muted);font-size:15px}.primary{border:0;background:linear-gradient(135deg,#7058b6,#594098);color:#fff;border-radius:14px;min-height:46px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;box-shadow:0 9px 20px #6750a429}.primary svg{width:19px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.stat,.panel{background:#fff;border:1px solid var(--line);box-shadow:0 3px 12px #31245508}.stat{border-radius:18px;padding:18px;display:flex;gap:13px;align-items:center}.stat>i{width:48px;height:48px;border-radius:15px;display:grid;place-items:center}.stat>i svg{width:22px}.violet{background:#f0ebff;color:#6750a4}.green{background:#e7f6f0;color:#23866b}.orange{background:#fff0e9;color:#e66b39}.blue{background:#e8f7fb;color:#168aad}.stat span,.stat b,.stat small{display:block}.stat span{font-size:12px;color:var(--muted)}.stat b{font-size:21px;margin:2px 0}.stat small{font-size:10px;color:#9c98a5}.grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,.8fr);gap:16px;margin-top:16px}.panel{border-radius:20px}.chart{padding:21px 23px}.head{display:flex;align-items:center;justify-content:space-between;gap:15px}.head h2{font-size:17px;margin:0 0 4px}.head p{font-size:11px;color:var(--muted);margin:0}.head button,.tools button{border:1px solid var(--line);background:#fff;height:38px;padding:0 12px;border-radius:11px;display:flex;align-items:center;gap:6px;color:#625d6b;font-size:12px}.head button svg,.tools svg{width:17px}.chartbody{display:grid;grid-template-columns:210px 1fr;align-items:center;gap:40px;margin-top:14px}.donut{width:174px;height:174px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#6750a4 0 40%,#168aad 40% 66%,#ef8354 66% 85%,#23866b 85%);position:relative;margin:auto}.donut:before{content:"";position:absolute;inset:20px;background:#fff;border-radius:50%}.donut>span{position:relative;text-align:center}.donut b,.donut small{display:block}.donut b{font-size:29px}.donut small{font-size:10px;color:var(--muted)}.legend{display:grid;grid-template-columns:1fr 1fr;gap:15px 24px}.legend>div{display:flex;align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid #f1eff4}.legend>div>i{width:9px;height:9px;border-radius:50%}.legend span b,.legend span small{display:block}.legend span b{font-size:13px}.legend span small{font-size:10px;color:var(--muted)}.legend strong{margin-right:auto;font-size:15px}.insight{padding:25px;background:linear-gradient(145deg,#5d469d,#745cbb);color:#fff;border-radius:20px;position:relative;overflow:hidden}.insight:before{content:"";position:absolute;width:230px;height:230px;border:1px solid #ffffff18;border-radius:50%;left:-105px;top:-100px}.spark{width:44px;height:44px;border-radius:14px;background:#ffffff1c;display:grid;place-items:center;margin-bottom:20px}.insight>small{color:#ddd4f5}.insight h2{font-size:20px;margin:8px 0}.insight p{font-size:13px;line-height:1.9;color:#eee9f9}.insight button{border:0;background:transparent;color:#fff;padding:10px 0;font-weight:700;font-size:12px;display:flex;gap:7px}.insight button svg{width:17px}.student-panel{margin-top:16px;padding:21px 23px 12px}.tablehead{display:flex;justify-content:space-between;align-items:center}.tools{display:flex;gap:8px}.tools label{height:38px;border:1px solid var(--line);border-radius:11px;display:flex;align-items:center;padding:0 10px;gap:7px;color:#aaa}.tools input{border:0;outline:0;width:150px;font-size:11px}.tablewrap{overflow:auto;margin-top:15px}table{width:100%;border-collapse:collapse;min-width:720px}th{text-align:right;color:#9994a3;font-size:11px;font-weight:500;padding:10px;border-bottom:1px solid var(--line)}td{padding:11px 10px;border-bottom:1px solid #f1eff4;font-size:12px}.student{display:flex;align-items:center;gap:9px}.student>span{width:34px;height:34px;border-radius:11px}.student b,.student small{display:block}.student small{color:#aaa;font-size:9px}td em{font-style:normal;display:inline-flex;align-items:center;gap:6px;border-radius:9px;padding:7px 9px;font-weight:700}td em svg{width:16px}.score{display:flex;gap:8px;align-items:center}.score>span{width:90px;height:6px;background:#eeecf1;border-radius:4px;overflow:hidden}.score i{display:block;height:100%}mark{background:none;color:#258269;font-size:11px}mark i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#34a985}.view{border:0;background:none;color:var(--p);font-weight:700;font-size:12px;display:flex;gap:6px;margin:13px auto 0}.view svg{width:17px}.empty{text-align:center;background:#fff;border:1px solid var(--line);border-radius:24px;min-height:620px;padding:100px 25px}.empty>div{width:100px;height:100px;border-radius:30px;background:#f0ebff;color:var(--p);display:grid;place-items:center;margin:0 auto 24px}.empty>div svg{width:52px}.empty .eyebrow{justify-content:center}.empty>p:not(.eyebrow){color:var(--muted);max-width:530px;margin:10px auto 24px;line-height:1.9}.modal{position:fixed;inset:0;background:#211b30a8;backdrop-filter:blur(6px);z-index:100;display:grid;place-items:center;padding:20px}.survey{background:#fff;border-radius:25px;width:min(590px,100%);padding:24px;box-shadow:0 30px 80px #160e2e55}.surveyhead{display:flex;justify-content:space-between}.surveyhead small,.surveyhead b{display:block}.surveyhead small{color:var(--muted)}.surveyhead button{border:0;background:#f3f1f6;width:37px;height:37px;border-radius:11px}.progress{height:5px;background:#eeeaf4;border-radius:4px;margin:18px 0 28px}.progress i{display:block;height:100%;background:var(--p)}.qicon{width:50px;height:50px;border-radius:16px;background:#f0ebff;color:var(--p);display:grid;place-items:center;margin:auto}.survey>h2{text-align:center;font-size:20px;margin:16px 0 23px}.answers{display:grid;grid-template-columns:1fr 1fr;gap:10px}.answers button{min-height:62px;border:1px solid var(--line);background:#fff;border-radius:14px;padding:9px 11px;display:flex;align-items:center;gap:9px;text-align:right}.answers button:hover{border-color:#9d8bc9;background:#f8f5ff}.answers button span{width:31px;height:31px;border-radius:9px;background:#f4f2f6;display:grid;place-items:center;font-weight:800}.answers button svg{margin-right:auto;width:16px}.result{text-align:center;padding:18px 10px 6px}.result>div{width:72px;height:72px;border-radius:23px;background:#e7f6f0;color:#23866b;display:grid;place-items:center;margin:auto}.result>div svg{width:38px}.result h2{margin:17px 0 4px}.result p{color:var(--muted);font-size:13px;line-height:1.8}.result strong{display:inline-flex;align-items:center;gap:8px;background:#f0ebff;color:var(--p);padding:11px 20px;border-radius:13px;font-size:18px}.result .primary{width:100%}.shade{display:none}
@media(max-width:1100px){.stats{grid-template-columns:1fr 1fr}.grid{grid-template-columns:1fr}.chartbody{gap:15px}}
@media(max-width:780px){.side{transform:translateX(110%);transition:.25s}.side.open{transform:none}.close{display:grid;border:0;background:#f3f1f6;width:34px;height:34px;border-radius:10px;place-items:center;margin-right:auto}.shade{display:block;position:fixed;inset:0;border:0;background:#211b3066;z-index:25}.shell>main{margin:0}.shell header{padding:0 16px;justify-content:space-between}.menubtn{display:grid;width:41px;height:41px;border-radius:12px;place-items:center}.mobile-logo{display:flex;align-items:center;gap:7px;color:var(--p)}.school span{display:none}.work{padding:24px 15px 40px}.welcome{align-items:flex-start;gap:15px}.welcome h1{font-size:25px}.welcome .primary{width:46px;padding:0;font-size:0}.stats{gap:10px}.stat{padding:14px}.stat>i{width:40px;height:40px}.chart{padding:18px 15px}.chartbody{grid-template-columns:1fr}.student-panel{padding:18px 14px}.tablehead{align-items:flex-start;flex-direction:column;gap:12px}.tools{width:100%}.tools label{flex:1}.tools input{width:100%}.answers{grid-template-columns:1fr}.empty{min-height:520px;padding-top:70px}}
@media(max-width:480px){.stats{grid-template-columns:1fr}.legend{grid-template-columns:1fr}.head button{width:38px;font-size:0;padding:0;justify-content:center}}@media print{.side,header,.welcome .primary,.head button,.tools,.view{display:none!important}.shell>main{margin:0}.work{padding:0}.panel{box-shadow:none}}
.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.page-title h1{font-size:30px;margin:0 0 6px}.page-title p{color:var(--muted);margin:0}.page-title>div:last-child{display:flex;gap:9px}.page-title>div:last-child>button:not(.primary){border:1px solid var(--line);background:#fff;height:46px;padding:0 16px;border-radius:14px;display:flex;gap:7px;align-items:center}.page-title svg{width:18px}.formmodal{background:#fff;border-radius:24px;width:min(570px,100%);padding:25px;display:grid;gap:17px}.formmodal>label,.settings-form label{display:grid;gap:7px;color:#625d6b;font-size:13px;font-weight:600}.formmodal input,.settings-form input,.selectstudent select{height:47px;border:1px solid var(--line);border-radius:12px;padding:0 13px;background:#fbfafd;color:var(--ink);outline:0}.formmodal input:focus,.settings-form input:focus,.selectstudent select:focus{border-color:#8f7bc2;box-shadow:0 0 0 3px #6750a415}.formgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.formmodal .primary{margin-top:4px}.rowbuttons{display:flex;gap:6px}.rowbuttons button{border:1px solid var(--line);background:#fff;width:34px;height:34px;border-radius:9px;display:grid;place-items:center;color:#655f6e}.rowbuttons button svg{width:15px}.rowbuttons .danger{color:#d9534f;background:#fff8f7}.full{margin-bottom:8px}.full label{width:min(420px,100%)}.full input{width:100%!important}.no-data{text-align:center;color:var(--muted);padding:35px}.emptytag{background:#f1eff4!important;color:#8a8591!important}.pending{color:#e47749!important}.pending i{background:#ee9169!important}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.survey-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:19px;display:grid;gap:17px}.survey-card>em{justify-self:start}.survey-card>button,.report button,.bank button{border:1px solid #dcd5ec;background:#f7f4fd;color:var(--p);border-radius:11px;min-height:40px;padding:0 13px;display:flex;align-items:center;justify-content:center;gap:7px;font-weight:700}.survey-card>button svg{width:17px}.selectstudent{text-align:center;padding:30px 10px 8px}.selectstudent h2{font-size:20px;margin:16px 0}.selectstudent select{display:block;width:100%;margin:0 0 15px}.selectstudent .primary{width:100%}.selectstudent .primary:disabled{opacity:.45;cursor:not-allowed}.analytics-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}.recommendations{padding:22px}.recommendations h2{font-size:18px;margin:0 0 14px}.recommendations>div{border-right:4px solid;padding:10px 13px;margin:8px 0;background:#faf9fc;border-radius:8px}.recommendations b{font-size:13px}.recommendations p{font-size:12px;color:var(--muted);line-height:1.7;margin:5px 0}.report-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.report{text-align:center;padding:30px 22px}.report>svg{width:42px;height:42px;color:var(--p);background:#f0ebff;padding:9px;border-radius:13px}.report h2{font-size:17px;margin:16px 0 6px}.report p{color:var(--muted);font-size:12px;min-height:38px}.report button{width:100%;margin-top:16px}.report button svg{width:17px}.bank h2{font-size:16px;margin:0}.bank p{color:var(--muted);font-size:13px;line-height:1.8;margin:0}.settings-form{padding:25px;display:grid;gap:17px;max-width:850px}.settings-form .primary{justify-self:start}.dynamic{background:#eee}.surveyhead button{display:grid;place-items:center}.surveyhead button svg{width:19px}
@media(max-width:900px){.cards,.report-grid{grid-template-columns:1fr 1fr}.analytics-grid{grid-template-columns:1fr}}
@media(max-width:600px){.page-title{align-items:flex-start;flex-direction:column}.page-title>div:last-child{width:100%}.page-title>div:last-child button{flex:1}.cards,.report-grid{grid-template-columns:1fr}.formgrid{grid-template-columns:1fr}.settings-form .primary{width:100%}}
@media print{.page-title>div:last-child,.report-grid{display:none!important}.student-panel{display:block!important}.chart,.recommendations{break-inside:avoid}.work{background:#fff}.page-title{margin-bottom:12px}}
.errorbar{background:#fff2f0;color:#a53e39;border:1px solid #f1c9c5;border-radius:14px;padding:12px 15px;margin-bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:10px}.errorbar button{border:0;background:#a53e39;color:#fff;border-radius:9px;padding:8px 12px;display:flex;align-items:center;gap:5px}.errorbar svg{width:16px}.filters{display:grid;grid-template-columns:minmax(250px,1fr) 220px 180px;gap:10px;margin-bottom:16px}.filters label,.filters select{height:46px;border:1px solid var(--line);border-radius:13px;background:#fff}.filters label{display:flex;align-items:center;gap:8px;padding:0 13px;color:#aaa}.filters label svg{width:18px}.filters input{border:0;outline:0;flex:1}.filters select{padding:0 12px;color:#5f5a67}.class-groups{display:grid;gap:15px}.class-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:5px}.class-head h2{margin:0 0 3px;font-size:17px}.class-head span{font-size:12px;color:var(--muted)}.link-actions{display:flex;gap:6px}.link-actions button{border:1px solid var(--line);background:#fff;height:35px;border-radius:9px;padding:0 9px;display:flex;align-items:center;gap:5px;font-size:11px}.link-actions button svg{width:15px}.link-actions .sharebtn{background:var(--p);border-color:var(--p);color:#fff}.status{display:inline-flex;align-items:center;gap:6px;font-size:11px;padding:6px 9px;border-radius:9px;background:#f2f0f5;color:#777}.status i{width:7px;height:7px;border-radius:50%;background:#aaa}.status.sent{background:#fff3e8;color:#b76a26}.status.sent i{background:#e99b52}.status.opened{background:#e9f5ff;color:#287ba9}.status.opened i{background:#4d9fc9}.status.answered{background:#e7f6f0;color:#258269}.status.answered i{background:#34a985}.loading,.data-empty{display:grid;place-items:center;text-align:center;min-height:260px;color:var(--muted)}.loading svg{animation:spin 1s linear infinite}.data-empty{padding:50px}.data-empty>svg{width:48px;height:48px;color:var(--p);background:#f0ebff;border-radius:15px;padding:10px}.data-empty h2{margin:12px 0 4px;color:var(--ink)}.data-empty p{margin:0;max-width:500px}.drop{min-height:210px!important;border:2px dashed #d9d2e9!important;background:#faf8ff!important;border-radius:18px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:25px!important;cursor:pointer}.drop input{display:none}.drop>svg{width:40px;height:40px;color:var(--p)}.drop b{color:var(--ink);font-size:15px}.drop span{color:var(--muted);font-size:12px}.import-summary{background:#eaf7f2;color:#23745e;border-radius:13px;padding:13px;display:flex;align-items:center;gap:10px}.import-summary svg{width:25px}.import-summary b,.import-summary span{display:block}.import-summary span{font-size:11px;margin-top:2px}.warn{background:#fff8e8;color:#8e6a24;padding:10px;border-radius:10px;font-size:11px;margin:0}.review-list{max-height:280px;overflow:auto;border:1px solid var(--line);border-radius:13px;padding:6px}.review-list label{display:grid;grid-template-columns:30px 1fr 34px;gap:6px;align-items:center;border-bottom:1px solid #f1eff4;padding:5px}.review-list label:last-child{border:0}.review-list label>span{font-size:11px;color:#aaa;text-align:center}.review-list input{height:36px;border:0;background:transparent}.review-list button{border:0;background:#fff2f1;color:#c84f4a;width:31px;height:31px;border-radius:8px}.review-list button svg{width:15px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.public-shell{min-height:100vh;background:radial-gradient(circle at 50% 0,#eee8ff 0,transparent 32%),#f8f7fb;padding:24px;display:flex;flex-direction:column}.public-brand{display:flex;align-items:center;gap:10px;margin:0 auto 35px}.public-brand>i{width:46px;height:46px;background:linear-gradient(145deg,#725bbb,#51388e);color:#fff;border-radius:15px;display:grid;place-items:center}.public-brand b,.public-brand span{display:block}.public-brand span{font-size:11px;color:var(--muted);margin-top:3px}.public-shell>footer{text-align:center;color:#9993a3;font-size:11px;margin-top:auto;padding-top:28px}.confirm-card,.parent-survey,.public-state{background:#fff;border:1px solid var(--line);border-radius:26px;padding:32px;width:min(620px,100%);margin:0 auto;text-align:center;box-shadow:0 20px 50px #3c2a6812}.confirm-card>span{font-size:12px;color:var(--p);font-weight:700}.big-avatar{width:82px;height:82px;background:#f0ebff;color:var(--p);border-radius:27px;display:grid;place-items:center;font-size:31px;font-weight:800;margin:20px auto 13px}.confirm-card h1,.public-state h1{font-size:24px;margin:0 0 6px}.confirm-card>p,.public-state p{color:var(--muted);margin:0 0 18px}.privacy{background:#f4faf7;color:#39735f;border-radius:12px;padding:11px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;margin:18px 0}.privacy svg{width:17px}.confirm-card .primary{width:100%}.public-state>svg{width:58px;height:58px;color:var(--p);margin-bottom:14px}.public-state.success>svg{color:#2c9272}.parent-progress{display:flex;align-items:center;gap:15px;color:var(--muted);font-size:12px;text-align:right}.parent-progress>i{height:6px;background:#eeeaf4;border-radius:4px;flex:1;overflow:hidden}.parent-progress b{display:block;height:100%;background:var(--p)}.parent-survey>h1{font-size:22px;line-height:1.7;margin:28px 0 22px}.answers.parent{grid-template-columns:1fr}.answers.parent button{font-size:14px}.answers.parent button.selected{border-color:var(--p);background:#f4f0ff;color:var(--p)}.submit-survey{width:100%;margin-top:18px}
@media(max-width:700px){.filters{grid-template-columns:1fr 1fr}.filters label{grid-column:1/-1}.link-actions button{font-size:0;width:36px;justify-content:center}.public-shell{padding:16px}.confirm-card,.parent-survey,.public-state{padding:24px 17px}.parent-survey>h1{font-size:19px}.importbox{max-height:92vh;overflow:auto}}
.flow-steps{display:flex;align-items:center;justify-content:center;gap:18px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px 18px;margin:-8px 0 16px;color:#625d6b;font-size:13px}.flow-steps span{display:flex;align-items:center;gap:8px}.flow-steps span b{width:28px;height:28px;border-radius:9px;background:#f0ebff;color:var(--p);display:grid;place-items:center}.flow-steps>svg{width:17px;color:#b6afc0}.add-choice>button{border:1px solid var(--line);background:#fff;border-radius:15px;min-height:78px;padding:13px 15px;display:grid;grid-template-columns:48px 1fr 22px;gap:12px;align-items:center;text-align:right;color:var(--ink)}.add-choice>button:hover{border-color:#9d8bc9;background:#faf8ff}.add-choice>button>svg:first-child{width:46px;height:46px;padding:11px;border-radius:14px;background:#f0ebff;color:var(--p)}.add-choice>button>svg:last-child{width:18px;color:#aaa}.add-choice span b,.add-choice span small{display:block}.add-choice span small{color:var(--muted);font-size:12px;margin-top:5px}.formmodal textarea{width:100%;border:1px solid var(--line);border-radius:13px;padding:12px 14px;background:#fbfafd;color:var(--ink);outline:0;resize:vertical;line-height:1.9}.formmodal textarea:focus{border-color:#8f7bc2;box-shadow:0 0 0 3px #6750a415}.import-sources{display:grid;grid-template-columns:1fr 1fr;gap:12px}.import-sources label{border:2px dashed #d9d2e9;background:#faf8ff;border-radius:17px;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;padding:20px;cursor:pointer}.import-sources label:hover{border-color:var(--p);background:#f5f0ff}.import-sources input{display:none}.import-sources svg{width:42px;height:42px;color:var(--p)}.import-sources span{font-size:11px;color:var(--muted)}.import-loading{min-height:180px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--p)}.privacy-note{display:flex;align-items:center;justify-content:center;gap:7px;color:#39735f;background:#f4faf7;padding:10px;border-radius:11px;font-size:12px;margin:0}.privacy-note svg{width:17px}.class-link-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.class-link{padding:22px}.class-link>div:first-child>span{color:var(--p);font-size:12px;font-weight:700}.class-link h2{font-size:21px;margin:4px 0}.class-link p{font-size:12px;color:var(--muted);margin:0}.class-link .completion{display:flex;align-items:center;gap:10px;margin:20px 0}.completion>i{height:8px;background:#efedf2;border-radius:8px;overflow:hidden;flex:1}.completion>i b{display:block;height:100%;background:linear-gradient(90deg,#725bbb,#23866b)}.completion>span{font-size:12px;font-weight:800;color:var(--p)}.class-link .link-actions button{flex:1;height:42px;justify-content:center;font-size:12px}.select-name select{width:100%;height:52px;border:1px solid var(--line);border-radius:13px;padding:0 14px;background:#fbfafd;margin:15px 0 4px;font:inherit}.confirm-actions{display:grid;grid-template-columns:1fr 2fr;gap:10px;margin-top:20px}.confirm-actions>button:not(.primary),.public-state>button,.survey-nav>button:not(.primary){border:1px solid var(--line);background:#fff;border-radius:13px;min-height:46px;color:#625d6b;font-weight:700}.student-strip{display:flex;align-items:center;justify-content:space-between;background:#f6f2ff;border-radius:12px;padding:10px 13px;margin-bottom:18px;text-align:right}.student-strip span{font-size:11px;color:var(--muted)}.survey-nav{display:flex;justify-content:space-between;gap:10px;margin-top:18px}.survey-nav .primary{margin-right:auto}.result-public strong{display:inline-flex;padding:12px 30px;border-radius:13px;font-size:22px;margin:4px 0 15px}.result-public small{display:block;color:var(--muted)}
.print-sheet{background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:0 3px 12px #31245508}.print-sheet>header{height:auto;position:static;padding:0 0 18px;background:transparent;border-bottom:2px solid var(--p);display:flex;justify-content:space-between;align-items:center}.print-sheet>header>div{display:flex;align-items:center;gap:10px}.print-sheet>header svg{width:44px;height:44px;padding:9px;border-radius:13px;background:var(--p);color:#fff}.print-sheet>header b,.print-sheet>header small{display:block}.print-sheet>header small{color:var(--muted);font-size:11px;margin-top:4px}.report-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.report-summary>div{border:1px solid var(--line);border-radius:12px;padding:11px;text-align:center}.report-summary span,.report-summary b{display:block}.report-summary span{font-size:10px;color:var(--muted)}.report-summary b{font-size:18px;margin-top:3px}.report-distribution{display:grid;grid-template-columns:1fr 1fr;gap:9px 20px;background:#faf9fc;border-radius:13px;padding:14px;margin-bottom:16px}.report-distribution>div{display:grid;grid-template-columns:1fr auto;gap:5px 10px;align-items:center}.report-distribution span{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700}.report-distribution span i{width:8px;height:8px;border-radius:50%}.report-distribution strong{font-size:12px}.report-distribution strong small{font-weight:400;color:var(--muted)}.report-distribution em{grid-column:1/-1;height:5px;background:#e9e6ef;border-radius:4px;overflow:hidden}.report-distribution em b{display:block;height:100%}.report-table{min-width:0;border:1px solid var(--line)}.report-table th{background:#f3effb;color:#514a5e;font-weight:700}.report-table td,.report-table th{border:1px solid var(--line);padding:7px 9px;font-size:10px}.report-table th:first-child,.report-table td:first-child{width:35px;text-align:center}.report-advice{margin-top:15px;border-top:1px solid var(--line);padding-top:10px}.report-advice h3{font-size:13px;margin:0 0 7px}.report-advice>div{display:grid;grid-template-columns:1fr 1fr;gap:5px 18px}.report-advice p{font-size:9px;margin:0;line-height:1.6;color:#625d6b}.print-sheet>footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:14px;padding-top:9px;font-size:9px;color:var(--muted)}
@media(max-width:800px){.flow-steps{justify-content:flex-start;overflow:auto}.flow-steps>svg{display:none}.class-link-grid,.import-sources{grid-template-columns:1fr}.report-summary{grid-template-columns:1fr 1fr}.report-distribution,.report-advice>div{grid-template-columns:1fr}.print-sheet{padding:18px;overflow:auto}.confirm-actions{grid-template-columns:1fr}}
@media print{@page{size:A4 portrait;margin:9mm}body{background:#fff}.shell .side,.shell header,.shell .page-title,.shell .report-grid,.shell .errorbar{display:none!important}.shell>main{margin:0!important}.shell .work{padding:0!important;max-width:none}.work>*:not(.print-sheet):not(.printable-analytics){display:none!important}.print-sheet{display:block!important;border:0;border-radius:0;box-shadow:none;padding:0}.print-sheet>header{display:flex!important}.report-summary{margin:12px 0}.report-table td,.report-table th{padding:5px 7px}.printable-analytics{display:grid!important}.printable-analytics .panel{box-shadow:none}.public-shell{display:none!important}}

/* Import feedback / Tawtheq integration polish */
.import-loading{min-height:220px!important;flex-direction:column!important;gap:13px!important;background:linear-gradient(180deg,#fafbff,#f4f2fb);border:1px solid #ded9eb;border-radius:16px;color:#3739b9!important;text-align:center}.import-loading svg{width:34px!important;height:34px!important}.import-loading b{font-size:15px}.taw-import-committing{opacity:.65;pointer-events:none}.taw-import-committing:after{content:" · جاري الحفظ"}#taw-import-progress{position:fixed;inset:0;z-index:1000000;background:rgba(16,22,60,.44);backdrop-filter:blur(5px);display:grid;place-items:center;padding:20px}#taw-import-progress[hidden]{display:none}.taw-import-card{width:min(360px,92vw);background:#fff;border:1px solid #e1e5ef;border-radius:20px;padding:28px 24px;box-shadow:0 24px 70px rgba(16,22,60,.25);display:flex;align-items:center;flex-direction:column;text-align:center;color:#181b31}.taw-import-card strong{font-size:18px;color:#17275d}.taw-import-card small{font-size:12px;color:#6f7487;margin-top:4px}.taw-import-spinner{width:36px;height:36px;border:4px solid #e8e9f4;border-top-color:#3739b9;border-radius:50%;animation:spin .8s linear infinite;margin-bottom:5px}

/* Embedded in Tawtheq: cancel the standalone bridge offsets; parent provides the single Back control. */
html.taw-embedded .tawtheq-bridge{display:none!important}
html.taw-embedded body.taw-learning .side{top:0!important}
html.taw-embedded body.taw-learning .shell>main>header{top:0!important}
html.taw-embedded body.taw-learning .shade{top:0!important}
