/* 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}}
