:root{color:#172033;font-synthesis:none;background:#f3f6fa;font-family:Inter,Segoe UI,Arial,sans-serif}*{box-sizing:border-box}body{background:#f3f6fa;min-width:320px;margin:0}button,input,select{font:inherit}button{transition:transform .15s,box-shadow .15s,background .15s}button:active:not(:disabled){transform:translateY(1px)}.app-shell{min-height:100vh}.app-header{color:#fff;background:#12243f;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;height:72px;padding:0 max(24px,50vw - 560px);display:flex}.brand{align-items:center;gap:12px;display:flex}.brand-mark{color:#1d63c6;width:38px;height:38px;box-shadow:none;background:#fff;border-radius:11px;place-items:center;font-size:19px;font-weight:800;display:grid}.brand-mark img{object-fit:contain;width:24px;height:24px;display:block}.brand div,.user-copy{gap:2px;display:grid}.brand strong{font-size:15px}.brand span:not(.brand-mark),.user-copy span{color:#9fb0c6;font-size:12px}.user-menu{align-items:center;gap:12px;display:flex}.user-copy{text-align:right}.user-copy strong{font-size:14px}.avatar{color:#dce9ff;background:#243b5d;border-radius:50%;place-items:center;width:36px;height:36px;font-size:12px;font-weight:700;display:grid}.ghost-button{color:#e8eef7;cursor:pointer;background:0 0;border:1px solid #3d5371;border-radius:9px;padding:8px 13px}.ghost-button:hover{background:#ffffff14}.page-content{max-width:1120px;margin:0 auto;padding:38px 24px 64px}.page-title{margin:0 0 24px}.page-title h1{color:#15223a;letter-spacing:-.03em;margin:2px 0 8px;font-size:clamp(30px,4vw,42px);line-height:1.1}.page-title>p:last-child{color:#68768a;margin:0;font-size:16px}.eyebrow{color:#3971bf;letter-spacing:.11em;text-transform:uppercase;margin:0;font-size:12px;font-weight:750}.eyebrow.light{color:#8db8ff}.panel{background:#fff;border:1px solid #dfe6ef;border-radius:16px;padding:28px;box-shadow:0 8px 28px #1c2d4a12}.panel-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.panel-heading h2{color:#1a2840;letter-spacing:-.015em;margin:0 0 5px;font-size:21px}.panel-heading p{color:#788497;margin:0;font-size:14px}.stack{margin-top:20px}.section-divider{background:#e8edf3;height:1px;margin:28px 0}.login-page{grid-template-columns:minmax(360px,1.05fr) minmax(440px,.95fr);min-height:100vh;display:grid}.login-intro{color:#fff;background:radial-gradient(circle at 20% 20%,#254e7f 0,#0000 38%),linear-gradient(145deg,#10213b 0%,#142e51 100%);flex-direction:column;justify-content:space-between;min-height:100vh;padding:52px clamp(40px,7vw,100px);display:flex}.brand-light .brand-mark{color:#1d63c6;box-shadow:none;background:#fff}.brand-light span:not(.brand-mark){color:#aebdd1}.login-message{max-width:600px;margin:auto 0;padding:72px 0}.login-message h1{letter-spacing:-.045em;max-width:580px;margin:14px 0 18px;font-size:clamp(38px,5vw,64px);line-height:1.04}.login-message>p:last-child{color:#bdc9d9;max-width:520px;margin:0;font-size:18px;line-height:1.6}.login-card{align-self:center;width:min(430px,100% - 48px);margin:40px auto}.login-card h2{color:#16243b;letter-spacing:-.025em;margin:8px 0;font-size:32px}.login-hint{color:#738095;margin:0 0 28px;line-height:1.5}.login-submit{width:100%;margin-top:20px}.demo-note{color:#56677d;background:#f0f4f9;border-radius:11px;gap:5px;margin-top:22px;padding:14px 16px;font-size:12px;display:grid}.demo-note strong{color:#273851;font-size:13px}.fields{gap:16px;display:grid}.assign-form{grid-template-columns:1fr 1fr auto;align-items:end;gap:16px;display:grid}label{color:#2d3b50;gap:7px;font-size:13px;font-weight:700;display:grid}input[type=text],input[type=password],select{color:#1f2d42;background:#fff;border:1px solid #cbd5e1;border-radius:9px;outline:none;width:100%;height:46px;padding:0 13px}input:focus,select:focus{border-color:#2b7fff;box-shadow:0 0 0 3px #2b7fff1f}.primary,.secondary{cursor:pointer;border:0;border-radius:9px;min-height:44px;padding:11px 18px;font-weight:700}.primary{color:#fff;background:#1f6fd1;box-shadow:0 6px 14px #1f6fd133}.primary:hover{background:#175fb7;box-shadow:0 8px 18px #1f6fd147}.secondary{color:#2b3d56;background:#e9eff6}.primary:disabled,.secondary:disabled{cursor:default;opacity:.5;box-shadow:none}.assign-button{min-width:150px}.stats-grid{grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px;display:grid}.stat-card{background:#fff;border:1px solid #dfe6ef;border-radius:14px;gap:12px;padding:22px;display:grid;position:relative;overflow:hidden}.stat-card:after{content:"";background:#2b7fff;width:4px;position:absolute;inset:0 auto 0 0}.stat-card.green:after{background:#24a66a}.stat-card.red:after{background:#e05252}.stat-card span{color:#748196;font-size:13px;font-weight:650}.stat-card strong{color:#17263d;font-size:32px;line-height:1}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;vertical-align:middle;border-bottom:1px solid #e7ecf2;padding:14px 12px}th{color:#6a788c;letter-spacing:.06em;text-transform:uppercase;background:#f7f9fc;font-size:11px;font-weight:800}th:first-child{border-radius:8px 0 0 8px}th:last-child{border-radius:0 8px 8px 0}td{color:#344157;font-size:14px}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:#fafcff}.status{white-space:nowrap;border-radius:999px;align-items:center;min-height:26px;padding:4px 9px;font-size:12px;font-weight:750;display:inline-flex}.status.complete{color:#35516f;background:#e9eff5}.status.pending{color:#8a5c08;background:#fff2cf}.status.success{color:#18764b;background:#ddf6e9}.status.danger{color:#ad3636;background:#fde7e7}.assignment-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.assignment-list li{border:1px solid #e1e7ef;border-radius:11px;justify-content:space-between;align-items:center;gap:18px;padding:15px 16px;display:flex}.empty-state{color:#7b8798;background:#f7f9fc;border:1px dashed #ccd7e4;border-radius:12px;justify-items:start;gap:5px;padding:22px;display:grid}.empty-state strong{color:#34445b}.hint{color:#718096}.error{color:#b93838;margin:14px 0 0;line-height:1.45}.ok{color:#218258;margin:0;font-weight:700}.test-panel{max-width:900px;margin:0 auto}.exam-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;display:flex}.exam-count{color:#65748a;font-size:14px;font-weight:700}.timer{color:#16385f;font-variant-numeric:tabular-nums;background:#e9f2ff;border-radius:9px;padding:8px 12px;font-weight:800}.timer.urgent{color:#a92f2f;background:#fde7e7;animation:1.5s ease-in-out infinite timer-pulse}@keyframes timer-pulse{50%{box-shadow:0 0 0 4px #cd37371a}}.progress-track{background:#e7edf4;border-radius:999px;height:6px;margin-bottom:26px;overflow:hidden}.progress-bar{border-radius:inherit;background:#2b7fff;height:100%;transition:width .2s}.question-navigation{background:#f7f9fc;border:1px solid #e5ebf2;border-radius:11px;justify-content:space-between;align-items:center;gap:20px;margin:-4px 0 24px;padding:15px 16px;display:flex}.question-nav-summary{white-space:nowrap;gap:3px;display:grid}.question-nav-summary strong{color:#2b3b52;font-size:13px}.question-nav-summary span{color:#7b8798;font-size:12px}.question-numbers{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.question-number{color:#59687c;cursor:pointer;background:#fff;border:1px solid #cfd8e4;border-radius:8px;width:34px;height:34px;padding:0;font-size:12px;font-weight:800}.question-number:hover{background:#f1f7ff;border-color:#76a7e8}.question-number.answered{color:#18764b;background:#e2f5eb;border-color:#a6dfc1}.question-number.current{color:#fff;opacity:1;background:#1f6fd1;border-color:#1f6fd1;box-shadow:0 4px 10px #1f6fd138}.question-title{letter-spacing:-.02em;white-space:pre-wrap;margin:16px 0 20px;font-size:clamp(22px,3vw,30px);line-height:1.35}.meta{flex-wrap:wrap;gap:8px;display:flex}.meta span{color:#48617e;background:#eef4f9;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}.options{gap:10px;margin:0 0 26px;display:grid}.option{cursor:pointer;border:1px solid #dfe6ef;border-radius:11px;align-items:flex-start;gap:12px;padding:15px 16px;font-weight:500;transition:border .15s,background .15s;display:flex}.option:hover{background:#f8fbff;border-color:#a8c6ef}.option:has(input:checked){background:#edf5ff;border-color:#2b7fff;box-shadow:inset 3px 0 #2b7fff}.option input{accent-color:#1f6fd1;margin-top:3px}.actions{justify-content:space-between;align-items:center;gap:16px;display:flex}.step-actions{gap:10px;display:flex}.finish-link{color:#53647b;cursor:pointer;background:0 0;border:0;padding:8px 2px;font-weight:700}.finish-link:hover{color:#bd3f3f}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#08142694;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.confirm-dialog{background:#fff;border-radius:16px;width:min(460px,100%);padding:28px;box-shadow:0 24px 80px #0510204d}.confirm-dialog h2{color:#17263d;margin:8px 0;font-size:27px}.confirm-dialog>p:not(.eyebrow):not(.confirm-warning){color:#6d7a8e;margin:0;line-height:1.5}.finish-summary{grid-template-columns:1fr 1fr;gap:10px;margin:22px 0 14px;display:grid}.finish-summary span{color:#5d6a7e;background:#f3f6fa;border-radius:10px;gap:4px;padding:14px;font-size:12px;display:grid}.finish-summary strong{color:#1b2b43;font-size:25px;line-height:1}.finish-summary .warning{color:#9b5b14;background:#fff3d7}.finish-summary .complete{color:#18764b;background:#e2f5eb}.confirm-warning{color:#9a5511;background:#fff8e8;border-radius:8px;margin:0 0 20px;padding:10px 12px;font-size:13px}.dialog-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.result-score{letter-spacing:-.04em;margin:10px 0;font-size:48px;font-weight:800}.passed{color:#218258}.failed{color:#bd3f3f}.mistakes{gap:14px;padding:0;list-style:none;display:grid}.mistakes li{background:#fafbfc;border:1px solid #e6ebf1;border-radius:10px;padding:16px}.mistakes p{color:#5e6b7e;margin:8px 0 0}@media (width<=820px){.login-page{grid-template-columns:1fr}.login-intro{min-height:auto;padding:28px 24px}.login-message{display:none}.login-card{margin:48px auto}.assign-form{grid-template-columns:1fr}.assign-button{width:100%}.stats-grid{grid-template-columns:1fr}}@media (width<=600px){.app-header{align-items:flex-start;height:auto;padding:16px}.app-header .brand div,.user-copy{display:none}.user-menu{gap:8px}.page-content{padding:28px 14px 48px}.panel{border-radius:13px;padding:20px 16px}.page-title h1{font-size:32px}.panel-heading h2{font-size:19px}th,td{padding:12px 10px}.assignment-list li{flex-direction:column;align-items:stretch}.assignment-list button{width:100%}.actions button{flex:1}.question-navigation{flex-direction:column;align-items:flex-start}.question-numbers{justify-content:flex-start}.actions{flex-direction:column;align-items:stretch}.step-actions{grid-template-columns:1fr 1fr;display:grid}.dialog-actions{flex-direction:column-reverse}.dialog-actions button{width:100%}}
