/* Uchebka — topical modules and comprehensive knowledge assessment */
.uch-study .study-intro{background:linear-gradient(108deg,#0c1631f4,#10234bcc),url('../visual-20261105/hero-v7.webp') center 42%/cover no-repeat;border-bottom:1px solid #465b8e}
.study-intro .container{padding:47px 0 43px}
.study-intro h1{font-size:clamp(32px,5vw,58px);letter-spacing:-.045em;line-height:1.1;margin:10px 0}
.study-intro p:not(.eyebrow-mini){font:600 15px/1.65 'Manrope',system-ui,sans-serif;color:#d3def7;max-width:720px;margin:0 0 20px}
.uch-study .study-switch{margin-top:17px}
.study-switch a[aria-current="page"]{background:#b8c7ff;color:#14213b;border-color:#c3d0ff}
.study-main{padding:43px 0 75px;background:#0b1021}
.study-main [hidden]{display:none!important}
.study-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}
.study-head h2{font-size:clamp(29px,4.4vw,43px);margin:8px 0 0}
.study-sub{font:600 13px/1.65 'Manrope',system-ui,sans-serif;color:#bdc9e0;margin:12px 0 19px}
.study-length{display:inline-flex;gap:5px;padding:5px;border-radius:13px;border:1px solid #40577e;background:#121e35;margin:0 0 18px}
.study-length button{min-height:39px;padding:8px 14px;background:transparent;border:0;border-radius:9px;color:#d3dff8;font:750 12px 'Manrope',system-ui,sans-serif;cursor:pointer}
.study-length button.active{background:#b8c7ff;color:#13203a}
.study-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.study-topic-card{display:flex;align-items:flex-start;flex-direction:column;gap:9px;cursor:pointer;color:#f4f7ff;text-align:left;
 background:linear-gradient(145deg,#203354,#18243d);border:1px solid #556c99;border-radius:18px;padding:20px;min-height:145px}
.study-topic-card:hover{border-color:#9fb3f3;background:#263c62}
.study-topic-card .study-topic-title{font:800 17px/1.3 'Manrope',system-ui,sans-serif}
.study-topic-card .study-topic-meta{font:650 12px/1.45 'Manrope',system-ui,sans-serif;color:#b7c7e5}
.study-topic-card .study-topic-arrow{margin-top:auto;font-size:12px;color:#c7d5ff;font-weight:800}
.exam-info{display:flex;gap:10px;flex-wrap:wrap;margin:17px 0 23px}
.exam-info>*{font:750 13px 'Manrope',system-ui,sans-serif;padding:11px 14px;border:1px solid #4c5e88;border-radius:12px;background:#1c2b48;color:#cbd7f5}
.study-resume{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:26px 0;padding:14px 20px;background:#1d2b47;border:1px solid #516999;border-radius:14px;color:#e2eaff}
.study-resume strong{font:750 13px 'Manrope',system-ui,sans-serif}
.study-runner{margin:24px 0 20px;border:1px solid #4c6290;border-radius:21px;background:linear-gradient(145deg,#192945,#0f1b30);padding:25px 26px}
.study-runner-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:18px}
.study-runner-head h2{font-size:clamp(21px,3vw,32px);margin:8px 0 7px}
.study-runner-head p:not(.eyebrow-mini){font-size:12px;color:#bac7e3}
.study-back{border:1px solid #586f9c;border-radius:11px;min-height:40px;padding:9px 13px;background:transparent;color:#e0eafa;font:750 12px 'Manrope';cursor:pointer}
.study-progress-bar{height:7px;background:#0a1225;border-radius:999px;overflow:hidden}
.study-progress-bar span{display:block;height:100%;width:0;background:#b0beff;border-radius:999px;transition:width .2s}
.study-runner-caption{display:flex;justify-content:space-between;gap:12px;margin:11px 0 16px;font:700 12px 'Manrope';color:#bbc8e9}
.study-question-nav{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 18px}
.study-question-nav button{width:38px;height:38px;border-radius:10px;border:1px solid #52688e;background:#11213b;color:#cedcf7;font:800 12px 'Manrope';cursor:pointer}
.study-question-nav button.current{background:#b8c7ff;color:#101e35}
.study-question-nav button.answered{box-shadow:inset 0 -3px #aabbff}
.study-question{border:1px solid #465d88;background:#0e192e;border-radius:19px;padding:24px}
.study-question-id{font:800 10px/1.4 'Manrope',sans-serif;letter-spacing:.12em;color:#aabde4}
.study-question h3{font:800 clamp(21px,2.6vw,29px)/1.48 'Manrope',system-ui,sans-serif!important;letter-spacing:-.015em!important;font-style:normal!important;scroll-margin-top:115px;margin:11px 0 19px;overflow-wrap:break-word}
.study-question-image{display:grid;place-items:center;background:#e8edf4;border-radius:14px;border:1px solid #5b7099;overflow:hidden;margin:11px 0 18px;max-height:460px}
.study-question-image[hidden]{display:none!important}
.study-question-image img{max-width:100%;max-height:420px;object-fit:contain;width:auto;height:auto}
.study-answers{display:grid;gap:9px;margin:15px 0}
.study-answers button{display:flex;align-items:center;text-align:left;gap:12px;padding:15px;border-radius:13px;
 border:1px solid #415b83;background:#192945;color:#e7edff;font:650 14px/1.55 'Manrope',system-ui,sans-serif;cursor:pointer}
.study-answers button:hover:not(:disabled){border-color:#a9bcff;background:#263c63}
.study-answers button.selected{border-color:#b8c7ff;background:#2a3d65}
.study-answers button.correct{border-color:#65c9a8;background:#183735}
.study-answers button.incorrect{border-color:#db9696;background:#493140}
.study-answers button:disabled{cursor:default}
.study-answers button .bubble{border:1px solid #647db1;border-radius:8px;background:#13223e;display:grid;place-items:center;
 width:30px;height:30px;flex:0 0 30px;color:#c9d5f9;font:800 12px 'Manrope'}
.study-feedback{background:#1e3150;border:1px solid #5b7095;color:#e1e9fa;border-radius:12px;padding:13px 14px;font:600 13px/1.7 'Manrope'}
.study-actions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:22px 0 0}
.study-actions button[hidden]{display:none!important}
.study-actions button:disabled{opacity:.48;cursor:not-allowed}
.study-result{margin-top:24px;border:1px solid #6a80b6;background:#223250;border-radius:17px;padding:24px}
.study-result h3{margin:0 0 9px;font-size:24px}
.study-result strong{display:block;font:850 27px/1.2 'Manrope';color:#c7d6ff}
.study-result p{font:600 13px/1.65 'Manrope';color:#d4dff5}
.study-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:13px 0}
.study-breakdown div{padding:10px 12px;background:#1b2a48;border-radius:11px;color:#c6d4ef;font-size:12px;display:flex;justify-content:space-between;gap:8px}
.study-errors{margin:16px 0;border:1px solid #526890;border-radius:12px;padding:10px 13px}
.study-errors summary{cursor:pointer;color:#dce6fb;font-size:13px;font-weight:800}
.study-error-item{border-bottom:1px solid #4d6080;padding:13px 0}
.study-error-item:last-child{border:0}
.study-error-item h4{font:800 13px/1.5 'Manrope';margin:0 0 7px}
.study-error-item p{margin:5px 0}
.study-result-actions{display:flex;flex-wrap:wrap;gap:10px}
.uch-study .study-disclaimer{margin-top:23px}
@media(max-width:830px){.study-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 .study-intro .container{padding:24px 0}
 .study-intro h1{font-size:32px}
 .study-intro p:not(.eyebrow-mini){font-size:13px}
 .study-main{padding:24px 0 45px}
 .study-head h2{font-size:28px}
 .study-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .study-topic-card{padding:14px;min-height:134px;border-radius:13px;gap:7px}
 .study-topic-card .study-topic-title{font-size:13px}
 .study-topic-card .study-topic-meta{font-size:11px}
 .study-topic-card .study-topic-arrow{font-size:11px}
 .study-runner{padding:15px 12px;border-radius:15px;margin:18px 0}
 .study-runner-head h2{font-size:21px}
 .study-back{font-size:11px;padding:8px}
 .study-question{padding:17px 12px;border-radius:14px}
 .study-question h3{font-size:20px!important}
 .study-answers button{padding:12px 10px;font-size:13px;min-height:57px}
 .study-question-image img{max-height:280px}
 .study-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .study-actions button{min-width:0;padding:11px 8px;font-size:12px;white-space:normal}
 .study-actions button:only-child{grid-column:1/-1}
 .study-breakdown{grid-template-columns:1fr}
 .study-resume{flex-direction:column;align-items:stretch}
}

/* Real diagram zoom (not a decorative pill). */
.question-image,.study-question-image{position:relative}
.study-image-zoom{position:absolute;right:10px;bottom:10px;border:1px solid #7187c2;border-radius:11px;
 background:#152644;color:#eef3ff;padding:9px 12px;font:750 11px 'Manrope',sans-serif;min-height:39px;cursor:pointer}
.study-image-zoom:hover{background:#263e69}
.uch-image-modal{border:1px solid #667eb0;border-radius:16px;background:#0b1427;box-shadow:0 30px 90px #000a;
 padding:13px;max-width:96vw;max-height:95vh;width:min(1000px,96vw);color:#ecf1ff}
.uch-image-modal::backdrop{background:rgba(0,0,0,.85)}
.uch-image-modal-actions{display:flex;justify-content:flex-end;margin-bottom:9px}
.uch-image-modal-actions button{min-height:43px;border:1px solid #7083b0;background:#22365a;color:#e4eeff;
 border-radius:12px;padding:10px 15px;font:800 12px 'Manrope';cursor:pointer}
.uch-image-modal img{display:block;max-width:100%;max-height:calc(90vh - 90px);object-fit:contain;margin:auto}
