/* Learning release: readable cards, exact Russian bank illustrations, full explanations. */
.pdd-learning-route,.pdd-learning-course,.pdd-topic-study,.pdd-next-topic{min-width:0;color:#192337}
.pdd-learning-route{margin-top:32px}.pdd-learning-route h2{margin:12px 0 24px;font-size:clamp(25px,3vw,36px);line-height:1.15}
.pdd-phase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.pdd-phase-card{--phase:#3c4ee7;display:grid;grid-template-columns:minmax(0,1fr) 28px;grid-template-rows:128px auto;gap:0;min-width:0;min-height:250px;padding:0;border:0;border-radius:22px;background:var(--phase);color:#fff;text-align:left;overflow:hidden;cursor:pointer;transition:transform .2s}
.pdd-phase-card:hover{transform:translateY(-3px)}.pdd-phase-1{--phase:#ff7658;color:#192337}.pdd-phase-2{--phase:#18765f}
.pdd-phase-picture{grid-column:1/-1;display:block;background:#eef2f7;min-width:0;overflow:hidden}.pdd-phase-picture img{width:100%;height:100%;display:block;object-fit:contain}
.pdd-phase-copy{display:flex;min-width:0;flex-direction:column;justify-content:center;gap:10px;padding:20px 8px 22px 20px}.pdd-phase-copy small{font-size:11px;line-height:1.5;opacity:.85;white-space:normal}.pdd-phase-copy strong{font-size:clamp(20px,2.3vw,30px);line-height:1.2;overflow-wrap:anywhere;white-space:normal}.pdd-phase-arrow{align-self:center;font-size:24px;padding-right:12px}
.pdd-next-topic{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid #dfe4ed;border-radius:24px;overflow:hidden;background:#fff}.pdd-next-picture{display:grid;place-items:center;min-width:0;background:#edf2f8;padding:12px}.pdd-next-picture img{width:100%;height:auto;max-height:350px;object-fit:contain}.pdd-next-copy{min-width:0;padding:28px;display:flex;align-items:flex-start;flex-direction:column;gap:12px}.pdd-next-copy h2{margin:0;font-size:clamp(25px,3vw,36px);line-height:1.15;overflow-wrap:anywhere}.pdd-next-copy p{margin:0}.pdd-next-copy small{font-size:12px;color:#637087;line-height:1.5}.pdd-next-count{color:#4255e8;font-size:30px;font-weight:750}.pdd-next-count span{font-size:15px;color:#718098}
.pdd-learning-heading{margin:8px 0 28px;max-width:850px}.pdd-learning-heading h1{font-size:clamp(30px,5vw,50px);line-height:1.1;margin:14px 0 16px;overflow-wrap:anywhere}.pdd-learning-heading>p{font-size:18px;color:#607086;line-height:1.65}.pdd-learning-summary{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:20px 24px;border:1px solid #dfe5ee;background:#fff;border-radius:18px;margin-bottom:22px}.pdd-learning-summary strong{font-size:28px;color:#4255e8}.pdd-learning-summary span{color:#66738a;font-size:14px}.pdd-learning-summary span:last-child{margin-left:auto}
.pdd-learning-filters{display:flex;gap:12px;margin-bottom:24px}.pdd-learning-filters label:first-child{flex:1}.pdd-learning-filters label{min-width:0}.pdd-learning-filters input,.pdd-learning-filters select{width:100%;box-sizing:border-box;border:1px solid #dfe4ed;border-radius:12px;background:#fff;color:#192337;padding:14px 16px;font:inherit;font-size:15px;min-height:48px}.pdd-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}
.pdd-topic-section{border:1px solid #dfe4ed;border-radius:22px;background:#fff;margin:16px 0;overflow:hidden}.pdd-topic-section>summary{display:flex;align-items:center;gap:16px;padding:22px;list-style:none;cursor:pointer}.pdd-topic-section>summary::-webkit-details-marker{display:none}.pdd-section-number{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:12px;background:#eef1ff;color:#4255e8;font-weight:750}.pdd-section-caption{display:flex;min-width:0;flex:1;flex-direction:column;gap:5px}.pdd-section-caption strong{font-size:20px;line-height:1.3;overflow-wrap:anywhere}.pdd-section-caption small{font-size:13px;color:#66738a}.pdd-topic-list{padding:0 14px 14px;display:grid;gap:8px}.pdd-topic-card{display:flex;align-items:center;gap:18px;min-width:0;width:100%;padding:16px;border:1px solid #e2e7ee;border-radius:16px;background:#f9fafc;text-align:left;cursor:pointer;color:#192337}.pdd-topic-card:hover{background:#f0f3ff;border-color:#a4afff}.pdd-topic-card.is-complete{background:#f1faf6}.pdd-topic-card>img{width:100px;height:74px;object-fit:contain;background:white;border-radius:10px;flex:none}.pdd-topic-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:6px}.pdd-topic-copy small{font-size:10px;letter-spacing:.08em;color:#66738a}.pdd-topic-copy strong{font-size:18px;line-height:1.3;overflow-wrap:anywhere}.pdd-topic-copy>span{font-size:14px;line-height:1.45;color:#637087}.pdd-topic-status{flex:none;color:#4255e8;font-size:12px;font-weight:700}.pdd-learning-empty{padding:30px;text-align:center;color:#66738a}
.pdd-topic-breadcrumbs{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:20px 0 30px}.pdd-topic-cover{margin:0 0 36px;max-width:940px;background:#fff;border:1px solid #dfe4ed;border-radius:22px;overflow:hidden}.pdd-topic-cover img{display:block;width:100%;height:auto;max-height:390px;object-fit:contain}.pdd-topic-cover figcaption{padding:12px 20px;color:#66738a;font-size:12px;border-top:1px solid #eef0f5}.pdd-topic-reading{max-width:850px;font-size:18px;line-height:1.75}.pdd-topic-reading>section{margin:30px 0}.pdd-topic-reading h2{font-size:25px;line-height:1.3;margin-bottom:16px}.pdd-topic-reading p{margin:12px 0}.pdd-topic-example,.pdd-topic-traps{padding:26px;border-radius:18px;background:#fff;border:1px solid #dfe4ed}.pdd-topic-traps li{padding-left:6px;margin:12px 0}.pdd-topic-remember{background:#e8f5ef;border-left:5px solid #18765f;border-radius:12px;padding:22px 26px;margin:30px 0}.pdd-topic-remember>strong{color:#12614e}.pdd-rule-source{font-size:14px;line-height:1.65;color:#66738a;margin:24px 0;overflow-wrap:anywhere}.pdd-rule-source summary{cursor:pointer;font-weight:650}.pdd-rule-source a{color:#4255e8}.pdd-topic-check{padding:28px;background:#eef1ff;border:1px solid #d7ddff;border-radius:20px}.pdd-topic-actions,.pdd-topic-next{display:flex;flex-wrap:wrap;gap:12px}.pdd-topic-next{margin-top:34px;justify-content:space-between}.pdd-topic-next>button{max-width:100%;white-space:normal;height:auto;min-height:48px;line-height:1.45}.pdd-topic-done{color:#12614e;font-weight:650}.pdd-topic-lock-note{font-size:16px;color:#5e6b80}
.ticket-card>.pdd-ticket-art{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 29%;width:calc(100% + 40px);height:154px;margin:-20px -20px 20px;padding:9px;box-sizing:border-box;gap:6px;background:#e7edf5;overflow:hidden;flex:none}.pdd-ticket-art-main,.pdd-ticket-art-strip>span{display:grid;place-items:center;min-width:0;min-height:0;background:white;border-radius:8px;overflow:hidden}.pdd-ticket-art-main img,.pdd-ticket-art-strip img{display:block;width:100%;height:100%;object-fit:contain!important;max-height:100%}.pdd-ticket-art-strip{display:grid;grid-template-rows:1fr 1fr;gap:6px;min-height:0;min-width:0}.pdd-ticket-art-tag{position:absolute;bottom:11px;left:13px;padding:5px 7px;border-radius:5px;background:#192337e8;color:white;font-size:8px;font-weight:700;letter-spacing:.04em}.ticket-card{overflow:hidden}.ticket-card>.pdd-ticket-art~span{position:static}
.pdd-human-explanation{margin:22px 0;color:#213149;font-size:16px;line-height:1.7}.pdd-human-explanation h3{font-size:19px;line-height:1.35;margin:0 0 14px}.pdd-human-explanation>section{margin:24px 0}.pdd-explain-scene{background:#eff3ff;border-radius:16px;padding:20px 24px}.pdd-explain-scene p{margin:10px 0 0}.pdd-reasoning-steps{padding-left:25px}.pdd-reasoning-steps li{margin:12px 0;padding-left:6px}.pdd-reasoning-steps li::marker{font-weight:750;color:#4255e8}.pdd-why-correct{padding:20px 24px;background:#eaf7f0;border-radius:16px}.pdd-why-correct p{margin-bottom:0}.pdd-wrong-option{padding:16px 18px;margin:10px 0;border:1px solid #e0e6ef;border-radius:12px;background:#fff}.pdd-wrong-option strong{display:block;font-size:14px;line-height:1.5}.pdd-wrong-option p{margin:8px 0 0}.pdd-wrong-option.was-chosen{border-color:#e29e8e;background:#fff8f5}.pdd-wrong-option small{display:inline-block;margin-top:6px;color:#9f4533}.pdd-explain-remember{padding:20px 24px;border-left:4px solid #4255e8;background:#f0f2ff;border-radius:12px}.pdd-explain-remember p{margin-bottom:0}.pdd-source-review{border:1px solid #e9be62;border-radius:14px;padding:18px 22px;background:#fff8e7;font-size:14px;line-height:1.65;margin-bottom:22px}.pdd-source-review summary{font-weight:750;cursor:pointer;color:#72510c}.pdd-source-review li{margin:10px 0}
.pdd-static-topic{max-width:920px;margin:32px auto;padding:24px}.pdd-static-topic h1{font-size:clamp(30px,5vw,48px);line-height:1.1}.pdd-static-topic .pdd-topic-reading{max-width:none}.pdd-static-topic .pdd-static-cta{display:block;padding:18px;background:#4255e8;border-radius:14px;color:white;text-align:center;text-decoration:none;font-weight:700;margin:28px 0}.pdd-static-topic .pdd-topic-cover img{max-height:380px}.pdd-static-topic .pdd-topic-next a{display:inline-block;max-width:45%;overflow-wrap:anywhere}.seo-topic.pdd-has-cover img{object-fit:contain!important;background:#eef2f7}
@media (max-width:1050px){.pdd-phase-grid{gap:12px}.pdd-phase-copy{padding:16px 6px 18px 16px}.pdd-phase-copy strong{font-size:23px}.pdd-next-topic{grid-template-columns:1fr}.pdd-next-picture img{max-height:250px}.pdd-next-copy{padding:24px}.pdd-phase-card{grid-template-rows:110px auto}}
@media (max-width:760px){.pdd-phase-grid{grid-template-columns:minmax(0,1fr);gap:12px}.pdd-phase-card{display:grid;grid-template-columns:112px minmax(0,1fr) 28px;grid-template-rows:auto;min-height:116px;border-radius:18px;overflow:visible}.pdd-phase-picture{grid-column:auto;height:100%;min-height:116px;border-radius:18px 0 0 18px;overflow:hidden}.pdd-phase-copy{padding:16px 10px 16px 16px;gap:8px}.pdd-phase-copy strong{font-size:clamp(21px,5.4vw,28px);line-height:1.2;overflow-wrap:normal;word-break:normal}.pdd-phase-copy small{font-size:10px;line-height:1.4}.pdd-phase-arrow{padding-right:10px}.pdd-next-picture img{max-height:220px}.pdd-next-copy{padding:24px}.pdd-next-copy h2{font-size:29px}.pdd-learning-filters{flex-direction:column}.pdd-learning-summary{padding:18px;gap:8px}.pdd-learning-summary span:last-child{margin-left:0;flex-basis:100%}.pdd-topic-section>summary{padding:18px 14px;gap:12px}.pdd-section-caption strong{font-size:18px}.pdd-topic-list{padding:0 8px 8px}.pdd-topic-card{padding:12px;gap:12px}.pdd-topic-card>img{width:68px;height:58px}.pdd-topic-copy strong{font-size:16px}.pdd-topic-copy>span{font-size:12px}.pdd-topic-status{font-size:10px}.pdd-topic-reading{font-size:17px;line-height:1.7}.pdd-topic-example,.pdd-topic-traps,.pdd-topic-check{padding:20px}.pdd-topic-reading h2{font-size:23px}.pdd-topic-breadcrumbs{gap:10px}.pdd-topic-cover{margin-bottom:24px}.pdd-topic-next{flex-direction:column}.pdd-topic-next button{width:100%}.pdd-topic-actions{flex-direction:column}.pdd-topic-actions button{width:100%;white-space:normal;line-height:1.4;height:auto;min-height:48px}.pdd-human-explanation{font-size:15px}.pdd-explain-scene,.pdd-why-correct,.pdd-explain-remember{padding:18px}.pdd-static-topic{margin:12px auto;padding:18px}.ticket-card>.pdd-ticket-art{height:124px}.pdd-ticket-art-tag{font-size:6px;padding:4px;left:11px}}
@media (max-width:360px){.pdd-phase-card{grid-template-columns:88px minmax(0,1fr) 24px}.pdd-phase-copy{padding-left:12px}.pdd-phase-copy strong{font-size:21px}.pdd-phase-copy small{font-size:9px}.pdd-topic-card>img{width:54px;height:50px}.pdd-topic-card{gap:8px}.pdd-ticket-art-tag{display:none}}
@media (prefers-reduced-motion:reduce){.pdd-phase-card{transition:none}.pdd-phase-card:hover{transform:none}}
.app-shell .lesson-thumb img,.app-shell .question-chapter-photo>img,.auth-road>img{object-fit:contain!important;background:#edf2f8}.app-shell .ticket-grid .ticket-card{padding:20px!important}
/* v12: readable chapter covers and a compact dashboard without an empty sidebar column. */
.app-shell[data-view=dashboard] .dashboard-grid{grid-template-columns:minmax(0,1fr)!important;align-items:start!important;gap:28px!important}
.app-shell[data-view=dashboard] .dashboard-left{min-height:0!important;margin-bottom:0!important}
.app-shell[data-view=dashboard] .dashboard-right{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:18px!important;margin-top:0!important}
.app-shell[data-view=dashboard] .dashboard-right>*{margin:0!important;grid-row:auto!important;min-width:0;min-height:0!important}
.app-shell[data-view=dashboard] .dashboard-right .source-note{grid-column:1/-1;padding:16px 20px!important;display:flex;gap:14px;border-top:1px solid #dfe4ed}
.app-shell[data-view=dashboard] .dashboard-right .practice-card{padding:24px!important;height:auto!important;display:flex;flex-direction:column;align-items:flex-start}
.app-shell[data-view=dashboard] .dashboard-right .practice-card h3{font-size:24px;line-height:1.2;margin:12px 0}
.app-shell[data-view=dashboard] .dashboard-right .practice-card .practice-big{font-size:44px;line-height:1.1;display:block;margin-bottom:8px}
.app-shell[data-view=dashboard] .dashboard-right .practice-card button{margin-top:auto}
.app-shell .pdd-phase-card{grid-template-rows:165px minmax(116px,auto);border:1px solid #dce3ed;box-shadow:none}
.app-shell .pdd-phase-picture{background:white;padding:0;display:grid;place-items:center}
.app-shell .pdd-phase-picture img{width:100%;height:100%;object-fit:contain!important;object-position:center;opacity:1!important;filter:none!important}
.app-shell .pdd-phase-copy{gap:10px;padding:20px 8px 22px 22px;min-width:0}
.app-shell .pdd-phase-copy small{font-size:12px!important;line-height:1.45!important;color:#fff!important;opacity:1!important;letter-spacing:0!important;font-weight:500!important}
.app-shell .pdd-phase-copy strong{color:#fff!important;font-size:clamp(24px,2.7vw,32px)!important;line-height:1.2!important;font-weight:700!important;text-shadow:none!important;letter-spacing:-.02em!important}
.app-shell .pdd-phase-1 .pdd-phase-copy small,.app-shell .pdd-phase-1 .pdd-phase-copy strong{color:#172236!important}
.app-shell .pdd-phase-card .pdd-phase-arrow{color:inherit!important;opacity:1;font-size:26px}
@media (max-width:1000px){.app-shell[data-view=dashboard] .dashboard-right{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:760px){.app-shell[data-view=dashboard] .dashboard-right{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}.app-shell .pdd-phase-card{grid-template-columns:112px minmax(0,1fr) 28px;grid-template-rows:auto;min-height:122px}.app-shell .pdd-phase-picture{min-height:122px}.app-shell .pdd-phase-copy{padding:16px 8px 16px 16px;gap:8px}.app-shell .pdd-phase-copy small{font-size:11px!important}.app-shell .pdd-phase-copy strong{font-size:clamp(21px,5.5vw,28px)!important}.app-shell[data-view=dashboard] .dashboard-right .source-note{padding:14px 4px!important}}
@media (max-width:360px){.app-shell .pdd-phase-card{grid-template-columns:86px minmax(0,1fr) 24px}.app-shell .pdd-phase-copy{padding-left:12px}.app-shell .pdd-phase-copy strong{font-size:21px!important}.app-shell .pdd-phase-copy small{font-size:10px!important}}
/* Dedicated course graphics can fill their containers; question diagrams keep contain. */
.app-shell .pdd-phase-picture img{object-fit:cover!important;background:#eaf0fb}
