.programming-tests{max-width:1360px;padding-block:44px 64px;color:#152039;min-height:65vh}.programming-tests h1,.programming-tests h2,.programming-tests h3{color:#1645a0;overflow-wrap:break-word}.programming-tests h1{font-size:clamp(30px,4vw,48px);line-height:1.25}.programming-tests h2{font-size:clamp(23px,2.5vw,30px)}.programming-tests p{line-height:1.75}.tests-top-links{display:flex;gap:24px;margin-bottom:32px;font-weight:700;color:#1645a0}.test-page-intro{max-width:900px;margin-bottom:32px}.test-page-intro p{font-size:18px}.test-eyebrow{text-transform:uppercase;font-size:13px;font-weight:800;letter-spacing:.08em;color:#1645a0}.test-language-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.test-chart-panel,.test-language-card,.test-question-card,.test-review-card,.test-stat{border:1px solid #15203919;border-radius:24px;background:linear-gradient(145deg,#fff,#f4f8ff 60%,#edf1f9);box-shadow:0 14px 36px #1520390e;overflow:hidden}.test-language-card{transition:transform .3s,box-shadow .3s}.test-language-card:hover{transform:translateY(-5px);box-shadow:0 20px 44px #15203920}.test-language-visual{height:165px;position:relative;display:grid;place-items:center;background:radial-gradient(ellipse at 70% 20%,#6fb1ff66,transparent 60%),linear-gradient(135deg,#152039,#1645a0);overflow:hidden;isolation:isolate}.test-language-visual>span{font-size:52px;font-weight:800;color:#152039;display:grid;place-items:center;width:96px;height:96px;transform:rotate(-7deg);border-radius:20px;background:linear-gradient(145deg,#fff,#d9e9ff);box-shadow:12px 12px 0 #3983f066,0 10px 30px #0003}.test-language-visual b{position:absolute;right:24px;bottom:20px;font:800 36px monospace;color:#ffad65}.test-language-visual i{position:absolute;width:230px;height:230px;border:1px solid #ffffff30;border-radius:50%;transform:rotateX(55deg);z-index:-1}.test-language-copy{padding:28px;display:flex;flex-direction:column;gap:18px}.test-language-copy h2,.test-language-copy p{margin:0}.test-chips{display:flex;flex-wrap:wrap;gap:8px;font-size:13px}.test-chips span{padding:8px 10px;background:#e8f0ff;border:1px solid #3983f01f;border-radius:12px}.programming-tests button,.programming-tests select{font:inherit;cursor:pointer}.programming-tests button:disabled{opacity:.6;cursor:wait}.programming-tests a:focus-visible,.programming-tests button:focus-visible,.programming-tests circle:focus-visible,.programming-tests select:focus-visible{outline:3px solid #3983f0;outline-offset:4px}.test-notice{padding:18px 22px;background:#e9f1ff;border:1px solid #3983f030;border-radius:16px}.test-error{background:#fff0f0;color:#a21b24;border-color:#fc333b40}.test-error button{margin-left:10px;background:none;border:0;color:inherit;text-decoration:underline}.test-footnote{font-size:14px;color:#4c5d7a}.test-quiz-heading{display:flex;align-items:center;gap:24px;justify-content:space-between}.test-quiz-heading h1{font-size:30px;margin:10px 0}.test-timer{font:800 30px ui-monospace,monospace;color:#1645a0;padding:12px 22px;background:#e8f0ff;border:1px solid #3983f030;border-radius:16px}.test-timer.is-urgent{color:#b11b29;background:#fff0ef}.test-time-progress{width:100%;height:8px;margin:20px 0;accent-color:#3983f0}.test-time-progress::-webkit-progress-value{background:linear-gradient(90deg,#3983f0,#1645a0);transition:width 1s linear}.test-time-progress::-moz-progress-bar{background:#3983f0}.test-question-jumps{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}.test-question-jumps button{width:42px;height:42px;border:1px solid #3983f033;border-radius:12px;background:white;color:#1645a0;font-weight:800}.test-question-jumps .is-current{background:#1645a0;color:white}.test-question-jumps .is-answered{background:#ffe8d4;color:#9f450e}.test-question-card{padding:32px;max-width:1000px;margin-inline:auto}.test-question-card h2{font-size:23px;line-height:1.5;margin-top:0}.test-code{white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;padding:24px;border-radius:16px;background:linear-gradient(135deg,#152039,#193867);color:#ecf4ff;line-height:1.8;font-size:15px}.test-code code{font-family:ui-monospace,Consolas,monospace}.test-token-keyword{color:#a4cdff}.test-token-value{color:#ffb777}.test-options{border:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px;min-width:0}.test-options legend{padding:0 0 14px;font-weight:700}.test-options button{padding:18px;text-align:left;border:1px solid #3983f033;border-radius:16px;background:#ffffffd9;color:#152039;display:flex;align-items:center;gap:14px;transition:background .25s,border-color .25s}.test-options button>span{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;background:#edf1f9;color:#1645a0;border-radius:10px;font-weight:800}.test-options button code{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;font-size:16px}.test-options [aria-pressed=true]{background:#e4efff;border-color:#3983f0;box-shadow:inset 0 0 0 1px #3983f0}.test-navigation{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;margin-top:24px}.test-navigation>button:not(.button),.test-result-actions>button{padding:12px 20px;background:white;border:1px solid #3983f033;border-radius:12px;color:#1645a0;font-weight:700}.test-result-hero{display:flex;align-items:center;gap:44px;padding:40px;border-radius:28px;background:linear-gradient(130deg,#152039,#1645a0);color:white;margin-bottom:40px}.test-result-hero h1{color:white;font-size:clamp(28px,3vw,40px)}.test-result-hero .test-eyebrow{color:#bdd7ff}.test-score{flex-shrink:0;width:180px;height:180px;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;border:10px solid #ff881f;background:#ffffff12;box-shadow:0 0 0 8px #ffffff0b}.test-score strong{font-size:56px;line-height:1.2}.test-score small{font-size:24px}.test-score>span{font-size:20px}.test-result-actions{display:flex;gap:16px;flex-wrap:wrap;align-items:center}.test-review{scroll-margin-top:100px}.test-review-card{padding:28px;margin-bottom:20px;border-left:5px solid #7e8ba2}.test-review-card.is-correct{border-left-color:#22825b}.test-review-card.is-incorrect{border-left-color:#fc333b}.test-state{font-weight:800;color:#52627d}.is-correct .test-state{color:#176641}.is-incorrect .test-state{color:#b11b29}.test-review-card h3{line-height:1.6}.test-review-card dt{font-weight:700;margin-top:14px}.test-review-card dd{margin:6px 0;overflow-wrap:anywhere}.test-stat-grid,.test-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-block:24px}.test-stat{padding:24px}.test-stat>span{display:block;margin-bottom:12px}.test-stat>strong{font-size:30px;color:#1645a0}.test-stat h3{margin-top:0}.test-stat progress{width:100%;accent-color:#3983f0}.test-filter{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-block:24px;font-weight:700}.test-filter select{padding:10px 16px;border:1px solid #3983f033;border-radius:12px;background:white;max-width:100%}.test-chart-panel{padding:24px}.test-chart-panel svg{width:100%;height:auto;max-height:340px;display:block}.test-chart-panel circle{cursor:pointer}.test-history{display:grid;gap:12px}.test-history>a{display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;padding:20px;background:#ffffffd9;border:1px solid #3983f026;border-radius:16px;color:#1645a0}.test-admin{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.test-admin textarea{width:100%;min-height:470px;box-sizing:border-box;font:14px/1.6 ui-monospace,monospace}.test-admin label{display:block;margin:12px 0}.test-admin input,.test-admin select{max-width:100%;padding:10px}.test-admin-list{display:grid;gap:8px;max-height:700px;overflow:auto}.test-admin-list button{text-align:left;padding:16px;border:1px solid #3983f026;border-radius:12px;background:white;color:#1645a0}.test-admin .test-notice{grid-column:1/-1}@media (max-width:1000px){.test-language-grid,.test-stat-grid,.test-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.test-admin{grid-template-columns:minmax(0,1fr)}}@media (max-width:640px){.programming-tests{padding-block:28px 44px}.test-language-grid,.test-options,.test-stat-grid,.test-topic-grid{grid-template-columns:minmax(0,1fr)}.test-question-card{padding:22px}.test-quiz-heading{gap:12px;flex-wrap:wrap}.test-timer{font-size:24px;padding:10px 16px}.test-result-hero{flex-direction:column;align-items:flex-start;padding:28px;gap:20px}.test-score{width:140px;height:140px}.test-code{padding:18px;font-size:14px}.test-language-copy{padding:24px}.test-navigation{gap:10px}.test-question-jumps{gap:8px}.test-question-jumps button{width:36px;height:36px}.test-review-card{padding:22px}}@media (prefers-reduced-motion:reduce){.test-time-progress::-webkit-progress-value{transition:none}.test-language-card,.test-options button{transition:none}.test-language-card:hover{transform:none}}