/* Exams section and study plan. Builds on catalog-pages.css tokens and components. */
.exams-hero{min-height:380px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.exams-steps{padding-block:10px 60px}
.exams-steps h2,.exams-h2{font-size:35px;line-height:1.15;letter-spacing:-.05em;font-weight:500;margin:14px 0 26px}
.exams-steps ol{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;counter-reset:step}
.exams-steps li{counter-increment:step;border:1px solid var(--page-line);border-radius:19px;background:linear-gradient(140deg,#191a20,#121319);padding:26px}
.exams-steps li:before{content:counter(step,decimal-leading-zero);display:block;color:var(--page-orange);font-size:13px;letter-spacing:.12em;margin-bottom:18px}
.exams-steps h3{font-size:20px;font-weight:550;letter-spacing:-.03em;margin-bottom:8px}
.exams-steps p,.exams-lead,.exams-hint,.exams-note,.exams-block p{color:var(--page-muted);line-height:1.75}
.exams-level{padding-bottom:50px}
.exams-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.exams-card{position:relative;display:flex;flex-direction:column;gap:8px;min-height:150px;padding:24px;border:1px solid var(--page-line);border-radius:19px;background:linear-gradient(140deg,#191a20,#121319);transition:transform .25s,border-color .25s}
.exams-card:hover{transform:translateY(-4px);border-color:#ff791a40}
.exams-card h3{font-size:23px;font-weight:550;letter-spacing:-.04em;margin-top:auto;padding-right:30px}
.exams-card-arrow{position:absolute;top:22px;right:22px;color:var(--page-orange)}
.exams-tag{align-self:flex-start;font-size:12px;letter-spacing:.06em;color:#ffb580;background:#ff791a19;border:1px solid #ff791a3c;border-radius:7px;padding:4px 9px}
.exams-meta{font-size:14px;color:#9696a2}
.exams-page{padding-bottom:90px;max-width:900px}
.exams-page h1{font-size:clamp(34px,4.6vw,56px);font-weight:500;letter-spacing:-.05em;line-height:1.06;margin:14px 0 16px}
.exams-page h1 a,.exams-page .page-eyebrow a{color:var(--page-orange)}
.exams-lead{font-size:18px;margin-bottom:28px}
.exams-topics{list-style:none;padding:0;margin:0 0 24px;border:1px solid var(--page-line);border-radius:19px;background:var(--page-surface);overflow:hidden}
.exams-topics li+li{border-top:1px solid var(--page-line)}
.exams-topics a{display:flex;align-items:center;gap:14px;padding:17px 20px;min-height:58px;transition:background .2s}
.exams-topics a:hover{background:#ffffff06}
.exams-topics a>span:nth-child(2){flex:1;font-size:16px}
.exams-num{width:30px;color:#77768a;font-variant-numeric:tabular-nums}
.exams-ready,.exams-soon{font-size:12px;border-radius:7px;padding:3px 8px;white-space:nowrap}
.exams-ready{color:#a8efc6;background:#3ddc8414;border:1px solid #3ddc8440}
.exams-soon{color:#9696a2;border:1px solid var(--page-line)}
.exams-note{font-size:14px}
.exams-jump{margin:6px 0 30px}
.exams-block{border:1px solid var(--page-line);border-radius:19px;background:var(--page-surface);padding:28px;margin-bottom:22px;scroll-margin-top:110px}
.exams-block h2{font-size:26px;font-weight:550;letter-spacing:-.04em;margin-bottom:12px}
.exams-block h3{font-size:18px;font-weight:550;margin:22px 0 6px}
.exams-soon-block h2{font-size:22px}
.exams-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}
.exams-flash,.exams-question{border:1px solid #ffffff16;border-radius:14px;background:#ffffff04}
.exams-flash summary{list-style:none;cursor:pointer;padding:20px;min-height:96px;font-size:17px;line-height:1.5}
.exams-flash summary::-webkit-details-marker,.exams-question summary::-webkit-details-marker,.exams-fold summary::-webkit-details-marker,.exams-menu summary::-webkit-details-marker{display:none}
.exams-flash[open]{border-color:#ff791a3c;background:#ff791a0a}
.exams-flash p{padding:0 20px 20px;color:#ffd2b0!important}
.exams-question{padding:20px;margin-top:14px}
.exams-qhead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;color:#f2f1f4!important}
.exams-question summary{cursor:pointer;color:var(--page-orange);margin-top:12px;min-height:44px;display:flex;align-items:center}
.exams-question details p{border-left:2px solid #ff791a66;padding-left:14px}
.exams-pager{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:28px}
.exams-pager .page-button{max-width:100%;white-space:normal;text-align:left}
.exams-empty{padding-block:90px;display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.exams-empty h1{font-size:clamp(32px,4vw,48px);font-weight:500;letter-spacing:-.05em}
/* Study plan */
.exams-form{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.exams-form fieldset{border:0;padding:0;margin:0 0 18px;width:100%}
.exams-form legend,.exams-form h2{font-size:20px;font-weight:550;letter-spacing:-.03em;margin:10px 0 12px}
.exams-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.exams-check{display:flex;align-items:center;gap:12px;min-height:52px;padding:12px 15px;border:1px solid #ffffff16;border-radius:12px;background:#ffffff04;cursor:pointer;font-size:15px}
.exams-check:has(input:checked){border-color:#ff791a66;background:#ff791a10}
.exams-check input{width:18px;height:18px;accent-color:var(--page-orange);flex-shrink:0}
.exams-seasons{display:grid;gap:12px;width:100%}
.exams-seasons label,.exams-days label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:550;color:#d7d6dc}
.exams-seasons select,.exams-days input{font-size:16px;background:#ffffff06;border:1px solid #ffffff22;border-radius:12px;padding:12px 13px;min-height:48px;width:100%}
.exams-seasons select option{background:#14151a}
.exams-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;width:100%}
.exams-plan-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.exams-plan-head h1{margin-bottom:6px}
.exams-bar{height:6px;border-radius:9px;background:#ffffff10;overflow:hidden;margin:14px 0 22px}
.exams-bar i{display:block;height:100%;background:var(--page-orange);border-radius:inherit}
.exams-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-bottom:18px}
.exams-week a{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 4px;min-height:58px;border:1px solid var(--page-line);border-radius:12px;color:#9696a2}
.exams-week a:hover{background:#ffffff06}
.exams-week a[aria-current]{border-color:#ff791a66;background:#ff791a14;color:#ffd2b0}
.exams-week small{font-size:12px;text-transform:capitalize}
.exams-week b{font-size:18px;color:#f2f1f4}
.exams-panel{border:1px solid var(--page-line);border-radius:19px;background:var(--page-surface);padding:8px 22px;margin-bottom:22px}
.exams-panel-head{font-size:14px;color:#9696a2;padding:14px 0 6px}
.exams-tasks{list-style:none;padding:0;margin:0}
.exams-task{display:flex;align-items:center;gap:14px;padding:14px 0;border-top:1px solid var(--page-line)}
.exams-task>div{flex:1;min-width:0}
.exams-task p{font-size:16px;line-height:1.45}
.exams-task p a:hover{color:var(--page-orange)}
.exams-task small{font-size:13px;color:#8b8999}
.exams-task.done p{color:#8b8999;text-decoration:line-through}
.exams-tick{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;border:2px solid var(--page-orange);background:none;color:#17100c;font-weight:700;flex-shrink:0;margin:7px}
.exams-task.done .exams-tick{background:var(--page-orange)}
.exams-menu{position:relative}
.exams-menu summary{list-style:none;cursor:pointer;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:10px;color:#9696a2;font-size:20px}
.exams-menu summary:hover{background:#ffffff08}
.exams-pop{position:absolute;right:0;top:46px;z-index:5;width:260px;padding:6px;border:1px solid #ffffff20;border-radius:13px;background:#17191bf8;box-shadow:0 20px 50px #0008}
.exams-pop button{display:block;width:100%;text-align:left;background:none;border:0;border-radius:9px;padding:11px 12px;font-size:15px}
.exams-pop button:hover{background:#ffffff09}
.exams-pop small{display:block;color:#8b8999;font-size:13px;margin-top:2px}
.exams-fold{border-top:1px solid var(--page-line)}
.exams-fold:first-child{border-top:0}
.exams-fold summary{list-style:none;cursor:pointer;min-height:56px;display:flex;align-items:center;font-size:16px;font-weight:550}
.exams-fold summary:after{content:'+';margin-left:auto;color:var(--page-orange);font-size:20px}
.exams-fold[open] summary:after{content:'−'}
.exams-fold>*:last-child{margin-bottom:18px}
.exams-plan-courses{list-style:none;padding:0;margin:0 0 12px}
.exams-plan-courses li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;font-size:15px}
.exams-plan-courses span{color:#9696a2;white-space:nowrap}
.exams-danger{background:#ff4d4d18;border-color:#ff6b6b55;color:#ffb3b3}
.exams-danger:hover{background:#ff4d4d28}
.exams-form .page-button{cursor:pointer;font:inherit}
@media(max-width:1100px){.exams-grid,.exams-checks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.exams-steps ol{grid-template-columns:1fr}.exams-days{grid-template-columns:repeat(4,minmax(0,1fr))}.exams-cards{grid-template-columns:1fr}}
@media(max-width:540px){.exams-grid,.exams-checks{grid-template-columns:1fr}.exams-steps h2,.exams-h2{font-size:28px}.exams-block{padding:20px}.exams-panel{padding:6px 16px}.exams-plan-head{flex-direction:column;align-items:flex-start;gap:4px}.exams-week{gap:5px}.exams-week b{font-size:16px}.exams-topics a{padding:15px 14px;gap:10px}.exams-pop{width:min(260px,calc(100vw - 60px))}}
