.app-shell.rd-shell,.app-shell.rd-shell .main{background:var(--rd-bg)}.app-shell.rd-sb .sidebar{background:var(--rd-card)!important;border-right-color:var(--rd-line)!important}.app-shell.rd-sb .sidebar .mk-rail{background:var(--rd-card);border-right-color:var(--rd-line)}.app-shell.rd-sb .sidebar .mk-nav[aria-current=page],.app-shell.rd-sb .sidebar .mk-rail-btn[aria-current=page]{background:var(--rd-accent-bg);color:var(--rd-accent);font-weight:700}.app-shell.rd-sb .sidebar .mk-nav:hover,.app-shell.rd-sb .sidebar .mk-rail-btn:hover{background:var(--rd-press);color:var(--rd-ink)}.app-shell.rd-sb .sidebar .mk-nav[aria-current=page]:hover,.app-shell.rd-sb .sidebar .mk-rail-btn[aria-current=page]:hover{background:var(--rd-accent-bg);color:var(--rd-accent)}.app-shell.rd-sb .sidebar .mk-nav-sub[aria-current=page],.app-shell.rd-sb .sidebar .mk-nav-sub[aria-current=page]:hover{background:var(--rd-press);color:var(--rd-ink);font-weight:600}.app-shell.rd-sb .sidebar ::-webkit-scrollbar{width:6px}.app-shell.rd-sb .sidebar ::-webkit-scrollbar-thumb{background:var(--rd-line2);border-radius:3px}.app-shell.rd-sb .sidebar .mk-nav:not(.mk-nav-sub){box-sizing:border-box;min-height:36px;padding-top:0;padding-bottom:0}.app-shell.rd-sb .sidebar .mk-nav-group{font-size:var(--text-xs);color:var(--text-muted);letter-spacing:.04em;margin-top:14px;padding:0 10px 2px}.app-shell.rd-sb .sidebar .mk-recent-toggle{width:22px;height:22px;color:var(--text-muted);cursor:pointer;background:none;border:0;border-radius:6px;justify-content:center;align-items:center;margin-right:-4px;padding:0;display:inline-flex}.app-shell.rd-sb .sidebar .mk-recent-toggle:hover{background:var(--rd-press);color:var(--rd-ink)}.app-shell.rd-sb .sidebar .mk-rail-sep{background:var(--rd-line);width:20px;height:1px;margin:4px 0}.app-shell.rd-shell .rd-me-head,.app-shell.rd-shell .rd-tabbar{display:none}@media (max-width:1024px){.app-shell.rd-shell{--titlebar-height:52px;--rd-tab-h:calc(56px + env(safe-area-inset-bottom, 0px))}.app-shell.rd-shell>.titlebar.rd-topbar{background:var(--rd-card);border-bottom:1px solid var(--rd-line);padding:0 6px 0 8px}.app-shell.rd-shell .rd-topbar .tb-menu-btn{border-radius:var(--rd-r-btn);width:44px;height:44px;color:var(--rd-mute);margin-right:0}.app-shell.rd-shell .rd-topbar .tb-left{min-height:44px;margin-left:2px}.app-shell.rd-shell .rd-topbar-sp{flex:1}.app-shell.rd-shell .rd-topbar-btn{border-radius:var(--rd-r-btn);width:44px;height:44px;color:var(--rd-mute);justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.app-shell.rd-shell .rd-topbar-btn:active{background:var(--rd-press)}.app-shell.rd-shell .rd-tabbar{z-index:42;box-sizing:border-box;padding:4px 8px env(safe-area-inset-bottom,0);height:var(--rd-tab-h);background:var(--rd-card);border-top:1px solid var(--rd-line);display:flex;position:fixed;bottom:0;left:0;right:0}.app-shell.rd-shell .rd-tab{border-radius:var(--rd-r-sm);min-width:0;min-height:48px;color:var(--rd-faint);flex-direction:column;flex:1;justify-content:center;align-items:center;font-size:12px;line-height:1.2;text-decoration:none;display:flex}.app-shell.rd-shell .rd-tab span{margin-top:2px}.app-shell.rd-shell .rd-tab[aria-current=page]{color:var(--rd-accent);font-weight:700}.app-shell.rd-shell .rd-tab:active{background:var(--rd-press)}.app-shell.rd-shell .main{padding-bottom:var(--rd-tab-h)}.app-shell.rd-shell .prd-actbar{bottom:var(--rd-tab-h);padding-bottom:0}.app-shell.rd-shell .chat-root{height:calc(100vh - var(--titlebar-height) - var(--rd-tab-h))}.app-shell.rd-shell .sidebar{z-index:46}}@media (max-width:767px){.app-shell.rd-shell{--titlebar-height:env(safe-area-inset-top,0px)}.app-shell.rd-shell>.titlebar.rd-topbar{display:none}.app-shell.rd-shell .rd-me-head{padding:16px 16px 4px;display:block}.app-shell.rd-shell .rd-me-logo{line-height:0;display:inline-block}.app-shell.rd-shell .rd-me-links{margin-top:14px;display:flex}.app-shell.rd-shell .rd-me-link{border:1px solid var(--rd-line);border-radius:var(--rd-r-btn);background:var(--rd-card);min-width:0;min-height:64px;color:var(--rd-ink);flex-direction:column;flex:1;justify-content:center;align-items:center;margin-right:8px;font-size:13px;text-decoration:none;display:flex}.app-shell.rd-shell .rd-me-link:last-child{margin-right:0}.app-shell.rd-shell .rd-me-link span{margin-top:4px}.app-shell.rd-shell .rd-me-link:active{background:var(--rd-press)}}