.topbar-shell{z-index:80;width:100%;font-family:var(--font-omni-sans), "IBM Plex Sans", -apple-system, sans-serif;position:sticky;top:0}.topbar{background:var(--topbar-bg);border-bottom:1px solid var(--border-omni);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;min-height:60px;padding:0 24px;display:flex}.topbar-search{flex:0 360px;align-items:center;min-width:180px;display:flex;position:relative}.topbar-search-icon{width:16px;height:16px;color:var(--text-4);pointer-events:none;position:absolute;left:12px}.topbar-search-input{border:1px solid var(--border-omni);background:var(--surface-2);width:100%;height:38px;color:var(--text);border-radius:10px;padding:0 44px 0 36px;font-size:13px}.topbar-search-input::placeholder{color:var(--text-4)}.topbar-search-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);background:var(--surface);outline:none}.topbar-search-hint{color:var(--text-4);background:var(--inset);border:1px solid var(--border-omni);pointer-events:none;border-radius:6px;padding:1px 6px;font-size:11px;position:absolute;right:10px}.topbar-right{flex:0 auto;justify-content:flex-end;align-items:center;gap:14px;min-width:0;display:flex;position:relative}.topbar-env-pill{background:var(--surface-2);border:1px solid var(--border-omni);white-space:nowrap;border-radius:999px;align-items:center;gap:8px;padding:6px 12px;display:flex}.topbar-env-dot{background:var(--ok-dot);width:8px;height:8px;box-shadow:0 0 0 3px var(--ok-bg);border-radius:50%}.topbar-env-label{letter-spacing:.06em;color:var(--text-2);text-transform:uppercase;font-size:11px;font-weight:700}.topbar-env-sub{color:var(--text-4);font-size:11px}.topbar-theme-switch{background:var(--inset);border:1px solid var(--border-omni);border-radius:999px;padding:3px;display:inline-flex}.topbar-theme-btn{width:30px;height:28px;color:var(--text-4);border-radius:var(--btn-radius-pill);cursor:pointer;background:0 0;border:none;place-items:center;transition:background .15s,color .15s;display:grid}.topbar-theme-btn svg{width:15px;height:15px}.topbar-theme-btn.active{background:var(--surface);color:var(--accent)}.notif-bell{border:1px solid var(--border-omni);background:var(--surface-2);width:38px;height:38px;color:var(--text-3);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;transition:background .15s,color .15s,border-color .15s;display:inline-flex}.notif-bell:hover{border-color:var(--accent);color:var(--accent)}.notif-wrap,.notif-bell{position:relative}.notif-count{background:var(--accent);min-width:18px;height:18px;color:var(--accent-fg);border-radius:999px;justify-content:center;align-items:center;padding:0 5px;font-size:11px;font-weight:600;display:inline-flex;position:absolute;top:-5px;right:-5px}.notif-panel{background:var(--surface);border:1px solid var(--border-omni);z-index:1200;border-radius:12px;width:min(380px,100vw - 32px);max-height:70vh;position:absolute;top:46px;right:0;overflow:auto;box-shadow:0 12px 32px #0000002e}.notif-head{border-bottom:1px solid var(--border-omni);color:var(--text);justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.notif-head button{color:var(--accent);cursor:pointer;font:inherit;background:0 0;border:0;font-size:13px}.notif-list{margin:0;padding:0;list-style:none}.notif-item{all:unset;box-sizing:border-box;cursor:pointer;border-bottom:1px solid var(--border-omni);width:100%;color:var(--text-2);gap:2px;padding:10px 14px;font-size:13px;display:grid}.notif-item:hover{background:var(--surface-2)}.notif-item.unread{background:var(--accent-soft)}.notif-item b{color:var(--text);font-weight:600}.notif-item small{color:var(--text-4);font-size:11.5px}.notif-empty{color:var(--text-3);padding:16px 14px;font-size:13px}.topbar-profile-button{padding:var(--btn-pad);background:var(--surface-2);border:1px solid var(--border-omni);border-radius:var(--btn-radius);cursor:pointer;align-items:center;gap:10px;transition:border-color .15s,background .15s;display:flex}.topbar-profile-button:hover,.topbar-profile-button.open{border-color:var(--accent)}.topbar-profile-avatar{background:var(--accent);width:34px;height:34px;color:var(--accent-fg);border-radius:9px;flex-shrink:0;place-items:center;display:grid}.topbar-profile-avatar svg{width:18px;height:18px}.topbar-profile-copy{text-align:left;flex-direction:column;align-items:flex-start;min-width:0;display:flex}.topbar-profile-name{color:var(--text);text-overflow:ellipsis;white-space:nowrap;max-width:160px;font-size:13px;font-weight:600;overflow:hidden}.topbar-profile-role{color:var(--text-4);text-overflow:ellipsis;white-space:nowrap;max-width:160px;font-size:11px;overflow:hidden}.topbar-profile-caret{width:16px;height:16px;color:var(--text-4);flex-shrink:0}.topbar-menu{z-index:1000;background:var(--surface);border:1px solid var(--border-omni);border-radius:14px;width:320px;position:absolute;top:calc(100% + 12px);right:0;overflow:hidden;box-shadow:0 26px 52px #0f172a2e}.topbar-menu-header{background:var(--surface-2);border-bottom:1px solid var(--border-omni);padding:18px 20px 14px}.topbar-menu-header-icon{background:var(--accent-soft);width:40px;height:40px;color:var(--accent);border-radius:11px;place-items:center;margin-bottom:10px;display:grid}.topbar-menu-header strong{color:var(--text);font-size:15px;display:block}.topbar-menu-header span,.topbar-menu-header p{color:var(--text-3);margin:4px 0 0;font-size:12.5px;display:block}.topbar-session-chips{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.topbar-session-chip{background:var(--info-bg);color:var(--info-fg);border-radius:999px;align-items:center;gap:6px;padding:6px 10px;font-size:11px;font-weight:600;display:inline-flex}.topbar-session-chip svg{width:12px;height:12px}.topbar-session-chip.muted{background:var(--inset);color:var(--text-3)}.topbar-menu-section{padding:8px}.topbar-menu-link{text-align:left;width:100%;color:var(--text-2);cursor:pointer;background:0 0;border:none;border-radius:9px;align-items:center;gap:10px;padding:10px 12px;font-size:13px;font-weight:600;transition:background .15s,color .15s;display:flex}.topbar-menu-link-icon{flex-shrink:0;width:16px;height:16px}.topbar-menu-link:hover{background:var(--accent-soft);color:var(--accent)}.topbar-menu-footer{border-top:1px solid var(--border-omni);padding:12px 18px 18px}.topbar-logout-button{width:100%;padding:var(--btn-pad-lg);border-radius:var(--btn-radius);border:1px solid var(--alert-bg);background:var(--alert-bg);color:var(--alert-fg);font-size:var(--btn-font);font-weight:var(--btn-weight);cursor:pointer;justify-content:center;align-items:center;gap:10px;transition:filter .15s;display:flex}.topbar-logout-button:hover{filter:brightness(.97)}@media (max-width:900px){.topbar{gap:12px;padding:12px 16px}.topbar-env-sub{display:none}}@media (max-width:640px){.topbar-search{flex-basis:100%;order:2}.topbar-right{gap:8px}.topbar-env-pill,.topbar-profile-copy{display:none}.topbar-menu{width:auto;max-height:calc(100vh - 24px);position:fixed;top:12px;left:10px;right:10px;overflow-y:auto}}
.layout{background:var(--app-bg);width:100%;min-height:100vh;display:flex}.main-area{flex:1;width:calc(100% - 234px);min-width:0;margin-left:234px;transition:margin-left .18s,width .18s}.layout.sidebar-collapsed .main-area{width:calc(100% - 66px);margin-left:66px}.main-content{width:100%;min-width:0;max-width:100%;padding:clamp(16px,2.2vw,28px)}@media (max-width:900px){.layout{flex-direction:column}.main-area,.layout.sidebar-collapsed .main-area{width:100%;margin-left:0}.main-content{padding:18px}}@media (max-width:540px){.main-content{padding:12px}}
