:root{font-family:Arial,Helvetica,sans-serif;color:#172033;background:#f4f6f9}*{box-sizing:border-box}body{margin:0}a{color:#164eaa}header{background:#111827;color:white;padding:18px 4vw}.header-inner{max-width:1450px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}header h1{margin:0 0 3px;font-size:25px}header p{margin:0;color:#cbd5e1;font-size:14px}nav{display:flex;flex-wrap:wrap;gap:8px}nav a{color:white;text-decoration:none;padding:9px 11px;border:1px solid #475569;border-radius:8px}nav a.primary-link{background:#fff;color:#111827;border-color:#fff;font-weight:700}main{max-width:1450px;margin:22px auto;padding:0 18px}.page-title-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.page-title-row h2{margin:0 0 5px}.muted,.meta,.small{color:#64748b}.button-row,.card-actions{display:flex;gap:8px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;padding:10px 13px;border:1px solid #cbd5e1;border-radius:8px;background:white;color:#172033;text-decoration:none;font-weight:700;cursor:pointer}.button.primary{background:#111827;color:white;border-color:#111827}.button.danger{background:#b91c1c;color:white;border-color:#b91c1c}.button.danger-ghost{color:#b91c1c;background:white;border-color:#fecaca}.button.wide{width:100%;margin-top:10px}.button:disabled{opacity:.48;cursor:not-allowed}.tiny{padding:7px 9px;font-size:13px}.small-button{padding:7px 9px;font-size:13px}.filters{display:grid;grid-template-columns:1fr 320px auto;gap:10px;margin-bottom:16px}.filters input,.filters select,.filters button,.quiz-name{padding:12px;border:1px solid #cbd5e1;border-radius:8px;background:white;font:inherit}.filters button{font-weight:700;cursor:pointer}.cats{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0 20px}.cats a{background:white;border:1px solid #d7dde6;border-radius:999px;padding:7px 10px;text-decoration:none;color:#172033}.cats b{margin-left:5px}.table-wrap{overflow:auto;background:white;border-radius:10px}table{width:100%;border-collapse:collapse;background:white}th,td{padding:10px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:top}th{background:#eef2f7}td a{color:#164eaa;text-decoration:none}article{background:white;padding:24px;border-radius:12px}.answers p{padding:12px;border:1px solid #e5e7eb;border-radius:8px}.answers .correct{border:2px solid #16a34a;background:#f0fdf4}.qimg{max-width:100%;max-height:520px;display:block;margin:18px auto;border-radius:8px}.flash{padding:12px 14px;border-radius:8px;margin-bottom:14px}.flash.success{background:#ecfdf5;border:1px solid #86efac}.flash.error{background:#fef2f2;border:1px solid #fecaca}.quiz-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px}.quiz-card{background:white;border:1px solid #e5e7eb;border-radius:12px;padding:18px;display:flex;justify-content:space-between;gap:12px;align-items:flex-end}.quiz-card h3{margin:0 0 8px}.warning-text{color:#b45309}.empty-state{background:white;border:1px dashed #cbd5e1;border-radius:12px;padding:30px;text-align:center}.empty-state.compact{padding:18px}.builder-layout{display:grid;grid-template-columns:minmax(0,1fr) 430px;gap:18px;align-items:start}.bank-panel,.selection-panel{min-width:0}.builder-filters{grid-template-columns:1fr 300px auto}.bank-toolbar{display:flex;justify-content:space-between;align-items:center;margin:8px 0}.question-pick-list{display:flex;flex-direction:column;gap:10px}.pick-card{background:white;border:1px solid #dbe2ea;border-radius:11px;padding:14px;display:flex;gap:12px;justify-content:space-between}.pick-main{min-width:0}.pick-question{font-weight:700;font-size:17px;margin:5px 0 8px}.pick-options{display:grid;gap:3px;font-size:14px;color:#334155;margin-bottom:6px}.pick-actions{display:flex;gap:6px;align-items:flex-start;flex-shrink:0}.sticky-selection{position:sticky;top:16px;background:white;border:1px solid #dbe2ea;border-radius:12px;padding:16px;max-height:calc(100vh - 32px);overflow:auto}.sticky-selection h3{margin:0 0 14px}.count-badge{display:inline-block;background:#111827;color:white;border-radius:999px;min-width:28px;text-align:center;padding:4px 8px;font-size:13px}.field-label{display:block;font-size:13px;font-weight:700;margin-bottom:5px}.quiz-name{width:100%;margin-bottom:12px}.selected-list{display:flex;flex-direction:column;gap:7px}.selected-item{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:7px;align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:8px}.selected-number{width:26px;height:26px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e2e8f0;font-weight:700}.selected-copy{font-size:13px;min-width:0}.selected-controls{display:flex;gap:3px}.selected-controls button{width:27px;height:27px;padding:0;border:1px solid #cbd5e1;background:white;border-radius:6px;cursor:pointer;font-weight:700}.selected-controls button.remove{color:#b91c1c}.selection-empty{color:#64748b;padding:18px 5px;text-align:center;border:1px dashed #cbd5e1;border-radius:8px}.selection-actions{margin-top:10px;display:flex;justify-content:flex-end}.quiz-preview-list{display:flex;flex-direction:column;gap:14px;margin-bottom:18px}.preview-question{padding:18px}.preview-question h3{margin:7px 0}.preview-img{max-height:380px}.compact-answers p{padding:9px;margin:6px 0}.inactive-question{border:2px solid #f59e0b;opacity:.82}@media(max-width:1000px){.builder-layout{grid-template-columns:1fr}.sticky-selection{position:static;max-height:none}.selection-panel{order:-1}.header-inner{align-items:flex-start;flex-direction:column}}@media(max-width:760px){.filters,.builder-filters{grid-template-columns:1fr}.page-title-row{align-items:flex-start;flex-direction:column}.pick-card{flex-direction:column}.pick-actions{justify-content:flex-end}.table-wrap table{font-size:14px}th:nth-child(2),td:nth-child(2){display:none}nav{width:100%}.quiz-card{flex-direction:column;align-items:flex-start}}
.generator-layout{display:grid;grid-template-columns:minmax(430px,620px) minmax(0,1fr);gap:18px;align-items:start}.generator-settings,.generator-preview{min-width:0}.generator-card{background:white;border:1px solid #dbe2ea;border-radius:12px;padding:18px;margin-bottom:14px}.generator-mode-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.mode-choice{display:flex;gap:10px;align-items:flex-start;border:1px solid #cbd5e1;border-radius:10px;padding:13px;cursor:pointer}.mode-choice input{margin-top:4px}.mode-choice span{display:flex;flex-direction:column;gap:3px}.mode-choice small{color:#64748b}.generator-mode-panel{border-top:1px solid #e5e7eb;padding-top:14px}.number-with-shortcuts{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.number-with-shortcuts input,.cat-count{padding:9px;border:1px solid #cbd5e1;border-radius:8px;font:inherit}.number-with-shortcuts input{width:120px}.category-count-head,.category-count-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 90px;gap:10px;align-items:center}.category-count-head{font-size:12px;text-transform:uppercase;color:#64748b;font-weight:700;padding:0 8px 7px}.category-count-row{border-top:1px solid #eef2f7;padding:8px}.category-count-row .cat-count{width:78px}.available-count{text-align:center;color:#475569}.category-total-line{text-align:right;padding:12px 8px 0;font-size:15px}.generator-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.generator-preview-head h3{margin:0}.generated-list{display:flex;flex-direction:column;gap:7px;max-height:62vh;overflow:auto;padding-right:4px}.generated-item{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:9px;align-items:center;border:1px solid #e2e8f0;border-radius:9px;padding:9px;background:#f8fafc}.generated-copy{min-width:0;font-size:14px}.correct-line{margin-top:4px;color:#15803d}.save-generated-form{border-top:1px solid #e5e7eb;margin-top:16px;padding-top:16px}@media(max-width:1000px){.generator-layout{grid-template-columns:1fr}.generator-mode-row{grid-template-columns:1fr}}@media(max-width:620px){.category-count-head,.category-count-row{grid-template-columns:minmax(0,1fr) 65px 70px}.generated-item{grid-template-columns:28px minmax(0,1fr)}.generated-item>a{grid-column:2}.number-with-shortcuts{align-items:stretch}}

/* v4.3 – banca de întrebări: categorii verticale + categorie activă */
.bank-layout-v43{display:grid;grid-template-columns:310px minmax(0,1fr);gap:18px;align-items:start}.category-sidebar{background:white;border:1px solid #dbe2ea;border-radius:12px;padding:10px;position:sticky;top:16px}.category-sidebar-title{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#64748b;padding:8px 10px 9px}.category-side-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;margin:3px 0;border:1px solid transparent;border-radius:9px;text-decoration:none;color:#172033;line-height:1.2;transition:background .12s ease,border-color .12s ease}.category-side-item span{min-width:0}.category-side-item b{flex:0 0 auto;min-width:31px;padding:3px 7px;border-radius:999px;background:#eef2f7;text-align:center;font-size:12px}.category-side-item:hover{background:#f8fafc;border-color:#dbe2ea}.category-side-item.active{background:#111827;color:white;border-color:#111827;font-weight:700}.category-side-item.active b{background:#fff;color:#111827}.bank-main-v43{min-width:0}.bank-search-v43{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-bottom:12px}.bank-search-v43 input,.bank-search-v43 button{padding:12px;border:1px solid #cbd5e1;border-radius:8px;background:white;font:inherit}.bank-search-v43 button{font-weight:700;cursor:pointer}.bank-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px;padding:0 2px}@media(max-width:960px){.bank-layout-v43{grid-template-columns:245px minmax(0,1fr)}.category-sidebar{position:static}}@media(max-width:760px){.bank-layout-v43{grid-template-columns:1fr}.category-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:5px}.category-sidebar-title{grid-column:1/-1}.category-side-item{margin:0}.bank-search-v43{grid-template-columns:1fr}.bank-list-heading{align-items:flex-start;flex-direction:column}}@media(max-width:520px){.category-sidebar{grid-template-columns:1fr}}

/* v5 – Mod Individual */
.individual-info-card{background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;padding:16px;margin-bottom:22px;display:grid;gap:8px}.individual-info-card code,.session-join-copy code{font-size:15px;word-break:break-all}.individual-quiz-grid .quiz-card{align-items:center}.selected-session-quiz{outline:3px solid #60a5fa}.start-session-form{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.start-session-form label{font-size:12px;font-weight:700;color:#475569}.start-session-form input{display:block;width:86px;margin-top:4px;padding:9px;border:1px solid #cbd5e1;border-radius:8px}.section-gap{margin-top:28px}.session-code-small{letter-spacing:.08em}.status-pill{display:inline-block;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:800;letter-spacing:.02em}.status-pill.open{background:#dcfce7;color:#166534}.status-pill.closed{background:#e2e8f0;color:#475569}.status-pill.working{background:#dbeafe;color:#1d4ed8}.status-pill.done{background:#ede9fe;color:#6d28d9}.session-hero{background:#111827;color:white;border-radius:14px;padding:22px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:28px;align-items:center;margin-bottom:22px}.hero-label{color:#cbd5e1;font-weight:800;letter-spacing:.05em}.session-code{font-size:38px;font-weight:900;letter-spacing:.12em;line-height:1}.session-join-copy{display:grid;gap:8px}.session-join-copy .button{width:max-content}.monitor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.monitor-head h3{margin-bottom:2px}.result-admis{color:#15803d;font-weight:900}.result-respins{color:#b91c1c;font-weight:900}
.student-body{background:#f1f5f9;min-height:100vh}.student-header{background:#111827;color:white}.student-header-inner{max-width:900px;margin:auto;padding:14px 16px;display:flex;justify-content:space-between;gap:12px;align-items:center}.student-header-inner b{font-size:20px;letter-spacing:.03em}.student-header-inner span{color:#cbd5e1;font-size:13px}.student-main{max-width:900px;margin:0 auto;padding:18px 14px 40px}.student-card,.student-question-card{background:white;border:1px solid #e2e8f0;border-radius:14px;padding:22px}.join-card{max-width:520px;margin:7vh auto 0}.join-card h1,.review-card h1,.result-card h1{margin-top:0}.join-form{display:grid;gap:16px;margin-top:22px}.join-form label{display:grid;gap:6px;font-weight:800}.join-form input{font:inherit;font-size:18px;padding:14px;border:1px solid #cbd5e1;border-radius:10px}.join-form input[name=code]{text-transform:uppercase;letter-spacing:.12em;font-weight:900}.student-primary,.student-secondary{border:0;border-radius:10px;padding:13px 18px;font:inherit;font-weight:800;cursor:pointer;text-align:center}.student-primary{background:#111827;color:white}.student-secondary{background:white;color:#111827;border:1px solid #cbd5e1}.student-secondary:disabled{opacity:.4;cursor:not-allowed}.link-button{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.student-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.question-counter{background:#111827;color:white;border-radius:999px;padding:7px 11px;font-weight:900}.student-question-card h2{font-size:23px;line-height:1.35;margin:10px 0 18px}.student-qimg{max-width:100%;max-height:430px;display:block;margin:12px auto 20px;border-radius:10px}.student-options{display:grid;gap:10px}.student-option{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr);align-items:start;gap:10px;border:2px solid #e2e8f0;border-radius:12px;padding:14px;cursor:pointer;font-size:17px;line-height:1.35}.student-option input{position:absolute;opacity:0;pointer-events:none}.student-option:has(input:checked){border-color:#2563eb;background:#eff6ff}.option-letter{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e2e8f0;font-weight:900}.student-option:has(input:checked) .option-letter{background:#2563eb;color:white}.question-nav-grid{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.qnav{width:36px;height:36px;border:1px solid #cbd5e1;background:white;color:#334155;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:800;cursor:pointer}.qnav.answered{background:#dcfce7;border-color:#86efac;color:#166534}.qnav.current{background:#111827;border-color:#111827;color:white}.qnav.unanswered{background:#fff7ed;border-color:#fdba74;color:#9a3412}.student-bottom-actions{display:flex;justify-content:space-between;gap:10px;margin-top:14px}.review-card{max-width:650px;margin:3vh auto 0}.review-warning{background:#fff7ed;border:1px solid #fdba74;border-radius:10px;padding:14px;color:#9a3412}.review-warning p{margin-bottom:0}.review-ok{background:#ecfdf5;border:1px solid #86efac;border-radius:10px;padding:14px;color:#166534;font-weight:800}.review-nav{margin:12px 0 18px}.result-card{max-width:560px;margin:6vh auto 0;text-align:center}.big-score{font-size:64px;line-height:1;font-weight:950;margin:20px 0}.big-score span{font-size:28px;color:#64748b}.result-banner{font-size:32px;font-weight:950;border-radius:12px;padding:12px;margin:14px auto;max-width:320px}.result-banner.admis{background:#dcfce7;color:#166534}.result-banner.respins{background:#fee2e2;color:#991b1b}
@media(max-width:760px){.session-hero{grid-template-columns:1fr;gap:18px}.session-code{font-size:34px}.monitor-head{align-items:flex-start}.individual-quiz-grid .quiz-card{align-items:flex-start}.start-session-form{width:100%}.participants-table{min-width:600px}.student-question-card{padding:16px}.student-question-card h2{font-size:20px}.student-option{font-size:16px;padding:12px}.qnav{width:34px;height:34px}.student-bottom-actions>*{flex:1}.stacked-mobile{flex-direction:column}.stacked-mobile form,.stacked-mobile button{width:100%}.big-score{font-size:54px}}

/* v5.1 – Individual: flux elev + progres live profesor */
.student-main{max-width:1180px}.student-exam-head,.student-final-head{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,2.6fr);gap:16px;align-items:stretch;margin-bottom:14px}.student-exam-identity{background:white;border:1px solid #dbe2ea;border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;justify-content:center;gap:4px}.student-exam-identity b{font-size:16px}.student-exam-identity span{color:#64748b;font-size:13px}.student-stat-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.student-stat{border:1px solid #dbe2ea;border-radius:10px;background:white;overflow:hidden;text-align:center;min-width:0}.student-stat span{display:block;padding:7px 6px 6px;font-size:11px;line-height:1.15;font-weight:800;color:#475569;border-bottom:1px solid #e5e7eb;white-space:normal}.student-stat b{display:block;padding:8px 6px;font-size:20px;line-height:1}.student-stat.stat-correct b{color:#15803d}.student-stat.stat-wrong b{color:#b91c1c}.student-stat.stat-correct{border-color:#86efac}.student-stat.stat-wrong{border-color:#fca5a5}.student-stat.stat-time{border-color:#94a3b8}.student-stat.stat-remaining{border-color:#fbbf24}.student-question-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.student-question-meta>span{font-size:12px;color:#64748b;text-align:right}.dg-question-card{max-width:940px;margin:0 auto}.dg-options{gap:11px}.student-option.dg-option{grid-template-columns:48px minmax(0,1fr);gap:0;padding:0;overflow:hidden;align-items:stretch;border:2px solid #e2e8f0;border-radius:12px;background:white}.student-option.dg-option .option-letter{width:auto;height:auto;min-height:58px;border-radius:0;background:#f1f5f9;border-right:1px solid #cbd5e1;display:flex;align-items:center;justify-content:center;font-size:20px}.student-option.dg-option .option-copy{padding:14px 15px;display:flex;align-items:center;min-height:58px}.student-option.dg-option:has(input:checked){border-color:#d4a106;background:#fde047}.student-option.dg-option:has(input:checked) .option-letter{background:#facc15;color:#111827;border-right-color:#d4a106}.student-answer-actions{max-width:940px;margin:14px auto 0;display:grid;grid-template-columns:1fr 1fr;gap:10px}.student-submit-answer,.student-later{min-height:52px;border-radius:10px;font:inherit;font-weight:900;font-size:16px;cursor:pointer}.student-submit-answer{border:1px solid #15803d;background:#16a34a;color:white}.student-submit-answer:hover{background:#15803d}.student-later{border:1px solid #cbd5e1;background:white;color:#334155}.student-later:hover{background:#f8fafc}.teacher-progress-table{min-width:830px}.teacher-progress-cell{min-width:250px}.teacher-progress-track{height:18px;border-radius:999px;background:#e5e7eb;overflow:hidden;display:flex;box-shadow:inset 0 0 0 1px #cbd5e1}.teacher-progress-track>span{display:block;height:100%;transition:width .25s ease}.teacher-progress-correct{background:#16a34a}.teacher-progress-wrong{background:#dc2626}.teacher-progress-copy{margin-top:5px;font-size:12px;color:#475569}.score-live-correct{color:#15803d;font-weight:800}.score-live-wrong{color:#b91c1c;font-weight:800}.result-card-v51{margin:3vh auto 26px}.review-jump{margin:12px auto 0;max-width:280px}.student-review-all{max-width:940px;margin:0 auto;padding-top:8px}.review-all-title{padding:10px 2px 4px}.review-all-title h1{margin-bottom:4px}.review-question-card{margin:14px 0}.review-question-card h2{font-size:21px;line-height:1.35}.review-question-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}.review-question-head>div{display:grid;gap:3px}.review-status{border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900}.review-status.ok{background:#dcfce7;color:#166534}.review-status.bad{background:#fee2e2;color:#991b1b}.review-option{grid-template-columns:48px minmax(0,1fr) auto;gap:0;padding:0;overflow:hidden;align-items:stretch;border:2px solid #e2e8f0;border-radius:12px;background:white;cursor:default}.review-option .option-letter{width:auto;height:auto;min-height:56px;border-radius:0;background:#f1f5f9;border-right:1px solid #cbd5e1;font-size:19px}.review-option .option-copy{padding:13px 14px;display:flex;align-items:center;min-height:56px}.review-option-note{display:flex;align-items:center;padding:10px 12px;font-size:12px;font-weight:900}.review-option.review-correct{border-color:#16a34a;background:#dcfce7}.review-option.review-correct .option-letter{background:#16a34a;color:white;border-right-color:#15803d}.review-option.review-correct .review-option-note{color:#166534}.review-option.review-wrong{border-color:#dc2626;background:#fee2e2}.review-option.review-wrong .option-letter{background:#dc2626;color:white;border-right-color:#b91c1c}.review-option.review-wrong .review-option-note{color:#991b1b}.review-question-ok{border-left:5px solid #16a34a}.review-question-bad{border-left:5px solid #dc2626}
@media(max-width:850px){.student-exam-head,.student-final-head{grid-template-columns:1fr}.student-stat-strip{grid-template-columns:repeat(5,minmax(82px,1fr));overflow-x:auto;padding-bottom:2px}.student-exam-identity{display:none}.student-stat span{font-size:10px}.student-stat b{font-size:18px}.student-main{padding-top:10px}.student-question-meta{align-items:flex-start;flex-direction:column;gap:3px}.student-question-meta>span{text-align:left}.review-option{grid-template-columns:44px minmax(0,1fr)}.review-option-note{grid-column:2;padding:0 14px 9px}.student-option.dg-option{grid-template-columns:44px minmax(0,1fr)}}
@media(max-width:480px){.student-header-inner{padding:10px 12px}.student-main{padding-left:8px;padding-right:8px}.student-question-card{border-radius:10px;padding:13px}.student-question-card h2{font-size:18px}.student-stat-strip{gap:4px}.student-stat{min-width:78px}.student-stat span{padding:6px 4px}.student-stat b{padding:7px 4px;font-size:17px}.student-answer-actions{gap:7px}.student-submit-answer,.student-later{font-size:14px;padding:8px 6px}.student-option.dg-option .option-copy{padding:12px 11px;font-size:15px}.student-option.dg-option .option-letter{font-size:18px}.review-question-card h2{font-size:18px}}

/* === CLASS DRIVE Individual v5.2 === */
.student-exam-head-v52{max-width:940px;margin:0 auto 14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}.student-score-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border:1px solid #dbe2ea;border-radius:12px;overflow:hidden}.student-mini-stat{text-align:center;padding:8px 10px}.student-mini-stat+ .student-mini-stat{border-left:1px solid #e5e7eb}.student-mini-stat span{display:block;font-size:11px;color:#64748b;font-weight:700;margin-bottom:4px}.student-mini-stat b{display:block;font-size:21px;line-height:1.05}.student-mini-stat.stat-correct b{color:#15803d}.student-mini-stat.stat-wrong b{color:#b91c1c}.student-mini-stat.stat-remaining b{color:#9a6700}.student-time-box{min-width:112px;background:#111827;color:#fff;border-radius:12px;padding:8px 13px;text-align:center;display:flex;flex-direction:column;justify-content:center}.student-time-box span{font-size:11px;opacity:.78;font-weight:700}.student-time-box b{font-size:24px;letter-spacing:.04em;line-height:1.15;margin-top:3px}.student-result-head-v52{margin-top:2px}.timeout-banner{background:#fff7ed;border:1px solid #fdba74;color:#9a3412;border-radius:10px;padding:10px 12px;margin:0 0 12px;font-weight:800}.review-status.neutral{background:#e2e8f0;color:#475569}.review-question-unanswered{border-left:5px solid #94a3b8}.session-hero-v52{grid-template-columns:minmax(220px,1fr) 190px minmax(200px,.8fr);align-items:center}.session-qr-block{text-align:center}.session-qr{display:block;width:170px;height:170px;max-width:100%;margin:6px auto 0;background:#fff;border:8px solid #fff;border-radius:10px;box-shadow:0 1px 4px rgba(15,23,42,.1)}.session-status-block{display:grid;gap:8px;justify-items:start}.teacher-progress-link{display:block;text-decoration:none;color:inherit;border-radius:8px;padding:3px}.teacher-progress-link:hover{background:#f8fafc}.teacher-progress-link:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.teacher-progress-copy{font-weight:400}.score-live-correct,.score-live-wrong{font-weight:400}.history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.history-heading h3{margin:0}.history-heading a{font-size:13px}.page-actions{display:flex;gap:8px;flex-wrap:wrap}.teacher-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.teacher-detail-summary>div{background:#fff;border:1px solid #dbe2ea;border-radius:12px;padding:12px 14px}.teacher-detail-summary span{display:block;font-size:12px;color:#64748b;margin-bottom:4px}.teacher-detail-summary b{font-size:19px}.teacher-detail-summary .good{border-color:#86efac}.teacher-detail-summary .good b{color:#15803d}.teacher-detail-summary .bad{border-color:#fca5a5}.teacher-detail-summary .bad b{color:#b91c1c}.teacher-answer-note{background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a;border-radius:10px;padding:10px 12px;margin-bottom:14px}.teacher-answer-review{max-width:940px}.teacher-answer-line{font-size:13px;color:#475569;margin:8px 0 12px}.history-table{min-width:760px}
@media(max-width:850px){.session-hero-v52{grid-template-columns:1fr 160px}.session-status-block{grid-column:1/-1}.teacher-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.student-exam-head-v52{grid-template-columns:minmax(0,1fr) 92px;gap:6px;margin-bottom:9px}.student-mini-stat{padding:7px 4px}.student-mini-stat span{font-size:9px}.student-mini-stat b{font-size:18px}.student-time-box{min-width:0;padding:7px 6px}.student-time-box span{font-size:9px}.student-time-box b{font-size:19px}.session-hero-v52{grid-template-columns:1fr}.session-qr{width:185px;height:185px}.session-status-block{grid-column:auto}.teacher-detail-summary{grid-template-columns:1fr 1fr}}


/* ===== LIVE v6 ===== */
.live-info-card{border-color:#c4b5fd;background:#f5f3ff}.live-session-hero{margin-bottom:16px}.live-control-card{background:#fff;border:1px solid #dbe2ea;border-radius:12px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.live-control-card h3{margin:0 0 4px}.live-control-card p{margin:0}.live-big-action{min-height:48px;padding-left:20px;padding-right:20px}.live-teacher-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:16px;align-items:start;margin-bottom:22px}.live-question-panel,.live-stats-panel{background:#fff;border:1px solid #dbe2ea;border-radius:14px;padding:18px}.live-question-panel h2{font-size:23px;line-height:1.35;margin:14px 0 18px}.live-question-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.live-teacher-options{display:grid;gap:9px}.live-teacher-option{display:grid;grid-template-columns:48px minmax(0,1fr) 44px;align-items:stretch;border:2px solid #e2e8f0;border-radius:10px;overflow:hidden;background:#fff;min-height:58px}.live-teacher-option>b{display:flex;align-items:center;justify-content:center;background:#f1f5f9;border-right:1px solid #cbd5e1;font-size:19px}.live-teacher-option>span{padding:12px 14px;display:flex;align-items:center}.live-teacher-option>em{font-style:normal;font-weight:900;display:flex;align-items:center;justify-content:center;background:#f8fafc;border-left:1px solid #e2e8f0}.live-teacher-option.is-correct{border-color:#16a34a;background:#dcfce7}.live-teacher-option.is-correct>b{background:#16a34a;color:#fff;border-right-color:#15803d}.live-stats-panel{display:grid;gap:10px;position:sticky;top:14px}.live-answer-count{border:1px solid #dbe2ea;border-radius:10px;padding:11px 12px;display:flex;justify-content:space-between;align-items:center;gap:10px}.live-answer-count span{font-size:13px;color:#64748b}.live-answer-count b{font-size:20px}.live-score-split{display:grid;grid-template-columns:1fr 1fr;gap:8px}.live-score-split span{border-radius:10px;padding:10px;text-align:center}.live-score-split .good{background:#dcfce7;color:#166534}.live-score-split .bad{background:#fee2e2;color:#991b1b}.live-correct-answer{background:#f0fdf4;border:1px solid #86efac;color:#166534;border-radius:10px;padding:10px 12px}.live-good{color:#15803d}.live-bad{color:#b91c1c}.live-participants-table{min-width:780px}.live-student-top{max-width:940px;margin:0 auto 10px;display:flex;justify-content:space-between;align-items:center;gap:10px}.live-student-top>div:first-child{display:grid;gap:2px}.live-student-top span{font-size:12px;color:#64748b}.live-wait-card{max-width:620px;margin:9vh auto 0;text-align:center;padding:34px 24px}.live-wait-card h1{margin:12px 0 8px}.live-pulse{width:18px;height:18px;border-radius:50%;background:#16a34a;margin:0 auto;box-shadow:0 0 0 0 rgba(22,163,74,.5);animation:livepulse 1.6s infinite}@keyframes livepulse{70%{box-shadow:0 0 0 14px rgba(22,163,74,0)}100%{box-shadow:0 0 0 0 rgba(22,163,74,0)}}.live-one-action{grid-template-columns:1fr}.live-locked-option{cursor:default}.live-locked-option.live-selected{border-color:#d4a106;background:#fde047}.live-locked-option.live-selected .option-letter{background:#facc15;color:#111827;border-right-color:#d4a106}.live-answer-sent{margin-top:14px;padding:12px 14px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a;border-radius:10px;text-align:center;font-weight:800}.live-review-correct{border-color:#16a34a!important;background:#dcfce7!important}.live-review-correct .option-letter{background:#16a34a!important;color:#fff!important;border-right-color:#15803d!important}.live-review-wrong{border-color:#dc2626!important;background:#fee2e2!important}.live-review-wrong .option-letter{background:#dc2626!important;color:#fff!important;border-right-color:#b91c1c!important}.live-option-note{display:flex;align-items:center;padding:8px 10px;font-size:11px;font-weight:900}.live-review-correct .live-option-note{color:#166534}.live-review-wrong .live-option-note{color:#991b1b}.live-reveal-result{margin-top:12px;border-radius:10px;padding:10px 12px;text-align:center;font-weight:900}.live-reveal-result.ok{background:#dcfce7;color:#166534}.live-reveal-result.bad{background:#fee2e2;color:#991b1b}
@media(max-width:950px){.live-teacher-grid{grid-template-columns:1fr}.live-stats-panel{position:static}.live-session-hero{grid-template-columns:1fr 170px}.live-session-hero .session-status-block{grid-column:1/-1}}
@media(max-width:620px){.live-control-card{align-items:stretch;flex-direction:column}.live-big-action{width:100%}.live-session-hero{grid-template-columns:1fr}.live-session-hero .session-status-block{grid-column:auto}.live-teacher-option{grid-template-columns:42px minmax(0,1fr) 38px}.live-question-panel{padding:13px}.live-question-panel h2{font-size:19px}.live-student-top{padding:0 2px}}

/* LIVE v6.1 - selector vertical de chestionare + pagina principala curata */
.live-launch-layout-v61{display:grid;grid-template-columns:310px minmax(0,1fr);gap:18px;align-items:start;margin-top:18px}.live-quiz-sidebar-v61{background:#fff;border:1px solid #dbe2ea;border-radius:12px;padding:10px;position:sticky;top:16px;max-height:calc(100vh - 32px);display:flex;flex-direction:column;min-height:260px}.live-quiz-sidebar-title-v61{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#64748b;padding:8px 10px 9px}.live-quiz-sidebar-list-v61{overflow:auto;padding-right:2px}.live-quiz-side-item-v61{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px;margin:3px 0;border:1px solid transparent;border-radius:9px;text-decoration:none;color:#172033;line-height:1.2;transition:background .12s ease,border-color .12s ease}.live-quiz-side-item-v61>span{display:grid;gap:4px;min-width:0}.live-quiz-side-item-v61 strong{font-size:14px;overflow-wrap:anywhere}.live-quiz-side-item-v61 small{font-size:11px;color:#64748b;font-weight:400}.live-quiz-side-item-v61>b{flex:0 0 auto;min-width:31px;padding:3px 7px;border-radius:999px;background:#eef2f7;text-align:center;font-size:12px}.live-quiz-side-item-v61:hover{background:#f8fafc;border-color:#dbe2ea}.live-quiz-side-item-v61.active{background:#111827;color:#fff;border-color:#111827}.live-quiz-side-item-v61.active small{color:#cbd5e1}.live-quiz-side-item-v61.active>b{background:#fff;color:#111827}.live-launch-main-v61{min-width:0}.live-selected-quiz-card-v61{background:#fff;border:1px solid #dbe2ea;border-radius:14px;padding:22px}.live-selected-quiz-head-v61{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:16px;border-bottom:1px solid #e5e7eb}.live-selected-quiz-head-v61 h3{font-size:24px;margin:5px 0 5px}.live-selected-quiz-head-v61 p{margin:0}.live-selected-label-v61{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#64748b}.live-selected-count-v61{display:flex;align-items:center;justify-content:center;min-width:54px;height:54px;border-radius:50%;background:#111827;color:#fff;font-size:20px;font-weight:800}.live-threshold-note-v61{margin:16px 0;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:11px 13px;color:#475569}.live-start-form-v61{display:grid;grid-template-columns:minmax(180px,260px) auto;gap:12px;align-items:end}.live-start-form-v61 label{font-size:13px;font-weight:700;color:#475569;display:grid;gap:5px}.live-start-form-v61 input{padding:11px 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;font:inherit}.live-start-button-v61{min-height:43px}.live-pick-empty-v61{min-height:260px;display:flex;flex-direction:column;justify-content:center}.live-current-heading-v61{margin-top:24px}.live-current-heading .button{font-size:13px}
@media(max-width:900px){.live-launch-layout-v61{grid-template-columns:250px minmax(0,1fr)}.live-quiz-sidebar-v61{position:static;max-height:520px}}
@media(max-width:700px){.live-launch-layout-v61{grid-template-columns:1fr}.live-quiz-sidebar-v61{max-height:360px}.live-start-form-v61{grid-template-columns:1fr}.live-start-button-v61{width:100%}.live-selected-quiz-head-v61 h3{font-size:20px}}

/* ===== Organizare chestionare v7 ===== */
.saved-quiz-layout-v7{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;align-items:start}.saved-quiz-categories-v7{background:#fff;border:1px solid #dbe2ea;border-radius:12px;padding:10px;position:sticky;top:16px;max-height:calc(100vh - 32px);overflow:auto}.saved-quiz-side-title-v7{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#64748b;padding:8px 9px}.saved-cat-item-v7{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 11px;border-radius:9px;text-decoration:none;color:#172033;border:1px solid transparent;margin:2px 0}.saved-cat-item-v7 span{min-width:0}.saved-cat-item-v7 b{font-size:12px;background:#eef2f7;border-radius:999px;padding:3px 7px;min-width:28px;text-align:center}.saved-cat-item-v7:hover{background:#f8fafc;border-color:#e2e8f0}.saved-cat-item-v7.active{background:#111827;color:#fff}.saved-cat-item-v7.active b{background:#fff;color:#111827}.saved-quiz-main-v7{min-width:0}.saved-quiz-search-v7{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;margin-bottom:14px}.saved-quiz-search-v7 input{padding:11px 12px;border:1px solid #cbd5e1;border-radius:8px;font:inherit;background:#fff}.saved-quiz-heading-v7{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}.saved-quiz-heading-v7 h3{margin:2px 0 0;font-size:21px}.saved-quiz-grid-v7{grid-template-columns:repeat(auto-fill,minmax(360px,1fr))}.saved-quiz-card-v7{align-items:stretch;flex-direction:column}.saved-quiz-card-copy-v7{min-width:0}.quiz-category-badge-v7{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:11px;font-weight:800;margin-bottom:8px}.saved-quiz-actions-v7{display:grid;gap:10px}.quiz-move-form-v7{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.quiz-move-form-v7 select,.quiz-category-choice-v7{width:100%;padding:10px 11px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;font:inherit}.quiz-category-help-v7{margin:-4px 0 12px;line-height:1.35}

.quiz-session-layout-v7{display:grid;grid-template-columns:330px minmax(0,1fr);gap:18px;align-items:start;margin-top:18px}.quiz-accordion-sidebar-v7{background:#fff;border:1px solid #dbe2ea;border-radius:12px;padding:10px;position:sticky;top:16px;max-height:calc(100vh - 32px);display:flex;flex-direction:column;min-height:280px}.quiz-accordion-title-v7{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#64748b;padding:7px 8px}.quiz-accordion-search-v7{width:100%;padding:10px 11px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;font:inherit;margin-bottom:8px}.quiz-accordion-scroll-v7{overflow:auto;padding-right:2px}.quiz-accordion-group-v7{border-top:1px solid #eef2f7}.quiz-accordion-group-v7:first-child{border-top:0}.quiz-accordion-group-v7>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:10px 8px;font-weight:800;color:#334155;border-radius:8px}.quiz-accordion-group-v7>summary::-webkit-details-marker{display:none}.quiz-accordion-group-v7>summary:before{content:'›';font-size:19px;line-height:1;transition:transform .12s ease;color:#64748b}.quiz-accordion-group-v7[open]>summary:before{transform:rotate(90deg)}.quiz-accordion-group-v7>summary span{flex:1}.quiz-accordion-group-v7>summary b{font-size:11px;background:#eef2f7;border-radius:999px;padding:3px 7px}.quiz-accordion-items-v7{display:grid;gap:3px;padding:0 2px 7px 14px}.quiz-accordion-item-v7{display:flex;align-items:center;justify-content:space-between;gap:9px;text-decoration:none;color:#172033;padding:9px;border-radius:8px;border:1px solid transparent}.quiz-accordion-item-v7>span{display:grid;gap:3px;min-width:0}.quiz-accordion-item-v7 strong{font-size:13px;overflow-wrap:anywhere}.quiz-accordion-item-v7 small{font-size:10px;color:#64748b;font-weight:400}.quiz-accordion-item-v7>b{font-size:11px;background:#eef2f7;border-radius:999px;padding:3px 6px;min-width:27px;text-align:center}.quiz-accordion-item-v7:hover{background:#f8fafc;border-color:#e2e8f0}.quiz-accordion-item-v7.active{background:#111827;color:#fff;border-color:#111827}.quiz-accordion-item-v7.active small{color:#cbd5e1}.quiz-accordion-item-v7.active>b{background:#fff;color:#111827}.quiz-search-empty-v7{padding:18px 8px;text-align:center;color:#64748b;font-size:13px}.quiz-session-main-v7{min-width:0}.quiz-selected-card-v7{background:#fff;border:1px solid #dbe2ea;border-radius:14px;padding:22px}.quiz-selected-head-v7{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:16px;border-bottom:1px solid #e5e7eb}.quiz-selected-head-v7 h3{font-size:24px;margin:5px 0}.quiz-selected-head-v7 p{margin:0}.quiz-selected-label-v7{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#64748b}.quiz-selected-count-v7{display:flex;align-items:center;justify-content:center;min-width:54px;height:54px;border-radius:50%;background:#111827;color:#fff;font-size:20px;font-weight:800}.quiz-threshold-note-v7{margin:16px 0;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:11px 13px;color:#475569}.quiz-start-form-v7{display:grid;grid-template-columns:minmax(180px,260px) auto;gap:12px;align-items:end}.quiz-start-form-v7 label{font-size:13px;font-weight:700;color:#475569;display:grid;gap:5px}.quiz-start-form-v7 input{padding:11px 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;font:inherit}.quiz-start-button-v7{min-height:43px}.quiz-pick-empty-v7{min-height:260px;display:flex;flex-direction:column;justify-content:center}

@media(max-width:950px){.saved-quiz-layout-v7{grid-template-columns:230px minmax(0,1fr)}.quiz-session-layout-v7{grid-template-columns:270px minmax(0,1fr)}.saved-quiz-categories-v7,.quiz-accordion-sidebar-v7{position:static;max-height:520px}}
@media(max-width:720px){.saved-quiz-layout-v7,.quiz-session-layout-v7{grid-template-columns:1fr}.saved-quiz-categories-v7,.quiz-accordion-sidebar-v7{max-height:380px}.saved-quiz-search-v7{grid-template-columns:1fr}.saved-quiz-grid-v7{grid-template-columns:1fr}.quiz-move-form-v7,.quiz-start-form-v7{grid-template-columns:1fr}.quiz-start-button-v7{width:100%}.quiz-selected-head-v7 h3{font-size:20px}}


/* Individual v8.1 - distribuire WhatsApp */
.share-card-v81{background:#fff;border:1px solid #dbe2ea;border-radius:12px;padding:15px 16px;margin:-8px 0 22px;display:flex;align-items:center;justify-content:space-between;gap:18px}.share-card-copy-v81{display:grid;gap:4px;min-width:0}.share-card-copy-v81>b{font-size:16px}.share-card-copy-v81 code{margin-top:5px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:7px;padding:7px 9px;word-break:break-all;color:#334155}.hero-label-v81{font-weight:800;letter-spacing:.05em;color:#64748b}.share-card-actions-v81{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}.button.whatsapp-v81{background:#16883f;border-color:#16883f;color:#fff}.button.whatsapp-v81:hover{filter:brightness(.96)}.student-share-intro{display:grid;gap:4px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;padding:12px 13px;margin:0 0 12px}.student-share-intro b{font-size:17px}.student-share-intro span{font-size:13px;color:#475569}
@media(max-width:720px){.share-card-v81{align-items:stretch;flex-direction:column}.share-card-actions-v81{width:100%}.share-card-actions-v81 .button{flex:1}.share-card-copy-v81 code{font-size:12px}}
