body:has(#erp-workspace){height:100dvh;overflow:hidden}body.workspace:has(#erp-workspace) main{height:100dvh;max-width:none;padding:0 16px 12px;display:flex;flex-direction:column;min-width:0}body:has(#erp-workspace) main>.topbar{height:48px;min-height:48px;flex-shrink:0;margin:0;border:0}body:has(#erp-workspace) main>footer,body:has(#erp-workspace) main>#sync-feedback{display:none}#erp-workspace{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}.erp-tab-toolbar{display:flex;gap:8px;align-items:center;background:#f6f8fb;border-bottom:1px solid #e2e8f0;flex-shrink:0;min-height:46px}#erp-tabs{display:flex;gap:6px;overflow-x:auto;min-width:0;flex:1;scrollbar-width:thin;align-items:end;padding:4px 0 0}.erp-tab{display:flex;align-items:center;flex-shrink:0;border:1px solid #e0e6ee;background:#eef2f7;border-radius:9px 9px 0 0;gap:2px;min-height:39px}.erp-tab.is-active{background:#fff;border-bottom-color:#fff;box-shadow:inset 0 3px #ef603b}.erp-tab button{margin:0;border:0;background:none;color:#64748b;padding:10px 8px;font-size:12px;border-radius:5px}.erp-tab button[role=tab]{padding-left:14px}.erp-tab.is-active button[role=tab]{color:#e85531;font-weight:700}.erp-tab button:hover{background:#fff5ef}.erp-tab-count{display:inline-block;margin-left:5px;padding:0 5px;line-height:18px;background:#ed5d42;color:white;border-radius:12px;font-size:10px}.erp-tab-count[hidden]{display:none}.erp-tab-menu{position:relative;flex-shrink:0}.erp-tab-menu summary{list-style:none;padding:6px 12px;border:1px solid #e1e7ef;border-radius:7px;font-size:20px;background:white}.erp-tab-menu>div{position:absolute;right:0;top:100%;z-index:20;width:150px;padding:6px;background:white;border:1px solid #e1e7ef;border-radius:9px;box-shadow:0 6px 24px #20314a22}.erp-tab-menu button{margin:0;display:block;width:100%;background:white;color:#526176;font-size:12px;text-align:left}#erp-tab-panels{position:relative;flex:1;min-height:0;background:#fff;border:1px solid #e2e8f0;border-top:0;border-radius:0 0 10px 10px;overflow:hidden}#erp-tab-panels iframe{border:0;width:100%;height:100%;display:block;background:#f6f8fb}#erp-tab-panels iframe[hidden]{display:none}#erp-tab-empty{padding:80px 20px;text-align:center;color:#7b8798;background:#fff;flex:1}#erp-tab-empty[hidden]{display:none}#erp-tab-feedback{margin:0;padding:6px 12px;background:#fff4dd;font-size:12px;color:#856727}.erp-tab button:focus-visible{outline:2px solid #e85531;outline-offset:-2px}
body.workspace.erp-embedded>.sidebar,body.workspace.erp-embedded main>.topbar,body.workspace.erp-embedded main>footer{display:none!important}body.workspace.erp-embedded main{margin:0!important;max-width:none;padding:20px;min-width:0}body.workspace.erp-embedded:has(.chat-workspace) main{padding:8px;height:100dvh}.erp-embedded .chat-home{display:none!important}
@media(max-width:720px){body:has(#erp-workspace){display:flex;flex-direction:column}body:has(#erp-workspace)>.sidebar{padding:8px 10px;flex-shrink:0}body:has(#erp-workspace)>.sidebar>.brand,body:has(#erp-workspace)>.sidebar>.nav-caption,body:has(#erp-workspace)>.sidebar>.sidebar-bottom{display:none}body:has(#erp-workspace)>.sidebar nav{margin:0;flex-wrap:nowrap;overflow-x:auto;gap:4px}body:has(#erp-workspace)>.sidebar nav a{flex:0 0 auto;padding:8px;font-size:11px}body:has(#erp-workspace)>.sidebar nav a span{display:none}body.workspace:has(#erp-workspace) main{margin:0;padding:0 6px 6px;height:auto;flex:1;min-height:0}body:has(#erp-workspace) main>.topbar{height:34px;min-height:34px;font-size:11px}.erp-tab button{padding:8px 6px}.erp-tab-toolbar{min-height:42px}body.workspace.erp-embedded main{padding:12px}body.workspace.erp-embedded:has(.chat-workspace) main{padding:4px}.erp-tab-menu>div{width:140px}}

/* The workspace tab strip is an independent sibling of page content. */
body.workspace:has(#erp-workspace)>.erp-tab-toolbar{margin-left:var(--nav-width,140px);height:46px;min-height:46px;max-height:46px;padding:0 16px;box-sizing:border-box;position:relative;z-index:20}
body.workspace:has(#erp-workspace)>main{height:calc(100dvh - 46px);box-sizing:border-box;padding-top:0}
.erp-tab-toolbar .erp-tab-menu form{margin:0}
@media(max-width:720px){body.workspace:has(#erp-workspace)>.erp-tab-toolbar{margin-left:0;padding:0 6px;flex-shrink:0}body.workspace:has(#erp-workspace)>main{height:auto;min-height:0;flex:1}}
