/* The saved sidebar order, widths and mobile controls remain owned by the original shell. */
#svDesktopMenu{display:none!important}
@media(min-width:901px){
 html body.ref44-nav #svDesktopMenu{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;min-height:40px!important;margin:0;padding:8px!important;background:var(--au-soft,var(--r44-theme-hover,#eaf0ff))!important;color:var(--au-text,var(--r44-theme-text,#20334c))!important;border:1px solid var(--au-line,var(--r44-theme-border,#d4dfed))!important;border-radius:10px!important;box-shadow:none!important;cursor:pointer;touch-action:manipulation}
 html body.ref44-nav #svDesktopMenu svg{display:block;width:22px;height:22px;flex:none}
 html body.ref44-nav #svDesktopMenu:focus-visible{outline:2px solid var(--au-link,var(--r44-theme-accent,#387ac0));outline-offset:3px}
 html.svd-ready body.ref44-nav>main.wrap,html.svd-ready body.ref44-nav>footer{width:auto!important;max-width:none!important;margin-left:var(--svd-menu-width,210px)!important;margin-right:0!important;transition:margin-left .22s ease}
 html.svd-ready.svd-collapsed body.ref44-nav>main.wrap,html.svd-ready.svd-collapsed body.ref44-nav>footer{margin-left:0!important}
 html.svd-ready body.ref44-nav #r44Sidebar{transform:translateX(0);visibility:visible;transition:transform .22s ease,visibility 0s}
 html.svd-ready.svd-collapsed body.ref44-nav #r44Sidebar{transform:translateX(-105%)!important;visibility:hidden!important;pointer-events:none;transition:transform .22s ease,visibility 0s .22s}
 html.svd-ready.svd-collapsed body.ref44-nav #autumn4{max-width:none}
 html.svd-ready body.ref44-nav>.r44-top{gap:18px}
 html.svd-ready body.ref44-nav>.r44-top .r44-site-search{min-width:100px}
}
@media(prefers-reduced-motion:reduce){html.svd-ready body.ref44-nav>main.wrap,html.svd-ready body.ref44-nav>footer,html.svd-ready body.ref44-nav #r44Sidebar{transition:none!important}}
/* Compact footer: background photo occupies only a small right-hand accent, not the whole footer. */
html body[data-page]>footer[data-sv-compact-footer]{position:relative;min-height:0!important;margin-top:0!important;padding:18px 28px 12px!important;background-color:var(--au-head,var(--r44-theme-top,#0c1b29))!important;background-image:linear-gradient(90deg,var(--au-head,var(--r44-theme-top,#0c1b29)),transparent),url('/assets/themes/prague-night-clean.perf-20261010.webp')!important;background-position:right bottom,right bottom!important;background-size:290px 115px,290px 115px!important;background-repeat:no-repeat!important;border-top:1px solid var(--au-line,var(--r44-theme-border,#d3dfed))!important}
html body[data-page]>footer[data-sv-compact-footer]>.wrap{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
html body[data-page]>footer[data-sv-compact-footer] .night-footer-details{display:grid!important;grid-template-columns:minmax(230px,1.15fr) minmax(150px,1fr) minmax(200px,1fr);gap:14px 25px!important;padding:0 0 12px!important;margin:0!important;min-height:0!important}
html body[data-page]>footer[data-sv-compact-footer] .standard-footer{display:none!important}
html body[data-page]>footer[data-sv-compact-footer] .night-footer-details>div{display:flex;flex-direction:column;gap:4px;min-width:0}
html body[data-page]>footer[data-sv-compact-footer] .night-footer-details>div:nth-child(4){display:none!important}
html body[data-page]>footer[data-sv-compact-footer] .night-footer-details :is(p,small,a){font-size:12px!important;line-height:1.45!important;margin:0!important;color:var(--au-muted,var(--r44-theme-muted))!important}
html body[data-page]>footer[data-sv-compact-footer] .night-footer-details b{font-size:14px!important;line-height:1.5;margin-bottom:3px;color:var(--au-text,var(--r44-theme-text))!important}
html body[data-page]>footer[data-sv-compact-footer] .night-footer-details>div:first-child{max-width:350px}
html body[data-page]>footer[data-sv-compact-footer] .night-footer-bottom{display:block!important;width:100%!important;font-size:11px!important;padding:10px 0 0!important;margin:0!important;line-height:1.5;border-top:1px solid var(--au-line,var(--r44-theme-border));color:var(--au-muted,var(--r44-theme-muted))!important}
html body[data-page]>footer[data-sv-compact-footer]::before{display:none!important}
html body[data-page]>footer[data-sv-compact-footer]::after{font-size:30px!important;right:12px!important;bottom:6px!important;opacity:.4!important;pointer-events:none}
@media(max-width:900px){
 html body[data-page]>footer[data-sv-compact-footer]{padding:16px 16px 18px!important;background-size:180px 80px,180px 80px!important}
 html body[data-page]>footer[data-sv-compact-footer] .night-footer-details{grid-template-columns:1fr 1fr;gap:14px!important}
 html body[data-page]>footer[data-sv-compact-footer] .night-footer-details>div:first-child{grid-column:1/-1;max-width:none}
 html body[data-page]>footer[data-sv-compact-footer] .night-footer-details>div:first-child small{max-width:48ch}
 html body[data-page]>footer[data-sv-compact-footer] .night-footer-details a{min-height:25px;display:flex;align-items:center}
 html body[data-page]>footer[data-sv-compact-footer] .night-footer-bottom{padding-bottom:8px!important}
}

/* Owner-requested header: Menu | search | seasonal identity | account. */
html body.ref44-nav>.svd-header .svd-brand{cursor:default;min-width:0!important;justify-content:center;gap:11px;color:var(--au-text,var(--r44-theme-text))!important}
html body.ref44-nav>.svd-header .svd-brand .svd-autumn-logo{display:block;width:49px!important;height:46px!important;flex:0 0 49px;overflow:visible}
html body.ref44-nav>.svd-header .svd-brand b{font-size:21px;line-height:1.2;letter-spacing:-.4px;white-space:nowrap}
html body.ref44-nav>.svd-header .svd-brand small{font-size:10px;line-height:1.4;color:var(--au-muted,var(--r44-theme-muted))!important;white-space:nowrap}
@media(min-width:901px){
 html body.ref44-nav>.svd-header{display:grid!important;grid-template-columns:160px minmax(160px,1.3fr) minmax(245px,1fr) auto;gap:18px!important;padding:0 30px!important}
 html body.ref44-nav>.svd-header #svDesktopMenu{width:118px!important;min-width:118px!important;height:44px;justify-content:flex-start!important;gap:12px;padding:10px 13px!important;font-size:16px!important;font-weight:650;letter-spacing:.1px}
 html body.ref44-nav>.svd-header #svDesktopMenu span{display:inline!important;color:inherit;line-height:1.2}
 html body.ref44-nav>.svd-header .r44-site-search{width:100%;max-width:580px!important;min-width:0!important;align-self:center}
 html body.ref44-nav>.svd-header .r44-tools{margin-left:0!important;gap:14px;min-width:0;justify-content:flex-end}
 html body.ref44-nav>.svd-header .r44-account span{max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media(min-width:901px) and (max-width:1150px){
 html body.ref44-nav>.svd-header{grid-template-columns:120px minmax(140px,1fr) minmax(210px,1.15fr) auto;gap:12px!important;padding:0 18px!important}
 html body.ref44-nav>.svd-header .svd-brand b{font-size:18px}html body.ref44-nav>.svd-header .svd-brand small{font-size:9px}
 html body.ref44-nav>.svd-header .r44-account span{max-width:90px}
}
@media(max-width:900px){html body.ref44-nav>.svd-header .svd-brand{justify-content:flex-start;flex:1;gap:6px}html body.ref44-nav>.svd-header .svd-brand .svd-autumn-logo{width:39px!important;height:38px!important;flex-basis:39px}html body.ref44-nav>.svd-header .svd-brand b{font-size:16px}html body.ref44-nav>.svd-header .svd-brand small{font-size:8px}}
html body[data-page]>footer[data-sv-compact-footer] .night-footer-details>div:nth-child(3){flex-direction:row;flex-wrap:wrap;align-content:flex-start;gap:6px 14px!important}
html body[data-page]>footer[data-sv-compact-footer] .night-footer-details>div:nth-child(3)>b{flex:0 0 100%}

/* Keep the sidebar vertical and reserve a separate small area for the footer photograph. */
html body.ref44-nav #r44Sidebar{overflow-x:hidden!important;scrollbar-width:thin}
html body.ref44-nav #r44Sidebar nav{min-width:0;max-width:100%;box-sizing:border-box}
html body.ref44-nav #r44Sidebar nav>a{box-sizing:border-box!important;min-width:0}
@media(min-width:1200px){html body[data-page]>footer[data-sv-compact-footer] .night-footer-details{padding-right:250px!important;grid-template-columns:minmax(180px,1.2fr) minmax(130px,.8fr) minmax(190px,1fr)}html body[data-page]>footer[data-sv-compact-footer]{background-size:230px 90px,230px 90px!important}}
@media(min-width:901px) and (max-width:1199px){html body[data-page]>footer[data-sv-compact-footer]{background-image:none!important}}
@media(max-width:900px){html body.ref44-nav>.svd-header #r44Menu{flex-direction:column;gap:0;padding:4px!important}html body.ref44-nav>.svd-header #r44Menu svg{width:21px;height:21px}html body.ref44-nav>.svd-header #r44Menu .svd-menu-caption{display:block;font:600 8px/10px system-ui;color:inherit}html body[data-page]>footer[data-sv-compact-footer]{background-image:none!important}}
.sv-event-status{padding:13px 16px;margin:0 0 16px;border:1px solid var(--au-line,var(--line,#ddc39e));border-radius:12px;background:var(--au-soft,var(--surface,#fff6e7));color:var(--au-text,var(--ink,#332619))}.sv-event-status b{display:block;margin-bottom:4px}.sv-event-status p{margin:0;font-size:13px;line-height:1.5}

/* Centre identity within the actual gap, even on a wide display where search reaches its cap. */
@media(min-width:1151px){html body.ref44-nav>.svd-header{grid-template-columns:160px minmax(160px,580px) minmax(245px,1fr) auto}}

/* 2026-10-06: keep the original compact footer, add only tiny inline SVG icons. */
html body[data-page]>footer[data-sv-compact-footer] .night-footer-details a{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  width:max-content;
  max-width:100%;
}
html body[data-page]>footer[data-sv-compact-footer] .sv-footer-mini-icon{
  display:inline-grid;
  place-items:center;
  width:14px;
  height:14px;
  flex:0 0 14px;
  color:var(--au-link,var(--r44-theme-accent,#4d93dc));
  opacity:.92;
}
html body[data-page]>footer[data-sv-compact-footer] .sv-footer-mini-icon svg{
  display:block;
  width:13px;
  height:13px;
}
@media(max-width:900px){
  html body[data-page]>footer[data-sv-compact-footer] .sv-footer-mini-icon{
    width:13px;
    height:13px;
    flex-basis:13px;
  }
  html body[data-page]>footer[data-sv-compact-footer] .sv-footer-mini-icon svg{
    width:12px;
    height:12px;
  }
}

/* 2026-10-06 mobile header: the two Ukrainian autumn-night themes use the same left Menu placement as the other themes. */
@media(max-width:900px){
  html body.ref44-nav.theme-night>.svd-header,
  html body.ref44-nav.theme-night2>.svd-header{
    position:sticky!important;
    padding-left:66px!important;
  }
  html body.ref44-nav.theme-night>.svd-header #r44Menu,
  html body.ref44-nav.theme-night2>.svd-header #r44Menu{
    position:absolute!important;
    left:12px!important;
    right:auto!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    z-index:3!important;
  }
  html body.ref44-nav.theme-night>.svd-header .svd-brand,
  html body.ref44-nav.theme-night2>.svd-header .svd-brand{
    margin-left:0!important;
    margin-right:0!important;
    min-width:0!important;
  }
  html body.ref44-nav.theme-night>.svd-header .r44-tools,
  html body.ref44-nav.theme-night2>.svd-header .r44-tools{
    margin-left:auto!important;
  }
}

/* 2026-10-07 desktop header: pin notifications/profile to the far right edge on every theme. */
@media(min-width:901px){
  html body.ref44-nav>.svd-header{
    position:sticky!important;
  }
  html body.ref44-nav>.svd-header .r44-tools{
    position:absolute!important;
    right:30px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    margin-left:0!important;
    justify-content:flex-end!important;
    z-index:4!important;
  }
}
@media(min-width:901px) and (max-width:1150px){
  html body.ref44-nav>.svd-header .r44-tools{
    right:18px!important;
  }
}


/* THEME-BRAND-01: Emerald header uses the navigation palette; colors only. */
html body[data-page].theme-emerald.ref44-nav>.svd-header .svd-brand{
 color:var(--r44-theme-text,#edfdf5)!important;
}
html body[data-page].theme-emerald.ref44-nav>.svd-header .svd-brand small{
 color:var(--r44-theme-muted,#b0d0c1)!important;
}


/* THEME-FOOTER-EMERALD: compact footer uses its existing content palette; colors only. */
html body[data-page].theme-emerald>footer[data-sv-compact-footer] .night-footer-details b{
 color:var(--ex-text,#f1f5df)!important;
}
html body[data-page].theme-emerald>footer[data-sv-compact-footer] .night-footer-details :is(p,small,a),
html body[data-page].theme-emerald>footer[data-sv-compact-footer] .night-footer-bottom{
 color:var(--ex-muted,#b5cbbb)!important;
}
