@font-face{font-family:NewMishka;src:url('../assets/brand-regular.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:NewMishka;src:url('../assets/brand-bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{color-scheme:dark;--bg:#241914;--surface:#3b2a21;--white:#fbefe3;--muted:#c9b3a1;--accent:#dfa97d;--border:#624536}*{box-sizing:border-box}body{margin:0;background:#1b120e;color:var(--white);font:16px/1.4 NewMishka,Arial,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit;color:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,.stage:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.player-header{padding:22px 30px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);gap:15px;font-size:14px}.back{font-weight:700}.back span{font-weight:400;color:var(--muted)}.download{color:var(--accent)}.viewer{padding:28px 30px 18px;max-width:1700px;margin:auto}.stage{width:100%;aspect-ratio:16/9;container-type:inline-size;border:1px solid var(--border);background:var(--bg);overflow:hidden}.slide{position:relative;width:100%;height:100%;padding:3.3cqw 4.5cqw 2.7cqw;display:flex;flex-direction:column;background:var(--bg);color:var(--white)}.slide-top{display:flex;justify-content:space-between;gap:20px;color:var(--muted);text-transform:uppercase;font-size:1cqw;letter-spacing:.13cqw}.slide-top>span:first-child:before{content:'';display:inline-block;vertical-align:middle;width:2.3cqw;height:.16cqw;background:var(--accent);margin-right:1.2cqw}.slide-content{position:relative;flex:1;display:flex;flex-direction:column;justify-content:center;padding:2.1cqw 0}.headline{font-size:5.4cqw;line-height:1.12;letter-spacing:-.14cqw;font-weight:700;margin:0;max-width:86cqw;overflow-wrap:break-word}.subtitle{font-size:2.2cqw;line-height:1.4;max-width:67cqw;color:var(--muted);margin:2.8cqw 0 0}.slide-footer{display:flex;align-items:center;justify-content:space-between;font-size:1cqw;color:var(--muted);letter-spacing:.05cqw;gap:4cqw;border-top:1px solid var(--border);padding-top:1.3cqw}.footer-line{width:4cqw;height:.2cqw;background:var(--accent)}.items{list-style:none;margin:0;padding:0}.layout-cover .headline{font-size:6.7cqw;max-width:85cqw}.layout-cover .headline::first-line{color:var(--white)}.layout-cover .subtitle{color:var(--accent);max-width:73cqw}.layout-cover .slide-content{border-left:.3cqw solid var(--accent);padding-left:3.2cqw;margin:3cqw 0}.layout-statement .headline{font-size:6.2cqw;max-width:83cqw}.slide-3 .headline,.slide-25 .headline{font-size:13cqw;color:var(--accent)}.slide-4 .headline{color:var(--accent)}.slide-5 .headline{max-width:70cqw}.slide-59 .headline,.slide-60 .headline{font-size:8.5cqw;max-width:76cqw}.slide-60 .headline{color:var(--accent)}.layout-cards .headline{font-size:4.4cqw;margin-bottom:3cqw;max-width:86cqw}.layout-cards .items{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1cqw}.layout-cards .item{background:var(--surface);border:1px solid var(--border);padding:1.6cqw;display:flex;flex-direction:column;justify-content:space-between;min-height:7.9cqw;gap:1.4cqw}.item-index{color:var(--muted);font-size:1cqw;letter-spacing:.1cqw}.layout-cards .item-text{font-size:2cqw;line-height:1.2;font-weight:700;overflow-wrap:break-word}.layout-cards .item:last-child{border-bottom:.22cqw solid var(--accent);color:var(--accent)}.layout-cards .count-4{grid-template-columns:repeat(4,1fr)}.layout-cards .count-5{grid-template-columns:repeat(5,1fr)}.layout-cards .count-5 .item-text{font-size:1.65cqw}.layout-cards .count-8{grid-template-columns:repeat(4,1fr)}.slide-29 .items{grid-template-columns:1fr 1.3fr 1.5fr}.layout-flow .headline{font-size:4cqw;margin-bottom:3.5cqw}.layout-flow .items{display:flex;flex-wrap:wrap;align-items:stretch;gap:3.3cqw 3.7cqw}.layout-flow .item{position:relative;flex:1;min-width:18cqw;max-width:40cqw;border-top:1px solid var(--border);padding:2.5cqw 1cqw 2.5cqw 0;display:flex;align-items:center}.layout-flow .item-text{font-size:3.4cqw;font-weight:700;line-height:1.2;overflow-wrap:break-word}.layout-flow .connector{position:absolute;right:-3.1cqw;color:var(--accent);font-size:2.8cqw}.layout-flow .item:last-child{color:var(--accent);border-color:var(--accent)}.layout-flow .count-5,.layout-flow .count-6,.layout-flow .count-7{gap:2cqw 3.4cqw}.layout-flow .count-5 .item,.layout-flow .count-6 .item,.layout-flow .count-7 .item{flex:0 1 27.5cqw;min-width:0}.layout-flow .count-5 .item-text,.layout-flow .count-6 .item-text,.layout-flow .count-7 .item-text{font-size:2.5cqw}.layout-flow .count-7 .item{flex-basis:19cqw}.layout-flow .count-7 .item-text{font-size:2.4cqw}.slide-57 .item-text{font-size:2.1cqw!important}.slide-18 .item{min-width:0}.slide-18 .item-text{font-size:3.2cqw}.layout-compare .headline{font-size:4cqw;margin-bottom:3.5cqw}.layout-compare .items{display:grid;grid-template-columns:1fr 1fr;gap:6cqw}.layout-compare .item{padding:4cqw 2cqw 4cqw 0;border-top:1px solid var(--border);min-height:16cqw;display:flex;align-items:center}.layout-compare .item-text{font-size:4.1cqw;font-weight:700;line-height:1.2;overflow-wrap:break-word}.layout-compare .item:last-child{color:var(--accent);border-top-color:var(--accent)}.compare-symbol{position:absolute;left:47%;top:50%;transform:translate(-50%,-50%);font-size:5cqw;color:var(--muted)}.slide-7 .item-text{font-size:8cqw}.slide-7 .compare-symbol{color:var(--accent);font-size:9cqw}.slide-28 .item-text,.slide-34 .item-text{font-size:3.7cqw}.layout-stack .headline{font-size:3.7cqw;margin-bottom:3cqw;color:var(--muted)}.layout-stack .items{display:flex;flex-direction:column;gap:1.2cqw}.layout-stack .item{font-size:5.6cqw;font-weight:700;line-height:1.12;border-bottom:1px solid var(--border);padding-bottom:1.2cqw}.layout-stack .item:last-child{color:var(--accent);border:0}.slide-58 .item{font-size:5.5cqw}.layout-case .slide-top{color:var(--accent)}.layout-case .headline{font-size:8cqw;color:var(--accent);max-width:83cqw}.layout-case .subtitle{max-width:75cqw;font-size:2.5cqw}.layout-case .slide-content{padding-left:4cqw;border-left:1px solid var(--accent);margin:3cqw 0}.layout-metric .items{display:flex;flex-direction:column;gap:2.5cqw}.layout-metric .item{font-size:8cqw;font-weight:700;line-height:1.05}.layout-metric .item:first-child{color:var(--muted);font-size:4.5cqw}.layout-metric .item:last-child{color:var(--accent);border-top:1px solid var(--border);padding-top:2.5cqw}.layout-edge .headline{color:var(--accent);font-size:2.5cqw;margin-bottom:4cqw;letter-spacing:.3cqw}.layout-edge .items{display:flex;flex-direction:column;gap:3cqw}.layout-edge .item:first-child{font-size:3.7cqw;border:1px solid var(--border);background:var(--surface);padding:2.4cqw}.layout-edge .item:last-child{font-size:5cqw;font-weight:700}.controls{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0 0}.controls button{border:1px solid var(--border);background:var(--bg);padding:11px 17px;border-radius:3px;font-size:14px;min-height:44px}.controls button:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.switch{display:flex;align-items:center;gap:14px}#jump{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted)}#number{width:52px;border:1px solid var(--border);border-radius:3px;background:var(--bg);text-align:center;min-height:44px;font-size:14px;appearance:textfield}#number::-webkit-inner-spin-button{appearance:none}.hint{font-size:12px;color:var(--muted);margin:14px 0}.status{font-size:14px;color:var(--accent);max-width:700px}.sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.go:focus{position:static;width:auto;height:auto;clip:auto}.viewer:fullscreen{max-width:none;background:#1b120e;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:15px}.viewer:fullscreen .stage{width:min(100%,calc((100dvh - 110px)*16/9))}.viewer:fullscreen .controls{width:min(100%,calc((100dvh - 110px)*16/9))}.viewer:fullscreen .hint{display:none}.loading{padding:3cqw}.loading h1{font-size:5cqw}.loading p{font-size:2.5cqw}.loading a{text-decoration:underline;color:var(--accent)}
@media(max-width:700px){.player-header{padding:17px 16px;font-size:14px}.back span{display:none}.viewer{padding:18px 12px}.controls{flex-wrap:wrap;gap:12px}.switch{gap:9px}.controls button{padding:10px 12px}.hint{max-width:320px;line-height:1.7}.slide-top,.slide-footer{font-size:1.45cqw}.item-index{font-size:1.45cqw}.slide-top{letter-spacing:0}.slide-footer{letter-spacing:0}.status{font-size:14px}}
.footer-brand{display:flex;align-items:center;gap:1cqw}.footer-mark{display:block;width:2cqw;height:2cqw;flex:none;background:var(--white);mask:url('../assets/newmishka-mark.png') center/contain no-repeat;-webkit-mask:url('../assets/newmishka-mark.png') center/contain no-repeat}
.reading-toggle{display:none;background:var(--bg);color:var(--accent);border:1px solid var(--border);border-radius:3px;min-height:44px;font-size:14px;padding:10px 16px;margin-top:14px}@media(max-width:700px){.reading-toggle{display:block}.reading-mode .stage{aspect-ratio:auto;overflow:visible}.reading-mode .slide{height:auto;min-height:390px;padding:22px 18px}.reading-mode .slide-top{font-size:11px;line-height:1.4;gap:10px}.reading-mode .slide-top>span:first-child:before{width:15px;height:2px;margin-right:7px}.reading-mode .slide-content{padding:25px 0;flex:1}.reading-mode .headline,.reading-mode .layout-cover .headline,.reading-mode .layout-statement .headline,.reading-mode .layout-case .headline{font-size:30px;max-width:100%;letter-spacing:-.5px}.reading-mode .slide-3 .headline,.reading-mode .slide-25 .headline{font-size:48px}.reading-mode .subtitle,.reading-mode .layout-case .subtitle{font-size:18px;max-width:100%;margin-top:20px}.reading-mode .layout-cards .headline,.reading-mode .layout-flow .headline,.reading-mode .layout-compare .headline{font-size:25px;margin-bottom:20px}.reading-mode .layout-cards .items,.reading-mode .layout-cards .count-4,.reading-mode .layout-cards .count-5,.reading-mode .layout-cards .count-8,.reading-mode .slide-29 .items{grid-template-columns:1fr 1fr;gap:9px}.reading-mode .layout-cards .item{padding:12px;min-height:74px;gap:10px}.reading-mode .item-index{font-size:12px}.reading-mode .layout-cards .item-text,.reading-mode .layout-cards .count-5 .item-text{font-size:16px}.reading-mode .layout-flow .items{display:flex;flex-direction:column;gap:16px}.reading-mode .layout-flow .item,.reading-mode .layout-flow .count-5 .item,.reading-mode .layout-flow .count-6 .item,.reading-mode .layout-flow .count-7 .item{flex:auto;min-width:0;max-width:none;width:100%;padding:12px 0}.reading-mode .layout-flow .item-text,.reading-mode .layout-flow .count-5 .item-text,.reading-mode .layout-flow .count-6 .item-text,.reading-mode .layout-flow .count-7 .item-text,.reading-mode .slide-57 .item-text{font-size:19px!important}.reading-mode .connector{position:absolute;font-size:20px;right:0;bottom:-15px;transform:rotate(90deg)}.reading-mode .layout-compare .items{grid-template-columns:1fr;gap:28px}.reading-mode .layout-compare .item{padding:18px 0;min-height:0}.reading-mode .layout-compare .item-text,.reading-mode .slide-7 .item-text{font-size:28px}.reading-mode .compare-symbol{position:static;transform:none;font-size:25px;align-self:flex-start;display:none}.reading-mode .slide-7 .item:last-child:before{content:"≠";padding-right:10px}.reading-mode .slide-20 .item:last-child:before,.reading-mode .slide-28 .item:last-child:before,.reading-mode .slide-34 .item:last-child:before{content:"";padding:0}.reading-mode .layout-stack .item{font-size:28px;padding-bottom:14px}.reading-mode .layout-stack .items{gap:15px}.reading-mode .layout-metric .item{font-size:38px}.reading-mode .layout-metric .item:first-child{font-size:27px}.reading-mode .layout-edge .headline{font-size:24px}.reading-mode .layout-edge .item:first-child{font-size:18px;overflow-wrap:anywhere;padding:14px}.reading-mode .layout-edge .item:last-child{font-size:25px}.reading-mode .slide-footer{font-size:11px;letter-spacing:0;padding-top:12px;gap:8px}.reading-mode .footer-brand{gap:7px}.reading-mode .footer-mark{width:23px;height:23px}.reading-mode .footer-line{display:none}.reading-mode .layout-cover .slide-content,.reading-mode .layout-case .slide-content{padding-left:14px;margin:20px 0}}

/* Упорядоченные композиции: этапы остаются читаемыми при показе и в PDF. */
.layout-groups .headline{font-size:4.4cqw;margin-bottom:2.5cqw}.layout-groups .items{display:grid;grid-template-columns:repeat(2,1fr);gap:1.3cqw}.layout-groups .item{background:var(--surface);border:1px solid var(--border);padding:1.7cqw 2cqw;display:flex;align-items:baseline;gap:2.3cqw;min-height:8.2cqw}.group-label{color:var(--accent);font-size:1.5cqw;font-weight:700;min-width:8cqw}.group-value{font-size:2.5cqw;font-weight:700;line-height:1.2}.slide-27.layout-cards .item:last-child{border-bottom:1px solid var(--border);color:var(--white)}
.layout-flow .count-3,.layout-flow .count-4{flex-wrap:nowrap;gap:6cqw}.layout-flow .count-3 .item,.layout-flow .count-4 .item{min-width:0;max-width:none;padding-right:0}.layout-flow .count-3 .connector,.layout-flow .count-4 .connector{right:-4.15cqw;top:50%;transform:translateY(-50%)}.layout-flow .count-4 .item-text{font-size:2.75cqw}.slide-18.layout-flow .count-4 .item-text{font-size:2.7cqw}.layout-flow .count-2 .connector{right:-3cqw;top:50%;transform:translateY(-50%)}
.layout-route .headline,.layout-track .headline,.layout-steps .headline,.layout-rail .headline,.layout-loop .headline,.layout-six .headline{font-size:3.9cqw;margin-bottom:2.5cqw}.layout-route .items,.layout-six .items{display:flex;flex-direction:column;gap:.7cqw}.layout-route .item,.layout-six .item{display:flex;align-items:center;gap:1.8cqw;padding:.5cqw 1.4cqw;border-left:.18cqw solid var(--border);background:var(--surface);min-height:5.1cqw}.layout-route .step-number,.layout-six .step-number,.layout-track .step-number,.layout-steps .step-number,.layout-rail .step-number,.layout-loop .step-number{font-size:1.2cqw;color:var(--accent);font-weight:700;letter-spacing:.12cqw}.layout-route .item-text,.layout-six .item-text{font-size:2.25cqw;font-weight:700;line-height:1.1}.layout-route .item:last-child,.layout-six .item:last-child{border-left-color:var(--accent)}
.layout-track .items,.layout-steps .items,.layout-rail .items,.layout-loop .items{display:grid;grid-template-columns:repeat(var(--count),minmax(0,1fr));gap:1.1cqw}.layout-track .items{--count:3}.layout-steps .items,.layout-rail .items,.layout-loop .items{--count:5}.layout-track .item,.layout-steps .item,.layout-rail .item,.layout-loop .item{min-width:0;min-height:12cqw;padding:1.6cqw 1.3cqw;background:var(--surface);border-top:.2cqw solid var(--border);display:flex;flex-direction:column;justify-content:space-between;gap:1.5cqw}.layout-track .item:last-child,.layout-steps .item:last-child,.layout-rail .item:last-child,.layout-loop .item:last-child{border-color:var(--accent)}.layout-track .item-text{font-size:3cqw;font-weight:700;line-height:1.1}.layout-steps .item-text,.layout-rail .item-text,.layout-loop .item-text{font-size:1.9cqw;font-weight:700;line-height:1.18;overflow-wrap:break-word}.layout-rail .items,.layout-loop .items{position:relative}.layout-rail .items:before,.layout-loop .items:before{content:"";position:absolute;left:2cqw;right:2cqw;top:-1.4cqw;height:.18cqw;background:var(--accent)}.loop-return{font-size:1.4cqw;color:var(--accent);margin-top:2cqw;align-self:flex-end}.loop-return span{font-size:2.3cqw;vertical-align:middle;margin-right:.7cqw}
.stage-badge{margin:0 0 1.5cqw;color:var(--accent);font-size:1.65cqw;font-weight:700;letter-spacing:.06cqw}.layout-six .headline{margin-bottom:1cqw}.layout-six .items{gap:.5cqw}.layout-six .item{min-height:4.5cqw}.layout-six .item-text{font-size:2cqw!important}.layout-six .item-3{border-left-color:var(--accent);background:#523525}.layout-six .item-3 .item-text{color:var(--accent)}
.layout-contrast .items{display:flex;flex-direction:column;gap:2.5cqw}.layout-contrast .item:first-child{font-size:3cqw;color:var(--muted);border-bottom:1px solid var(--border);padding-bottom:1.8cqw}.layout-contrast .item:last-child{font-size:5cqw;font-weight:700;white-space:nowrap;color:var(--accent)}.slide-28 .compare-symbol{left:50%;top:57%;font-size:3.5cqw}.slide-28 .layout-compare .items{align-items:center}
.layout-six .item:last-child{border-left-color:var(--border)}
@media(max-width:700px){.reading-mode .layout-groups .items{grid-template-columns:1fr;gap:9px}.reading-mode .layout-groups .item{padding:12px;min-height:0;gap:16px}.reading-mode .group-label{font-size:13px;min-width:65px}.reading-mode .group-value{font-size:20px}.reading-mode .layout-route .items,.reading-mode .layout-six .items{gap:8px}.reading-mode .layout-route .item,.reading-mode .layout-six .item{padding:10px;min-height:0;gap:12px}.reading-mode .layout-route .step-number,.reading-mode .layout-six .step-number,.reading-mode .layout-track .step-number,.reading-mode .layout-steps .step-number,.reading-mode .layout-rail .step-number,.reading-mode .layout-loop .step-number{font-size:12px}.reading-mode .layout-route .item-text,.reading-mode .layout-six .item-text{font-size:18px!important}.reading-mode .layout-track .items,.reading-mode .layout-steps .items,.reading-mode .layout-rail .items,.reading-mode .layout-loop .items{grid-template-columns:1fr;gap:9px}.reading-mode .layout-track .item,.reading-mode .layout-steps .item,.reading-mode .layout-rail .item,.reading-mode .layout-loop .item{min-height:0;padding:12px;gap:7px}.reading-mode .layout-track .item-text,.reading-mode .layout-steps .item-text,.reading-mode .layout-rail .item-text,.reading-mode .layout-loop .item-text{font-size:18px}.reading-mode .layout-rail .items:before,.reading-mode .layout-loop .items:before{display:none}.reading-mode .loop-return,.reading-mode .stage-badge{font-size:15px}.reading-mode .layout-contrast .item:first-child{font-size:20px}.reading-mode .layout-contrast .item:last-child{font-size:25px;white-space:normal}.reading-mode .slide-28 .compare-symbol{display:none}}
