.workspace-tabs{position:sticky;top:48px;z-index:9;display:flex;align-items:flex-end;gap:3px;min-height:0;padding:2px 10px 0;background:#eef1f5;border-bottom:1px solid #cfd6e1;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
.workspace-tab{position:relative;display:flex;align-items:center;flex:0 0 auto;max-width:260px;height:35px;border:1px solid #cfd6e1;border-bottom:0;border-radius:7px 7px 0 0;background:#e4e8ee;color:#526075}
.workspace-tab:hover{background:#f7f8fa;color:#2f3c50}
.workspace-tab.active{background:#fff;color:#172235;box-shadow:inset 0 3px 0 var(--brand)}
.workspace-tab.error{color:#9f2f2f}
.workspace-tab.loading .workspace-tab-text::after{content:"…"}
.workspace-tab-label{display:flex;align-items:center;min-width:0;height:100%;padding:0 11px;border:0;background:transparent;color:inherit;cursor:pointer}
.workspace-tab-label:focus-visible,.workspace-tab-close:focus-visible{outline:2px solid #b96516;outline-offset:-2px}
.workspace-tab-text{display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600}
.workspace-tab-close{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;margin-right:2px;border:0;border-radius:5px;background:transparent;color:#778398;cursor:pointer;font-size:18px;line-height:1}
.workspace-tab-close:hover{background:#e3e7ed;color:#9f2f2f}
.workspace-tab-home .workspace-tab-text{max-width:none}
.workspace-tab-frames{display:none;position:relative;flex:1;min-height:0;background:#fff}
.workspace-unit-frame{display:block;width:100%;height:100%;border:0;background:#fff}
.workspace-unit-frame[hidden]{display:none}
body.workspace-tab-active{overflow:hidden}
body.workspace-tab-active .shell{height:100vh;min-height:0}
body.workspace-tab-active .workspace{display:flex;flex-direction:column;height:100vh;min-width:0;overflow:hidden}
body.workspace-tab-active .topbar{position:relative;top:auto;flex:0 0 auto;height:auto;min-height:0;padding-top:6px;padding-bottom:6px}
body.workspace-tab-active .workspace-tabs{position:relative;top:auto;flex:0 0 42px;width:100%}
body.workspace-tab-active #view{display:none}
body.workspace-tab-active .workspace-tab-frames{display:block}
body.workspace-tab-active .top-actions .search,body.workspace-tab-active #moduleBack{display:none!important}
body.workspace-page .rail{display:none}
body.workspace-page .workspace{margin-left:0;width:100%;min-width:0}
body.workspace-page .topbar{height:auto;min-height:0;padding:6px 18px}
body.workspace-page #view{padding:16px 18px 32px}
.workspace-page-badge{display:inline-flex;align-items:center;height:28px;padding:0 9px;border:1px solid #e8d2b5;border-radius:999px;background:#fff8ee;color:#93540f;font-size:11px;font-weight:700;white-space:nowrap}
.workspace-home{white-space:nowrap}
body.workspace-page .drawer{inset:0!important;width:100vw!important;max-width:none!important;box-shadow:none;transform:translateX(102%)}
body.workspace-page .drawer.open{transform:translateX(0)}
body.workspace-page .drawer-head{min-height:64px;padding:12px 18px}
body.workspace-page .drawer-head-actions .drawer-back{width:auto!important;min-width:104px;white-space:nowrap}
body.workspace-page .drawer-body{padding:14px 16px 24px}
body.workspace-page .backdrop{display:none!important}
body.workspace-page .data-table{width:100%;min-width:0}
body.workspace-page .receipt-sheet,body.workspace-page .sale-code-picker table,body.workspace-page .inventory-code-sheet table{width:100%;min-width:0;table-layout:fixed}
body.workspace-page .receipt-sheet select,body.workspace-page .receipt-sheet input{min-width:0}
body.workspace-page .receipt-sheet th,body.workspace-page .receipt-sheet td{padding-inline:3px;overflow:hidden;text-overflow:ellipsis}
body.workspace-page .receipt-sheet .weight-cell{min-width:0}
body.workspace-page .receipt-sheet .receipt-product-cell select{min-width:0}
body.workspace-page .sale-roll-quantity,body.workspace-page .inventory-code-sheet .roll-quantity{min-width:0}
body.workspace-page .table-wrap{max-width:100%}
body.workspace-page.workspace-embedded{min-height:100vh;background:#fff}
body.workspace-page.workspace-embedded .shell{min-height:100vh}
body.workspace-page.workspace-embedded .topbar,body.workspace-page.workspace-embedded .workspace-tabs,body.workspace-page.workspace-embedded .workspace-tab-frames{display:none!important}
body.workspace-page.workspace-embedded #view{padding:12px 14px 24px}
body.workspace-page.workspace-embedded .drawer-head-actions .drawer-back{display:none}
@media(max-width:900px){.workspace-tabs{padding-inline:6px}.workspace-tab{max-width:210px}.workspace-tab-text{max-width:145px}body.workspace-page .workspace-page-badge{display:none}body.workspace-page .topbar{padding-inline:10px}body.workspace-page #view,body.workspace-page .drawer-body{padding-inline:10px}}
@media print{.workspace-tabs,.workspace-tab-frames{display:none!important}}
.workspace-tabbar{position:sticky;top:48px;align-items:flex-end;z-index:12;display:flex;min-width:0;background:var(--color-moon-white,#f2f6f3);border-bottom:1px solid var(--color-border-strong,#c5d9ca)}
.workspace-tabbar .workspace-tabs,body.workspace-tab-active .workspace-tabbar .workspace-tabs{position:static;flex:1 1 0;min-width:0;width:auto;border-bottom:0;flex-wrap:nowrap}
body.workspace-tab-active .workspace-tabbar{position:relative;top:auto;flex:0 0 auto}
.workspace-opened-button{flex:0 0 auto;margin:2px 6px;align-self:center;border:1px solid var(--color-border-strong,#c5d9ca);border-radius:5px;padding:4px 12px;background:var(--color-surface,#fff);color:var(--color-text,#294b3b);cursor:pointer}
.workspace-breadcrumb{flex:0 0 auto;padding:2px 16px;line-height:1.35;font-size:12px;background:var(--color-moon-white,#f2f6f3);color:var(--color-text-secondary,#60776b);overflow-wrap:anywhere}
.workspace-breadcrumb button{border:0;padding:0;background:none;color:var(--color-dai-blue,#365c4b);font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.workspace-breadcrumb[hidden],.workspace-opened-panel[hidden]{display:none}
.workspace-opened-panel{position:absolute;right:6px;top:100%;width:min(420px,calc(100vw - 90px));max-height:70vh;overflow:auto;padding:14px;border:1px solid var(--color-border-strong,#c5d9ca);border-radius:6px;background:var(--color-surface,#fff);color:var(--color-text,#294b3b)}
.workspace-opened-panel input{width:100%;min-width:0;padding:9px;border:1px solid var(--color-border-strong,#c5d9ca);border-radius:4px}
.workspace-opened-controls{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0;border-bottom:1px solid var(--color-border-strong,#c5d9ca)}
.workspace-opened-controls button{padding:5px 8px;border:1px solid var(--color-border-strong,#c5d9ca);border-radius:4px;background:transparent;color:inherit;cursor:pointer}
.workspace-opened-results h3{font-size:12px;color:var(--color-text-secondary,#60776b);margin:14px 0 5px}
.workspace-opened-results>button{display:block;width:100%;text-align:left;padding:10px 8px;border:0;border-radius:4px;background:transparent;color:inherit;overflow-wrap:anywhere;cursor:pointer}
.workspace-opened-results>button:hover,.workspace-opened-results>button.selected{background:var(--color-hover,#e9f2ec)}
.workspace-tab.dirty .workspace-tab-text::before{content:'● ';color:#a06414}
.workspace-tab:not(.active) .workspace-tab-text{font-weight:400}
.workspace-customer-menu .btn{margin:8px}
body.workspace-page.workspace-embedded #trialLicenseBanner{display:none!important}
@media(max-width:820px){.workspace-opened-button{padding:4px 8px;font-size:12px}.workspace-tabbar{top:48px}.workspace-breadcrumb{padding:2px 10px}}
@media print{.workspace-tabbar,.workspace-breadcrumb{display:none!important}}
