:root{--page:#0a1011;--muted:#bfc9c1}
/* style.css — retained cascade during consolidation */
/* Базовые стили Летописи (Codex). Мёртвые селекторы удалены 08.10.2026 — проверено попиксельно на 24 состояниях. */
:root{--bg:#111617;--panel:#1a2020;--ink:#e9e7dc;--muted:#9ba8a4;--line:#35413c;--red:#bb796b;--blue:#8aadc0}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 system-ui,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,summary{outline-offset:4px}button{cursor:pointer;background:none;color:inherit;border:1px solid var(--line);padding:9px 13px;border-radius:3px}button:hover{border-color:var(--gold);color:var(--gold)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--gold)}a{color:var(--gold)}header{height:85px;padding:0 3vw;display:flex;align-items:center;gap:32px;border-bottom:1px solid var(--line)}.brand{font-size:13px;letter-spacing:3px;color:var(--ink);text-decoration:none}.brand span{display:block;color:var(--muted);font-size:8px;letter-spacing:2px}nav{display:flex;gap:7px;margin-left:auto}nav button{border:0;color:var(--muted);font-size:12px}nav button.active{background:#30362d;color:var(--gold)}#help{font-size:10px;color:var(--muted);border:0}main{padding:0 3vw}.eyebrow{font-size:9px;letter-spacing:2px;color:var(--gold);font-weight:600;margin:0 0 13px}h1{font:clamp(40px,4.8vw,70px)/1.06 Georgia,serif;letter-spacing:-1.8px;margin:0}h1 em{font-weight:400;color:var(--gold)}.timebar{border-block:1px solid var(--line);display:flex;align-items:center;gap:24px;padding:19px 0;margin-bottom:25px}.time-values strong{font:30px Georgia,serif;display:block;color:var(--gold)}.time-values small{font-size:9px;color:var(--muted);white-space:nowrap}.slider{flex:1}.slider input{width:100%;accent-color:var(--gold)}.slider>div{display:flex;justify-content:space-between;color:var(--muted);font-size:9px}.slider button{padding:0;border:0;font-size:9px;color:var(--muted)}.timebar details{font-size:11px;position:relative}.timebar details[open]{background:var(--panel);padding:8px}.timebar input[type=number]{width:65px}.workbench{display:grid;grid-template-columns:200px minmax(0,1fr) 315px;border:1px solid var(--line);min-height:640px}.rail{padding:22px 17px;border-right:1px solid var(--line)}input[type=search],select,textarea,input[type=number]{background:#121918;border:1px solid var(--line);color:var(--ink);border-radius:3px;padding:10px;width:100%;font-size:11px}.rail>label:not(.eyebrow){display:block;margin-top:20px;margin-bottom:6px;font-size:10px;color:var(--muted)}.rail details{margin-top:24px;font-size:11px}.rail details label{display:block;margin:10px 0;color:var(--muted);font-size:10px}.rail select{margin-top:5px}.rail-note{font-size:10px;color:var(--muted);margin-top:25px}.rail #reset{font-size:10px;width:100%}.route{width:100%;display:block;text-align:left;border:0;margin-top:5px;font-size:11px;padding:8px 6px;color:var(--muted)}.route.active{color:var(--gold);background:#2c332c}.stage{min-width:0;position:relative}.stage-head{height:88px;padding:20px 23px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:15px}.stage-head .eyebrow{font-size:8px;margin-bottom:5px}.stage-head h2{font:20px/1.25 Georgia,serif;margin:0}#coverage{font-size:9px;color:var(--muted);text-align:right;max-width:130px}#map{height:430px;background:#131f23}.leaflet-container{font:12px system-ui,sans-serif}.leaflet-control-attribution{background:#172021dd!important;color:#b7beb7!important;font-size:8px!important}.leaflet-control-attribution a{color:var(--gold)}.leaflet-control-zoom a{background:#222d2c!important;color:var(--ink)!important;border-color:var(--line)!important}.city-icon{width:max-content!important;height:auto!important;display:flex;align-items:center;gap:7px;color:#e9e7dc;text-shadow:0 1px 4px #000;font-size:10px;white-space:nowrap}.city-icon i{width:10px;height:10px;display:block;border-radius:50%;border:1px solid #e4ce98;background:#ae8b47;box-shadow:0 0 11px #ae8b4766}.city-icon small{color:var(--gold);font-size:9px}.map-controls{display:flex;align-items:center;gap:7px;padding:11px 17px;border-block:1px solid var(--line);background:#1a2220}.map-controls button{font-size:9px;padding:5px 8px}.map-controls>span{font-size:8px;color:var(--muted);margin-left:auto}.claim-preview{display:block;text-align:left;font-size:11px;border:0;border-left:2px solid var(--gold);background:#222a26;margin:9px 0;padding:11px 13px;width:100%}.claim-preview.reported{border-left-color:var(--blue)}.claim-preview small{display:block;color:var(--muted);font-size:9px;margin-bottom:5px}.dossier{border-left:1px solid var(--line);background:var(--panel);padding:25px 22px;max-height:850px;overflow:auto}.dossier h2{font:29px/1.15 Georgia,serif;overflow-wrap:anywhere;margin:12px 0 16px}.dossier h3{font:18px Georgia,serif;margin:27px 0 10px}.dossier p{font-size:11px;color:var(--muted)}.note{padding:13px;border-left:2px solid var(--gold);background:#27302a;font-size:10px!important;line-height:1.6}.badge{display:inline-block;padding:3px 7px;border:1px solid #525440;background:#32362a;color:var(--gold);font-size:9px;margin:3px}.badge.reported{color:var(--blue);border-color:#3f5661;background:#233039}.badge.hypothesis,.badge.disputed{color:var(--red);border-color:#5c3c39;background:#382926}.dossier .claim-preview{font-size:10px}.timeline-entry{padding:12px 0 12px 14px;border-left:1px solid var(--line);position:relative}.timeline-entry strong{display:block;color:var(--gold);font:17px Georgia,serif}.timeline-entry p{margin:4px 0}.timeline-entry button{padding:0;border:0;font-size:10px}.action-row{display:flex;gap:6px;flex-wrap:wrap;margin-top:15px}.action-row button{font-size:10px}.entity-link{border:0;padding:0;color:var(--gold);font-size:inherit;text-align:left}.media-strip{display:grid;grid-template-columns:1fr 1fr;gap:8px}.media-strip button{padding:0;background:#29312b;overflow:hidden}.media-strip img{width:100%;height:100px;object-fit:cover;display:block}.media-strip small{font-size:8px;display:block;padding:5px}footer{border-top:1px solid var(--line);margin:0 3vw;padding:25px 0;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:var(--muted)}footer span{letter-spacing:2px}footer p{margin:0}dialog{background:#1c2522;color:var(--ink);border:1px solid #59644d;border-radius:5px;max-width:850px;width:calc(100% - 38px);max-height:90vh;padding:36px;box-shadow:0 20px 100px #0009}dialog::backdrop{background:#080e0fbb;backdrop-filter:blur(3px)}.dialog-close{position:absolute;right:12px;top:10px;font-size:20px;border:0;padding:0 7px}dialog h2{font:28px Georgia,serif}dialog p{color:#bbc4bb;font-size:12px}.evidence-record{border-top:1px solid var(--line);padding:18px 0}.evidence-record blockquote{padding:14px;margin:12px 0;background:#28322b;font:14px/1.8 Georgia,serif;white-space:pre-wrap;overflow-wrap:anywhere}.evidence-record .annotation{font:12px system-ui,sans-serif;color:var(--muted)}.evidence-record h3{font-size:15px}.evidence-record small{font-size:10px;color:var(--muted)}.evidence-record a,.evidence-record button{font-size:10px;margin-right:12px}.source-text{font:11px/1.7 monospace;white-space:pre-wrap;max-height:350px;overflow:auto;background:#101916;padding:20px}#lightbox{max-width:1000px}#lightbox img{max-width:100%;max-height:67vh;object-fit:contain;display:block;margin:auto}#media-caption{font-size:11px;padding-top:15px;color:var(--muted)}#content{padding:23px;max-height:620px;overflow:auto}.story-card{margin:0 0 20px;border-bottom:1px solid var(--line);padding-bottom:22px}.story-card h3{font:27px Georgia,serif;margin:0 0 12px}.story-card p{font-size:11px;color:var(--muted)}.story-entities{display:flex;gap:6px;flex-wrap:wrap}.story-entities button{font-size:10px}.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.gallery button{padding:0;text-align:left;overflow:hidden}.gallery img{width:100%;height:175px;object-fit:cover;background:#e9e7dc}.gallery span{display:block;padding:12px;font-size:10px}.gallery small{color:var(--muted);display:block}.bar{display:flex;gap:14px;align-items:center;font-size:11px;margin:10px 0}.bar>span{width:155px}.bar i{display:block;background:#9f915f;height:5px}.bar em{font-style:normal;color:var(--gold)}#graph{display:block;height:430px;width:100%;touch-action:none}#graphlist{display:flex;gap:6px;flex-wrap:wrap;padding:10px 18px;max-height:120px;overflow:auto}#graphlist button{font-size:9px;padding:4px 7px}#searchresults{max-height:180px;overflow:auto}#searchresults button{display:block;text-align:left;width:100%;font-size:10px;border:0;padding:7px 2px;color:var(--gold)}#submission form label{display:block;margin-top:15px;font-size:11px}#submission form select,#submission textarea{margin-top:6px}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--gold);color:#171d18;padding:10px 18px;font-size:12px;z-index:2000;display:none}[hidden]{display:none!important}input[type=checkbox]{accent-color:var(--gold)}@media(min-width:1700px){.workbench{grid-template-columns:220px minmax(0,1fr) 360px}#map,#graph{height:520px}}@media(max-width:1100px){.workbench{grid-template-columns:180px minmax(0,1fr)}.dossier{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);max-height:700px}header{gap:15px}.brand{font-size:11px}nav{gap:0}nav button{padding:8px}}@media(max-width:700px){header{height:auto;min-height:80px;flex-wrap:wrap;padding:15px 5vw;gap:10px}nav{width:100%;order:3;justify-content:space-between}#help{margin-left:auto}h1{font-size:42px}.timebar{gap:10px;flex-wrap:wrap}.slider{min-width:170px}.timebar details{margin-left:auto}.workbench{display:flex;flex-direction:column}.rail{border-right:0;border-bottom:1px solid var(--line);padding:15px}.rail details{margin-top:12px}.rail details:first-of-type{display:none}.rail>label:not(.eyebrow){display:inline-block;margin:10px 0 5px}.rail select{margin:0}.rail-note{margin:12px 0}.stage-head{height:85px;padding:17px}#map,#graph{height:370px}.dossier{max-height:none;padding:23px}.map-controls{flex-wrap:wrap}.map-controls>span{width:100%;margin:0}.gallery{grid-template-columns:1fr 1fr}.gallery img{height:130px}footer{display:block}footer p{margin-top:12px}dialog{padding:27px 20px}main{padding:0 4vw}.stage-head h2{font-size:18px}.time-values strong{font-size:25px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* chronicle.css — retained cascade during consolidation */
/* Стили хронологии и досье (Codex). Мёртвые селекторы удалены 08.10.2026 — проверено попиксельно на 24 состояниях. */

:root{--bg:#14191b;--panel:#1e2527;--ink:#ece8df;--muted:#acb4b1;--line:#3e494b;--gold:#c8af7b}body{font-size:16px}header{height:76px;gap:24px;background:#171e20}nav button{font-size:14px;min-height:44px}#help{font-size:13px}.brand span{font-size:10px}.timebar{margin-bottom:14px;padding:16px 0;gap:18px}.time-values small{font-size:12px}.slider button,.slider>div{font-size:12px}.slider input:disabled{opacity:.3}.timebar details{font-size:14px}.workbench{grid-template-columns:210px minmax(0,1fr);min-height:0}.workbench.has-dossier{grid-template-columns:190px minmax(0,1fr) 370px}.rail{padding:22px 16px}.rail>label:not(.eyebrow),.rail details label,.rail-note{font-size:13px}.rail details{font-size:14px;margin-top:18px}.eyebrow{font-size:11px}input[type=search],select,textarea,input[type=number]{font-size:14px;padding:11px}.rail #reset,.route{font-size:13px;min-height:44px}.stage-head{height:auto;min-height:76px;padding:18px 24px}.stage-head h2{font-size:26px}.stage-head .eyebrow{font-size:10px}#coverage{font-size:12px;max-width:200px}#content{padding:0;max-height:780px}.dossier{position:relative;padding:28px 24px;max-height:1000px}.dossier h2{font-size:32px}.dossier p,.dossier .claim-preview{font-size:14px}.dossier h3{font-size:23px}.dossier .eyebrow{padding-right:35px}#close-dossier{position:absolute;right:10px;top:12px;width:44px;height:44px;font-size:25px;border:0}.claim-preview{font-size:15px;line-height:1.65;padding:15px 18px}.claim-preview small,.badge{font-size:12px}.claim-preview.reported{border-left-style:dashed}.claim-preview.hypothesis,.claim-preview.disputed{border-left-style:dotted;border-left-color:var(--red)}.note{font-size:13px!important}.story-card p{font-size:15px}.action-row button,.timeline-entry button{font-size:13px;min-height:44px}.timeline-entry strong{font-size:20px}.story-card{padding:24px}.story-entities button{font-size:13px}dialog{max-width:960px;padding:38px}dialog h2{font:23px/1.5 Georgia,serif}dialog p,.evidence-record .annotation{font-size:15px}.evidence-record h3{font-size:18px}.evidence-record small{font-size:13px}.evidence-record button,.evidence-record a{font-size:14px}.source-text{font-size:14px}#graphlist button{font-size:13px;min-height:40px}.superseded{outline:1px dashed var(--red);opacity:.8}
@media(max-width:1200px){.workbench.has-dossier{grid-template-columns:190px minmax(0,1fr)}.has-dossier .dossier{grid-column:1/-1;border-top:1px solid var(--line);border-left:0}}
@media(max-width:760px){header{height:auto;gap:12px;padding:16px 4vw}.brand{font-size:11px}nav{order:3;width:100%;overflow-x:auto;justify-content:space-between}nav button{font-size:12px;padding:8px}.timebar{gap:12px}.time-values strong{font-size:25px}.slider{min-width:130px}.timebar details{font-size:13px}.slider>div{font-size:10px}.slider button{font-size:10px}.workbench,.workbench.has-dossier{display:flex;flex-direction:column}.rail{display:none}.filters-open .rail{display:block}.stage-head{padding:16px;min-height:70px}.stage-head h2{font-size:23px}#coverage{font-size:11px;max-width:100px}#content{max-height:none}.dossier{border-left:0;border-top:1px solid var(--line);max-height:none}.gallery{padding:15px}.dossier h2{font-size:30px}dialog{padding:32px 20px}dialog h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.rail{display:none}.workbench{grid-template-columns:minmax(0,1fr)}.workbench.has-dossier{grid-template-columns:minmax(0,1fr) 370px}.workbench.filters-open{grid-template-columns:210px minmax(0,1fr)}.workbench.filters-open.has-dossier{grid-template-columns:190px minmax(0,1fr) 370px}.filters-open .rail{display:block}
@media(max-width:1200px){.workbench.filters-open.has-dossier{grid-template-columns:190px minmax(0,1fr)}.workbench.has-dossier:not(.filters-open){grid-template-columns:minmax(0,1fr) 340px}.workbench.has-dossier:not(.filters-open) .dossier{grid-column:auto;border-top:0;border-left:1px solid var(--line)}}
@media(max-width:760px){.timebar{padding:12px 0;gap:8px}.time-values strong{font-size:22px}.time-values small{font-size:10px}.workbench,.workbench.has-dossier,.workbench.filters-open,.workbench.filters-open.has-dossier{display:flex}.stage-head{min-height:60px}.stage-head h2{font-size:21px}.stage-head .eyebrow{margin-bottom:4px}.workbench.has-dossier:not(.filters-open) .dossier{border-left:0;border-top:1px solid var(--line)}
}.edge-register{width:100%;font-size:14px}.edge-register button{display:block;text-align:left;width:100%}
@media(max-width:760px){.timebar{margin-top:12px}}

/* atlas.css — retained cascade during consolidation */
/* Атлас-раскладка и ленты сред (Codex). Мёртвые селекторы удалены 08.10.2026 — проверено попиксельно на 24 состояниях. */

:root{--bg:#090d0e;--panel:#111719;--ink:#d9d8ce;--line:#303734;--muted:#929c99;--gold:#c4ad7f}body{font-size:13px}header{position:fixed;inset:0 auto 0 0;width:210px;height:100vh;display:flex;flex-direction:column;align-items:stretch;padding:30px 18px;background:var(--page);border-right:1px solid #514a3a;gap:30px;z-index:1000}.brand{font:25px Georgia,serif;letter-spacing:5px;border-bottom:1px solid var(--line);padding-bottom:26px}.brand span{font:10px/1.7 system-ui;letter-spacing:2px;margin-top:10px}header nav{display:flex;flex-direction:column;gap:8px}header nav button{text-align:left;border:0;padding:14px 12px;font:17px Georgia,serif;letter-spacing:.3px;color:#9fa7a4}header nav button.active{background:#25251d;color:#e4d2aa;border-left:3px solid var(--gold)}header nav button:nth-child(1)::after{content:'Что происходило'}header nav button:nth-child(2)::after{content:'Где это происходило'}header nav button:nth-child(3)::after{content:'Кто с кем был связан'}header nav button:nth-child(4)::after{content:'Сохранившиеся следы'}header nav button:nth-child(5)::after{content:'Готовые маршруты'}header nav button::after{display:block;font:10px system-ui;color:var(--muted);margin-top:7px}#help{margin-top:auto;text-align:left;border:0;color:var(--muted)}main{margin-left:210px;padding:0 20px;max-width:none}.timebar{margin:0;padding:22px 0 16px;border-top:0;min-height:102px}.time-values strong{font:25px Georgia,serif}.slider input{accent-color:var(--gold)}.workbench{border:1px solid #514a3a;border-radius:3px;margin-top:8px}.stage-head{min-height:69px;padding:15px 20px}.stage-head h2{font:22px Georgia,serif;letter-spacing:3px;text-transform:uppercase}.stage-head .eyebrow{font-size:9px;margin-bottom:5px}#coverage{margin-right:140px;font-size:10px}#content{max-height:none;overflow:visible}.atlas-axis{height:26px;position:relative;margin-left:170px;margin-right:20px;color:#a6aaa2;font-size:11px}.atlas-axis span{position:absolute;transform:translateX(-50%)}.atlas-lane{display:grid;grid-template-columns:170px minmax(0,1fr);height:65px;border-top:1px solid #27302c;padding-right:20px;--lane:#c4a368}.atlas-lane-label{padding:12px 16px}.atlas-lane h3{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--lane);margin:0}.atlas-lane p{font-size:9px;line-height:1.4;margin:4px 0;color:var(--muted)}.atlas-water{position:relative;background-size:10% 100%;background-image:linear-gradient(90deg,#72776d15 1px,transparent 1px)}.atlas-band{position:absolute;inset:17px 0 17px;background:var(--lane);opacity:.12;border-top:1px solid var(--lane);border-bottom:1px solid var(--lane)}.atlas-point{position:absolute;top:21px;transform:translateX(-50%);width:23px;height:23px;border:0;padding:0;z-index:3}.atlas-point::before{content:'';display:block;width:9px;height:9px;margin:auto;border-radius:50%;background:var(--lane);box-shadow:0 0 8px var(--lane)}.atlas-point.reported::before{background:#101718;border:2px solid var(--lane);box-shadow:none}.atlas-point span{display:none}.atlas-point:hover span,.atlas-point:focus-visible span{display:block;background:#101718;position:absolute;top:-20px;padding:2px 5px;font-size:10px}.atlas-name{position:absolute;max-width:155px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:0;font-size:10px;padding:2px 4px;background:#0d1415d9;z-index:2}.blue{--lane:#70abd2}.red{--lane:#c27272}.purple{--lane:#af87c8}.green{--lane:#66ae83}.orange{--lane:#d7995a}.cyan{--lane:#65bbc6}.atlas-legend{display:flex;gap:18px;padding:12px 18px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);flex-wrap:wrap}.atlas-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--gold);margin-right:5px}.atlas-legend i.reported{background:none;border:1px solid var(--gold)}footer{margin-left:210px;padding:20px;font-size:10px}.dossier{background:#141b1b}.workbench.has-dossier{grid-template-columns:minmax(0,1fr) 340px}.workbench.has-dossier .atlas-lane{grid-template-columns:120px minmax(0,1fr)}.workbench.has-dossier .atlas-axis{margin-left:120px}.workbench.has-dossier .atlas-name{max-width:95px}.atlas-point:focus-visible,.atlas-name:focus-visible{outline:2px solid white}.atlas-lane:hover{background:#ffffff03}
@media(max-width:900px){header{width:165px;padding:22px 12px}.brand{font-size:20px;letter-spacing:3px}main,footer{margin-left:165px}.atlas-lane{grid-template-columns:130px minmax(0,1fr)}.atlas-axis{margin-left:130px}.atlas-name{max-width:100px}.workbench.has-dossier{display:flex;flex-direction:column}#coverage{display:none}}
@media(max-width:650px){header{position:static;width:100%;height:auto;padding:15px;gap:14px;flex-direction:row;flex-wrap:wrap;border-right:0}.brand{font-size:19px;border:0;padding:0}.brand span{margin-top:4px;font-size:8px}header nav{order:3;flex-direction:row;width:100%;gap:0;overflow:auto}header nav button{font-size:13px;padding:10px 9px;white-space:nowrap}header nav button::after{display:none}#help{margin-left:auto;margin-top:0;font-size:10px}main{margin-left:0;padding:0 12px}footer{margin-left:0}.timebar{min-height:80px;padding:14px 0}.time-values strong{font-size:21px}.slider{min-width:110px}.stage-head{padding:14px}.stage-head h2{font-size:17px;letter-spacing:1.3px}.atlas-axis{margin-left:83px;margin-right:10px;font-size:8px}.atlas-lane,.workbench.has-dossier .atlas-lane{grid-template-columns:83px minmax(0,1fr);height:75px;padding-right:10px}.atlas-lane-label{padding:12px 8px}.atlas-lane h3{font-size:10px;letter-spacing:0}.atlas-lane p{font-size:8px}.atlas-name{font-size:9px;max-width:90px}.atlas-point{width:28px;height:28px;top:22px}.atlas-legend{font-size:9px;gap:10px;padding:10px}.atlas-band{inset:22px 0 22px}.workbench.has-dossier .atlas-axis{margin-left:83px}}

@media(min-width:901px){.atlas-lane{height:56px}.atlas-lane-label{padding-top:9px}.atlas-point{top:17px}.atlas-band{inset:14px 0}.atlas-name{font-size:10px}}
.atlas-density{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.atlas-water{overflow:hidden}@media(max-width:650px){header nav{scrollbar-width:none}header nav::-webkit-scrollbar{display:none}.atlas-name[data-featured-index="2"],.atlas-name[data-featured-index="3"]{display:none}.atlas-name[data-featured-index="0"]{left:3%!important;top:3px!important;max-width:80%}.atlas-name[data-featured-index="1"]{left:12%!important;top:48px!important;max-width:80%}.atlas-water{min-width:0}}
#atlas-overview{display:flex!important;gap:2px;height:40px;align-items:stretch;margin-bottom:6px}#atlas-overview [data-overview-year]{display:flex;flex-direction:column;justify-content:center;gap:3px;align-items:stretch;flex:1;min-width:0;border:0;padding:0;background:none}#atlas-overview i{display:block;background:#7b7259;font-style:normal}#atlas-overview em{display:block;background:#425e69;font-style:normal}#atlas-overview [data-overview-year].selected i{background:#d7ba82}#atlas-overview [data-overview-year].selected em{background:#8fafbc}#atlas-overview [data-overview-year]:hover{background:#ffffff15}#atlas-overview [data-overview-year]:focus-visible{outline:1px solid #e8d2a8}@media(max-width:650px){#atlas-overview{gap:1px;height:32px}}
.atlas-rivers{position:relative}.atlas-connections{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}.atlas-link-register{padding:12px 18px;border-top:1px solid var(--line);font-size:11px}.atlas-link-register summary{cursor:pointer;color:var(--gold)}.atlas-link-register button{display:block;text-align:left;width:100%;margin-top:8px;font-size:11px}.atlas-link-register p{color:var(--muted)}.empty-state{padding:32px}.time-values{min-width:170px}.stage-head h2{font-size:clamp(20px,2vw,30px)}

#atlas-overview{pointer-events:none}#atlas-overview [data-overview-year]{display:flex;flex:1;flex-direction:column;justify-content:center;gap:3px;min-width:0}.atlas-axis:empty{display:none}

.archive-tabs{display:flex;gap:8px;padding:16px;flex-wrap:wrap}.archive-tabs button[aria-pressed="true"]{border-color:var(--gold);color:var(--gold);background:#c4a36815}.source-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px;padding:16px}.source-card{border:1px solid var(--line);padding:18px;min-width:0;overflow-wrap:anywhere}.source-card h3{font:18px Georgia,serif;color:var(--gold);line-height:1.4}.source-card p{font-size:13px;line-height:1.5}.source-card a{margin-right:12px}.source-card details{margin-top:14px}.source-text{max-height:420px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.archive-tabs button{min-height:42px}

/* period.css — retained cascade during consolidation */
/* Единый орган «Период», страница года, «Места» (Claude). */

.timebar .slider>input#year,.timebar .slider>div:not(#period),.timebar>details,#atlas-overview{display:none!important}
#period{display:flex;align-items:flex-end;gap:18px;width:100%}
.period-scale{flex:1;min-width:0}
.period-bars{display:flex;gap:2px;height:42px;align-items:stretch;touch-action:none;user-select:none}
.period-bar{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:0;border:0;border-radius:2px;background:none;cursor:pointer;min-height:0}
.period-bar i{display:block;background:#7b7259}
.period-bar em{display:block;background:#425e69}
.period-bar:hover{background:#ffffff14}
.period-bar.selected{background:#d7ba8226;box-shadow:inset 0 -2px 0 var(--gold,#c4ad75)}
.period-bar.selected i{background:#e2c58c}
.period-bar.selected em{background:#9dbfcc}
.period-bar:focus-visible{outline:2px solid #e8d2a8;outline-offset:1px}
.period-ticks{position:relative;height:16px;margin-top:5px;font:10px system-ui;color:var(--muted,#8d958f)}
.period-ticks span{position:absolute;transform:translateX(-50%);white-space:nowrap}
.period-tools{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.period-modes{display:flex;border:1px solid #514a3a;border-radius:4px;overflow:hidden}
.period-modes button{border:0;border-radius:0;padding:7px 12px;font:12px system-ui;color:#bfc9c1;background:none;min-height:32px;white-space:nowrap}
.period-modes button+button{border-left:1px solid #514a3a}
.period-modes button.active{background:#2d2b20;color:#ecd9ae}
.period-step{display:flex;gap:6px}
.period-step button{width:36px;height:32px;padding:0;font:18px/1 Georgia,serif;border:1px solid #514a3a;border-radius:4px;background:none;color:#d8c9a3}
.period-step button:disabled{opacity:.3;cursor:default}

.atlas-axis .period-axis-year{position:absolute;transform:translateX(-50%);border:0;background:none;padding:2px 4px;font:11px system-ui;color:#a6aaa2;cursor:pointer;min-height:0}
.atlas-axis .period-axis-year:hover{color:#ecd9ae;text-decoration:underline}

.yp{padding:6px 20px 20px}
.yp .gold{--lane:#c4a368}.yp .grey{--lane:#9aa39e}
.yp-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0 14px;border-bottom:1px solid #27302c}
.yp-head h3{font:34px Georgia,serif;margin:0;color:#ecd9ae;text-align:center}
.yp-head p{margin:2px 0 0;font:12px system-ui;color:var(--muted,#8d958f);text-align:center}
.yp-nav{min-width:88px;min-height:36px;border:1px solid #514a3a;border-radius:4px;background:none;color:#d8c9a3;font:13px system-ui}
.yp-nav:disabled{opacity:.3}
.yp-months{display:grid;grid-template-columns:repeat(12,minmax(0,1fr)) minmax(0,1.4fr);gap:4px;align-items:end;padding:16px 0 6px}
.yp-m{display:flex;flex-direction:column;align-items:center;gap:4px;text-decoration:none;color:#bfc9c1;border-radius:3px;padding:4px 0}
.yp-m:hover{background:#ffffff0d}
.yp-m b{display:block;width:70%;background:#7b7259;border-radius:2px}
.yp-m.empty{color:#5d6662;pointer-events:none}.yp-m.empty b{background:#2a322f}
.yp-m small{font:11px system-ui}
.yp-dots{display:flex;flex-wrap:wrap;justify-content:center;gap:2px;min-height:7px}
.yp-dots i{width:7px;height:7px;border-radius:50%;background:var(--lane)}
.yp-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin:8px 0 14px;font:12px system-ui;color:#bfc9c1}
.yp-legend span{display:inline-flex;align-items:center;gap:6px}
.yp-legend i{width:9px;height:9px;border-radius:50%;background:var(--lane)}
.yp-legend .yp-none{color:var(--muted,#8d958f)}
.yp-month{margin-top:10px}
.yp-month h4{font:14px Georgia,serif;letter-spacing:.5px;color:#d8c9a3;margin:12px 0 6px;scroll-margin-top:20px}
.yp-month h4 small{font:11px system-ui;color:var(--muted,#8d958f)}
.yp-card{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:14px;align-items:start;padding:10px 12px;margin:6px 0;border:1px solid #27302c;border-left:3px solid var(--lane);border-radius:4px;background:#0f1615}
.yp-card.reported{border-left-style:dashed}
.yp-when{font:13px Georgia,serif;color:#ecd9ae;padding-top:2px}
.yp-body p{margin:0}
.yp-lane{font:10px system-ui;letter-spacing:1px;text-transform:uppercase;color:var(--lane)}
.yp-name{border:0;background:none;padding:2px 0;font:15px Georgia,serif;color:#e7dfc8;text-align:left;cursor:pointer}
.yp-name:hover{text-decoration:underline}
.yp-rel{font:13px system-ui;color:#c9cfc8}
.yp-rel .entity-link{font:inherit}
.yp-meta{font:11px system-ui;color:var(--muted,#8d958f);margin-top:3px!important}
.yp-src{align-self:center;border:1px solid #514a3a;border-radius:4px;background:none;color:#d8c9a3;font:12px system-ui;padding:7px 10px;min-height:32px;white-space:nowrap}
@media(max-width:900px){#period{gap:10px}.period-modes button{padding:7px 9px}}
@media(max-width:650px){
 .timebar{flex-wrap:wrap}
 .timebar .slider{flex-basis:100%;order:3}
 #period{flex-direction:column;align-items:stretch;gap:10px}
 .period-bars{height:46px;gap:1px}
 .period-tools{flex-direction:row;justify-content:space-between;align-items:center}
 .period-step button{width:44px;height:44px}
 .period-modes button{min-height:44px;padding:0 12px}
 .period-ticks .period-end{display:none}
 #play{min-width:44px;min-height:44px}
 .yp{padding:6px 10px 16px}
 .yp-months{grid-template-columns:repeat(13,minmax(0,1fr));gap:1px}
 .yp-m small{font-size:9px}
 .yp-card{grid-template-columns:48px minmax(0,1fr)}
 .yp-src{grid-column:2;justify-self:start;min-height:40px}
 .yp-nav{min-width:72px;min-height:44px}
}
.period-also{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 20px 20px;padding-top:14px;border-top:1px solid #27302c;font:12px system-ui;color:var(--muted,#8d958f)}
.period-also button{border:1px solid #514a3a;border-radius:4px;background:none;color:#d8c9a3;font:12px system-ui;padding:8px 12px;min-height:36px}
.period-also button:hover{background:#2d2b20}
@media(max-width:650px){.period-also{margin:12px 10px}.period-also button{width:100%;text-align:left;min-height:44px}}

#map[hidden]~#place-panel{display:none}
#place-panel{padding:16px 20px 22px}
.place-chips{display:flex;flex-wrap:wrap;gap:6px}
.place-chips button{border:1px solid #514a3a;border-radius:16px;background:none;color:#d8c9a3;font:12px system-ui;padding:6px 12px;min-height:32px}
.place-chips button small{color:var(--muted,#8d958f);margin-left:3px}
.place-chips button.active{background:#2d2b20;color:#ecd9ae;border-color:var(--gold)}
.place-hint{font:13px system-ui;color:#bfc9c1;margin:12px 0}
.place-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin:16px 0 6px;padding-top:12px;border-top:1px solid #27302c}
.place-head h3{font:28px Georgia,serif;margin:2px 0;color:#ecd9ae}
.place-head p{font:12px system-ui;color:var(--muted,#8d958f);margin:0}
.place-head button{border:1px solid #514a3a;border-radius:4px;background:none;color:#d8c9a3;font:12px system-ui;padding:7px 10px;min-height:32px;white-space:nowrap}
.place-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:24px;margin-top:8px}
.place-cols h4{font:14px Georgia,serif;color:#d8c9a3;margin:8px 0}
.place-kind{font:10px system-ui;letter-spacing:1px;text-transform:uppercase;color:var(--muted,#8d958f);margin:12px 0 4px}
.place-obj{display:flex;justify-content:space-between;gap:8px;width:100%;text-align:left;border:0;border-bottom:1px solid #1f2826;background:none;color:#e7dfc8;font:14px Georgia,serif;padding:7px 2px;min-height:34px}
.place-obj:hover{background:#ffffff0a}
.place-obj small{font:11px system-ui;color:var(--muted,#8d958f);white-space:nowrap}
.place-ep{--lane:#c4a368;grid-template-columns:110px minmax(0,1fr) auto}
.city-icon.selected i{width:14px;height:14px;background:#e2c58c;box-shadow:0 0 0 4px #e2c58c44,0 0 14px #e2c58c}
.city-icon.selected span{font-size:12px;color:#fff;font-weight:600}
.city-icon.dim{opacity:.55}
.city-icon{cursor:pointer}
@media(max-width:650px){#place-panel{padding:12px 10px}.place-chips button{min-height:40px}.place-cols{grid-template-columns:1fr}.place-head{flex-direction:column}.place-ep{grid-template-columns:1fr}}

/* site.css — retained cascade during consolidation */
/* Структура сайта: шапка, главная, указатель, истории, источники, досье-панель, телефон (Claude). */

.rose{--lane:#d58fa0}.sand{--lane:#b9b08a}.steel{--lane:#8fa3c4}.grey{--lane:#9aa39e}


#site-tools{display:flex;flex-direction:column;gap:8px}
.site-search{position:relative}
.site-search #search{width:100%;box-sizing:border-box;background:#121918;border:1px solid #514a3a;border-radius:4px;color:#e7dfc8;font:13px system-ui;padding:9px 10px;min-height:38px}
.site-search #searchresults{position:absolute;left:0;top:calc(100% + 4px);width:min(380px,calc(100vw - 24px));max-height:60vh;overflow:auto;z-index:1300;background:#121a19;border:1px solid #514a3a;border-radius:4px;box-shadow:0 10px 30px #000a}
.site-search #searchresults:empty{display:none}
.site-search #searchresults button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #1f2826;background:none;color:#e7dfc8;font:13px system-ui;padding:9px 12px}
.site-search #searchresults button:hover{background:#2d2b20}
.site-search #searchresults small{color:var(--muted,#8d958f)}
.site-search #searchresults p{padding:10px 12px;margin:0;font:12px system-ui;color:var(--muted,#8d958f)}


.workbench.filters-open{grid-template-columns:minmax(0,1fr)!important}
.workbench.filters-open.has-dossier{grid-template-columns:minmax(0,1fr) 360px!important}
.workbench.filters-open .rail{display:flex!important;grid-column:1/-1;flex-wrap:wrap;align-items:flex-end;gap:10px 18px;padding:14px 20px;border-right:0;border-bottom:1px solid #27302c}
.rail .filter-field{display:flex!important;flex-direction:column;gap:4px;margin:0!important;font:11px system-ui;color:var(--muted,#8d958f);min-width:170px}
.rail .filter-field select{margin:0;min-height:36px}
.rail>label:not(.filter-field){display:flex!important;align-items:center;gap:6px;margin:0!important;font:12px system-ui;color:#bfc9c1;min-height:36px}
.rail #reset{width:auto!important;min-height:36px;padding:0 14px}
.rail .rail-note{flex-basis:100%;margin:0!important;font-size:11px}


.home-lead{padding:18px 20px 4px;max-width:860px}
.home-lead p{font:17px/1.6 Georgia,serif;color:#d9d2bd;margin:0}
.home-years{padding:16px 20px}
.home-years h3,.home-cards h3{font:20px Georgia,serif;color:#ecd9ae;margin:0 0 4px}
.home-sub{font:12px system-ui;color:var(--muted,#8d958f);margin:0 0 10px}
.home-year-grid{display:grid;grid-template-columns:repeat(37,minmax(0,1fr));gap:3px;align-items:end}
.home-year-grid button{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;border:0;background:none;padding:4px 0;min-height:76px;color:#bfc9c1;cursor:pointer;border-radius:3px}
.home-year-grid button:hover{background:#ffffff10}
.home-year-grid b{display:block;width:80%;background:#a8915e;border-radius:2px}
.home-year-grid button.empty b{background:#2a322f}
.home-year-grid button.empty{color:#5d6662}
.home-year-grid span{font:10px system-ui;writing-mode:vertical-rl;transform:rotate(180deg)}
.home-entries{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:8px 20px 16px}
.home-entries button{display:flex;flex-direction:column;gap:4px;text-align:left;border:1px solid #514a3a;border-radius:6px;background:#111918;padding:14px 16px;color:#bfc9c1;min-height:96px}
.home-entries button:hover{background:#1b2321;border-color:var(--gold)}
.home-entries small{font:10px system-ui;letter-spacing:1.5px;color:var(--gold)}
.home-entries strong{font:18px Georgia,serif;color:#ecd9ae}
.home-entries span{font:12px system-ui}
.home-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;padding:4px 20px 24px}
.home-cards article{border:1px solid #27302c;border-radius:6px;padding:14px 16px;background:#0f1615}
.home-cards p{font:13px/1.5 system-ui;color:#bfc9c1}
.home-cards .eyebrow{font-size:10px;letter-spacing:1.5px;color:var(--gold)}
.home-cards button:not(.home-img){border:1px solid #514a3a;border-radius:4px;background:none;color:#d8c9a3;font:12px system-ui;padding:8px 12px;min-height:36px}
.home-img{border:0;padding:0;background:none;width:100%;cursor:zoom-in}.home-img img{width:100%;max-height:180px;object-fit:cover;border-radius:4px}
.atlas-legend{border-bottom:1px solid #27302c}


body[data-view=graph][data-graph-mode=index] #graph{display:none}
body[data-view=graph] #graphlist{max-height:none!important;overflow:visible!important;padding:14px 20px 24px}
.index-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.index-tools input{flex:1;min-width:220px;background:#121918;border:1px solid #514a3a;border-radius:4px;color:#e7dfc8;font:13px system-ui;padding:9px 10px;min-height:38px}
.index-tools label{font:12px system-ui;color:var(--muted,#8d958f)}
.index-tools select{min-height:36px;margin-left:6px}
.index-types{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 4px}
.index-types button{border:1px solid #514a3a;border-radius:16px;background:none;color:#d8c9a3;font:12px system-ui;padding:6px 12px;min-height:32px}
.index-types button.active{background:#2d2b20;color:#ecd9ae;border-color:var(--gold)}
.index-count{font:12px system-ui;color:var(--muted,#8d958f);margin:8px 0}
.index-group h4{font:18px Georgia,serif;color:var(--gold);margin:16px 0 4px;border-bottom:1px solid #27302c;padding-bottom:4px}
.index-group>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:0 18px}
.index-row{display:grid;grid-template-columns:1fr;gap:1px;text-align:left;border:0;border-bottom:1px solid #1a2220;background:none;padding:8px 4px;min-height:44px;cursor:pointer}
.index-row:hover{background:#ffffff08}
.index-row strong{font:14px Georgia,serif;color:#e7dfc8;font-weight:normal}
.index-row span{font:11px system-ui;color:#bfc9c1}
.index-row small{font:11px system-ui;color:var(--muted,#8d958f)}
.site-back{margin:0 0 12px;border:1px solid #514a3a;border-radius:4px;background:none;color:#d8c9a3;font:12px system-ui;padding:8px 12px;min-height:36px}
body[data-graph-mode=focus] #graphlist{padding-top:10px}


.stories-lead{padding:14px 20px 0;font:14px system-ui;color:#bfc9c1;margin:0}
.story-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;padding:14px 20px 24px}
.story-tile{display:flex;flex-direction:column;gap:6px;text-align:left;border:1px solid #27302c;border-radius:6px;background:#0f1615;padding:0 0 14px;overflow:hidden;cursor:pointer;color:#bfc9c1}
.story-tile:hover{border-color:var(--gold)}
.story-tile img{width:100%;height:120px;object-fit:cover;opacity:.8}
.story-tile small,.story-tile strong,.story-tile span,.story-tile em{padding:0 16px}
.story-tile small{font:11px system-ui;color:var(--gold);padding-top:12px}
.story-tile strong{font:18px/1.3 Georgia,serif;color:#ecd9ae;font-weight:normal}
.story-tile span{font:13px/1.5 system-ui}
.story-tile em{font:12px system-ui;font-style:normal;color:var(--muted,#8d958f)}
.story-tile.muted{opacity:.55}
#content>.site-back{margin:16px 20px 0}
.story-page{padding:6px 20px 24px}
.story-intro{font:16px/1.6 Georgia,serif;color:#d9d2bd;max-width:900px}
.story-page h3{font:18px Georgia,serif;color:#ecd9ae;margin:18px 0 6px}
.story-page h3 small{font:12px system-ui;color:var(--muted,#8d958f)}
.story-ep{--lane:#c4a368;grid-template-columns:120px minmax(0,1fr) auto}
.story-ep .yp-rel{font:14px/1.5 system-ui;color:#d9d2bd}


.src-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px 16px}
.src-tools input{flex:1;min-width:220px;background:#121918;border:1px solid #514a3a;border-radius:4px;color:#e7dfc8;font:13px system-ui;padding:9px 10px;min-height:38px}
.src-tools select{min-height:38px}
#src-count{font:12px system-ui;color:var(--muted,#8d958f)}
.source-card[hidden]{display:none!important}
.src-kind{display:block;font:10px system-ui;letter-spacing:1px;text-transform:uppercase;color:var(--gold);margin-bottom:2px}


.about-charts{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px}
.about-charts button{border:1px solid #27302c;background:none;padding:4px;cursor:zoom-in}
.about-charts img{width:100%;height:100px;object-fit:cover}
.about-charts small{display:block;font:11px system-ui;color:var(--muted,#8d958f)}


@media(max-width:760px){
 .dossier:not([hidden]){position:fixed!important;inset:0;z-index:1500;max-height:none!important;overflow:auto;padding:18px 16px 90px!important}
 #close-dossier{position:sticky;top:0;float:right;width:44px;height:44px;font-size:22px;z-index:2}
}


#period-toggle{display:none}
@media(max-width:650px){
 header{gap:10px!important}
 #site-tools{order:2;flex-basis:100%;flex-direction:row}
 .site-search{flex:1}
 header nav{position:fixed!important;left:0;right:0;bottom:0;z-index:1400;display:grid!important;grid-template-columns:repeat(4,1fr);background:var(--page);border-top:1px solid #514a3a;overflow:visible!important}
 header nav button{font:11px/1.2 system-ui!important;padding:10px 2px!important;white-space:normal!important;text-align:center!important;min-height:52px;border-left:0!important;border-top:2px solid transparent}
 header nav button.active{border-top-color:var(--gold,#c4ad75)}
 body{padding-bottom:64px}
 #period-toggle{display:inline-block;margin-left:auto;border:1px solid #514a3a;border-radius:4px;background:none;color:#d8c9a3;font:13px system-ui;padding:0 12px;min-height:44px}
 .timebar:not(.period-open) .slider{display:none!important}
 .home-year-grid{grid-template-columns:repeat(10,minmax(0,1fr));row-gap:8px}
 .home-year-grid span{writing-mode:horizontal-tb;transform:none;font-size:10px}
 .home-year-grid button{min-height:60px}
 .home-entries{grid-template-columns:1fr 1fr}
 .home-lead p{font-size:15px}
 .index-group>div{grid-template-columns:1fr}
 .story-ep{grid-template-columns:1fr}
 .workbench.filters-open .rail{padding:12px}
 .rail .filter-field{min-width:0;flex:1 1 140px}
}

header nav button:nth-child(3)::after{content:'Люди, клубы, сайты'!important}
header nav button:nth-child(4)::after{content:'На чём основано'!important}

.src-tools input,.index-tools input{width:auto!important}
.src-tools select,.index-tools select{width:auto!important;min-width:180px}
@media(max-width:650px){.src-tools select,.src-tools input{width:100%!important}}


@media(min-width:651px){
 header{position:sticky!important;top:0;inset:auto!important;width:auto!important;height:auto!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:20px!important;padding:10px 24px!important;border-right:0!important;border-bottom:1px solid #514a3a;background:var(--page);z-index:1200}
 header .brand{flex:none;font-size:18px!important;letter-spacing:3px!important;border:0!important;padding:0!important;cursor:pointer}
 header .brand span{font-size:8px!important;margin-top:2px!important}
 header nav{flex-direction:row!important;gap:0!important;flex:none}
 header nav button{font:15px Georgia,serif!important;padding:10px 12px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:none!important;color:#9fa7a4}
 header nav button.active{border-bottom-color:var(--gold,#c4ad75)!important;color:#e4d2aa!important}
 header nav button::after{display:none!important}
 #site-tools{flex-direction:row!important;align-items:center;gap:12px;margin-left:auto;flex:1 1 auto;justify-content:flex-end;min-width:0}
 .site-search{flex:0 1 300px;min-width:140px}
 #site-tools #help{margin:0!important;font:12px system-ui!important;color:#bfc9c1!important;white-space:nowrap;border:0;background:none;padding:6px 4px}
 #tools-add{border:1px solid #514a3a;border-radius:4px;background:none;color:#d8c9a3;font:12px system-ui;padding:8px 12px;min-height:36px;white-space:nowrap}
 main,footer{margin-left:0!important}
 main{padding:0 24px!important}
 footer{padding:20px 24px!important}
 .timebar{padding:14px 0 12px!important;border-bottom:1px solid #27302c;min-height:0!important}
 .workbench{margin-top:14px!important}
}
@media(min-width:651px) and (max-width:1250px){
 header{gap:12px!important;padding:8px 16px!important}
 header nav button{font-size:14px!important;padding:9px 8px!important}
 .site-search{flex-basis:200px}
 header .brand span{display:none}
}

.ctx-filters{display:flex;flex-direction:column;align-items:flex-end;gap:6px;margin-left:12px}
#tools-filters{border:1px solid #514a3a;border-radius:4px;background:none;color:#d8c9a3;font:13px system-ui;padding:0 14px;min-height:36px;white-space:nowrap}
#tools-filters[aria-expanded=true]{background:#2d2b20;color:#ecd9ae}
#active-filters{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px;max-width:340px}
#active-filters:empty{display:none}
#active-filters button{border:1px solid #c4ad75;border-radius:14px;background:#2d2b20;color:#ecd9ae;font:11px system-ui;padding:3px 10px;min-height:26px}

body[data-view=home] .timebar,body[data-view=graph][data-graph-mode=index] .timebar{display:none!important}
body[data-view=home] .workbench.filters-open .rail,body[data-view=graph][data-graph-mode=index] .workbench.filters-open .rail{display:none!important}
.workbench.filters-open .rail{background:#111918}


.workbench.has-dossier,.workbench.filters-open.has-dossier{grid-template-columns:minmax(0,1fr)!important}
@media(min-width:761px){
 .dossier:not([hidden]){position:fixed!important;top:var(--header-h,64px);right:0;bottom:0;width:min(460px,92vw);max-height:none!important;overflow:auto;z-index:1100;box-shadow:-18px 0 40px #000c;border-left:1px solid #514a3a!important;padding:22px 24px 40px!important}
 #close-dossier{position:sticky;top:0;float:right;width:40px;height:40px;font-size:22px;z-index:2;background:#141b1b}
}


body[data-view=graph] #graphlist{display:block!important}
.index-lead{font:14px/1.6 system-ui;color:#bfc9c1;margin:2px 0 12px;max-width:900px}
.index-tools input{flex:1 1 360px;max-width:520px}
.index-types button{font-size:13px;padding:7px 14px;min-height:36px}
.index-letters{display:flex;flex-wrap:wrap;gap:2px;margin:12px 0 4px;padding:8px 0;border-top:1px solid #27302c;border-bottom:1px solid #27302c;position:sticky;top:58px;background:#0b1111;z-index:5}
.index-letters a{font:14px Georgia,serif;color:#d8c9a3;text-decoration:none;padding:4px 8px;border-radius:3px}
.index-letters a:hover{background:#2d2b20}
.index-group{scroll-margin-top:120px}
.index-group h4{font:22px Georgia,serif}
.index-group>div{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))!important}
.index-row strong{font-size:15px}
.index-row span{font-size:12px;color:var(--muted,#8d958f)}


#place-chips-bar{padding:12px 20px;border-bottom:1px solid #27302c}
#place-chips-bar .place-chips button{font-size:13px;padding:7px 14px;min-height:36px}
#map{height:400px!important}
#map[hidden]~#place-chips-bar,body:not([data-view=map]) #place-chips-bar{display:none}
#place-panel{padding:18px 20px 26px!important;max-height:none!important;overflow:visible!important;border-left:0!important}
#place-panel .place-head{margin-top:0;border-top:0;padding-top:0}
#place-panel .place-head h3{font-size:34px}
#place-panel .place-cols{grid-template-columns:minmax(0,1fr) minmax(0,2fr)!important;gap:28px}
#place-panel .place-ep{grid-template-columns:120px minmax(0,1fr) auto!important}
#place-panel .place-ep .yp-src{justify-self:auto}

@media(max-width:650px){
 #site-tools{order:2;flex-basis:100%;flex-direction:row;align-items:center;gap:8px}
 .site-search{flex:1}
 #site-tools #help{font-size:0!important;border:1px solid #514a3a;border-radius:4px;padding:0 10px;min-height:38px;margin:0!important}
 #site-tools #help::after{content:'О проекте';font:12px system-ui;color:#d8c9a3}
 #tools-add{min-height:38px;padding:0 10px;border:1px solid #514a3a;border-radius:4px;background:none;color:#d8c9a3;font:12px system-ui;white-space:nowrap}
 .ctx-filters{flex-direction:row;align-items:center;flex:none;margin:0 0 0 6px}
 #active-filters{flex-basis:100%;justify-content:flex-start;order:3}
 .timebar{flex-wrap:wrap;row-gap:8px}
 #tools-filters{min-height:44px}
 .index-letters{top:0}
 #place-panel .place-cols{grid-template-columns:1fr!important}
 #place-panel .place-ep{grid-template-columns:1fr!important}
 #map{height:320px!important}
}

.site-search #searchresults .search-head{margin:0;padding:8px 12px 4px;font:10px system-ui;letter-spacing:1.5px;text-transform:uppercase;color:var(--gold);border-bottom:1px solid #1f2826}
#dossier .timeline-entry .note{margin:2px 0 6px;font-size:12px}

/* Строка «Показано:» — один вид среза на всех вкладках */
#slice-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;padding:10px 0 2px;font:13px system-ui;color:var(--muted,#8d958f)}
#slice-bar .slice-label{color:#bfc9c1}
#slice-bar button{border:1px solid #c4ad75;border-radius:16px;background:#2d2b20;color:#ecd9ae;font:13px system-ui;padding:5px 12px;min-height:32px;cursor:pointer}
#slice-bar button b{margin-left:4px;color:var(--gold)}
#slice-bar button:hover{background:#3a3626}
#slice-bar .slice-reset{background:none;border-color:#514a3a;color:#d8c9a3}
#slice-bar .slice-all{color:#8d958f}
body[data-view=home] #slice-bar{display:none}
#active-filters{display:none!important}
/* Шапка на средних ширинах: меню отдельной строкой, ничего не накладывается */
@media(min-width:651px) and (max-width:1100px){
 header{flex-wrap:wrap!important;row-gap:6px!important}
 header nav{order:3;flex-basis:100%}
 #site-tools{flex:1 1 auto}
}
@media(max-width:650px){#slice-bar{padding:8px 0 0;font-size:12px}#slice-bar button{min-height:36px}}

/* Accessible dossier uses the existing panel layout in the native modal top layer. */
body.dossier-open{overflow:hidden}
.dossier:not([open]){display:none!important}
.dossier[open]{margin:0;max-width:none;max-height:none}
.dossier::backdrop{background:#0006}
.skip-link{position:fixed;top:8px;left:8px;z-index:3000;padding:12px;background:#e4d2aa;color:var(--page);transform:translateY(-180%)}
.skip-link:focus{transform:none}
.stage-head h1{font:inherit;font-family:Georgia,serif;font-size:26px;margin:0;color:#e4d2aa}
@media(max-width:760px){.dossier[open]{width:auto;height:auto;max-width:none;max-height:none}}
.story-page,.evidence-record blockquote{max-width:75ch}

.search-result{display:block;width:100%;text-align:left;margin:8px 0;padding:12px;min-height:44px}
.search-result small{display:block;margin-top:4px;color:#bfc9c1}
.search-page{max-width:75ch;padding:20px}.search-page h2{margin-top:24px}
.search-kind{display:block;padding:16px 20px}
#searchresults h2{font:12px system-ui;letter-spacing:1px;color:var(--gold)}
#searchresults .note{font-size:12px;padding:10px}
@media(max-width:650px){body[data-view=home] #content{display:flex;flex-direction:column}.home-entries{order:-1;margin-top:16px}.home-year-grid{grid-template-columns:repeat(7,1fr)!important}.home-year-grid button{min-width:40px;min-height:64px}.home-year-grid span{font-size:12px}}

.source-reader{max-width:75ch}.source-reader blockquote{line-height:1.7;white-space:pre-wrap}.source-reader summary{min-height:44px;padding:12px 0}

body[data-view=search] .timebar,body[data-view=search] #slice-bar{display:none!important}

@media(min-width:761px){.dossier[open]{left:auto!important;height:calc(100dvh - var(--header-h,64px));box-sizing:border-box}}
@media(max-width:760px){.dossier[open]{height:100dvh!important;width:100%;box-sizing:border-box}}

.source-objects{max-width:75ch}.source-objects button{min-height:32px}.src-tools{flex-wrap:wrap}.src-tools #src-count{min-width:200px}.story-intro,.yp-rel,#evidence-content blockquote{max-width:75ch}
/* Hosts without a moderated submission queue hide the entry points (see SUBMISSIONS_OFF in app.js). */
[data-submissions="off"] #tools-add,[data-submissions="off"] #addmemory{display:none}

/* Мобильное чтение: карточки в одну колонку, основной текст 17px, «Источник» на всю ширину,
   окна во весь экран с «← Назад» (логика в mobile.js). Неявная вторая колонка у .place-ep
   возникала из-за .yp-src{grid-column:2} при одноколоночной сетке. */
body.dialog-lock{overflow:hidden}
.dialog-back{display:none}
.mobile-list-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:4px 0 10px}
.mobile-list-head p{margin:0;color:var(--muted,#8d958f);font-size:14px}
.mobile-year h4{display:flex;align-items:baseline;gap:8px}
.mobile-year-open{border:0;padding:0;font:600 20px Georgia,serif;color:#ecd9ae;min-height:44px}
.mobile-list-back,[data-mobile-overview]{min-height:44px;font-size:15px}
.mobile-list-back{margin:0 0 10px}
.story-entities-box{margin:22px 0 0;border-top:1px solid var(--line)}
.story-entities-box summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font:16px Georgia,serif;color:#ecd9ae}
.story-entities-box .story-entities{padding:4px 0 8px}
@media(max-width:650px){
 .yp-card,.story-ep,.place-ep,#place-panel .place-ep{grid-template-columns:minmax(0,1fr)!important;gap:6px;padding:12px 14px}
 .yp-card>*{grid-column:1/-1}
 .yp-when{font:600 14px/1.35 system-ui;color:#ecd9ae;padding:0}
 .yp-lane{font-size:12px}
 .yp-name{font:18px/1.35 Georgia,serif;min-height:32px}
 .yp-rel,.story-ep .yp-rel{font:17px/1.6 system-ui;color:#e2dccb;max-width:none}
 .yp-meta{font:14px/1.55 system-ui}
 .yp-src,#place-panel .place-ep .yp-src{grid-column:1/-1!important;justify-self:stretch!important;min-height:44px;font-size:15px;margin-top:4px}
 .yp-month h4{font-size:18px}
 .story-page{padding:4px 14px 24px}
 .story-intro{font:17px/1.65 Georgia,serif}
 .story-page .note{font-size:15px;line-height:1.55}
 .story-page h3{font-size:20px}
 .story-entities button{font-size:15px;min-height:44px}
 dialog#evidence-dialog,dialog#lightbox,dialog#submission{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:0 16px 32px;overflow-y:auto;overscroll-behavior:contain}
 #evidence-dialog>.dialog-close,#lightbox>.dialog-close,#submission>.dialog-close{display:none}
 .dialog-back{display:flex;align-items:center;position:sticky;top:0;z-index:2;width:calc(100% + 32px);margin:0 -16px 14px;padding:0 16px;min-height:52px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:#1c2522;color:#ecd9ae;font:16px system-ui;text-align:left}
 #evidence-content h2{font:600 19px/1.45 system-ui;color:var(--ink)}
 dialog p,#evidence-content p{font-size:16px;line-height:1.55}
 #evidence-content blockquote{font-size:16px;line-height:1.6;margin-inline:0}
 #evidence-content small{font-size:14px;line-height:1.5}
 #evidence-content h3{font-size:18px}
 #evidence-content a,#evidence-content button{min-height:44px;display:inline-flex;align-items:center;font-size:15px}
 .source-text{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
 #evidence-content,#media-caption{overflow-wrap:anywhere}
}
/* Длинные адреса и идентификаторы в тексте эпизодов не расширяют страницу; свёрнутое введение истории. */
.yp-body,.yp-rel,.yp-meta,.story-intro,.story-page .note{overflow-wrap:anywhere}
.story-intro-more{min-height:44px;margin:2px 0 6px;font-size:15px}
@media(max-width:650px){.story-intro.clamped{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;overflow:hidden}}
/* Значимые подписи на телефоне — не мельче 12px. */
@media(max-width:650px){
 .eyebrow,.time-values small{font-size:12px;letter-spacing:1px}
 .yp-m small{font-size:12px;line-height:1.15;white-space:normal;text-align:center}
 .place-obj small{font-size:13px}
 .place-objects .place-kind{font-size:12px}
 .leaflet-marker-icon span{font-size:12px}
 #map-controls button,#map-controls span{font-size:12px}
}
/* Чтение на десктопе и планшете (телефон — в блоке max-width:650px выше): текст эпизодов и доказательств от 16px, значимые подписи от 12px.
   Длинное утверждение в окне доказательства — абзац с акцентом, а не крупный заголовок. */
@media(min-width:651px){
 .eyebrow{font-size:12px}
 .yp-rel,.story-ep .yp-rel{font:16px/1.6 system-ui;color:#d9d2bd}
 .yp-meta{font:13px/1.5 system-ui}
 .yp-when{font-size:14px}
 .yp-lane{font-size:12px}
 .yp-src{font-size:14px;min-height:40px}
 .yp-m small{font-size:12px}
 #evidence-content h2{font:600 20px/1.45 system-ui;color:var(--ink);max-width:70ch}
 #evidence-content p,#evidence-content .note{font-size:15px;line-height:1.55}
 #evidence-content blockquote{font-size:16px;line-height:1.6}
 #evidence-content small{font-size:13px;line-height:1.5}
 .atlas-lane-label p{font-size:12px;line-height:1.35}
 .atlas-water .atlas-name{font-size:12px}
 .atlas-axis .period-axis-year,.period-ticks span{font-size:12px}
 .atlas-legend span,.stage-head span{font-size:12px}
}
/* Надзаголовки и счётчик сцены перекрыты более специфичными старыми правилами — поднять их явно. */
.stage-head .eyebrow,.home-cards .eyebrow{font-size:12px}
#coverage{font-size:12px}
/* Колонка истории: 75ch считались от мелкого шрифта контейнера (526px), тексту эпизода оставалось 210px. */
@media(min-width:651px){
 .story-page{max-width:960px;margin-inline:auto;font-size:16px}
 .story-page .yp-rel,.story-intro{max-width:75ch}
}
/* Книга лет (book.js): год → запись → источник. Опора видна формой и словом, а не только цветом. */
.book-lead{display:grid;gap:10px;padding:6px 0 14px;max-width:72ch}
.book-lead p{margin:0;font:19px/1.6 Georgia,serif;color:var(--ink)}
.book-also{display:flex;gap:8px;flex-wrap:wrap}
.book-also button{min-height:40px;font-size:14px}
.book-tools{display:flex;gap:12px 20px;flex-wrap:wrap;align-items:flex-end;padding:10px 0 6px;border-bottom:1px solid var(--line)}
.book-field{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--muted)}
.book-field select{min-height:44px;font-size:15px;max-width:min(320px,100%)}
.book-chips{display:flex;gap:6px;flex-wrap:wrap}
.book-chips button{min-height:40px;font-size:14px;border-radius:999px;padding:6px 12px}
.book-chips button[aria-pressed="true"]{background:#3a3222;border-color:var(--gold);color:var(--ink)}
.book-overview{min-height:44px;font-size:14px;margin-left:auto}
.book-count{margin:10px 0 0;font-size:14px;color:var(--muted)}
.book-chapter{max-width:72ch;margin:12px 0 0}
.book-chapter-intro{margin:0;font:18px/1.6 Georgia,serif}
.book{display:grid;grid-template-columns:132px minmax(0,1fr);gap:0 28px;margin-top:6px}
.book-rail{position:sticky;top:8px;align-self:start;max-height:calc(100vh - 24px);overflow:auto;border-right:1px solid var(--line);padding:10px 0}
.book-rail button{display:flex;align-items:center;gap:8px;width:100%;border:0;background:none;padding:2px 12px;min-height:26px;font:13px/1.5 ui-monospace,Consolas,monospace;color:var(--muted);text-align:left;cursor:pointer}
.book-rail button.has{color:var(--ink)}
.book-rail button[disabled]{cursor:default;opacity:.45}
.book-rail button span{height:6px;border-radius:3px;background:var(--gold);opacity:.8}
.book-rail button.cur{background:#3a3222}
.book-main{min-width:0;padding-bottom:30px}
.book-year{padding-top:22px;scroll-margin-top:12px}
.book-year h3{font:600 30px/1.15 Georgia,serif;color:#ecd9ae;display:flex;gap:14px;align-items:baseline;flex-wrap:wrap;margin:0}
.book-year h3 small{font:13px ui-monospace,Consolas,monospace;color:var(--muted)}
.book-gap{margin:22px 0 0;padding:8px 14px;border-left:3px solid var(--line);color:var(--muted);font-size:15px;font-style:italic;max-width:70ch}
.book-entry{display:grid;grid-template-columns:96px minmax(0,1fr);gap:4px 18px;padding:16px 0;border-bottom:1px solid #27302c;max-width:84ch}
.book-when{font:14px/1.6 ui-monospace,Consolas,monospace;color:var(--gold);padding-top:3px}
.book-text{margin:0;font:18px/1.6 Georgia,serif;color:var(--ink);overflow-wrap:anywhere}
.book-meta{display:flex;gap:8px 14px;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:14px;color:var(--muted)}
.book-mark{display:inline-flex;align-items:center;gap:6px;font:12px ui-monospace,Consolas,monospace;letter-spacing:.04em;text-transform:uppercase}
.book-mark i{width:10px;height:10px;display:inline-block;border:2px solid currentColor}
.book-mark.supported{color:var(--gold)} .book-mark.supported i{background:currentColor}
.book-mark.reported{color:#8fb5cf} .book-mark.reported i{border-radius:50%;background:linear-gradient(90deg,currentColor 50%,transparent 50%)}
.book-mark.hypothesis{color:#b5a6d8} .book-mark.hypothesis i{border-radius:50%;border-style:dashed}
.book-mark.disputed{color:#e09a7f} .book-mark.disputed i{transform:rotate(45deg)}
.book-mark.imported{color:var(--muted)} .book-mark.imported i{border-style:dotted}
.book-node{border:0;border-bottom:1px dotted var(--muted);border-radius:0;background:none;padding:2px 0;min-height:32px;font-size:14px;color:var(--ink)}
.book-src{margin-left:auto;border:1px solid var(--gold);color:var(--gold);background:none;border-radius:6px;padding:8px 14px;min-height:44px;font-size:15px;white-space:nowrap}
.book-src:hover{background:#3a3222;color:var(--ink)}
.book-undated summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font:600 20px Georgia,serif;color:#ecd9ae;margin-top:26px}
.ev-keep{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0}
.ev-keep span{font:12px ui-monospace,Consolas,monospace;border:1px solid var(--line);border-radius:4px;padding:2px 8px;color:var(--muted)}
@media(max-width:650px){
 .book-lead p{font-size:18px}
 .book{grid-template-columns:minmax(0,1fr)}
 .book-rail{position:sticky;top:0;z-index:3;display:flex;gap:4px;overflow-x:auto;max-height:none;border-right:0;border-bottom:1px solid var(--line);background:var(--bg);padding:6px 0}
 .book-rail button{width:auto;flex:none;padding:6px 10px;min-height:40px;border-radius:999px}
 .book-rail button[disabled]{display:none}
 .book-rail button span{display:none}
 .book-overview{margin-left:0}
 .book-entry{grid-template-columns:minmax(0,1fr);gap:4px}
 .book-text{font-size:18px}
 .book-src{margin-left:0;width:100%}
 .book-year h3{font-size:26px}
}
/* ch считается от мелкого шрифта контейнера — ширину записи и вступления задаём в пикселях (~70 знаков при 18px). */
.book-entry{max-width:860px}.book-lead,.book-chapter,.book-gap{max-width:760px}
/* Блок настроек книги: на десктопе открыт, на телефоне свёрнут в одну строку, чтобы записи были на первом экране. */
.book-tools-box>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:14px;color:var(--muted)}
@media(min-width:651px){.book-tools-box>summary{display:none}}
.book-lead p{max-width:760px}
@media(max-width:650px){.book-lead p{font-size:17px;line-height:1.5}.book-also button{min-height:40px;padding:6px 10px}}
@media(max-width:650px){.book-year{scroll-margin-top:64px}}
/* Правки по просмотру живого сайта 09.10.2026: компактная лента лет, длинные имена объектов, досье и каталог источников читаемы. */
.book-rail{scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.book-rail-gap{display:block;padding:0 12px;font:12px/1.6 ui-monospace,Consolas,monospace;color:var(--muted);opacity:.7}
.book-node{max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.src-kind{font-size:12px}
.source-card p{font-size:15px}
/* Объекты записи — своей строкой под текстом: длинные имена не выталкивают «Источник» на новую строку. */
.book-nodes{display:flex;flex-wrap:wrap;gap:2px 16px;margin-top:6px}
@media(max-width:650px){
 .book-rail-gap{display:none}
 .book-node{max-width:100%;font-size:16px;min-height:44px}
 .dossier p:not(.eyebrow),.dossier .claim-preview,#dossier .timeline-entry .note{font-size:16px;line-height:1.55}
 .dossier .entity-link{min-height:44px;display:inline-flex;align-items:center;font-size:16px}
 /* .note{font-size:13px!important} (строка 9) иначе перебивает размеры заметок на телефоне */
 .dossier .note{font-size:16px!important}.story-page .note,#evidence-content .note{font-size:15px!important}
 .source-card p{font-size:16px}
}
/* Запасной путь, если страницу открыли узкой и расширили без перерисовки: на десктопе настройки книги всегда видны. */
@media(min-width:651px){.book-tools-box::details-content{content-visibility:visible;block-size:auto}}
/* Находки (11.10.2026): темы × годы по опубликованному; клетка ведёт в «Книгу лет» с фильтром темы. */
.fd{display:grid;gap:14px;max-width:1200px}
.fd-lead{margin:0;max-width:760px;font-size:16px;line-height:1.55;color:var(--ink)}
.fd-note{margin:0;max-width:760px;font-size:13px;color:var(--muted)}
.fd-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:6px;background:var(--panel)}
.fd-grid{border-collapse:separate;border-spacing:0;font:12px/1 ui-monospace,Consolas,monospace;font-variant-numeric:tabular-nums}
.fd-grid th,.fd-grid td{padding:0;border-bottom:1px solid var(--line);text-align:center}
.fd-grid thead th{color:var(--muted);font-weight:400;height:46px;vertical-align:bottom;padding:6px 1px;background:var(--panel)}
.fd-grid thead th span{display:inline-block;writing-mode:vertical-rl;transform:rotate(180deg)}
.fd-grid thead th:first-child{text-align:left;padding-left:12px}
.fd-grid tbody th{position:sticky;left:0;z-index:1;background:var(--panel);text-align:left;border-right:1px solid var(--line);padding:0}
.fd-theme{border:0;background:none;color:var(--ink);font:14px/1.3 system-ui,sans-serif;padding:8px 12px;min-height:36px;text-align:left;white-space:nowrap;cursor:pointer}
.fd-theme:hover{color:var(--gold)}
.fd-grid td button{display:block;width:30px;height:32px;border:0;font:inherit;color:var(--ink);cursor:pointer;background:rgba(200,175,123,var(--a,0))}
.fd-grid td button.strong{color:#14191b;font-weight:600}
.fd-grid td button:hover,.fd-grid td button:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
.fd-grid td.fd-sum{color:var(--muted);padding:0 10px;min-width:44px}
.fd-filter{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 12px;font-size:15px;color:var(--muted)}
.fd-filter b{color:var(--gold);font-weight:600}
.fd-filter button{border:1px solid var(--line);background:none;color:var(--ink);border-radius:999px;padding:6px 12px;min-height:36px;cursor:pointer}
@media(max-width:650px){.fd-lead{font-size:17px}.fd-theme{font-size:15px;min-height:44px}.fd-grid td button{width:34px;height:44px}.fd-filter button{min-height:44px}}
/* Пять разделов в нижнем меню телефона: «Находки» добавлены 11.10.2026. */
@media(max-width:760px){nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:650px){.fd-theme{white-space:normal;max-width:132px;font-size:14px;line-height:1.25;padding:6px 10px}.fd-grid td.fd-sum{padding:0 6px;min-width:36px}}
