/* The scene fills the viewport; the menu and page keep independent dimensions. */
html,body{height:100%;overflow:hidden}.reviewbar{min-width:0;height:64px}.reviewbar>span{min-width:0}.stage{width:100%;min-width:0;height:calc(100dvh - 64px);margin:0}.stage:after{bottom:6px;left:12px;font-size:10px;padding:2px 6px}
.ui-workspace{position:absolute;--sidebar-width:224px}.ui-workspace .shell-sidebar{left:0;top:0;width:var(--sidebar-width);height:var(--sidebar-height,100%)}.ui-workspace .shell{width:100%;height:100%}.ui-workspace .identity{max-width:none;right:14px}.ui-workspace .shell-sidebar.collapsed{height:88px}
.ui-workspace .content-shell,.ui-workspace .content-shell.settings-panel{left:calc(var(--sidebar-width) + 24px);top:44px;width:calc(100% - var(--sidebar-width) - 24px);height:calc(100% - 44px)}
.window-zoom{width:30px;height:30px;padding:5px;flex:none;color:#76859a;background:#f5f7fa;border:1px solid #e6eaf0}.window-zoom svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.window-zoom[aria-pressed=true]{color:var(--blue);background:var(--pale)}
.ui-resize{position:absolute;bottom:1px;right:1px;width:22px;height:22px;padding:0;border:0;border-radius:0 0 18px 0;background:transparent;color:#9ca9bd;cursor:nwse-resize;touch-action:none;z-index:3}.ui-resize svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.5;fill:none}.ui-resize:hover,.ui-resize:focus-visible{background:#eaf0fb;color:var(--blue)}.ui-resize[hidden]{display:none}
.sidebar-resize{position:absolute;left:calc(var(--sidebar-width) - 5px);top:100px;bottom:auto;height:calc(var(--sidebar-height) - 120px);width:12px;cursor:col-resize;touch-action:none;z-index:3;outline-offset:2px;border-radius:5px}.sidebar-resize:after{content:'';position:absolute;top:calc(50% - 24px);left:4px;width:3px;height:48px;border-radius:4px;background:#bac5d6;opacity:.65}.sidebar-resize:hover:after,.sidebar-resize:focus-visible:after{background:var(--blue);opacity:1}.sidebar-resize:focus-visible{outline:2px solid #315fe960}
.ui-workspace:has(#panel[hidden]) .ui-resize,.ui-workspace:has(.shell-sidebar.collapsed) .sidebar-resize{display:none}.ui-workspace.resizing{user-select:none}.ui-workspace .prototype-toast{left:calc(var(--sidebar-width) + 40px);top:auto;bottom:58px;max-width:calc(100% - var(--sidebar-width) - 64px)}.ui-workspace .panel-footer{padding-right:30px}
/* Reserve the detail heading and tabs before sizing the single call-record scroller. */
.content-shell .library-detail:has(>.embedded-calls){display:flex;flex-direction:column;overflow:hidden;min-height:0}
.content-shell .library-detail:has(>.embedded-calls)>:not(.embedded-calls){flex:none}
.content-shell .library-detail>.embedded-calls{height:auto;min-height:0;flex:1}
.content-shell .project-calls{flex:1;min-height:0}.content-shell .project-calls .call-pane{flex:1}.content-shell .project-calls .logs-workspace{flex:1;min-height:0}.content-shell .archive-standards{min-height:0}
@media(max-width:1050px){.reviewbar{gap:12px;padding:0 18px}.reviewbar>span{display:none}.ui-workspace .panel-header{padding-left:20px;padding-right:20px}.heading-line{gap:8px}.heading-line .inline-description{font-size:11px!important}.heading-line .heading-actions{gap:5px}.heading-line .heading-actions button{padding-left:8px;padding-right:8px}}

/* The avatar folds the complete 2D workspace and closes its pages. */
.ui-workspace:has(.shell-sidebar.collapsed)>:not(.shell-sidebar){display:none!important}
.ui-workspace:has(.shell-sidebar.collapsed){pointer-events:none}
.ui-workspace .shell-sidebar.collapsed .avatar-toggle{pointer-events:auto}

/* Keep the profile photo circular when the menu opens. The menu surface now
   begins below it instead of growing a rectangular shelf from its right edge. */
.ui-workspace .shell-sidebar:not(.collapsed) .avatar-toggle{box-shadow:0 0 0 5px #fafbfc,0 10px 24px #252c3926,inset 0 0 0 1px #ffffffc0}
.ui-workspace .shell-sidebar:not(.collapsed) .identity{top:106px;left:16px;right:16px;display:flex;align-items:baseline;gap:8px}
.ui-workspace .shell-sidebar:not(.collapsed) .identity small{display:inline}
.ui-workspace .shell-sidebar:not(.collapsed) .side-body{top:142px}
.ui-workspace .avatar-toggle:focus-visible,#dialog-avatar:focus-visible{outline:0;box-shadow:0 0 0 3px #315fe960,0 0 0 7px #fafbfc,0 10px 24px #252c3926}

#dialog-avatar{position:fixed;inset:auto;margin:0;padding:0;border:0;width:72px;height:72px;color:#788eaf;box-shadow:0 0 0 8px #fafbfc,0 12px 28px #252c3933}

/* The bottom handle changes the menu height independently of the content panel. */
.ui-workspace .side-body{bottom:22px}
.sidebar-height-resize{position:absolute;left:calc(50% - 24px);bottom:0;width:48px;height:18px;padding:0;border:0;background:transparent;color:#9ca9bd;cursor:ns-resize;touch-action:none;display:grid;place-items:center;z-index:3}
.sidebar-height-resize span{width:28px;height:3px;border-radius:3px;background:currentColor}
.sidebar-height-resize:hover,.sidebar-height-resize:focus-visible{background:#eaf0fb;color:var(--blue)}
.shell-sidebar.collapsed .sidebar-height-resize{display:none}
