/* d0811b: добавление поверх d0811, без изменения текстов и SEO. */
html body section.how .how-t p:not(.phone){max-width:34ch}
.d81b-nav-shell{display:contents}
.d81b-nav-arrow{display:none}
@media(max-width:1000px){
 html body .d81b-nav-shell{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;min-width:0;width:100%;margin-block:16px}
 html body .d81b-nav-shell .d81b-nav{grid-column:2;grid-row:1;margin:0!important;padding:0!important;min-width:0;max-width:100%;scroll-padding:0;scroll-snap-type:none}
 html body .d81b-nav-shell .d81b-nav::after{content:none!important;display:none!important}
 html body .d81b-nav-shell .d81b-nav>li,html body .d81b-nav-shell .d81b-nav>a{margin-right:0!important;max-width:100%;box-sizing:border-box;scroll-snap-align:none}
 html body .d81b-nav-shell .d81b-nav a{white-space:normal;overflow-wrap:normal;word-break:normal;min-height:44px;box-sizing:border-box}
 html body .d81b-nav-shell .d81b-nav>li>a{max-width:100%}
 html body .d81b-nav-arrow{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;border:1px solid #aabbd0;border-radius:50%;background:#fff;color:#1d4f91;font:400 28px/1 'Golos Text',Arial,sans-serif;padding:0;cursor:pointer}
 html body .d81b-nav-arrow:first-child{grid-column:1;grid-row:1}
 html body .d81b-nav-arrow:last-child{grid-column:3;grid-row:1}
 html body .d81b-nav-arrow[hidden]{display:flex!important;visibility:hidden;pointer-events:none}
 html body .d81b-nav-arrow:focus-visible{outline:2px solid #1d4f91;outline-offset:2px}
 html body .d81b-nav-shell .d81b-nav .d81b-nav-partial{visibility:hidden}
}
@media(max-width:767px){
 html body table.d81b-cards{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow:visible!important;background:none!important;border:0!important;box-shadow:none!important;table-layout:auto}
 html body table.d81b-cards colgroup{display:none!important}
 html body table.d81b-cards thead,html body table.d81b-cards tbody tr.d81b-card-header{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;padding:0!important;border:0!important}
 html body table.d81b-cards tbody{display:grid!important;grid-template-columns:minmax(0,1fr);gap:12px;width:100%}
 html body table.d81b-cards tbody tr{display:block!important;border:1px solid #d6dfea;border-radius:8px;background:#fff;padding:4px 16px;margin:0!important;width:auto!important}
 html body table.d81b-cards tbody :is(th,td){display:block!important;position:static!important;box-sizing:border-box;width:auto!important;min-width:0!important;max-width:100%!important;border:0!important;border-bottom:1px solid #e6ebf2!important;padding:12px 0!important;background:transparent!important;box-shadow:none!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere;text-align:left!important;font-size:16px;line-height:1.5}
 html body table.d81b-cards tbody :is(th,td):last-child{border-bottom:0!important}
 html body table.d81b-cards tbody :is(th,td)[data-label]:not([data-label=""])::before{content:attr(data-label);display:block;margin-bottom:4px;font-size:14px;line-height:1.5;font-weight:600;color:#1d4f91}
}
/* Старые уроки. 25Б (.a25-main) уже оформляет свой список сам. */
html body:not(:has(.a25-main)) .academy-topic-v1-checklist{display:grid;gap:12px;margin:20px 0}
html body:not(:has(.a25-main)) .academy-topic-v1-checklist__item{display:flex;align-items:flex-start;gap:14px;background:#f2f6fb;padding:16px 18px;color:#13233d}
html body:not(:has(.a25-main)) .academy-topic-v1-checklist__num{flex:0 0 58px;font:600 40px/1 'Golos Text',Arial,sans-serif;color:transparent;-webkit-text-stroke:1.2px #1d4f91}
html body:not(:has(.a25-main)) .academy-topic-v1-checklist__body{min-width:0;font-size:16px;line-height:1.5}
html body:not(:has(.a25-main)) .academy-topic-v1-checklist__body strong{display:block;font-size:17px;font-weight:600;margin-bottom:4px}

/* C39: C36 native pickers replace these rails on phones; keep arrows at larger widths. */
@media(max-width:860px){html body .d81b-nav-shell:has(>.c36-has-picker){display:none!important}}
