.ow-workbench{min-width:0;display:block!important}.ow-shell{min-width:0}.ow-store[hidden]{display:none!important}.ow-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0 0 16px}.ow-stats button{--ow-color:#a32d59;--ow-fill:#fff0f5;display:flex;align-items:center;gap:12px;padding:14px 12px;min-width:0;background:var(--ow-fill);border:1px solid color-mix(in srgb,var(--ow-color) 20%,white);border-radius:9px;color:var(--text);text-align:left;font:inherit;cursor:pointer}.ow-stats button:nth-child(2){--ow-color:#a96a04;--ow-fill:#fff6e6}.ow-stats button:nth-child(3){--ow-color:#2572b8;--ow-fill:#edf6ff}.ow-stats button:nth-child(4){--ow-color:#168365;--ow-fill:#eaf8f2}.ow-stats button:nth-child(5){--ow-color:#7750bb;--ow-fill:#f4efff}.ow-stats button:nth-child(6){--ow-color:#b94040;--ow-fill:#fff1ee}.ow-stats button[aria-pressed=true]{outline:2px solid var(--ow-color);outline-offset:1px}.ow-stats i{display:flex;flex-shrink:0;color:var(--ow-color)}.ow-stats i svg{width:48px;height:48px}.ow-stats b{display:block;font-size:24px;line-height:1.3;color:var(--ow-color);font-variant-numeric:tabular-nums}.ow-stats span{font-size:13px}.ow-stats small{display:block;font-size:12px;color:#6d5960}.ow-toolbar,.ow-tools,.ow-tabs,.ow-filters,.ow-pagination,.ow-pagination>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ow-toolbar{justify-content:space-between;margin-bottom:12px}.ow-tabs{gap:0;flex-shrink:0}.ow-tabs button{height:40px;min-width:112px;border:1px solid var(--line);background:#fcf1f4;color:var(--text);font-family:inherit;font-size:14px;font-weight:600;padding:8px 16px}.ow-tabs button:first-child{border-radius:7px 0 0 7px}.ow-tabs button:last-child{border-radius:0 7px 7px 0}.ow-tabs button.active{background:var(--brand);color:#fff;border-color:var(--brand)}.ow-main{display:grid;grid-template-columns:230px minmax(0,1fr);gap:12px;min-width:0}.ow-tree,.ow-list-panel{min-width:0}.ow-tree>.system-org-tree{height:100%;margin:0}.ow-tree>.system-org-tree header p{display:none}.ow-tree .system-org-tree-row{cursor:pointer}.ow-tree .system-org-tree-row.active{background:#f8e9ee}.ow-list-panel{border:1px solid var(--line);border-radius:9px;background:var(--panel);overflow:hidden}.ow-list-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px}.ow-list-panel>header label{display:flex;align-items:center;gap:5px;font-size:12px;color:#6d5960}.ow-filters{padding:0 14px 8px}.ow-filters input{flex:1;min-width:150px}.ow-workbench input,.ow-workbench select,.ow-workbench textarea{font-family:inherit;font-size:13px}.ow-filters input,.ow-filters select{height:36px;border:1px solid var(--line);border-radius:7px;padding:7px;background:var(--panel);color:var(--text)}.ow-filter-bar{display:flex;align-items:center;gap:8px;min-height:12px;padding:0 14px 8px;font-size:12px;color:var(--brand)}.ow-list{overflow-x:auto;min-width:0}.ow-list table{border-collapse:collapse;width:100%;font-size:13px}.ow-list th{font-size:12px;font-weight:400;background:#fbf7f8;color:#6d5960;white-space:nowrap}.ow-list td,.ow-list th{border-bottom:1px solid var(--line);padding:12px 10px;text-align:left;vertical-align:middle}.ow-list td small{display:block;color:#6d5960;font-size:12px;overflow-wrap:anywhere}.ow-list td{overflow-wrap:anywhere}.ow-badge{display:inline-block;background:#fcf1f4;color:var(--brand);padding:3px 6px;border-radius:5px;font-size:12px}.ow-row-actions{display:grid;grid-template-columns:repeat(3,max-content);gap:5px}.ow-row-actions button{min-height:30px;padding:4px 7px;font-size:12px;border-radius:6px;white-space:nowrap}.ow-pagination{justify-content:space-between;padding:12px 14px;color:#6d5960;font-size:12px}.ow-summary-error{color:#b42318}.ow-summary-error:empty{display:none}.ow-workbench button:focus-visible,.ow-workbench input:focus-visible,.ow-workbench select:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.ow-workbench button:disabled{opacity:.55;cursor:not-allowed}
body.ow-dialog-open{overflow:hidden}.ow-overlay{position:fixed;inset:0;background:rgba(64,39,44,.28);z-index:90;display:flex;justify-content:center;align-items:center;padding:16px}.ow-dialog{width:1080px;max-width:100%;max-height:calc(100dvh - 32px);display:flex;flex-direction:column;border:1px solid var(--line);border-radius:8px;background:var(--panel);box-shadow:var(--shadow);min-width:0}.ow-dialog>header,.ow-dialog>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;flex-shrink:0}.ow-dialog>header{border-bottom:1px solid var(--line)}.ow-dialog>footer{justify-content:flex-end;border-top:1px solid var(--line)}.ow-dialog h2{margin:0;font-size:18px}.ow-content{padding:16px 18px;overflow:auto;min-height:0}.ow-content .panel,.ow-content .system-settings-card{box-shadow:none;margin:0;max-width:none;width:100%;min-width:0}.ow-content .system-admin-form{display:block}.ow-content .system-admin-form>.field{margin:12px 0}.ow-content .system-admin-form>.system-account-fields{margin:12px 0}.ow-content .system-admin-form>header{padding:0 0 12px}.ow-content .system-account-actions{display:flex;flex-wrap:wrap;gap:8px}.ow-content .system-permission-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.ow-content .system-company-onboarding-form{max-width:720px}.ow-content .system-company-onboarding-form>header h2{display:none}.ow-content .system-company-onboarding-form>header p{font-size:12px}.ow-company{display:flex;justify-content:space-between;gap:8px;padding:12px;margin-bottom:12px;background:#fcf1f4}.ow-content #systemEmployeeAccountForm:not(.ow-profile)>label:first-of-type,.ow-content #systemEmployeeAccountForm:not(.ow-profile)>.system-account-fields,.ow-content #systemEmployeeAccountForm:not(.ow-profile)>label:has(#systemEmployeeEditPosition){display:none}.ow-content #systemEmployeeAccountForm.ow-profile>label:has(#systemEmployeeEditUsername),.ow-content #systemEmployeeAccountForm.ow-profile>label:has(#systemEmployeeEditStatus),.ow-content #systemEmployeeAccountForm.ow-profile>.system-permission-summary,.ow-content #systemEmployeeAccountForm.ow-profile .system-account-actions>button:not([type=submit]){display:none}.ow-content .system-data-scope-card{display:none}.ow-scope-detail{overflow:auto}.ow-scope-detail table{width:100%;border-collapse:collapse;font-size:13px}.ow-scope-detail td,.ow-scope-detail th{padding:10px;vertical-align:top}.ow-scope-detail .scope-actions>div{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px}.ow-scope-detail .scope-actions select{max-width:240px}.ow-request-tools{display:flex;gap:8px;justify-content:flex-end;margin-bottom:12px}.ow-content #employeeAccountRequestsMount:has(.ea-overlay)>.ea-board{display:none}.ow-content .ea-board header p{font-size:12px}.ow-request-form .field{margin:12px 0}.ow-request-form [role=alert]{color:#b42318}.ow-content .permission-editor{padding:0}.ow-permission .pe-header,.ow-permission .pe-tabs,.ow-permission .pe-search,.ow-permission .permission-editor>.pe-selectors{display:none}.ow-permission-body{display:grid;grid-template-columns:1.1fr 1fr;gap:16px;align-items:start}.ow-permission-body .pe-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ow-permission-body .pe-operations{margin:0}.ow-permission-body .pe-action-list{grid-template-columns:repeat(2,minmax(0,1fr))}.ow-permission-body .pe-module-title i svg{width:22px;height:22px}.ow-workbench>.managed-platform-modal{z-index:95}.ow-content .system-role-matrix .table-wrap{max-height:none}.ow-content .system-org-tree{max-width:none;margin-bottom:12px}
@media(max-width:1450px){.ow-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1000px){.ow-main{grid-template-columns:200px minmax(0,1fr)}.ow-permission-body{grid-template-columns:1fr}.ow-stats i svg{width:44px;height:44px}.ow-tools{flex-wrap:wrap}.ow-row-actions{grid-template-columns:repeat(3,max-content)}}@media(max-width:650px){.ow-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ow-main{grid-template-columns:minmax(0,1fr)}.ow-tree .system-org-tree-list{max-height:200px;overflow:auto}.ow-toolbar{align-items:flex-start}.ow-tools{gap:6px}.ow-tools button{min-height:36px;padding:6px 8px;font-size:12px}.ow-overlay{padding:8px}.ow-dialog{max-height:calc(100dvh - 16px)}.ow-dialog>header,.ow-dialog>footer,.ow-content{padding:12px}.ow-content .system-permission-summary{grid-template-columns:repeat(2,1fr)}.ow-content .system-account-fields{grid-template-columns:1fr}.ow-stats button{padding:12px 8px;gap:8px}.ow-stats i svg{width:40px;height:40px}.ow-stats small{font-size:12px}.ow-list-panel>header{flex-wrap:wrap}}

.ow-dialog .ow-permission .permission-editor>.pe-header,.ow-dialog .ow-permission .permission-editor>.pe-tabs,.ow-dialog .ow-permission .permission-editor>.pe-search,.ow-dialog .ow-permission .permission-editor>.pe-selectors{display:none}
.ow-dialog .ow-permission .ow-permission-body .pe-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ow-dialog .ow-permission .ow-permission-body .pe-operations{margin:0}
.ow-dialog .ow-permission .permission-editor{border:0}
.ow-workbench>.ow-native-account>.ea-board{display:none}.ow-overlay[hidden]{display:none}
.ow-workbench>.ow-native-account{position:relative;z-index:100}.ow-workbench>.ow-native-account .ea-overlay{z-index:100}
.ow-workbench [hidden]{display:none!important}

.ow-subject{background:#fcf1f4;padding:12px;border-radius:7px;font-weight:600;margin-bottom:14px;overflow-wrap:anywhere}
.ow-scope-detail table thead{display:none}.ow-scope-detail table,.ow-scope-detail tbody{display:block}.ow-scope-detail tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ow-scope-detail td:nth-child(-n+3){display:none}.ow-scope-detail td{display:block;padding:12px;border:1px solid var(--line);border-radius:7px;min-width:0}.ow-scope-detail td:last-child{grid-column:1/-1;border:0;padding:0}.ow-scope-detail .scope-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ow-scope-detail .scope-actions>div{display:flex;flex-direction:column;align-items:stretch}.ow-scope-detail .scope-actions select{width:100%;max-width:100%}.ow-scope-detail td:nth-child(4):before{content:'店铺 / Shops';display:block;font-weight:600;margin-bottom:8px}.ow-scope-detail td:nth-child(5):before{content:'部门 / Departments';display:block;font-weight:600;margin-bottom:8px}.ow-scope-detail td:nth-child(6):before{content:'仓库 / Warehouses';display:block;font-weight:600;margin-bottom:8px}
@media(max-width:650px){.ow-scope-detail tr,.ow-scope-detail .scope-actions{grid-template-columns:1fr}}

.ow-role-preview-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff4df;color:#80500a;border:1px solid #d7bb82;border-radius:7px;padding:10px 14px;margin-bottom:12px;font-size:13px}.ow-scope-label{display:block;margin-bottom:8px}.ow-scope-detail td:before{content:none!important}.ow-dialog .system-admin-form>header h2{display:none}.ow-profile-error{color:#b42318}

.ow-list-panel>.ow-list table{table-layout:fixed;width:100%}.ow-list-panel>.ow-list th:nth-child(1){width:18%}.ow-list-panel>.ow-list th:nth-child(2){width:12%}.ow-list-panel>.ow-list th:nth-child(3){width:12%}.ow-list-panel>.ow-list th:nth-child(4){width:12%}.ow-list-panel>.ow-list th:nth-child(5){width:16%}.ow-list-panel>.ow-list th:last-child{width:30%}.ow-row-actions{min-width:0;grid-template-columns:repeat(3,minmax(0,1fr))}.ow-row-actions button{padding:4px 5px;min-width:0}.ow-list td b{overflow-wrap:anywhere}.ow-list-panel>.ow-list td{overflow-wrap:anywhere}
@media(max-width:899px){.ow-list-panel>.ow-list table{min-width:740px}}

@media(min-width:900px){.ow-list-panel>.ow-list table{min-width:0}}

.ow-row-actions button{white-space:normal;overflow-wrap:anywhere;line-height:1.3}.ow-english .ow-row-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.ow-english .ow-tools button{white-space:normal}

.ow-permission #permissionEditorMount>.pe-footer{display:none}.ow-permission-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;flex-wrap:wrap}.ow-permission-footer>div{display:flex;gap:8px;flex-wrap:wrap}.ow-permission-footer small{font-size:12px;color:#6d5960}

.ow-permission #permissionEditorMount .pe-alert:has([data-pe=commit]){display:none}.ow-permission-footer p{margin:0;font-size:13px}

/* Toolbar icons share the existing linear SVG style; text and badges remain independent. */
.ow-tools>button{display:inline-flex;align-items:center;justify-content:center;gap:6px}.ow-tools>button>svg{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
