:root{--navy:#142b49;--teal:#008f9c;--cyan:#18bce0;--ice:#f5f9fc;--ink:#172b42;--muted:#607489;--line:#dce6ed;--orange:#f59e45;--purple:#8268d8;--green:#20a77b}*{box-sizing:border-box}body{margin:0;background:var(--ice);color:var(--ink);font-family:"Segoe UI",Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:var(--teal)}.shell{display:flex;min-height:100vh}.sidebar{width:264px;background:#fff;border-right:1px solid var(--line);padding:25px 16px;position:sticky;top:0;height:100vh;overflow:auto;flex-shrink:0}.logo{font-family:"Segoe UI",Arial,sans-serif;font-size:20px;font-weight:800;color:var(--navy);line-height:1.18;padding:10px 12px 28px}.logo span{color:var(--teal)}.nav{display:flex;flex-direction:column;gap:5px}.nav button{border:0;text-align:left;border-radius:12px;background:transparent;padding:12px 14px;color:#41566b;font-size:14px;font-weight:600}.nav button:hover,.nav button.active{background:#e8f7f8;color:#007d8a}.sidefoot{font-size:12px;color:var(--muted);margin:30px 12px}.main{min-width:0;flex:1}.top{display:flex;justify-content:space-between;align-items:center;padding:18px 5%;border-bottom:1px solid var(--line);background:#fff}.top small{color:var(--muted)}.content{max-width:1190px;margin:auto;padding:42px 5% 90px}.eyebrow{font-weight:800;letter-spacing:.12em;text-transform:uppercase;font-size:11px;color:var(--teal)}h1,h2,h3{font-family:"Segoe UI",Arial,sans-serif;color:var(--navy);line-height:1.25}h1{font-size:clamp(29px,4vw,52px);letter-spacing:-.04em;margin:14px 0}h2{font-size:26px;margin:34px 0 18px}h3{font-size:18px;margin:24px 0 12px}p{line-height:1.75}.lead{font-size:17px;color:var(--muted);max-width:760px}.hero{background:linear-gradient(125deg,#142b49,#0c5869);color:#fff;border-radius:26px;padding:50px;position:relative;overflow:hidden}.hero h1{color:#fff}.hero p{color:#d1e7ed}.hero:after{content:'✦';position:absolute;right:7%;top:10%;font-size:170px;color:#ffffff12}.btn{display:inline-flex;align-items:center;gap:8px;background:var(--teal);border:1px solid var(--teal);color:white;padding:11px 17px;border-radius:11px;font-weight:700;text-decoration:none}.btn.secondary{background:white;color:var(--navy);border-color:var(--line)}.btn.small{padding:7px 11px;font-size:13px}.btn:hover{filter:brightness(.95)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:white;border:1px solid var(--line);border-radius:18px;padding:24px;min-width:0}.card h3{margin-top:0}.muted{color:var(--muted)}.tag{display:inline-block;padding:5px 9px;border-radius:7px;background:#e9f7f8;color:#087d89;font-size:11px;font-weight:700;margin:2px}.note{border-left:4px solid var(--teal);padding:20px 23px;background:#e9f6f7;border-radius:0 14px 14px 0;margin:24px 0}.warning{border-left-color:var(--orange);background:#fff6e9}.stepper{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:28px 0}.step{border:1px solid #cfe6e9;border-radius:14px;background:white;padding:15px 8px;text-align:center;min-height:114px;color:var(--navy)}.step:hover{background:#e9f8fa;transform:translateY(-2px)}.step strong{display:block;font-size:25px;color:var(--teal)}.step span{font-size:11px;font-weight:700}.timeline{border-left:3px solid #c5e7eb;padding-left:24px;margin-left:10px}.event{position:relative;margin:20px 0}.event:before{content:'';width:12px;height:12px;border-radius:50%;background:var(--teal);position:absolute;left:-31px;top:5px}.event strong{display:block}.event p{margin:5px 0}.controls{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.controls input,.controls select,.controls textarea{padding:11px 13px;border:1px solid #cbd9e3;border-radius:10px;background:white;min-width:160px}.controls input{flex:1}.topic{display:flex;flex-direction:column;gap:10px}.topic h3{font-size:16px;line-height:1.5}.topic .btn{align-self:start}.detail{max-width:940px}.detail p{white-space:pre-wrap}.detail ul{line-height:1.7}.detail .section{background:#fff;border:1px solid var(--line);padding:25px;border-radius:16px;margin:15px 0}.docline{margin:10px 0;line-height:1.7;white-space:pre-wrap}.docline a{overflow-wrap:anywhere}.worktext h3{border-bottom:1px solid var(--line);padding-bottom:8px}.check{display:flex;gap:10px;padding:10px 13px;border:1px solid var(--line);border-radius:9px;margin:7px 0;background:white}.check input{accent-color:var(--teal)}.mini{font-size:13px}.tablewrap{overflow-x:auto}.table{width:100%;border-collapse:collapse;background:white;font-size:13px}.table td,.table th{padding:10px;border:1px solid var(--line);vertical-align:top}.table tr:first-child{background:#eaf4f7;font-weight:700}.panel{border:1px solid var(--line);border-radius:14px;background:#fff;padding:22px;margin:20px 0}.tabs{display:flex;gap:7px;flex-wrap:wrap}.tabs button{border:1px solid var(--line);background:white;padding:10px 15px;border-radius:10px}.tabs button.selected{background:var(--navy);color:#fff}.matrix{width:min(100%,520px);aspect-ratio:1;position:relative;border:2px solid #b7d1dc;background:linear-gradient(90deg,#e8f7f5 50%,#fff2e2 50%);margin:20px auto}.matrix:before,.matrix:after{content:'';position:absolute;background:#a6bbc6}.matrix:before{width:1px;height:100%;left:50%}.matrix:after{height:1px;width:100%;top:50%}.dot{position:absolute;border-radius:50%;width:19px;height:19px;background:var(--purple);border:3px solid white;box-shadow:0 1px 8px #0004;transform:translate(-50%,50%)}.axis{font-size:12px;color:var(--muted)}.flow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:22px 0}.node{border:1px solid #b7d8de;border-radius:10px;background:#e9f7f8;padding:15px;font-size:13px;max-width:190px}.arrow{color:var(--teal);font-size:24px}.ganttrow{display:grid;grid-template-columns:160px 1fr;gap:10px;align-items:center;margin:8px 0;font-size:12px}.ganttbar{height:22px;border-radius:5px;background:var(--teal)}.mock{max-width:620px;border:2px solid #c8dce6;border-radius:18px;background:#fff;padding:22px;margin:20px auto;min-height:260px}.mocknav{display:flex;gap:8px;flex-wrap:wrap}.mocknav button{padding:8px;border:1px solid var(--line);border-radius:8px;background:white}.mocknav button.selected{background:var(--teal);color:white}.linkcard{display:block;padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.foot{font-size:12px;color:var(--muted);margin-top:55px;border-top:1px solid var(--line);padding-top:22px}.menu{display:none}.empty{padding:25px;background:#fff;border-radius:14px}.twoCol{display:grid;grid-template-columns:1fr 1fr;gap:18px}.fullwidth{grid-column:1/-1}@media(max-width:1050px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stepper{grid-template-columns:repeat(4,1fr)}}@media(max-width:720px){.sidebar{display:none;position:fixed;z-index:30;width:290px;box-shadow:0 0 0 100vmax #0007}.sidebar.open{display:block}.menu{display:inline-block}.top{padding:13px 5%}.content{padding:26px 5% 65px}.hero{padding:28px}.grid,.grid.two,.twoCol{grid-template-columns:1fr}.stepper{grid-template-columns:repeat(2,1fr)}.ganttrow{grid-template-columns:100px 1fr}.card{padding:18px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
/* v1.0 — editorial learning spreads */
:root{--paper:#fff;--soft:#eef6f8}
.content{max-width:1360px}.nav{gap:3px}.nav button{padding:10px 12px}.hero{background:radial-gradient(circle at 92% 18%,#0c8790 0,#0c879000 31%),linear-gradient(125deg,#142b49,#104b63);min-height:320px}.hero:after{content:'07';font-family:"Segoe UI",Arial,sans-serif;font-size:235px;font-weight:800;right:3%;top:0;color:#ffffff0b}.step{position:relative;border-top:5px solid var(--teal)}.step:nth-child(3n+2){border-top-color:var(--purple)}.step:nth-child(3n){border-top-color:var(--orange)}.card{box-shadow:0 5px 20px #142b4908}.topic{border-top:4px solid var(--teal)}.topic:nth-child(3n+2){border-top-color:var(--purple)}.topic:nth-child(3n){border-top-color:var(--orange)}
.lesson-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:10px}.lesson-top h1{font-size:clamp(27px,3.3vw,43px);margin:8px 0 16px}.lesson-number{font-family:"Segoe UI",Arial,sans-serif;font-weight:800;font-size:85px;letter-spacing:-.09em;color:#dceaf0;line-height:1}.lesson-navline{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:13px;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:24px}.text-link{background:transparent;border:0;color:var(--teal);font-weight:700;padding:0}.lesson-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start}.lesson-toc{position:sticky;top:16px;max-height:calc(100vh - 40px);overflow:auto;background:white;border:1px solid var(--line);border-radius:16px;padding:14px}.toc-caption{font-size:10px;letter-spacing:.16em;color:var(--muted);font-weight:800;padding:12px 10px}.lesson-toc button{width:100%;display:flex;gap:9px;align-items:baseline;text-align:left;border:0;background:transparent;padding:10px 11px;color:#53677b;border-radius:9px;font-size:12px;line-height:1.45}.lesson-toc button:hover{background:#f0f7f9}.lesson-toc button.current{background:#e6f5f7;color:#007987;font-weight:800}.toc-index{font-size:10px;color:#8195a6;flex-shrink:0}.lesson-main{min-width:0}.lesson-progress{height:5px;background:#dfeaf0;border-radius:10px;overflow:hidden;margin-bottom:12px}.lesson-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--teal),var(--cyan));transition:width .25s}.lesson-spread{background:white;border:1px solid var(--line);border-radius:22px;padding:clamp(25px,4.4vw,55px);min-height:540px;box-shadow:0 10px 36px #142b4909}.chapter-label{font-size:11px;font-weight:800;letter-spacing:.15em;color:var(--teal);text-transform:uppercase}.chapter-title{font-size:clamp(23px,2.8vw,35px);line-height:1.22;margin:14px 0 30px;max-width:750px}.chapter-content{max-width:790px}.chapter-content h3{margin:27px 0 13px;font-size:18px}.lesson-paragraph{margin:0 0 14px;font-size:15px;line-height:1.85;white-space:pre-wrap}.lesson-highlight{display:flex;gap:16px;background:#ecf8f8;border-left:4px solid var(--teal);padding:20px 22px;border-radius:0 13px 13px 0;margin:23px 0;font-size:15px;line-height:1.7}.lesson-alert{background:#fff4e9;border-color:var(--orange)}.highlight-icon{flex:0 0 29px;width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:white;color:var(--teal);font-weight:800}.lesson-bullet{padding:8px 0 8px 20px;border-bottom:1px solid #edf2f5}.lesson-spread .tablewrap{margin:24px 0}.lesson-spread .table th{background:#e7f4f6;color:var(--navy)}.lesson-spread .table td,.lesson-spread .table th{padding:14px;font-size:13px;line-height:1.6}.lesson-intro h2{font-size:32px}.lesson-intro>p{max-width:650px;font-size:17px;color:var(--muted)}.lesson-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:32px 0}.lesson-stats>div{background:#f3f8fb;border:1px solid #e2edf2;border-radius:13px;padding:22px}.lesson-stats strong{display:block;font-family:"Segoe UI",Arial,sans-serif;font-size:35px;color:var(--teal)}.lesson-stats span{font-size:12px;color:var(--muted)}.spread-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 0}.spread-actions span{font-size:12px;color:var(--muted)}.spread-actions button:disabled{opacity:.4;cursor:default}.lesson-spread .panel{background:#f9fcfd}.lesson-spread .check{background:#f9fcfd}
@media(max-width:1060px){.lesson-layout{grid-template-columns:195px minmax(0,1fr);gap:13px}.lesson-toc{padding:7px}.lesson-spread{padding:28px}}@media(max-width:760px){.lesson-layout{display:flex;flex-direction:column}.lesson-toc{position:static;width:100%;display:flex;overflow-x:auto;max-height:none;gap:5px;white-space:nowrap;padding:8px}.lesson-toc button{width:auto;flex-shrink:0;padding:9px 12px}.toc-caption{display:none}.lesson-spread{width:100%;min-height:400px;padding:23px 19px}.lesson-number{font-size:60px}.lesson-stats{grid-template-columns:1fr}.lesson-stats>div{padding:15px}.lesson-top h1{font-size:28px}.lesson-paragraph{font-size:14px}.spread-actions .btn{font-size:12px;padding:10px}.chapter-title{margin-bottom:18px}}

/* Редакция 1.1: обновление главной страницы */
.content{padding-top:24px}.content h2{margin:28px 0 12px}.hero{min-height:0;padding:25px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px}.hero:after{display:none}.hero-copy{max-width:650px}.hero h1{font-size:clamp(29px,3vw,40px);margin:8px 0}.hero p{font-size:14px;line-height:1.55;margin:8px 0}.hero .controls{margin:13px 0 0}.hero .btn{padding:9px 13px;font-size:13px}.guide{display:flex;align-items:center;gap:10px;flex-shrink:0}.guide-face{font-size:70px;line-height:1}.guide-speech{width:155px;background:white;color:#163b52;padding:12px;border-radius:13px;font-size:12px;line-height:1.4}.note{margin:17px 0;padding:15px 20px}.note p{margin:0;line-height:1.6;font-size:14px}.calendar-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.calendar-item{display:flex;gap:13px;background:#f5f9fc;border-radius:12px;padding:13px}.calendar-index{font-size:25px;font-weight:800;color:#008f9c}.calendar-item strong{font-size:14px}.calendar-item p{font-size:13px;line-height:1.55;margin:5px 0 0}.train-scroll{overflow-x:auto;padding:14px 5px 5px;border:1px solid #d8e7ed;border-radius:14px;background:linear-gradient(#f5f9fc,#e6f1f5)}.train-track{min-width:1130px;padding:28px 14px 30px;position:relative}.train{display:flex;gap:11px;align-items:end;position:relative;z-index:2}.locomotive{width:139px;height:105px;background:#124866;border-radius:16px 19px 6px 6px;border-bottom:12px solid #0c344b;position:relative;flex-shrink:0}.chimney{position:absolute;left:19px;top:-25px;width:20px;height:26px;border-radius:3px;background:#124866}.loco-roof{position:absolute;left:0;top:-9px;width:91px;height:12px;background:#16b7c4;border-radius:8px}.loco-window{position:absolute;left:16px;top:18px;width:54px;height:37px;border:5px solid #1a738a;background:#a4e6f1;border-radius:9px}.loco-front{position:absolute;right:-7px;bottom:7px;width:34px;height:43px;border-radius:5px 12px 3px 3px;background:#1a8094}.wheels{position:absolute;bottom:-23px;left:9px;right:9px;display:flex;justify-content:space-around;pointer-events:none}.wheels i{width:24px;height:24px;border:6px solid #19394c;background:#d3e5e9;border-radius:50%}.wagon{height:102px;width:128px;flex-shrink:0;position:relative;background:linear-gradient(#fff 0 15%,#e1f5f7 15% 70%,#008f9c 70%);border:3px solid #1c6e82;border-bottom:10px solid #0b536b;border-radius:10px 10px 5px 5px;padding:7px;color:#142b49;transition:transform .15s}.wagon:before{content:'';position:absolute;left:-15px;top:59px;width:14px;height:8px;background:#526c78}.wagon:hover{transform:translateY(-5px);background:linear-gradient(#fff 0 15%,#c9f3f4 15% 70%,#007a87 70%)}.wagon-num{position:absolute;right:7px;top:-12px;background:#f59e45;border:2px solid white;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;font-size:13px;font-weight:800}.wagon-window{height:56px;display:flex;align-items:center;justify-content:center;text-align:center;background:white;border:3px solid #91cbd3;border-radius:5px;padding:4px;font-size:10px;line-height:1.2;font-weight:800;overflow-wrap:anywhere}.wagon .wheels{bottom:-23px}.wagon .wheels i{width:22px;height:22px;border-width:5px}.rails{position:absolute;left:0;right:0;bottom:16px;height:5px;background:#6a8491;box-shadow:0 9px 0 #6a8491}.guide-tip{background:#e9f7f8;padding:13px 17px;border-radius:12px;font-size:13px;line-height:1.55;margin:14px 0}.home-next{display:flex;justify-content:space-between;align-items:center;gap:18px}.home-next h3{margin:6px 0}.home-next p{font-size:13px;margin:0}.home-next .btn{flex-shrink:0}.mentor-foot{display:flex;align-items:center;gap:12px;padding-bottom:14px;font-size:13px}.mentor-foot strong{display:block;margin-bottom:3px;color:#142b49}.mentor-icon{display:grid;place-items:center;font-size:28px;background:#e9f7f8;border-radius:50%;width:48px;height:48px}.disclaimer{border-top:1px solid #dce6ed;padding-top:14px;font-size:12px}@media(max-width:1000px){.guide{display:none}.calendar-grid{grid-template-columns:1fr}}@media(max-width:720px){.hero{padding:20px}.home-next{flex-direction:column;align-items:start}.content{padding-top:17px}}

/* Редакция 1.2 — команда, конструктор, подсказки */
.helper-hint{font-size:11px!important;font-style:italic;color:#607489;line-height:1.5!important}
.role-leader{max-width:560px;margin:0 auto;display:flex;gap:17px;align-items:center;border-top:4px solid #008f9c}
.role-leader p,.role-card p{font-size:13px;line-height:1.65;margin:7px 0 12px}
.role-name{font-family:"Segoe UI",Arial,sans-serif;font-weight:800;color:#142b49;font-size:17px}
.role-icon{width:42px;height:42px;flex-shrink:0;display:grid;place-items:center;background:#e3f5f7;border-radius:12px;color:#008f9c;font-size:25px;font-weight:800}
.role-branches{width:2px;height:27px;background:#9dcbd0;margin:auto;position:relative}
.role-branches:after{content:'';position:absolute;top:26px;left:-270px;width:540px;max-width:70vw;height:2px;background:#9dcbd0}
.role-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.role-card{padding:19px;display:flex;flex-direction:column;align-items:flex-start}
.role-card h3{font-size:15px;margin:12px 0 0}
.role-card .tag{margin-top:auto}
.download-card{display:flex;align-items:center;gap:18px}
.download-card h3{margin:0 0 7px}.download-card p{font-size:13px;margin:6px 0;line-height:1.6}
.download-card .btn{white-space:nowrap;margin-left:auto}.download-icon{font-size:35px;background:#e8f7f8;padding:14px;border-radius:14px;color:#008f9c}
.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tool-card h3{margin:8px 0}.tool-card p{font-size:13px;margin:6px 0 14px}.tool-card a{font-size:13px;font-weight:700}
.tool-mark{font-size:27px;color:#008f9c}
.inline-link{background:none;border:0;border-bottom:1px solid #008f9c;color:#008f9c;padding:0;display:inline;font-weight:700;line-height:inherit}
.builder-card{border-top:4px solid #008f9c;margin:20px 0 28px}
.builder-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}
.builder-heading h2{margin:6px 0}.builder-heading p{font-size:13px;margin:0;line-height:1.6}
.builder-heading .btn{flex-shrink:0}
.builder-fields{border-top:1px solid #dce6ed;margin-top:18px;padding-top:20px;display:grid;gap:18px;max-width:780px}
.builder-fieldset{border:0;padding:0;margin:0;display:grid;gap:10px}
.builder-fieldset legend{font-weight:800;margin-bottom:10px}
.builder-fieldset label{display:flex;align-items:center;gap:9px;font-size:14px}
.builder-field{display:grid;gap:8px;font-size:14px;font-weight:700}
.builder-field input,.builder-field select,.builder-result textarea{width:100%;padding:12px 13px;border:1px solid #cbd9e3;border-radius:10px;background:#fff;color:#172b42}
.builder-field .helper-hint{font-weight:400}
.builder-result{background:#eaf7f8;padding:18px;border-radius:13px;display:grid;gap:10px}
.builder-result textarea{resize:vertical;font-size:15px;line-height:1.6}
.builder-error{font-size:13px;color:#b33343;margin:0}
.catalog-intro{display:flex;gap:20px;align-items:center;background:#eaf7f8;border-radius:17px;padding:17px 22px}
.catalog-guide{font-size:55px}.catalog-intro h2{margin:5px 0;font-size:20px}.catalog-intro p{font-size:14px;margin:5px 0;line-height:1.6}
[hidden]{display:none!important}
@media(max-width:1100px){.role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.role-branches:after{display:none}}
@media(max-width:720px){.role-grid,.tool-grid{grid-template-columns:1fr}.download-card{flex-wrap:wrap}.download-card .btn{margin-left:0}.builder-heading{align-items:flex-start;flex-direction:column}.catalog-guide{font-size:42px}.catalog-intro{padding:14px;gap:10px}}

/* Версия 1.3: единый стиль и адаптивность */
:root{--navy:#142b49;--teal:#008f9c}
body{background:#f5f9fc;color:#142b49}
.card,.panel{border-radius:18px;box-shadow:0 7px 22px rgba(20,43,73,.055);border:1px solid #dce8f0}
.btn{border-radius:12px}
.compact-calendar{padding:18px 22px;margin:22px 0}
.calendar-head{display:flex;justify-content:space-between;align-items:center;gap:15px}
.calendar-head h2{margin:0 0 4px}.calendar-head p{margin:0}
.calendar-mini{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:15px}
.calendar-step{display:flex;flex-direction:column;text-align:center;gap:5px;background:#e8f3f8;border-radius:12px;padding:12px 5px}
.calendar-step strong{font-size:13px}.calendar-step span{font-size:11px;color:#526c7e}
.calendar-step:last-child{background:#008f9c;color:white}.calendar-step:last-child span{color:#e3f8fa}
#calendarDetails{border-top:1px solid #e1e9ef;margin-top:15px;padding-top:15px}
.role-person{overflow:hidden}.role-portrait{width:100%;height:185px;object-fit:cover;object-position:center 18%;border-radius:14px 14px 6px 6px;display:block;margin-bottom:10px}
.role-leader .role-portrait{width:145px;height:155px;margin:0;flex-shrink:0}
.role-card{padding:12px}.role-card h3,.role-card p,.role-card .tag{margin-left:7px;margin-right:7px}
.role-grid{gap:13px}
.work-row{cursor:pointer;transition:background .18s}.work-row:hover,.work-row:focus-visible{background:#eaf7f8;outline:2px solid #008f9c;outline-offset:-2px}
.work-cell-link{background:none;border:0;padding:5px 0;color:#006f7e;text-align:left;font:inherit;font-weight:700;cursor:pointer}
.work-cell-link span{margin-left:5px}
.transport-note{background:#eaf7f8;border-left:4px solid #008f9c;border-radius:14px;padding:16px 20px;margin:17px 0 20px}
.transport-note p{margin:7px 0 0;font-size:14px;line-height:1.7}
.panel,.section,.detail,.topic,.lesson-paragraph{min-width:0;overflow-wrap:anywhere}
.panel a,.section a,.detail a,.lesson-paragraph a{overflow-wrap:anywhere;word-break:break-word}
.source-link{display:inline-flex;max-width:100%;align-items:center;padding:7px 11px;border-radius:9px;background:#e8f5f7;color:#007b89;font-weight:700;text-decoration:none;font-size:13px}
.source-link:hover{text-decoration:underline;background:#d5eff1}
@media(max-width:760px){.calendar-mini{grid-template-columns:repeat(2,minmax(0,1fr))}.role-leader .role-portrait{width:115px;height:145px}.role-portrait{height:220px}}

/* v1.4 — единая визуальная система персонажей и поезда */
:root{--character-blue:#eaf5ff;--character-teal:#e8f8f7}
.content{background:linear-gradient(165deg,#f7fbff 0%,#ffffff 55%,#f5faff 100%)}
.card,.panel,.section{box-shadow:0 5px 20px rgba(17,54,89,.045)}
.character-hint{display:flex;align-items:center;gap:18px;min-height:116px;border:1px solid #d8eaf3;background:linear-gradient(105deg,#e9f5ff,#f2f9ff 65%,#eaf9f7);border-radius:20px;padding:12px 23px 12px 10px;margin:0 0 25px;overflow:hidden}
.character-hint img{width:105px;height:110px;object-fit:cover;object-position:center 22%;border-radius:17px;flex-shrink:0;mix-blend-mode:multiply}
.character-name{font-weight:800;color:#008f9c;font-size:13px;margin-bottom:7px}
.character-hint p{margin:0;line-height:1.55;color:#172b42;font-size:14px}
.guide-face-3d{width:118px!important;height:145px!important;object-fit:cover;object-position:23% center;border-radius:22px;display:block}
.hero{position:relative;overflow:hidden;background-image:linear-gradient(90deg,rgba(16,46,79,.95) 0%,rgba(17,60,94,.92) 49%,rgba(19,77,106,.60) 100%),url('assets/train-hero.webp');background-size:cover;background-position:center}
.mentor-avatar{width:52px;height:52px;border-radius:50%;object-fit:cover;object-position:24% 22%;border:2px solid #bdeaf0}
.catalog-guide-portrait{width:90px;height:96px;border-radius:18px;object-fit:cover;object-position:22% center;flex-shrink:0;mix-blend-mode:multiply}
.locomotive-3d{background:linear-gradient(145deg,#ecfcff 0%,#9be6f2 38%,#22a9c0 72%,#08768b 100%)!important;border:2px solid #147d96!important;box-shadow:inset 0 9px 11px #fff9,0 10px 16px #10496a3b}
.locomotive-3d .loco-front{background:linear-gradient(125deg,#e9fdff,#5fcadd)!important}
.wagon{background:linear-gradient(165deg,#f8fdff 0%,#d8f4fa 38%,#8cd9e8 100%)!important;box-shadow:inset 0 8px 8px #fff8,0 9px 13px #10496a30!important;border-color:#2b9fb6!important}
.wagon:hover{transform:translateY(-5px)}
.wagon-window{background:linear-gradient(140deg,#effbff,#d0eafa)!important}
@media(max-width:650px){.character-hint{padding:10px;gap:12px;min-height:100px}.character-hint img{width:74px;height:88px}.character-hint p{font-size:12px}.guide-face-3d{width:80px!important;height:105px!important}.catalog-guide-portrait{width:65px;height:78px}}

/* Version 1.5 */
.nav button{display:flex;align-items:center;gap:11px;width:100%;transition:background .2s,color .2s}.nav-icon{width:21px;height:21px;flex-shrink:0}.nav button:hover .nav-icon{transform:translateY(-1px)}
.calendar-mini{position:relative;gap:0;margin:23px 0 5px}.calendar-mini:before{content:"";position:absolute;top:11px;left:12%;right:12%;height:3px;background:#c4e4e9}.calendar-step,.calendar-step:last-child{background:transparent;color:var(--navy);padding:0 8px;position:relative;gap:7px}.calendar-step:before{content:"";display:block;width:22px;height:22px;border-radius:50%;background:#fff;border:6px solid var(--teal);box-shadow:0 0 0 4px #e5f5f7;z-index:1;margin:0 auto 6px}.calendar-step:last-child:before{background:var(--teal);border-color:#007782}.calendar-step:last-child span{color:#526c7e}.calendar-step strong{font-size:13px}.calendar-item{border:1px solid #e0ebef;text-align:left;cursor:pointer;font:inherit;align-items:start;transition:transform .2s,border-color .2s,background .2s}.calendar-item:hover{transform:translateY(-2px);border-color:var(--teal);background:#edf9fa}.calendar-desc{display:block;font-size:13px;line-height:1.55;margin-top:5px;color:var(--muted)}.calendar-arrow{margin-left:auto;color:var(--teal);font-weight:800}.role-leader{transform:scale(1.1);transform-origin:center;margin:20px auto 30px;max-width:min(82%,680px)}.role-grid{margin-top:15px}.mentor-avatar{object-fit:cover;border-radius:50%;object-position:center 24%}.wagon{border-radius:14px 14px 6px 6px!important;box-shadow:inset 0 5px 8px #fff,0 9px 14px #164b6530!important}.wagon-window{font-size:9.5px;line-height:1.15}.locomotive{background:linear-gradient(145deg,#c9f6ff,#2889ac 45%,#0e5479);border-radius:18px 22px 7px 7px;box-shadow:inset 0 8px 10px #ffffff80,0 9px 13px #10496a30}.helper-hint{font-style:italic}@media(max-width:720px){.calendar-mini{grid-template-columns:1fr;gap:10px;padding-left:22px}.calendar-mini:before{top:12px;bottom:15px;left:10px;width:3px;height:auto;right:auto}.calendar-step{flex-direction:row;text-align:left;align-items:center;gap:12px;padding:0}.calendar-step:before{margin:0;width:20px;height:20px;flex-shrink:0}.calendar-step span{margin-left:auto}.role-leader{transform:none;max-width:100%}}

/* v1.5.1: цельный поезд — ортографический вид сбоку, объёмная 3D-стилизация */
.train-scroll{background:linear-gradient(180deg,#eaf8ff 0%,#f9fdff 62%,#e2eff5 100%);border:1px solid #cce3ef;box-shadow:inset 0 3px 14px #fff,0 8px 22px #163f6210;padding:18px 8px 8px}
.train-track{min-width:1670px;padding:48px 25px 44px}
.train-modern{align-items:flex-end;gap:12px;filter:drop-shadow(0 12px 7px #1e59722a)}
.locomotive-modern{width:220px;height:118px;flex:none;position:relative;overflow:visible;border:2px solid #3c8da6!important;border-radius:54px 25px 12px 12px!important;background:linear-gradient(170deg,#fff 0%,#f4fdff 17%,#a7e2ee 43%,#e6faff 55%,#56b6d0 76%,#147795 94%)!important;box-shadow:inset 0 7px 8px #ffffffd9,inset 0 -8px 9px #075d7e33,0 10px 12px #1e59722b!important;clip-path:polygon(0 47%,8% 22%,23% 6%,75% 0,100% 12%,100% 100%,0 100%)}
.loco-roof-modern{position:absolute;top:3px;left:63px;right:13px;height:9px;border-radius:50%;background:linear-gradient(#fff,#c7eaf2)}
.loco-windshield{position:absolute;left:26px;top:25px;width:77px;height:39px;background:linear-gradient(150deg,#d8faff 5%,#6dbbd1 30%,#1e6588 67%,#143d65);border:4px solid #f3fdff;border-radius:40px 13px 10px 9px;box-shadow:0 2px 5px #0b507b55}
.loco-door{position:absolute;right:22px;top:24px;width:37px;height:65px;border:3px solid #c6eef6;border-radius:10px;background:linear-gradient(125deg,#d9f6fa,#76c3d8)}
.loco-stripe{position:absolute;left:8px;right:0;bottom:21px;height:13px;background:linear-gradient(90deg,#007ca5,#00b4c7,#1681b2);border-top:3px solid #fff9;transform:skewY(-1deg)}
.loco-light{position:absolute;left:8px;top:68px;width:14px;height:9px;background:#fff9c6;border-radius:8px;box-shadow:0 0 9px #fff7a9}
.loco-bogie,.wagon-bogie{position:absolute;bottom:-15px;width:62px;height:19px;border-radius:7px;background:linear-gradient(#48687a,#1b3b50);box-shadow:inset 0 2px #93a9b5}
.loco-bogie:before,.loco-bogie:after,.wagon-bogie:before,.wagon-bogie:after{content:"";position:absolute;bottom:-7px;width:20px;height:20px;border:5px solid #263e50;border-radius:50%;background:radial-gradient(circle,#b9d2da 0 35%,#567789 38% 55%,#253b4b 57%)}
.loco-bogie:before,.wagon-bogie:before{left:5px}.loco-bogie:after,.wagon-bogie:after{right:5px}
.bogie-first{left:23px}.bogie-second{right:20px}
.wagon-modern{width:190px;height:110px;flex:none;position:relative;overflow:visible;padding:0!important;border:2px solid #4d9fb6!important;border-bottom:8px solid #147493!important;border-radius:16px 16px 8px 8px!important;background:linear-gradient(160deg,#fff 0%,#f2fcff 19%,#bde9f3 48%,#e9fbff 59%,#69bfd2 86%,#238ba8 100%)!important;box-shadow:inset 0 7px 9px #fff,inset 0 -8px 10px #0c6d8d38,0 9px 13px #10496a30!important;cursor:pointer;transition:transform .18s,filter .18s}
.wagon-modern:before{content:"";position:absolute;left:-14px;top:72px;width:14px;height:8px;border-radius:3px;background:linear-gradient(#8a9eaa,#354e61)}
.wagon-modern:hover{transform:translateY(-7px);filter:brightness(1.04)}
.wagon-modern:focus-visible{outline:3px solid #f59e45;outline-offset:6px}
.wagon-roof{position:absolute;top:-5px;left:9px;right:9px;height:10px;border-radius:100% 100% 0 0;background:linear-gradient(#fff,#9ed8e6)}
.wagon-glazing{position:absolute;left:14px;right:14px;top:12px;height:28px;display:flex;gap:8px}
.wagon-glazing i{flex:1;border:2px solid #eaffff;border-radius:5px;background:linear-gradient(140deg,#d2faff 0%,#67b7d0 42%,#235f88 100%);box-shadow:inset 3px 2px 3px #fff9,0 2px 3px #1a5b7950}
.wagon-modern .wagon-num{z-index:3;top:-20px;right:8px;width:29px;height:29px;font-size:14px;background:linear-gradient(145deg,#ffd79a,#f59e45);box-shadow:0 3px 5px #6a502b33}
.wagon-modern .wagon-window{position:absolute;left:9px;right:9px;top:48px;height:43px;border:1px solid #d6f7ff;border-radius:7px;padding:4px 6px;background:linear-gradient(150deg,#fff,#e8f9fc)!important;box-shadow:0 2px 5px #0b5a7633;font-size:11px;line-height:1.12;color:#153b56;display:flex;align-items:center;justify-content:center;overflow-wrap:normal}
.wagon-modern .wagon-bogie{bottom:-22px;width:58px;height:15px}
.train-track .rails{bottom:12px;height:5px;background:#587483;box-shadow:0 10px 0 #587483,0 16px 0 #a7bdc8}
@media(max-width:720px){.train-track{min-width:1670px}}

/* v1.7 teaching UI */
.example-card{display:flex;gap:14px;padding:17px 20px;border-radius:17px;margin:16px 0;border:1px solid;line-height:1.55}.example-card p{margin:5px 0 0}.example-icon{display:flex;flex:0 0 38px;width:38px;height:38px;border-radius:50%;align-items:center;justify-content:center;font-size:24px;background:#fff}.example-bad{background:#fff0f1;border-color:#f4bcc2;color:#832635}.example-good{background:#eaf9ee;border-color:#a7ddba;color:#175a35}.example-important{background:#eaf6ff;border-color:#a4d5f5;color:#174b75}.example-important .example-icon{font-size:22px}.progress-caption{font-size:13px;font-weight:700;color:#397083;margin-bottom:7px}.template-link{font-size:13px!important;white-space:normal!important;text-align:center}.work-jumps{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0}.trainer-panel{border:1px solid #b9d7de;border-radius:16px;background:#f7fbfc;padding:20px;margin:16px 0}.trainer-meta{font-size:13px;color:#477887;margin-bottom:12px}.trainer-answers{display:grid;gap:9px}.trainer-answers button{padding:12px;text-align:left;border-radius:10px;border:1px solid #b6d2dc;background:#fff;color:#173e50;cursor:pointer}.trainer-answers button.answer-right{background:#dff6e7;border-color:#45b878}.trainer-answers button.answer-wrong{background:#ffe3e6;border-color:#d76b76}.trainer-feedback{padding:10px 0;font-weight:600;min-height:28px}.trainer-next:disabled{opacity:.45}.trainer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.trainer-grid label{display:grid;gap:6px;font-weight:600}.trainer-grid select,.module-row select{padding:10px;border:1px solid #b9cbd3;border-radius:9px;max-width:100%;min-width:0;background:white;color:#16384a}.trainer-output{margin-top:16px;padding:16px;background:#e6f5f5;border-radius:12px;line-height:1.8}.module-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #d8e5e9}.module-row .module-error{border-color:#d66a74;background:#fff0f1}.lesson-paragraph{line-height:1.75}.lesson-paragraph b{color:#135b70;text-decoration:underline;text-decoration-color:#9ad5df;text-underline-offset:3px}@media(max-width:650px){.trainer-grid,.module-row{grid-template-columns:1fr}.example-card{padding:13px}.template-link{font-size:12px!important}}

/* v1.8: readable instructional slides */
.lesson-spread .chapter-content{max-width:830px}
.lesson-spread .chapter-content>.lesson-paragraph{margin:0 0 18px;line-height:1.7}
.lesson-lead{font-size:18px;line-height:1.6;font-weight:600;color:#173e58;background:#f0f8fb;border-radius:14px;padding:18px 22px;margin:0 0 24px}
.lesson-section-label{font-size:15px!important;letter-spacing:.02em!important;text-transform:none!important;color:#176078!important;font-weight:800;margin:26px 0 12px!important}
.lesson-resources{margin:22px 0 26px}
.lesson-resource{display:flex;align-items:center;gap:14px;min-width:0;padding:15px 17px;margin:9px 0;background:#f5fafc;border:1px solid #d5e7ed;border-radius:12px;text-decoration:none!important;color:#133d53!important;overflow-wrap:anywhere}
.lesson-resource:hover,.lesson-resource:focus-visible{background:#e7f5f9;border-color:#75b9c9}
.lesson-resource>span:nth-child(2){flex:1;min-width:0}.lesson-resource strong,.lesson-resource small{display:block}.lesson-resource strong{font-size:15px}.lesson-resource small{font-size:12px;color:#587587;margin-top:3px}
.resource-glyph{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#d9eef4;color:#087c95;font-size:22px;flex:none}.resource-open{color:#087c95;font-size:12px;font-weight:800}
.lesson-info{border:1px solid #dce6ed;border-radius:13px;background:#f8fafc;margin:18px 0;color:#35526a;overflow:hidden}
.lesson-info summary{cursor:pointer;padding:15px 18px;font-weight:750;color:#305a70;list-style-position:inside}.lesson-info>div{padding:0 18px 17px;line-height:1.65}
.lesson-text-group{border-left:3px solid #d5e8ee;padding:4px 0 2px 18px;margin:14px 0 23px}.lesson-text-group .lesson-paragraph{margin:0 0 15px}.lesson-text-group .lesson-paragraph:last-child{margin-bottom:0}
.lesson-paragraph b,.lesson-lead b,.example-card b{color:#12667b;font-weight:800;text-decoration:underline;text-decoration-color:#99d5df;text-underline-offset:3px}
.example-important b{color:#174b75}.lesson-spread .chapter-content>h3:not(.lesson-section-label){border-bottom:1px solid #e4edf2;padding-bottom:9px}
@media(max-width:600px){.lesson-lead{font-size:16px;padding:14px}.resource-open{display:none}.lesson-resource{padding:12px}.lesson-text-group{padding-left:12px}}

/* v1.9 · deliberate hierarchy, semantic cards and rich practice */
[hidden]{display:none!important}
.lesson-spread{overflow:hidden}
.lesson-spread .chapter-content{max-width:880px}
.lesson-spread .chapter-title{letter-spacing:-.025em;margin-bottom:23px}
.lesson-spread .lesson-section-label{font-size:15px!important;line-height:1.45;padding:10px 15px;background:#eef7fb;border-left:3px solid #4bb6bb;border-radius:0 9px 9px 0;margin:23px 0 12px!important}
.lesson-paragraph{max-width:77ch;margin-bottom:17px;line-height:1.66;font-size:15.5px;overflow-wrap:anywhere}
.lesson-paragraph b{font-weight:800}
.lesson-paragraph a,.example-card a,.lesson-info a{color:#087aa0;text-decoration:underline;font-weight:750;overflow-wrap:anywhere;text-underline-offset:3px}
.lesson-paragraph a:hover,.example-card a:hover{color:#005f7a}
.example-card{gap:15px;margin:15px 0;padding:18px 20px;align-items:flex-start;border-radius:16px;color:#20374d}
.example-card .example-body{flex:1;min-width:0}
.example-card .example-body>strong{font-size:15px;color:inherit;display:block;letter-spacing:.01em}
.example-card .example-quote{color:#26384c;font-size:15.5px;font-weight:600;margin:7px 0 0;line-height:1.6;overflow-wrap:anywhere}
.example-card .example-explanation{color:#627386;font-size:12.5px;font-weight:500;margin:9px 0 0;line-height:1.55}
.example-bad{background:#fff3f2;border-color:#f4c5c5}
.example-good{background:#edf9f0;border-color:#bbdfc7}
.example-bad .example-icon{color:#d94a57}
.example-good .example-icon{color:#188b58}
.example-important{background:linear-gradient(110deg,#e7f4ff,#f4faff);border:1px solid #b7daef;margin-top:24px;gap:19px;box-shadow:0 7px 22px #3976a60c}
.example-important p{color:#26516e!important;line-height:1.7;font-size:15px;margin:7px 0 0!important}
.example-important .example-body>strong{color:#125f8e;font-size:16px}
.important-avatar{width:70px;height:70px;border-radius:50%;display:block;flex-shrink:0;overflow:hidden;border:3px solid #fff;box-shadow:0 3px 12px #2b649426;background:#dff3ff}
.important-avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 16%}
.norm-ref{display:block;max-width:fit-content;color:#007493!important;font-weight:700;text-decoration:underline;text-underline-offset:3px;line-height:1.6;margin:4px 0}
.lesson-spread .table td,.lesson-spread .table th{vertical-align:top;font-size:13px;line-height:1.6;min-width:110px}
.lesson-spread .table th{font-size:12.5px}
.lesson-spread .table td a{overflow-wrap:break-word}
.lesson-interactive{background:linear-gradient(135deg,#f0faff,#f5fcf9);border:1px solid #b6dde4;border-radius:17px;padding:23px;margin:22px 0 25px}
.interactive-head{display:flex;gap:12px;align-items:center;margin-bottom:20px}
.interactive-head strong{display:block;font-size:16px;color:#0b506d}
.interactive-head small{display:block;color:#65788d;margin-top:3px;font-size:12px}
.interactive-spark{background:#d9f4f7;width:43px;height:43px;display:grid;place-items:center;border-radius:13px;color:#03869c;font-size:25px}
.title-form{display:grid;grid-template-columns:1fr;gap:12px}
.title-form label{display:grid;gap:7px;color:#456174;font-size:12.5px;font-weight:800}
.title-form input,.title-form select{display:block;width:100%;background:#fff;border:1px solid #bbd1dc;padding:12px 13px;border-radius:9px;font-family:inherit;font-size:14px;color:#153d53;min-width:0}
.title-form input:focus,.title-form select:focus{outline:2px solid #72bfd0;outline-offset:1px}
.title-result{background:#fff;border:1px dashed #84bec8;border-radius:11px;margin:17px 0 12px;padding:15px 17px}
.title-result span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#648293;font-weight:900;margin-bottom:8px}
.title-result strong{display:block;font-size:16px;line-height:1.6;word-break:break-word;color:#0f4967}
.copy-status{font-size:12px;color:#297e7a;margin-left:12px;display:inline-block}
.flow-explain{margin:18px 0 28px;display:grid;justify-items:center}
.flow-card{position:relative;border:1px solid #d0e6ef;border-radius:13px;background:#f6fbfe;max-width:660px;width:100%;padding:15px 18px 15px 62px;display:grid;gap:7px}
.flow-card small{color:#4a7c8e;font-size:11px;text-transform:uppercase;letter-spacing:.07em;font-weight:900}
.flow-card b{color:#183e58;font-size:15px;line-height:1.55}
.flow-last{background:#e5f8f0;border-color:#9ed5b9}
.flow-step{position:absolute;left:16px;top:18px;width:33px;height:33px;border-radius:10px;background:#d9eff6;color:#0c7892;display:grid;place-items:center;font-weight:900;font-size:12px}
.flow-connector{color:#158da1;font-size:22px;line-height:30px;font-weight:900}
.trainer-jumps{display:grid;gap:10px;margin:18px 0 26px}
.trainer-jumps button{border:1px solid #b7d8df;background:#f3fafb;border-radius:12px;color:#185069;padding:12px 15px;text-align:left;display:flex;gap:12px;align-items:center;cursor:pointer;font-size:14px;font-weight:750}
.trainer-jumps button:hover{background:#e6f5f9;border-color:#6bb7c7;transform:translateY(-1px)}
.trainer-jumps button>span{display:grid;place-items:center;min-width:28px;height:28px;background:#dceef4;border-radius:9px;font-size:16px}
.trainer-jumps button>b{margin-left:auto;color:#318ba4}
.trainer-output{display:grid;gap:9px;line-height:1.55}
.trainer-output>div{background:#fff;padding:11px 13px;border-radius:9px;border:1px solid #cbdfe5;display:grid;gap:3px}
.trainer-output small{font-size:10.5px;color:#4b7b8b;text-transform:uppercase;letter-spacing:.04em;font-weight:900}
.trainer-output strong{font-size:13.5px;color:#16485a;font-weight:750}
.copy-requirement{margin-top:15px}
.victory-slide{padding:0!important;background:#ecf8fc!important}
.victory{position:relative;text-align:center;padding:36px 22px 32px;overflow:hidden}
.victory-eyebrow{display:inline-block;letter-spacing:.13em;font-size:12px;color:#107f9f;font-weight:900;margin-bottom:8px}
.victory h2{margin:0 0 10px;font-size:clamp(30px,4vw,50px);line-height:1.15;letter-spacing:-.04em;color:#093d57}
.victory>p{max-width:600px;margin:0 auto 24px;color:#3e657b;line-height:1.65;font-size:16px}
.victory-art{display:block;width:100%;max-width:900px;height:auto;max-height:550px;object-fit:cover;object-position:center;border-radius:16px;box-shadow:0 13px 28px #29556e26;margin:10px auto 25px}
.victory-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-bottom:13px}
.victory>small{color:#547e94;font-weight:750}
@media(max-width:760px){.lesson-spread .tablewrap{overflow-x:auto}.lesson-spread .table{min-width:580px}.example-card{padding:14px}.important-avatar{width:56px;height:56px}.lesson-paragraph{font-size:14px}.flow-card{padding:12px 12px 12px 54px}.flow-step{left:11px;top:13px}.victory{padding:27px 12px}.victory-art{border-radius:11px}.copy-status{display:block;margin:8px 0 0}}

/* Practical work 2 · stakeholder-matrix study flow (v1.10) */
.lesson-navline{gap:18px;align-items:center;flex-wrap:wrap;justify-content:space-between}
.lesson-download-toolbar,.lesson-nav-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.lesson-nav-actions{margin-left:auto;justify-content:space-between}
.lesson-download-toolbar .btn{padding:10px 13px;max-width:240px;line-height:1.35;white-space:normal}
.stake-intro .lesson-lead{max-width:780px;font-size:16px;line-height:1.75;color:#334f62;margin:0 0 17px}
.stake-intro>p:not(.lesson-lead){font-size:15px;line-height:1.8;max-width:780px;color:#3d5669}
.stake-overview-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:27px 0}
.stake-overview-cards>div{padding:20px 16px;background:linear-gradient(145deg,#f3f9fc,#edf7f9);border:1px solid #d8eaf0;border-radius:16px;display:flex;flex-direction:column;gap:8px}
.stake-overview-cards>div>span{color:#1491a2;font-size:23px;font-weight:900}
.stake-overview-cards>div>b{color:#173e54;font-size:15px}
.stake-overview-cards>div>small{color:#597588;font-size:12px;line-height:1.5}
.stake-start-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.stake-downloads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}
.stake-file{display:flex;gap:12px;align-items:center;border:1px solid #c9e1eb;background:#f8fcff;border-radius:15px;padding:15px;color:#18445d;text-decoration:none;min-width:0;transition:transform .15s,box-shadow .15s}
.stake-file:hover{transform:translateY(-2px);box-shadow:0 9px 21px #163d5616;border-color:#78bec9}
.stake-file-icon{flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center;background:#246eb0;border-radius:12px;color:white;font-size:18px;font-weight:900}
.stake-file-icon.xls{background:#19805c}
.stake-file>span:nth-child(2){display:grid;gap:4px;min-width:0;flex:1}
.stake-file strong{font-size:13px;line-height:1.35;color:#183e54}
.stake-file small{font-size:11.5px;color:#5e8091;line-height:1.5}
.stake-file>b{font-size:12px;color:#0b889a;white-space:nowrap}
.lesson-figure{margin:24px 0 30px;border:1px solid #d7e5ee;border-radius:19px;overflow:hidden;background:#f7fbfe;box-shadow:0 10px 22px #183a5110}
.lesson-figure img{width:100%;height:auto;display:block}
.lesson-figure figcaption{padding:12px 17px;border-top:1px solid #e2edf4;font-size:12px;color:#5b7487;line-height:1.5}
.stake-check-download{margin-top:24px;border-top:1px solid #e1edf3;padding-top:20px}
.stake-check-download>p{color:#45677c;font-size:14px;line-height:1.7}
.stake-victory{background:linear-gradient(180deg,#e8f9f8,#f4fcff)}
.stake-victory .victory-art{object-fit:contain;box-shadow:0 15px 35px #1b4d661e}
.stake-victory .victory-actions{margin:20px auto;max-width:750px}
.stake-victory .victory-actions .btn{justify-content:center;flex:1 1 170px}
.stake-victory>small{display:block;max-width:600px;margin:0 auto;line-height:1.5}
.stake-widget{padding:24px;border:1px solid #d4e8ef;border-radius:19px;background:#f8fcfd}
.stake-widget-controls{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:13px;margin-bottom:26px}
.stake-widget-controls label{display:grid;gap:8px;font-size:12px;color:#425d71;font-weight:800;background:white;border:1px solid #e0ebf1;border-radius:12px;padding:14px}
.stake-widget-controls input[type=range]{width:100%;accent-color:#008f9c}
.stake-widget-controls select{min-width:0;width:100%;padding:8px;background:white;border-radius:8px;border:1px solid #c7d9e2;color:#143a51}
.stake-plot-area{max-width:600px;margin:auto;display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:center}
.stake-y-label{writing-mode:vertical-rl;transform:rotate(180deg);font-size:12px;letter-spacing:.09em;color:#19556c;font-weight:900;text-align:center}
.stake-plot{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;aspect-ratio:1.36;position:relative;outline:1px solid #9db8c8;background:white;border-radius:12px;overflow:hidden}
.stake-q{padding:18px 13px;display:flex;flex-direction:column;gap:8px;text-align:left;min-width:0}
.stake-q b{font-size:13px;color:#18415b}
.stake-q span{font-size:10px;line-height:1.45;color:#587589}
.stake-ql{background:#fff2e6;border-right:2px solid #9bb5c7;border-bottom:2px solid #9bb5c7}
.stake-qr{background:#e5f2ff;border-bottom:2px solid #9bb5c7}
.stake-qbl{background:#edf2f8;border-right:2px solid #9bb5c7}
.stake-qbr{background:#e6f7ee}
.stake-marker{position:absolute;z-index:3;width:24px;height:24px;background:#0e7898;border:4px solid #fff;border-radius:50%;box-shadow:0 2px 10px #1d465355;transform:translate(-50%,50%);transition:left .12s,bottom .12s}
.stake-x-label{margin:12px auto 0;text-align:center;font-size:12px;letter-spacing:.08em;color:#19556c;font-weight:900}
.stake-widget-readout{margin:22px auto 0;max-width:590px;display:grid;gap:6px;border-radius:13px;background:white;border:1px solid #d8e8ef;padding:16px;font-size:14px;line-height:1.55;color:#37586d}
.stake-widget-readout>b{color:#12485e}
@media(max-width:1000px){.stake-widget-controls{grid-template-columns:1fr}.lesson-download-toolbar{width:100%}.lesson-nav-actions{width:100%;margin:0}}
@media(max-width:700px){.stake-overview-cards,.stake-downloads{grid-template-columns:1fr}.stake-widget{padding:12px}.stake-q{padding:10px 8px}.stake-q b{font-size:10px}.stake-q span{font-size:9px}.stake-file>b{font-size:11px}.lesson-figure{margin:18px -10px}.stake-start-actions .btn{width:100%}.stake-widget-controls{gap:10px}.stake-plot-area{grid-template-columns:22px 1fr}}

/* Практическая работа № 3 — BPMN 2.0 */
.bpmn-icon-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:22px 0 25px}
.bpmn-icon-card{display:flex;gap:16px;align-items:flex-start;padding:19px 18px;border:1px solid #dbe9ee;background:linear-gradient(145deg,#f8fcff,#f1f9fb);border-radius:15px;box-shadow:0 5px 15px #244a5c0a}
.bpmn-card-emoji{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;border-radius:13px;background:white;border:1px solid #dce8ef;color:#098e9a;font-size:25px;line-height:1}
.bpmn-icon-card strong{font-size:15px;color:#163b56;line-height:1.45}
.bpmn-icon-card p{margin:7px 0 0;color:#526d7d;font-size:13.5px;line-height:1.65}
.bpmn-steps{display:flex;flex-direction:column;gap:10px;margin:22px 0 27px}
.bpmn-step{display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;align-items:start;border:1px solid #dbe8ec;background:#f9fcff;border-radius:14px;padding:17px 20px}
.bpmn-step-number{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;color:#027f8f;background:#def3f5;font-size:14px;font-weight:900}
.bpmn-step strong{display:block;color:#163e55;font-size:15px;line-height:1.45}
.bpmn-step p{margin:6px 0 0;font-size:14px;line-height:1.68;color:#496577}
.bpmn-pdf-link{display:flex;align-items:center;gap:16px;padding:19px;border-radius:15px;border:1px solid #cce5eb;background:#eff9fb;margin:24px 0;text-decoration:none;color:#173e53}
.bpmn-pdf-link .bpmn-pdf-icon{display:grid;place-items:center;width:53px;height:58px;flex:0 0 53px;border-radius:10px;color:white;background:#bc4b56;font-weight:900;letter-spacing:.5px}
.bpmn-pdf-link strong,.bpmn-pdf-link small{display:block}
.bpmn-pdf-link strong{font-size:15px}.bpmn-pdf-link small{font-size:12px;color:#627785;margin-top:5px}
.bpmn-pdf-link>span:last-child{margin-left:auto;white-space:nowrap;font-weight:800;color:#007b89;font-size:13px}
.bpmn-figure{margin:24px 0 29px}.bpmn-figure>a{display:block;background:#f8fbfe;overflow:hidden}
.bpmn-figure img{width:100%;height:auto;display:block;transition:filter .2s}
.bpmn-figure a:hover img{filter:brightness(.985)}
.bpmn-zoom{display:block;color:#0a8b97;font-weight:700;margin-top:5px}
.bpmn-compare-widget{border:1px solid #d5e6eb;border-radius:20px;background:#f8fcfe;padding:18px}
.bpmn-switch{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.bpmn-switch button{background:white;border:1px solid #c8dde4;border-radius:10px;padding:11px 16px;color:#23506a;font-size:13px;font-weight:800;cursor:pointer}
.bpmn-switch button.selected{color:white;background:#007c90;border-color:#007c90;box-shadow:0 7px 14px #08788922}
.bpmn-switch.secondary button.selected{color:#065e7b;background:#def3f5;border-color:#9ad6d6;box-shadow:none}
.bpmn-switch-caption{background:white;border:1px solid #deebf0;border-radius:13px;padding:15px 17px;margin-bottom:15px}
.bpmn-switch-caption strong{color:#173e58;font-size:16px}
.bpmn-switch-caption p{color:#577386;line-height:1.6;font-size:13px;margin:6px 0 0}
.bpmn-compare-picture{display:block;overflow:hidden;border:1px solid #dce9ed;border-radius:15px;background:white}
.bpmn-compare-picture img{display:block;width:100%;height:auto}
.bpmn-compare-note{font-size:12px;line-height:1.6;color:#688296;padding:14px 4px 0}
.bpmn-victory .victory-art{object-fit:contain;box-shadow:0 15px 35px #1b4d661e}
.bpmn-victory .victory-actions{margin:20px auto;max-width:780px}
.bpmn-victory .victory-actions .btn{justify-content:center;flex:1 1 250px}
@media(max-width:760px){
 .bpmn-icon-grid{grid-template-columns:1fr}
 .bpmn-icon-card{padding:15px 13px}
 .bpmn-step{grid-template-columns:36px minmax(0,1fr);gap:11px;padding:15px 12px}
 .bpmn-step-number{width:36px;height:36px}
 .bpmn-pdf-link{flex-wrap:wrap}.bpmn-pdf-link>span:last-child{width:100%;margin-left:0}
 .bpmn-compare-widget{padding:10px}.bpmn-switch button{padding:10px 12px}
}

.bpmn-deeplink{margin:12px 0 26px;width:auto;max-width:100%;white-space:normal;text-align:left}


/* Матрица стейкхолдеров: пиктограммы, единые отступы и квадранты */
.stake-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 30px}
.stake-check-card{border:1px solid #d8e8ed;background:#f8fcfd;border-radius:16px;padding:20px 16px;display:flex;flex-direction:column;gap:15px;min-width:0;box-shadow:0 8px 20px #1b56700a}
.stake-check-visual{height:48px;width:48px;flex:0 0 48px;border-radius:14px;display:grid;place-items:center;color:#077b8a;background:#dff5f4}
.stake-check-visual.blue{color:#2970b7;background:#e7f1ff}
.stake-check-visual.purple{color:#7459a6;background:#f0ebfc}
.stake-check-visual svg{width:27px;height:27px}
.stake-check-text strong{font-size:15px;color:#143e58;line-height:1.36;display:block}
.stake-check-text p{font-size:13.5px;line-height:1.66;color:#42637a;margin:9px 0 0}
.stake-rule{display:flex;align-items:flex-start;gap:15px;padding:17px 20px;border:1px solid #c6e5eb;border-left:4px solid #13a0a9;background:#f1f9fb;border-radius:0 14px 14px 0;margin:18px 0 22px}
.stake-rule-icon{display:grid;place-items:center;color:#0b8492;width:41px;height:41px;flex:0 0 41px;border-radius:12px;background:white}
.stake-rule-icon svg{height:23px;width:23px}
.stake-rule strong{font-size:14px;color:#1b4c62;display:block}
.stake-rule p{font-size:13.5px;color:#486879;line-height:1.62;margin:7px 0 0}
.stake-buildsteps{list-style:none;margin:18px 0 26px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.stake-buildstep{display:flex;gap:11px;align-items:flex-start;margin:0;padding:17px 15px;border-radius:14px;background:#f8fbfe;border:1px solid #d8e7ed;min-width:0;min-height:138px}
.stake-build-num{flex:0 0 33px;height:33px;display:grid;place-items:center;background:#def3f5;color:#0a7885;border-radius:10px;font-size:12px;font-weight:900}
.stake-build-icon{width:33px;height:33px;flex:0 0 33px;display:grid;place-items:center;color:#317c9c;background:white;border:1px solid #dbe9ef;border-radius:10px}
.stake-build-icon svg{width:19px;height:19px}
.stake-build-text{min-width:0}.stake-build-text strong{display:block;color:#17435e;font-size:14px;line-height:1.4}
.stake-build-text p{font-size:13px;line-height:1.62;margin:6px 0 0;color:#506d80}
.stake-quad-grid,.stake-engage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:23px 0 28px}
.stake-quad-card,.stake-engage-card{border-radius:16px;border:1px solid #d8e6ef;padding:18px 19px;min-width:0}
.stake-tone-blue{background:#e7f1ff;border-color:#c6d9f1;--quad-accent:#286bb3;--quad-pill:#d3e7ff}
.stake-tone-orange{background:#fff2e5;border-color:#f2dcc1;--quad-accent:#bb6a1f;--quad-pill:#ffe0bb}
.stake-tone-green{background:#e9f7ee;border-color:#c9e9d3;--quad-accent:#25834c;--quad-pill:#c8ecd5}
.stake-tone-gray{background:#eef3f7;border-color:#d6dfe7;--quad-accent:#65798b;--quad-pill:#dae4eb}
.stake-quad-top{display:flex;align-items:center;gap:11px}.stake-quad-id{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;background:var(--quad-pill);color:var(--quad-accent);border-radius:13px;font-weight:900;font-size:16px}
.stake-quad-top h4,.stake-engage-head h4{font-size:15px;line-height:1.4;color:#153a57;margin:0}
.stake-quad-condition{font-size:12.5px;font-weight:800;color:var(--quad-accent);margin:14px 0 10px}
.stake-quad-card>p:not(.stake-quad-condition){color:#4d6176;font-size:13.5px;line-height:1.65;margin:8px 0}
.stake-quad-action{border-top:1px solid #b9c9d730;padding-top:10px}
.stake-engage-card{padding:0;overflow:hidden}
.stake-engage-head{display:flex;gap:12px;align-items:center;padding:18px 18px 15px;border-bottom:1px solid #ffffff90}
.stake-engage-head p{margin:5px 0 0;font-size:12.5px;color:var(--quad-accent);font-weight:700;line-height:1.4}
.stake-engage-body{background:#ffffffa8;padding:16px 18px 18px}
.stake-engage-body>strong{font-size:13px;color:#1b4b64}
.stake-engage-body ul{margin:9px 0 13px;padding-left:19px;list-style:disc}
.stake-engage-body li{font-size:13px;color:#415d73;line-height:1.55;margin:0 0 8px}
.stake-engage-meta,.stake-engage-example{font-size:12.5px;color:#4c6175;line-height:1.6;margin-top:9px}
.stake-engage-example{background:#f5faff;padding:10px 12px;border-radius:10px}
@media(max-width:980px){.stake-check-grid{grid-template-columns:1fr}.stake-check-card{flex-direction:row;align-items:flex-start}.stake-quad-grid,.stake-engage-grid{grid-template-columns:1fr}}
@media(max-width:700px){.stake-buildsteps{grid-template-columns:1fr}.stake-buildstep{min-height:0}.stake-check-grid{margin:14px 0}.stake-check-card{padding:15px}.stake-rule{padding:14px 13px}.stake-engage-body{padding:13px 15px}}

/* Работа № 5 — выбор методологии проекта */
.method-intro .stake-overview-cards{margin:24px 0}
.method-profile{border:1px solid #d9e8ed;border-radius:20px;overflow:hidden;margin:23px 0 27px;box-shadow:0 10px 32px #143c5909;background:white}
.method-profile-top{padding:24px 25px 21px;background:linear-gradient(135deg,#eaf6fa,#f8fbff)}
.method-profile.method-adaptive .method-profile-top{background:linear-gradient(135deg,#f2ecff,#faf8ff)}
.method-profile.method-flow .method-profile-top{background:linear-gradient(135deg,#ecf9f1,#f8fffb)}
.method-profile.method-verification .method-profile-top{background:linear-gradient(135deg,#eaf3ff,#f7fbff)}
.method-profile.method-risk .method-profile-top{background:linear-gradient(135deg,#fff2eb,#fffaf5)}
.method-profile.method-hybrid .method-profile-top{background:linear-gradient(135deg,#e7f8f8,#f4efff)}
.method-profile-badge{display:inline-flex;align-items:center;padding:8px 13px;border-radius:10px;color:#066b86;font-size:13px;font-weight:900;letter-spacing:.015em;background:white;border:1px solid #cfebf1}
.method-profile-top>p{font-size:15px;line-height:1.75;color:#34566b;margin:17px 0 20px}
.method-path{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.method-path span{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 10px;border-radius:9px;background:#fff;border:1px solid #d5e6ed;color:#234a62;font-size:11px;font-weight:800;line-height:1.25;text-align:center}
.method-path b{font-size:14px;color:#348da4}
.method-procon{display:grid;grid-template-columns:1fr 1fr;gap:0;border-bottom:1px solid #dbe9ee}
.method-procon section{padding:22px 23px}
.method-procon .method-pro{background:#f1fcf5;border-right:1px solid #d4eadc}
.method-procon .method-con{background:#fffaf2}
.method-procon h4{font-size:14px;font-weight:900;margin:0 0 13px;color:#247f4c}
.method-procon .method-con h4{color:#a66b25}
.method-procon ul{margin:0;padding-left:18px}
.method-procon li{font-size:13.2px;line-height:1.62;color:#3c596b;margin:0 0 9px}
.method-contexts{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding:19px 22px 6px}
.method-contexts>div{background:#f8fbff;border:1px solid #e3ecf2;border-radius:14px;padding:15px}
.method-contexts span{display:block;color:#134b6c;font-weight:900;font-size:13px;margin-bottom:8px}
.method-contexts p{margin:0;font-size:13.3px;line-height:1.65;color:#4d677b}
.method-applies{margin:11px 22px 21px;padding:13px 16px;background:#ecf7f7;border-radius:11px;color:#335e6c;line-height:1.65;font-size:13.4px}
.method-choice{margin:20px 0 25px;border:1px solid #d8e7eb;border-radius:16px;padding:21px;background:linear-gradient(135deg,#f1faf9,#f6f9ff)}
.method-choice-top{display:flex;gap:15px;align-items:flex-start}
.method-choice-top>span{display:grid;place-items:center;flex:0 0 44px;height:44px;background:#e2f5f5;border-radius:12px;font-size:25px}
.method-choice-top strong{display:block;color:#194861;font-size:15px;line-height:1.45}
.method-choice-top p{margin:7px 0 0;color:#4c6473;font-size:13.6px;line-height:1.65}
.method-choice ul{padding-left:21px;margin:13px 0 0 45px;color:#466276;font-size:13px;line-height:1.7}
.method-choice li{margin-bottom:6px}
.method-comparison{display:grid;gap:14px;margin:22px 0 25px}
.method-compare-card{border:1px solid #dbe5ef;border-radius:17px;overflow:hidden;background:#fff;--method-accent:#1b7192;--method-light:#eaf5fc}
.method-compare-card.tone-blue{--method-accent:#245aa8;--method-light:#eaf3ff}
.method-compare-card.tone-purple{--method-accent:#7552a7;--method-light:#f4edff}
.method-compare-card.tone-teal{--method-accent:#007f88;--method-light:#e4f8f6}
.method-compare-card>header{padding:16px 19px;display:flex;align-items:center;flex-wrap:wrap;gap:9px;justify-content:space-between;background:var(--method-light);border-bottom:1px solid #d9e7ef}
.method-compare-card h4{margin:0;color:var(--method-accent);font-size:15px}
.method-compare-card header>b{border:1px solid var(--method-accent);border-radius:999px;padding:5px 12px;font-size:11px;color:var(--method-accent);background:#ffffffb3}
.method-compare-card section{padding:13px 21px 2px}
.method-compare-card section strong{font-size:13px;color:#285570}
.method-compare-card ul{margin:8px 0 11px;padding-left:19px}
.method-compare-card li{font-size:13.2px;line-height:1.55;color:#456274;margin:4px 0}
.method-stageplan{display:grid;gap:12px;margin:20px 0 25px}
.method-stage{display:grid;grid-template-columns:46px 1fr;gap:15px;padding:17px 18px;border:1px solid #d7e5ed;background:#f8fbff;border-radius:14px;--method-accent:#146b9e;--method-light:#e3f3fe}
.method-stage.tone-purple{--method-accent:#6c52aa;--method-light:#efe7ff}
.method-stage.tone-teal{--method-accent:#007e87;--method-light:#e0f6f4}
.method-stage.tone-green{--method-accent:#277d54;--method-light:#e7f7ec}
.method-stage-no{display:grid;place-items:center;width:44px;height:44px;background:var(--method-light);color:var(--method-accent);border-radius:13px;font-size:17px;font-weight:900}
.method-stage strong{display:block;font-size:15px;color:#214961;margin:2px 0 6px}
.method-stage-tag{display:inline-flex;color:var(--method-accent);border:1px solid #cbdce6;border-radius:100px;font-size:11px;font-weight:800;padding:5px 11px;background:white}
.method-stage p{color:#4b6779;font-size:13.5px;line-height:1.65;margin:9px 0 0}
.method-mistakes{display:grid;gap:11px;margin:22px 0}
.method-mistake{display:grid;grid-template-columns:39px 1fr;gap:13px;padding:16px 18px;background:#f8fbfd;border:1px solid #dbe6ed;border-radius:14px}
.method-mistake-num{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;color:#0a8794;background:#e1f5f5;font-size:13px;font-weight:900}
.method-mistake h4{font-size:15px;color:#214b65;margin:0 0 8px}
.method-mistake p{font-size:13px;line-height:1.6;margin:5px 0}
.method-mistake-bad{color:#b04e51}
.method-mistake-fix{color:#26825a}
.method-quiz{background:linear-gradient(160deg,#f7fcfe,#f8faff);border:1px solid #d8e8ee;border-radius:18px;padding:24px;margin:22px 0}
.method-quiz-head{display:flex;gap:14px;flex-wrap:wrap;justify-content:space-between;padding-bottom:15px;border-bottom:1px solid #e2eaf1;color:#536d80;font-size:12px;font-weight:700}
.method-quiz-head b{color:#0c7b88}
.method-quiz>h3{font-size:19px;line-height:1.4;margin:20px 0 11px;color:#173c57}
.method-quiz>p{font-size:14px;line-height:1.75;color:#49687c;margin:0 0 20px}
.method-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:16px}
.method-options button{display:flex;gap:11px;align-items:center;text-align:left;border:1px solid #cfe0eb;background:white;border-radius:11px;min-height:53px;padding:12px 13px;color:#24516b;font-size:13.4px;font-weight:800;cursor:pointer;transition:.12s}
.method-options button:hover:not(:disabled){border-color:#29a1b1;background:#effafb}
.method-options button>span{font-size:10px;font-weight:900;color:#6e8ba2;background:#eff4f9;border-radius:6px;padding:7px}
.method-options button.correct{border-color:#49aa7c!important;background:#e8faf0!important;color:#206345!important}
.method-options button.incorrect{border-color:#db8790!important;background:#fff0f2!important;color:#a54351!important}
.method-options button:disabled{cursor:default;opacity:.95}
.method-feedback{margin:14px 0 18px}
.method-feedback:not(:empty){padding:17px 19px;border-radius:12px;background:#ecf7f6;border-left:4px solid #22a5a0;color:#214e5b}
.method-feedback strong{display:block;font-size:14px;margin-bottom:5px}
.method-feedback p{font-size:13.5px;line-height:1.65;margin:5px 0}
.method-feedback small{font-size:11.5px;color:#5d7b88;line-height:1.55}
.method-next:disabled{opacity:.5;cursor:not-allowed}
.method-victory .victory-art{object-fit:contain;box-shadow:0 15px 35px #1b4d661e}
.method-victory .victory-actions .btn{flex:1 1 220px;justify-content:center}
@media(max-width:750px){
 .method-procon,.method-contexts,.method-options{grid-template-columns:1fr}
 .method-procon .method-pro{border-right:0;border-bottom:1px solid #d5e7df}
 .method-profile-top{padding:18px 16px}
 .method-procon section{padding:18px}
 .method-contexts{padding:16px 13px 4px}
 .method-applies{margin:10px 13px 17px}
 .method-choice{padding:17px 12px}.method-choice ul{margin:12px 0 0 19px}
 .method-stage{grid-template-columns:39px 1fr;gap:11px;padding:13px 12px}
 .method-stage-no{width:39px;height:39px}
 .method-quiz{padding:16px 12px}
}

/* Работа 6: план работ и дорожная карта */
.roadmap-intro .lesson-highlight{margin-top:22px}
.roadmap-downloads{margin:22px 0}
.roadmap-widget-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:22px 0 16px}
.roadmap-option{display:flex;align-items:center;gap:8px;background:#f1f8fb;border:1px solid #dcecf3;border-radius:12px;padding:10px 12px;font-size:12px;color:#18466a;cursor:pointer}
.roadmap-option input{accent-color:#008f9c;flex:0 0 auto}
.roadmap-legend,.roadmap-gantt-note{color:#637b91;font-size:12px;margin:12px 0}
.roadmap-gantt{border:1px solid #e2ebf1;background:#fff;border-radius:15px;padding:13px}
.roadmap-gantt .ganttrow{display:grid;grid-template-columns:minmax(160px,44%) minmax(180px,56%);gap:12px;align-items:center;margin:8px 0;font-size:12px}
.roadmap-gantt .gantt-track{background:repeating-linear-gradient(90deg,#e7eef4 0px,#e7eef4 1px,#f6f9fc 1px,#f6f9fc 10%);border-radius:7px;height:18px;overflow:hidden}
.roadmap-gantt .ganttbar{height:18px;border-radius:6px;min-width:3px}
.roadmap-victory .victory-art{object-fit:contain}
@media(max-width:750px){.roadmap-widget-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.roadmap-gantt .ganttrow{grid-template-columns:minmax(110px,44%) minmax(140px,56%);font-size:11px}}

/* Карточки практических работ и транспортные направления */
.work-card {
 display: flex;
 flex-direction: column;
}
.work-card h3 {
 margin: 10px 0 20px;
}
.work-card-end {
 margin-top: auto;
}
.work-deadline {
 display: flex;
 align-items: center;
 gap: 10px;
 min-height: 53px;
 margin: 0 0 14px;
 padding: 8px 10px;
 border: 1px solid #dfecf0;
 border-radius: 10px;
 background: #f2f8fa;
 color: var(--muted);
 font-size: 12px;
 line-height: 1.4;
}
.work-deadline .nav-icon {
 width: 19px;
 height: 19px;
 color: #087d89;
 flex-shrink: 0;
}
.work-deadline strong {
 display: block;
 color: var(--navy);
 font-size: 14px;
}
.work-card .btn {
 width: 100%;
 justify-content: center;
 text-align: center;
}
.transport-mark {
 display: inline-flex;
 flex-direction: column;
 align-items: flex-start;
 gap: 7px;
 color: var(--navy);
 font-size: 12px;
}
.transport-mark-icons {
 display: flex;
 gap: 5px;
}
.transport-mark-icons span {
 display: grid;
 width: 33px;
 height: 33px;
 place-items: center;
 border-radius: 9px;
 background: #edf7f7;
 color: #16787d;
}
.transport-mark-icons span:nth-child(2) {background: #f8efe3; color: #875019}
.transport-mark-icons span:nth-child(3) {background: #edeafa; color: #5c49a4}
.transport-mark-icons span:nth-child(4) {background: #e6f0fc; color: #34639a}
.transport-mark-icons svg {width: 20px; height: 20px}
.sidebar .transport-mark {
 margin: 24px 12px 0;
}
.sidebar .sidefoot {margin-top: 22px}
.transport-banner {
 display: flex;
 align-items: center;
 gap: 18px;
}
.transport-banner .transport-mark {
 flex-shrink: 0;
}
.transport-banner p {margin: 0}
.transport-tag {background: #edf2fa; color: #365c8c}

/* Примеры для работ по ТЗ и интерфейсам */
.work-victory .victory-art {object-fit: contain}
.work-victory .victory-actions .btn {justify-content: center}
.requirement-example dl {margin: 0}
.requirement-example dt {font-weight: 750; color: var(--navy)}
.requirement-example dd {margin: 4px 0 14px; line-height: 1.55}
.requirement-example dd:last-child {margin-bottom: 0}
.navigator-mock {max-width: 100%}
.navigator-mock h3 {margin-top: 15px}
.mock-header {
 padding-bottom: 10px;
 border-bottom: 1px solid var(--line);
 font-weight: 750;
 color: var(--teal);
}
.navigator-mock form > label {display: block; font-weight: 650}
.navigator-mock select {margin-top: 7px; max-width: 100%}
.navigator-mock label.mock-switch {
 display: flex;
 align-items: center;
 gap: 8px;
 margin: 14px 0;
}
.navigator-mock .mock-results {
 display: grid;
 gap: 8px;
 margin-bottom: 12px;
}
.navigator-mock .mock-results .btn {
 flex-wrap: wrap;
 justify-content: flex-start;
 text-align: left;
}
.navigator-mock .mock-results .btn span {
 color: var(--muted);
 font-weight: 500;
}
.mock-error {color: #a53b3b; font-weight: 700}
.mock-reference {margin: 14px 0 0; color: var(--muted); font-size: 12px}
.mock-route {max-width: 480px}
.mock-route svg {width: 100%; display: block}
.navigator-mock ol {padding-left: 22px; line-height: 1.55}
@media(max-width: 540px) {
 .transport-banner {align-items: flex-start; flex-direction: column; gap: 11px}
 .work-card {padding: 19px}
}

/* Материалы и учебные примеры */
.lesson-top h1 {scroll-margin-top: 70px}
.lesson-top h1:focus {outline: none}
.lesson-toc button .nav-icon {width: 17px; height: 17px; vertical-align: middle; margin-right: 4px}
.template-card {margin-block: 20px}
.resource-files {padding-left: 22px; line-height: 1.5}
.resource-files li {margin-block: 9px}
.event-grid,.ui-examples {margin-block: 18px}
.event-grid svg {color: #0c7784}
.ui-examples label {display: grid; gap: 5px; margin-bottom: 10px; font-weight: 700}
.ui-examples .mock-switch {display: flex; align-items: center}
.ui-state {overflow: hidden; min-width: 0; border: 1px solid #d5e3ec; border-radius: 17px; background: #fff; box-shadow: 0 10px 25px #14394912}
.ui-state header {display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 11px 15px; background: #123953; color: #fff; font-size: 12px; font-weight: 750}
.ui-state header small {color: #bae8ed}
.ui-state-body {padding: 14px 15px 17px}
.ui-state-body h3 {margin: 0 0 11px}
.ui-result {display: grid; gap: 5px; padding: 8px 11px; border-radius: 9px; background: #f1f6fa; font-size: 13px}
.ui-status {margin: 9px 0; padding: 8px 11px; border-radius: 8px; background: #e9f7f0; color: #1a6348; font-size: 13px}
.ui-status.error {background: #fcecef; color: #963348}
.ui-status.warn {background: #fff3de; color: #765017}
.ui-action {display: inline-block; border-radius: 8px; background: #086f7a; color: #fff; padding: 7px 10px; font-weight: 700; font-size: 12px}
.method-mistake h4:empty {display: none}
@media(max-width: 660px) {.ui-examples,.event-grid {grid-template-columns: 1fr}}
.state-gallery,.demo-control,.source-calc,.formula{color:#173549}.state-gallery{margin:1rem 0;background:#f2f8f8;padding:1rem;border-radius:16px}.state-gallery img{display:block;width:100%;height:auto}.state-gallery figcaption{margin:.75rem 0}.state-gallery button,.demo-control button{padding:.45rem .8rem;border:1px solid #9bb7c3;border-radius:8px;background:white;color:#153951;cursor:pointer}.state-gallery [aria-pressed=true],.demo-control button{background:#15576d;color:white}.demo-control{min-width:145px;font-size:.9rem}.demo-control input:not([type=radio]):not([type=checkbox]),.demo-control select,.demo-control textarea{max-width:170px}.demo-control input[type=checkbox],.demo-control input[type=radio]{width:auto}.sample-tabs b{border-bottom:3px solid teal}.sample-dialog{padding:10px;border:1px solid #aaa;background:white;border-radius:6px}.bib-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:12px;margin:1rem 0}.source-calc label{display:grid;gap:5px}.bib-result,.formula{padding:1rem;background:#eff7f7;margin:1rem 0;overflow-wrap:anywhere}.formula{display:flex;justify-content:space-between}

.principle-grid{display:grid;gap:1rem}.principle-grid figure{margin:0}.principle-grid img{width:100%;height:auto;max-width:690px}.principle-grid figcaption{padding:.5rem 0}
.vkr-tiles,.def-stages,.word-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:14px;margin:16px 0;padding:0;list-style:none}.vkr-tiles li,.def-stages article,.word-settings article{padding:18px;border:1px solid #cee1e6;border-radius:14px;background:#f6fafb}.vkr-tiles li{display:flex;gap:14px}.vkr-symbol{display:grid;place-items:center;width:32px;height:32px;flex:none;background:#d5f1e9;color:#0d6455;border-radius:10px;font-weight:750}.vkr-tiles h3,.word-settings h3,.def-stages h3{margin:0 0 6px}.vkr-tiles p,.word-settings p,.def-stages p,.vkr-callout p{margin:6px 0}.vkr-tiles strong{color:#11695d;font-size:.9rem}.def-stages article>span{display:block;font-size:1.8rem;margin-bottom:10px}.vkr-callout{background:#fff5d9;border-left:4px solid #c98b22;border-radius:8px;padding:14px 18px;margin-top:16px}.word-route{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:10px 0}.word-route span{background:white;border:1px solid #b6cbd5;border-bottom-width:2px;border-radius:5px;padding:2px 6px;color:#1a4a60;font-size:.85rem}.word-route i{color:#57717a}.gateway-movie{margin-top:8px;border-top:1px solid #d1e2e5;padding:.5em 0}.gateway-movie summary{cursor:pointer;color:#125b66;font-weight:650}.gateway-movie video{width:100%;height:auto;margin-top:8px;border-radius:8px}.sdo-invite{max-width:360px}.sdo-invite summary{cursor:pointer}
.defense-count{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:.5rem;padding:16px 20px;margin-bottom:18px;background:#153e53;color:white;border-radius:12px}.defense-count strong{font-size:clamp(1.1rem,3vw,1.65rem)}.defense-count time{color:#ccede8}.compact-calendar .calendar-current{background:#e3f5ec;box-shadow:inset 0 0 0 2px #277659}.stage-now{display:block;color:#155540;font-weight:750}.stage-now[hidden]{display:none}

.faq-item summary{cursor:pointer;font-weight:700;color:#173d51}.faq-item[open] summary{margin-bottom:1rem}.faq-item li+li{margin-top:.65rem}.faq-item summary:focus-visible{outline:2px solid #177b79;outline-offset:4px}


/* v1.26: спокойный компактный отсчёт в верхней панели */
.top .defense-timer{margin-left:auto;display:inline-flex;align-items:center;gap:8px;min-width:0;padding:7px 11px;border:1px solid #d9e4eb;border-radius:999px;background:#f7fafc;color:#435e6d;white-space:nowrap;font-size:12px;line-height:1.2}
.defense-timer strong{font-size:12px;font-weight:750;color:#21495d}
.defense-timer-icon{font-size:17px;color:#19808d;line-height:1}
.defense-timer time{border-left:1px solid #d6e2e7;padding-left:8px;color:#6d8390;font-size:11px}
/* v1.26: ровная пятиступенчатая временная шкала */
.compact-calendar .calendar-mini{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;position:relative;margin:29px 0 5px;padding:0}
.compact-calendar .calendar-mini::before{content:"";position:absolute;top:15px;left:10%;right:10%;height:3px;border-radius:2px;background:#cfE3e9}
.compact-calendar .calendar-mini .calendar-step,.compact-calendar .calendar-mini .calendar-step:last-child{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;min-width:0;text-align:center;gap:7px;padding:0 7px;background:transparent;color:#19384f;border:0;border-radius:0;box-shadow:none}
.compact-calendar .calendar-mini .calendar-step::before{content:"";box-sizing:border-box;width:32px;height:32px;min-width:32px;min-height:32px;border:6px solid #9ac3ca;border-radius:50%;margin:0 auto 8px;background:#fff;box-shadow:0 0 0 4px #edf6f7;transform:none;transition:transform .2s ease,background .2s ease,border-color .2s ease}
.compact-calendar .calendar-mini .calendar-step.calendar-current::before{background:#008a98;border-color:#008a98;box-shadow:0 0 0 5px #d8f0ed;transform:scale(1.15)}
.compact-calendar .calendar-mini .calendar-step.calendar-current strong{color:#007b86;font-weight:850}
.compact-calendar .calendar-mini .calendar-step strong{font-size:14px;line-height:1.35}
.compact-calendar .calendar-mini .calendar-step span{margin:0;color:#526c7e;font-size:12px;line-height:1.45}
.compact-calendar #calendarDetails .calendar-current{border-color:#87c9c0;background:#eef9f4;box-shadow:none}
.compact-calendar #calendarDetails .stage-now{color:#147668;font-size:11px;margin-bottom:3px}
/* v1.28: компактные абстрактные мини-мемы, точные подписи v1.26 */
.work-meme{display:grid;grid-template-columns:118px minmax(0,1fr);align-items:center;gap:15px;margin-top:24px;padding:10px 17px 10px 10px;border:1px solid #d9eaf0;border-radius:16px;background:#f7fbfc;color:#183f52;overflow:hidden}
.work-meme-art{display:grid;place-items:center;min-width:0;height:118px;border-radius:11px;background:#f0faf9;overflow:hidden}
.work-meme-art img{display:block;width:100%;height:100%;object-fit:cover}
.work-meme-copy{min-width:0}
.work-meme small{display:block;color:#53818a;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.work-meme p{font-size:15px;line-height:1.55;margin:5px 0 0;overflow-wrap:break-word}
.work-meme s{color:#9a6674;text-decoration-thickness:2px}
.work-meme strong{color:#126d78}
@media(max-width:600px){.work-meme{grid-template-columns:90px minmax(0,1fr);gap:11px;padding:8px 11px 8px 8px}.work-meme-art{height:90px}.work-meme p{font-size:14px;line-height:1.47}}
@media(max-width:370px){.work-meme{grid-template-columns:76px minmax(0,1fr);gap:9px}.work-meme-art{height:76px}.work-meme p{font-size:13px}}
@media(max-width:720px){
 .compact-calendar .calendar-mini{display:grid;grid-template-columns:1fr;gap:12px;padding:0 0 0 24px;margin-top:20px}
 .compact-calendar .calendar-mini::before{left:15px;right:auto;top:15px;bottom:15px;width:3px;height:auto}
 .compact-calendar .calendar-mini .calendar-step,.compact-calendar .calendar-mini .calendar-step:last-child{flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;gap:13px;padding:0}
 .compact-calendar .calendar-mini .calendar-step::before{margin:0;width:30px;height:30px;min-width:30px;min-height:30px;flex:none}
 .compact-calendar .calendar-mini .calendar-step strong{min-width:74px}
 .compact-calendar .calendar-mini .calendar-step span{margin-left:0;text-align:left}
 .top .defense-timer{gap:5px;padding:6px 9px}
 .defense-timer time{display:none}
}
@media(max-width:420px){.top>small{display:none}.top .defense-timer{margin-left:auto}}
/* v1.26: не допускаем переноса подписи кнопки календаря на мобильных */
.calendar-head .btn{white-space:nowrap;flex-shrink:0}
@media(max-width:540px){.calendar-head{align-items:flex-start;gap:8px}.calendar-head h2{font-size:22px}.calendar-head .btn{padding:10px 9px;font-size:12px}}

/* v1.29 — компактный мем главной страницы в стилистике мемов семи работ */
.home-meme{display:grid;grid-template-columns:116px minmax(0,1fr);gap:15px;align-items:center;max-width:880px;margin:17px 0 24px;padding:10px 16px 10px 10px;border:1px solid #d9eaf0;border-radius:16px;background:linear-gradient(110deg,#f5fbfc 0%,#fff 94%);color:#183f52}
.home-meme-art{width:116px;height:116px;overflow:hidden;border-radius:12px;background:#edf8f7}
.home-meme-art img{width:100%;height:100%;object-fit:cover;display:block}
.home-meme-label{font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:#53818a;margin-bottom:5px}
.home-meme-title{font-weight:800;font-size:16px;line-height:1.38;margin:0 0 5px;color:#143047}
.home-meme-caption{font-size:14px;line-height:1.48;margin:0;color:#476274}
@media(max-width:600px){.home-meme{grid-template-columns:88px minmax(0,1fr);gap:11px;padding:8px 11px 8px 8px}.home-meme-art{width:88px;height:88px}.home-meme-title{font-size:14px}.home-meme-caption{font-size:12.5px;line-height:1.45}}
@media(max-width:355px){.home-meme{grid-template-columns:72px minmax(0,1fr);gap:9px}.home-meme-art{width:72px;height:72px}}

/* v1.30: рисованные визуальные метафоры, в стиле наклеек */
.work-meme {grid-template-columns:142px minmax(0,1fr);background:#fffdfa;border-color:#e7dfd7;padding:11px 17px 11px 11px}
.work-meme-art {height:142px;background:#fbf5ed;border-radius:12px}
.work-meme-art img {object-fit:cover}
.home-meme {grid-template-columns:142px minmax(0,1fr);max-width:930px;background:linear-gradient(110deg,#fffdfa,#ffffff);border-color:#e7dfd7;padding:11px 17px 11px 11px}
.home-meme-art {width:142px;height:142px;background:#fbf5ed}
@media(max-width:600px){
 .work-meme {grid-template-columns:100px minmax(0,1fr);padding:8px 11px 8px 8px}
 .work-meme-art {height:100px}
 .home-meme {grid-template-columns:100px minmax(0,1fr);padding:8px 11px 8px 8px}
 .home-meme-art {width:100px;height:100px}
}
@media(max-width:355px){
 .work-meme {grid-template-columns:82px minmax(0,1fr)}
 .work-meme-art {height:82px}
 .home-meme {grid-template-columns:82px minmax(0,1fr)}
 .home-meme-art {width:82px;height:82px}
}
