@font-face{font-family:'Golos Text';font-style:normal;font-weight:400;font-display:swap;src:url('/bookshelf-assets/fonts/golos-1.woff2') format('woff2')}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:600;font-display:swap;src:url('/bookshelf-assets/fonts/golos-2.woff2') format('woff2')}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:800;font-display:swap;src:url('/bookshelf-assets/fonts/golos-3.woff2') format('woff2')}
:root{color-scheme:light;--paper:#fbfaf5;--ink:#354447;--muted:#617166;--line:#dfdfd4;--green:#436a5a;--mint:#e2ecdf;--peach:#f3e3d2;--blue:#e3edf3;--mono:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace;--f-body:'Golos Text',Arial,sans-serif;--f-display:'Golos Text',Arial,sans-serif}
*{box-sizing:border-box}html{scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.75 var(--f-body);-webkit-font-smoothing:antialiased}a{color:inherit;text-underline-offset:4px}button,textarea{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a:focus-visible,button:focus-visible,summary:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #588f89;outline-offset:4px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip{position:absolute;z-index:20;left:20px;top:8px;transform:translateY(-160%);background:var(--paper);padding:12px 18px;border:1px solid var(--green);border-radius:5px}.skip:focus{transform:none}html:not(.js) .js-control{display:none}
.wrap{width:min(1256px,calc(100% - 112px));margin-inline:auto}.site-header{min-height:95px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;min-height:44px;font-size:21px;letter-spacing:-1.1px;font-weight:800;text-decoration:none}.site-header nav{display:flex;align-items:center;gap:28px;font-size:12px;color:var(--muted)}.site-header nav a{display:inline-flex;align-items:center;gap:8px;min-height:44px;text-decoration:none}.site-header nav a:hover{color:var(--green);text-decoration:underline}
.folio{display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:11px;margin-bottom:52px}.folio a{text-decoration:none}.folio a:hover{text-decoration:underline}.folio span{text-transform:uppercase;letter-spacing:1px}.hero{padding-top:29px;padding-bottom:68px}.hero-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:48px;align-items:center}.hero-copy{min-width:0}.eyebrow{font-size:10px;line-height:1.7;letter-spacing:1.65px;text-transform:uppercase;color:var(--muted);margin:0 0 20px}h1,h2,h3,p,figure,dl{margin:0}h1,h2,h3{text-wrap:balance}h1{font-weight:600;font-size:clamp(42px,5.2vw,72px);line-height:1.08;letter-spacing:-3px;margin-bottom:25px}h1>span{display:block}.title-accent{color:#63836a}.subtitle{font-size:21px;line-height:1.5;max-width:25em;margin-bottom:20px;letter-spacing:-.35px}.lead{font-size:14px;line-height:1.85;color:var(--muted);max-width:36em}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px 24px;margin-top:28px}.btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:11px 17px;border:1px solid #b7c8b0;border-radius:5px;background:#f2f5ea;color:var(--green);font:600 13px/1.5 var(--f-body);text-decoration:none;transition:background-color 140ms,border-color 140ms}.btn:hover{background:#e3edd9;border-color:#91ad91}.btn.primary{background:#dcebd7;border-color:#a8c2a3}.btn.primary:hover{background:#d0e3ca}.text-link{display:inline-flex;gap:12px;align-items:center;min-height:44px;font-size:12px;color:var(--green);text-decoration:none}.text-link:hover{text-decoration:underline}.facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:47px;padding-top:26px;border-top:1px solid var(--line)}.facts>div{padding-right:25px}.facts>div+div{border-left:1px solid var(--line);padding-left:25px}.facts dt{font-size:24px;line-height:1.2;font-weight:600;letter-spacing:-.8px}.facts dd{margin:8px 0 0;font-size:12px;line-height:1.65;color:var(--muted);max-width:20em}
.screen{min-width:0}.zoom-link{display:block;position:relative;padding:7px;border:1px solid #d5dcd0;border-radius:9px;background:#eef1e6;cursor:zoom-in;text-decoration:none}.zoom-link img{display:block;width:100%;height:auto;border-radius:4px}.zoom-link:hover{border-color:#94ad90}.zoom-mark{position:absolute;right:16px;bottom:16px;background:var(--paper);color:var(--green);border:1px solid #d3dccb;border-radius:4px;padding:4px 9px;font-size:10px;line-height:1.5;box-shadow:0 2px 7px #35444718}.hero-screen .zoom-link{padding:12px;background:#e2ecdf;box-shadow:0 13px 26px #53694c0e}.hero-screen img{border:1px solid #bfcab8}.hero-screen figcaption{max-width:500px}.screen figcaption{display:flex;align-items:baseline;gap:12px;margin-top:12px;font-size:12px;line-height:1.7;color:var(--muted)}.figure-number{font:11px/1.6 var(--mono);color:#688169;flex-shrink:0}.chapter{border-top:1px solid var(--line);padding:76px 0 80px}.chapter-heading{max-width:780px;margin-bottom:38px}.chapter-heading h2{font-size:clamp(28px,3.2vw,42px);line-height:1.18;font-weight:600;letter-spacing:-1.45px}.chapter-heading>p:last-child:not(.eyebrow){margin-top:18px;max-width:680px;font-size:15px;color:var(--muted);line-height:1.8}.prose p+p{margin-top:20px}.prose{min-width:0;max-width:740px}.prose p{color:var(--muted)}.prose .intro{font-size:20px;line-height:1.7;color:var(--ink)}.small{font-size:12px!important;line-height:1.75;color:var(--muted)}.story-layout{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,3fr);gap:84px;align-items:start}.cast{padding:25px 27px;background:#f3e8d9;border:1px solid #e5daca;border-radius:6px}.cast .eyebrow{margin-bottom:10px}.cast dl>div{padding-block:12px}.cast dl>div+div{border-top:1px solid #e0d6c6}.cast dt{font-size:14px;font-weight:600}.cast dd{font-size:12px;line-height:1.7;color:#6c6e60;margin:2px 0 0}.values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--line);gap:0 44px}.values article{padding:26px 0 30px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:28px minmax(0,1fr);gap:16px}.item-number{font-size:11px;color:#6e8a70;padding-top:4px}.values h3{font-size:19px;font-weight:600;line-height:1.4;letter-spacing:-.35px;margin-bottom:12px}.values p{font-size:14px;color:var(--muted);line-height:1.85}code{font-family:var(--mono);font-size:.89em;overflow-wrap:anywhere}.gameplay-copy,.voice-copy{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,3fr);gap:74px}.margin-note{font-size:13px;color:var(--muted);padding-top:3px}.margin-note h3{font-size:15px;color:var(--green);font-weight:600;margin-bottom:8px;letter-spacing:-.2px}.margin-note p+h3{margin-top:25px}.margin-note p+p{margin-top:16px}.gallery-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-top:47px;padding-top:28px;border-top:1px solid var(--line)}.gallery-heading h3{font-weight:600;font-size:19px;letter-spacing:-.4px}.gallery-heading p{font-size:12px;color:var(--muted)}.gallery-jumps{display:flex;flex-wrap:wrap;gap:5px 18px;font-size:11px;margin:12px 0 22px}.gallery-jumps a{min-height:44px;display:inline-flex;align-items:center;color:var(--green);text-decoration:none}.gallery-jumps a:hover{text-decoration:underline}.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 26px}.gallery>.screen:first-child{grid-column:1/-1}.gallery>.screen:first-child figcaption{max-width:850px}.phone-heading{margin-top:48px;padding-top:30px;border-top:1px solid var(--line)}.phone-heading .eyebrow{margin-bottom:10px}.phone-heading h3{font-weight:600;font-size:24px;letter-spacing:-.6px;margin-bottom:7px}.phone-heading>p:last-child{color:var(--muted);font-size:13px}.phones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;max-width:850px;margin:30px auto 0}.phone-screen .zoom-link{padding:8px;border-radius:18px;background:#e7ece1}.phone-screen img{border-radius:10px}.phone-screen .zoom-mark{font-size:10px}
.season-list{border-top:1px solid #cdd6c6}.season-case{border-bottom:1px solid #d7dccf}.season-case>summary{display:grid;grid-template-columns:125px minmax(0,1fr) 24px;gap:22px;align-items:center;min-height:76px;padding:16px 18px 16px 0;cursor:pointer;list-style:none}.season-case>summary::-webkit-details-marker,.arch-node>summary::-webkit-details-marker,.journal-note>summary::-webkit-details-marker{display:none}.case-code{font-size:11px;color:var(--muted)}.season-case summary strong{font-size:20px;line-height:1.4;font-weight:600;letter-spacing:-.3px}.case-toggle{width:16px;height:16px;position:relative}.case-toggle:before,.case-toggle:after{position:absolute;content:'';background:#65836a;left:2px;right:2px;height:1px;top:8px}.case-toggle:after{transform:rotate(90deg)}.season-case[open] .case-toggle:after{display:none}.season-case[open]>summary{color:var(--green)}.case-content{padding:0 40px 28px 147px}.case-content>p{font-size:14px;color:var(--muted);margin-bottom:14px}.concepts{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0;gap:8px}.concepts li{border:1px solid #dce2d4;border-radius:4px;padding:6px 10px;font-size:12px;line-height:1.6;background:#eef2e7;overflow-wrap:anywhere;max-width:100%}.concepts li.archive{border-style:dashed;background:transparent;color:var(--muted)}.archive-note{font-size:12px;line-height:1.8;color:var(--muted);margin-top:20px;max-width:790px}.architecture-layout{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,4fr);gap:60px;align-items:start}.arch-flow{padding:26px;border-radius:7px;border:1px solid #d5ddd1;background:#f0f3ea}.arch-node{border:1px solid #c5d1bf;background:#fbfcf6;border-radius:4px;min-width:0}.arch-node summary{position:relative;padding:15px 32px 15px 17px;cursor:pointer;list-style:none}.arch-node summary:after{content:'+';font:20px/1 var(--mono);position:absolute;right:13px;top:20px;color:#638369}.arch-node[open] summary:after{content:'−'}.arch-node strong{display:block;font-size:15px;font-weight:600;line-height:1.6}.arch-node summary span{display:block;font-size:10px;color:var(--muted);line-height:1.6;margin-top:3px}.arch-node p{border-top:1px solid #e0e5d9;font-size:12px;line-height:1.85;color:var(--muted);padding:12px 17px 17px}.flow-arrow{text-align:center;color:#789b7b;font-size:22px;line-height:1.6}.worker-zone{border:1px dashed #9db296;padding:18px;background:#e4eddf;border-radius:5px}.worker-zone>.eyebrow{font-size:9px;letter-spacing:1.1px;margin-bottom:12px}.arch-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.arch-sources summary{padding-left:12px}.arch-sources strong{font-size:14px}.arch-sources summary span{font-size:10px}.arch-notes{padding-top:18px}.arch-notes>h3{font-size:25px;line-height:1.4;font-weight:600;letter-spacing:-.7px;margin-bottom:19px}.arch-notes>p:not(.eyebrow){font-size:14px;color:var(--muted)}.journal-note{border-block:1px solid var(--line);margin-top:27px;padding:15px 0}.journal-note summary{cursor:pointer;font-weight:600;min-height:44px;display:flex;align-items:center;gap:12px;font-size:14px;list-style:none}.journal-note summary:before{content:'+';font:20px/1 var(--mono);color:#769277}.journal-note[open] summary:before{content:'−'}.journal-note p{font-size:13px;color:var(--muted);padding:5px 0 12px}.timeout-note{margin:25px 0;padding:21px;background:var(--blue);border:1px solid #d1dce2;border-radius:5px}.timeout-note h3{font-size:14px;font-weight:600;margin-bottom:10px}.timeout-note p{font-size:13px;color:#5b6d71}.quality-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;padding:27px 0 30px;border-block:1px solid var(--line)}.quality-list h3{font-size:20px;line-height:1.5;font-weight:600;letter-spacing:-.45px;margin-bottom:12px}.quality-list p{font-size:14px;line-height:1.85;color:var(--muted)}.ci-note{font-size:14px;color:var(--green);margin-top:24px}.provenance{margin-top:9px}.tech-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}.tech-chips li{font-size:13px;line-height:1.7;padding:9px 14px;border:1px solid #d4ddcf;border-radius:5px;background:#eef2e8;max-width:100%;overflow-wrap:anywhere}.tech-chips li:nth-child(4n+2){background:#f5eadf;border-color:#e2d8c9}.tech-chips li:nth-child(4n+3){background:#e9f0f3;border-color:#d6e0e3}.trailer-frame{position:relative;margin-top:33px;border:1px solid #c6d1bc;border-radius:7px;background:#e4ebdd;overflow:hidden}.trailer-frame video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#1a2323}.trailer-play{position:absolute;inset:0;width:100%;display:flex;align-items:center;justify-content:center;gap:18px;border:0;background:#1c26265c;color:#fffdf3;text-align:left;font-weight:600;font-size:19px;text-shadow:0 1px 3px #0008}.trailer-play:hover{background:#1c262638}.trailer-play:focus-visible{outline-offset:-6px;outline-color:#f5e7c6}.play-symbol{width:62px;height:62px;display:flex;align-items:center;justify-content:center;padding-left:3px;border:1px solid #f5f6eac7;border-radius:50%;font-size:0;background:#30423799}.play-symbol:before{content:'';width:0;height:0;border-top:9px solid transparent;border-bottom:9px solid transparent;border-left:14px solid currentColor}.trailer-play small{display:block;font-size:12px;font-weight:400;margin-top:5px}.video-fallback{padding:14px;color:var(--green);font-size:14px}.video-fallback a{display:inline-flex;min-height:44px;align-items:center}#video-status:empty{display:none}#video-status{margin-top:12px}.development-layout{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:60px}.development-layout .chapter-heading{margin-bottom:0}.development-layout .prose{padding-top:34px;font-size:15px}
.demo-start{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-bottom:25px}.term-grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:24px;align-items:start}.term-grid>div{min-width:0}.paper{padding:24px;background:#f3e9d7;color:#454a3b;border:1px solid #dfd3bf;border-radius:6px}.kusp{font:11px/1.7 var(--mono);color:#737362;letter-spacing:.3px}.case-card h3{font-size:21px;font-weight:600;line-height:1.4;margin-top:10px;letter-spacing:-.4px}.steps{list-style:none;padding:0;margin:20px 0 0;counter-reset:step}.steps li{counter-increment:step;display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;font-size:13px;color:#6c7260;padding:10px 0;border-top:1px dashed #d9cfb9}.steps li:before{content:counter(step);font:12px/1.7 var(--mono)}.steps li[data-state=active]{color:#384e3b;font-weight:600}.steps li[data-state=done]:before{content:'✓';color:#467459}.task{padding:14px;background:#fcf8ec;font-size:13px;border:1px solid #e0d6c0;border-radius:4px;line-height:1.85;margin-top:16px}.hint-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.paper .btn{font-size:12px;background:#fbf6e9;border-color:#c9c0aa;font-weight:400;padding:9px 12px}.hint-sql{max-width:100%;font:12px/1.8 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere;background:#fbf8ef;border:1px solid #d9d0ba;border-radius:4px;padding:12px;margin:12px 0 0}.stamp{display:inline-block;border:2px solid #4a7a59;color:#4a7a59;padding:5px 8px;font:600 12px/1.4 var(--mono);letter-spacing:1.5px;margin-top:16px;transform:rotate(-2deg)}.found{font-size:14px;line-height:1.8;margin-top:12px}.terminal{border:1px solid #c8d3c0;border-radius:6px;overflow:hidden;background:#fffef9;min-width:0}.term-bar{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px 16px;font:11px/1.6 var(--mono);color:#66745e;background:#e9efe1;border-bottom:1px solid #d3ddc9}#engine-status[data-ready=true]{color:#326e4f}#sql{width:100%;min-height:145px;border:0;border-radius:0;resize:vertical;margin:0;padding:18px;font:14px/1.8 var(--mono);background:#fffef9;color:#354d41;display:block}#sql:focus-visible{outline-offset:-3px}.term-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 15px;border-block:1px solid #dde2d4;background:#f5f7ee}.kbd{font:10px/1.6 var(--mono);color:var(--muted)}.spacer{flex:1}.linkish{border:0;background:none;min-height:44px;padding:4px 0;color:var(--muted);text-decoration:underline;text-underline-offset:3px;font-size:12px}.out{overflow:auto;max-height:380px;min-height:110px;font:12px/1.65 var(--mono)}.out:focus-visible{outline-offset:-3px}.schema{padding:18px;color:var(--muted);font-size:12px;line-height:1.9}.schema p+p{margin-top:10px}.schema code{color:#3c604b}.out-note{padding:16px;font:13px/1.8 var(--f-body);color:var(--muted)}.out-note.error{color:#9a4538}.out-meta{padding:10px 15px;font:11px/1.7 var(--mono);color:var(--muted);border-top:1px solid #dce2d3}table.grid{border-collapse:collapse;width:max-content;min-width:100%}table.grid th,table.grid td{text-align:left;padding:9px 12px;border-bottom:1px solid #e2e7db;vertical-align:top;max-width:300px;overflow-wrap:anywhere}table.grid th{position:sticky;top:0;background:#ebf1e3;color:#3e674c;font-weight:600;z-index:1}table.grid td{color:#455749}table.grid .hit td{background:#e3efd9;color:#2f573c}.privacy{font-size:11px;color:var(--muted);margin-top:13px;line-height:1.85}.nojs-note{margin:20px 0;padding:18px;border:1px dashed #b6c6ad;border-radius:5px;font-size:14px;color:var(--green)}.closing-actions{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-top:38px;padding-top:30px;border-top:1px solid var(--line)}.closing-actions p{font-size:17px;letter-spacing:-.3px}.site-footer{padding:28px 0 38px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:25px}.site-footer .brand{font-size:17px}.site-footer p{font-size:10px;color:var(--muted);margin-top:3px}.site-footer .text-link{flex-shrink:0}
.lightbox{width:min(1480px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 36px);margin:auto;padding:16px;border:1px solid #c3cdb9;border-radius:8px;background:var(--paper);color:var(--ink);overflow:auto;box-shadow:0 16px 80px #14282044}.lightbox::backdrop{background:#263c35d9}.lightbox-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted);margin-bottom:12px}.lightbox-toolbar button{border:1px solid #bbcdb0;background:#e7efdf;border-radius:4px;min-height:44px;padding:8px 15px;display:flex;align-items:center;justify-content:center;gap:16px;font-size:12px;white-space:nowrap}.lightbox-toolbar button span{font-size:22px;line-height:1}.lightbox-media{display:flex;justify-content:center;min-width:0}.lightbox img{display:block;max-width:100%;width:auto;height:auto;max-height:calc(100dvh - 198px);object-fit:contain}.lightbox #lightbox-caption{max-width:1100px;font-size:12px;line-height:1.7;color:var(--muted);padding-top:12px}.lightbox.phone-lightbox{width:min(580px,calc(100vw - 32px))}.lightbox.phone-lightbox img{max-height:calc(100dvh - 198px)}body.dialog-open{overflow:hidden}
.role-line{margin-top:16px;font-size:13px;line-height:1.75;color:var(--green);max-width:36em}.en-summary{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,9fr);gap:14px 48px;border-top:1px solid var(--line);padding:38px 0 42px}.en-summary h2.eyebrow{margin:0;padding-top:4px;font-weight:400}.en-summary .prose p{font-size:15px;line-height:1.8}.en-summary .prose p:first-child{color:var(--ink)}.en-summary .en-links{display:flex;flex-wrap:wrap;gap:0 24px;margin-top:12px}.fold>summary{display:block;list-style:none}.fold>summary::-webkit-details-marker{display:none}.fold>summary>.eyebrow{display:block}.fold>summary.has-lead{margin-bottom:0}.footer-links{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:0 24px;flex-shrink:0}
@media(min-width:1600px){.hero-grid{gap:60px}}
@media(max-width:1150px){.wrap{width:calc(100% - 64px)}.hero-grid{gap:30px;grid-template-columns:minmax(0,5fr) minmax(0,6fr)}h1{letter-spacing:-2.2px}.subtitle{font-size:19px}.story-layout{gap:40px;grid-template-columns:minmax(0,7fr) minmax(0,4fr)}.gameplay-copy,.voice-copy{gap:40px}.architecture-layout{gap:32px}.arch-flow{padding:18px}.arch-notes>h3{font-size:22px}.term-grid{grid-template-columns:minmax(0,4fr) minmax(0,7fr)}.facts dt{font-size:22px}.facts>div{padding-right:18px}.facts>div+div{padding-left:18px}}
@media(max-width:900px){.hero-grid{grid-template-columns:minmax(0,1fr)}.hero-copy{max-width:710px}.hero .eyebrow{margin-bottom:18px}h1{font-size:64px}h1>span{display:inline}.subtitle{font-size:23px;max-width:630px}.lead{max-width:620px;font-size:15px}.hero-screen{margin-top:8px}.hero-screen figcaption{max-width:100%}.hero-screen .zoom-link{padding:12px}.folio{margin-bottom:38px}.hero{padding-bottom:55px}.story-layout{grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:30px}.cast{padding:20px}.gameplay-copy,.voice-copy{grid-template-columns:minmax(0,1fr);gap:25px}.margin-note{display:grid;grid-template-columns:1fr 2fr;gap:10px 25px;padding-top:20px;border-top:1px solid var(--line)}.margin-note p+h3,.margin-note p+p{margin-top:0}.margin-note h3{margin-bottom:0}.margin-note p.small{grid-column:2}.gallery-heading{display:block}.gallery-heading p{margin-top:10px}.phones{gap:20px}.architecture-layout{grid-template-columns:minmax(0,1fr);gap:30px}.arch-flow{padding:25px}.arch-notes{max-width:740px}.arch-notes>h3 br{display:none}.quality-list{grid-template-columns:minmax(0,1fr);gap:24px}.quality-list article+article{border-top:1px solid var(--line);padding-top:24px}.quality-list h3{margin-bottom:8px}.development-layout{grid-template-columns:1fr;gap:20px}.development-layout .prose{padding-top:0}.term-grid{grid-template-columns:minmax(0,1fr)}.paper{padding:25px}.case-content{padding-left:130px}.season-case>summary{grid-template-columns:108px minmax(0,1fr) 18px}.chapter{padding:60px 0}.chapter-heading h2{font-size:36px}}
@media(max-width:640px){.wrap{width:calc(100% - 36px)}.site-header{min-height:78px;gap:12px}.brand{font-size:19px}.site-header nav{gap:16px;font-size:11px}.site-header nav a:first-child{display:none}.folio{font-size:10px;margin-bottom:32px;gap:15px}.folio span{font-size:9px;letter-spacing:.5px;text-align:right}.hero{padding-top:24px;padding-bottom:42px}.hero-grid{gap:28px}.hero .eyebrow{font-size:9px;letter-spacing:1px}h1{font-size:clamp(39px,10vw,58px);letter-spacing:-1.8px;margin-bottom:20px;line-height:1.12}h1>span{display:block}.subtitle{font-size:21px;line-height:1.5;letter-spacing:-.4px;margin-bottom:18px}.lead{font-size:14px}.actions{gap:10px 19px;margin-top:23px}.hero-screen .zoom-link{padding:7px;border-radius:7px}.screen figcaption{font-size:11px;gap:10px;line-height:1.75}.zoom-mark{right:12px;bottom:12px;padding:4px 7px;font-size:9px}.facts{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:28px;padding-top:0;gap:0}.facts>div{padding:20px 13px 16px 0!important}.facts>div+div{border-left:0;padding-left:0}.facts>div:nth-child(even){border-left:1px solid var(--line);padding-left:17px!important;padding-right:0!important}.facts>div:nth-child(n+3){border-top:1px solid var(--line)}.facts dt{font-size:21px;letter-spacing:-.55px}.facts dd{font-size:11px;line-height:1.65;max-width:16em;margin-top:7px}.chapter{padding:46px 0 48px}.chapter-heading{margin-bottom:27px}.eyebrow{font-size:9px;letter-spacing:1.35px;margin-bottom:16px}.chapter-heading h2{font-size:29px;letter-spacing:-.85px;line-height:1.23}.chapter-heading>p:last-child:not(.eyebrow){font-size:14px;margin-top:16px}.story-layout{grid-template-columns:1fr;gap:27px}.prose{font-size:14px;line-height:1.85}.prose .intro{font-size:18px;line-height:1.7}.prose p+p{margin-top:18px}.cast{padding:20px 22px}.cast dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}.cast dl>div{border-top:1px solid #e0d6c6}.cast dt{font-size:13px}.cast dd{font-size:11px}.values{grid-template-columns:1fr;gap:0}.values article{padding:22px 0 25px;gap:12px;grid-template-columns:22px minmax(0,1fr)}.values h3{font-size:18px}.values p{font-size:13px}.gameplay-copy,.voice-copy{gap:22px}.margin-note{display:block;font-size:13px;padding-top:23px}.margin-note h3{margin-bottom:8px}.margin-note p+h3{margin-top:22px}.margin-note p+p{margin-top:12px}.gallery-heading{margin-top:30px;padding-top:24px}.gallery-heading h3{font-size:18px}.gallery-heading p{font-size:11px}.gallery-jumps{font-size:11px;gap:3px 20px;margin:10px 0 15px}.gallery{grid-template-columns:minmax(0,1fr);gap:26px}.gallery>.screen:first-child{grid-column:auto}.gallery .zoom-link{padding:5px;border-radius:6px}.phone-heading{margin-top:32px;padding-top:25px}.phone-heading h3{font-size:22px}.phone-heading>p:last-child{font-size:12px}.phones{grid-template-columns:minmax(0,1fr);max-width:268px;margin-top:25px;gap:30px}.phone-screen figcaption{font-size:12px}.phone-screen .zoom-mark{font-size:10px}.season-case>summary{grid-template-columns:76px minmax(0,1fr) 14px;gap:12px;padding:15px 4px 15px 0;min-height:76px}.case-code{font-size:10px;line-height:1.6}.season-case summary strong{font-size:16px;letter-spacing:-.2px}.case-content{padding:0 0 23px}.case-content>p{font-size:13px}.concepts{gap:7px}.concepts li{font-size:11px;padding:5px 8px}.archive-note{font-size:11px;margin-top:17px}.arch-flow{padding:15px}.arch-node summary{padding:13px 30px 13px 13px}.arch-node p{padding:12px 13px 15px}.arch-node strong{font-size:14px}.arch-node summary span{font-size:10px}.worker-zone{padding:12px}.worker-zone>.eyebrow{font-size:8px;letter-spacing:.6px}.arch-sources{grid-template-columns:1fr;gap:10px}.arch-notes{padding-top:0}.arch-notes>h3{font-size:23px}.arch-notes>p:not(.eyebrow){font-size:13px}.timeout-note{padding:18px}.quality-list{padding:23px 0 24px}.quality-list h3{font-size:19px}.quality-list p{font-size:13px}.ci-note{font-size:13px;margin-top:20px}.tech-chips{gap:8px}.tech-chips li{font-size:11px;padding:8px 11px}.trailer-frame{margin-top:24px}.trailer-play{gap:12px;font-size:15px}.play-symbol{width:46px;height:46px;font-size:0;flex-shrink:0}.trailer-play small{font-size:10px}.development-layout{gap:17px}.development-layout .prose{font-size:14px}.term-grid{gap:20px}.paper{padding:20px}.case-card h3{font-size:20px}.term-bar{padding:12px;gap:6px;font-size:10px}.term-actions{gap:9px;padding:10px 12px}.term-actions .spacer{display:none}.term-actions .linkish{margin-left:auto}.kbd{font-size:9px}#sql{padding:15px;font-size:12px}.schema{padding:15px}.out{font-size:11px}.demo-start{gap:12px}.demo-start>.small{font-size:11px!important}.closing-actions{align-items:flex-start;flex-direction:column;margin-top:28px;padding-top:24px;gap:14px}.closing-actions p{font-size:16px}.site-footer{align-items:flex-start;padding:22px 0 26px;gap:16px}.site-footer .brand{font-size:16px}.site-footer p{font-size:9px;max-width:220px;line-height:1.9}.site-footer .text-link{font-size:11px}.lightbox{width:calc(100vw - 20px);padding:11px;max-height:calc(100dvh - 22px)}.lightbox-toolbar{font-size:10px;gap:10px}.lightbox-toolbar button{font-size:11px;padding:8px 12px;gap:10px}.lightbox #lightbox-caption{font-size:11px;padding-top:10px}.lightbox img{max-height:calc(100dvh - 220px)}.lightbox.phone-lightbox{width:calc(100vw - 22px)}}
@media(max-width:360px){.site-header nav{gap:12px;font-size:10px}.brand{font-size:18px}.actions{gap:6px 16px}.btn{font-size:12px;gap:14px;padding:11px 14px}.text-link{font-size:11px}.facts dt{font-size:19px}.chapter-heading h2{font-size:27px}.cast dl{grid-template-columns:1fr}.gallery-jumps{gap:3px 15px}.season-case>summary{grid-template-columns:64px minmax(0,1fr) 14px;gap:10px}.season-case summary strong{font-size:15px}.term-actions .linkish{margin-left:0}.trailer-play{font-size:13px}.trailer-play small{font-size:9px}.site-footer p{max-width:180px}}
@media(max-width:700px){.en-summary{grid-template-columns:minmax(0,1fr);gap:4px;padding:30px 0 34px}.en-summary .prose p{font-size:14px;line-height:1.85}.en-summary .prose p+p{margin-top:16px}.en-summary .en-links{margin-top:6px;gap:0 20px}.fold>summary{position:relative;padding-right:50px;cursor:pointer}.fold>summary:after{content:'+';position:absolute;right:0;top:50%;width:34px;height:34px;margin-top:-17px;display:flex;align-items:center;justify-content:center;border:1px solid #b7c8b0;border-radius:50%;background:#f2f5ea;color:var(--green);font:20px/1 var(--mono)}.fold[open]>summary:after{content:'−'}.fold:not([open])>summary{margin-bottom:0}.chapter:has(>.fold){padding-top:28px}.chapter:has(>.fold:not([open])){padding-bottom:30px}.footer-links{flex-direction:column;align-items:flex-end;gap:0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.site-header nav,.actions,.demo-start,.term-actions,.trailer-play,.lightbox,.zoom-mark,.closing-actions,.site-footer a[href="#hero"],.fold>summary:after{display:none!important}.wrap{width:100%}.chapter{break-inside:avoid;padding:24px 0}body{color:#000;background:#fff;font-size:12pt}.screen{break-inside:avoid}.gallery{gap:20px}.hero-grid,.story-layout,.architecture-layout{grid-template-columns:1fr}.hero-screen{max-width:700px}.phone-screen{max-width:190px}a{color:inherit}.season-case{break-inside:avoid}}

/* ===== 10 / Аналитика: артефакты бизнес-анализа (добавлено; существующие правила выше не менялись) ===== */
.an{--an-plate:#f0f3ea;--an-plate-line:#d5ddd1;--an-card:#fbfcf6;--an-card-line:#b5c4ae;--an-head:#e4eddf;--an-head-alt:#e3edf3;--an-ink:#354447;--an-muted:#566a5d;--an-edge:#5e7d66;--an-edge-soft:#7d8f80;--an-accent:#436a5a;--an-warm-ink:#79543f;--an-lane-a:#f5f6ef;--an-lane-b:#fbfaf5;--an-lane-line:#d5ddd1;--an-axis:#b9c0b2;--an-s1:#00866b;--an-s2:#c4622a;--an-num:#5b735e}
.an-index{list-style:none;margin:30px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:0 26px;border-top:1px solid var(--line)}
.an-index a{display:inline-flex;align-items:baseline;gap:8px;min-height:44px;padding-top:12px;font-size:13px;color:var(--green);text-decoration:none}
.an-index a:hover{text-decoration:underline}
.an-index span{font:11px/1.6 var(--mono);color:var(--an-num)}
.an-block{padding:52px 0 4px;border-top:1px solid var(--line);margin-top:36px;scroll-margin-top:16px}
.an-index+.an-block{margin-top:14px}
.an-block-head{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:10px 48px;align-items:start;margin-bottom:26px}
.an-kicker{grid-column:1;font:11px/1.6 var(--mono);color:var(--an-num);margin:0}
.an-block-head h3{grid-column:1;font-size:24px;line-height:1.3;font-weight:600;letter-spacing:-.5px;margin:0}
.an-lede{grid-column:2;grid-row:1/span 2;font-size:15px;line-height:1.8;color:var(--muted);max-width:660px;margin:0}
.an-lede strong{color:var(--ink);font-weight:600}
.an-points{grid-column:2;list-style:none;margin:6px 0 0;padding:0;max-width:660px;font-size:14px;line-height:1.7;color:var(--muted)}
.an-points li{position:relative;padding-left:20px}
.an-points li+li{margin-top:6px}
.an-points li:before{content:'';position:absolute;left:2px;top:.72em;width:9px;height:1px;background:var(--an-edge)}
.an-points b{font-weight:600;color:var(--ink)}
.an-legend{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-wrap:wrap;gap:6px 22px;font-size:12px;line-height:1.5;color:var(--an-muted)}
.an-legend li{display:inline-flex;align-items:center;gap:8px}
.an-legend svg{flex:none;overflow:visible}
.an-legend .n{display:none}
.an-legend .an-ref{font-size:12px}
.an-legend .lg-e{fill:none;stroke:var(--an-edge);stroke-width:1.25;stroke-linecap:round}.an-legend .lg-o{fill:var(--paper);stroke:var(--an-edge);stroke-width:1.25}.an-legend .lg-v{fill:none;stroke:var(--an-edge-soft);stroke-width:2;stroke-dasharray:.1 4;stroke-linecap:round}.an-legend .lg-c{fill:none;stroke:var(--an-accent);stroke-width:1.25;stroke-linecap:round}.an-legend .lg-h{fill:var(--an-head);stroke:var(--an-card-line)}.an-legend .lg-h.alt{fill:var(--an-head-alt)}
.an-legend .lg-ev{fill:var(--paper);stroke:var(--an-accent);stroke-width:1.5}.an-legend .lg-ev.end{stroke-width:3}.an-legend .lg-ev.thin{fill:none;stroke-width:1.1}.an-legend .lg-n{fill:var(--an-card);stroke:var(--an-card-line)}.an-legend .lg-n.exc{fill:#fbf6ef;stroke:#d9b896}.an-legend .lg-n.opt{stroke:var(--an-edge-soft);stroke-dasharray:3 2.5}.an-legend .lg-z{fill:#e8efe1;stroke:#9db296;stroke-dasharray:3 2.5}
.an-legend .lg-s1{fill:var(--an-s1)}.an-legend .lg-s2{fill:var(--an-s2)}.an-legend .lg-l{fill:none;stroke:var(--an-accent);stroke-width:2;stroke-linejoin:round}
.an-figure{margin:0}
.an-canvas{position:relative;background:var(--an-plate);border:1px solid var(--an-plate-line);border-radius:7px;padding:24px}
.an-canvas.erd{padding:16px}
.an-canvas.bare{background:none;border:0;padding:0}
.an-canvas.bare .an-svg{margin-inline:0}
.an-svg{display:block;width:100%;height:auto;max-width:var(--w,1040px);margin-inline:auto;font-family:inherit;overflow:visible}
.an-narrow,.an-stack,.an-rail,.an-open{display:none}
.an-caption{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 14px;margin-top:14px;max-width:860px;font-size:12px;line-height:1.7;color:var(--an-muted)}
.an-fig{font:11px/1.7 var(--mono);color:var(--an-num)}
.an-caption p{margin:0;grid-column:2}
.an-caption .an-source{font-size:11px}
.an-source code,.an-text code{font-family:var(--mono);font-size:.92em;color:var(--ink);overflow-wrap:anywhere}
.an-open{align-items:center;gap:10px;min-height:44px;font-size:12px;color:var(--green);text-decoration:none}
.an-open:hover{text-decoration:underline}
.an-text{margin-top:18px;border-block:1px solid var(--line)}
.an-text>summary{display:flex;align-items:center;gap:12px;min-height:48px;font-size:14px;font-weight:600;cursor:pointer;list-style:none}
.an-text>summary::-webkit-details-marker{display:none}
.an-text>summary:before{content:'+';width:16px;font:20px/1 var(--mono);color:#769277}
.an-text[open]>summary:before{content:'−'}
.an-text>summary span{font-weight:400;font-size:12px;color:var(--an-muted)}
.an-text-body{padding:4px 0 22px;font-size:14px;line-height:1.75;color:var(--ink)}
.an-text-body ol{margin:0;padding-left:22px}
.an-list{margin:0;padding-left:18px;font-size:13px;line-height:1.65}.an-list li+li{margin-top:3px}
.an-text-body li+li{margin-top:6px}
.an-text-h{font-size:12px;letter-spacing:1px;text-transform:uppercase;font-weight:400;color:var(--an-muted);margin:18px 0 6px}
.an-text-h:first-child{margin-top:6px}
.an-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.6}
.an-table th{text-align:left;font-weight:400;font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:var(--an-muted);padding:8px 14px 8px 0;border-bottom:1px solid var(--an-plate-line)}
.an-table td{padding:9px 14px 9px 0;border-bottom:1px solid var(--an-plate-line);vertical-align:top}
.an-table .num{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.an-closing{margin-top:40px;padding-top:22px;border-top:1px solid var(--line);font-size:12px;line-height:1.8;color:var(--muted);max-width:820px}

.an-group-title{font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:var(--an-muted);font-weight:400;margin:22px 0 8px}
.an-group-title:first-child{margin-top:0}
.an-entity{border:1px solid var(--an-card-line);border-radius:5px;background:var(--an-card);overflow:hidden}
.an-entity+.an-entity{margin-top:8px}
.an-entity-head{padding:9px 12px 8px;background:var(--an-head);border-bottom:1px solid var(--an-card-line)}
.an-entity-head.alt{background:var(--an-head-alt)}
.an-entity-name{display:flex;align-items:baseline;gap:8px;margin:0}
.an-entity-name code{font:600 14px/1.5 var(--mono);color:var(--ink)}
.an-entity-name small{margin-left:auto;font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--an-muted)}
.an-hz{flex:none;align-self:center;fill:none;stroke:var(--an-accent);stroke-width:1.25;stroke-linecap:round}
.an-entity-ru{margin:0;font-size:12px;line-height:1.5;color:var(--an-muted)}
.an-cols{list-style:none;margin:0;padding:6px 12px 8px}
.an-cols li{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:8px;align-items:baseline;padding:2px 0;font-size:13px;line-height:1.5}
.an-cols code{font-family:var(--mono);font-size:13px;color:var(--ink);overflow-wrap:anywhere}
.an-cols li>code{grid-column:2}.an-cols .an-ref{grid-column:3}
.an-cols li.more{display:block;padding-left:34px;font-size:12px;color:var(--an-muted)}
.an-key{font:600 11px/1.5 var(--mono);color:var(--an-muted)}
.an-key.pk{color:var(--an-accent)}.an-key.fk{color:var(--an-warm-ink)}
.an-ref{font:12px/1.5 var(--mono);color:var(--an-warm-ink);white-space:nowrap}
.an-ref.soft{color:var(--an-muted)}
.an-entity-note{margin:0;padding:8px 12px 9px;border-top:1px dashed var(--an-card-line);font-size:12px;line-height:1.6;color:var(--an-warm-ink)}
.an-entity-note code{font-size:11.5px}


.an-rail{list-style:none;margin:0;padding:0 0 0 30px;position:relative}
.an-rail:before{content:'';position:absolute;left:9px;top:14px;bottom:30px;border-left:1.5px solid var(--an-edge)}
.an-r{position:relative;margin:0 0 10px;font-size:14px;line-height:1.55}
.an-r:before{content:'';position:absolute;left:-25px;top:17px;width:8px;height:8px;border-radius:50%;background:var(--an-plate);border:1.5px solid var(--an-accent);box-sizing:content-box}
.an-r.task,.an-r.timer{padding:9px 12px 10px;border:1px solid var(--an-card-line);border-radius:6px;background:var(--an-card)}
.an-r.timer{background:#fbf6ef;border-color:#d9b896}
.an-r.start{padding:6px 0 4px}
.an-r.start:before{left:-30px;top:6px;width:16px;height:16px;background:var(--an-card)}
.an-r.gate{padding:8px 0 6px}
.an-r.gate:before{left:-27px;top:10px;width:11px;height:11px;border-radius:1px;transform:rotate(45deg);background:var(--an-card)}
.an-r.timer:before{left:-29px;top:14px;width:13px;height:13px;border-color:var(--an-warm-ink)}
.an-lane{display:block;font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:var(--an-muted);line-height:1.6}
.an-r b{display:block;font-weight:600;color:var(--ink)}
.an-r.start b{font-weight:400}
.an-r small{display:block;margin-top:2px;font-size:12.5px;line-height:1.55;color:var(--an-muted)}
.an-exits{list-style:none;margin:4px 0 0;padding:0}
.an-exits li{position:relative;font-size:13px;line-height:1.55;color:var(--ink);padding:3px 0 3px 0}
.an-exits li:before{content:'';position:absolute;left:-21px;top:13px;width:14px;border-top:1.5px solid var(--an-edge)}
.an-cond{font-weight:600;color:var(--an-accent)}
.an-cond:after{content:' →'}
.an-link{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-left:4px;border-radius:50%;border:1.5px solid var(--an-accent);box-shadow:inset 0 0 0 1.5px var(--paper),inset 0 0 0 2.5px var(--an-accent);font-size:10.5px;font-weight:600;color:var(--an-accent);line-height:1;vertical-align:0}
.an-main{display:block;margin-top:2px;font-size:12.5px;color:var(--an-muted)}

.an-story-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:18px;align-items:stretch}
.an-card{padding:22px 24px 20px;border:1px solid var(--an-card-line);border-radius:6px;background:var(--an-card);min-width:0}
.an-card-id{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 14px;margin:0;font:11px/1.6 var(--mono);color:var(--an-num)}
.an-us{margin:12px 0 0;font-size:19px;line-height:1.55;letter-spacing:-.25px;font-weight:400;color:var(--ink)}
.an-us b{font-weight:600}
.an-us-parts{margin:16px 0 0;display:grid;grid-template-columns:72px minmax(0,1fr);gap:7px 14px;font-size:14px;line-height:1.65;border-top:1px dashed var(--an-card-line);padding-top:14px}
.an-us-parts dt{font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:var(--an-muted);padding-top:3px}
.an-us-parts dd{margin:0}
.an-mini-h{margin:0 0 10px;font-size:10px;letter-spacing:1.3px;text-transform:uppercase;font-weight:400;color:var(--an-muted)}
.an-result{width:100%;border-collapse:collapse;font-size:13px;line-height:1.55}
.an-result th{text-align:left;font:400 11px/1.6 var(--mono);color:var(--an-muted);padding:6px 10px 6px 0;border-bottom:1px solid var(--an-card-line)}
.an-result td{padding:7px 10px 7px 0;border-bottom:1px solid #e3e7dc;vertical-align:top}
.an-result td:first-child{font:12.5px/1.55 var(--mono);white-space:nowrap}
.an-result tr.last td{background:#eef3e6}
.an-trace{margin:12px 0 0;font-size:12.5px;line-height:1.65;color:var(--an-muted)}
.an-trace b{color:var(--ink);font-weight:600}
.an-given{margin:22px 0 12px;display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;font-size:14px;line-height:1.65;color:var(--ink)}
.an-given dt{font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:var(--an-muted);padding-top:3px}
.an-given dd{margin:0}
.an-acs{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.an-ac{padding:16px 18px 16px;border:1px solid var(--an-card-line);border-left-width:3px;border-radius:5px;background:var(--an-card);min-width:0}
.an-ac.pos{border-left-color:#5f8f6e}
.an-acs>.an-ac:first-child{grid-column:1/-1}
.an-ac.neg{border-left-color:#c99a76}
.an-ac-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0}
.an-ac-top b{font-size:15px;font-weight:600;letter-spacing:-.2px}
.an-ac-top span{font:11px/1.6 var(--mono);color:var(--an-num);white-space:nowrap}
.an-ac dl{margin:10px 0 0;display:grid;grid-template-columns:62px minmax(0,1fr);gap:6px 12px;font-size:13.5px;line-height:1.6}
.an-ac dt{font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:var(--an-muted);padding-top:3px}
.an-ac dd{margin:0;min-width:0}
.an-verdict{display:inline-flex;align-items:center;gap:7px;font-weight:600}
.an-verdict:before{content:'';width:7px;height:7px;border-radius:50%;background:#5f8f6e;flex:none}
.neg .an-verdict:before{background:#b5714a}
.an-msg{color:var(--an-warm-ink)}
.an-sql{margin:8px 0 0;padding:9px 11px;border:1px solid #dfe4d6;border-radius:4px;background:#f6f8f0;font:12px/1.65 var(--mono);color:#3c5246;white-space:pre-wrap;overflow-wrap:anywhere}
.an-sql mark{background:#f3e3d2;color:inherit;border-radius:2px;padding:0 1px}
.an-gap{display:inline-block;margin:0 1px;padding:0 6px;border:1px dashed #c99a76;border-radius:3px;background:#fbf3ea;font:11.5px/1.45 var(--f-body);color:var(--an-warm-ink);vertical-align:1px;-webkit-user-select:none;user-select:none}
.an-sql-fold>summary{display:none}
.an .an-sql-fold>summary:after{content:none}
.an-scale{margin:16px 0 0;font-size:13px;line-height:1.7;color:var(--muted);max-width:860px}
.an-scale b{color:var(--ink);font-weight:600}

.an-decisions{list-style:none;margin:0;padding:0;border-top:1px solid var(--an-plate-line)}
.an-decisions>li{display:grid;grid-template-columns:56px minmax(0,6fr) minmax(0,5fr);gap:6px 30px;padding:20px 0 22px;border-bottom:1px solid var(--an-plate-line);font-size:14px;line-height:1.7}
.an-decisions .an-no{font:11px/2 var(--mono);color:var(--an-num)}
.an-decisions h4{margin:0 0 6px;font-weight:600;font-size:17px;line-height:1.45;letter-spacing:-.25px}
.an-decisions .why{margin:0;color:var(--muted)}
.an-decisions .what{margin:8px 0 0}
.an-decisions .then{margin:0;color:var(--ink)}
.an-decisions .then b,.an-decisions .what b{display:block;font-weight:400;font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:var(--an-muted);margin-bottom:2px}
.an-decisions .an-source{margin:8px 0 0;font-size:11px;color:var(--an-muted)}

.an-svg text{fill:var(--an-ink);font-size:14px}
.an-svg .sm{font-size:12px}
.an-svg .mu{fill:var(--an-muted)}
.an-svg .mo{font-family:var(--mono)}
.an-svg .b{font-weight:600}
.an-svg .h{paint-order:stroke;stroke:var(--an-plate);stroke-width:5px;stroke-linejoin:round}
.an-svg .wa{fill:var(--an-warm-ink)}
.an-svg .ac{fill:var(--an-accent)}
.an-svg .ln{font-size:14px;font-weight:600}
.an-svg .cp{font-size:11.6px;letter-spacing:1.1px;text-transform:uppercase;fill:var(--an-muted)}
.an-svg .nm{font-size:14px}
.an-svg .co text{font-size:12.5px}
.an-svg .ky text{font-size:12px;font-weight:600}
.an-svg .pk{fill:var(--an-accent)}
.an-svg .fk{fill:var(--an-warm-ink)}
.an-svg .gl{fill:none;stroke:var(--an-accent);stroke-width:1.25;stroke-linecap:round}
.an-svg .lane-a{fill:var(--an-lane-a)}.an-svg .lane-b{fill:var(--an-lane-b)}
.an-svg .lane-rule{stroke:var(--an-lane-line);stroke-width:1;fill:none}
.an-svg .node{fill:var(--an-card);stroke:var(--an-card-line);stroke-width:1}
.an-svg .node.exc{fill:#fbf6ef;stroke:#d9b896}
.an-svg .node.opt{stroke:var(--an-edge-soft);stroke-dasharray:4 3}
.an-svg .head{fill:var(--an-head)}.an-svg .head.alt{fill:var(--an-head-alt)}
.an-svg .row-pk{fill:var(--an-head);opacity:.55}
.an-svg .rule{stroke:var(--an-card-line);stroke-width:1;fill:none}
.an-svg .zone{fill:#e8efe1;fill-opacity:.55;stroke:#9db296;stroke-width:1;stroke-dasharray:5 4}
.an-svg .flow{fill:none;stroke:var(--an-edge);stroke-width:1.5;stroke-linejoin:round}
.an-svg .flow.data{stroke:var(--an-edge-soft);stroke-width:1.25;stroke-dasharray:5 4}
.an-svg .rel{fill:none;stroke:var(--an-edge);stroke-width:1.25;stroke-linejoin:round}
.an-svg .rel.logical{stroke:var(--an-edge-soft);stroke-dasharray:.1 4;stroke-linecap:round;stroke-width:2}
.an-svg .cf{fill:none;stroke:var(--an-edge);stroke-width:1.25;stroke-linecap:round}
.an-svg .cf-o{fill:var(--an-plate);stroke:var(--an-edge);stroke-width:1.25}
.an-svg .ev{fill:var(--an-card);stroke:var(--an-accent);stroke-width:1.5}
.an-svg .ev.end{stroke-width:3.5}
.an-svg .gw{fill:var(--an-card);stroke:var(--an-accent);stroke-width:1.5}
.an-svg .glyph{fill:none;stroke:var(--an-accent);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.an-svg .glyph.muted{stroke:var(--an-muted)}
.an-svg .arrow{fill:var(--an-edge)}
.an-svg .arrow-open{fill:none;stroke:var(--an-edge-soft);stroke-width:1.25}
.an-svg .axis{stroke:var(--an-axis);stroke-width:1}
.an-svg .tk text{font-size:12px;fill:var(--an-muted);font-variant-numeric:tabular-nums}
.an-svg .tk .b,.an-svg .tk.b text{font-weight:600;fill:var(--an-ink)}
.an-narrow .tk text,.an-narrow .sm{font-size:13px}
.an-svg .s1{fill:var(--an-s1)}.an-svg .s2{fill:var(--an-s2)}
.an-svg .line-s1{fill:none;stroke:var(--an-accent);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.an-svg .area-s1{fill:var(--an-accent);opacity:.1}
.an-svg .dot{fill:var(--an-accent);stroke:var(--paper);stroke-width:2}
.an-svg .ann{stroke:var(--an-warm-ink);stroke-width:1;fill:none}

@media(max-width:640px){.site-header nav a[href="#analysis"]{display:none}}

@media(max-width:1099px){
.an-wide{display:none}
.an-narrow{display:block;max-width:440px}
.an-stack,.an-rail{display:block;max-width:560px}
.an-canvas.has-stack{background:none;border:0;padding:0}
.an-open{display:inline-flex}
.an-legend .w{display:none}
.an-legend .n{display:inline-flex}
.an-block-head{grid-template-columns:minmax(0,1fr);gap:8px}
.an-lede,.an-points{grid-column:1;grid-row:auto}
.an-story-grid{grid-template-columns:minmax(0,1fr)}
}
@media(min-width:701px) and (max-width:1099px){
.an-stack{max-width:none;column-count:2;column-gap:20px}
.an-entity{break-inside:avoid}
.an-group-title{break-after:avoid}
.an-entity+.an-entity{margin-top:0}
.an-entity{margin-bottom:8px}
}
@media(max-width:900px){
.an-acs{grid-template-columns:minmax(0,1fr)}
.an-decisions>li{grid-template-columns:minmax(0,1fr);gap:4px}
.an-decisions .then{margin-top:6px}
}
@media(max-width:700px){
.an-sql-fold>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:0;font-size:12px;color:var(--green);cursor:pointer;list-style:none}
.an-sql-fold>summary::-webkit-details-marker{display:none}
.an-sql-fold>summary:before{content:'+';font:16px/1 var(--mono)}
.an-sql-fold[open]>summary:before{content:'−'}
}
@media(max-width:640px){
.an-index{gap:0 18px;margin-top:22px}
.an-block{padding-top:34px;margin-top:26px}
.an-block-head h3{font-size:21px}
.an-lede{font-size:14px;line-height:1.7}
.an-points{font-size:13px}
.an-canvas{padding:12px 6px;border-radius:6px}
.an-caption{grid-template-columns:minmax(0,1fr);gap:2px}
.an-caption p{grid-column:1}
.an-card{padding:16px 16px 16px}
.an-us{font-size:17px}
.an-us-parts,.an-given{grid-template-columns:minmax(0,1fr);gap:2px}
.an-us-parts dd+dt,.an-given dd+dt{margin-top:8px}
.an-ac{padding:14px 14px}
.an-ac dl{grid-template-columns:minmax(0,1fr);gap:0}
.an-ac dd+dt{margin-top:8px}
.an-table thead{display:none}
.an-table tr{display:block;padding:10px 0;border-bottom:1px solid var(--an-plate-line)}
.an-table td{display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px;border:0;padding:2px 0}
.an-table td:before{content:attr(data-label);font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--an-muted);padding-top:3px}
.an-table td.num{text-align:left}
}
@media print{.an-wide{display:block!important}.an-narrow,.an-stack,.an-rail,.an-open{display:none!important}.an-text{break-inside:avoid}}
@media(forced-colors:active){.an-svg .node,.an-svg .gw,.an-svg .ev,.an-svg .flow,.an-svg .rel,.an-svg .cf{stroke:CanvasText}}
/* RU/EN switch: the homepage's language pill (bookshelf.css .language-switch) built from links; every item keeps a 44x44 hit target. */
.site-header nav{margin-left:auto}
.lang-switch{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid var(--line);border-radius:24px;background:#f4f4eb;flex-shrink:0}
.lang-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 8px;border-radius:22px;color:#69786b;font-size:10px;letter-spacing:.7px;text-decoration:none;transition:background 150ms,color 150ms}
@media(hover:hover){.lang-switch a:hover{background:#e8ede0;color:#354e42}}
.lang-switch a[aria-current=page]{background:#e1e9d9;color:#354e42;font-weight:600}
@media(max-width:850px){.lang-switch{gap:0;padding:0 2px;height:32px;border-color:#cdd6c4;background:#f5f5ed;border-radius:16px}.lang-switch a{position:relative;z-index:0;margin:-7px 0;padding:0;border-radius:0;background:none!important;font-size:11px;font-weight:600;letter-spacing:.6px;color:#5f705d}.lang-switch a:before{content:'';position:absolute;z-index:-1;inset:10px 1px;border-radius:12px;transition:background 150ms}.lang-switch a[aria-current=page]{color:#263f2e}.lang-switch a[aria-current=page]:before{background:#dce7d2}}
@media print{.lang-switch{display:none}}
/* With the switch the phone header keeps one project link, and none below 375px (the brand and the folio still lead to the shelf). */
@media(max-width:700px){.site-header nav a[href="#analysis"]{display:none}}
@media(max-width:640px){.site-header nav a[href="#architecture"]{display:none}}
@media(max-width:374px){.site-header nav{display:none}.lang-switch{margin-left:auto}}
