#ty_workspace_shell{
    position:fixed;
    left:220px;
    right:0;
    top:60px;
    bottom:0;
    min-width:0;
    background:#f4f7fb;
    overflow:hidden;
    transition:left .2s ease;
    box-sizing:border-box;
}
#ty_workspace_tabs_bar{
    position:absolute;
    left:0;
    right:0;
    top:0;
    height:44px;
    display:flex;
    align-items:stretch;
    background:#ffffff;
    border-bottom:1px solid #dbe2ea;
    box-sizing:border-box;
    z-index:3;
}
#ty_workspace_tabs_viewport{
    flex:1;
    min-width:0;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
}
#ty_workspace_tabs_viewport::-webkit-scrollbar{display:none;}
#ty_workspace_tabs{
    display:flex;
    width:max-content;
    min-width:100%;
    height:43px;
    align-items:stretch;
}
.ty-workspace-tab{
    display:flex;
    width:176px;
    min-width:146px;
    max-width:210px;
    height:43px;
    align-items:center;
    border-right:1px solid #e5e7eb;
    background:#f8fafc;
    color:#64748b;
    box-sizing:border-box;
}
.ty-workspace-tab.active{
    position:relative;
    background:#ffffff;
    color:#0f172a;
}
.ty-workspace-tab.active:after{
    content:'';
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:3px;
    background:#2563eb;
}
.ty-workspace-tab-label{
    flex:1;
    min-width:0;
    height:43px;
    padding:0 6px 0 14px;
    border:0;
    background:transparent;
    color:inherit;
    text-align:left;
    font-size:13px;
    font-family:Arial,'Microsoft YaHei',sans-serif;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    cursor:pointer;
}
.ty-workspace-tab-close{
    display:inline-flex;
    width:30px;
    height:30px;
    margin-right:5px;
    padding:0;
    border:0;
    border-radius:5px;
    background:transparent;
    color:#94a3b8;
    align-items:center;
    justify-content:center;
    font-size:18px;
    line-height:1;
    cursor:pointer;
}
.ty-workspace-tab-close:hover{background:#e5e7eb;color:#334155;}
.ty-workspace-icon-button{
    width:36px;
    min-width:36px;
    height:43px;
    padding:0;
    border:0;
    background:#ffffff;
    color:#64748b;
    font-size:23px;
    line-height:43px;
    cursor:pointer;
}
.ty-workspace-icon-button:first-child{border-right:1px solid #e5e7eb;}
.ty-workspace-icon-button:last-child{border-left:1px solid #e5e7eb;}
.ty-workspace-icon-button:hover{background:#f1f5f9;color:#0f172a;}
#ty_workspace_content{
    position:absolute;
    left:0;
    right:0;
    top:44px;
    bottom:0;
    overflow:hidden;
    background:#f4f7fb;
}
.ty-workspace-frame{
    display:none;
    width:100%;
    height:100%;
    border:0;
    background:#f4f7fb;
}
.ty-workspace-frame.active{display:block;}
#ty_workspace_empty{
    position:absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#94a3b8;
    font-size:14px;
}
#ty_workspace_loading{
    position:absolute;
    left:50%;
    top:50%;
    display:none;
    min-width:150px;
    height:48px;
    margin:-24px 0 0 -75px;
    padding:0 16px;
    border:1px solid #dbe2ea;
    border-radius:6px;
    background:rgba(255,255,255,.96);
    box-shadow:0 8px 24px rgba(15,23,42,.10);
    color:#475569;
    align-items:center;
    justify-content:center;
    gap:10px;
    font-size:13px;
    z-index:4;
    box-sizing:border-box;
}
.ty-workspace-spinner{
    display:inline-block;
    width:18px;
    height:18px;
    border:2px solid #cbd5e1;
    border-top-color:#2563eb;
    border-radius:50%;
    animation:tyWorkspaceSpin .75s linear infinite;
    box-sizing:border-box;
}
@keyframes tyWorkspaceSpin{to{transform:rotate(360deg);}}
@media (max-width:900px){
    .ty-workspace-tab{width:150px;min-width:126px;}
}
