/* AXIOM_EDITORIAL_NAV_V109: only side rail dimensions and fallback; no page redesign. */
#ae-rail{box-sizing:border-box!important;width:256px!important;min-width:256px!important;max-width:256px!important;font-family:'Golos Text',system-ui,sans-serif!important}
#ae-rail *{box-sizing:border-box}
#ae-rail .ae-brand{min-height:94px;gap:11px!important;padding:21px 20px 20px!important;margin-bottom:12px!important;display:flex;align-items:center;text-decoration:none!important}
#ae-rail .ae-brand b{font-family:'Golos Text',system-ui,sans-serif!important;font-size:16px!important;font-weight:800!important;letter-spacing:.05em!important;line-height:1.3!important}
#ae-rail .ae-brand small{font-family:'Golos Text',system-ui,sans-serif!important;font-size:10px!important;font-weight:800!important;letter-spacing:.18em!important;line-height:1.35!important}
#ae-rail .ae-monogram{flex:0 0 42px!important;width:42px!important;height:42px!important;font-size:24px!important}
#ae-rail .ae-nav{padding:0 11px!important;gap:4px!important;display:flex;flex-direction:column}
#ae-rail .ae-nav>a,#ae-rail .ae-nav>button,#ae-rail .ae-nav li>a,#ae-rail .ae-nav li>button{box-sizing:border-box!important;min-height:42px!important;display:flex;align-items:center;gap:12px;padding:11px 12px!important;font-family:'Golos Text',system-ui,sans-serif!important;font-size:13px!important;font-weight:650!important;line-height:20px!important;letter-spacing:normal!important;border-radius:11px!important;white-space:nowrap}
#ae-rail .ae-nav>a.active,#ae-rail .ae-nav>button.active,#ae-rail .ae-nav li.active>a,#ae-rail .ae-nav li.active>button{font-weight:800!important}
body.aeu-editor-page{box-sizing:border-box;min-height:100vh;padding-left:256px!important;margin-left:0!important}
body.aeu-editor-page #ae-rail{position:fixed;inset:0 auto 0 0;z-index:700;display:flex;flex-direction:column;background:var(--ae-nav-bg,#fff);color:var(--ae-ink,#161820);border-right:1px solid var(--ae-border,#e8e9ee);box-shadow:2px 0 25px #00000003}
body.aeu-editor-page #ae-rail .ae-brand{color:var(--ae-ink,#161820)!important}
body.aeu-editor-page #ae-rail .ae-brand>span:last-child{display:grid;gap:3px}
body.aeu-editor-page #ae-rail .ae-brand small,body.aeu-editor-page #ae-rail .ae-nav-cap{color:var(--ae-muted,#727680)}
body.aeu-editor-page #ae-rail .ae-monogram{background:#16171b;border-radius:12px;display:flex;justify-content:center;align-items:center;color:#fff;font-weight:800;letter-spacing:-.07em}
body.aeu-editor-page #ae-rail .ae-monogram span{color:#ee3847}
body.aeu-editor-page #ae-rail .ae-nav-cap{font-size:10px;font-weight:800;letter-spacing:.12em;padding:13px 23px 10px}
body.aeu-editor-page #ae-rail .ae-nav{flex:1;overflow:auto;scrollbar-width:thin}
body.aeu-editor-page #ae-rail .ae-nav a{color:var(--ae-muted,#727680)!important;text-decoration:none!important;transition:background .17s ease,color .17s ease}
body.aeu-editor-page #ae-rail .ae-nav a:hover{background:var(--ae-soft,#f2f3f6);color:var(--ae-ink,#161820)!important}
body.aeu-editor-page #ae-rail .ae-nav a.active{color:#c4101c!important;background:var(--ae-accent-soft,#fff0f1)}
body.aeu-editor-page #ae-rail .ae-rail-foot{margin-top:auto;border-top:1px solid var(--ae-border,#e8e9ee);padding:18px 21px;font-size:11px;color:var(--ae-muted,#727680);display:flex;gap:8px;align-items:center}
body.aeu-editor-page #ae-rail .ae-live{height:7px;width:7px;border-radius:50%;background:#26a574}
[data-axiom-rail-replaced="1"]{display:none!important}
html[data-axiom-theme="dark"] body.aeu-editor-page,html.dark body.aeu-editor-page,body.aeu-editor-page.dark{--ae-nav-bg:#16171d;--ae-border:#333740;--ae-ink:#f0f0f2;--ae-muted:#a0a4ae;--ae-soft:#24272e;--ae-accent-soft:#3d1e25}
@media(max-width:760px){#ae-rail{width:100%!important;min-width:0!important;max-width:none!important}body.aeu-editor-page{padding-left:0!important}body.aeu-editor-page #ae-rail{position:relative;inset:auto;height:auto;min-height:0}body.aeu-editor-page #ae-rail .ae-nav{flex-direction:row;flex-wrap:wrap;overflow:visible}body.aeu-editor-page #ae-rail .ae-rail-foot{display:none}}

/* Layout stability layer v10.8: no item shifting, no brand jitter. */
html[data-axiom-editorial-doc="1"]{scrollbar-gutter:stable}
html[data-axiom-editorial-doc="1"] body{margin:0!important;padding-left:256px!important}
#ae-rail{width:256px!important;min-width:256px!important;max-width:256px!important;left:0!important;top:0!important;bottom:0!important;box-sizing:border-box!important}
#ae-rail .ae-brand{height:94px!important;min-height:94px!important;max-height:94px!important;flex-shrink:0!important;transition:background-color .14s ease,color .14s ease!important;transform:none!important}
#ae-rail .ae-monogram{display:flex!important;align-items:center!important;justify-content:center!important;min-width:42px!important;max-width:42px!important;min-height:42px!important;max-height:42px!important;line-height:1!important;letter-spacing:-.07em!important;font-family:'Golos Text',system-ui,sans-serif!important;font-weight:800!important;background:#16171b!important;border-radius:12px!important;color:#fff!important}
#ae-rail .ae-monogram span{color:#ee3847!important}
#ae-rail .ae-nav-cap{height:37px!important;min-height:37px!important;flex-shrink:0!important;box-sizing:border-box!important}
#ae-rail .ae-nav{min-height:0!important;scrollbar-gutter:stable;overscroll-behavior:contain}
#ae-rail .ae-nav a,#ae-rail .ae-nav button{transform:none!important;animation:none!important;transition:background-color .14s ease,color .14s ease,border-color .14s ease!important}
#ae-rail .ae-nav a:hover,#ae-rail .ae-nav button:hover{transform:none!important}
#ae-rail .ae-nav>a,#ae-rail .ae-nav>button,#ae-rail .ae-nav li>a,#ae-rail .ae-nav li>button{height:42px!important;min-height:42px!important;max-height:42px!important;flex-shrink:0!important;line-height:20px!important;font-family:'Golos Text',system-ui,sans-serif!important;font-size:13px!important;letter-spacing:0!important}
body.aeu-editor-page #ae-rail{display:flex!important}
body.aeu-editor-page #ae-rail .ae-brand{display:flex!important}
body.aeu-editor-page #ae-rail .ae-brand>span:last-child{display:grid!important;gap:3px!important}
body.aeu-editor-page #ae-rail .ae-nav{display:flex!important;flex-direction:column!important;flex:1!important}
#aeu-nav-toggle,#aeu-nav-shade{display:none}
@media(max-width:920px){
 html[data-axiom-editorial-doc="1"] body{padding-left:0!important}
 #ae-rail{width:min(285px,85vw)!important;min-width:0!important;max-width:min(285px,85vw)!important;transform:translateX(-105%);transition:transform .2s cubic-bezier(.2,.8,.2,1)!important}
 body.aeu-editor-page #ae-rail{position:fixed!important;inset:0 auto 0 0!important;height:100dvh!important;z-index:930!important;transform:translateX(-105%)}
 body.aeu-editor-page.aeu-menu-open #ae-rail{transform:translateX(0)!important}
 body.aeu-editor-page #ae-rail .ae-nav{flex-direction:column!important;flex-wrap:nowrap!important;overflow-y:auto!important}
 body.aeu-editor-page #ae-rail .ae-rail-foot{display:flex!important}
 body.aeu-editor-page #aeu-nav-toggle{display:flex;position:fixed;top:10px;left:10px;z-index:928;align-items:center;justify-content:center;width:40px;height:40px;background:var(--ae-paper,#fff);color:var(--ae-ink,#161820);border:1px solid var(--ae-border,#e8e9ee);border-radius:10px;font-size:22px;cursor:pointer}
 body.aeu-editor-page #aeu-nav-shade:not([hidden]){display:block;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:929}
 body.aeu-editor-page{padding-top:56px!important}
 body.ae-portal:not(.ae-menu-open) #ae-rail{transform:translateX(-105%)!important}
 body.ae-portal.ae-menu-open #ae-rail{transform:translateX(0)!important}
}
@media(prefers-reduced-motion:reduce){#ae-rail,#ae-rail *{transition-duration:0.001ms!important}}
/* Standalone admin pages may have the native rail without the SPA ae-portal class. */
html[data-axiom-editorial-doc="1"] body:not(.ae-portal){--ae-nav-bg:#fff;--ae-ink:#161820;--ae-muted:#727680;--ae-border:#e8e9ee;--ae-soft:#f2f3f6;--ae-paper:#fff;--ae-accent-soft:#fff0f1;--ae-red:#c4101c}
html[data-axiom-theme="dark"][data-axiom-editorial-doc="1"] body:not(.ae-portal){--ae-nav-bg:#16171d;--ae-ink:#f0f0f2;--ae-muted:#a0a4ae;--ae-border:#333740;--ae-soft:#24272e;--ae-paper:#1b1d23;--ae-accent-soft:#3d1e25;--ae-red:#ea4e5c}
html[data-axiom-editorial-doc="1"] #ae-rail{display:flex!important;background:var(--ae-nav-bg)!important;color:var(--ae-ink)!important}
/* Content fades in without translate/scale, so layout never changes during the effect. */
/* Entrance animation is triggered only when the admin content changes, not while the rail loads. */
@supports selector(html:has(body.ae-portal)){html:has(body.ae-portal){scrollbar-gutter:stable}}
@keyframes aeu-content-appear{from{opacity:.84}to{opacity:1}}
@media(prefers-reduced-motion:reduce){html[data-axiom-editorial-doc="1"] main{animation:none!important}}

/* v10.9: real same-origin document transitions, no translation of the editorial rail. */
@view-transition{navigation:auto}
html[data-axiom-editorial-doc="1"] #ae-rail, body.ae-portal #ae-rail{view-transition-name:axiom-editorial-rail}
::view-transition-old(axiom-editorial-rail),::view-transition-new(axiom-editorial-rail){animation-duration:0s!important;transform:none!important}
::view-transition-old(root){animation:aeu-page-out .11s ease-in both}
::view-transition-new(root){animation:aeu-page-in .19s ease-out both}
@keyframes aeu-page-out{to{opacity:.84}}
@keyframes aeu-page-in{from{opacity:.84}to{opacity:1}}
#ae-rail .ae-brand{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;padding:21px 20px 20px!important;transform:none!important;animation:none!important}
#ae-rail .ae-brand>.ae-monogram{position:static!important;flex:0 0 42px!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;max-width:42px!important;max-height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:12px!important;background:#16171b!important;color:#fff!important;font-size:24px!important;font-weight:800!important;line-height:1!important;letter-spacing:-.07em!important;transform:none!important}
#ae-rail .ae-brand>.ae-monogram span{color:#ee3847!important}
#ae-rail .ae-brand>span:last-child{display:grid!important;gap:3px!important;align-content:center!important}
#ae-rail .ae-brand b{font:800 16px/1.3 'Golos Text',system-ui,sans-serif!important;letter-spacing:.05em!important}
#ae-rail .ae-brand small{font:800 10px/1.35 'Golos Text',system-ui,sans-serif!important;letter-spacing:.18em!important}
/* New publication composition is an independent navigation state, never a child active item. */
#ae-rail .ae-nav a:not(.active):not([aria-current="page"]),#ae-rail .ae-nav button:not(.active):not([aria-current="page"]){border-color:transparent}
main.aeu-content-enter,#ae-content.aeu-content-enter,.ae-workspace.aeu-content-enter{animation:aeu-page-in .19s ease-out both}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root),::view-transition-old(axiom-editorial-rail),::view-transition-new(axiom-editorial-rail){animation:none!important}main.aeu-content-enter,#ae-content.aeu-content-enter,.ae-workspace.aeu-content-enter{animation:none!important}}
