.app-shell{min-height:100dvh;color:var(--foreground);background:var(--background);display:flex}.shell-sidebar{background:var(--sidebar);width:224px;height:100dvh;color:var(--sidebar-foreground);border-right:1px solid var(--sidebar-border);flex-direction:column;flex:0 0 224px;display:flex;position:sticky;top:0}.shell-brand{border-bottom:1px solid var(--sidebar-border);align-items:center;gap:12px;padding:26px 22px;display:flex}.shell-brand-copy{flex-direction:column;gap:4px;font-size:16px;display:flex}.shell-brand-copy>span:last-child{opacity:.6;font-size:10px}.shell-desktop-nav{scrollbar-width:none;flex:1;min-height:0;padding:16px 12px;overflow-y:auto}.shell-desktop-nav::-webkit-scrollbar{display:none}.shell-nav-caption{letter-spacing:.12em;text-transform:uppercase;opacity:.45;margin:0 12px 12px;font-size:10px;display:block}.shell-nav-link{min-height:44px;color:color-mix(in srgb,var(--sidebar-foreground) 72%,transparent);border-radius:9px;align-items:center;gap:12px;margin:2px 0;padding:10px 12px;font-size:13px;transition:background .15s,color .15s;display:flex}.shell-nav-link svg{flex-shrink:0}.shell-nav-link:hover{background:var(--sidebar-accent);color:var(--sidebar-foreground)}.shell-nav-link.is-active{background:var(--sidebar-accent);color:var(--sidebar-foreground);box-shadow:inset 3px 0 var(--accent)}.shell-management{border-top:1px solid var(--sidebar-border);margin-top:20px;padding-top:12px}.shell-management-toggle{width:100%;color:color-mix(in srgb,var(--sidebar-foreground) 65%,transparent);justify-content:space-between;align-items:center;padding:12px;font-size:11px;display:flex}.shell-logout{border:1px solid var(--sidebar-border);border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;gap:10px;min-height:44px;margin:12px;font-size:12px;display:flex}.shell-logout:hover{background:var(--sidebar-accent)}.shell-main{flex:1;min-width:0}.shell-content{outline:none;width:100%;min-width:0;max-width:1600px;margin:auto;padding:clamp(18px,2vw,32px)}.shell-mobile-header,.shell-bottom-nav,.shell-more-rail{display:none}.shell-menu-button{border:1px solid var(--border);border-radius:10px;place-items:center;width:44px;height:44px;display:grid}.shell-drawer{background:var(--sidebar);width:min(340px,92vw);color:var(--sidebar-foreground);flex-direction:column;padding:24px 16px 12px;display:flex}.shell-drawer>p{color:color-mix(in srgb,var(--sidebar-foreground) 60%,transparent);font-size:12px}.shell-drawer-nav{flex:1;min-height:0;margin-top:12px;overflow-y:auto}.shell-skip{z-index:100;background:var(--card);color:var(--foreground);border-radius:8px;padding:12px;position:fixed;top:8px;left:8px;transform:translateY(-200%)}.shell-skip:focus{transform:none}.app-shell a:focus-visible,.app-shell button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}@media(min-width:768px)and (max-width:1199px){.shell-sidebar{flex-basis:76px;width:76px}.shell-brand{padding:24px}.shell-brand-copy,.shell-nav-caption,.shell-sidebar .shell-nav-link span,.shell-management,.shell-sidebar .shell-logout span{display:none}.shell-desktop-nav{padding:14px 10px}.shell-nav-link{justify-content:center;min-height:48px;margin:5px 0;padding:12px}.shell-more-rail{width:100%;margin-top:16px;display:flex}.shell-sidebar .shell-logout{margin:10px}.shell-content{padding:20px}}@media(max-width:767px){.app-shell{display:block}.shell-sidebar{display:none}.shell-mobile-header{z-index:30;min-height:64px;padding:8px 16px;padding-top:calc(8px + env(safe-area-inset-top));background:var(--card);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.shell-content{padding:20px 14px calc(90px + env(safe-area-inset-bottom))}.shell-bottom-nav{z-index:35;border-top:1px solid var(--border);background:var(--card);padding:6px 8px calc(6px + env(safe-area-inset-bottom));grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0}.shell-bottom-nav a{min-height:52px;color:var(--muted-foreground);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:10px;display:flex}.shell-bottom-nav a.is-active{color:var(--foreground);background:var(--secondary)}.shell-bottom-nav a.is-active svg{color:var(--accent)}.shell-content-chat{padding:14px 10px calc(76px + env(safe-area-inset-bottom))}}@media(prefers-reduced-motion:reduce){.app-shell *,.shell-drawer *{scroll-behavior:auto!important;transition:none!important}}.shell-short-label{display:none}@media(min-width:768px)and (max-width:1199px){.shell-sidebar .shell-nav-link{flex-direction:column;gap:4px;min-height:58px;padding:7px 1px}.shell-sidebar .shell-nav-link .shell-short-label{font-size:9px;line-height:1.2;display:block}.shell-drawer .shell-short-label{display:none}}.shell-drawer h2{color:var(--sidebar-foreground)}.shell-drawer-nav{scrollbar-width:none}.shell-drawer-nav::-webkit-scrollbar{display:none}.shell-chat-layout{height:var(--chat-viewport-height,100dvh);min-height:0;overflow:hidden}.shell-chat-layout .shell-main{flex-direction:column;height:100%;min-height:0;display:flex}.shell-content-chat{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}@media(max-width:767px){.shell-chat-layout .shell-mobile-header{min-height:50px;padding-block:4px;padding-top:calc(4px + env(safe-area-inset-top));flex:none}.shell-chat-layout .shell-content-chat{padding:8px 8px calc(70px + env(safe-area-inset-bottom))}.shell-keyboard-open .shell-bottom-nav{display:none}.shell-keyboard-open .shell-content-chat{padding-bottom:4px}.shell-content button[aria-haspopup=menu],.shell-content button[aria-haspopup=dialog],.shell-content button[aria-haspopup=listbox]{min-height:44px}.shell-chat-selected .shell-mobile-header,.shell-chat-selected .shell-bottom-nav{display:none}.shell-chat-selected .shell-content-chat{padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}}
