/* ElixeMarket Work Hub Next v4.0.3.5.8 - extracted core styles */
html body:has(.emwh-app){margin:0!important;overflow:hidden!important;background:#edf3fa!important}body:has(.emwh-app) header,body:has(.emwh-app) footer,body:has(.emwh-app) .site-header,body:has(.emwh-app) .site-footer,body:has(.emwh-app) #masthead,body:has(.emwh-app) #colophon{display:none!important}.emwh-app{position:fixed;inset:0;z-index:9999;display:flex;background:#edf3fa;color:#0d2138;font-family:Inter,Arial,sans-serif;font-size:14px}.emwh-sidebar{width:260px;background:linear-gradient(180deg,#06182b,#082946);color:#fff;display:flex;flex-direction:column;padding:22px 16px;box-sizing:border-box}.emwh-brand{display:flex;gap:12px;align-items:center;margin-bottom:30px}.emwh-logo{width:46px;height:46px;border:1px solid #d6a84b;border-radius:14px;display:flex;align-items:center;justify-content:center;color:#ffd76b;background:#0c2a49;font-family:Georgia,serif;font-size:22px;font-weight:700;box-shadow:0 0 0 1px rgba(255,255,255,.06) inset}.emwh-brand strong{display:block;font-size:18px}.emwh-brand small{display:block;color:#b9d3ea;font-size:12px;margin-top:2px}.emwh-brand em{display:block;color:#d6a84b;font-style:normal;font-size:10px;text-transform:uppercase;letter-spacing:.12em;margin-top:5px}.emwh-sidebar nav{display:flex;flex-direction:column;gap:8px}.emwh-side-item{display:flex;gap:12px;align-items:center;text-decoration:none;color:#e7f3ff;padding:12px 13px;border-radius:12px;border:1px solid transparent}.emwh-side-item:hover,.emwh-side-item.active{background:rgba(66,132,198,.25);border-color:rgba(110,170,230,.35);color:#fff}.emwh-side-item b{display:block;font-size:14px}.emwh-side-item small{display:block;color:#8eb4d3;font-size:11px;margin-top:2px}.emwh-ico{width:18px;text-align:center}.emwh-status{margin-top:auto;border:1px solid rgba(140,190,235,.25);border-radius:14px;padding:13px;background:rgba(255,255,255,.04)}.emwh-status span{display:inline-block;width:8px;height:8px;background:#1cd76b;border-radius:50%;margin-right:6px}.emwh-status b{font-size:12px}.emwh-status small{display:block;color:#8eb4d3;font-size:11px;margin-top:2px}.emwh-main{flex:1;display:flex;flex-direction:column;min-width:0}.emwh-topbar{height:68px;background:#fff;border-bottom:1px solid #d6e1ef;display:flex;align-items:center;gap:20px;padding:0 24px;box-sizing:border-box}.emwh-top-title{width:240px}.emwh-top-title small{display:block;color:#5780a8;letter-spacing:.12em;font-size:10px;font-weight:800}.emwh-top-title b{font-size:18px}.emwh-search{flex:1;height:42px;border:1px solid #ccd9e8;border-radius:12px;display:flex;align-items:center;background:#f9fbfe;overflow:hidden}.emwh-search span{padding-left:16px;color:#6382a2;font-size:20px}.emwh-search input{flex:1;border:0;background:transparent;padding:0 14px;outline:0;color:#0d2138}.emwh-search button,.emwh-primary{background:#05070a;color:#fff;border:0;border-radius:10px;padding:12px 20px;font-weight:800;font-size:12px;text-decoration:none}.emwh-user{display:flex;align-items:center;gap:14px;white-space:nowrap}.emwh-version{border:1px solid #cbd9e8;border-radius:999px;padding:8px 12px;color:#39607e;background:#fff}.emwh-content{flex:1;overflow:auto;padding:28px 30px 60px}.emwh-hero{background:#f7fbff;border:1px solid #d5e1ef;border-radius:18px;padding:24px 28px;margin-bottom:18px;display:flex;justify-content:space-between;align-items:center}.emwh-hero small,.emwh-tag{display:block;color:#2866ad;text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:800}.emwh-hero h1{font-family:Georgia,serif;font-size:30px;line-height:1.05;margin:8px 0 8px;color:#06182b}.emwh-hero p{margin:0;color:#4d6888}.emwh-pill{background:#d9f9e6;color:#0d813a;border-radius:999px;padding:9px 14px;font-size:12px;font-weight:700}.emwh-grid{display:grid;gap:14px}.emwh-grid.metrics{grid-template-columns:repeat(6,minmax(120px,1fr));margin-bottom:16px}.emwh-grid.four{grid-template-columns:repeat(4,1fr)}.emwh-metric,.emwh-card,.emwh-module{background:#fff;border:1px solid #d4e0ee;border-radius:16px;padding:18px;box-shadow:0 1px 0 rgba(0,0,0,.02);box-sizing:border-box}.emwh-metric{border-top:4px solid #1867ff}.emwh-metric small{font-weight:800;text-transform:uppercase;font-size:11px;color:#0d2138}.emwh-metric strong{display:block;font-size:28px;margin:10px 0 6px}.emwh-metric span,.emwh-card p,.emwh-module p{color:#5a718d}.emwh-two{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin-bottom:16px}.emwh-card h2{font-family:Georgia,serif;font-size:25px;margin:12px 0}.emwh-card ul{margin:12px 0 0 18px;line-height:1.9}.emwh-tag{margin-bottom:12px}.emwh-tag.warn{color:#9a6500}.emwh-pipeline{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:20px}.emwh-pipeline div,.emwh-grid.four div{background:#f5f8fc;border:1px solid #d4e0ee;border-radius:12px;padding:14px}.emwh-pipeline b,.emwh-grid.four b{display:block}.emwh-pipeline small,.emwh-grid.four small{display:block;color:#6b8199;margin-top:4px}.emwh-module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.emwh-module{text-decoration:none;color:#0d2138;min-height:96px}.emwh-module h3{font-family:Georgia,serif;font-size:21px;margin:0 0 8px}.emwh-module b{color:#0065ff}.emwh-table-wrap{background:#fff;border:1px solid #d4e0ee;border-radius:16px;overflow:hidden;margin-top:16px}.emwh-count{padding:14px 16px;font-weight:800;color:#24425e}.emwh-table{width:100%;border-collapse:collapse}.emwh-table th{background:#f3f7fb;text-align:left;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#425d7a;padding:13px}.emwh-table td{border-top:1px solid #e2eaf3;padding:13px;color:#17314d}.emwh-open{font-weight:800;color:#0065ff;text-decoration:none}.emwh-badge{border-radius:999px;background:#eef5ff;padding:6px 10px}.emwh-empty{text-align:left;min-height:128px}.emwh-line{width:46px;height:2px;background:#d59b2a;margin:0 0 18px}.emwh-safe-links{display:flex;flex-direction:column;gap:10px}.emwh-safe-links a{display:flex;justify-content:space-between;text-decoration:none;color:#0d2138;border:1px solid #d4e0ee;background:#f8fbff;border-radius:11px;padding:13px}.emwh-safe-links b{color:#004cbf}.emwh-tabs{display:flex;gap:8px;margin:0 0 16px;flex-wrap:wrap}.emwh-tabs span,.emwh-tabs a{background:#fff;border:1px solid #d4e0ee;border-radius:999px;padding:9px 13px;font-weight:800;color:#31506e;text-decoration:none}.emwh-tabs a.active{background:#06182b;color:#fff;border-color:#06182b}.emwh-detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.emwh-detail-grid div{background:#f6f9fc;border:1px solid #d4e0ee;border-radius:12px;padding:12px}.emwh-detail-grid small{display:block;color:#66809a;margin-bottom:5px}.emwh-detail-grid b{display:block;word-break:break-word}.emwh-login-note{padding:30px;background:#fff;border:1px solid #ddd}.emwh-search-results{margin-bottom:18px}.emwh-result-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.emwh-result{display:block;text-decoration:none;background:#f6f9fc;border:1px solid #d4e0ee;border-radius:12px;padding:13px;color:#0d2138}.emwh-result small{display:block;color:#2866ad;text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:800}.emwh-result b{display:block;margin:6px 0;word-break:break-word}.emwh-result span{color:#0065ff;font-weight:800}.emwh-result.muted span{color:#6b8199}.company-snapshot{margin-bottom:16px}.emwh-card.center{text-align:center}.emwh-nav-link{display:block} .emwh-nav-link small{display:block;color:#6b8199}.emwh-toolbar{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid #d4e0ee;border-radius:16px;padding:12px;margin-bottom:14px}.emwh-toolbar input,.emwh-toolbar select{height:40px;border:1px solid #ccd9e8;border-radius:10px;background:#f8fbff;padding:0 12px;color:#5a718d}.emwh-toolbar input{min-width:280px;flex:1}.emwh-action{height:40px;border:0;border-radius:10px;background:#06182b;color:#fff;font-weight:800;padding:0 14px}.emwh-action-link{display:inline-flex;align-items:center;text-decoration:none;white-space:nowrap}.emwh-light{height:40px;border:1px solid #ccd9e8;border-radius:10px;background:#fff;color:#31506e;font-weight:800;padding:0 14px}.emwh-readonly-chip{margin-left:auto;background:#d9f9e6;color:#0d813a;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:800}.emwh-notice{background:#e7fff1;border:1px solid #a8efc4;color:#0d813a;border-radius:14px;padding:12px 16px;margin-bottom:14px;font-weight:800}.emwh-notice.warn{background:#fff7e6;border-color:#f1c36b;color:#8a5a00}.emwh-tabs.foundation{margin-bottom:14px}.emwh-tabs.foundation span{background:#f7fbff}.emwh-pipeline.six{grid-template-columns:repeat(6,1fr)}.emwh-form{background:#fff;border:1px solid #d4e0ee;border-radius:16px;padding:18px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.emwh-form label small{display:block;font-weight:800;color:#31506e;margin-bottom:6px}.emwh-form input,.emwh-form textarea,.emwh-form select{width:100%;box-sizing:border-box;border:1px solid #ccd9e8;border-radius:10px;background:#f8fbff;padding:11px;color:#0d2138}.emwh-form textarea{min-height:90px}.emwh-catalog-note{background:#f7fbff;border:1px solid #b9d4f1;border-radius:12px;padding:12px;color:#24425e}.emwh-catalog-note b{display:block;color:#06182b;margin-bottom:5px}.emwh-catalog-note span{display:block;color:#5a718d;line-height:1.45}.emwh-form .wide{grid-column:1/-1}.emwh-health{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.emwh-health div{border:1px solid #d4e0ee;border-radius:12px;padding:12px;background:#f7fbff}.emwh-health div.ok{border-color:#a8efc4;background:#f3fff7}.emwh-health div.pending{border-color:#f1c36b;background:#fffaf0}.emwh-health b{display:block}.emwh-health span{display:inline-block;margin:7px 0 4px;font-weight:800}.emwh-health small{display:block;color:#66809a}.emwh-list{display:flex;flex-direction:column;gap:9px}.emwh-list a{display:flex;justify-content:space-between;gap:12px;text-decoration:none;color:#0d2138;border:1px solid #d4e0ee;border-radius:12px;background:#f8fbff;padding:11px}.emwh-list small{color:#66809a}.emwh-muted{color:#66809a}.emwh-checkbox span{display:flex;align-items:center;gap:8px;height:42px;border:1px solid #ccd9e8;border-radius:10px;background:#f8fbff;padding:0 12px;color:#0d2138}.emwh-checkbox input{width:auto!important;margin:0!important}.emwh-user-create-form .emwh-primary{min-width:210px}.emwh-readonly-top strong{color:#0b7b41!important}
@media(max-width:1200px){.emwh-health{grid-template-columns:repeat(2,1fr)}.emwh-pipeline.six{grid-template-columns:repeat(3,1fr)}.emwh-toolbar{flex-wrap:wrap}.emwh-toolbar input{min-width:220px}}@media(max-width:1200px){.emwh-grid.metrics{grid-template-columns:repeat(3,1fr)}.emwh-two{grid-template-columns:1fr}.emwh-module-grid{grid-template-columns:1fr 1fr}.emwh-grid.four{grid-template-columns:1fr 1fr}}@media(max-width:800px){.emwh-health{grid-template-columns:1fr}.emwh-sidebar{width:90px}.emwh-brand div:not(.emwh-logo),.emwh-side-item small,.emwh-side-item b,.emwh-status small,.emwh-status b{display:none}.emwh-top-title{display:none}.emwh-grid.metrics,.emwh-grid.four,.emwh-module-grid,.emwh-detail-grid{grid-template-columns:1fr}.emwh-content{padding:18px}.emwh-hero{display:block}.emwh-user b{display:none}}
/* V2.5 workspace experience overrides */
.emwh-sidebar{width:300px!important;padding:26px 18px!important}
.emwh-brand{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:10px!important;margin:0 0 28px!important;padding:10px 8px 22px!important;border-bottom:1px solid rgba(170,207,240,.18)}
.emwh-logo{width:72px!important;height:72px!important;border-radius:22px!important;font-size:34px!important;margin:0 auto!important;border:2px solid #d6a84b!important;background:linear-gradient(180deg,#0e3155,#06182b)!important;box-shadow:0 12px 26px rgba(0,0,0,.25),0 0 0 1px rgba(255,255,255,.08) inset!important}
.emwh-brand-text strong{font-size:20px!important;line-height:1!important;letter-spacing:.08em!important;text-transform:uppercase!important}
.emwh-brand-text small{font-size:12px!important;color:#d6a84b!important;letter-spacing:.16em!important;font-weight:900!important;margin-top:7px!important}
.emwh-brand-text em{display:block!important;color:#8eb4d3!important;font-size:11px!important;font-style:normal!important;letter-spacing:.18em!important;text-transform:uppercase!important;margin-top:7px!important}
.emwh-status{padding:16px!important}.emwh-status b{letter-spacing:.08em}.emwh-main{background:#edf3fa}.emwh-topbar{height:74px!important}.emwh-hero{box-shadow:0 8px 24px rgba(14,42,72,.04)}
.emwh-badge.ok{background:#dcfbe8;color:#087634}.emwh-badge.role{background:#eaf2ff;color:#0054c7}.emwh-badge.level{background:#fff1d8;color:#8a5900}.emwh-access-table td{vertical-align:middle}.emwh-canvas-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.emwh-canvas-grid div{background:#f6f9fc;border:1px solid #d4e0ee;border-radius:12px;padding:14px}.emwh-canvas-grid b{display:block}.emwh-canvas-grid small{display:block;color:#66809a;margin-top:5px}
@media(max-width:800px){.emwh-sidebar{width:96px!important}.emwh-logo{width:50px!important;height:50px!important;font-size:24px!important}.emwh-brand-text{display:none!important}.emwh-canvas-grid{grid-template-columns:1fr}}

.emwh-workstrip{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 16px}.emwh-workstrip div{background:#06182b;color:#fff;border-radius:16px;padding:16px;border:1px solid rgba(255,255,255,.08);box-shadow:0 8px 18px rgba(6,24,43,.08)}.emwh-workstrip small{display:block;color:#8eb4d3;text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:900}.emwh-workstrip b{display:block;font-size:18px;margin:8px 0 4px}.emwh-workstrip span{color:#d6e7f7;font-size:12px}.emwh-entity{display:flex;align-items:center;gap:10px}.emwh-entity b{display:block}.emwh-entity small{display:block;color:#6b8199;margin-top:2px;font-size:11px}.emwh-avatar{width:34px;height:34px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:#0b3760;color:#ffd76b;font-weight:900;letter-spacing:.05em;font-size:12px;border:1px solid rgba(214,168,75,.55)}.emwh-actions{position:relative;display:inline-block}.emwh-actions button{width:34px;height:30px;border:1px solid #ccd9e8;background:#fff;border-radius:9px;color:#24425e;font-weight:900;cursor:pointer}.emwh-actions div{display:none;position:absolute;right:0;top:34px;min-width:150px;background:#fff;border:1px solid #d4e0ee;border-radius:12px;box-shadow:0 14px 30px rgba(6,24,43,.16);padding:8px;z-index:5}.emwh-actions:hover div{display:flex;flex-direction:column;gap:2px}.emwh-actions a,.emwh-actions span{display:block;text-decoration:none;color:#17314d;padding:8px 10px;border-radius:8px;font-weight:700}.emwh-actions a:hover,.emwh-actions span:hover{background:#f1f6fb}.emwh-table tbody tr:hover{background:#f8fbff}.emwh-toolbar .emwh-light{min-width:78px}.emwh-card h2{color:#06182b}@media(max-width:1200px){.emwh-workstrip{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.emwh-workstrip{grid-template-columns:1fr}.emwh-actions div{right:auto;left:0}}

/* V2.6 stable UI cleanup */
.emwh-search button{background:#fff!important;color:#31506e!important;border-left:1px solid #ccd9e8!important;border-radius:0!important;height:100%!important;padding:0 18px!important}
.emwh-primary,.emwh-action{background:#0b65d8!important;color:#fff!important;border:1px solid #0b65d8!important;box-shadow:0 6px 14px rgba(11,101,216,.16)!important}
.emwh-light{background:#fff!important;color:#17314d!important;border:1px solid #ccd9e8!important;box-shadow:0 1px 0 rgba(6,24,43,.03)!important}
.emwh-light:hover,.emwh-actions button:hover{background:#f3f7fb!important}
.emwh-actions button{background:transparent!important;border:1px solid transparent!important;color:#31506e!important;width:34px!important;height:30px!important;border-radius:9px!important;font-size:18px!important;line-height:1!important}
.emwh-actions div{min-width:170px!important}.emwh-actions span:last-child{color:#b42318!important}.emwh-toolbar{gap:9px!important}.emwh-help{display:inline-flex;position:relative;align-items:center;justify-content:center;width:16px;height:16px;margin-left:5px;border:1px solid #b8d0ec;border-radius:999px;background:#f4f9ff;color:#1d63b7;font-size:11px;font-weight:900;line-height:1;vertical-align:middle;cursor:help}.emwh-help span{display:none;position:absolute;left:50%;top:22px;transform:translateX(-50%);width:220px;background:#fff;color:#17314d;border:1px solid #d4e0ee;border-radius:10px;box-shadow:0 12px 24px rgba(6,24,43,.14);padding:10px;text-transform:none;letter-spacing:0;font-size:12px;font-weight:600;line-height:1.35;z-index:20}.emwh-help:hover span,.emwh-help:focus span{display:block}.emwh-card.emwh-empty{background:#fff!important}.emwh-side-item .emwh-help{margin-left:auto}


/* V3.0.1 Smart Help System */
.emwh-menu-btn{width:38px;height:38px;border:0;background:#fff;color:#0b2a4a;font-size:22px;border-radius:10px;cursor:pointer}
.emwh-topbar{gap:16px!important;position:relative;z-index:30}.emwh-top-title{display:none!important}.emwh-search{max-width:520px!important;flex:1!important}.emwh-help-toggle{height:42px;min-width:132px;border:1px solid #d4e0ee;background:#fff;border-radius:12px;display:flex;align-items:center;gap:8px;justify-content:center;color:#0b2a4a;font-weight:900;cursor:pointer;box-shadow:0 6px 18px rgba(6,24,43,.06)}.emwh-help-toggle span{width:22px;height:22px;border-radius:999px;border:1px solid #b8d0ec;display:inline-flex;align-items:center;justify-content:center;color:#0b65d8}.emwh-help-toggle i{width:44px;height:24px;background:#29b765;border-radius:999px;position:relative;display:inline-block}.emwh-help-toggle i:after{content:"";position:absolute;width:18px;height:18px;border-radius:50%;background:#fff;right:3px;top:3px;box-shadow:0 2px 4px rgba(0,0,0,.15)}.emwh-help-off .emwh-help-toggle i{background:#b8c7d8}.emwh-help-off .emwh-help-toggle i:after{right:23px}.emwh-help-off .emwh-help-toggle b{color:#667f99}.emwh-readonly-top{min-width:210px;background:#fff;border:1px solid #d4e0ee;border-radius:12px;padding:9px 12px;box-shadow:0 6px 18px rgba(6,24,43,.06);line-height:1.2}.emwh-readonly-top strong{display:block;color:#09843d;font-size:12px;letter-spacing:.04em}.emwh-readonly-top small{color:#647b92}.emwh-user{margin-left:auto}.emwh-version{display:none!important}
.emwh-smart-help{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:10px;margin:-4px 0 14px}.emwh-smart-help div{background:#fff;border:1px solid #d4e0ee;border-radius:12px;padding:11px 13px;box-shadow:0 10px 24px rgba(6,24,43,.06);position:relative}.emwh-smart-help div:before{content:"";position:absolute;top:-7px;left:28px;width:8px;height:8px;border-radius:50%;background:#0b65d8;box-shadow:0 0 0 3px #eaf2ff}.emwh-smart-help b{display:block;color:#17314d;font-size:12px;margin-bottom:4px}.emwh-smart-help span{display:block;color:#57708a;font-size:12px;line-height:1.35}.emwh-help-off .emwh-smart-help,.emwh-help-off .emwh-release-notes{display:none!important}.emwh-help-off .emwh-help{display:inline-flex!important}.emwh-help-off .emwh-help span{display:none!important}.emwh-help-off .emwh-help:hover span,.emwh-help-off .emwh-help:focus span{display:block!important}
.emwh-release-notes{background:#fff;border:1px solid #d4e0ee;border-radius:16px;padding:14px 16px;margin:18px 0 0;box-shadow:0 8px 24px rgba(6,24,43,.05)}.emwh-release-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:0}.emwh-release-grid div{display:grid;grid-template-columns:36px 1fr;column-gap:9px;padding:8px 12px;border-right:1px solid #e3ebf4}.emwh-release-grid div:last-child{border-right:0}.emwh-release-grid i{grid-row:1/3;width:30px;height:30px;border-radius:50%;background:#dff8e9;color:#0a7d3a;display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:900}.emwh-release-grid b{font-size:12px;color:#12314f}.emwh-release-grid span{font-size:11px;color:#607a93;line-height:1.35}.emwh-table th{white-space:nowrap}.emwh-table th .emwh-help{margin-left:6px}.emwh-help{z-index:25}.emwh-help span{opacity:0;display:block!important;visibility:hidden;transform:translateX(-50%) translateY(4px);transition:opacity .15s ease,transform .15s ease,visibility .15s ease;pointer-events:none}.emwh-help:hover span,.emwh-help:focus span{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}.emwh-actions:hover div{display:none!important}.emwh-actions.open div{display:flex!important;flex-direction:column;gap:2px}.emwh-actions div{min-width:220px!important;z-index:60!important}.emwh-actions a,.emwh-actions span{font-size:12px}.emwh-actions span:last-child{color:#d32323!important}.emwh-toolbar{display:grid!important;grid-template-columns:auto 1fr repeat(4,minmax(120px,150px)) auto auto auto auto;align-items:center}.emwh-toolbar .emwh-readonly-chip{grid-column:auto;margin-left:0}.emwh-toolbar input{min-width:0!important}.emwh-action{height:44px!important;border-radius:11px!important}.emwh-light{height:44px!important;border-radius:11px!important;text-transform:none!important;letter-spacing:.06em}.emwh-card .emwh-tag + h2{font-size:22px}.emwh-card{transition:box-shadow .15s ease,transform .15s ease}.emwh-table tbody tr{transition:background .12s ease}.emwh-table tbody tr:hover{background:#f4f9ff!important}
@media(max-width:1400px){.emwh-release-grid{grid-template-columns:repeat(3,1fr)}.emwh-release-grid div{border-bottom:1px solid #e3ebf4}.emwh-smart-help{grid-template-columns:repeat(2,1fr)}.emwh-toolbar{grid-template-columns:1fr 1fr 1fr!important}.emwh-readonly-top{display:none}}@media(max-width:900px){.emwh-help-toggle b{display:none}.emwh-help-toggle{min-width:auto}.emwh-smart-help{grid-template-columns:1fr}.emwh-release-grid{grid-template-columns:1fr}.emwh-topbar{padding:0 12px!important}.emwh-search{max-width:none!important}}


/* V3.0.2 Smart Help Toggle Fix */
.emwh-app{top:32px!important;height:calc(100vh - 32px)!important;inset:32px 0 0 0!important;}
.emwh-help-floating{position:fixed!important;top:44px!important;left:50%!important;transform:translateX(-50%)!important;z-index:100010!important;height:42px!important;min-width:142px!important;}
.emwh-help-off .emwh-smart-help,.emwh-help-off .emwh-release-notes{display:none!important;}
.emwh-help-off .emwh-help-floating,.emwh-help-on .emwh-help-floating{display:flex!important;}
.emwh-help-off .emwh-help-toggle i{background:#b8c7d8!important;}
.emwh-help-off .emwh-help-toggle i:after{right:23px!important;}
.emwh-help-on .emwh-help-toggle i:after{right:3px!important;}
.emwh-help-off .emwh-readonly-top .emwh-help span{display:none!important;}

/* V3.0.3 Smart Help integrated fix */
.emwh-help-floating{display:none!important;visibility:hidden!important;pointer-events:none!important}
.emwh-topbar{display:flex!important;align-items:center!important;position:sticky!important;top:0!important;z-index:80!important;background:#fff!important}
.emwh-top-actions{margin-left:auto;display:flex;align-items:center;gap:14px;white-space:nowrap}
.emwh-help-toggle{position:static!important;transform:none!important;background:#fff!important;color:#0b2a4a!important;box-shadow:0 6px 18px rgba(6,24,43,.06)!important}
.emwh-help-on .emwh-help-toggle{border-color:#b9d8f7!important;background:#f8fbff!important}
.emwh-help-off .emwh-smart-help,.emwh-help-off .emwh-release-notes{display:none!important}
.emwh-help-off .emwh-help span{display:none!important}
.emwh-help-off .emwh-help:hover span,.emwh-help-off .emwh-help:focus span{display:block!important}
.emwh-help-on .emwh-smart-help{display:grid!important}
.emwh-help-on .emwh-release-notes{display:block!important}
.emwh-smart-help div{transition:opacity .15s ease,transform .15s ease,box-shadow .15s ease}
.emwh-smart-help div:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(6,24,43,.10)}
@media(max-width:1100px){.emwh-top-actions .emwh-user{display:none}.emwh-readonly-top{display:none!important}}


/* V3.1.0 Work Hub Completion */
.emwh-status small{line-height:1.35}
.emwh-access-toolbar{grid-template-columns:auto minmax(260px,1.4fr) repeat(4,minmax(110px,.55fr)) auto auto auto auto auto!important;position:sticky;top:78px;z-index:35;box-shadow:0 10px 26px rgba(6,24,43,.04)}
.emwh-access-toolbar input,.emwh-access-toolbar select{height:42px!important;background:#fff!important;color:#17314d!important}
.emwh-access-toolbar input::placeholder{color:#9aacbf}.emwh-access-toolbar select{cursor:pointer}.emwh-access-toolbar .emwh-light{height:42px!important}.emwh-access-clear{text-transform:none!important}
.emwh-filter-state{display:inline-block;margin-left:10px;color:#6a8199;font-weight:700;font-size:12px;text-transform:none;letter-spacing:0}.emwh-help-off .emwh-smart-help,.emwh-help-off .emwh-release-notes{display:none!important}.emwh-help-on .emwh-smart-help{display:grid!important}.emwh-help-on .emwh-release-notes{display:block!important}.emwh-help-toggle{min-width:146px!important}.emwh-help-toggle span{font-size:0!important}.emwh-help-toggle span:after{content:"?";font-size:13px}.emwh-actions button{font-size:18px!important}.emwh-actions div{right:0!important;top:32px!important;min-width:235px!important}.emwh-actions a,.emwh-actions span{padding:10px 12px!important}.emwh-table-wrap{box-shadow:0 8px 28px rgba(6,24,43,.04)}.emwh-table tbody tr[style*="display: none"]{display:none!important}.emwh-table tbody tr:hover td{background:#f5faff!important}.emwh-readonly-top .emwh-help{vertical-align:middle}.emwh-card .emwh-tag{letter-spacing:.16em}.emwh-release-notes{position:sticky;bottom:0;z-index:25}.emwh-release-grid div:hover{background:#f8fbff}
@media(max-width:1500px){.emwh-access-toolbar{grid-template-columns:1fr 1fr 1fr!important}.emwh-access-toolbar .emwh-readonly-chip{display:none}.emwh-access-toolbar .emwh-action{grid-column:1/-1}.emwh-access-toolbar input{min-width:0!important}}



/* V3.1.1 Stable Fix - dropdowns, help and footer */
.emwh-access-toolbar select,
.emwh-access-toolbar select option,
.emwh-toolbar select,
.emwh-toolbar select option{
    color:#102a43!important;
    background:#ffffff!important;
    -webkit-text-fill-color:#102a43!important;
}
.emwh-access-toolbar select option:checked,
.emwh-access-toolbar select option:hover{
    color:#ffffff!important;
    background:#0f6bdc!important;
    -webkit-text-fill-color:#ffffff!important;
}
.emwh-access-toolbar select:focus,
.emwh-access-toolbar input:focus{
    border-color:#0f6bdc!important;
    box-shadow:0 0 0 3px rgba(15,107,220,.12)!important;
    outline:none!important;
}
.emwh-help-toggle{
    position:static!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    min-width:136px!important;
    height:38px!important;
    border:1px solid #cfe1f5!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#0b2a4a!important;
    box-shadow:0 6px 18px rgba(6,24,43,.06)!important;
}
.emwh-help-toggle b{color:#0b2a4a!important;letter-spacing:.08em!important;text-transform:uppercase!important;font-size:11px!important;}
.emwh-help-toggle i{display:block!important;width:38px!important;height:20px!important;border-radius:999px!important;background:#e2eaf3!important;position:relative!important;}
.emwh-help-toggle i:after{content:""!important;position:absolute!important;top:3px!important;width:14px!important;height:14px!important;border-radius:999px!important;background:#fff!important;box-shadow:0 1px 4px rgba(0,0,0,.18)!important;transition:right .16s ease!important;}
.emwh-help-on .emwh-help-toggle i{background:#31b779!important;}
.emwh-help-on .emwh-help-toggle i:after{right:3px!important;}
.emwh-help-off .emwh-help-toggle i:after{right:21px!important;}
.emwh-help-off .emwh-smart-help,
.emwh-help-off .emwh-release-notes{display:none!important;}
.emwh-help-on .emwh-smart-help{display:grid!important;}
.emwh-help-on .emwh-release-notes{display:block!important;}
.emwh-release-notes{position:relative!important;bottom:auto!important;z-index:auto!important;margin-top:18px!important;}
.emwh-table-wrap{overflow:visible!important;}
.emwh-actions div{z-index:120!important;}
.emwh-topbar{gap:16px!important;}
.emwh-top-actions{margin-left:auto!important;display:flex!important;align-items:center!important;gap:12px!important;}
@media(max-width:1100px){.emwh-top-actions{gap:8px!important}.emwh-help-toggle{min-width:118px!important}.emwh-help-toggle b{font-size:10px!important}}


/* V3.2.2 Stable Workspace - final topbar/help stabilization */
body:has(.emwh-app) .emwh-topbar{display:flex!important;}
.emwh-topbar{height:68px!important;min-height:68px!important;background:#fff!important;border-bottom:1px solid #d6e1ef!important;align-items:center!important;gap:16px!important;padding:0 24px!important;box-sizing:border-box!important;position:sticky!important;top:0!important;z-index:90!important;}
.emwh-menu-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;border:0!important;background:transparent!important;color:#0b2a4a!important;font-size:20px!important;cursor:pointer!important;}
.emwh-topbar .emwh-search{display:flex!important;max-width:520px!important;flex:1 1 520px!important;height:42px!important;background:#fff!important;border:1px solid #cfddec!important;border-radius:13px!important;align-items:center!important;overflow:hidden!important;}
.emwh-topbar .emwh-search input{display:block!important;color:#17314d!important;background:transparent!important;}
.emwh-topbar .emwh-search button{background:#f1f5fb!important;color:#6a7f95!important;border:0!important;border-radius:8px!important;margin-right:8px!important;padding:5px 8px!important;font-size:11px!important;}
.emwh-top-actions{margin-left:auto!important;display:flex!important;align-items:center!important;gap:12px!important;white-space:nowrap!important;}
.emwh-help-toggle{display:inline-flex!important;visibility:visible!important;opacity:1!important;position:static!important;align-items:center!important;justify-content:center!important;gap:9px!important;height:40px!important;min-width:146px!important;border:1px solid #cfe1f5!important;border-radius:13px!important;background:#fff!important;color:#0b2a4a!important;box-shadow:0 6px 18px rgba(6,24,43,.07)!important;cursor:pointer!important;}
.emwh-help-toggle span{font-size:0!important;width:22px!important;height:22px!important;border-radius:50%!important;border:1px solid #b8d0ec!important;color:#0b65d8!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
.emwh-help-toggle span:after{content:'?'!important;font-size:13px!important;font-weight:900!important;}
.emwh-help-toggle b{display:inline!important;font-size:11px!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#0b2a4a!important;}
.emwh-help-toggle i{display:block!important;width:42px!important;height:22px!important;border-radius:999px!important;background:#31b779!important;position:relative!important;transition:background .18s ease!important;}
.emwh-help-toggle i:after{content:''!important;position:absolute!important;top:3px!important;width:16px!important;height:16px!important;border-radius:999px!important;background:#fff!important;box-shadow:0 1px 4px rgba(0,0,0,.18)!important;right:3px!important;transition:right .16s ease!important;}
.emwh-help-off .emwh-help-toggle i{background:#b8c7d8!important;}
.emwh-help-off .emwh-help-toggle i:after{right:23px!important;}
.emwh-help-off .emwh-smart-help,.emwh-help-off .emwh-release-notes{display:none!important;}
.emwh-help-on .emwh-smart-help{display:grid!important;}
.emwh-help-on .emwh-release-notes{display:block!important;}
.emwh-release-notes{position:relative!important;bottom:auto!important;z-index:auto!important;margin-top:18px!important;}
.emwh-content{padding-top:22px!important;}
.emwh-hero{margin-top:0!important;}
.emwh-access-toolbar{position:relative!important;top:auto!important;z-index:20!important;}

.emwh-form select.emwh-select{cursor:pointer!important;background-color:#fff!important;color:#0d2138!important;-webkit-text-fill-color:#0d2138!important;appearance:auto!important;-webkit-appearance:menulist!important;padding-right:34px!important;font-weight:700!important}
.emwh-form select.emwh-select option{background:#fff!important;color:#0d2138!important;-webkit-text-fill-color:#0d2138!important}
.emwh-form select.emwh-select:focus{outline:2px solid rgba(11,101,216,.18)!important;border-color:#0b65d8!important;box-shadow:0 0 0 3px rgba(11,101,216,.10)!important}

.emwh-access-toolbar select,.emwh-access-toolbar select option{color:#102a43!important;background:#fff!important;-webkit-text-fill-color:#102a43!important;}
.emwh-access-toolbar select option:checked{background:#0f6bdc!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
.emwh-actions:hover div{display:none!important;}
.emwh-actions.open div{display:flex!important;flex-direction:column!important;}
@media(max-width:1200px){.emwh-topbar{padding:0 14px!important}.emwh-readonly-top,.emwh-user{display:none!important}.emwh-help-toggle{min-width:128px!important}.emwh-topbar .emwh-search{max-width:none!important;}}


/* V3.2.4 Contact Catalogs + Dropdown Fix */
.emwh-sidebar{padding:16px 14px!important;}
.emwh-brand{margin-bottom:18px!important;}
.emwh-sidebar nav{gap:6px!important;}
.emwh-side-item{position:relative!important;gap:10px!important;padding:10px 11px!important;min-height:44px!important;}
.emwh-side-text{min-width:0!important;flex:1 1 auto!important;}
.emwh-side-item .emwh-help{flex:0 0 auto!important;margin-left:auto!important;width:17px!important;height:17px!important;border-color:rgba(202,224,247,.75)!important;background:rgba(255,255,255,.08)!important;color:#dcefff!important;}
.emwh-side-item .emwh-help > span{left:auto!important;right:0!important;top:26px!important;transform:none!important;width:240px!important;background:#ffffff!important;color:#17314d!important;border-color:#d4e0ee!important;text-align:left!important;}
.emwh-side-item .emwh-help:hover > span,.emwh-side-item .emwh-help:focus > span{transform:none!important;}
.emwh-topbar{height:60px!important;min-height:60px!important;padding:0 18px!important;}
.emwh-topbar .emwh-search{height:38px!important;}
.emwh-menu-btn{width:34px!important;height:34px!important;}
.emwh-help-toggle{height:36px!important;min-width:138px!important;border-radius:12px!important;}
.emwh-readonly-top{padding:7px 10px!important;}
.emwh-content{padding:14px 18px 18px!important;}
.emwh-hero{padding:18px 20px!important;margin-bottom:14px!important;min-height:auto!important;}
.emwh-hero h1{font-size:clamp(26px,3vw,42px)!important;margin:2px 0 6px!important;}
.emwh-hero p{margin:0!important;max-width:850px!important;}
.emwh-card{margin-top:0!important;}
.emwh-smart-help{margin:0 0 12px!important;}
.emwh-release-notes{margin-top:12px!important;}
html.emwh-help-off .emwh-help:not(.emwh-help-toggle),
body.emwh-help-off .emwh-help:not(.emwh-help-toggle),
.emwh-app.emwh-help-off .emwh-help:not(.emwh-help-toggle){display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
html.emwh-help-off .emwh-smart-help,
html.emwh-help-off .emwh-release-notes,
body.emwh-help-off .emwh-smart-help,
body.emwh-help-off .emwh-release-notes,
.emwh-app.emwh-help-off .emwh-smart-help,
.emwh-app.emwh-help-off .emwh-release-notes{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
html.emwh-help-off .emwh-help span,
html.emwh-help-off .emwh-help:hover span,
html.emwh-help-off .emwh-help:focus span,
body.emwh-help-off .emwh-help span,
body.emwh-help-off .emwh-help:hover span,
body.emwh-help-off .emwh-help:focus span,
.emwh-app.emwh-help-off .emwh-help span,
.emwh-app.emwh-help-off .emwh-help:hover span,
.emwh-app.emwh-help-off .emwh-help:focus span{display:none!important;visibility:hidden!important;opacity:0!important;}
html.emwh-help-on .emwh-side-item .emwh-help,
body.emwh-help-on .emwh-side-item .emwh-help,
.emwh-app.emwh-help-on .emwh-side-item .emwh-help{display:inline-flex!important;visibility:visible!important;opacity:1!important;}
html.emwh-help-on .emwh-smart-help,
body.emwh-help-on .emwh-smart-help,
.emwh-app.emwh-help-on .emwh-smart-help{display:grid!important;visibility:visible!important;opacity:1!important;}
html.emwh-help-on .emwh-release-notes,
body.emwh-help-on .emwh-release-notes,
.emwh-app.emwh-help-on .emwh-release-notes{display:block!important;visibility:visible!important;opacity:1!important;}
@media(max-width:1200px){.emwh-topbar{height:58px!important;min-height:58px!important;padding:0 12px!important}.emwh-content{padding:12px!important}.emwh-side-item .emwh-help > span{right:-10px!important;width:220px!important}}


/* V3.2.4.3 Dropdown Visibility Fix - force readable native selects */
.emwh-app,
.emwh-app *{color-scheme:light!important;}
.emwh-form select,
.emwh-form select.emwh-select,
.emwh-form select.emwh-select:focus,
.emwh-form select.emwh-select:active,
.emwh-toolbar select,
.emwh-access-toolbar select{
  background:#ffffff!important;
  background-color:#ffffff!important;
  color:#0d2138!important;
  -webkit-text-fill-color:#0d2138!important;
  border:1px solid #b9cce1!important;
  opacity:1!important;
  text-shadow:none!important;
  box-shadow:none;
  appearance:auto!important;
  -webkit-appearance:menulist!important;
}
.emwh-form select option,
.emwh-form select.emwh-select option,
.emwh-toolbar select option,
.emwh-access-toolbar select option{
  background:#ffffff!important;
  background-color:#ffffff!important;
  color:#0d2138!important;
  -webkit-text-fill-color:#0d2138!important;
  opacity:1!important;
  text-shadow:none!important;
}
.emwh-form select option:checked,
.emwh-form select.emwh-select option:checked,
.emwh-toolbar select option:checked,
.emwh-access-toolbar select option:checked{
  background:#dbeafe!important;
  background-color:#dbeafe!important;
  color:#06182b!important;
  -webkit-text-fill-color:#06182b!important;
}
.emwh-form select:focus,
.emwh-toolbar select:focus,
.emwh-access-toolbar select:focus{
  outline:2px solid rgba(11,101,216,.18)!important;
  border-color:#0b65d8!important;
  box-shadow:0 0 0 3px rgba(11,101,216,.10)!important;
}
.emwh-form select::-ms-value{background:#ffffff!important;color:#0d2138!important;}


/* V3.2.4.4 Country Select Black Field Fix - force collapsed dropdowns to render as light UI */
.emwh-app,
.emwh-app *,
.emwh-form,
.emwh-form *{
  color-scheme: light !important;
}
.emwh-form label select,
.emwh-form select,
.emwh-form select.emwh-select,
.emwh-form select[name="country"],
.emwh-form select[name="company_activity"],
.emwh-form select[name="company_type"],
.emwh-form select[name="status"],
.emwh-form select[name="language"]{
  display:block!important;
  width:100%!important;
  min-height:42px!important;
  background-color:#ffffff!important;
  background:#ffffff!important;
  color:#0d2138!important;
  -webkit-text-fill-color:#0d2138!important;
  border:1px solid #b9cce1!important;
  border-radius:10px!important;
  box-shadow:none!important;
  opacity:1!important;
  text-shadow:none!important;
  filter:none!important;
  font-weight:700!important;
  cursor:pointer!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  -moz-appearance:none!important;
  padding:11px 38px 11px 12px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20'%3E%3Cpath fill='%230d2138' d='M5.5 7.5 10 12l4.5-4.5z'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 12px center!important;
  background-size:16px 16px!important;
}
.emwh-form select:focus,
.emwh-form select.emwh-select:focus,
.emwh-form select[name="country"]:focus{
  background-color:#ffffff!important;
  background:#ffffff!important;
  color:#0d2138!important;
  -webkit-text-fill-color:#0d2138!important;
  border-color:#0b65d8!important;
  outline:0!important;
  box-shadow:0 0 0 3px rgba(11,101,216,.12)!important;
}
.emwh-form select option,
.emwh-form select.emwh-select option,
.emwh-form select[name="country"] option{
  background:#ffffff!important;
  background-color:#ffffff!important;
  color:#0d2138!important;
  -webkit-text-fill-color:#0d2138!important;
  opacity:1!important;
  text-shadow:none!important;
  font-weight:600!important;
}
.emwh-form select option:checked,
.emwh-form select option:hover,
.emwh-form select option:focus{
  background:#eaf3ff!important;
  background-color:#eaf3ff!important;
  color:#06182b!important;
  -webkit-text-fill-color:#06182b!important;
}
.emwh-form select:-internal-list-box,
.emwh-form select:-internal-list-box option{
  background:#ffffff!important;
  color:#0d2138!important;
}


/* V3.3.0 Company Workspace 360 Foundation */
.emwh-company-actions{margin:14px 0 14px!important}
.emwh-company-actions h2{margin:4px 0 12px!important}
.emwh-action-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:12px}
.emwh-quick{display:flex;flex-direction:column;gap:6px;min-height:92px;padding:14px 15px;border:1px solid #d4e0ee;border-radius:14px;background:#f8fbff;text-decoration:none;color:#0d2138;box-shadow:0 6px 18px rgba(6,24,43,.04)}
.emwh-quick:hover{background:#ffffff;border-color:#a9cef5;box-shadow:0 10px 24px rgba(6,24,43,.08)}
.emwh-quick b{font-size:14px;color:#0b2a4a}.emwh-quick small{font-size:12px;line-height:1.35;color:#637b95}.emwh-quick em{margin-top:auto;font-style:normal;font-size:12px;font-weight:900;color:#0b65d8}.emwh-quick.disabled{opacity:.58;cursor:not-allowed}.emwh-quick.disabled em{color:#8fa0b2}
.company-snapshot.emwh-grid{grid-template-columns:repeat(7,minmax(130px,1fr))}
@media(max-width:1300px){.emwh-action-grid{grid-template-columns:repeat(2,1fr)}.company-snapshot.emwh-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:780px){.emwh-action-grid{grid-template-columns:1fr}.company-snapshot.emwh-grid{grid-template-columns:1fr}}


/* V3.3.0.4 Company Workspace Clean View */
.emwh-company-clean .emwh-detail-grid{grid-template-columns:repeat(4,minmax(180px,1fr))!important;}
.emwh-company-clean .emwh-detail-grid div{min-height:62px!important;background:#f8fbff!important;}
.emwh-company-clean .emwh-detail-grid small{text-transform:uppercase!important;letter-spacing:.10em!important;font-weight:800!important;color:#506b86!important;}
.emwh-company-clean .emwh-detail-grid b{font-size:13px!important;color:#102a43!important;}
.emwh-toolbar select,
.emwh-toolbar select:focus,
.emwh-toolbar select:active,
.emwh-toolbar select[name="country"],
.emwh-toolbar select[name="relationship"],
.emwh-toolbar select[name="activity"],
.emwh-toolbar select[name="status"]{
  background-color:#ffffff!important;
  background:#ffffff!important;
  color:#0d2138!important;
  -webkit-text-fill-color:#0d2138!important;
  border:1px solid #b9cce1!important;
  border-radius:10px!important;
  box-shadow:none!important;
  opacity:1!important;
  text-shadow:none!important;
  filter:none!important;
  font-weight:700!important;
  cursor:pointer!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  -moz-appearance:none!important;
  padding:0 38px 0 12px!important;
  color-scheme:light!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20'%3E%3Cpath fill='%230d2138' d='M5.5 7.5 10 12l4.5-4.5z'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 12px center!important;
  background-size:16px 16px!important;
}
.emwh-toolbar select option{background:#ffffff!important;color:#0d2138!important;-webkit-text-fill-color:#0d2138!important;}
.emwh-toolbar select option:checked{background:#eaf3ff!important;color:#06182b!important;-webkit-text-fill-color:#06182b!important;}
.emwh-toolbar select:focus{border-color:#0b65d8!important;box-shadow:0 0 0 3px rgba(11,101,216,.12)!important;outline:0!important;}
@media(max-width:1100px){.emwh-company-clean .emwh-detail-grid{grid-template-columns:repeat(2,1fr)!important;}}
@media(max-width:720px){.emwh-company-clean .emwh-detail-grid{grid-template-columns:1fr!important;}}


/* V3.3.4 KYC intake bridge */
.emwh-actions a[target="_blank"]:after,.emwh-safe-links a[target="_blank"] b:after{content:"";}
.emwh-app a[target="_blank"]{cursor:alias;}

/* V4.0.2 Editing Foundation */
.emwh-edit-actions{display:flex;gap:10px;align-items:center;margin:0 0 14px!important;flex-wrap:wrap}
.emwh-edit-form .emwh-detail-grid label,.emwh-kyc-action-form label{display:grid;gap:6px}
.emwh-edit-form input,.emwh-edit-form select,.emwh-edit-form textarea,.emwh-kyc-action-form select,.emwh-kyc-action-form textarea{width:100%;border:1px solid #d6e3f3;border-radius:10px;background:#fff!important;color:#0d2138!important;-webkit-text-fill-color:#0d2138!important;padding:10px;font-weight:700}
.emwh-edit-form textarea,.emwh-kyc-action-form textarea{min-height:78px;resize:vertical}
.emwh-owner-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.emwh-owner-row{border:1px solid #d6e3f3;border-radius:14px;background:#f8fbff;padding:12px;display:grid;gap:8px}
.emwh-ownership-total{margin-top:12px;border-radius:12px;padding:10px 12px;border:1px solid #d6e3f3;background:#f8fbff;display:grid;gap:3px}
.emwh-ownership-total.ok{border-color:#b7efcc;background:#ecfdf5;color:#065f46}
.emwh-ownership-total.warn{border-color:#fed7aa;background:#fff7ed;color:#9a3412}
.emwh-kyc-action-form{display:grid;grid-template-columns:260px minmax(0,1fr);gap:12px;align-items:end}
.emwh-kyc-action-form .wide{grid-column:auto}
.emwh-kyc-buttons{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.emwh-mini-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #bfdbfe;border-radius:999px;padding:7px 10px;background:#fff;color:#0b5bd3;font-weight:800;text-decoration:none}.emwh-danger-mini{border:1px solid #fecaca;background:#fff1f2;color:#991b1b;border-radius:999px;padding:7px 10px;font-weight:800;cursor:pointer}.emwh-inline-link-form{grid-template-columns:2fr 1fr 1fr auto;align-items:end;margin-top:14px}.emwh-action-row{display:flex;gap:10px;margin:12px 0}
.emwh-danger{border:0;border-radius:10px;background:#7f1d1d;color:#fff!important;padding:11px 14px;font-weight:950;text-transform:uppercase;letter-spacing:.04em;cursor:pointer}
.emwh-delete-form{margin-top:12px}
@media(max-width:900px){.emwh-owner-edit-grid,.emwh-kyc-action-form{grid-template-columns:1fr}.emwh-kyc-action-form .wide{grid-column:1/-1}}
.emwh-owner-toolbar{display:flex;gap:12px;align-items:center;margin:12px 0;flex-wrap:wrap}.emwh-owner-toolbar span{font-size:12px;color:#637b95;font-weight:700}.emwh-owner-table-wrap{overflow:auto;border:1px solid #d6e3f3;border-radius:14px;background:#fff}.emwh-owner-table{min-width:1180px;margin:0}.emwh-owner-table input,.emwh-owner-table select{min-height:38px;padding:8px!important}.emwh-owner-table td,.emwh-owner-table th{vertical-align:middle}.emwh-ownership-total.bad{border-color:#fecaca;background:#fef2f2;color:#991b1b}.emwh-ownership-form button[disabled]{opacity:.45;cursor:not-allowed}

/* V4.0.3.1 Ownership Manager visibility + redirect fix */
.emwh-edit-form label small,
.emwh-ownership-form label small,
.emwh-owner-table th,
.emwh-owner-table small{
  color:#294763!important;
  -webkit-text-fill-color:#294763!important;
  opacity:1!important;
  visibility:visible!important;
  text-shadow:none!important;
}
.emwh-edit-form select,
.emwh-ownership-form select,
.emwh-owner-table select,
.emwh-owner-table option{
  background:#ffffff!important;
  color:#0d2138!important;
  -webkit-text-fill-color:#0d2138!important;
  color-scheme:light!important;
  opacity:1!important;
}
.emwh-owner-table input::placeholder{color:#6b7f95!important;opacity:1!important}
.emwh-owner-table .emwh-light{white-space:nowrap}


/* V4.0.3.2 Global Dropdown Visibility Fix - applies to every select in Work Hub */
.emwh-app select,
.emwh-app select.emwh-select,
.emwh-app .emwh-form select,
.emwh-app .emwh-edit-form select,
.emwh-app .emwh-toolbar select,
.emwh-app .emwh-owner-table select,
.emwh-app .emwh-access-toolbar select{
  background-color:#ffffff!important;
  background:#ffffff!important;
  color:#0d2138!important;
  -webkit-text-fill-color:#0d2138!important;
  border:1px solid #b9cce1!important;
  opacity:1!important;
  text-shadow:none!important;
  filter:none!important;
  color-scheme:light!important;
}
.emwh-app select:disabled{
  background-color:#f8fbff!important;
  color:#294763!important;
  -webkit-text-fill-color:#294763!important;
  opacity:1!important;
}
.emwh-app select option,
.emwh-app select optgroup{
  background-color:#ffffff!important;
  background:#ffffff!important;
  color:#0d2138!important;
  -webkit-text-fill-color:#0d2138!important;
  opacity:1!important;
  text-shadow:none!important;
  filter:none!important;
  font-weight:700!important;
}
.emwh-app select option:checked,
.emwh-app select option:hover,
.emwh-app select option:focus,
.emwh-app select option:active{
  background-color:#eaf3ff!important;
  background:#eaf3ff!important;
  color:#06182b!important;
  -webkit-text-fill-color:#06182b!important;
}
.emwh-app label small,
.emwh-app .emwh-detail-grid small,
.emwh-app .emwh-form label small,
.emwh-app .emwh-edit-form label small{
  color:#294763!important;
  -webkit-text-fill-color:#294763!important;
  opacity:1!important;
  visibility:visible!important;
}


/* V4.0.3.3 Global Select Readability Fix - avoid invisible native popup in Chrome/Windows */
.emwh-app select,
.emwh-app select option,
.emwh-app select optgroup{
  color:#071d33!important;
  -webkit-text-fill-color:#071d33!important;
  background:#ffffff!important;
  background-color:#ffffff!important;
  opacity:1!important;
  text-shadow:none!important;
  filter:none!important;
  font-weight:700!important;
}
.emwh-app select option:checked,
.emwh-app select option:hover,
.emwh-app select option:focus{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  background:#0b65d8!important;
  background-color:#0b65d8!important;
}
.emwh-app select.emwh-select-expanded{
  position:relative!important;
  z-index:100000!important;
  height:auto!important;
  min-height:42px!important;
  max-height:286px!important;
  overflow-y:auto!important;
  color:#071d33!important;
  -webkit-text-fill-color:#071d33!important;
  background:#ffffff!important;
  border:2px solid #0b65d8!important;
  box-shadow:0 14px 34px rgba(6,24,43,.18)!important;
}
.emwh-app select.emwh-select-expanded option{
  min-height:28px!important;
  padding:8px 10px!important;
  color:#071d33!important;
  -webkit-text-fill-color:#071d33!important;
  background:#ffffff!important;
}
.emwh-app select.emwh-select-expanded option:checked{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  background:#0b65d8!important;
}

/* V4.0.3.5 KYC action block visual alignment */
.emwh-kyc-actions{padding:18px 18px 16px!important}
.emwh-kyc-action-layout{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important;align-items:end!important}
.emwh-kyc-action-form{display:grid!important;grid-template-columns:260px minmax(420px,1fr) auto!important;gap:12px!important;align-items:end!important;margin:0!important}
.emwh-kyc-action-form label small{display:block!important;color:#31506e!important;font-weight:900!important;letter-spacing:.04em!important;margin-bottom:7px!important}
.emwh-kyc-action-form select{height:44px!important}
.emwh-kyc-action-form textarea{height:58px!important;min-height:58px!important}
.emwh-kyc-buttons{display:flex!important;gap:10px!important;align-items:center!important;justify-content:flex-start!important;white-space:nowrap!important}
.emwh-kyc-buttons .emwh-primary,.emwh-kyc-buttons .emwh-light,.emwh-kyc-delete-form .emwh-mini-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #bfdbfe;border-radius:999px;padding:7px 10px;background:#fff;color:#0b5bd3;font-weight:800;text-decoration:none}.emwh-danger-mini{border:1px solid #fecaca;background:#fff1f2;color:#991b1b;border-radius:999px;padding:7px 10px;font-weight:800;cursor:pointer}.emwh-inline-link-form{grid-template-columns:2fr 1fr 1fr auto;align-items:end;margin-top:14px}.emwh-action-row{display:flex;gap:10px;margin:12px 0}
.emwh-danger{height:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:11px!important;margin:0!important;line-height:1!important}
.emwh-kyc-delete-form{margin:0!important;display:flex!important;align-items:end!important;justify-content:flex-end!important}
.emwh-kyc-delete-form .emwh-mini-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #bfdbfe;border-radius:999px;padding:7px 10px;background:#fff;color:#0b5bd3;font-weight:800;text-decoration:none}.emwh-danger-mini{border:1px solid #fecaca;background:#fff1f2;color:#991b1b;border-radius:999px;padding:7px 10px;font-weight:800;cursor:pointer}.emwh-inline-link-form{grid-template-columns:2fr 1fr 1fr auto;align-items:end;margin-top:14px}.emwh-action-row{display:flex;gap:10px;margin:12px 0}
.emwh-danger{background:#0b1020!important;border:1px solid #0b1020!important;color:#fff!important;padding:0 16px!important;box-shadow:none!important}
@media(max-width:1250px){.emwh-kyc-action-layout{grid-template-columns:1fr!important}.emwh-kyc-action-form{grid-template-columns:1fr!important}.emwh-kyc-buttons{justify-content:flex-start!important}.emwh-kyc-delete-form{justify-content:flex-start!important}}


/* V4.0.3.5.3 Direct KYC upload + Spanish status badges */
.emwh-status-badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:950;line-height:1;border:1px solid #d6e3f3;background:#eef4fb;color:#243b53;white-space:nowrap}
.emwh-status-badge:before{content:"";width:7px;height:7px;border-radius:999px;background:#64748b;display:inline-block}
.emwh-status-badge.ok{background:#dcfce7!important;border-color:#86efac!important;color:#065f46!important}.emwh-status-badge.ok:before{background:#16a34a}
.emwh-status-badge.warn{background:#fef3c7!important;border-color:#fcd34d!important;color:#92400e!important}.emwh-status-badge.warn:before{background:#d97706}
.emwh-status-badge.bad{background:#fee2e2!important;border-color:#fca5a5!important;color:#991b1b!important}.emwh-status-badge.bad:before{background:#dc2626}
.emwh-kyc-upload-form{grid-column:1/-1;margin-top:14px;padding:14px;border:1px solid #d6e3f3;border-radius:14px;background:#f8fbff;display:grid;grid-template-columns:220px minmax(220px,1fr) minmax(220px,1fr) auto;gap:12px;align-items:end}
.emwh-kyc-upload-form label{display:grid;gap:6px}.emwh-kyc-upload-form small{color:#31506e!important;font-weight:900!important;letter-spacing:.04em!important}.emwh-kyc-upload-form input,.emwh-kyc-upload-form select{height:42px;border:1px solid #d6e3f3;border-radius:10px;background:#fff!important;color:#0d2138!important;padding:8px 10px;font-weight:800}
@media(max-width:1100px){.emwh-kyc-upload-form{grid-template-columns:1fr}}

/* V4.0.3.5.4 Document review controls */
.emwh-doc-review-table td{vertical-align:middle!important}
.emwh-doc-status-form{display:grid!important;grid-template-columns:190px minmax(120px,1fr) auto!important;gap:8px!important;align-items:center!important;min-width:420px!important;margin:0!important}
.emwh-doc-status-form select,.emwh-doc-status-form input{height:38px!important;border:1px solid #d6e3f3!important;border-radius:10px!important;background:#fff!important;color:#0d2138!important;-webkit-text-fill-color:#0d2138!important;padding:7px 10px!important;font-weight:800!important}
.emwh-doc-status-form .emwh-small{height:38px!important;padding:0 12px!important;border-radius:10px!important;font-size:11px!important}
@media(max-width:1100px){.emwh-doc-status-form{grid-template-columns:1fr!important;min-width:0!important}}


/* V4.0.3.5.9 Import / Export Center */
.emwh-ie-grid{display:grid;grid-template-columns:repeat(4,minmax(210px,1fr));gap:14px;margin-top:14px}.emwh-ie-card{border:1px solid #d4e0ee;background:#f8fbff;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:8px;min-height:150px}.emwh-ie-card b{color:#06182b}.emwh-ie-card small{color:#57708a;line-height:1.35}.emwh-ie-card span{color:#66809a;font-size:12px;margin-top:auto}.emwh-ie-card .emwh-primary{text-align:center;text-decoration:none;margin-top:4px}@media(max-width:1400px){.emwh-ie-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.emwh-ie-grid{grid-template-columns:1fr}}

/* V4.0.3.5.9.1 Import / Export Basic Fix */
.emwh-ie-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.emwh-ie-actions .emwh-primary,.emwh-ie-actions .emwh-light{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:34px}.emwh-ie-import-box{margin-top:16px}.emwh-toolbar a.emwh-light{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}

/* V4.0.3.5.9.4.3 - Global fallback: field guidance text follows Help ON/OFF */
html.emwh-help-off .em-field-help,
body.emwh-help-off .em-field-help,
.emwh-app.emwh-help-off .em-field-help,
.emwh-help-off .em-field-help,
html.emwh-help-off .em-field-legend,
body.emwh-help-off .em-field-legend,
.emwh-app.emwh-help-off .em-field-legend,
.emwh-help-off .em-field-legend{display:none!important;}
.em-field-help{text-transform:none!important;letter-spacing:0!important;font-size:11px!important;line-height:1.28!important;font-weight:500!important;color:#6b7c93!important;}
.em-field-source{text-transform:none!important;letter-spacing:0!important;font-size:9.5px!important;font-weight:700!important;padding:1px 6px!important;}

/* V4.0.3.5.9.4.4 - Work Mode Cleanup
   Objective: reduce visual noise. Field guidance must help navigation, not dominate the form.
   No database, save logic or module structure changes. */
.emwh-guidance-legend,
.emwh-guided-help,
.em-field-help,
.em-field-legend{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}

/* Keep color meaning, but remove large colored blocks. Use left rail + small badge only. */
.emwh-guided-field,
.em-field-manual,
.em-field-auto,
.em-field-readonly,
.em-field-valid,
.em-field-error{
  background:#fff!important;
  border:1px solid #d9e4f2!important;
  border-left-width:4px!important;
  border-radius:9px!important;
  padding:8px 9px!important;
  box-shadow:none!important;
}
.emwh-guided-manual,.em-field-manual{border-left-color:#f4c542!important;}
.emwh-guided-system,.em-field-auto{border-left-color:#6ea8fe!important;}
.emwh-guided-readonly,.em-field-readonly{border-left-color:#cfd8e3!important;background:#fafcff!important;}
.emwh-guided-error,.em-field-error{border-color:#ff6b6b!important;border-left-color:#ff3b3b!important;background:#fff!important;}
.emwh-guided-valid,.em-field-valid{border-left-color:#45c46f!important;}

.emwh-guided-head{margin-bottom:5px!important;}
.emwh-guided-head small,
.em-field-manual>small,
.em-field-auto>small,
.em-field-readonly>small,
.em-field-error>small,
.em-field-valid>small{
  font-size:9.5px!important;
  line-height:1.1!important;
  letter-spacing:.08em!important;
  font-weight:800!important;
  color:#123a5a!important;
}
.emwh-guided-head em,
.em-field-source{
  font-size:8.5px!important;
  line-height:1!important;
  letter-spacing:.03em!important;
  text-transform:none!important;
  font-weight:700!important;
  border:1px solid #cfd8e3!important;
  border-radius:999px!important;
  padding:2px 6px!important;
  background:#fff!important;
  color:#4c6680!important;
}
.emwh-guided-field input,
.emwh-guided-field select,
.emwh-guided-field textarea,
.em-field-manual input,
.em-field-auto input,
.em-field-readonly input,
.em-field-error input,
.em-field-valid input,
.em-field-manual select,
.em-field-auto select,
.em-field-readonly select,
.em-field-error select,
.em-field-valid select,
.em-field-manual textarea,
.em-field-auto textarea,
.em-field-readonly textarea,
.em-field-error textarea,
.em-field-valid textarea{
  min-height:30px!important;
  height:30px!important;
  padding:5px 8px!important;
  border-radius:7px!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1.2!important;
  color:#071d34!important;
}
.emwh-guided-field textarea,
.em-field-manual textarea,
.em-field-auto textarea,
.em-field-readonly textarea,
.em-field-error textarea,
.em-field-valid textarea{
  min-height:48px!important;
  height:auto!important;
}

/* Read-mode values should be readable, not oversized. */
.emwh-detail-grid b,
.emwh-company-read-grid .emwh-detail-item b,
.emwh-company-clean .emwh-detail-grid b{
  font-size:14px!important;
  line-height:1.2!important;
  font-weight:600!important;
}
.emwh-detail-grid small,
.emwh-company-read-grid .emwh-detail-item small{
  font-size:9.5px!important;
  letter-spacing:.08em!important;
  font-weight:800!important;
}

/* Compact tabs and quick action cards. */
.emwh-tabs span,.emwh-tabs a{
  padding:6px 9px!important;
  font-size:11px!important;
  border-radius:999px!important;
}
.emwh-quick{min-height:58px!important;padding:8px 10px!important;}
.emwh-quick small{font-size:10px!important;line-height:1.2!important;}

@media(min-width:1500px){
  .emwh-guided-field,.em-field-manual,.em-field-auto,.em-field-readonly,.em-field-valid,.em-field-error{padding:7px 8px!important;}
}


/* V4.0.3.5.9.4.5 - Contact identity master cleanup */
.emwh-contact-clean .emwh-detail-grid .emwh-detail-item b,
.emwh-company-clean .emwh-detail-grid .emwh-detail-item b {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
}
.emwh-contact-clean .emwh-detail-grid .emwh-detail-item small,
.emwh-company-clean .emwh-detail-grid .emwh-detail-item small {
  font-size: 10px !important;
  letter-spacing: .08em !important;
}
.em-field-help { display: none !important; }
body.emwh-help-on .em-field-help,
.emwh-help-on .em-field-help {
  display: block !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 11px !important;
  color: #64748b !important;
}

/* V4.0.3.5.9.5.0 - Company & Contact Stable polish
   Scope: spacing, alignment, icon quick actions, responsive cleanup. No save/database logic. */
.emwh-company-actions-stable{
  margin:10px 0 10px!important;
  padding:14px!important;
}
.emwh-company-actions-stable .emwh-tag{margin-bottom:8px!important;}
.emwh-company-actions-stable h2{
  margin:0 0 10px!important;
  font-size:18px!important;
  line-height:1.15!important;
}
.emwh-action-grid{
  grid-template-columns:repeat(6,minmax(118px,1fr))!important;
  gap:8px!important;
}
.emwh-quick{
  min-height:48px!important;
  padding:8px 10px!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:9px!important;
  border-radius:11px!important;
  box-shadow:none!important;
}
.emwh-quick-icon{
  width:24px!important;
  height:24px!important;
  border-radius:8px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#eef5ff!important;
  font-size:14px!important;
  flex:0 0 auto!important;
}
.emwh-quick-copy{display:flex!important;flex-direction:column!important;min-width:0!important;}
.emwh-quick b{font-size:12px!important;line-height:1.1!important;color:#09233f!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.emwh-quick small{font-size:10px!important;line-height:1.15!important;color:#60758d!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.emwh-quick em{margin-left:auto!important;margin-top:0!important;font-size:10px!important;line-height:1!important;white-space:nowrap!important;}
.emwh-tabs{gap:6px!important;margin:8px 0 10px!important;}
.emwh-tabs span,.emwh-tabs a{padding:6px 10px!important;font-size:11px!important;line-height:1!important;}
.emwh-card.emwh-company-clean,.emwh-card.emwh-contact-clean,.emwh-card:has(.emwh-company-field-grid){padding:14px!important;}
.emwh-card h2,.emwh-company-clean h2,.emwh-contact-clean h2{font-size:20px!important;margin:6px 0 12px!important;}
.emwh-line{margin:0 0 12px!important;width:44px!important;}
.emwh-grid.metrics{gap:10px!important;margin-bottom:10px!important;}
.emwh-metric{min-height:86px!important;padding:12px!important;border-top-width:3px!important;border-radius:12px!important;}
.emwh-metric small{font-size:9.5px!important;letter-spacing:.08em!important;}
.emwh-metric strong{font-size:18px!important;line-height:1.18!important;margin:7px 0 5px!important;font-weight:650!important;}
.emwh-metric span{font-size:11px!important;line-height:1.25!important;}
.emwh-guided-field,.em-field-manual,.em-field-auto,.em-field-readonly,.em-field-valid,.em-field-error{border-radius:9px!important;}
.em-field-badge,.emwh-guided-field .em-field-source,.em-guidance-badge{font-size:9px!important;line-height:1!important;padding:2px 7px!important;text-transform:none!important;letter-spacing:0!important;}
.em-field-help{display:none!important;}
body.emwh-help-on .em-field-help,.emwh-help-on .em-field-help{display:block!important;font-size:10.5px!important;line-height:1.25!important;text-transform:none!important;letter-spacing:0!important;color:#667891!important;}
@media(max-width:1500px){
  .emwh-action-grid{grid-template-columns:repeat(3,1fr)!important;}
}
@media(max-width:1000px){
  .emwh-action-grid{grid-template-columns:repeat(2,1fr)!important;}
  .emwh-detail-grid,.emwh-form{grid-template-columns:repeat(2,1fr)!important;}
}
@media(max-width:720px){
  .emwh-action-grid{grid-template-columns:1fr!important;}
  .emwh-detail-grid,.emwh-form{grid-template-columns:1fr!important;}
  .emwh-quick small{white-space:normal!important;}
}

/* V4.1.3 - Catalog sorting and cleanup */
.emwh-catalog-note{font-size:12px;color:#53627a;background:#f7fbff;border:1px solid #d7e4f4;border-radius:10px;padding:8px 10px;margin:8px 0 12px;}
.emwh-sort-link{color:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:4px;}
.emwh-sort-link:hover{color:#0b66d8;text-decoration:underline;}
.emwh-master-table td small{display:block;margin-top:2px;color:#6b7890;font-size:11px;line-height:1.25;font-weight:400;}

/* Product Master V4.1.5.2 */
.emwh-product-code-card{display:flex;align-items:center;gap:18px;padding:14px 16px;border:1px solid #cfe0f3;border-radius:14px;background:#f7fbff;box-shadow:0 6px 16px rgba(15,42,67,.04)}
.emwh-product-code-card small{font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#31506e}
.emwh-product-code-card strong{font-size:22px;letter-spacing:.08em;color:#08203a;font-weight:900}
.emwh-product-code-card span{font-size:12px;color:#64748b;font-weight:700}

/* V4.1.6 - Product Master UX Standard */
.emwh-product-identity-standard{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px!important;margin-bottom:12px!important;background:#fbfdff!important}
.emwh-product-identity-standard h2{margin:0 0 5px!important;font-size:20px!important;color:#06182b!important}
.emwh-product-identity-standard p{margin:2px 0!important;font-size:12px!important;line-height:1.35!important;color:#536b86!important}
.emwh-product-identity-pills{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;min-width:380px}
.emwh-product-identity-pills span{border:1px solid #cfe0f3;background:#f3f8ff;color:#17314d;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:900;white-space:nowrap}
.emwh-product-toolbar{display:grid;grid-template-columns:auto minmax(120px,1fr) minmax(100px,130px) minmax(110px,140px) minmax(110px,140px) minmax(120px,150px) minmax(120px,150px);gap:8px;align-items:center;background:#fff;border:1px solid #d4e0ee;border-radius:14px;padding:9px;margin-bottom:12px}
.emwh-product-toolbar .emwh-primary,.emwh-product-toolbar .emwh-light{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:40px;height:40px!important;box-sizing:border-box;white-space:nowrap}
.emwh-product-toolbar button[disabled]{opacity:.55;cursor:not-allowed}
.emwh-product-filters-standard{grid-template-columns:1.25fr repeat(5,1fr)!important;padding:14px!important;margin-bottom:10px!important}
.emwh-product-filter-actions{display:flex!important;gap:8px!important;align-items:center!important;margin-top:-4px!important}
.emwh-product-thumb,.emwh-product-thumb-placeholder{width:40px;height:40px;border-radius:10px;border:1px solid #d6e3f3;background:#fff;display:inline-flex;align-items:center;justify-content:center;object-fit:cover;font-weight:900;color:#31506e;font-size:11px}
.emwh-product-thumb-placeholder{background:#f4f8fc}
.emwh-product-doc-icon{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:28px;border-radius:9px;background:#eef5ff;border:1px solid #d2e2f6;color:#0b65d8;text-decoration:none;font-size:11px;font-weight:900}
.emwh-offer-badge{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;border-radius:999px;background:#eaf3ff;border:1px solid #cfe0f3;color:#0b65d8;font-weight:900;font-size:12px}
.emwh-row-actions{display:flex;gap:6px;align-items:center;white-space:nowrap}
.emwh-row-actions a{display:inline-flex;align-items:center;justify-content:center;height:28px;border:1px solid #d4e0ee;border-radius:8px;background:#fff;color:#31506e;text-decoration:none;font-size:11px;font-weight:900;padding:0 8px}
.emwh-row-actions a:hover{border-color:#0b65d8;color:#0b65d8;background:#f5f9ff}
.emwh-product-editor{display:block}.emwh-product-editor-grid{display:grid;grid-template-columns:1fr;gap:14px}.emwh-product-editor-card{padding:16px!important}.emwh-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}.emwh-card-head h2{font-size:21px!important;margin:0 0 5px!important}.emwh-card-head p{margin:0!important;color:#5a718d!important;font-size:12px!important}.emwh-product-id-badge{min-width:220px;border:1px solid #cfe0f3;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#eef6ff);padding:12px 16px;text-align:left;box-shadow:0 6px 16px rgba(15,42,67,.04)}.emwh-product-id-badge span{display:block;color:#31506e;text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:900}.emwh-product-id-badge strong{display:block;color:#06182b;font-size:25px;letter-spacing:.08em;margin:5px 0 4px;font-weight:950}.emwh-product-id-badge em{display:block;font-style:normal;color:#64748b;font-size:12px;font-weight:800}.emwh-product-field-grid{display:grid;gap:12px}.emwh-product-field-grid.identity{grid-template-columns:repeat(5,1fr)}.emwh-product-editor label small{display:block;font-weight:900;color:#31506e;text-transform:uppercase;font-size:10px;letter-spacing:.08em;margin-bottom:6px}.emwh-product-editor input,.emwh-product-editor textarea,.emwh-product-editor select{width:100%;box-sizing:border-box;border:1px solid #ccd9e8;border-radius:10px;background:#fff;padding:11px;color:#0d2138}.emwh-product-editor textarea{min-height:86px}.emwh-identity-warning{margin-top:12px;border:1px solid #d7e4f4;background:#f7fbff;border-radius:12px;padding:10px 12px;color:#5a718d;font-size:12px;font-weight:700}.emwh-media-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.emwh-media-tile{border:1px solid #d4e0ee;border-radius:14px;background:#f8fbff;padding:14px}.emwh-media-tile b{display:block;color:#06182b;margin-bottom:10px}.emwh-product-media-empty{min-height:92px;border:1px dashed #b8cce4;border-radius:13px;background:#fff;display:flex;align-items:center;justify-content:center;color:#6b8199;font-weight:900;margin-bottom:12px;text-align:center;padding:10px}.emwh-product-media-preview{display:block;width:100%;max-height:140px;object-fit:contain;border:1px solid #d4e0ee;border-radius:13px;background:#fff;margin-bottom:12px}.emwh-description-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:14px}.emwh-description-grid .wide{grid-column:auto}.emwh-product-status-row{display:grid;grid-template-columns:minmax(220px,360px) 1fr;gap:16px;align-items:center}.emwh-product-editor-footer{position:sticky;bottom:0;z-index:5;display:flex;justify-content:flex-end;gap:8px;background:rgba(237,243,250,.92);backdrop-filter:blur(8px);border:1px solid #d4e0ee;border-radius:14px;padding:10px;margin-top:14px}.emwh-product-editor-footer .emwh-primary,.emwh-product-editor-footer .emwh-light{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:40px;box-sizing:border-box}
@media(max-width:1300px){.emwh-product-toolbar{grid-template-columns:repeat(3,1fr)}.emwh-product-filters-standard{grid-template-columns:repeat(3,1fr)!important}.emwh-product-field-grid.identity{grid-template-columns:repeat(2,1fr)}.emwh-product-identity-standard{align-items:flex-start;flex-direction:column}.emwh-product-identity-pills{min-width:0;justify-content:flex-start}}
@media(max-width:800px){.emwh-product-toolbar,.emwh-product-filters-standard,.emwh-media-grid,.emwh-description-grid,.emwh-product-status-row{grid-template-columns:1fr!important}.emwh-card-head{flex-direction:column}.emwh-product-id-badge{width:100%;box-sizing:border-box}}

/* V4.1.6.1 - Product Master Compact UX + Fast Create Assist */
.emwh-product-compact-rule{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#fff;border:1px solid #d7e4f3;border-radius:14px;padding:10px 14px;margin:8px 0 10px;color:#24415f;font-size:13px;box-shadow:0 4px 14px rgba(14,42,71,.035)}
.emwh-product-compact-rule span{color:#1d64d8;font-weight:800}.emwh-product-compact-rule em{margin-left:auto;color:#6b7f97;font-style:normal;font-size:12px}
.emwh-product-toolbar-compact{display:grid;grid-template-columns:auto 1fr auto auto auto auto;gap:8px;align-items:center;background:#fff;border:1px solid #d7e4f3;border-radius:14px;padding:8px;margin:0 0 10px}.emwh-product-toolbar-compact a{height:34px;display:flex;align-items:center;justify-content:center;padding:0 14px;font-size:12px;font-weight:800;letter-spacing:.02em}.emwh-product-toolbar-compact a:nth-child(2){justify-content:center}
.emwh-product-filters-compact{display:grid!important;grid-template-columns:1.25fr 1fr 1fr 1fr 1fr 1fr auto!important;gap:8px!important;padding:10px!important;margin-bottom:10px!important}.emwh-product-filters-compact label{margin:0!important}.emwh-product-filters-compact input,.emwh-product-filters-compact select{height:36px!important;min-height:36px!important;padding:7px 10px!important}.emwh-product-filters-compact small{font-size:10px!important;margin-bottom:4px!important}.emwh-filter-actions{display:flex;align-items:end;gap:6px}.emwh-filter-actions .emwh-primary,.emwh-filter-actions .emwh-light{height:36px;padding:0 12px;font-size:12px;display:flex;align-items:center}
.emwh-product-table-card{padding-top:10px!important}.emwh-product-table-card table th,.emwh-product-table-card table td{padding-top:8px!important;padding-bottom:8px!important}.emwh-product-doc-icon{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:24px;border:1px solid #cfe0f3;border-radius:999px;background:#f8fbff;font-size:11px;font-weight:800;color:#0d4a92;text-decoration:none}
.emwh-fast-create-card{padding:18px!important}.emwh-fast-create-card .emwh-card-head.compact,.emwh-product-identity-card .emwh-card-head.compact{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:14px}.emwh-fast-create-card h2,.emwh-product-identity-card h2{margin:4px 0 4px!important;font-size:24px!important;line-height:1.05!important}.emwh-fast-create-card p,.emwh-product-identity-card p{margin:0;color:#58708a;font-size:13px}.emwh-fast-create-main{max-width:100%}
.emwh-product-fast-editor .emwh-product-id-badge{min-width:235px;padding:12px 16px;border-radius:14px}.emwh-product-fast-editor .emwh-product-id-badge strong{font-size:24px;letter-spacing:.08em}.emwh-product-fast-editor .emwh-product-id-badge span{font-size:10px}.emwh-product-fast-editor .emwh-product-id-badge em{font-size:11px}
.emwh-ai-product-assist{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end;background:#f7fbff;border:1px solid #d7e4f3;border-radius:14px;padding:10px;margin-bottom:12px}.emwh-ai-product-assist label{margin:0}.emwh-ai-product-assist textarea{height:54px!important;min-height:54px!important;resize:vertical}.emwh-ai-product-assist button{height:36px;white-space:nowrap}.emwh-ai-product-assist #emwh-ai-assist-result{grid-column:1 / -1;font-size:12px;color:#55708d}
.emwh-product-field-grid.fast{display:grid;grid-template-columns:1fr 1.35fr 1fr 1fr 1fr;gap:10px;align-items:end}.emwh-product-field-grid.fast input,.emwh-product-field-grid.fast select{height:40px!important;min-height:40px!important}.emwh-identity-warning.compact{padding:9px 12px;margin-top:10px;font-size:12px;border-radius:12px}.emwh-product-editor-footer.compact{position:static!important;margin-top:10px;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;justify-content:flex-end!important}.emwh-product-editor-footer.compact .emwh-primary,.emwh-product-editor-footer.compact .emwh-light{height:36px;padding:0 14px}
.emwh-product-editor-grid.compact-edit{gap:10px}.emwh-product-editor-grid.compact-edit .emwh-product-editor-card{padding:14px!important}.emwh-media-grid.compact{display:grid;grid-template-columns:1fr 1fr;gap:10px}.emwh-media-grid.compact .emwh-media-tile{min-height:auto!important;padding:12px!important}.emwh-media-grid.compact input{height:36px!important}
@media (max-width:1100px){.emwh-product-toolbar-compact{grid-template-columns:1fr 1fr 1fr}.emwh-product-filters-compact{grid-template-columns:1fr 1fr!important}.emwh-product-field-grid.fast{grid-template-columns:1fr 1fr}.emwh-fast-create-card .emwh-card-head.compact{flex-direction:column}.emwh-ai-product-assist{grid-template-columns:1fr}.emwh-product-compact-rule em{margin-left:0;width:100%}}

/* V4.1.6.2 - Product Fast Create Layout Fix */
.emwh-product-fast-editor .emwh-fast-create-card{padding:14px!important;border-radius:14px!important;}
.emwh-product-fast-editor .emwh-card-head.compact{margin-bottom:10px!important;align-items:center!important;}
.emwh-product-fast-editor .emwh-card-head.compact h2{font-size:20px!important;margin:2px 0 3px!important;}
.emwh-product-fast-editor .emwh-card-head.compact p{font-size:12px!important;line-height:1.35!important;}
.emwh-product-fast-editor .emwh-product-id-badge{min-width:190px!important;padding:10px 13px!important;border-radius:13px!important;}
.emwh-product-fast-editor .emwh-product-id-badge strong{font-size:20px!important;letter-spacing:.07em!important;}
.emwh-product-fast-editor .emwh-product-id-badge em{font-size:10px!important;}
.emwh-product-fast-editor label{display:block!important;margin:0!important;width:100%!important;}
.emwh-product-fast-editor label small{display:block!important;font-size:10px!important;line-height:1.1!important;margin:0 0 5px!important;color:#31506e!important;font-weight:900!important;letter-spacing:.10em!important;text-transform:uppercase!important;}
.emwh-product-fast-editor input,.emwh-product-fast-editor select,.emwh-product-fast-editor textarea{width:100%!important;box-sizing:border-box!important;border:1px solid #cbd9e9!important;border-radius:9px!important;background:#fff!important;color:#0d2138!important;font-weight:700!important;}
.emwh-product-fast-editor select{appearance:auto!important;-webkit-appearance:menulist!important;}
.emwh-ai-product-assist{display:grid!important;grid-template-columns:1fr 116px!important;gap:8px!important;align-items:end!important;padding:9px!important;margin:8px 0 12px!important;border-radius:12px!important;background:#f8fbff!important;}
.emwh-ai-product-assist textarea{height:42px!important;min-height:42px!important;max-height:110px!important;padding:9px 10px!important;resize:vertical!important;font-size:12px!important;line-height:1.35!important;}
.emwh-ai-product-assist button{height:36px!important;padding:0 12px!important;border-radius:9px!important;font-size:12px!important;}
.emwh-ai-product-assist #emwh-ai-assist-result{grid-column:1 / -1!important;min-height:16px!important;margin-top:0!important;font-size:11px!important;}
.emwh-product-field-grid.fast{grid-template-columns:1fr 1.55fr 1fr 1fr 1fr!important;gap:10px!important;align-items:end!important;}
.emwh-product-field-grid.fast input,.emwh-product-field-grid.fast select{height:38px!important;min-height:38px!important;padding:8px 10px!important;font-size:12px!important;}
.emwh-identity-warning.compact{margin-top:10px!important;padding:8px 11px!important;font-size:11px!important;line-height:1.35!important;}
.emwh-product-editor-footer.compact{margin-top:10px!important;}
.emwh-product-editor-footer.compact .emwh-primary,.emwh-product-editor-footer.compact .emwh-light{height:34px!important;min-height:34px!important;padding:0 13px!important;font-size:12px!important;border-radius:9px!important;}
@media(max-width:1280px){.emwh-product-field-grid.fast{grid-template-columns:1fr 1.4fr 1fr!important}.emwh-product-fast-editor .emwh-card-head.compact{align-items:flex-start!important}.emwh-product-fast-editor .emwh-product-id-badge{min-width:170px!important}}
@media(max-width:900px){.emwh-ai-product-assist,.emwh-product-field-grid.fast{grid-template-columns:1fr!important}.emwh-product-fast-editor .emwh-card-head.compact{flex-direction:column!important}.emwh-product-fast-editor .emwh-product-id-badge{width:100%!important}}

/* V4.1.6.3 - Product AI Document Import V1 */
.emwh-product-toolbar-compact{grid-template-columns:auto auto auto auto auto!important;}
.emwh-product-toolbar-compact a:nth-child(2){justify-content:center!important;}
.emwh-ai-document-card textarea{min-height:130px!important;}
.emwh-ai-document-preview .emwh-table td:first-child{max-width:520px;white-space:normal;line-height:1.35;}
.emwh-ai-document-preview .emwh-primary.small{height:30px;min-height:30px;padding:0 10px;font-size:11px;display:inline-flex;align-items:center;text-decoration:none;}
@media(max-width:1100px){.emwh-product-toolbar-compact{grid-template-columns:1fr 1fr!important}.emwh-ai-document-preview .emwh-table{font-size:12px}}

/* V4.1.6.4 - Product Master Toolbar and Filter Fix */
.emwh-product-action-bar{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  background:#fff!important;
  border:1px solid #d7e4f3!important;
  border-radius:14px!important;
  padding:8px!important;
  margin:0 0 10px!important;
  box-shadow:0 4px 14px rgba(14,42,71,.03)!important;
}
.emwh-product-action-left{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  width:100%!important;
}
.emwh-product-action-bar a{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:104px!important;
  height:34px!important;
  min-height:34px!important;
  padding:0 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:10px!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
  text-decoration:none!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
}
.emwh-product-action-bar .emwh-action-main{min-width:132px!important;}
.emwh-product-action-bar .emwh-action-ai{min-width:150px!important;}
.emwh-product-filter-bar{
  display:grid!important;
  grid-template-columns:minmax(260px,2fr) minmax(130px,.9fr) minmax(150px,1fr) minmax(150px,1fr) minmax(120px,.75fr) minmax(120px,.75fr) auto!important;
  gap:8px!important;
  align-items:end!important;
  padding:10px 12px!important;
  margin:0 0 10px!important;
  border-radius:14px!important;
}
.emwh-product-filter-bar label{margin:0!important;min-width:0!important;}
.emwh-product-filter-bar small{
  display:block!important;
  margin:0 0 4px!important;
  font-size:10px!important;
  line-height:1!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
  color:#173a5c!important;
  font-weight:950!important;
}
.emwh-product-filter-bar input,
.emwh-product-filter-bar select{
  width:100%!important;
  height:36px!important;
  min-height:36px!important;
  padding:7px 10px!important;
  border-radius:8px!important;
  box-sizing:border-box!important;
  font-size:12px!important;
  font-weight:800!important;
}
.emwh-product-filter-bar .emwh-filter-search input{font-weight:700!important;}
.emwh-filter-actions-compact{
  display:flex!important;
  align-items:end!important;
  gap:6px!important;
  justify-content:flex-end!important;
}
.emwh-filter-actions-compact .emwh-primary,
.emwh-filter-actions-compact .emwh-light{
  height:36px!important;
  min-height:36px!important;
  padding:0 13px!important;
  border-radius:9px!important;
  font-size:12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-decoration:none!important;
}
@media(max-width:1350px){
  .emwh-product-filter-bar{grid-template-columns:1.6fr 1fr 1fr 1fr!important;}
  .emwh-filter-actions-compact{justify-content:flex-start!important;}
}
@media(max-width:820px){
  .emwh-product-action-left,.emwh-product-action-bar a{width:100%!important;}
  .emwh-product-filter-bar{grid-template-columns:1fr!important;}
}

/* V4.1.6.5 Product Fast Create dropdown stability fix */
.emwh-product-fast-editor .emwh-combo-field{position:relative!important;display:block!important;overflow:visible!important;z-index:20!important;}
.emwh-product-fast-editor .emwh-combo{position:relative!important;display:block!important;overflow:visible!important;z-index:20!important;}
.emwh-product-fast-editor .emwh-combo.open{z-index:99999!important;}
.emwh-product-fast-editor .emwh-combo-trigger{width:100%!important;height:38px!important;min-height:38px!important;border:1px solid #cbd9e9!important;border-radius:9px!important;background:#fff!important;color:#0d2138!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:0 10px!important;font-weight:800!important;font-size:12px!important;text-align:left!important;cursor:pointer!important;box-sizing:border-box!important;}
.emwh-product-fast-editor .emwh-combo-trigger span{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
.emwh-product-fast-editor .emwh-combo-trigger b{font-size:13px!important;color:#31506e!important;line-height:1!important;}
.emwh-product-fast-editor .emwh-combo-menu{display:none!important;position:absolute!important;left:0!important;right:0!important;top:calc(100% + 4px)!important;max-height:260px!important;overflow:auto!important;background:#fff!important;border:1px solid #b9cce1!important;border-radius:12px!important;box-shadow:0 18px 40px rgba(6,24,43,.18)!important;padding:6px!important;z-index:100000!important;}
.emwh-product-fast-editor .emwh-combo.open .emwh-combo-menu{display:block!important;}
.emwh-product-fast-editor .emwh-combo-option{display:block!important;width:100%!important;border:0!important;background:#fff!important;color:#0d2138!important;text-align:left!important;padding:10px 11px!important;border-radius:9px!important;font-weight:800!important;font-size:12px!important;cursor:pointer!important;box-sizing:border-box!important;}
.emwh-product-fast-editor .emwh-combo-option:hover,.emwh-product-fast-editor .emwh-combo-option.selected{background:#eaf3ff!important;color:#06182b!important;}
.emwh-product-fast-editor .emwh-combo-new{margin-top:0!important;margin-bottom:6px!important;border-bottom:1px solid #e2eaf3!important;border-top:0!important;padding:9px 10px 4px!important;color:#2866ad!important;font-weight:900!important;font-size:12px!important;}
.emwh-product-fast-editor .emwh-combo-new em{display:block!important;color:#64748b!important;font-style:normal!important;font-size:10px!important;margin-top:2px!important;}
.emwh-product-fast-editor .emwh-fast-create-card,.emwh-product-fast-editor .emwh-card,.emwh-product-fast-editor .emwh-fast-create-main{overflow:visible!important;}
.emwh-product-fast-editor .emwh-product-field-grid.fast{overflow:visible!important;position:relative!important;z-index:30!important;}
.emwh-product-fast-editor .emwh-identity-warning{position:relative!important;z-index:1!important;}

/* V4.1.6.6 - AI Import Center document visibility and extraction UX */
.emwh-ai-source-grid{display:grid;grid-template-columns:1.6fr .8fr;gap:14px;align-items:stretch;margin-top:12px;}
.emwh-ai-source-text textarea{min-height:110px!important;height:110px!important;resize:vertical!important;}
.emwh-ai-upload-box{border:1px dashed #b9cce1!important;background:#f7fbff!important;border-radius:14px!important;padding:14px!important;display:flex!important;flex-direction:column!important;gap:8px!important;justify-content:center!important;min-height:110px!important;box-sizing:border-box!important;}
.emwh-ai-upload-box input{height:auto!important;min-height:0!important;border:0!important;background:transparent!important;padding:0!important;}
.emwh-ai-upload-box strong{font-size:13px;color:#0d2138;word-break:break-word;}
.emwh-ai-upload-box span{font-size:11px;color:#64748b;}
.emwh-ai-file-status{background:#eef7ff;border:1px solid #cfe0f3;border-radius:12px;padding:10px 12px;color:#31506e;font-weight:700;}
.emwh-ai-summary{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 12px;}
.emwh-ai-summary span{display:inline-flex;align-items:center;gap:5px;border:1px solid #d6e3f3;background:#fff;border-radius:999px;padding:7px 10px;font-size:12px;color:#31506e;font-weight:700;}
.emwh-ai-summary b{color:#06182b;font-size:14px;}
@media(max-width:1100px){.emwh-ai-source-grid{grid-template-columns:1fr}.emwh-ai-upload-box{min-height:88px}}
/* V4.1.6.9 - quick-create must be first option */
.emwh-product-fast-editor .emwh-combo-new{
  display:block!important;width:100%!important;background:#eef6ff!important;border:1px solid #cfe0f3!important;border-radius:9px!important;text-align:left!important;margin:0 0 6px!important;padding:10px 11px 8px!important;color:#084fb5!important;font-weight:950!important;font-size:12px!important;letter-spacing:.08em!important;text-transform:uppercase!important;cursor:pointer!important;box-shadow:none!important;position:sticky!important;top:0!important;z-index:2!important;
}
.emwh-product-fast-editor .emwh-combo-new:hover{background:#eef6ff!important;color:#084fb5!important;}
.emwh-product-fast-editor .emwh-combo-new em{display:block!important;color:#64748b!important;font-style:normal!important;font-size:10px!important;letter-spacing:.10em!important;margin-top:3px!important;text-transform:uppercase!important;}


/* V4.1.6.10 - Product quick create modal + AI import upload fallback */
.emwh-qc-modal-backdrop{position:fixed;inset:0;z-index:100000;background:rgba(5,10,18,.48);display:flex;align-items:flex-start;justify-content:center;padding-top:90px;}
.emwh-qc-modal{width:min(460px,92vw);background:#fff;border:1px solid #cbd9e8;border-radius:18px;box-shadow:0 24px 70px rgba(6,24,43,.30);padding:20px;box-sizing:border-box;color:#06182b;}
.emwh-qc-head small{display:block;color:#2866ad;text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:900;margin-bottom:6px;}
.emwh-qc-head h3{font-family:Georgia,serif;font-size:26px;line-height:1.1;margin:0 0 6px;color:#06182b;}
.emwh-qc-head p{margin:0 0 16px;color:#66809a;}
.emwh-qc-modal label small{display:block;text-transform:uppercase;letter-spacing:.10em;color:#31506e;font-weight:900;font-size:11px;margin-bottom:6px;}
.emwh-qc-modal input{width:100%;height:46px;border:1px solid #b9cbe0;border-radius:12px;background:#f8fbff;color:#06182b;padding:0 12px;box-sizing:border-box;font-weight:800;}
.emwh-qc-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px;}
.emwh-qc-message{min-height:18px;margin-top:9px;color:#66809a;font-weight:700;}
.emwh-qc-message.error{color:#9b1c1c;}
.emwh-ai-file-status{border:1px solid #b8d7f7;background:#eef7ff;border-radius:12px;padding:10px 12px;color:#24425e;font-weight:800;}
.emwh-ai-document-preview .emwh-ai-file-status::before{content:"Uploaded file";display:block;color:#2866ad;text-transform:uppercase;letter-spacing:.12em;font-size:10px;margin-bottom:4px;}
.emwh-ai-source-grid{align-items:stretch;}
.emwh-ai-upload-box{display:flex!important;flex-direction:column;justify-content:center;gap:8px;}
.emwh-ai-upload-box strong{color:#06182b;word-break:break-word;}

.emwh-product-editor-footer button[disabled], .emwh-product-fast-editor button[disabled]{opacity:.45!important;cursor:not-allowed!important;box-shadow:none!important;}
.emwh-notice.warn{background:#fff8e6!important;border-color:#f4c766!important;color:#6b4a00!important;}

.emwh-native-qc-field small{display:flex;align-items:center;gap:8px;justify-content:space-between;}
.emwh-qc-inline-button{border:0;background:#eaf3ff;color:#075bc9;font-weight:900;font-size:10px;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:4px 8px;cursor:pointer;line-height:1.1;}
.emwh-qc-inline-button:hover{background:#dbeafe;color:#044ca8;}


/* V4.1.6.16 - Product Master datalist hard repair */
.emwh-product-fast-editor .emwh-datalist-qc-field small{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;}
.emwh-product-fast-editor .emwh-qc-inline-hint{display:inline-flex!important;align-items:center!important;border:1px solid #cfe0f3!important;background:#eef6ff!important;color:#075bc9!important;border-radius:999px!important;padding:3px 8px!important;font-size:9px!important;letter-spacing:.08em!important;text-transform:uppercase!important;font-weight:950!important;white-space:nowrap!important;}
.emwh-product-fast-editor input.emwh-qc-datalist-input{height:38px!important;min-height:38px!important;padding:8px 10px!important;font-size:12px!important;background:#fff!important;color:#0d2138!important;-webkit-text-fill-color:#0d2138!important;cursor:text!important;}
.emwh-product-fast-editor input.emwh-qc-datalist-input:focus{outline:2px solid rgba(11,101,216,.18)!important;border-color:#0b65d8!important;box-shadow:0 0 0 3px rgba(11,101,216,.10)!important;}

/* V4.1.6.17 Product Master create-flow fix */
.emwh-product-row-created td{
    background:#ecfdf3!important;
    box-shadow:inset 4px 0 0 #22c55e;
}
.emwh-datalist-qc-field datalist option{font-family:inherit;}

/* V4.1.6.21 ERP Catalogs safe actions */
.emwh-link-button{background:none;border:0;padding:0;margin:0;color:#0b57d0;cursor:pointer;font:inherit;text-decoration:none}
.emwh-link-button:hover{text-decoration:underline}
.emwh-danger-link{color:#b42318}
.emwh-catalog-search select{min-height:36px;border:1px solid #cfe0f2;border-radius:10px;padding:0 10px;background:#fff;color:#0b2341}


/* V4.1.6.23 - ERP global action button standard */
.emwh-action-btn,
.emwh-row-actions a.emwh-action-btn,
.emwh-row-actions button.emwh-action-btn,
.emwh-toolbar .emwh-primary,
.emwh-toolbar .emwh-light,
.emwh-product-action-bar .emwh-primary,
.emwh-product-action-bar .emwh-light,
.emwh-product-doc-icon{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;
  min-height:28px!important;border-radius:8px!important;font-size:11px!important;font-weight:900!important;
  text-decoration:none!important;line-height:1!important;white-space:nowrap!important;box-shadow:none!important;
}
.emwh-action-btn{border:1px solid #d4e0ee;background:#fff;color:#24415f;padding:0 8px;cursor:pointer;}
.emwh-action-btn .dashicons,
.emwh-toolbar .dashicons,
.emwh-product-action-bar .dashicons,
.emwh-product-doc-icon .dashicons{font-size:14px!important;width:14px!important;height:14px!important;line-height:14px!important;}
.emwh-action-edit{border-color:#bfdbfe;color:#0b5bd3;background:#fff;}
.emwh-action-archive{border-color:#f2d39b;color:#8a5a00;background:#fffaf0;}
.emwh-action-restore{border-color:#bbf7d0;color:#166534;background:#f0fdf4;}
.emwh-action-delete{border-color:#fecaca;color:#b42318;background:#fff1f2;}
.emwh-action-delete:hover{background:#fee2e2;color:#991b1b;}
.emwh-link-button.emwh-action-btn{font-family:inherit;}
.emwh-form-actions .dashicons{font-size:14px;width:14px;height:14px;line-height:14px;vertical-align:middle;}


/* V4.1.6.24 - Global ERP emoji action standard */
.emwh-row-actions a,
.emwh-row-actions button,
.emwh-action-btn,
.emwh-product-action-bar a,
.emwh-toolbar a,
.emwh-product-doc-icon{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;
  min-height:28px!important;border-radius:8px!important;font-size:11px!important;font-weight:900!important;
  text-decoration:none!important;line-height:1!important;white-space:nowrap!important;box-shadow:none!important;
  border:1px solid #d4e0ee!important;background:#fff!important;color:#24415f!important;padding:0 8px!important;
}
.emwh-action-edit{border-color:#bfdbfe!important;color:#0b5bd3!important;background:#fff!important;}
.emwh-action-archive{border-color:#f2d39b!important;color:#8a5a00!important;background:#fffaf0!important;}
.emwh-action-restore{border-color:#bbf7d0!important;color:#166534!important;background:#f0fdf4!important;}
.emwh-action-delete{border-color:#fecaca!important;color:#b42318!important;background:#fff1f2!important;}
.emwh-action-delete:hover{background:#fee2e2!important;color:#991b1b!important;}
.emwh-product-action-bar .emwh-primary,
.emwh-toolbar .emwh-primary,
.emwh-primary.emwh-action-main{background:#0b63ce!important;color:#fff!important;border-color:#0b63ce!important;}


/* V4.1.6.25 - ERP UI Standard Final */
.emwh-row-actions{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;}
.emwh-row-actions form{display:inline-flex!important;margin:0!important;}
.emwh-row-actions a,
.emwh-row-actions button,
.emwh-action-btn,
.emwh-product-action-bar a,
.emwh-toolbar a,
.emwh-product-doc-icon{
  min-width:88px!important;
  min-height:30px!important;
  padding:0 10px!important;
  border-radius:8px!important;
  font-size:11.5px!important;
  font-weight:750!important;
  letter-spacing:0!important;
  text-transform:none!important;
  line-height:1!important;
  box-sizing:border-box!important;
}
.emwh-action-edit{border-color:#bfdbfe!important;color:#0b5bd3!important;background:#fff!important;}
.emwh-action-archive{border-color:#f2d39b!important;color:#8a5a00!important;background:#fffaf0!important;}
.emwh-action-restore{border-color:#bbf7d0!important;color:#166534!important;background:#f0fdf4!important;}
.emwh-action-delete{border-color:#fecaca!important;color:#b42318!important;background:#fff1f2!important;}
.emwh-action-delete:hover{background:#fee2e2!important;color:#991b1b!important;}
.emwh-primary.emwh-action-main{min-width:150px!important;text-transform:none!important;letter-spacing:0!important;}
.emwh-catalog-search select{min-width:118px!important;}

/* V4.1.6.28 - Delete protection / document delete */
.emwh-doc-delete-form{margin-top:6px;display:flex;justify-content:flex-start;}
.emwh-doc-review-table .emwh-doc-status-form{display:flex;flex-wrap:wrap;gap:6px;align-items:center;}
.emwh-action-disabled{display:inline-flex;align-items:center;justify-content:center;min-width:104px;height:34px;border:1px solid #e5e7eb;border-radius:10px;padding:0 10px;background:#f9fafb;color:#6b7280;font-weight:700;cursor:not-allowed;white-space:nowrap;}


/* V4.1.6.29 - User Access relationship actions */
.emwh-user-relation-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;}
.emwh-user-relation-actions details{display:inline-flex;}
.emwh-user-relation-actions summary.emwh-mini-btn{min-width:118px!important;}
.emwh-user-relation-actions .emwh-disabled{opacity:.55;cursor:not-allowed;filter:grayscale(.2);}
.emwh-row-archived{opacity:.72;background:#f8fafc;}
.emwh-row-archived td{color:#64748b;}
.emwh-user-name-link{font-weight:800;text-decoration:none;color:#0b5bd3;}

/* V4.1.7.5 - Offer AI secondary action buttons */
.emwh-offer-ai-actions .emwh-secondary,
.emwh-offer-ai-image-preview .emwh-secondary{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:30px!important;
  padding:0 12px!important;
  border-radius:8px!important;
  border:1px solid #bfd7f3!important;
  background:#ffffff!important;
  color:#0b5bd3!important;
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:0!important;
  text-transform:none!important;
  cursor:pointer!important;
}
.emwh-offer-ai-actions .emwh-secondary:hover{
  background:#eef6ff!important;
  border-color:#8fbae9!important;
  color:#084aa9!important;
}
.emwh-offer-ai-image-preview .emwh-secondary{
  border-color:#fecaca!important;
  background:#fff7f7!important;
  color:#b42318!important;
}
.emwh-offer-ai-image-preview .emwh-secondary:hover{
  background:#feecec!important;
  border-color:#f5a8a8!important;
  color:#8f1d14!important;
}
