:root{--green:#176b55;--dark:#173a31;--mint:#e9f3ed;--ink:#213b34;--muted:#76837d;--line:#e2e8e2;--bg:#f6f8f4;--red:#b64e43;--amber:#986b22}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:14px/1.6 'Segoe UI',system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}a{color:var(--green);text-decoration:none}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a3d7b6;outline-offset:2px}h1,h2,h3,h4,p{margin:0}h1{font-size:32px;font-weight:650;letter-spacing:-1.2px;line-height:1.25}h2{font-size:20px;font-weight:650;letter-spacing:-.4px}h3{font-size:16px;font-weight:650}p{margin:8px 0 16px}.muted,small{color:var(--muted)}small{font-size:12px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.7px;color:var(--green);text-transform:uppercase;margin-bottom:9px}.sidebar{width:228px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:30px 19px;display:flex;flex-direction:column;z-index:20}.brand{font-size:25px;font-weight:750;letter-spacing:-1px;display:flex;align-items:center;gap:9px;color:var(--ink)}.brand i{background:var(--green);color:#fff;width:33px;height:33px;border-radius:9px;font-style:normal;text-align:center;font-size:23px;line-height:32px}.brand span{color:var(--green)}.workspace{font-size:10px;letter-spacing:1.5px;color:var(--muted);padding:27px 14px 11px;font-weight:700}.navlink{display:flex;align-items:center;gap:12px;padding:12px 14px;color:#687c72;margin:3px 0;border-radius:8px;font-size:13px;font-weight:600}.navlink.active{background:var(--mint);color:var(--green)}.navlink:hover{background:#f2f6f1}.navlink svg{width:18px;height:18px}.sidebottom{margin-top:auto;padding:18px 12px 0}.sidehint{background:#f6f8f4;padding:15px;border-radius:9px;font-size:12px}.shellmain{margin-left:228px}.topbar{height:77px;background:#fff;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;gap:12px}.topbar .crumb{color:var(--muted);font-size:12px}.userbar{display:flex;align-items:center;gap:11px;font-size:12px}.avatar{width:33px;height:33px;display:grid;place-items:center;background:#dcecdf;color:var(--green);border-radius:50%;font-weight:750}.page{padding:34px 38px 45px;max-width:1510px;margin:auto}.heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:27px}.heading p{margin:8px 0 0}.btn{border:1px solid var(--green);background:var(--green);color:#fff;padding:10px 17px;border-radius:7px;font-size:12px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;min-height:40px}.btn:hover{filter:brightness(.96)}.btn.secondary{background:#fff;border-color:var(--line);color:var(--ink)}.btn.ghost{border-color:transparent;background:transparent;color:var(--green)}.btn.danger{background:#fff;color:var(--red);border-color:#edd6d2}.btn.small{font-size:11px;padding:6px 11px;min-height:32px}.btn svg{width:16px;height:16px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:0 0 26px}.stat{border:1px solid var(--line);border-radius:10px;background:#fff;padding:19px 21px}.stathead{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.stathead svg{width:18px;height:18px;color:var(--green)}.stat strong{display:block;font-size:29px;line-height:1.5;font-weight:650;letter-spacing:-1px}.stat small{font-size:11px}.card{background:white;border:1px solid var(--line);border-radius:11px;padding:23px;margin-bottom:22px}.cardhead{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.banner{background:var(--dark);color:white;display:flex;justify-content:space-between;gap:25px;padding:26px 29px;border-radius:11px;margin-bottom:26px;position:relative;overflow:hidden}.banner p{color:#bbcec3;max-width:510px;font-size:13px;margin-bottom:0}.banner .eyebrow{color:#add5b8}.banner .btn{background:#f0f6e8;color:var(--green);border-color:#f0f6e8;align-self:center}.banner .art{font-size:64px;color:#b3d8b7;align-self:center}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.widegrid{display:grid;grid-template-columns:minmax(0,1fr) 305px;gap:22px}.filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:20px}.filters label{margin:0;flex:1;min-width:130px}.filters .search{flex:2;min-width:200px}.field,label.field{display:block;font-size:12px;font-weight:600;margin-bottom:16px;color:#52655b}.field input,.field select,.field textarea,.filters input,.filters select{width:100%;margin-top:6px;border:1px solid #dce4db;border-radius:7px;padding:10px 12px;color:var(--ink);background:#fff;min-height:42px;font-size:13px;font-weight:400}.field textarea{min-height:95px;resize:vertical}.field small{display:block;font-weight:400;margin-top:5px}.field input[type=checkbox],.field input[type=radio]{width:auto;min-height:0}.check{display:flex;align-items:center;gap:9px;font-size:13px;margin:9px 0;cursor:pointer}.check input{width:16px;height:16px;accent-color:var(--green)}.selectbox{border:1px solid var(--line);border-radius:8px;padding:13px}.selectbox:has(input:checked){border-color:var(--green);background:#f0f7f1}.tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin-bottom:22px;overflow:auto}.tab{border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);padding:11px 15px;font-weight:600;font-size:12px;white-space:nowrap}.tab.active{color:var(--green);border-bottom-color:var(--green)}.pill{display:inline-flex;padding:3px 9px;border-radius:5px;background:var(--mint);font-size:10px;font-weight:700;color:var(--green);white-space:nowrap;letter-spacing:.25px}.pill.Draft,.pill.draft,.pill.Upcoming,.pill.in_progress{background:#fbf1dc;color:var(--amber)}.pill.Expired,.pill.Inactive{background:#f3e8e4;color:var(--red)}.pill.Completed{background:#edf0f6;color:#657397}.tablewrap{overflow:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:12px}th{font-size:10px;letter-spacing:.8px;font-weight:650;color:var(--muted);background:#f7f9f5;white-space:nowrap}th,td{padding:14px 13px;border-bottom:1px solid #edf0eb;vertical-align:middle}td strong{font-weight:600}td small{display:block;font-size:10px}tr:last-child td{border-bottom:0}td input[type=checkbox],th input[type=checkbox]{accent-color:var(--green);width:16px;height:16px}.empty{text-align:center;padding:45px 20px;color:var(--muted)}.empty .emptyicon{font-size:35px;opacity:.6;margin-bottom:12px}.empty h3{color:var(--ink);margin-bottom:8px}.steps{display:flex;justify-content:space-between;gap:12px;margin:0 0 28px;padding:18px 24px;background:#fff;border:1px solid var(--line);border-radius:9px}.step{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px}.step b{width:25px;height:25px;background:#eff2ec;border-radius:50%;display:grid;place-items:center;font-size:11px}.step.active{color:var(--green);font-weight:650}.step.active b{background:var(--green);color:white}.dropzone{border:1px dashed #a9c6b2;background:#f4f9f2;padding:28px;text-align:center;border-radius:9px;margin:18px 0}.dropzone svg{width:35px;height:35px;color:var(--green);margin-bottom:9px}.dropzone input{max-width:310px;margin:15px auto 0;display:block;font-size:12px}.notice{border:1px solid #dbe9d9;background:#f1f7ed;color:#4e6c50;padding:13px 16px;border-radius:8px;font-size:12px;margin-bottom:18px}.notice.warn{background:#fff8e9;border-color:#eee1c2;color:#8c6a33}.notice.error{background:#fff0ec;border-color:#edcfc5;color:var(--red)}.quizcard{padding:22px;display:flex;flex-direction:column;margin:0}.quizcard h3{font-size:17px;margin:15px 0 5px;line-height:1.35}.quizmeta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0;font-size:11px;color:#708075}.quizmeta b{display:block;color:var(--ink);font-size:12px;font-weight:550}.quizcard .foot{border-top:1px solid var(--line);padding-top:15px;margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:10px}.facts{display:grid;grid-template-columns:1fr 1fr;gap:17px}.facts dt{font-size:11px;color:var(--muted)}.facts dd{margin:3px 0 0;font-size:13px;font-weight:550}.question-preview{padding:18px 0;border-top:1px solid var(--line)}.question-preview:first-child{border:0}.question-preview h3{font-size:14px;margin:7px 0 12px;white-space:pre-wrap}.preview-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:12px}.preview-options div{padding:8px 12px;background:#f7f9f5;border-radius:5px;white-space:pre-wrap}.preview-options .correct{background:#eaf4e9;color:var(--green)}details{margin:15px 0;border-top:1px solid var(--line);padding-top:15px}summary{cursor:pointer;font-size:12px;font-weight:650}details[open]>summary{margin-bottom:16px}dialog{border:1px solid var(--line);border-radius:12px;padding:26px;width:min(720px,94vw);max-height:88vh;color:var(--ink);box-shadow:0 30px 100px #132e3429}dialog::backdrop{background:#17372a66;backdrop-filter:blur(3px)}.modalhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modalfoot{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;border-top:1px solid var(--line);padding-top:18px}#toast{display:none;position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--dark);color:#fff;box-shadow:0 8px 30px #17372a20;border-radius:9px;padding:13px 21px;z-index:100;max-width:92vw;font-size:13px}#toast.error{background:#963c32}.authwrap{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.authaside{background:var(--dark);color:white;padding:65px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.authaside .brand{color:#fff}.authaside .brand span{color:#c5dbb5}.authaside h1{font-size:52px;max-width:500px;line-height:1.12}.authaside p{color:#c3d4c8;max-width:380px}.authform{max-width:410px;width:100%;margin:auto;padding:35px}.authform h1{font-size:29px}.authform form{margin-top:26px}.authform .btn{width:100%}.authform .muted{font-size:13px}.decor{display:flex;gap:14px;margin:30px 0}.decor span{width:55px;height:55px;border:1px solid #749a76;border-radius:12px;display:grid;place-items:center;font-size:21px;color:#d2e5c6}.examtop{position:sticky;top:0;z-index:15;display:flex;justify-content:space-between;align-items:center;gap:15px;background:#fff;border-bottom:1px solid var(--line);padding:15px 30px}.examtitle h2{font-size:16px}.examtitle small{font-size:10px}.timer{background:#eff5ea;padding:9px 16px;border-radius:8px;font-variant-numeric:tabular-nums;font-size:19px;font-weight:650;letter-spacing:1px}.timer.urgent{color:var(--red);background:#fff0eb}.examwrap{max-width:1240px;margin:28px auto;padding:0 25px;display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px}.question-panel{padding:26px;margin-bottom:16px;scroll-margin-top:100px}.question-panel h2{font-size:19px;line-height:1.6;margin:22px 0;white-space:pre-wrap}.option{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid var(--line);border-radius:8px;cursor:pointer;margin:11px 0;font-size:14px;white-space:pre-wrap}.option input{accent-color:var(--green);width:17px;height:17px;flex-shrink:0}.option:has(input:checked){background:#edf7ed;border-color:var(--green)}.option b{font-size:12px;color:var(--muted);font-weight:550}.navigator{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin:20px 0}.navnum{aspect-ratio:1;border:1px solid var(--line);border-radius:6px;background:#f8faf6;color:#7b897e;font-size:12px;position:relative}.navnum.answered{background:#e0eee2;color:var(--green);border-color:#8cb79b}.navnum.current{outline:2px solid var(--green);outline-offset:2px}.navnum.marked:after{content:'';width:7px;height:7px;background:#b28bcb;border:2px solid #fff;border-radius:50%;position:absolute;right:1px;top:1px;box-sizing:content-box}.exam-side{align-self:start;position:sticky;top:100px}.progress{height:5px;background:#edf0e9;border-radius:9px;overflow:hidden;margin:16px 0}.progress i{display:block;height:100%;background:var(--green);transition:width .2s}.legend{display:flex;gap:10px;font-size:10px;flex-wrap:wrap;color:var(--muted)}.legend span:before{content:'●';margin-right:5px;color:#8cb79b}.legend span:nth-child(2):before{color:#ddd}.legend span:nth-child(3):before{color:#b28bcb}.resulthero{text-align:center;padding:40px;background:#f0f6ed;border:1px solid #dfe8d9;border-radius:12px;margin-bottom:24px}.scorecircle{width:125px;height:125px;border:7px solid #cbdfc7;border-top-color:var(--green);border-right-color:var(--green);border-radius:50%;display:flex;flex-direction:column;justify-content:center;margin:22px auto}.scorecircle strong{font-size:32px;line-height:1.3}.resultstats{display:flex;justify-content:center;gap:40px;flex-wrap:wrap;margin:20px}.resultstats strong{display:block;font-size:21px}.resultstats small{font-size:11px}.loading{padding:80px;text-align:center;color:var(--muted)}.mobilebrand{display:none}.footer{font-size:10px;color:#94a096;border-top:1px solid var(--line);margin-top:35px;padding-top:18px;display:flex;justify-content:space-between}.stackgap>*+*{margin-top:12px}.nowrap{white-space:nowrap}.hidden{display:none!important}.langselect{border:1px solid var(--line);padding:6px 9px;border-radius:6px;color:var(--green);background:#fff;max-width:150px;font-size:12px}.readonly{background:#f5f7f2;padding:12px;border-radius:7px;font-size:12px;word-break:break-all}.sectionlabel{font-size:10px;letter-spacing:1px;color:var(--muted);font-weight:650;margin-bottom:12px}.code{font:11px ui-monospace,monospace;color:#7b8b80}.inline-error{color:var(--red);font-size:12px;margin:10px 0}.questionlist{max-height:530px;overflow:auto}.bar-actions{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--line);padding:14px 0;display:flex;justify-content:space-between;gap:10px}.separator{border:0;border-top:1px solid var(--line);margin:20px 0}@media(min-width:1550px){.grid3{grid-template-columns:repeat(3,1fr)}}@media(max-width:1180px){.grid3{grid-template-columns:1fr 1fr}.page{padding:28px 25px}.topbar{padding:0 25px}.widegrid{grid-template-columns:minmax(0,1fr) 265px}.stats{gap:12px}.stat{padding:16px}.stathead{font-size:11px}}@media(max-width:950px){.sidebar{width:185px;padding:24px 12px}.shellmain{margin-left:185px}.brand{font-size:22px}.widegrid{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}.sidehint{display:none}.examwrap{grid-template-columns:minmax(0,1fr) 220px;gap:16px}.exam-side .card{padding:16px}.authaside{padding:38px}.authaside h1{font-size:40px}}@media(max-width:700px){.sidebar{inset:auto 0 0;width:100%;height:64px;border-top:1px solid var(--line);border-right:0;padding:5px;background:#fff;flex-direction:row;justify-content:space-around}.sidebar>.brand,.workspace,.sidebottom{display:none}.navlink{flex:1;flex-direction:column;gap:2px;padding:5px 2px;font-size:9px;margin:0}.navlink svg{width:19px;height:19px}.shellmain{margin-left:0;padding-bottom:64px}.topbar{height:64px;padding:0 17px}.topbar .crumb{display:none}.mobilebrand{display:flex}.userbar .username{display:none}.page{padding:24px 17px}.heading{align-items:flex-start;flex-wrap:wrap;margin-bottom:22px}h1{font-size:27px}.heading p{font-size:12px}.stats{gap:10px;margin-bottom:20px}.stat{padding:15px}.stat strong{font-size:25px}.stat small{font-size:10px}.banner{padding:22px;flex-direction:column;gap:15px}.banner .art{display:none}.banner .btn{align-self:flex-start}.grid3,.grid2{grid-template-columns:1fr}.card{padding:19px}.quizcard{padding:21px}.cardhead{flex-wrap:wrap}.filters{gap:10px}.filters label{min-width:calc(50% - 10px)}.steps{padding:15px 12px;gap:7px}.step{font-size:10px;gap:5px}.step b{width:21px;height:21px}.step span{max-width:65px;line-height:1.4}.authwrap{display:block}.authaside{display:none}.authform{padding:45px 26px}.authform:before{content:none;display:none}.examtop{padding:12px 16px;flex-wrap:wrap}.examtitle h2{font-size:14px;max-width:205px}.timer{font-size:17px;padding:7px 10px}.examtop .brand{display:none}.examwrap{display:flex;flex-direction:column;margin:18px auto;padding:0 14px;gap:0}.exam-side{position:static;order:-1}.exam-side .card{padding:15px;margin-bottom:15px}.exam-side .navigator{grid-template-columns:repeat(6,1fr);gap:8px;margin:14px 0}.exam-side .legend{display:none}.question-panel{padding:20px}.question-panel h2{font-size:17px}.option{padding:13px 10px}.resultstats{gap:25px}.footer{font-size:9px;gap:15px}.preview-options{grid-template-columns:1fr}.btn{padding:10px 13px}.questionlist{max-height:none}dialog{padding:20px}.exam-side .progress{margin:9px 0}}
#counts{display:flex;gap:5px 10px;flex-wrap:wrap}#counts span{white-space:nowrap}.exam-side .navigator{max-height:260px;overflow:auto;padding:4px}.question-panel{overflow-wrap:anywhere}

/* v2.1 additions: feedback and profile, existing layouts unchanged */
.publish-flow{display:flex;flex-wrap:wrap;gap:7px 10px;font-size:11px;color:var(--muted);margin:-8px 0 21px}.publish-flow b{color:var(--green)}.publish-flow span{color:#9bae9c}
.question-clock-wrap{display:flex;align-items:center;gap:9px}.question-clock-wrap small{font-size:11px}.question-clock-wrap .timer{font-size:16px;min-width:92px;text-align:center}.feedback-current{border-color:#a5c5ad}.feedback-activate{margin-top:13px}.feedback-activate small{font-size:10px}.feedback-correct-option{border-color:#8cb79b;background:#edf7ed}.feedback-correct-mark{margin-left:auto;color:var(--green);font-weight:700}.option:has(input:disabled){cursor:default}.answer-feedback{background:#edf7ed;border:1px solid #c4ddc4;border-left:3px solid var(--green);padding:16px 18px;border-radius:8px;margin:19px 0 4px;font-size:13px;white-space:pre-wrap}.answer-feedback.incorrect{border-color:#e5cec9;background:#fff6f2;border-left-color:var(--red)}.answer-feedback.timeout{border-color:#e8dbb9;background:#fff9ed;border-left-color:var(--amber)}.answer-feedback p{margin:9px 0}.answer-feedback small{font-size:11px}.navnum.timed-out{background:#fff3dd;border-color:#d5b982;color:var(--amber)}.field input:read-only{background:#f6f8f4;color:var(--muted)}
@media(max-width:700px){.publish-flow{font-size:10px;gap:5px 7px}.question-clock-wrap{gap:7px}.answer-feedback{padding:14px;font-size:12px}.feedback-intro{font-size:11px}.feedback-activate{gap:4px}.sidebar .navlink{font-size:9px}.question-panel{scroll-margin-top:150px}}

/* Optional verification, commerce and branding modules */
.brand-logo{max-width:65px;height:34px;object-fit:contain;flex-shrink:0}.brand-name{overflow-wrap:anywhere;font-size:20px;line-height:1.15}.brand-preview{min-height:115px;border:1px dashed var(--line);border-radius:8px;padding:20px;display:flex;align-items:center;justify-content:center;gap:12px;margin:18px 0;background:#f8faf5}.brand-preview img{max-width:100%;max-height:130px;object-fit:contain}.auth-mobile-brand{display:none}.price-module{margin:20px 0}.coupon-quiz-list{max-height:220px;overflow:auto}.order-reference{min-width:190px;overflow-wrap:anywhere;font-size:11px}.pill.paid{background:#e4f3e5;color:var(--green)}.pill.pending,.pill.review,.pill.creating{background:#fff1d7;color:var(--amber)}.pill.failed,.pill.refunded{background:#fff0eb;color:var(--red)}#coupon-apply .field{flex:1;min-width:180px}#coupon-apply{align-items:end}#coupon-apply button{margin-bottom:16px}.authaside .brand-name{color:#c5dbb5}
@media(max-width:700px){.authform:before{content:none;display:none}.auth-mobile-brand{display:flex;margin-bottom:35px}.sidebar{overflow-x:auto;justify-content:flex-start}.sidebar .navlink{min-width:58px;flex:1 0 58px}.brand-name{font-size:17px;max-width:155px}.brand-logo{max-width:45px;height:30px}.topbar .userbar{gap:6px}.topbar .userbar>.pill{display:none}.price-module .grid3{gap:0}}
