.prep-home,.prep-section{max-width:1100px;margin:0 auto;padding:24px 0 48px}.prep-title{max-width:1100px;margin:20px auto 0;text-align:left;font-size:clamp(26px,4vw,40px)}
.prep-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:32px;border-radius:28px;background:linear-gradient(125deg,#202f66,#3859ae);color:#fff}.prep-banner h1{color:inherit;text-align:left;font-size:clamp(28px,4.5vw,46px);max-width:700px;margin:10px 0}.prep-banner .sub,.prep-banner .cap{color:#dce6ff}.prep-banner .sub{max-width:600px;line-height:1.6}.prep-progress{display:flex;flex-direction:column;gap:8px;min-width:130px;padding:24px 16px;border:1px solid #ffffff40;border-radius:24px;text-align:center}.prep-progress b{font-size:34px}.prep-progress span{font-size:14px;color:#dce6ff}
.prep-modes{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}.prep-mode{display:flex;align-items:center;gap:18px;text-align:left;border:1px solid #dbe3f3;background:var(--card);color:var(--ink);padding:25px;border-radius:22px;cursor:pointer;box-shadow:var(--sh);font:inherit;min-height:145px}.prep-mode.featured{border:2px solid #87a7ff;background:#eef3ff}.prep-mode:hover,.prep-block:hover,.prep-theme:hover{border-color:#2f6bff;transform:translateY(-2px)}.prep-mode span:nth-child(2){flex:1}.prep-mode b{display:block;font-size:23px;margin-bottom:8px}.prep-mode small{display:block;color:var(--dim);font-size:15px;line-height:1.5}.prep-mode-icon{font-size:34px;min-width:40px}.prep-foot{color:var(--dim);max-width:740px;line-height:1.65;margin:24px 4px}
.prep-blocks,.prep-themes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0}.prep-block,.prep-theme{display:flex;flex-direction:column;gap:12px;padding:23px;border:1px solid #dbe3f3;border-radius:20px;background:var(--card);text-align:left;color:var(--ink);font:inherit;text-decoration:none;box-shadow:var(--sh);cursor:pointer;transition:transform .15s,border-color .15s}.prep-block b{font-size:23px}.prep-block small,.prep-theme small{font-size:14px;color:var(--dim);line-height:1.5}.prep-theme b{font-size:18px;line-height:1.4}.prep-block.locked,.prep-theme.locked{opacity:.6;cursor:default}.prep-tour{display:flex;align-items:center;gap:24px;justify-content:space-between;padding:25px;border-radius:23px;background:#eaf0ff;margin-bottom:32px}.prep-tour p{max-width:720px;line-height:1.6}.prep-boxes,.prep-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.prep-box,.prep-action{background:var(--card);border:1px solid #dbe3f3;border-radius:23px;padding:24px}.prep-box .prep-theme{box-shadow:none;padding:16px;margin:14px 0}.prep-action{display:flex;flex-direction:column;align-items:flex-start}.prep-action p{flex:1;color:var(--dim);line-height:1.6}.prep-section>p{max-width:850px;line-height:1.7}.prep-section h2{font-size:24px}.prep-action .btn{white-space:normal;text-align:left}
@media(max-width:740px){.prep-banner{padding:24px;align-items:flex-start}.prep-progress{min-width:80px;padding:14px 10px}.prep-progress b{font-size:25px}.prep-progress span{font-size:12px}.prep-modes,.prep-blocks,.prep-themes,.prep-boxes,.prep-actions{grid-template-columns:1fr}.prep-mode{padding:22px;min-height:115px}.prep-mode b{font-size:22px}.prep-tour{align-items:flex-start;flex-direction:column}.prep-title{padding:0 4px}.prep-home,.prep-section{padding-top:18px}.prep-banner h1{font-size:27px}}

@media(max-width:740px){.prep-progress{min-width:96px;flex-shrink:0}.prep-progress b{white-space:nowrap}}

/* Turbo status correction 26.10 */
.prep-training-title{font-size:26px;margin:32px 0 8px}.prep-olympiad{display:flex;align-items:center;justify-content:space-between;gap:25px;width:100%;margin:24px 0;padding:25px;border:2px solid #87a7ff;border-radius:24px;background:#eef3ff;color:var(--ink);font:inherit;text-align:left;cursor:pointer}.prep-olympiad b{display:block;font-size:26px}.prep-olympiad small{display:block;color:var(--dim);font-size:14px;margin:5px 0}.prep-score-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;max-width:500px}.prep-score-row>span{display:flex;flex-direction:column;gap:4px}.prep-score-row small{font-size:12px;color:var(--dim);line-height:1.3}.prep-score-row strong{font-size:clamp(17px,2.2vw,24px);white-space:nowrap}.prep-status-note{display:block;color:var(--dim);font-size:14px;line-height:1.6}.prep-block .prep-score-row{margin:7px 0}.prep-block .prep-score-row strong{font-size:20px}.prep-exam-contribution{padding:10px 13px;border-radius:12px;background:#edf7ef;color:#2a6342!important;font-size:14px;line-height:1.5}.prep-block-status{font-weight:700}.prep-doors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.prep-door{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:25px;border:1px solid #dbe3f3;border-radius:24px;background:var(--card);box-shadow:var(--sh);color:var(--ink);font:inherit;text-align:left;cursor:pointer}.prep-door:hover{border-color:var(--blue)}.prep-door>b{font-size:27px}.prep-door-icon{font-size:33px}.prep-door-status{font-size:24px;font-weight:800}.prep-door>small{color:var(--dim);font-size:14px;line-height:1.55}.prep-door .prep-score-row{gap:7px}.prep-door .prep-score-row strong{font-size:19px}.prep-topic-list{display:flex;flex-direction:column;gap:16px;margin:20px 0}.prep-topic-row{padding:22px;border:1px solid #dbe3f3;border-radius:20px;background:var(--card);box-shadow:var(--sh)}.prep-topic-name{border:0;background:transparent;padding:0;text-align:left;font:inherit;font-size:20px;font-weight:800;color:var(--ink);cursor:pointer}.prep-topic-row .prep-status-note{margin:10px 0}.prep-topic-row .row{margin-top:15px}.prep-topic-row .btn{white-space:normal;text-align:left}.prep-box .prep-topic-row{padding:16px;margin:15px 0;box-shadow:none}.prep-box .prep-topic-name{font-size:18px}.prep-box .row{align-items:stretch}.prep-box .prep-topic-row .btn{font-size:14px}.prep-topic-state{font-size:18px;font-weight:700;line-height:1.7}.prep-topic-help{margin-top:28px;padding:22px;border-radius:20px;background:#eef3ff}.prep-topic-help p{line-height:1.6}.prep-lessons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:25px 0}.prep-lesson{padding:25px;background:var(--card);border:1px solid #dbe3f3;border-radius:22px}.prep-lesson h2{font-size:23px;line-height:1.4}.prep-lesson p{line-height:1.6}.prep-lesson-empty{padding:20px;border-radius:18px;background:#fff6e5;line-height:1.7}
@media(max-width:820px){.prep-doors{grid-template-columns:1fr}.prep-door{gap:12px}.prep-door .prep-score-row{max-width:none}.prep-olympiad{align-items:flex-start;flex-direction:column}.prep-olympiad .prep-score-row{max-width:none}.prep-lessons{grid-template-columns:1fr}.prep-topic-row{padding:18px}.prep-door .prep-score-row strong{font-size:23px}}

/* 27.10: result history, four block actions and visible module consultation. */
.prep-hero-metrics,.prep-block-metrics{display:flex;gap:22px;flex-wrap:wrap}.prep-hero-metrics{min-width:260px;padding:20px;border:1px solid #ffffff44;border-radius:22px}.prep-metric{display:flex;flex-direction:column;gap:5px}.prep-metric>b{font-size:25px;line-height:1.2}.prep-metric>small{font-size:12px;color:var(--dim)}.prep-banner .prep-metric>small{color:#dce6ff}.prep-progress-strip{margin:14px 0;display:flex;flex-direction:column;gap:8px;font-size:14px}.prep-progress-track{height:8px;width:100%;max-width:420px;background:#dce5f5;border-radius:20px;overflow:hidden}.prep-progress-track>span{display:block;height:100%;background:#4dbf95;border-radius:inherit}.prep-banner .prep-progress-track{background:#ffffff40}.prep-block-overview{margin:10px 0 24px;padding:20px 24px;border-radius:22px;background:#eef3ff}.prep-block-overview .sub{margin-bottom:0}.prep-block .prep-block-metrics{margin:16px 0}.prep-block>div>small{display:block;margin:10px 0;line-height:1.5}.prep-olympiad .prep-exam-intro{min-width:190px}.prep-exam-trend{flex:1;min-width:0;max-width:680px}.prep-spark{display:block;width:100%;height:auto;max-height:190px;overflow:visible;margin:10px 0}.prep-doors{grid-template-columns:repeat(2,minmax(0,1fr))}.prep-door{min-height:205px;gap:12px}.prep-door>b{font-size:26px}.prep-door-icon{font-size:28px}.prep-consult-status{font-size:20px;font-weight:700}.prep-consult-prominent{width:100%;justify-content:center;font-size:20px;padding:20px;margin-top:12px}.prep-consult-intro{padding:22px;background:#eef3ff;border-radius:22px}.prep-consult-intro p{line-height:1.6;margin:12px 0 0}.prep-consult-steps{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.prep-consult-steps>span{padding:12px 16px;background:#eef3ff;border-radius:14px;font-size:14px;font-weight:700}.prep-consult-options{display:flex;flex-direction:column;gap:10px;margin:18px 0}.prep-consult-options .btn{white-space:normal;text-align:left}.prep-lesson .sub{font-size:14px;line-height:1.5}.prep-history{margin:22px 0;padding:20px;border:1px solid #dbe3f3;border-radius:20px}.prep-history summary{font-weight:700;cursor:pointer}.prep-history ol{padding:0;list-style:none;margin-bottom:0}.prep-history li{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:10px;padding:12px 0;border-top:1px solid #e5ebf6}.prep-history small{color:var(--dim)}.prep-forecast-note{padding:18px;border-radius:16px;background:#edf7ef;color:#2a6342;line-height:1.6}.prep-topic-row h2{font-size:21px;margin:0}.prep-status-note a,.prep-status-note button{margin:10px 0 0 12px}.prep-banner .prep-status-note{color:#dce6ff}.prep-section> .btn.primary{margin-top:24px}
@media(min-width:1200px){.prep-doors{grid-template-columns:repeat(4,minmax(0,1fr))}.prep-door{padding:20px}.prep-door>b{font-size:23px}.prep-door .prep-score-row{grid-template-columns:1fr;gap:6px}.prep-door .prep-score-row>span{flex-direction:row;justify-content:space-between;align-items:baseline;gap:10px}.prep-door .prep-score-row strong{font-size:17px}.prep-door .prep-score-row small{font-size:11px}.prep-consult-status{font-size:18px}.prep-door-status{font-size:20px}}
@media(max-width:820px){.prep-hero-metrics{min-width:0;width:100%;box-sizing:border-box;justify-content:space-between;gap:12px}.prep-exam-trend{width:100%;max-width:none}.prep-exam-intro{min-width:0}.prep-block-overview{padding:18px}.prep-doors{grid-template-columns:1fr}.prep-door{min-height:0;padding:22px;gap:10px}.prep-door .prep-score-row{grid-template-columns:repeat(3,minmax(0,1fr))}.prep-consult-steps{flex-direction:column;gap:8px}.prep-history li{flex-direction:column;gap:5px}.prep-olympiad{gap:10px}}

.prep-olympiad .prep-baseline-detail{margin-top:14px;line-height:1.5;font-size:13px}

.prep-exam-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.prep-exam-mode{min-width:0;box-sizing:border-box;display:flex;flex-direction:column;gap:12px;padding:26px;border:1px solid var(--line);border-radius:24px;background:var(--card)}.prep-exam-mode h2,.prep-exam-mode p{margin:0}.prep-exam-mode select{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:12px;border:1px solid var(--line);border-radius:12px;max-width:100%}.prep-exam-mode .btn{margin-top:auto;min-height:48px}@media(max-width:650px){.prep-exam-modes{grid-template-columns:minmax(0,1fr)}.prep-exam-mode{padding:20px}}
