/* Three-page editorial pilot only; the existing learning route is unchanged. */
.learning-pilot article>div{min-width:0;width:100%}
.learning-pilot p{margin:0 0 16px}
.learning-pilot p:last-child{margin-bottom:0}
.learning-pilot ol,.learning-pilot ul{margin:0 0 20px;padding-left:22px;color:var(--muted);line-height:1.7}
.learning-pilot li+li{margin-top:8px}
.learning-pilot p a{display:inline;font-size:inherit;overflow-wrap:anywhere}
.learning-pilot .practice-table{max-width:100%;overflow-x:auto;margin:20px 0}
.learning-pilot table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px;line-height:1.5}
.learning-pilot caption{text-align:left;font-weight:600;padding-bottom:10px}
.learning-pilot th,.learning-pilot td{padding:10px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line,#e7e5ed);overflow-wrap:anywhere}
.learning-pilot thead{background:var(--soft,#f6f5fa)}
.learning-pilot th{font-weight:600}
.learning-pilot thead th:first-child{width:38%}
.learning-pilot blockquote{margin:16px 0;padding:12px 18px;border-left:3px solid var(--purple,#8b5cf6);background:var(--soft,#f6f5fa);line-height:1.7}
.learning-pilot .practice-example{margin:20px 0;border-top:1px solid var(--line,#e7e5ed);border-bottom:1px solid var(--line,#e7e5ed)}
.learning-pilot .practice-example summary{padding:16px 0;cursor:pointer;font-weight:600;color:var(--purple,#7351bd)}
.learning-pilot .practice-example>div{padding-bottom:18px}
.learning-pilot summary:focus-visible{outline:2px solid var(--purple,#7351bd);outline-offset:4px}
@media(max-width:600px){.learning-pilot th,.learning-pilot td{padding:8px 6px;font-size:13px}.learning-pilot table{min-width:0}.learning-pilot blockquote{padding:10px 12px}}
/* Four fields in the reviewed account card; keep the short code column narrow. */
@media(max-width:600px){body[data-guide="akkaunt-menedzher"] #learning .practice-example table{min-width:520px}body[data-guide="akkaunt-menedzher"] #learning .practice-example thead th:first-child{width:12%}}
/* Wide learning tables retain readable columns; their own container scrolls. */
.learning-pilot .practice-table--3 table{min-width:480px}
.learning-pilot .practice-table--4 table{min-width:640px}
.learning-pilot .practice-table--5 table{min-width:800px}
.learning-pilot .practice-table--3 table,.learning-pilot .practice-table--4 table,.learning-pilot .practice-table--5 table{table-layout:auto}
.learning-pilot .practice-table--3 thead th:first-child,.learning-pilot .practice-table--4 thead th:first-child,.learning-pilot .practice-table--5 thead th:first-child{width:auto}
.learning-pilot .practice-table--3 th,.learning-pilot .practice-table--3 td,.learning-pilot .practice-table--4 th,.learning-pilot .practice-table--4 td,.learning-pilot .practice-table--5 th,.learning-pilot .practice-table--5 td{overflow-wrap:normal;word-break:normal}
.learning-pilot .practice-table[tabindex]:focus-visible{outline:2px solid var(--purple,#7351bd);outline-offset:3px}
@media(max-width:800px){.learning-pilot .practice-table[tabindex]::before{content:'Таблицу можно прокрутить вправо →';display:block;font-size:13px;color:var(--muted);margin-bottom:8px}}

/* Code scroll applies only to the sealed IT learning examples. */
body[data-guide="java-razrabotchik"] .learning-steps.learning-pilot article>div{min-width:0;max-width:100%}
.learning-pilot .it95-code{max-width:100%;overflow-x:auto;margin:16px 0}
.learning-pilot .it95-code pre{width:max-content;min-width:100%;box-sizing:border-box;white-space:pre;padding:14px;background:#f2f1f7}
.learning-pilot .it95-code code{font-family:monospace}
.learning-pilot .it95-code:focus-visible{outline:2px solid #7351bd;outline-offset:3px}
@media(max-width:800px){.learning-pilot .it95-code:before{content:"Код можно прокрутить вправо →";display:block}}
