/* ERP workspace uses the native theme page template and header. */
.wbx-erp-shell.wbx { --wbx-ink:#233249;--wbx-accent:#344159;--wbx-border:#dfe5ec;--wbx-red:#d32b36; --wbx-top:70px; margin:0!important;padding:0!important;width:100%!important;max-width:none!important;min-height:100vh;display:block!important;overflow:visible!important;background:#f4f6f9;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;font-size:14px;line-height:1.55;color:var(--wbx-ink); }
.wbx-erp-shell.wbx[dir=rtl]{font-family:Cairo,Tahoma,Arial,sans-serif;text-align:start;}
.wbx-erp-shell *{box-sizing:border-box;}
.wbx-erp-shell a{text-decoration:none;}
.wbx-erp-shell h1,.wbx-erp-shell h2,.wbx-erp-shell h3,.wbx-erp-shell h4{font-family:inherit;letter-spacing:normal;text-transform:none;font-weight:650;color:var(--wbx-ink);}
.wbx-erp-shell h1{font-size:clamp(24px,3vw,32px);line-height:1.25;margin:5px 0 8px;overflow-wrap:anywhere;}
.wbx-erp-shell h3{font-size:18px;}
.wbx-erp-shell h4{font-size:16px;}
.wbx-erp-shell p{margin:0 0 12px;}
.wbx-erp-shell .wbx-icon{display:inline-block;flex:none;vertical-align:middle;}
.wbx-erp-shell .wbx-erp-top{display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;min-height:var(--wbx-top);background:#fff;border-bottom:1px solid var(--wbx-border);padding:12px 26px;position:relative;z-index:5;}
.wbx-top-left,.wbx-top-right{display:flex;align-items:center;gap:16px;min-width:0;}
.wbx-erp-shell .wbx-brand{font-size:27px;line-height:1;letter-spacing:-1px;font-weight:850;color:#344159!important;display:block;white-space:nowrap;}
.wbx-brand>span{color:var(--wbx-red);}.wbx-brand small{display:block;font-size:9px;font-weight:600;letter-spacing:.08em;margin-top:5px;text-transform:uppercase;}
.wbx-erp-shell button,.wbx-erp-shell .wbx-button{font-family:inherit!important;font-size:13px!important;font-weight:650!important;line-height:1.4!important;letter-spacing:normal!important;text-transform:none!important;border-radius:7px!important;min-height:38px;height:auto!important;box-shadow:none!important;background:#344159!important;color:white!important;border:1px solid #344159!important;white-space:normal;}
.wbx-erp-shell button:hover,.wbx-erp-shell .wbx-button:hover{background:#263247!important;border-color:#263247!important;}
.wbx-erp-shell button.wbx-secondary{background:#fff!important;color:#344159!important;}
.wbx-erp-shell .wbx-toggle{display:inline-flex;align-items:center;justify-content:center;padding:7px!important;min-width:40px;background:white!important;color:#344159!important;border:1px solid var(--wbx-border)!important;}
.wbx-erp-shell .wbx-toggle[hidden]{display:none!important;}
.wbx .wbx-language form{display:flex;align-items:center;gap:5px;margin:0;padding:0;}
.wbx .wbx-language button{background:#fff;color:var(--wbx-accent);border:1px solid var(--wbx-border);padding:6px 11px;font-size:12px;font-weight:600;line-height:1.35;letter-spacing:normal;text-transform:none;min-height:32px;}
.wbx .wbx-language button[aria-pressed=true]{background:var(--wbx-accent);color:#fff;}
.wbx-erp-shell .wbx-language{margin:0;gap:4px;}
.wbx-erp-shell .wbx-language button{background:white!important;color:#344159!important;border:1px solid var(--wbx-border)!important;padding:6px 11px!important;min-height:32px;font-size:12px!important;}
.wbx-erp-shell .wbx-language button[aria-pressed=true]{background:#344159!important;color:white!important;}
.wbx-user-menu{position:relative;margin:0!important;}.wbx-user-menu summary{display:flex;gap:8px;align-items:center;cursor:pointer;list-style:none;color:#344159!important;}.wbx-user-menu summary::-webkit-details-marker{display:none;}.wbx-avatar{display:grid;place-items:center;width:35px;height:35px;background:#e9edf3;border-radius:50%;}.wbx-avatar svg{width:18px;height:18px;}.wbx-user-menu summary>svg{width:15px;height:15px;}.wbx-user-name{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;}.wbx-user-dropdown{position:absolute;inset-inline-end:0;top:calc(100% + 12px);width:min(260px,85vw);background:white;border:1px solid var(--wbx-border);border-radius:10px;padding:14px;box-shadow:0 10px 35px #182c4126;z-index:8;}.wbx-user-dropdown>strong,.wbx-user-dropdown>small{display:block;overflow-wrap:anywhere;}.wbx-user-dropdown>small{color:#6a7788;margin-bottom:12px;}.wbx-user-dropdown a{display:flex;align-items:center;gap:9px;padding:9px 5px;color:#344159;}.wbx-user-dropdown a svg{width:18px;height:18px;}
.wbx-erp-shell .wbx-erp-layout{display:grid!important;grid-template-columns:255px minmax(0,1fr);min-height:calc(100vh - var(--wbx-top));align-items:stretch;overflow:visible!important;}
.wbx-erp-sidebar{background:#343f56;color:#fff;min-width:0;padding:23px 14px;display:flex;flex-direction:column;gap:24px;}
.wbx-company{display:flex;align-items:center;gap:12px;padding:0 6px 19px;border-bottom:1px solid #ffffff24;min-width:0;}.wbx-company-avatar{width:40px;height:40px;display:grid;place-items:center;background:#ffffff16;border:1px solid #ffffff26;border-radius:9px;flex:none;}.wbx-company-avatar svg{width:21px;height:21px;}.wbx-company strong,.wbx-company small{display:block;overflow-wrap:anywhere;}.wbx-company strong{font-size:15px;line-height:1.35;color:#fff;}.wbx-company small{font-size:11px;color:#c6d0e0;line-height:1.4;margin-top:4px;}
.wbx-erp-sidebar nav{display:flex;flex-direction:column;gap:4px;}.wbx-nav-label{display:block;padding:10px 10px 5px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#bdc8d9;font-weight:700;}.wbx-erp-sidebar nav a{display:flex;gap:11px;align-items:center;padding:11px 10px;border-radius:7px;min-height:42px;color:#e8edf6!important;font-size:13px;line-height:1.35;}.wbx-erp-sidebar nav a:hover{background:#ffffff12;}.wbx-erp-sidebar nav a.wbx-selected{background:#ffffff17;color:#fff!important;box-shadow:inset 3px 0 #f05a64;}.wbx-erp-shell[dir=rtl] .wbx-erp-sidebar nav a.wbx-selected{box-shadow:inset -3px 0 #f05a64;}.wbx-erp-sidebar nav a svg{width:20px;height:20px;}.wbx-sidebar-foot{margin-top:auto;color:#c6d0e0;font-size:10px;padding:12px 10px;}
.wbx-erp-shell .wbx-erp-main{padding:30px clamp(16px,3vw,44px);min-width:0;width:100%;max-width:none;overflow:visible!important;background:#f4f6f9;}
.wbx-page-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:25px;}.wbx-page-heading p{color:#657287;margin:0;}.wbx-kicker{font-size:11px;color:#6d7a8c;overflow-wrap:anywhere;}.wbx-subscription{border:1px solid #d5dce6;border-radius:30px;background:#fff;padding:6px 12px;font-size:12px;font-weight:650;}.wbx-status-active{color:#176442;background:#e8f5ee;border-color:#cce6d8;}.wbx-status-pending,.wbx-status-expired,.wbx-status-suspended{color:#8b4b0e;background:#fff5e7;border-color:#f1ddc4;}
/* Explicit grid geometry prevents Impreza card and section height rules from clipping later rows. */
.wbx-erp-shell .wbx-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));grid-auto-rows:auto!important;height:auto!important;max-height:none!important;overflow:visible!important;align-items:stretch;gap:18px;margin:0 0 20px;}
.wbx-erp-shell .wbx-card{display:block;position:relative!important;float:none!important;width:auto!important;min-width:0;height:auto!important;max-height:none!important;overflow:visible!important;margin:0 0 18px;padding:22px;background:#fff;border:1px solid var(--wbx-border);border-radius:12px;box-shadow:0 2px 7px #23324906;}
.wbx-erp-shell .wbx-grid>.wbx-card{display:flex!important;flex-direction:column;align-items:stretch;gap:8px;margin:0!important;}
.wbx-erp-shell .wbx-dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));}
.wbx-erp-shell .wbx-module-card{min-height:224px;--module-color:#344159;--module-bg:#edf0f5;}
.wbx-erp-shell .wbx-module-accounting{--module-color:#23774f;--module-bg:#e8f5ee;}.wbx-erp-shell .wbx-module-crm{--module-color:#2563a5;--module-bg:#e8f1fc;}.wbx-erp-shell .wbx-module-hr{--module-color:#7644a8;--module-bg:#f1eafb;}.wbx-erp-shell .wbx-module-fleet{--module-color:#a66216;--module-bg:#fff1df;}.wbx-erp-shell .wbx-module-services{--module-color:#147d80;--module-bg:#e6f5f4;}
.wbx-module-icon{width:44px;height:44px;display:grid;place-items:center;background:var(--module-bg);color:var(--module-color);border-radius:10px;margin-bottom:5px;}.wbx-erp-shell .wbx-module-card h3{margin:0;overflow-wrap:anywhere;}.wbx-erp-shell .wbx-module-card .wbx-price{font-size:21px;color:var(--module-color);margin:0;}.wbx-erp-shell .wbx-module-card>p:not(.wbx-price){font-size:12px;color:#647388;margin:0 0 8px;}.wbx-erp-shell .wbx-module-card .wbx-button{display:flex;align-items:center;justify-content:space-between;margin-top:auto;width:100%;background:#fff!important;color:#344159!important;border:1px solid var(--wbx-border)!important;}.wbx-module-card .wbx-button svg{width:16px;height:16px;}.wbx-erp-shell[dir=rtl] .wbx-module-card .wbx-button svg{transform:scaleX(-1);}
.wbx-erp-shell .wbx-profile-grid,.wbx-erp-shell .wbx-fields,.wbx-erp-shell .wbx-erp-fields{min-width:0;}.wbx-erp-shell .wbx-scroll{max-width:100%;overflow-x:auto!important;}.wbx-erp-shell input:not([type=checkbox]):not([type=hidden]),.wbx-erp-shell select,.wbx-erp-shell textarea{max-width:100%;width:100%;min-width:0;box-shadow:none;font-family:inherit;}.wbx-erp-shell label{min-width:0;}.wbx-erp-shell .wbx-permissions{grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr));}.wbx-erp-shell .wbx-entry{max-width:650px;margin:70px auto;padding:20px;}.wbx-entry-actions{display:flex;gap:10px;flex-wrap:wrap;}
.wbx-erp-shell.wbx-collapsed .wbx-erp-layout{grid-template-columns:72px minmax(0,1fr);}.wbx-collapsed .wbx-erp-sidebar{padding:20px 9px;}.wbx-collapsed .wbx-erp-sidebar .wbx-company{justify-content:center;padding-inline:0;}.wbx-collapsed .wbx-erp-sidebar .wbx-company>div,.wbx-collapsed .wbx-erp-sidebar .wbx-nav-label,.wbx-collapsed .wbx-erp-sidebar .wbx-sidebar-foot{display:none;}.wbx-collapsed .wbx-erp-sidebar nav a{justify-content:center;padding:11px 6px;}.wbx-collapsed .wbx-erp-sidebar nav a>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
@media(max-width:820px){.wbx-erp-shell .wbx-erp-layout,.wbx-erp-shell.wbx-collapsed .wbx-erp-layout{grid-template-columns:minmax(0,1fr);}.wbx-erp-shell.wbx-collapsed .wbx-erp-sidebar{display:none;}.wbx-erp-sidebar{padding:16px;gap:10px;}.wbx-erp-shell .wbx-erp-main{padding:22px 16px;}.wbx-erp-shell .wbx-erp-top{padding:12px 16px;}.wbx-top-right{gap:8px;}.wbx-user-name{display:none;}.wbx-erp-shell .wbx-dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));}}
@media(max-width:480px){.wbx-erp-shell .wbx-erp-top{gap:12px;}.wbx-erp-shell .wbx-brand{font-size:23px;}.wbx-top-left{gap:8px;}.wbx-erp-shell .wbx-card{padding:17px;}.wbx-erp-shell .wbx-grid{grid-template-columns:minmax(0,1fr);}.wbx-erp-shell .wbx-profile-grid,.wbx-erp-shell .wbx-fields{grid-template-columns:1fr;}.wbx-erp-shell .wbx-entry{margin:35px auto;}}

/* Impreza page integration: affect only the registered Business Center, not the site header. */
body.wbx-native-workspace .l-main .l-section:has(.wbx-erp-shell),
body.wbx-native-workspace .l-main .l-section-h:has(.wbx-erp-shell) {
  padding:0!important; margin:0!important; width:100%!important; max-width:none!important;
}
body.wbx-native-workspace .l-main .g-cols:has(.wbx-erp-shell),
body.wbx-native-workspace .l-main .vc_column_container:has(.wbx-erp-shell),
body.wbx-native-workspace .l-main .vc_column-inner:has(.wbx-erp-shell),
body.wbx-native-workspace .l-main .wpb_wrapper:has(.wbx-erp-shell),
body.wbx-native-workspace .l-main .wpb_content_element:has(.wbx-erp-shell) {
  max-width:none!important; width:100%!important; margin:0!important; padding:0!important; min-width:0;
}
body.wbx-native-workspace .l-main .g-cols:has(.wbx-erp-shell) { gap:0!important; }
body.wbx-native-workspace .l-titlebar,
body.wbx-native-workspace .l-footer { display:none!important; }
body.wbx-native-workspace .wbx-erp-shell.wbx { min-height:0; }
body.wbx-native-workspace .wbx-erp-shell .wbx-erp-layout { min-height:calc(100vh - 180px); }
.wbx-erp-shell .wbx-workspace-label { font-size:16px; font-weight:700; color:#344159!important; line-height:1.4; }
.wbx-erp-shell .wbx-language [lang=ar] { font-family:Tahoma,Arial,sans-serif!important; letter-spacing:0!important; text-transform:none!important; }
.wbx-erp-shell .wbx-language button[lang=ar]:not([aria-pressed=true]) { color:#344159!important; -webkit-text-fill-color:#344159; }
.wbx-erp-shell .wbx-language button[lang=ar][aria-pressed=true] { color:#fff!important; -webkit-text-fill-color:#fff; }

/* v0.3.3 Financial workspace — compact and scoped to the ERP shell. */
.wbx-erp-shell .wbx-dash-section{margin:0 0 24px;min-width:0;}
.wbx-erp-shell .wbx-dash-sectionhead{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 12px;}
.wbx-erp-shell .wbx-dash-sectionhead h2,.wbx-erp-shell .wbx-dash-shortcuts h2{font-size:17px!important;line-height:1.35;margin:0 0 4px!important;color:#233249;font-weight:700;}
.wbx-erp-shell .wbx-dash-sectionhead p,.wbx-erp-shell .wbx-dash-muted{font-size:12px;color:#657287;line-height:1.5;margin:0 0 8px!important;}
.wbx-erp-shell .wbx-dash-sectionhead a,.wbx-erp-shell .wbx-dash-open{font-size:12px;font-weight:650;color:#176442!important;}
.wbx-erp-shell .wbx-dash-kpis,.wbx-erp-shell .wbx-dash-two,.wbx-erp-shell .wbx-dash-ops{display:grid!important;gap:14px;align-items:stretch;min-width:0;height:auto!important;max-height:none!important;overflow:visible!important;}
.wbx-erp-shell .wbx-dash-kpis{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));margin-bottom:14px;}
.wbx-erp-shell .wbx-dash-two{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);}
.wbx-erp-shell .wbx-dash-ops{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));}
.wbx-erp-shell .wbx-dash-kpi,.wbx-erp-shell .wbx-dash-panel{display:block!important;position:relative!important;float:none!important;min-width:0;width:auto!important;height:auto!important;max-height:none!important;overflow:visible!important;background:#fff;border:1px solid #dce3eb;border-radius:10px;padding:17px;margin:0!important;box-shadow:0 1px 4px #24354b08;}
.wbx-erp-shell .wbx-dash-kpi{border-top:3px solid #26805b;}
.wbx-erp-shell .wbx-dash-kpi>span,.wbx-erp-shell .wbx-dash-kpi>small{display:block;color:#657287;line-height:1.45;font-size:12px;}
.wbx-erp-shell .wbx-dash-kpi>strong{display:block;font-size:clamp(19px,1.65vw,26px);line-height:1.3;color:#233249;margin:10px 0 7px;overflow-wrap:anywhere;text-align:start;font-variant-numeric:tabular-nums;}
.wbx-erp-shell .wbx-dash-panel h3{font-size:15px!important;line-height:1.45;margin:0 0 6px!important;color:#233249;}
.wbx-erp-shell .wbx-dash-empty{background:#f6f8fa;border:1px dashed #d7dfe8;border-radius:7px;padding:12px;color:#657287;font-size:12px;margin:0 0 12px!important;}
.wbx-erp-shell .wbx-dash-legend{display:flex;gap:18px;font-size:12px;margin:14px 0 8px;}.wbx-dash-legend span{display:flex;align-items:center;gap:7px;}.wbx-dash-legend i{display:inline-block;width:10px;height:10px;border-radius:2px;background:#26805b;}.wbx-dash-legend span:nth-child(2) i{background:#8291a9;}
.wbx-erp-shell .wbx-dash-chart{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;height:auto!important;max-height:none!important;overflow:visible!important;margin:8px 0;}
.wbx-dash-month{min-width:0;text-align:center;}.wbx-dash-bars{height:148px;position:relative;background:linear-gradient(to bottom,transparent 49.5%,#ccd5df 49.5%,#ccd5df 50.5%,transparent 50.5%);}.wbx-dash-bar{position:absolute;display:block;width:27%;border-radius:3px;background:#26805b;inset-inline-start:20%;}.wbx-dash-bar.wbx-dash-expense{background:#8291a9;inset-inline-start:52%;}.wbx-dash-month small{font-size:11px;color:#657287;}.wbx-erp-shell .wbx-dash-chartdata{margin:9px 0 0;font-size:12px;}.wbx-dash-chartdata summary{cursor:pointer;color:#176442;}
.wbx-erp-shell .wbx-dash-pl{margin:8px 0 12px;}.wbx-dash-pl>div,.wbx-dash-stat{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #e7edf2;font-size:13px;}.wbx-dash-pl>div:last-child{background:#eef6f1;border:0;padding:12px 9px;border-radius:6px;margin-top:7px;font-weight:700;}.wbx-dash-pl strong{overflow-wrap:anywhere;font-size:15px;}.wbx-dash-modhead{display:flex;align-items:center;gap:10px;margin:0 0 7px;}.wbx-dash-modhead .wbx-module-icon{width:34px;height:34px;flex:none;margin:0;}.wbx-dash-modhead svg{width:19px;height:19px;}.wbx-dash-modhead h3{margin:0!important;}.wbx-dash-open{display:flex;align-items:center;justify-content:space-between;padding-top:13px;}.wbx-dash-open svg{width:15px;height:15px;}.wbx-erp-shell[dir=rtl] .wbx-dash-open svg{transform:scaleX(-1);}
.wbx-erp-shell .wbx-dash-shortcuts{margin:0 0 22px!important;}.wbx-dash-shortcuts>div{display:flex;gap:7px;flex-wrap:wrap;}.wbx-erp-shell .wbx-dash-shortcuts a{display:inline-flex;align-items:center;gap:6px;border:1px solid #d9e2e6;background:#fff;border-radius:6px;padding:8px 12px;font-size:12px;font-weight:600;color:#233249!important;line-height:1.4;}.wbx-dash-shortcuts a span{font-size:16px;color:#26805b;line-height:1;}.wbx-erp-shell .wbx-dash-shortcuts a:hover{background:#edf6f0;border-color:#a4cbb5;}.wbx-erp-shell .wbx-dash-activity{margin:0 0 18px!important;}.wbx-erp-shell .wbx-dash-activity table,.wbx-erp-shell .wbx-dash-chartdata table{font-size:12px;margin:0;}.wbx-erp-shell [id^=wbx-record-],.wbx-erp-shell #wbx-ledger{scroll-margin-top:130px;}
@media(max-width:1050px){.wbx-erp-shell .wbx-dash-two{grid-template-columns:minmax(0,1fr);}}
@media(max-width:480px){.wbx-erp-shell .wbx-dash-kpis,.wbx-erp-shell .wbx-dash-ops{grid-template-columns:minmax(0,1fr);}.wbx-erp-shell .wbx-dash-panel{padding:13px;}.wbx-dash-pl>div{flex-wrap:wrap;}.wbx-dash-bars{height:120px;}}
.wbx-erp-shell .wbx-dash-finance-secondary{margin-top:14px;}.wbx-dash-cashrow{display:grid;grid-template-columns:62px minmax(25px,1fr) minmax(105px,auto);align-items:center;gap:9px;margin:8px 0;font-size:11px;}.wbx-dash-cashrow strong{font-variant-numeric:tabular-nums;font-weight:600;text-align:end;overflow-wrap:anywhere;}.wbx-dash-cashtrack{height:12px;background:#edf1f5;position:relative;border-radius:4px;}.wbx-dash-cashtrack:after{content:'';position:absolute;left:50%;height:100%;width:1px;background:#96a4b5;}.wbx-dash-cashtrack i{position:absolute;height:100%;background:#26805b;border-radius:2px;}.wbx-dash-cashtrack i.wbx-dash-negative{background:#b4534c;}.wbx-dash-journalrow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #e7edf2;font-size:12px;}.wbx-dash-journalrow>div{min-width:0;}.wbx-dash-journalrow strong,.wbx-dash-journalrow small{display:block;overflow-wrap:anywhere;}.wbx-dash-journalrow small{color:#657287;}.wbx-dash-journalrow b{flex:none;font-size:12px;}@media(max-width:400px){.wbx-dash-cashrow{grid-template-columns:50px minmax(18px,1fr) 94px;gap:5px;}.wbx-dash-journalrow{flex-wrap:wrap;}}
/* v0.3.4: native header clearance and auto-sized dashboard cards. */
body.wbx-native-workspace .wbx-erp-shell.wbx{padding-block-start:var(--wbx-header-clearance,0px)!important;}
.wbx-erp-shell .wbx-erp-top{position:relative!important;inset:auto!important;transform:none!important;height:auto!important;max-height:none!important;visibility:visible!important;opacity:1!important;overflow:visible!important;}
.wbx-erp-shell .wbx-erp-top .wbx-top-right{flex-wrap:wrap;}
.wbx-erp-shell .wbx-language button{opacity:1!important;visibility:visible!important;}
.wbx-erp-shell .wbx-company{height:auto!important;max-height:none!important;overflow:visible!important;}
.wbx-erp-shell .wbx-dash-two{align-items:start!important;}
.wbx-erp-shell .wbx-dash-ops{grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));align-items:stretch!important;grid-auto-rows:auto!important;}
.wbx-erp-shell .wbx-dash-ops>.wbx-dash-panel{display:flex!important;flex-direction:column;gap:0;padding:14px!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;}
.wbx-erp-shell .wbx-dash-ops .wbx-dash-modhead{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;align-items:flex-start;margin:0 0 7px!important;}
.wbx-erp-shell .wbx-dash-ops .wbx-dash-stat{flex:0 0 auto!important;display:flex!important;align-items:baseline!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:7px 0!important;line-height:1.45!important;}
.wbx-erp-shell .wbx-dash-ops .wbx-dash-stat>span,.wbx-erp-shell .wbx-dash-ops .wbx-dash-stat>strong{height:auto!important;max-height:none!important;overflow:visible!important;white-space:normal!important;line-height:1.45!important;}
.wbx-erp-shell .wbx-dash-ops .wbx-dash-open{margin-top:auto;}
.wbx-erp-shell .wbx-account-nav{margin:0!important;min-width:0;}
.wbx-erp-shell .wbx-account-nav>summary{display:flex!important;align-items:center;gap:11px;padding:11px 10px;border-radius:7px;min-height:42px;list-style:none;cursor:pointer;color:#e8edf6!important;font-weight:400!important;font-size:13px;line-height:1.35;}
.wbx-account-nav>summary::-webkit-details-marker{display:none;}.wbx-account-nav>summary::marker{content:'';}
.wbx-erp-shell .wbx-account-nav>summary>svg{width:20px;height:20px;}.wbx-erp-shell .wbx-account-nav>summary>svg:last-child{width:14px;height:14px;margin-inline-start:auto;transform:rotate(-90deg);}.wbx-erp-shell .wbx-account-nav[open]>summary>svg:last-child{transform:none;}
.wbx-erp-shell .wbx-account-nav>summary:hover,.wbx-erp-shell .wbx-account-nav>summary.wbx-selected{background:#ffffff17;}
.wbx-erp-shell .wbx-account-links{padding-inline-start:22px;display:grid;gap:3px;margin:4px 0 7px;}
.wbx-erp-shell .wbx-account-links>a{min-height:30px;padding:7px 8px;font-size:12px;overflow-wrap:anywhere;}
.wbx-erp-shell.wbx-collapsed .wbx-account-nav>summary>span,.wbx-erp-shell.wbx-collapsed .wbx-account-nav>summary>svg:last-child,.wbx-erp-shell.wbx-collapsed .wbx-account-links{display:none!important;}
.wbx-erp-shell.wbx-collapsed .wbx-account-nav>summary{justify-content:center;}
.wbx-account-shortcuts{display:flex;flex-wrap:wrap;gap:8px;}
.wbx-erp-shell .wbx-doc-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.wbx-erp-shell .wbx-doc-line{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;border:1px solid var(--wbx-border);border-radius:8px;padding:14px;margin:12px 0;}
.wbx-erp-shell .wbx-doc-line label{margin:0;}.wbx-erp-shell .wbx-doc-line button{justify-self:start;}.wbx-erp-shell .wbx-doc-editor form>label{margin-top:16px;}
@media(max-width:650px){.wbx-erp-shell .wbx-doc-line{grid-template-columns:1fr;}.wbx-erp-shell .wbx-erp-top{padding:10px 12px;}}
/* Operations centers: flexible cards and independent module navigation. */
.wbx-erp-main .wbx-ops-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr));gap:12px;margin:0 0 18px}
.wbx-erp-main .wbx-ops-metrics .wbx-card{min-width:0;height:auto;min-height:90px;margin:0;padding:16px;display:flex;flex-direction:column;gap:8px;overflow:visible}
.wbx-ops-metrics small{color:#5b6879;font-size:12px;line-height:1.4}.wbx-ops-metrics strong{font-size:25px;color:#17644b}
.wbx-ops-group{background:#fff;border:1px solid #dfe5ec;border-radius:9px;margin:0 0 16px;overflow:hidden}
.wbx-erp-main .wbx-ops-group h3{background:#e9f0ed;color:#215748;padding:12px 16px;margin:0;font-size:14px;line-height:1.5}
.wbx-ops-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr));gap:10px;padding:12px}
.wbx-erp-main .wbx-ops-tiles a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:17px 12px;min-height:92px;height:auto;border:1px solid #dfe5ec;border-radius:7px;background:#fff;color:#24364a;font-size:13px;text-align:center;text-decoration:none;line-height:1.45;overflow-wrap:anywhere}
.wbx-ops-tiles a:hover,.wbx-ops-tiles a:focus-visible{border-color:#47765f;background:#f2f7f3}.wbx-ops-tiles .wbx-icon{color:#35785f;width:25px;height:25px}
.wbx-ops-settings fieldset{border:1px solid #dfe5ec;padding:12px;border-radius:6px;margin:12px 0;min-width:0}.wbx-ops-settings legend{font-weight:600;padding:0 6px}.wbx-ops-settings details{margin:8px 0;padding:9px 12px;border:1px solid #dfe5ec;border-radius:6px}.wbx-ops-settings textarea{display:block;width:100%;min-height:90px;resize:vertical}.wbx-ops-days{display:flex;flex-wrap:wrap;gap:12px}.wbx-ops-days label{display:flex!important;align-items:center;gap:5px}.wbx-ops-days input{width:auto!important;min-height:0!important}.wbx-ops-pipeline{display:grid;grid-template-columns:repeat(6,minmax(160px,1fr));gap:10px;overflow-x:auto;padding-bottom:8px}.wbx-ops-pipeline .wbx-card{min-height:180px;margin:0;min-width:0;overflow-wrap:anywhere}.wbx-pipeline-item{display:block;padding:8px;margin:6px 0;border:1px solid #dfe5ec;border-radius:5px;color:#223950;text-decoration:none}.wbx-pipeline-item small{display:block;color:#54677a}.wbx-ops-pending summary{font-weight:600;cursor:pointer}

/* Accounting settings and document controls */
.wbx-erp-shell .wbx-ac-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px;align-items:center}.wbx-erp-shell .wbx-ac-tabs a{display:inline-flex;padding:9px 13px;border:1px solid #d8e0e6;background:#fff;border-radius:7px;color:#344156;text-decoration:none;font-weight:600}.wbx-erp-shell .wbx-ac-tabs a[aria-current]{background:#344156;color:white}.wbx-erp-shell .wbx-ac-currencies{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:10px;margin:12px 0}.wbx-erp-shell .wbx-ac-currencies fieldset,.wbx-erp-shell .wbx-ac-settings fieldset{border:1px solid #d8e0e6;border-radius:8px;padding:12px;min-width:0}.wbx-erp-shell .wbx-ac-currencies input[type=checkbox]{width:auto;min-height:0;display:inline-block;margin-inline-end:5px}.wbx-erp-shell .wbx-ac-settings textarea{width:100%}.wbx-erp-shell .wbx-doc-totals{margin:16px 0 16px auto;max-width:360px;background:#f3f7f5;border:1px solid #d8e0e6;border-radius:8px;padding:12px}.wbx-erp-shell .wbx-doc-totals div{display:flex;justify-content:space-between;gap:12px;padding:7px}.wbx-erp-shell .wbx-doc-totals div:last-child{border-top:1px solid #d8e0e6}.wbx-erp-shell [data-wbx-doc-result][hidden]{display:none!important}.wbx-erp-shell .wbx-ac-meta{margin-block:12px}.wbx-erp-shell .wbx-ac-meta dd{margin:0}.wbx-erp-shell .wbx-doc-preview{overflow:visible}
@media(min-width:1250px){.wbx-erp-shell .wbx-doc-line{grid-template-columns:1fr 1.7fr .7fr .7fr .85fr .65fr auto;align-items:end;gap:7px}.wbx-erp-shell .wbx-doc-line input{min-width:0;width:100%}}
@media print{body:has(#wbx-print-document) *{visibility:hidden!important}body:has(#wbx-print-document) #wbx-print-document,body:has(#wbx-print-document) #wbx-print-document *{visibility:visible!important}body:has(#wbx-print-document) #wbx-print-document{position:absolute!important;inset:0 auto auto 0!important;width:100%!important;max-width:none!important;box-shadow:none!important;border:0!important}body:has(#wbx-print-document) #wbx-print-document form{display:none!important}}
/* Explicit form appearance: native theme must not make workspace controls invisible. */
body .wbx-erp-shell.wbx .wbx-erp-main input:not([type=hidden]):not([type=checkbox]):not([type=radio]),body .wbx-erp-shell.wbx .wbx-erp-main select,body .wbx-erp-shell.wbx .wbx-erp-main textarea{display:block!important;visibility:visible!important;opacity:1!important;background:#fff!important;color:#233249!important;border:1px solid #b9c5d2!important;border-radius:6px!important;box-shadow:none!important;min-height:40px!important;height:auto!important;padding:9px 11px!important;font-size:14px!important;line-height:1.4!important;margin:5px 0 0!important;max-width:100%!important;}
body .wbx-erp-shell.wbx .wbx-erp-main input:not([type=hidden]):not([type=checkbox]):not([type=radio]):focus,body .wbx-erp-shell.wbx .wbx-erp-main select:focus,body .wbx-erp-shell.wbx .wbx-erp-main textarea:focus{border-color:#227655!important;outline:2px solid #a8d3c0!important;outline-offset:1px;}
.wbx-erp-shell .wbx-vendor-center{min-width:0;}.wbx-erp-shell .wbx-vendor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:13px;}.wbx-erp-shell .wbx-vendor-head h2{font-size:23px;margin:0 0 4px;}.wbx-erp-shell .wbx-vendor-head h3{margin:0 0 4px;}.wbx-erp-shell .wbx-vendor-head p{margin:0;}.wbx-erp-shell .wbx-vendor-editor{padding:20px;}.wbx-erp-shell .wbx-vendor-group{border:1px solid #dfe5ec;border-radius:8px;background:#fff;margin:0 0 12px;padding:0;min-width:0;overflow:visible!important;}.wbx-erp-shell .wbx-vendor-group>h4,.wbx-erp-shell .wbx-vendor-group>summary{padding:11px 14px;margin:0!important;background:#f1f5f8;border-radius:7px 7px 0 0;color:#344159;font-size:14px;font-weight:650;line-height:1.5;}.wbx-erp-shell .wbx-vendor-group>summary{cursor:pointer;}.wbx-erp-shell .wbx-vendor-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;padding:15px;align-items:start;}.wbx-erp-shell .wbx-vendor-fields>div,.wbx-erp-shell .wbx-vendor-fields>label{min-width:0;}.wbx-erp-shell .wbx-vendor-fields label,.wbx-erp-shell .wbx-vendor-notes{margin:0!important;font-size:13px;font-weight:600;line-height:1.45;}.wbx-erp-shell .wbx-vendor-notes textarea{min-height:90px!important;resize:vertical;}.wbx-erp-shell .wbx-vendor-save{display:flex;align-items:center;gap:15px;margin-top:16px;flex-wrap:wrap;}.wbx-erp-shell .wbx-vendor-save a,.wbx-erp-shell .wbx-vendor-list a{color:#176442!important;font-weight:650;}.wbx-erp-shell .wbx-vendor-doc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:12px;}.wbx-erp-shell .wbx-vendor-doc{padding:15px;border:1px solid #dfe5ec;border-radius:8px;min-width:0;background:#fafbfc;overflow-wrap:anywhere;}.wbx-erp-shell .wbx-vendor-doc h4{font-size:14px;margin:0 0 9px;}.wbx-erp-shell .wbx-vendor-doc form{margin:0;}.wbx-erp-shell .wbx-vendor-doc form[enctype]{margin-top:10px;}.wbx-erp-shell .wbx-vendor-file-label{font-size:12px;margin:0 0 8px;}.wbx-erp-shell .wbx-vendor-doc-actions{display:flex;flex-wrap:wrap;gap:6px;}.wbx-erp-shell .wbx-doc-remove{color:#a42632!important;}.wbx-erp-shell .wbx-vendor-list th,.wbx-erp-shell .wbx-vendor-list td{font-size:13px;}.wbx-erp-shell [data-wbx-vendor-row][hidden]{display:none!important;}.wbx-erp-shell .wbx-vendor-fields [hidden]{display:none!important;}
@media(max-width:650px){.wbx-erp-shell .wbx-vendor-fields{grid-template-columns:minmax(0,1fr);padding:12px;}.wbx-erp-shell .wbx-vendor-editor{padding:14px;}.wbx-erp-shell .wbx-vendor-head label{width:100%;}}

/* Bilingual accounting option rows (0.3.10). Scope controls to avoid theme overrides. */
.wbx-erp-shell .wbx-master-editor{max-width:1050px;margin:0 0 18px;min-width:0;}
.wbx-erp-shell [data-wbx-master-rows]{display:grid;gap:8px;margin:12px 0;}
.wbx-erp-shell .wbx-master-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px 14px;align-items:end;border:1px solid #dfe5ec;border-radius:8px;background:#fafbfc;padding:12px;min-width:0;}
.wbx-erp-shell .wbx-master-row label{display:block;margin:0!important;font-size:13px;font-weight:600;line-height:1.4;min-width:0;}
.wbx-erp-shell .wbx-master-row input[type=text]{display:block!important;width:100%!important;min-width:0!important;height:42px!important;min-height:42px!important;box-sizing:border-box!important;opacity:1!important;visibility:visible!important;color:#233249!important;background:#fff!important;border:1px solid #cbd5df!important;border-radius:6px!important;padding:8px 10px!important;margin:5px 0 0!important;box-shadow:none!important;font-size:14px!important;}
.wbx-erp-shell .wbx-master-row input[type=text]:focus{outline:2px solid #28785c;outline-offset:1px;}
.wbx-erp-shell .wbx-master-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.wbx-erp-shell button.wbx-master-remove,.wbx-erp-shell button.wbx-master-add{height:auto!important;min-height:42px!important;line-height:1.3!important;padding:9px 14px!important;border:1px solid #d6dfe8!important;background:#fff!important;border-radius:6px!important;box-shadow:none!important;text-transform:none!important;letter-spacing:normal!important;font-size:13px!important;font-weight:600!important;}
.wbx-erp-shell button.wbx-master-remove{color:#a42632!important;}.wbx-erp-shell button.wbx-master-add{color:#176442!important;}.wbx-erp-shell button.wbx-master-add:disabled{opacity:.45;cursor:not-allowed;}
@media(max-width:650px){.wbx-erp-shell .wbx-master-row{grid-template-columns:minmax(0,1fr);gap:8px;}.wbx-erp-shell button.wbx-master-remove{justify-self:start;min-height:36px!important;}}
/* 0.3.12: original-style quotation layout; all rules scoped to the quotation. */
.wbx-erp-shell .wbx-quote-toolbar{background:#edf2f5;border:1px solid #dce4eb;border-radius:8px;padding:10px;margin-bottom:18px;gap:7px}.wbx-erp-shell .wbx-quote-toolbar > a:last-child{margin-inline-start:auto}.wbx-erp-shell .wbx-quote-toolbar button,.wbx-erp-shell .wbx-quote-toolbar a{padding:8px 12px!important;font-size:13px!important;min-height:38px}.wbx-erp-shell .wbx-quote-toolbar button:disabled,.wbx-erp-shell .wbx-quote-actions button:disabled{opacity:.5;cursor:not-allowed}.wbx-erp-shell .wbx-quotation>h2{font-size:23px;margin:0 0 14px}.wbx-erp-shell .wbx-quote-editor.wbx-card{padding:0!important;overflow:visible!important}.wbx-erp-shell .wbx-quote-head{padding:16px 20px;background:#edf2f5;border-bottom:1px solid #dce4eb;border-radius:11px 11px 0 0}.wbx-erp-shell .wbx-quote-head h3{font-size:16px;margin:0}.wbx-erp-shell .wbx-quote-number{display:flex;flex-direction:column;align-items:flex-start;padding:8px 12px;background:white;border:1px solid #dce4eb;border-radius:7px;font-size:12px}.wbx-erp-shell .wbx-quote-number strong{font-size:15px;direction:ltr}.wbx-erp-shell .wbx-quote-number small{color:#657287;font-size:10px}.wbx-erp-shell .wbx-quote-body{padding:18px 20px;min-width:0}.wbx-erp-shell .wbx-quote-party{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:14px}.wbx-erp-shell .wbx-quote-dates{display:grid;gap:8px}.wbx-erp-shell .wbx-quote-body label{font-size:13px;font-weight:600;margin:0!important;line-height:1.4}.wbx-erp-shell .wbx-quote-customer-link{font-size:12px;color:#176442;margin-top:7px;display:inline-block}.wbx-erp-shell .wbx-quote-meta{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:18px 0 14px}.wbx-erp-shell .wbx-quote-scroll{overflow-x:auto!important;min-width:0;border:1px solid #dce4eb;border-radius:7px}.wbx-erp-shell .wbx-quote-table{min-width:830px}.wbx-erp-shell .wbx-quote-columns,.wbx-erp-shell .wbx-quote-line.wbx-doc-line{display:grid!important;grid-template-columns:minmax(135px,1.2fr) minmax(155px,2.2fr) minmax(95px,1fr) minmax(68px,.7fr) minmax(75px,.8fr) minmax(87px,.8fr) minmax(77px,.8fr) 36px;gap:7px;align-items:center;padding:9px 8px;margin:0;border:0;border-radius:0}.wbx-erp-shell .wbx-quote-columns{font-size:12px;font-weight:650;background:#edf2f5}.wbx-erp-shell .wbx-quote-line.wbx-doc-line{border-top:1px solid #e4e9ee}.wbx-erp-shell .wbx-quote-model{display:grid;gap:4px;min-width:0}.wbx-erp-shell .wbx-quote-line output{font-size:13px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.wbx-erp-shell .wbx-quote-line button{padding:4px!important;min-height:32px;min-width:30px;justify-self:center}.wbx-erp-shell .wbx-quote-add{margin:10px 0 0;padding:8px 12px!important}.wbx-erp-shell .wbx-quote-summary{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(230px,1fr);gap:18px;margin-top:14px;align-items:start}.wbx-erp-shell .wbx-quote-summary textarea{min-height:108px!important}.wbx-erp-shell .wbx-quote-summary .wbx-doc-totals{margin:0;max-width:none;background:#edf2f5}.wbx-erp-shell .wbx-quote-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding:14px 20px;background:#f6f8fa;border-top:1px solid #dce4eb}.wbx-erp-shell .wbx-quote-actions button{padding:9px 16px!important}.wbx-erp-shell .wbx-quote-actions button[type=submit]{background:#176442!important;border-color:#176442!important}.wbx-erp-shell .wbx-quote-notice{font-size:12px;margin:0!important;padding:9px 20px}.wbx-erp-shell .wbx-quote-dialog{position:fixed!important;inset:0;margin:auto!important;width:min(950px,94vw);max-height:88vh;overflow:auto;border:1px solid #dce4eb;border-radius:12px;padding:20px;background:white;color:#233249;z-index:999999}.wbx-erp-shell .wbx-quote-dialog::backdrop{background:#18263888}.wbx-erp-shell .wbx-quote-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.wbx-erp-shell .wbx-quote-dialog-head h3{margin:0}.wbx-erp-shell .wbx-quote-preview-meta{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:5px 12px}.wbx-erp-shell .wbx-quote-preview-meta dd{margin:0;overflow-wrap:anywhere}.wbx-erp-shell .wbx-quote-preview-meta dt{font-weight:650}
@media(max-width:1100px){.wbx-erp-shell .wbx-quote-meta{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.wbx-erp-shell .wbx-quote-body{padding:12px}.wbx-erp-shell .wbx-quote-party,.wbx-erp-shell .wbx-quote-summary{grid-template-columns:minmax(0,1fr)}.wbx-erp-shell .wbx-quote-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.wbx-erp-shell .wbx-quote-toolbar > a:last-child{margin-inline-start:0}.wbx-erp-shell .wbx-quote-head{padding:12px}.wbx-erp-shell .wbx-quote-actions{padding:12px}}

/* Quote editor: visible even when the company customer list is empty. */
.wbx-erp-shell #wbx-quote-editor{scroll-margin-top:180px}.wbx-erp-shell .wbx-quote-empty-customer{margin-top:10px;padding:10px 12px;background:#f8fafc;border:1px solid #dce4eb;border-radius:7px}.wbx-erp-shell .wbx-quote-empty-customer p{font-size:13px;margin:0 0 6px!important;color:#334155}.wbx-erp-shell .wbx-quote-empty-customer a.wbx-quote-customer-link{color:#233249!important;background:#fff!important;border:1px solid #b8c4d0!important;border-radius:6px;padding:7px 12px!important;font-weight:600;text-decoration:none;display:inline-block;margin:0}.wbx-erp-shell .wbx-quote-empty-customer a:hover{background:#edf2f5!important}

/* Quotation master-data shortcuts */
.wbx-erp-shell .wbx-quote-master-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px}.wbx-erp-shell .wbx-quote-master-actions a.wbx-secondary,.wbx-erp-shell .wbx-quote-master-actions button.wbx-secondary{display:inline-flex;align-items:center;justify-content:center;color:#233249!important;background:#fff!important;border:1px solid #b8c4d0!important;border-radius:6px;padding:7px 12px!important;margin:0!important;font-weight:600;text-decoration:none;font-size:13px;line-height:1.4;min-height:34px}.wbx-erp-shell .wbx-quote-master-actions a:hover,.wbx-erp-shell .wbx-quote-master-actions button:hover{background:#edf2f5!important}.wbx-erp-shell .wbx-quote-refresh-status{font-size:12px;margin:6px 0 0!important;min-height:0}.wbx-erp-shell .wbx-quote-refresh-status:empty,.wbx-erp-shell .wbx-quote-empty-customer[hidden]{display:none!important}.wbx-erp-shell .wbx-quote-empty-customer p{margin:0!important}.wbx-erp-shell #wbx-record-customer,.wbx-erp-shell #wbx-record-item{scroll-margin-top:180px}

.wbx-native-workspace .wbx-invoice-source{margin-bottom:16px}.wbx-native-workspace .wbx-invoice-source form{display:grid;gap:10px}.wbx-native-workspace .wbx-invoice-source form button{justify-self:end}.wbx-native-workspace .wbx-invoice-source form button:disabled{opacity:.5;cursor:not-allowed}

/* Purchasing documents share the sales editor; RFQs contain no price fields. */
.wbx-erp-shell .wbx-rfq-table{min-width:580px}.wbx-erp-shell .wbx-rfq-table .wbx-quote-columns,.wbx-erp-shell .wbx-rfq-table .wbx-quote-line.wbx-doc-line{grid-template-columns:minmax(130px,1.2fr) minmax(160px,2.4fr) minmax(75px,.7fr) minmax(100px,1fr) 36px}.wbx-erp-shell .wbx-rfq-summary{grid-template-columns:minmax(0,1fr)}.wbx-erp-shell .wbx-po-addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.wbx-erp-shell .wbx-po-addresses>div,.wbx-erp-shell .wbx-po-addresses>label{padding:12px;border:1px solid #dce4eb;border-radius:7px;background:#f8fafc}.wbx-erp-shell #wbx-record-vendor{scroll-margin-top:180px}@media(max-width:650px){.wbx-erp-shell .wbx-po-addresses{grid-template-columns:minmax(0,1fr)}}

/* Private optional catalogue photograph. */
.wbx-workspace .wbx-item-image-field,.wbx-native-workspace .wbx-item-image-field{border:1px solid #dce3e8;border-radius:8px;padding:16px;margin:14px 0;background:#f8fafb;display:grid;gap:9px;justify-items:start}
.wbx-item-image-field h4,.wbx-item-image-field p{margin:0!important}
.wbx-item-image-field input[type=file]{max-width:100%;width:100%;padding:8px;background:#fff;border:1px solid #cfd8df;border-radius:6px}
.wbx-item-image-field label{max-width:100%}
.wbx-item-image-field .wbx-item-image-remove{display:flex;align-items:center;gap:8px}
.wbx-item-thumb{display:block!important;object-fit:contain;width:92px!important;height:92px!important;max-width:100%;border:1px solid #dce3e8;border-radius:8px;background:white;padding:4px;margin-block-end:10px}

/* In-document master editor: preserve the initiating draft in its original page. */
.wbx-erp-shell .wbx-master-dialog{position:fixed!important;inset:0!important;margin:auto!important;width:min(1480px,96vw)!important;height:94vh!important;max-width:none!important;max-height:94vh!important;box-sizing:border-box;padding:0!important;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#233249;overflow:hidden;z-index:999999}
.wbx-erp-shell .wbx-master-dialog[open]{display:flex!important;flex-direction:column}.wbx-erp-shell .wbx-master-dialog::backdrop{background:#182638aa}.wbx-erp-shell .wbx-master-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;background:#edf2f5;border-bottom:1px solid #dce4eb}.wbx-erp-shell .wbx-master-dialog>p{padding:8px 18px;margin:0!important;font-size:12px;background:#fff}.wbx-erp-shell .wbx-master-dialog iframe{border:0;width:100%;flex:1;min-height:0;background:#f3f5f8}.wbx-erp-shell .wbx-master-dialog:not([open]){display:none!important}
@media(max-width:820px){.wbx-erp-shell .wbx-master-dialog{width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0}.wbx-erp-shell .wbx-master-dialog-head{padding:8px 10px}}

.wbx-convert-menu{position:relative;display:inline-block}.wbx-convert-menu summary{cursor:pointer;list-style:none;padding:10px 14px;border:1px solid #dce2e8;border-radius:6px;background:#fff;color:#343f56}.wbx-convert-menu summary::-webkit-details-marker{display:none}.wbx-convert-options{position:absolute;z-index:30;inset-inline-start:0;top:100%;background:#fff;border:1px solid #dce2e8;border-radius:8px;padding:6px;min-width:165px;box-shadow:0 5px 15px #0002}.wbx-convert-options form{margin:0}.wbx-convert-options a,.wbx-convert-options button{display:block;width:100%;text-align:start;box-sizing:border-box;margin:0 0 4px}.wbx-source-notice{padding:12px;background:#fff8e7;border:1px solid #e5d8ac;border-radius:6px;margin:12px}

.wbx-erp-shell .wbx-quote-toolbar .wbx-convert-options a{margin-inline-start:0}.wbx-erp-shell .wbx-quote-toolbar .wbx-convert-menu summary{font-size:13px;font-weight:600;min-height:38px;box-sizing:border-box}

/* Customer and vendor edit actions must remain legible under theme link overrides. */
.wbx-erp-shell a.wbx-party-edit{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;color:#fff!important;background:#344159!important;text-decoration:none!important;min-height:32px;font-size:12px!important;white-space:nowrap;}.wbx-erp-shell a.wbx-party-edit:hover{background:#263247!important;color:#fff!important;}.wbx-erp-shell .wbx-contact-content{padding:14px;}.wbx-erp-shell .wbx-contact-row{border:1px solid #dfe5ec;border-radius:8px;margin-bottom:12px;}.wbx-erp-shell .wbx-contact-row-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;background:#f1f5f8;}.wbx-erp-shell .wbx-contact-remove{color:#a42632!important;}.wbx-erp-shell .wbx-contact-read{border-top:1px solid #dfe5ec;padding:10px 0;}.wbx-erp-shell .wbx-customer-contacts>summary{cursor:pointer;}

.wbx-erp-shell .wbx-erp-record a.wbx-party-edit{margin-inline-start:10px;vertical-align:middle;}

.wbx-erp-shell .wbx-master-active{display:flex!important;align-items:center;gap:9px;min-height:36px;flex-direction:row!important;}.wbx-erp-shell .wbx-master-active input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;opacity:1!important;position:static!important;width:17px!important;height:17px!important;min-height:0!important;margin:0!important;accent-color:#344159;}.wbx-erp-shell .wbx-master-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;}.wbx-erp-shell .wbx-master-action{display:inline-flex;margin:0 5px!important;vertical-align:middle;}.wbx-erp-shell .wbx-master-delete{color:#a42632!important;border:1px solid #e9c6cb!important;background:#fff!important;min-height:32px;white-space:nowrap;}.wbx-erp-shell .wbx-master-restore{color:#176442!important;}.wbx-erp-shell .wbx-master-status{display:inline-block;margin-inline:6px;padding:3px 8px;border-radius:4px;background:#edf5ef;color:#166534;font-size:12px;}.wbx-erp-shell .wbx-master-status.is-inactive{background:#eef0f3;color:#515b6d;}.wbx-erp-shell .wbx-master-switch{display:flex;align-items:center;gap:9px;flex-wrap:wrap;}

/* v0.3.22 — Accounting workflow hierarchy, mirrored automatically in RTL. */
.wbx-erp-shell .wbx-account-hierarchy>a.wbx-account-child{padding-inline-start:23px;position:relative;}
.wbx-erp-shell .wbx-account-hierarchy>a.wbx-account-child::before{content:"";position:absolute;inset-inline-start:10px;top:50%;width:6px;height:6px;border-inline-start:1px solid #b1bbcb;border-bottom:1px solid #b1bbcb;transform:translateY(-75%);}
.wbx-erp-shell .wbx-account-hierarchy>a:not(.wbx-account-child){font-weight:500;}
/* Company information: optional logo and contact details. */
.wbx-erp-shell .wbx-company-logo-editor{display:flex;align-items:flex-start;gap:18px;padding:18px;margin:0 0 24px;background:#f6f8fa;border:1px solid #dce2e8;border-radius:10px;min-width:0;}
.wbx-erp-shell .wbx-company-logo-preview{flex:0 0 100px;width:100px;height:100px;border:1px solid #dce2e8;border-radius:10px;background:#fff;display:grid;place-items:center;overflow:hidden;color:#344156;}
.wbx-erp-shell .wbx-company-logo-preview img{width:100%;height:100%;object-fit:contain;padding:6px;box-sizing:border-box;}
.wbx-erp-shell .wbx-company-logo-preview svg{width:36px;height:36px;}
.wbx-erp-shell .wbx-company-logo-controls{flex:1;min-width:0;}.wbx-erp-shell .wbx-company-logo-controls h4{margin:0 0 10px;}.wbx-erp-shell .wbx-company-logo-controls input[type=file]{max-width:340px;}.wbx-erp-shell .wbx-company-logo-controls .wbx-muted{margin:8px 0;}
.wbx-erp-shell .wbx-company-avatar:has(.wbx-company-avatar-image){background:#fff;overflow:hidden;}.wbx-erp-shell .wbx-company-avatar-image{width:100%;height:100%;object-fit:contain;padding:3px;box-sizing:border-box;}
@media(max-width:520px){.wbx-erp-shell .wbx-company-logo-editor{flex-direction:column;}.wbx-erp-shell .wbx-company-logo-controls{width:100%;}}

/* 0.3.25 — CRM board: stage-specific colors follow stage identity, not position. */
.wbx-erp-shell .wbx-pipeline-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0 0 8px}
.wbx-erp-shell .wbx-pipeline-heading h3{margin:0;font-size:18px}
.wbx-erp-shell .wbx-pipeline-metrics .wbx-card strong{font-size:clamp(17px,1.6vw,25px);overflow-wrap:anywhere;color:#26384b}
.wbx-erp-shell .wbx-ops-pipeline{display:grid;grid-template-columns:repeat(6,minmax(148px,1fr));gap:9px;align-items:stretch;overflow-x:auto;max-width:100%;padding:2px 1px 9px;}
.wbx-erp-shell .wbx-pipeline-stage{display:flex;flex-direction:column;min-width:0;min-height:390px;margin:0;padding:0;background:var(--stage-bg);border:1px solid var(--stage-color);border-radius:7px;overflow:hidden;}
.wbx-erp-shell .wbx-stage-new{--stage-color:#34729d;--stage-bg:#e9f3fb}
.wbx-erp-shell .wbx-stage-qualified{--stage-color:#13766f;--stage-bg:#e2f5f1}
.wbx-erp-shell .wbx-stage-quoted{--stage-color:#946610;--stage-bg:#fff4d8}
.wbx-erp-shell .wbx-stage-negotiation{--stage-color:#a95721;--stage-bg:#fff0e3}
.wbx-erp-shell .wbx-stage-won{--stage-color:#28784b;--stage-bg:#e5f5e9}
.wbx-erp-shell .wbx-stage-lost{--stage-color:#a84148;--stage-bg:#fbe9eb}
.wbx-erp-shell .wbx-pipeline-stage-head{display:flex;flex-direction:column;gap:3px;min-height:99px;padding:12px;background:var(--stage-color);color:#fff;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.wbx-erp-shell .wbx-pipeline-stage-head h4{color:#fff!important;font-size:14px;line-height:1.35;margin:0;font-weight:600;}
.wbx-erp-shell .wbx-pipeline-stage-value{font-weight:600;}
.wbx-erp-shell .wbx-pipeline-stage-body{flex:1;padding:9px;min-width:0}
.wbx-erp-shell .wbx-pipeline-empty{text-align:center;margin:14px 0;color:#465768;font-size:12px;line-height:1.45}
.wbx-erp-shell .wbx-pipeline-item{display:block;padding:10px;background:#fff;border:1px solid #c9d6df;border-inline-start:3px solid var(--stage-color);color:#25384e!important;font-weight:600;overflow-wrap:anywhere;line-height:1.4;border-radius:6px;margin:0 0 8px;}
.wbx-erp-shell .wbx-pipeline-item small{display:block;margin-top:6px;color:#48596b;font-weight:400;}
.wbx-erp-shell .wbx-pipeline-item:hover,.wbx-erp-shell .wbx-pipeline-item:focus-visible{border-color:var(--stage-color);text-decoration:underline;outline-offset:2px;}
@media(max-width:600px){.wbx-erp-shell .wbx-ops-pipeline{grid-template-columns:repeat(6,minmax(168px,1fr))}.wbx-erp-shell .wbx-pipeline-stage{min-height:320px}.wbx-erp-shell .wbx-pipeline-board{padding:14px}.wbx-erp-shell .wbx-pipeline-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Shared issuer heading for all four accounting document previews and printouts. */
.wbx-erp-shell .wbx-document-company{display:block;text-align:start;padding:0 0 14px;margin:0 0 18px;border-bottom:1px solid #dce4eb;break-inside:avoid;color:#233249;overflow-wrap:anywhere}
.wbx-erp-shell .wbx-document-company .wbx-document-logo{display:block;width:auto;height:auto;max-width:min(180px,100%);max-height:110px;object-fit:contain;object-position:center;margin:0 0 10px}
.wbx-erp-shell .wbx-document-company-name{font-size:21px;font-weight:700;line-height:1.3;margin:0 0 6px}
.wbx-erp-shell .wbx-document-contacts{font-size:12px;line-height:1.55;color:#46576a}
.wbx-erp-shell .wbx-document-contacts bdi{overflow-wrap:anywhere}
.wbx-erp-shell .wbx-quote-dialog [data-wbx-quote-preview-body]{padding-top:16px}
@media print{.wbx-erp-shell #wbx-print-document .wbx-document-company{color:#111;border-bottom:1px solid #999;margin-bottom:12pt;padding-bottom:8pt}.wbx-erp-shell #wbx-print-document .wbx-document-logo{max-width:42mm;max-height:26mm}.wbx-erp-shell #wbx-print-document .wbx-document-contacts{color:#222;font-size:9pt}.wbx-erp-shell #wbx-print-document .wbx-document-company-name{font-size:15pt}}

/* 0.3.27 — invoice-only issuer tax number, with physical upper-right placement in both languages. */
.wbx-erp-shell .wbx-document-company-with-tax{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,32%);gap:16px;align-items:start;direction:ltr}
.wbx-erp-shell .wbx-document-identity{min-width:0;text-align:start}
.wbx-erp-shell .wbx-document-tax-box{grid-column:2;grid-row:1;justify-self:end;align-self:start;box-sizing:border-box;max-width:100%;width:max-content;min-width:110px;padding:10px 14px;border:1px solid #aab6c4;border-radius:6px;background:#fff;color:#233249;text-align:start;overflow-wrap:anywhere;break-inside:avoid}
.wbx-erp-shell .wbx-document-tax-box span,.wbx-erp-shell .wbx-document-tax-box strong{display:block;font-size:12px;line-height:1.45}
.wbx-erp-shell .wbx-document-tax-box strong{font-size:14px;margin-top:4px}
.wbx-erp-shell .wbx-document-quote-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;border:1px solid #dce4eb;border-radius:6px;margin:0 0 12px;break-inside:avoid}
.wbx-erp-shell .wbx-document-quote-details dt{font-size:12px;font-weight:600;color:#46576a}
.wbx-erp-shell .wbx-document-quote-details dd{margin:4px 0 0;font-size:14px;font-weight:600;overflow-wrap:anywhere}
@media screen and (max-width:480px){.wbx-erp-shell .wbx-document-company-with-tax{gap:8px;grid-template-columns:minmax(0,1fr) minmax(90px,35%)}.wbx-erp-shell .wbx-document-tax-box{min-width:0;padding:7px}.wbx-erp-shell .wbx-document-quote-details{grid-template-columns:1fr}}
@media print{.wbx-erp-shell #wbx-print-document .wbx-document-tax-box{border:1px solid #666;color:#111;padding:7pt 10pt}.wbx-erp-shell #wbx-print-document .wbx-document-quote-details{border:1px solid #999;grid-template-columns:repeat(3,minmax(0,1fr))}.wbx-erp-shell #wbx-print-document .wbx-document-quote-details dt{color:#222;font-size:9pt}.wbx-erp-shell #wbx-print-document .wbx-document-quote-details dd{font-size:11pt}}

/* Webaxoo Connect: explicit controls independent of theme checkboxes. */
.wbx-erp-shell .wbx-connect-summary{padding:14px 16px;border:1px solid #dce3eb;border-radius:8px;background:#f7f9fb;margin:0 0 18px;}
.wbx-erp-shell .wbx-connect-warning{color:#8b4513!important;font-weight:600;}
.wbx-erp-shell .wbx-connect-products{display:grid;gap:8px;max-height:440px;overflow:auto;}
.wbx-erp-shell .wbx-connect-product{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,210px);gap:12px;align-items:center;padding:12px;border:1px solid #dce3eb;border-radius:8px;}
.wbx-erp-shell .wbx-connect-product small{display:block;color:#526175;overflow-wrap:anywhere;}
.wbx-erp-shell .wbx-connect-choice{display:block!important;font-size:13px;}
body .wbx-erp-shell.wbx .wbx-erp-main .wbx-connect-revoke{background:#fff!important;color:#a42632!important;-webkit-text-fill-color:#a42632!important;border:1px solid #e9c6cb!important;}
@media(max-width:600px){.wbx-erp-shell .wbx-connect-product{grid-template-columns:1fr;}}
