/* Nikaya v473: shared Blade header. Text/markup lives in Blade; JS only handles behavior. */
.nk-shared-header{position:sticky!important;top:0!important;z-index:12000!important;width:100%!important;background:#fff!important;color:#24483b!important;box-shadow:0 1px 0 rgba(17,74,59,.08);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}
.nk-shared-header__main{min-height:64px!important;padding:6px 14px!important;display:flex!important;align-items:center!important;gap:10px!important;background:linear-gradient(90deg,#075b49 0%,#08705a 55%,#075b49 100%)!important;color:#fff!important}
.nk-shared-header .nk34-brand{display:flex!important;align-items:center!important;gap:10px!important;min-width:220px!important;color:#fff!important;text-decoration:none!important}
.nk-shared-header .nk34-brand__logo{width:54px;height:54px;border-radius:10px;overflow:hidden;background:#fff;display:grid;place-items:center}.nk-shared-header .nk34-brand__logo img{width:100%;height:100%;object-fit:cover}
.nk-shared-header .nk34-brand__copy{display:flex;flex-direction:column;line-height:1.08}.nk-shared-header .nk34-brand__copy strong{font-size:18px}.nk-shared-header .nk34-brand__copy small{font-size:11px;opacity:.9;margin-top:4px}
.nk-shared-header .nk34-menu-toggle{width:44px;height:44px;border:0;border-radius:10px;background:rgba(255,255,255,.09);color:#fff;font-size:22px;cursor:pointer}.nk-shared-header .nk34-menu-toggle:hover{background:rgba(255,255,255,.16)}
.nk-shared-header .nk34-primary-host{min-width:0;flex:1}.nk-shared-header .nk26-primary-nav{display:flex!important;align-items:center!important;gap:4px!important;min-width:0!important;background:transparent!important}
.nk-shared-header .nk26-nav-item{min-height:46px!important;padding:0 14px!important;border:0!important;border-radius:11px!important;display:inline-flex!important;align-items:center!important;gap:8px!important;background:transparent!important;color:#f8fffc!important;text-decoration:none!important;font-weight:750!important;font-size:14px!important;cursor:pointer!important;white-space:nowrap!important}.nk-shared-header .nk26-nav-item:hover,.nk-shared-header .nk26-nav-item.is-active,.nk-shared-header .nk26-nav-item.is-route-active{background:rgba(255,255,255,.14)!important}.nk-shared-icon{font-size:18px}.nk-shared-caret{font-size:12px;opacity:.8}
.nk-shared-header .nk34-top-actions{display:flex!important;align-items:center!important;gap:4px!important}.nk-shared-header .nk35-top-icon{width:38px!important;height:38px!important;flex:0 0 38px!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#fff!important;font-size:19px!important;cursor:pointer!important;position:relative}.nk-shared-header .nk35-top-icon:hover{background:rgba(255,255,255,.14)!important}.nk-shared-header .nk35-notify-badge{position:absolute;top:0;right:0;min-width:16px;height:16px;border-radius:9px;background:#e34d43;color:#fff;font-size:9px;line-height:16px;text-align:center;padding:0 3px}
.nk-shared-header__sub{min-height:62px!important;padding:8px 14px!important;display:flex!important;align-items:center!important;gap:12px!important;background:#fff!important;border-bottom:1px solid #dce8e3!important;box-shadow:0 5px 18px rgba(19,67,52,.055)!important}.nk-shared-search{width:min(470px,36vw);display:grid;grid-template-columns:150px 150px minmax(110px,1fr);border:1px solid #dce8e3;border-radius:13px;overflow:hidden;background:#f8fbfa}.nk-shared-search select,.nk-shared-search input{height:48px;border:0;border-right:1px solid #e3ece8;background:transparent;color:#31594e;padding:0 14px;outline:none;font-weight:650}.nk-shared-search input{border-right:0;font-weight:500}.nk-shared-shortcuts{display:flex;align-items:center;gap:8px;overflow:auto;scrollbar-width:none}.nk-shared-shortcuts::-webkit-scrollbar{display:none}.nk-shared-shortcuts a{height:48px;padding:0 17px;border:1px solid #dce8e3;border-radius:12px;background:#fff;color:#31594e;text-decoration:none;display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:750;white-space:nowrap}.nk-shared-shortcuts a:hover{background:#edf6f2;color:#075b49}
.nk-shared-menu-backdrop{position:fixed;z-index:12010;inset:126px 0 0;background:rgba(19,54,43,.22);display:none}.nk-shared-menu-backdrop.is-open{display:block}.nk-shared-menu-panel{position:fixed;z-index:12020;top:134px;left:18px;right:18px;max-height:calc(100vh - 154px);overflow:auto;display:none;padding:0 20px 20px;border:1px solid #d8e5e0;border-radius:20px;background:#fff;color:#31594e;box-shadow:0 24px 62px rgba(18,58,46,.24)}.nk-shared-menu-panel.is-open{display:block}.nk-shared-menu-head{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e6eeeb}.nk-shared-menu-head>div{display:flex;flex-direction:column}.nk-shared-menu-head strong{font-size:20px;color:#075b49}.nk-shared-menu-head small{margin-top:4px;color:#7c928a}.nk-shared-menu-head button{width:40px;height:40px;border:1px solid #dce8e3;border-radius:11px;background:#fff;color:#45685d;font-size:22px;cursor:pointer}.nk-shared-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:18px}.nk-shared-menu-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.nk-shared-menu-grid a{min-height:76px;border:1px solid #dce8e3;border-radius:13px;padding:15px 18px;color:#31594e;text-decoration:none;display:flex;flex-direction:column;justify-content:center}.nk-shared-menu-grid a:hover{background:#f0f7f4;border-color:#bdd5cb}.nk-shared-menu-grid strong{font-size:15px;color:#175d4b}.nk-shared-menu-grid span{font-size:12px;margin-top:5px;color:#7b8e87}
/* The original Architect header remains in Blade as compatibility/data source only. */
body.nk2026>.app-container>.app-header{display:none!important}
/* v26 may build a quickbar in app-main; shared Blade header owns the only visible quickbar. */
body.nk2026[data-nk-shared-header-ready="1"] .app-main__inner>.nk26-quickbar{display:none!important}
body.nk2026.nk-shared-menu-open{overflow:hidden!important}
@media(max-width:1180px){.nk-shared-header .nk34-brand{min-width:180px!important}.nk-shared-header .nk34-brand__copy small{display:none}.nk-shared-header .nk26-nav-item{padding:0 10px!important}.nk-shared-shortcuts a{padding:0 12px}}
@media(max-width:991px){.nk-shared-header__main{min-height:58px!important}.nk-shared-header .nk34-brand{min-width:0!important}.nk-shared-header .nk34-brand__copy{display:none}.nk-shared-header .nk34-brand__logo{width:44px;height:44px}.nk-shared-header .nk34-primary-host{overflow:auto}.nk-shared-header .nk26-primary-nav{width:max-content}.nk-shared-header .nk26-nav-item{font-size:12px!important;min-height:40px!important}.nk-shared-header .nk35-top-icon.is-bell,.nk-shared-header .nk35-top-icon.is-calm,.nk-shared-header .nk35-top-icon.is-user{display:none!important}.nk-shared-header__sub{min-height:54px!important;padding:6px 8px!important}.nk-shared-search{width:42vw;grid-template-columns:1fr}.nk-shared-search select{display:none}.nk-shared-search input{height:42px}.nk-shared-shortcuts a{height:42px;font-size:12px}.nk-shared-menu-backdrop{inset:112px 0 0}.nk-shared-menu-panel{top:119px;left:8px;right:8px;max-height:calc(100vh - 130px)}.nk-shared-menu-grid,.nk-shared-menu-grid--3{grid-template-columns:1fr}}
@media(max-width:620px){.nk-shared-header .nk34-brand{display:none!important}.nk-shared-header .nk26-nav-item .nk-shared-icon{display:none}.nk-shared-header .nk26-nav-item{padding:0 8px!important}.nk-shared-header .nk34-top-actions{margin-left:auto}.nk-shared-search{width:38vw}.nk-shared-shortcuts{flex:1}.nk-shared-shortcuts a span{display:none}.nk-shared-shortcuts a{width:42px;justify-content:center;padding:0}}
.nk-shared-header{pointer-events:auto!important}.nk-shared-header .nk-shared-menu-backdrop,.nk-shared-header .nk-shared-menu-panel{pointer-events:auto!important}

/* v472 shared AJAX search results: same DOM and behavior on index/detail. */
.nk-shared-search-wrap{position:relative;width:min(470px,36vw);flex:0 0 auto}
.nk-shared-search-wrap>.nk-shared-search{width:100%}
.nk-shared-search-results,.nk-shared-search-status{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:12050;max-height:min(420px,60vh);overflow:auto;border:1px solid #d8e5e0;border-radius:13px;background:#fff;box-shadow:0 16px 40px rgba(18,58,46,.2);color:#31594e}
.nk-shared-search-results[hidden],.nk-shared-search-status[hidden]{display:none!important}
.nk-shared-search-results{padding:6px}
.nk-shared-search-results a,.nk-shared-search-results button,.nk-shared-search-results [role="option"]{display:block;width:100%;padding:9px 11px;border:0;border-radius:9px;background:transparent;color:#31594e;text-align:left;text-decoration:none}
.nk-shared-search-results a:hover,.nk-shared-search-results button:hover,.nk-shared-search-results [role="option"]:hover,.nk-shared-search-results .is-keyboard-active{background:#edf6f2;color:#075b49}
.nk-shared-search-status{padding:13px 15px;font-size:13px}
@media(max-width:991px){.nk-shared-search-wrap{width:42vw}.nk-shared-search-wrap>.nk-shared-search{width:100%}}
@media(max-width:620px){.nk-shared-search-wrap{width:38vw}}


/* v473: identical SVG icon system and identical top-right action panels on every route. */
.nk-shared-svg{width:19px;height:19px;display:block;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nk-shared-header .nk26-nav-item .nk-shared-svg{width:18px;height:18px}.nk-shared-header .nk35-top-icon .nk-shared-svg{width:20px;height:20px;margin:auto}.nk-shared-shortcuts .nk-shared-svg{width:18px;height:18px}
.nk-shared-header.nk-shared-scrolled{box-shadow:0 5px 22px rgba(13,66,51,.16)}
.nk-shared-action-backdrop{position:fixed;inset:0;z-index:12055;background:rgba(14,46,37,.18)}.nk-shared-action-backdrop[hidden]{display:none!important}
.nk-shared-action-panel{position:fixed;right:14px;top:70px;z-index:12060;width:min(430px,calc(100vw - 28px));max-height:min(620px,calc(100vh - 88px));overflow:auto;border:1px solid #d8e5e0;border-radius:16px;background:#fff;color:#31594e;box-shadow:0 24px 64px rgba(15,56,44,.25)}.nk-shared-action-panel[hidden]{display:none!important}.nk-shared-action-panel__head{position:sticky;top:0;z-index:2;min-height:54px;padding:9px 10px 9px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border-bottom:1px solid #e3ece8}.nk-shared-action-panel__head strong{font-size:15px;color:#075b49}.nk-shared-action-panel__head button{width:36px;height:36px;border:1px solid #dce8e3;border-radius:10px;background:#fff;color:#45685d;font-size:20px;cursor:pointer}.nk-shared-action-panel__body{padding:8px}.nk-shared-action-panel__body>.dropdown-menu{position:static!important;display:block!important;float:none!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;border:0!important;box-shadow:none!important;transform:none!important}.nk-shared-action-panel__body .dropdown-menu-header{border-radius:10px;overflow:hidden}.nk-shared-action-empty{padding:20px;color:#70867e;text-align:center}
body.nk2026[data-nk-shared-header-ready="1"] .nk34-top-shell .nk35-top-icon{font-family:inherit!important}
@media(max-width:991px){.nk-shared-action-panel{top:62px;right:8px;width:min(390px,calc(100vw - 16px));max-height:calc(100vh - 74px)}}

/* v474 — all top-menu content lives in Blade; JS only toggles these existing nodes. */
.nk-shared-menu-tabs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:0 22px 14px;border-bottom:1px solid rgba(7,91,73,.10)}
.nk-shared-menu-tabs button,.nk-shared-menu-tabs a{appearance:none;border:1px solid #dce9e4;background:#fff;color:#31594e;border-radius:12px;padding:10px 14px;font:inherit;font-weight:700;text-decoration:none;cursor:pointer}
.nk-shared-menu-tabs button.is-active{background:#eef7f3;border-color:#9fc9ba;color:#075b49;box-shadow:inset 0 -2px 0 #0b7b62}
.nk-shared-tab-panel{padding:16px 22px 22px}
.nk-shared-tab-panel[hidden]{display:none!important}
.nk-shared-menu-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1200px){.nk-shared-menu-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.nk-shared-menu-grid--4,.nk-shared-menu-grid--3{grid-template-columns:1fr}.nk-shared-menu-tabs{padding-left:14px;padding-right:14px}.nk-shared-tab-panel{padding:12px 14px 18px}}


/* v483 - Thông báo & Thống kê as a floating popup, not an inline/right drawer */
html body .nk-stats-float-button{
 position:fixed!important;right:22px!important;bottom:22px!important;z-index:12920!important;
 display:inline-flex!important;align-items:center!important;gap:7px!important;
 height:46px!important;padding:0 14px!important;border:1px solid rgba(8,96,76,.18)!important;
 border-radius:999px!important;background:#0b6c57!important;color:#fff!important;
 box-shadow:0 10px 30px rgba(12,65,51,.22)!important;cursor:pointer!important;
 font:inherit!important;font-size:13px!important;font-weight:750!important;
}
html body .nk-stats-float-button svg{width:20px!important;height:20px!important;display:block!important}
html body .nk-stats-float-button:hover{background:#075b49!important;transform:translateY(-1px)}
html body .nk-stats-float-button[aria-expanded="true"]{background:#8f6b2e!important}

html body .nk-stats-popup-overlay{
 position:fixed!important;inset:0!important;z-index:12900!important;
 display:block!important;background:rgba(15,42,34,.22)!important;backdrop-filter:blur(1.5px)!important;
 opacity:0!important;visibility:hidden!important;pointer-events:none!important;
 transition:opacity .18s ease,visibility .18s ease!important;
}
html body.nk-stats-popup-open .nk-stats-popup-overlay{
 opacity:1!important;visibility:visible!important;pointer-events:auto!important;
}

html body .app-drawer-wrapper.nk-stats-popup{
 position:fixed!important;z-index:12910!important;right:22px!important;bottom:78px!important;
 top:auto!important;left:auto!important;width:min(460px,calc(100vw - 32px))!important;
 max-width:calc(100vw - 32px)!important;height:auto!important;max-height:min(72vh,720px)!important;
 margin:0!important;padding:0!important;overflow:hidden!important;
 display:flex!important;flex-direction:column!important;
 border:1px solid #d8e6e0!important;border-radius:18px!important;background:#f8fbf9!important;
 box-shadow:0 24px 70px rgba(16,55,44,.25)!important;
 opacity:0!important;visibility:hidden!important;pointer-events:none!important;
 transform:translateY(14px) scale(.985)!important;
 transition:opacity .18s ease,transform .18s ease,visibility .18s ease!important;
}
html body.nk-stats-popup-open .app-drawer-wrapper.nk-stats-popup{
 opacity:1!important;visibility:visible!important;pointer-events:auto!important;
 transform:translateY(0) scale(1)!important;
}
html body .nk-stats-popup>.drawer-nav-btn{display:none!important}
html body .nk-stats-popup>.nk38-drawer-head{
 position:relative!important;inset:auto!important;flex:0 0 auto!important;height:54px!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 padding:0 12px 0 16px!important;background:#fff!important;border-bottom:1px solid #e1ebe7!important;
 box-shadow:none!important;
}
html body .nk-stats-popup>.nk38-drawer-head strong{font-size:15px!important;color:#0a604e!important}
html body .nk-stats-popup .nk38-drawer-close{
 width:34px!important;height:34px!important;display:grid!important;place-items:center!important;
 border:1px solid #e1ebe7!important;border-radius:10px!important;background:#fff!important;
 color:#4f6e64!important;font-size:21px!important;cursor:pointer!important;
}
html body .nk-stats-popup>.drawer-content-wrapper{
 display:block!important;flex:1 1 auto!important;min-height:0!important;width:100%!important;
 height:auto!important;overflow:hidden!important;background:#f8fbf9!important;
}
html body .nk-stats-popup .scrollbar-container{
 width:100%!important;height:auto!important;max-height:calc(min(72vh,720px) - 54px)!important;
 overflow:auto!important;padding:14px!important;box-sizing:border-box!important;
}
html body .nk-stats-popup .drawer-heading{
 margin:8px 0!important;padding:0!important;font-size:11px!important;font-weight:850!important;
 letter-spacing:.045em!important;text-transform:uppercase!important;color:#55746a!important;
}
html body .nk-stats-popup .drawer-section{
 margin:0 0 12px!important;padding:12px!important;border:1px solid #e1ebe7!important;
 border-radius:13px!important;background:#fff!important;box-shadow:none!important;
}
html body .nk-stats-popup .widget-numbers{font-size:22px!important;font-weight:850!important}
html body .nk-stats-popup .widget-subheading{font-size:11px!important;color:#71867e!important}
@media(max-width:640px){
 html body .nk-stats-float-button{right:12px!important;bottom:12px!important}
 html body .nk-stats-float-button span{display:none!important}
 html body .app-drawer-wrapper.nk-stats-popup{
   right:12px!important;bottom:66px!important;width:calc(100vw - 24px)!important;
   max-width:calc(100vw - 24px)!important;max-height:78vh!important;border-radius:15px!important;
 }
 html body .nk-stats-popup .scrollbar-container{max-height:calc(78vh - 54px)!important;padding:11px!important}
}
@media(prefers-reduced-motion:reduce){
 html body .nk-stats-float-button,html body .nk-stats-popup-overlay,html body .app-drawer-wrapper.nk-stats-popup{transition:none!important}
}


/* v484 - Shared fixed header/footer controls. Blade owns all visible text. */

/* Hide obsolete controls generated by legacy core / old theme settings. */
.ui-theme-settings .nk44-static-settings{display:none!important}
.ui-theme-settings li:has(.switch-container-class[data-class="fixed-header"]),
.ui-theme-settings li:has(.switch-container-class[data-class="fixed-footer"]){display:none!important}

.nk-fixed-settings-v484{
 margin:14px 0;
 padding:14px;
 border:1px solid #dce8e3;
 border-radius:14px;
 background:#fff;
}
.nk-fixed-settings-v484__title{
 margin:0 0 6px;
 font-size:12px;
 font-weight:850;
 letter-spacing:.04em;
 text-transform:uppercase;
 color:#496c61;
}
.nk-fixed-settings-v484__row{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:14px;
 padding:12px 0;
 border-top:1px solid #e8efec;
}
.nk-fixed-settings-v484__row:first-of-type{border-top:0}
.nk-fixed-settings-v484__row>div{
 display:flex;
 min-width:0;
 flex-direction:column;
 gap:2px;
}
.nk-fixed-settings-v484__row strong{
 font-size:14px;
 color:#214f43;
}
.nk-fixed-settings-v484__row small{
 font-size:11px;
 line-height:1.35;
 color:#6d827b;
}
.nk-fixed-settings-v484__toggle{
 flex:0 0 auto;
 min-width:58px;
 height:34px;
 border:0;
 border-radius:999px;
 padding:0 12px;
 background:#dce7e3;
 color:#385a50;
 font:inherit;
 font-size:12px;
 font-weight:800;
 cursor:pointer;
}
.nk-fixed-settings-v484__toggle.is-on{
 background:#08745c;
 color:#fff;
}

/* Shared header is a direct child of body: sticky keeps its natural layout space. */
body.nk-fixed-header-enabled [data-nk-static-header="1"]{
 position:sticky!important;
 top:0!important;
 z-index:12850!important;
 width:100%!important;
}

/* Fixed footer works with both legacy and safe-runtime pages. */
body.nk-fixed-footer-enabled .app-wrapper-footer{
 position:fixed!important;
 left:0!important;
 right:0!important;
 bottom:0!important;
 z-index:12700!important;
 width:100%!important;
 margin:0!important;
}
body.nk-fixed-footer-enabled{
 padding-bottom:var(--nk-fixed-footer-space,56px)!important;
}
body.nk-fixed-footer-enabled .nk-stats-float-button{
 bottom:calc(var(--nk-fixed-footer-space,56px) + 16px)!important;
}
body.nk-fixed-footer-enabled .app-drawer-wrapper.nk-stats-popup{
 bottom:calc(var(--nk-fixed-footer-space,56px) + 72px)!important;
}

@media(max-width:640px){
 .nk-fixed-settings-v484__row{align-items:flex-start}
 body.nk-fixed-footer-enabled .nk-stats-float-button{
   bottom:calc(var(--nk-fixed-footer-space,56px) + 10px)!important;
 }
 body.nk-fixed-footer-enabled .app-drawer-wrapper.nk-stats-popup{
   bottom:calc(var(--nk-fixed-footer-space,56px) + 64px)!important;
 }
}

/* v485 - shared Blade footer and persistent shell */
html body .app-wrapper-footer{display:none!important;visibility:hidden!important;pointer-events:none!important}
html body .nk-shared-footer{
 position:relative;z-index:1200;width:100%;min-height:48px;display:grid;
 grid-template-columns:minmax(270px,1.35fr) minmax(360px,1.65fr) minmax(280px,1fr) auto;
 align-items:center;margin:0;padding:0 18px;box-sizing:border-box;
 border-top:1px solid #ead9ad;background:#fffdf8;color:#536a62;
 box-shadow:0 -2px 10px rgba(35,75,63,.04);font-size:12px
}
html body .nk-shared-footer__section{
 min-height:48px;display:flex;align-items:center;gap:9px;min-width:0;padding:7px 16px;
 box-sizing:border-box;border-left:1px solid #eee6d5
}
html body .nk-shared-footer__section:first-child{border-left:0;padding-left:0}
html body .nk-shared-footer__brand img{width:25px;height:25px;border-radius:6px;object-fit:cover}
html body .nk-shared-footer__brand>div{display:flex;align-items:baseline;gap:6px;min-width:0;white-space:nowrap}
html body .nk-shared-footer__brand strong{color:#17634f;font-weight:800}
html body .nk-shared-footer__brand span,
html body .nk-shared-footer__copyright-note span:last-child,
html body .nk-shared-footer__copyright span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .nk-shared-footer__copyright-note,html body .nk-shared-footer__copyright{justify-content:center}
html body .nk-shared-footer__fixed-control{justify-content:flex-end;white-space:nowrap;padding-right:0}
html body .nk-footer-fixed-switch{display:inline-flex;align-items:center;border:0;padding:0;margin:0;background:transparent;cursor:pointer}
html body .nk-footer-fixed-switch__track{width:42px;height:22px;display:block;position:relative;border-radius:999px;background:#b9cbc4}
html body .nk-footer-fixed-switch__thumb{position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:transform .15s ease}
html body .nk-footer-fixed-switch.is-on .nk-footer-fixed-switch__track{background:#08745c}
html body .nk-footer-fixed-switch.is-on .nk-footer-fixed-switch__thumb{transform:translateX(20px)}
html body.nk-fixed-header-enabled [data-nk-static-header="1"]{position:sticky!important;top:0!important;z-index:12850!important;width:100%!important}
html body.nk-fixed-footer-enabled .nk-shared-footer{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:12700!important}
html body.nk-fixed-footer-enabled{padding-bottom:var(--nk-fixed-footer-space,49px)!important}
html body.nk-fixed-footer-enabled .nk-stats-float-button{bottom:calc(var(--nk-fixed-footer-space,49px) + 16px)!important}
html body.nk-fixed-footer-enabled .app-drawer-wrapper.nk-stats-popup{bottom:calc(var(--nk-fixed-footer-space,49px) + 72px)!important}
html body[data-nk-sidebar-restored="1"] .app-container{transition:none!important}
@media(max-width:1150px){
 html body .nk-shared-footer{grid-template-columns:1fr 1fr auto}
 html body .nk-shared-footer__copyright-note{display:none}
}
@media(max-width:760px){
 html body .nk-shared-footer{min-height:44px;grid-template-columns:1fr auto;padding:0 10px}
 html body .nk-shared-footer__section{min-height:44px;padding:6px 10px}
 html body .nk-shared-footer__copyright{display:none}
 html body .nk-shared-footer__brand>div{display:block}
 html body .nk-shared-footer__brand span,html body .nk-shared-footer__fixed-control>span{display:none}
}


/* v486 - fixed shared header on every route, independent from ancestor overflow */
html body.nk-fixed-header-enabled{
    padding-top:var(--nk-fixed-header-space,120px)!important;
}
html body.nk-fixed-header-enabled .nk-shared-header,
html body.nk-fixed-header-enabled [data-nk-static-header="1"]{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    max-width:none!important;
    z-index:12850!important;
    margin:0!important;
    transform:none!important;
}
html body:not(.nk-fixed-header-enabled){
    padding-top:0!important;
}
html body:not(.nk-fixed-header-enabled) .nk-shared-header{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
}

/* Keep old fixed ArchitectUI header from competing with the real shared header. */
html body .app-header.header-shadow{
    position:absolute!important;
    z-index:1!important;
}
html body.nk-fixed-header-enabled .app-header.header-shadow{
    position:absolute!important;
    top:auto!important;
}

/* Anchors/headings must not disappear behind the fixed shared header. */
html body.nk-fixed-header-enabled [id]{
    scroll-margin-top:calc(var(--nk-fixed-header-space,120px) + 14px);
}
@media(max-width:760px){
    html body.nk-fixed-header-enabled{
        padding-top:var(--nk-fixed-header-space,106px)!important;
    }
}
