/* Shared BB / KT administration: logos, light menus and semantic field icons. */
.sidebar .brand.shared-brand{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:18px;padding:0 6px 25px;min-height:92px}
.sidebar .shared-brand img{display:block;object-fit:contain;border:0;border-radius:0;background:transparent;box-shadow:none}
.sidebar .shared-brand .shared-brand-bb{width:47px;height:60px;filter:drop-shadow(0 0 1px #fff)}
.sidebar .shared-brand .shared-brand-kt{width:116px;height:64px;filter:drop-shadow(1px 0 0 white) drop-shadow(-1px 0 0 white) drop-shadow(0 1px 0 white) drop-shadow(0 -1px 0 white) drop-shadow(0 3px 4px #001c3530)}
.sidebar-user{flex-shrink:0}.sidebar-user strong{font-size:12px;max-width:145px}.sidebar .nav{margin-bottom:18px}
.admin-select{position:relative;min-width:0;width:100%;color-scheme:light}
.content .admin-select select.admin-native-select{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;min-width:0!important;margin:0!important;padding:0!important;opacity:0;clip-path:inset(50%);overflow:hidden;pointer-events:none;left:0;top:0;border:0!important}
.content .admin-select-button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px;margin:0;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font:550 13px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:left;cursor:pointer;box-shadow:none;letter-spacing:normal}
.content .admin-select-button:hover:not(:disabled){border-color:var(--blue);background:var(--pale);filter:none}
.content .admin-select-button:focus-visible,.content .admin-select-button[aria-expanded=true]{outline:2px solid var(--blue);outline-offset:2px;border-color:var(--blue)}
.content .admin-select-button:disabled{background:#f2f5f7;color:#8b9ba7;cursor:not-allowed}.content .admin-select-button[aria-invalid=true]{border-color:#b73548}
.admin-select-value{display:flex;align-items:center;gap:9px;min-width:0}.admin-select-text{min-width:0;overflow-wrap:anywhere;line-height:1.4}
.admin-field-glyph{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border-radius:8px;color:var(--blue);background:var(--pale)}
.admin-field-glyph svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.admin-select-button:disabled .admin-field-glyph{color:#91a4af;background:#e9eff3}.admin-select-chevron{width:16px;height:16px;flex:0 0 16px;color:var(--muted);background:transparent;transition:transform .16s}.admin-select-chevron svg{width:16px;height:16px}.admin-select-button[aria-expanded=true] .admin-select-chevron{transform:rotate(180deg)}
.admin-select-popup{position:fixed;z-index:1200;max-width:calc(100vw - 16px);overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--ink);box-shadow:0 16px 45px #063d6229;padding:6px;font:14px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:light;scrollbar-width:thin}
.admin-select-popup[hidden]{display:none!important}.admin-select-option{display:flex;align-items:center;gap:9px;padding:9px 10px;min-height:44px;border-radius:9px;cursor:pointer}.admin-select-option .admin-field-glyph{background:transparent}.admin-select-option:hover,.admin-select-option.is-active{background:var(--pale)}.admin-select-option[aria-selected=true]{background:var(--pale);color:var(--deep);font-weight:750}.admin-option-check{margin-left:auto;background:transparent;opacity:0;flex:0 0 18px;width:18px;height:18px}.admin-select-option[aria-selected=true] .admin-option-check{opacity:1}.admin-select-group{padding:9px 10px 4px;font-size:11px;font-weight:800;color:var(--muted)}
.admin-select-search{display:block;width:100%;min-height:40px;margin:0 0 5px;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:#f8fbfd;color:var(--ink);font:inherit;box-sizing:border-box;outline-color:var(--blue)}.admin-select-empty{padding:14px;color:var(--muted);font-size:13px}.admin-select-error{display:block;margin-top:6px;color:#b73548;font-size:12px}
html body .app .content input.admin-icon-input{padding-left:42px!important;background-repeat:no-repeat!important;background-position:left 13px center!important;background-size:18px 18px!important}
@media(max-width:900px){html:not(.mobile-nav-enabled) .sidebar .brand.shared-brand{display:none}.content .admin-select-button{min-height:48px}.admin-select-option{min-height:48px}}
@media(prefers-reduced-motion:no-preference){.admin-select-popup:not([hidden]){animation:adminMenuEnter .12s ease-out}@keyframes adminMenuEnter{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}}

/* Navigation follows document flow: no independently scrolling sidebar or nav. */
@media(min-width:901px){.app>.sidebar{position:relative;top:auto;height:auto;max-height:none;align-self:stretch;overflow:visible}.sidebar>.nav{min-height:auto;overflow:visible;flex:0 0 auto;align-content:start}.sidebar>.sidebar-user{margin-top:18px}.sidebar>.logout{margin-top:6px}}
@media(max-width:900px){
html.mobile-nav-enabled body .app>.sidebar{display:none!important;position:relative!important;top:auto;left:auto;bottom:auto;width:100%;height:auto;max-height:none;min-height:100dvh;overflow:visible;transform:none;visibility:visible;transition:none!important;box-shadow:none;padding:14px 16px!important}
html.mobile-nav-enabled body.mobile-nav-open .app>.sidebar{display:flex!important}
html.mobile-nav-enabled body.mobile-nav-open{overflow:visible}
html.mobile-nav-enabled body.mobile-nav-open .app>.main,html.mobile-nav-enabled body.mobile-nav-open .mobile-menu-overlay,html.mobile-nav-enabled body.mobile-nav-open #aiLaunch,html.mobile-nav-enabled body.mobile-nav-open #offerAiLaunch{display:none!important}
html.mobile-nav-enabled body .sidebar .brand{margin-top:0;min-height:70px;padding:0 48px 12px 0;justify-content:flex-start}
html.mobile-nav-enabled body .sidebar .nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;overflow:visible;flex:0 0 auto;margin-bottom:12px}
html.mobile-nav-enabled body .sidebar .nav a{min-width:0;min-height:44px;padding:8px!important;font-size:12px!important;gap:7px;overflow-wrap:anywhere}
html.mobile-nav-enabled body .sidebar .sidebar-user{margin-top:8px}
html.mobile-nav-enabled body .sidebar .logout{margin-top:6px}
html.mobile-nav-enabled body .sidebar .bb-modules{margin:4px 0 12px}
}
