.emwh-mb-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 14px}.emwh-mb-header h1{margin:0;font-size:30px;line-height:1.05;font-weight:650}.emwh-mb-header p{margin:5px 0 0;color:#667085;font-size:13px}.emwh-mb-header-actions{display:flex;gap:8px;align-items:center}.emwh-mb-btn{min-height:32px;padding:7px 11px;font-size:12px}.emwh-mb-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:10px 0}.emwh-mb-action{height:44px;padding:8px 10px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;display:flex;align-items:center;gap:8px;text-decoration:none;color:#111827;font-size:13px}.emwh-mb-action:hover{border-color:#b8c2cc;background:#f9fafb}.emwh-mb-action-icon{font-size:15px}.emwh-mb-action-arrow{margin-left:auto;color:#98a2b3}.emwh-mb-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.emwh-mb-tab{padding:7px 10px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;text-decoration:none;color:#344054;font-size:12px}.emwh-mb-tab.is-active{background:#111827;color:#fff;border-color:#111827}.emwh-mb-field{display:block;background:#fff;border:1px solid #e5e7eb;border-left:3px solid #f2c94c;border-radius:10px;padding:9px 10px;min-height:58px}.emwh-mb-field-system{border-left-color:#2f80ed}.emwh-mb-field-readonly{border-left-color:#d0d5dd}.emwh-mb-field-error{border-left-color:#eb5757}.emwh-mb-field-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}.emwh-mb-field-label{font-size:11px;letter-spacing:.02em;color:#667085;font-weight:650;text-transform:uppercase}.emwh-mb-field-value{font-size:14px;font-weight:500;color:#111827}.emwh-mb-badge{display:inline-flex;align-items:center;border-radius:999px;padding:2px 6px;font-size:10px;font-weight:650;background:#f2f4f7;color:#475467}.emwh-mb-badge-manual{background:#fff7d6;color:#7a5d00}.emwh-mb-badge-system{background:#e8f1ff;color:#175cd3}.emwh-mb-badge-error{background:#fee4e2;color:#b42318}@media(max-width:780px){.emwh-mb-header{display:block}.emwh-mb-header-actions{margin-top:10px}.emwh-mb-actions{grid-template-columns:1fr}.emwh-mb-header h1{font-size:24px}}

/* V4.1.2 Catalog UX polish */
.emwh-master-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 12px}
.emwh-master-tab{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 11px;border:1px solid #d9e3ef;border-radius:999px;background:#fff;color:#1f2937;text-decoration:none;font-size:12px;font-weight:650;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.emwh-master-tab span{font-size:13px;opacity:.9}
.emwh-master-tab:hover{border-color:#b7c7d9;background:#f8fbff}
.emwh-master-tab.is-active{background:#061a2f;color:#fff;border-color:#061a2f}
.emwh-masters-layout-v412{grid-template-columns:minmax(0,1.7fr) minmax(320px,.9fr);gap:12px;align-items:start}
.emwh-master-list-card,.emwh-master-form-card{padding:14px!important}
.emwh-catalog-search{display:flex;gap:8px;margin:10px 0 12px}
.emwh-catalog-search input{height:34px;flex:1;border:1px solid #d8e2ef;border-radius:9px;padding:0 11px;font-size:13px;background:#fff}
.emwh-master-table th,.emwh-master-table td{font-size:12px;padding:8px 10px}
.emwh-master-table small{display:block;color:#667085;margin-top:2px;font-weight:400}
.emwh-master-form label small{font-size:10px;letter-spacing:.03em;text-transform:uppercase;color:#344054;font-weight:700}
.emwh-master-form input,.emwh-master-form select,.emwh-master-form textarea{min-height:34px;font-size:13px}
.emwh-master-form textarea{min-height:68px}
@media(max-width:980px){.emwh-masters-layout-v412{grid-template-columns:1fr}.emwh-master-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.emwh-master-tab{white-space:nowrap}}
