.emwh-offer-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0}.emwh-offer-summary .emwh-card{margin:0;padding:14px 16px}.emwh-offer-summary strong{display:block;font-size:22px;line-height:1.1;color:#10243e}.emwh-offer-summary span{font-size:12px;color:#64748b}.emwh-offer-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.emwh-offer-tabs a{display:inline-flex;align-items:center;min-height:34px;padding:0 13px;border:1px solid #d7e0eb;border-radius:9px;background:#fff;color:#23364d;text-decoration:none;font-size:12px;font-weight:700}.emwh-offer-tabs a.is-active{background:#156ee8;border-color:#156ee8;color:#fff}.emwh-offer-empty{padding:30px 24px;text-align:center}.emwh-offer-empty h3{margin:8px 0}.emwh-offer-empty p{max-width:620px;margin:0 auto 18px;color:#64748b}.emwh-toolbar-search .emwh-search-btn{background:#156ee8!important;border-color:#156ee8!important;color:#fff!important}.emwh-muted{color:#64748b}.emwh-value-block small{white-space:pre-line}.emwh-offer-product-name{display:block;color:#64748b;font-size:11px;margin-top:2px}@media(max-width:900px){.emwh-offer-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.emwh-offer-summary{grid-template-columns:1fr}}

/* V4.1.7.0.3 - Offer creation wizard */
.emwh-offer-wizard{padding:0!important;overflow:hidden}.emwh-offer-wizard form{margin:0}.emwh-offer-wizard-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-bottom:1px solid #d7e0eb;background:#f8fbff}.emwh-offer-wizard-progress button{appearance:none;border:0;border-right:1px solid #d7e0eb;background:transparent;padding:13px 14px;display:flex;align-items:center;justify-content:center;gap:9px;color:#64748b;font-weight:800;cursor:pointer}.emwh-offer-wizard-progress button:last-child{border-right:0}.emwh-offer-wizard-progress button b{width:25px;height:25px;border:1px solid #b9c9dc;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#fff;font-size:11px}.emwh-offer-wizard-progress button.is-active{color:#0b63ce;background:#eef6ff}.emwh-offer-wizard-progress button.is-active b{background:#0b63ce;border-color:#0b63ce;color:#fff}.emwh-offer-wizard-progress button.is-complete b{background:#dff7e8;border-color:#9cddb4;color:#08783e}.emwh-offer-wizard-step{display:none;padding:20px}.emwh-offer-wizard-step.is-active{display:block}.emwh-offer-step-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}.emwh-offer-step-head h2{margin:5px 0 4px!important;font-size:22px!important}.emwh-offer-step-head p{margin:0;color:#5d7188;font-size:13px}.emwh-offer-relation-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:16px}.emwh-offer-filter-input{margin-bottom:8px!important}.emwh-offer-relation-preview{border:1px solid #d4e0ee;border-radius:14px;background:linear-gradient(180deg,#f9fcff,#f2f7fc);padding:15px;min-height:210px}.emwh-preview-empty{color:#64748b;line-height:1.5}.emwh-preview-values{display:grid;gap:9px;margin-top:10px}.emwh-preview-values>div{display:grid;grid-template-columns:105px 1fr;gap:10px;padding-bottom:8px;border-bottom:1px solid #e1e9f2}.emwh-preview-values>div:last-child{border-bottom:0}.emwh-preview-values span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:900}.emwh-preview-values strong{font-size:12px;color:#10243e;overflow-wrap:anywhere}.emwh-offer-rule{margin-top:12px;border:1px solid #d7e4f4;background:#f7fbff;border-radius:11px;padding:10px 12px;color:#5a718d;font-size:12px;font-weight:700}.emwh-offer-rule.warning{background:#fffaf0;border-color:#f1d6a3;color:#7b5b1f}.emwh-offer-wizard-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:20px;padding-top:14px;border-top:1px solid #e0e8f1}.emwh-offer-wizard-actions .emwh-primary,.emwh-offer-wizard-actions .emwh-secondary{min-height:38px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.emwh-offer-form-section{border:1px solid #d7e0eb;border-radius:14px;background:#fff;padding:14px;margin-bottom:12px}.emwh-offer-form-section h3{margin:0 0 12px!important;font-size:15px!important;color:#10243e}.emwh-offer-form-section .emwh-form-grid{margin:0}.emwh-offer-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.emwh-offer-review-card{border:1px solid #d5e1ef;border-radius:12px;background:#f8fbff;padding:12px}.emwh-offer-review-card span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:900;margin-bottom:5px}.emwh-offer-review-card strong{display:block;font-size:12px;color:#10243e;line-height:1.45}.emwh-offer-cancel{display:flex;justify-content:flex-start;margin-top:10px}.emwh-offer-cancel .emwh-secondary{display:inline-flex;align-items:center;text-decoration:none}@media(max-width:900px){.emwh-offer-relation-grid,.emwh-offer-review-grid{grid-template-columns:1fr}.emwh-offer-wizard-progress{grid-template-columns:1fr 1fr}.emwh-offer-wizard-progress button{justify-content:flex-start}}@media(max-width:560px){.emwh-offer-wizard-progress{grid-template-columns:1fr}.emwh-offer-wizard-progress button{border-right:0;border-bottom:1px solid #d7e0eb}.emwh-offer-wizard-step{padding:14px}.emwh-offer-wizard-actions{flex-direction:column-reverse;align-items:stretch}.emwh-offer-wizard-actions>*{width:100%}}

/* V4.1.7.0.4 - Offer wizard usability */
.emwh-offer-id-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 10px}
.emwh-offer-id-strip>div{background:#fff;border:1px solid #d9e4f2;border-radius:12px;padding:12px 14px;box-shadow:0 4px 14px rgba(17,55,96,.04)}
.emwh-offer-id-strip span{display:block;font-size:10px;font-weight:800;letter-spacing:.12em;color:#55708f;margin-bottom:5px}
.emwh-offer-id-strip strong{font-size:14px;color:#132b45}
.emwh-offer-relation-grid select[size]{min-height:178px;padding:4px;background:#fff}
.emwh-offer-relation-grid select[size] option{padding:9px 10px;border-bottom:1px solid #edf2f8}
.emwh-offer-filter-input{margin-bottom:8px!important}
.emwh-preview-workspace{display:inline-flex!important;margin-top:12px;text-decoration:none}
.emwh-preview-workspace[hidden]{display:none!important}
@media(max-width:800px){.emwh-offer-id-strip{grid-template-columns:1fr}.emwh-offer-relation-grid select[size]{min-height:150px}}

/* V4.1.7.1 - AI supplier offer interpreter */
.emwh-offer-ai-panel{margin-bottom:12px!important;border:1px solid #c9dcef!important;background:linear-gradient(180deg,#f8fbff 0%,#fff 100%)}
.emwh-offer-ai-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:12px}
.emwh-offer-ai-head h2{margin:5px 0 4px!important;font-size:20px!important}.emwh-offer-ai-head p{margin:0;max-width:760px;color:#5d7188;font-size:13px}
.emwh-offer-ai-status{display:inline-flex;align-items:center;min-height:30px;padding:0 11px;border:1px solid #d5e1ef;border-radius:999px;background:#fff;color:#526a84;font-size:11px;font-weight:800;white-space:nowrap}
.emwh-offer-ai-status[data-state="working"]{background:#eef6ff;border-color:#b9d6f8;color:#0b63ce}.emwh-offer-ai-status[data-state="success"]{background:#eaf8ef;border-color:#b6e2c5;color:#08783e}.emwh-offer-ai-status[data-state="error"]{background:#fff1f1;border-color:#efc1c1;color:#a52a2a}
.emwh-offer-ai-panel textarea{width:100%;min-height:118px;resize:vertical;background:#fff;border:1px solid #cbd9e8;border-radius:11px;padding:12px;font:inherit;line-height:1.5}
.emwh-offer-ai-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:10px}.emwh-offer-ai-actions small{margin-left:auto;color:#64748b;font-size:11px}
.emwh-offer-ai-result{display:grid;grid-template-columns:160px 1fr;gap:12px;margin-top:12px;border-top:1px solid #dce6f1;padding-top:12px}.emwh-offer-ai-result>div{border:1px solid #dce6f1;border-radius:10px;background:#fff;padding:10px 12px}.emwh-offer-ai-result span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:900;margin-bottom:5px}.emwh-offer-ai-result strong{font-size:20px;color:#10243e}.emwh-offer-ai-warnings ul{margin:0;padding-left:18px;color:#5d7188;font-size:12px}
@media(max-width:700px){.emwh-offer-ai-head{display:block}.emwh-offer-ai-status{margin-top:10px}.emwh-offer-ai-result{grid-template-columns:1fr}.emwh-offer-ai-actions small{width:100%;margin-left:0}}

/* V4.1.7.2 - Compact AI creation workspace */
.emwh-offer-create-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 0 12px}.emwh-offer-create-head h1{margin:7px 0 3px!important;font-size:22px!important;line-height:1.15}.emwh-offer-create-head p{margin:0;color:#5d7188;font-size:12px}.emwh-offer-breadcrumb{display:flex;align-items:center;gap:9px;font-size:11px;color:#526a84}.emwh-offer-breadcrumb a{color:#0b63ce;text-decoration:none}.emwh-offer-exit{min-width:84px;min-height:34px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.emwh-offer-ai-panel{padding:13px!important;margin-bottom:10px!important}.emwh-offer-ai-kicker{font-size:10px;font-weight:900;letter-spacing:.09em;color:#0b63ce;margin-bottom:10px}.emwh-offer-ai-grid{display:grid;grid-template-columns:minmax(420px,1.25fr) minmax(260px,.95fr) 150px;gap:14px;align-items:stretch}.emwh-offer-ai-grid h3{margin:0 0 3px!important;font-size:12px!important;color:#132b45}.emwh-offer-ai-grid p{margin:0 0 8px;color:#64748b;font-size:10px;line-height:1.35}.emwh-offer-ai-panel textarea{min-height:92px!important;max-height:150px;padding:10px!important;font-size:11px!important;line-height:1.4!important}.emwh-offer-ai-source-buttons{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.emwh-offer-ai-source-buttons button{min-height:30px!important;padding:0 10px!important;font-size:10px!important}.emwh-offer-ai-actions{margin-top:8px!important}.emwh-offer-ai-actions button{min-height:32px!important;padding:0 12px!important;font-size:10px!important}.emwh-offer-ai-preview{border-left:1px solid #e0e8f1;padding-left:14px;min-height:160px}.emwh-ai-preview-empty{height:112px;border:1px dashed #d7e0eb;border-radius:9px;display:flex;align-items:center;justify-content:center;color:#9aa9ba;font-size:11px;background:#fbfdff}.emwh-offer-ai-result{display:block!important;border-top:0!important;padding-top:0!important;margin-top:0!important}.emwh-offer-ai-result[hidden]{display:none!important}.emwh-offer-ai-result>div{padding:9px!important}.emwh-offer-ai-confidence{display:flex;flex-direction:column;align-items:center;justify-content:space-between;text-align:center}.emwh-offer-ai-confidence h3{white-space:nowrap}.emwh-ai-confidence-ring{width:70px;height:70px;border:5px solid #e5eaf0;border-radius:50%;display:flex;align-items:center;justify-content:center;gap:2px;margin:12px auto}.emwh-ai-confidence-ring strong{font-size:18px;color:#132b45}.emwh-ai-confidence-ring small{font-size:10px;color:#526a84}.emwh-offer-ai-status{min-height:26px!important;padding:0 9px!important;font-size:10px!important}.emwh-offer-ai-foot{text-align:right;margin-top:6px;color:#526a84;font-size:10px}
.emwh-offer-wizard-progress{border:1px solid #d7e0eb;border-radius:10px 10px 0 0;overflow:hidden}.emwh-offer-wizard-progress button{padding:9px 14px!important;justify-content:flex-start!important;gap:10px!important;min-height:52px}.emwh-offer-wizard-progress button b{width:24px!important;height:24px!important}.emwh-offer-wizard-progress button span{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.emwh-offer-wizard-progress button strong{font-size:10px;letter-spacing:.12em}.emwh-offer-wizard-progress button small{font-size:10px;font-weight:500;color:#64748b}.emwh-offer-wizard-step{padding:14px 16px 10px!important}.emwh-offer-step-head{margin-bottom:10px!important}.emwh-offer-step-head h2{font-size:17px!important;margin:4px 0 2px!important}.emwh-offer-step-head p{font-size:11px!important}.emwh-offer-product-layout{display:grid;grid-template-columns:minmax(300px,.95fr) minmax(340px,1.05fr) minmax(260px,.8fr);gap:12px}.emwh-offer-product-search,.emwh-offer-relation-preview,.emwh-offer-quick-tips{border:1px solid #d4e0ee;border-radius:10px;background:#fff;padding:11px;min-height:300px}.emwh-offer-product-search .emwh-field>span{display:none}.emwh-offer-filter-input{height:34px!important;margin-bottom:7px!important;font-size:11px!important}.emwh-offer-relation-grid select[size],.emwh-offer-product-search select[size]{min-height:205px!important;height:205px!important;font-size:11px!important;border-radius:8px}.emwh-offer-product-search select[size] option{padding:7px 8px!important}.emwh-offer-view-all{display:inline-flex;margin-top:8px;color:#0b63ce;text-decoration:none;font-size:10px;font-weight:800}.emwh-offer-relation-preview{background:linear-gradient(180deg,#f9fcff,#f3f8fd)!important}.emwh-preview-values{gap:5px!important;margin-top:7px!important}.emwh-preview-values>div{grid-template-columns:92px 1fr!important;padding-bottom:5px!important}.emwh-preview-values span{font-size:9px!important}.emwh-preview-values strong{font-size:11px!important}.emwh-preview-workspace{margin-top:7px!important;min-height:30px!important;font-size:10px!important}.emwh-offer-quick-tips{background:#fff}.emwh-offer-quick-tips>.emwh-tag{margin-bottom:10px}.emwh-offer-quick-tips>div:not(.emwh-tag){display:grid;grid-template-columns:30px 1fr;gap:9px;align-items:start;margin-bottom:12px}.emwh-offer-quick-tips b{width:28px;height:28px;border-radius:50%;background:#eaf3ff;color:#0b63ce;display:flex;align-items:center;justify-content:center;font-size:14px}.emwh-offer-quick-tips span{display:flex;flex-direction:column;gap:2px}.emwh-offer-quick-tips strong{font-size:10px;color:#132b45}.emwh-offer-quick-tips small{font-size:9px;color:#64748b;line-height:1.35}.emwh-offer-wizard-actions{margin-top:10px!important;padding-top:8px!important}.emwh-offer-wizard-actions .emwh-primary,.emwh-offer-wizard-actions .emwh-secondary{min-height:32px!important;padding:0 12px!important;font-size:10px!important}
@media(max-width:1250px){.emwh-offer-ai-grid{grid-template-columns:1fr 1fr 120px}.emwh-offer-product-layout{grid-template-columns:1fr 1fr}.emwh-offer-quick-tips{grid-column:1/-1;min-height:0;display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.emwh-offer-quick-tips>.emwh-tag{grid-column:1/-1}.emwh-offer-quick-tips>div:not(.emwh-tag){margin:0}}
@media(max-width:900px){.emwh-offer-ai-grid{grid-template-columns:1fr}.emwh-offer-ai-preview{border-left:0;padding-left:0}.emwh-offer-ai-confidence{flex-direction:row}.emwh-ai-confidence-ring{margin:0}.emwh-offer-product-layout{grid-template-columns:1fr}.emwh-offer-product-search,.emwh-offer-relation-preview,.emwh-offer-quick-tips{min-height:0}.emwh-offer-quick-tips{display:block}.emwh-offer-create-head{align-items:center}}

/* V4.1.7.3 AI offer image input and prepared commercial lines */
.emwh-offer-ai-context{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:8px;margin-top:8px}.emwh-offer-ai-context>label>span{display:block;font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:#526a84;margin-bottom:4px}.emwh-offer-ai-context .emwh-field{margin:0}.emwh-offer-ai-context .emwh-field>span,.emwh-offer-ai-context .emwh-offer-filter-input{display:none}.emwh-offer-ai-context select{width:100%;height:34px!important;min-height:34px!important}.emwh-offer-ai-context input{width:100%;height:34px;border:1px solid #cbd9e8;border-radius:8px;padding:0 9px;background:#fff}.emwh-offer-ai-image-drop{margin-top:8px;min-height:54px;border:1px dashed #b9cce0;border-radius:9px;background:#fbfdff;display:flex;align-items:center;justify-content:center;padding:8px;cursor:pointer}.emwh-offer-ai-image-drop.is-dragging{border-color:#0b63ce;background:#eef6ff}.emwh-offer-ai-image-drop [data-ai-image-empty]{text-align:center}.emwh-offer-ai-image-drop [data-ai-image-empty] strong{display:block;color:#0b63ce;font-size:11px}.emwh-offer-ai-image-drop [data-ai-image-empty] span{display:block;color:#718399;font-size:9px;margin-top:2px}.emwh-offer-ai-image-preview{width:100%;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:8px}.emwh-offer-ai-image-preview[hidden]{display:none!important}.emwh-offer-ai-image-preview img{width:42px;height:42px;object-fit:cover;border-radius:7px;border:1px solid #d7e1ec}.emwh-offer-ai-image-preview span{font-size:10px;color:#334e68;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.emwh-offer-ai-lines label{display:block;font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:#526a84;margin:7px 0 3px}.emwh-offer-ai-lines>div{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:start}.emwh-offer-ai-lines textarea{min-height:52px!important;max-height:72px!important;font-size:10px!important;background:#f8fbff!important}.emwh-offer-ai-lines button{min-height:30px!important;padding:0 9px!important;font-size:9px!important}.emwh-offer-ai-warnings{margin-top:7px}.emwh-offer-ai-warnings>span{font-size:9px;font-weight:900;text-transform:uppercase;color:#9a6700}.emwh-offer-ai-warnings ul{margin:3px 0 0;padding-left:16px;font-size:9px;color:#64748b}.emwh-offer-ai-panel .emwh-offer-ai-preview{min-width:0}
@media(max-width:900px){.emwh-offer-ai-context{grid-template-columns:1fr}.emwh-offer-ai-lines>div{grid-template-columns:1fr}.emwh-offer-ai-lines button{justify-self:start}}

/* V4.1.7.4 - Offer creation viewport fit
 * Keep the AI workbench and the active wizard step usable inside a standard
 * desktop viewport without changing the modular markup or data flow.
 */
@media (min-width: 1260px) and (min-height: 760px) {
  .emwh-offer-create-head{margin-bottom:7px!important;align-items:center!important}
  .emwh-offer-create-head h1{margin:3px 0 1px!important;font-size:18px!important}
  .emwh-offer-create-head p{font-size:10px!important;line-height:1.25!important}
  .emwh-offer-breadcrumb{font-size:10px!important}
  .emwh-offer-exit{min-height:30px!important;min-width:72px!important;font-size:10px!important}

  .emwh-offer-ai-panel{padding:9px 11px!important;margin-bottom:7px!important}
  .emwh-offer-ai-kicker{margin-bottom:6px!important;font-size:9px!important}
  .emwh-offer-ai-grid{grid-template-columns:minmax(560px,1.35fr) minmax(330px,.9fr) 92px;gap:10px!important}
  .emwh-offer-ai-grid h3{font-size:11px!important;margin-bottom:1px!important}
  .emwh-offer-ai-grid p{font-size:9px!important;margin-bottom:5px!important;line-height:1.25!important}

  .emwh-offer-ai-input{display:grid;grid-template-columns:minmax(0,1fr) 230px;grid-template-areas:"title title" "description description" "text context" "text image" "actions image";column-gap:9px;align-content:start}
  .emwh-offer-ai-input>h3{grid-area:title}
  .emwh-offer-ai-input>p{grid-area:description}
  .emwh-offer-ai-input>textarea{grid-area:text;height:78px!important;min-height:78px!important;max-height:78px!important;resize:none!important;padding:8px!important;font-size:10px!important}
  .emwh-offer-ai-context{grid-area:context;grid-template-columns:minmax(0,1fr) 82px!important;margin-top:0!important;gap:6px!important}
  .emwh-offer-ai-context>label>span{font-size:8px!important;margin-bottom:2px!important}
  .emwh-offer-ai-context select,.emwh-offer-ai-context input{height:29px!important;min-height:29px!important;font-size:9px!important;padding:0 6px!important}
  .emwh-offer-ai-image-drop{grid-area:image;margin-top:3px!important;min-height:40px!important;height:40px!important;padding:4px!important}
  .emwh-offer-ai-image-drop [data-ai-image-empty] strong{font-size:9px!important}
  .emwh-offer-ai-image-drop [data-ai-image-empty] span{font-size:8px!important;margin-top:0!important}
  .emwh-offer-ai-image-preview{grid-template-columns:30px 1fr auto!important;gap:5px!important}
  .emwh-offer-ai-image-preview img{width:30px!important;height:30px!important}
  .emwh-offer-ai-image-preview button{min-height:25px!important;padding:0 6px!important;font-size:8px!important}
  .emwh-offer-ai-actions{grid-area:actions;margin-top:5px!important;gap:6px!important;flex-wrap:nowrap!important}
  .emwh-offer-ai-actions button{min-height:28px!important;padding:0 9px!important;font-size:9px!important}

  .emwh-offer-ai-preview{min-height:112px!important;padding-left:10px!important}
  .emwh-ai-preview-empty{height:76px!important;font-size:9px!important}
  .emwh-offer-ai-lines label{margin:3px 0 2px!important;font-size:8px!important}
  .emwh-offer-ai-lines textarea{height:35px!important;min-height:35px!important;max-height:35px!important;padding:5px!important;font-size:8px!important;line-height:1.2!important;resize:none!important}
  .emwh-offer-ai-lines button{min-height:25px!important;font-size:8px!important}
  .emwh-offer-ai-warnings{margin-top:3px!important}
  .emwh-offer-ai-warnings ul{font-size:8px!important;line-height:1.2!important;margin-top:1px!important}
  .emwh-offer-ai-confidence{justify-content:center!important;gap:6px!important}
  .emwh-offer-ai-confidence h3{font-size:9px!important}
  .emwh-ai-confidence-ring{width:48px!important;height:48px!important;border-width:4px!important;margin:5px auto!important}
  .emwh-ai-confidence-ring strong{font-size:13px!important}
  .emwh-ai-confidence-ring small{font-size:8px!important}
  .emwh-offer-ai-status{min-height:23px!important;padding:0 7px!important;font-size:8px!important}
  .emwh-offer-ai-foot{margin-top:3px!important;font-size:8px!important}

  .emwh-offer-wizard-progress button{min-height:42px!important;padding:6px 11px!important;gap:7px!important}
  .emwh-offer-wizard-progress button b{width:21px!important;height:21px!important;font-size:9px!important}
  .emwh-offer-wizard-progress button strong{font-size:9px!important}
  .emwh-offer-wizard-progress button small{font-size:8px!important}
  .emwh-offer-wizard-step{padding:9px 12px 7px!important}
  .emwh-offer-step-head{margin-bottom:6px!important}
  .emwh-offer-step-head .emwh-tag{font-size:8px!important}
  .emwh-offer-step-head h2{font-size:15px!important;margin:2px 0 1px!important}
  .emwh-offer-step-head p{font-size:9px!important;line-height:1.25!important}

  .emwh-offer-product-layout{grid-template-columns:minmax(280px,.95fr) minmax(360px,1.08fr) minmax(260px,.78fr);gap:9px!important}
  .emwh-offer-product-search,.emwh-offer-relation-preview,.emwh-offer-quick-tips{min-height:226px!important;height:226px!important;padding:8px!important;overflow:hidden}
  .emwh-offer-filter-input{height:29px!important;margin-bottom:5px!important;font-size:9px!important}
  .emwh-offer-relation-grid select[size],.emwh-offer-product-search select[size]{height:139px!important;min-height:139px!important;font-size:9px!important}
  .emwh-offer-product-search select[size] option{padding:5px 6px!important}
  .emwh-offer-view-all{margin-top:5px!important;font-size:9px!important}
  .emwh-preview-values{gap:2px!important;margin-top:4px!important}
  .emwh-preview-values>div{grid-template-columns:82px 1fr!important;padding-bottom:3px!important;gap:6px!important}
  .emwh-preview-values span{font-size:8px!important}
  .emwh-preview-values strong{font-size:9px!important;line-height:1.15!important}
  .emwh-preview-workspace{margin-top:4px!important;min-height:25px!important;font-size:8px!important}
  .emwh-offer-quick-tips>.emwh-tag{margin-bottom:6px!important}
  .emwh-offer-quick-tips>div:not(.emwh-tag){grid-template-columns:24px 1fr!important;gap:6px!important;margin-bottom:7px!important}
  .emwh-offer-quick-tips b{width:22px!important;height:22px!important;font-size:10px!important}
  .emwh-offer-quick-tips strong{font-size:9px!important}
  .emwh-offer-quick-tips small{font-size:8px!important;line-height:1.2!important}
  .emwh-offer-wizard-actions{margin-top:6px!important;padding-top:5px!important}
  .emwh-offer-wizard-actions .emwh-primary,.emwh-offer-wizard-actions .emwh-secondary{min-height:29px!important;font-size:9px!important;padding:0 10px!important}
}

/* On shorter desktop screens, keep actions visible and remove non-essential help height. */
@media (min-width: 1260px) and (max-height: 759px) {
  .emwh-offer-create-head p,.emwh-offer-ai-grid p,.emwh-offer-ai-foot{display:none!important}
  .emwh-offer-create-head{margin-bottom:5px!important}
  .emwh-offer-create-head h1{font-size:17px!important;margin:2px 0!important}
  .emwh-offer-ai-panel{padding:7px 9px!important;margin-bottom:5px!important}
  .emwh-offer-ai-kicker{margin-bottom:4px!important}
  .emwh-offer-ai-grid{grid-template-columns:minmax(560px,1.4fr) minmax(300px,.85fr) 80px;gap:8px!important}
  .emwh-offer-ai-panel textarea{height:58px!important;min-height:58px!important;max-height:58px!important;resize:none!important}
  .emwh-offer-ai-image-drop{min-height:34px!important;height:34px!important}
  .emwh-offer-ai-preview{min-height:82px!important}
  .emwh-ai-preview-empty{height:55px!important}
  .emwh-ai-confidence-ring{width:42px!important;height:42px!important;margin:2px auto!important}
  .emwh-offer-wizard-progress button{min-height:37px!important;padding:5px 9px!important}
  .emwh-offer-wizard-step{padding:7px 10px 5px!important}
  .emwh-offer-step-head p{display:none!important}
  .emwh-offer-product-search,.emwh-offer-relation-preview,.emwh-offer-quick-tips{height:200px!important;min-height:200px!important}
  .emwh-offer-relation-grid select[size],.emwh-offer-product-search select[size]{height:116px!important;min-height:116px!important}
  .emwh-offer-wizard-actions{position:sticky;bottom:0;background:#fff;z-index:4}
}

/* V4.1.7.6 - AI image reliability and guided workflow */
.emwh-offer-ai-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.emwh-offer-ai-toolbar .emwh-offer-ai-kicker{margin:0!important}
.emwh-offer-help-button{min-height:28px!important;padding:0 10px!important;font-size:10px!important;color:#0b63ce!important;border-color:#b9d3f2!important;background:#f7fbff!important}
.emwh-offer-help-modal[hidden]{display:none!important}
.emwh-offer-help-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px}
.emwh-offer-help-backdrop{position:absolute;inset:0;background:rgba(8,28,49,.55)}
.emwh-offer-help-dialog{position:relative;width:min(720px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow:auto;background:#fff;border:1px solid #d7e2ee;border-radius:16px;box-shadow:0 24px 70px rgba(8,28,49,.3);padding:20px}
.emwh-offer-help-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:14px;border-bottom:1px solid #e2eaf2}
.emwh-offer-help-head h2{margin:5px 0 0!important;font-size:22px!important}
.emwh-offer-help-steps{counter-reset:offer-help;list-style:none;margin:16px 0;padding:0;display:grid;gap:10px}
.emwh-offer-help-steps li{counter-increment:offer-help;display:grid;grid-template-columns:30px 1fr;column-gap:10px;row-gap:2px;padding:10px 12px;border:1px solid #dce6f1;border-radius:11px;background:#fbfdff}
.emwh-offer-help-steps li:before{content:counter(offer-help);grid-row:1/3;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#e8f2ff;color:#0b63ce;font-size:11px;font-weight:900}
.emwh-offer-help-steps b{font-size:12px;color:#10243e}
.emwh-offer-help-steps span{font-size:11px;line-height:1.4;color:#61758d}
.emwh-offer-help-note{display:grid;gap:3px;padding:11px 13px;border:1px solid #f0d39c;border-radius:11px;background:#fffaf0;color:#76551a}
.emwh-offer-help-note strong{font-size:11px}.emwh-offer-help-note span{font-size:10px;line-height:1.4}
.emwh-offer-ai-status[data-state="error"]{max-width:100%;white-space:normal;line-height:1.25;padding:5px 8px!important;text-align:left}
@media(max-width:700px){.emwh-offer-help-dialog{padding:14px}.emwh-offer-help-head h2{font-size:18px!important}}


/* V4.1.7.7 - Commercial Position compact form repair */
.emwh-offer-wizard-step[data-wizard-step="3"] .emwh-offer-position-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0 0 10px!important;
}
.emwh-offer-wizard-step[data-wizard-step="3"] .emwh-offer-form-section{
  min-height:0!important;
  height:auto!important;
  margin:0 0 10px!important;
  padding:11px 12px!important;
  overflow:visible!important;
}
.emwh-offer-wizard-step[data-wizard-step="3"] .emwh-offer-position-grid .emwh-offer-form-section{
  margin-bottom:0!important;
}
.emwh-offer-wizard-step[data-wizard-step="3"] .emwh-offer-form-section h3{
  margin:0 0 9px!important;
  font-size:13px!important;
  line-height:1.2!important;
}
.emwh-offer-wizard-step[data-wizard-step="3"] .emwh-form-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:9px 10px!important;
  align-items:end!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
}
.emwh-offer-wizard-step[data-wizard-step="3"] > .emwh-offer-form-section .emwh-form-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.emwh-offer-wizard-step[data-wizard-step="3"] .emwh-field{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  gap:4px!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  position:static!important;
  visibility:visible!important;
  opacity:1!important;
}
.emwh-offer-wizard-step[data-wizard-step="3"] .emwh-field > span{
  display:block!important;
  position:static!important;
  visibility:visible!important;
  opacity:1!important;
  margin:0!important;
  padding:0!important;
  color:#526a84!important;
  font-size:9px!important;
  line-height:1.2!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}
.emwh-offer-wizard-step[data-wizard-step="3"] .emwh-field input,
.emwh-offer-wizard-step[data-wizard-step="3"] .emwh-field select{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  margin:0!important;
  padding:0 9px!important;
  border:1px solid #c8d7e7!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#10243e!important;
  font-size:11px!important;
  line-height:32px!important;
  box-shadow:none!important;
  visibility:visible!important;
  opacity:1!important;
}
.emwh-offer-wizard-step[data-wizard-step="3"] .emwh-field input[readonly]{
  background:#f4f7fa!important;
  color:#53677e!important;
}
@media (min-width:1260px) and (max-height:759px){
  .emwh-offer-wizard-step[data-wizard-step="3"] .emwh-offer-form-section{padding:8px 10px!important;margin-bottom:7px!important}
  .emwh-offer-wizard-step[data-wizard-step="3"] .emwh-offer-position-grid{gap:7px!important;margin-bottom:7px!important}
  .emwh-offer-wizard-step[data-wizard-step="3"] .emwh-form-grid{gap:6px 8px!important}
  .emwh-offer-wizard-step[data-wizard-step="3"] .emwh-field input,
  .emwh-offer-wizard-step[data-wizard-step="3"] .emwh-field select{height:30px!important;min-height:30px!important;max-height:30px!important;line-height:28px!important;font-size:10px!important}
}
@media(max-width:1050px){
  .emwh-offer-wizard-step[data-wizard-step="3"] .emwh-offer-position-grid{grid-template-columns:1fr!important}
  .emwh-offer-wizard-step[data-wizard-step="3"] > .emwh-offer-form-section .emwh-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
  .emwh-offer-wizard-step[data-wizard-step="3"] .emwh-form-grid,
  .emwh-offer-wizard-step[data-wizard-step="3"] > .emwh-offer-form-section .emwh-form-grid{grid-template-columns:1fr!important}
}

/* =========================================================
   V4.1.8.0 Guided AI Offer Workflow
   ========================================================= */
.emwh-guided-offer{padding:18px 20px!important;border-radius:14px!important}
.emwh-guided-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px}
.emwh-guided-head h2,.emwh-guided-details-head h2,.emwh-guided-result-head h2{margin:3px 0 4px;font-size:22px;line-height:1.15;color:#10233d}
.emwh-guided-head p,.emwh-guided-details-head p{margin:0;color:#61728a;font-size:13px}
.emwh-guided-input-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(280px,.75fr);gap:14px;align-items:stretch}
.emwh-guided-message,.emwh-guided-context label{display:flex;flex-direction:column;gap:6px;margin:0}
.emwh-guided-message>span,.emwh-guided-context label>span,.emwh-guided-lines label>span{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#275da8}
.emwh-guided-message textarea{min-height:128px!important;resize:vertical;border:1px solid #cfdced!important;border-radius:10px!important;padding:12px!important;font-size:13px!important;background:#fff!important}
.emwh-guided-context{display:grid;grid-template-columns:1fr 110px;gap:10px;align-content:start}
.emwh-guided-context select,.emwh-guided-context input{height:38px!important;min-height:38px!important;border:1px solid #cfdced!important;border-radius:8px!important;background:#fff!important;padding:0 10px!important;font-size:12px!important}
.emwh-guided-context .emwh-offer-ai-image-drop{grid-column:1/-1;min-height:72px!important;margin:0!important;border-radius:10px!important}
.emwh-guided-actions{display:flex;align-items:center;gap:9px;margin-top:12px}
.emwh-guided-actions .emwh-offer-ai-status{margin-left:auto}
.emwh-guided-empty{margin-top:14px;border:1px dashed #cbd8e8;border-radius:10px;background:#f8fbff;padding:14px 16px;display:flex;align-items:center;gap:12px;color:#5d6d82}
.emwh-guided-empty strong{color:#17365e}
.emwh-guided-result{margin-top:14px;border-top:1px solid #dfe7f1;padding-top:16px}
.emwh-guided-result-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.emwh-guided-confidence{display:flex;align-items:center;gap:9px;border:1px solid #d6e1ef;border-radius:999px;padding:6px 10px;background:#f8fbff}
.emwh-guided-confidence span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#687990;font-weight:800}
.emwh-guided-confidence strong{font-size:16px;color:#0b63ce}
.emwh-guided-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}
.emwh-guided-summary>div{border:1px solid #dce5f0;border-radius:9px;padding:10px 12px;background:#fff;min-height:66px}
.emwh-guided-summary span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#708198;font-weight:800;margin-bottom:5px}
.emwh-guided-summary strong{display:block;font-size:13px;line-height:1.3;color:#172a44;word-break:break-word}
.emwh-guided-lines{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.emwh-guided-lines label{display:block;margin:0}
.emwh-guided-lines label>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:6px;align-items:stretch}
.emwh-guided-lines textarea{min-height:74px!important;border:1px solid #cfdced!important;border-radius:9px!important;background:#f9fbfe!important;padding:10px!important;font-size:12px!important;line-height:1.4!important;resize:vertical}
.emwh-guided-result-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:12px;padding-top:12px;border-top:1px solid #e3eaf3}
.emwh-guided-details{margin-top:14px;padding:16px!important;border-radius:14px!important}
.emwh-guided-details[hidden]{display:none!important}
.emwh-guided-details-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px}
.emwh-guided-details .emwh-offer-wizard-progress{margin:0 0 10px!important}
.emwh-guided-details .emwh-offer-step-head{margin-bottom:10px!important}
.emwh-guided-details .emwh-offer-step-head h2{font-size:19px!important;margin:2px 0!important}
.emwh-guided-details .emwh-offer-step-head p{font-size:12px!important;margin:0!important}
.emwh-guided-details .emwh-offer-wizard-step{padding:12px!important}
.emwh-guided-details .emwh-offer-wizard-actions{margin-top:10px!important;padding-top:10px!important}
@media(max-width:1100px){
  .emwh-guided-input-grid{grid-template-columns:1fr}
  .emwh-guided-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .emwh-guided-head,.emwh-guided-result-head,.emwh-guided-details-head{flex-direction:column}
  .emwh-guided-context{grid-template-columns:1fr}
  .emwh-guided-context .emwh-offer-ai-image-drop{grid-column:auto}
  .emwh-guided-summary,.emwh-guided-lines{grid-template-columns:1fr}
  .emwh-guided-actions,.emwh-guided-result-actions{flex-wrap:wrap}
  .emwh-guided-actions .emwh-offer-ai-status{margin-left:0;width:100%}
}


/* V4.1.8.1 Offer navigation and global action icon standard */
.emwh-offer-page-navigation{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;padding:8px 10px;border:1px solid #dbe5f0;border-radius:10px;background:#fff}
.emwh-offer-page-navigation .emwh-secondary,.emwh-guided-offer .emwh-secondary,.emwh-guided-details .emwh-secondary,.emwh-offer-workspace-toolbar .emwh-secondary{background:#fff!important;color:#155fb8!important;border:1px solid #bfd2e8!important;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important}
.emwh-offer-page-navigation .emwh-secondary:hover,.emwh-guided-offer .emwh-secondary:hover,.emwh-guided-details .emwh-secondary:hover,.emwh-offer-workspace-toolbar .emwh-secondary:hover{background:#f2f7fd!important;border-color:#8fb4df!important;color:#0b4f9f!important}
.emwh-guided-actions .emwh-secondary,.emwh-guided-lines .emwh-secondary,.emwh-guided-result-actions .emwh-secondary,.emwh-guided-details-head .emwh-secondary,.emwh-offer-help-dialog .emwh-secondary{min-height:34px!important;padding:0 12px!important;border-radius:8px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;font-size:10px!important;font-weight:800!important}
.emwh-guided-result-actions{justify-content:space-between!important;flex-wrap:wrap!important}.emwh-guided-result-actions .emwh-primary{margin-left:auto}.emwh-offer-workspace-toolbar{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}.emwh-offer-workspace-toolbar .emwh-primary{margin-left:auto!important}
@media(max-width:760px){.emwh-offer-page-navigation{align-items:stretch;flex-direction:column}.emwh-offer-page-navigation>*{width:100%;justify-content:center}.emwh-guided-result-actions>*{width:100%;justify-content:center!important}.emwh-guided-result-actions .emwh-primary,.emwh-offer-workspace-toolbar .emwh-primary{margin-left:0!important}}

/* V4.1.9.0 - Bulk AI Offer Intake */
.emwh-offer-nav{display:flex;gap:8px;margin:0 0 10px}.emwh-bulk-intake,.emwh-bulk-review{padding:16px;margin-bottom:12px}.emwh-bulk-heading,.emwh-bulk-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.emwh-bulk-heading h2,.emwh-bulk-review h2{margin:3px 0 4px}.emwh-bulk-heading p,.emwh-bulk-review p{margin:0;color:#61718a}.emwh-bulk-help{margin:10px 0;padding:10px 12px;border:1px solid #cfe0f7;background:#f6faff;border-radius:8px}.emwh-bulk-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:14px;margin-top:12px}.emwh-bulk-text textarea{min-height:220px;resize:vertical}.emwh-bulk-settings{display:grid;align-content:start;gap:10px}.emwh-bulk-actions{display:flex;gap:8px;flex-wrap:wrap}.emwh-bulk-message{margin-top:10px;padding:10px 12px;border:1px solid #efb5b5;background:#fff5f5;color:#a22222;border-radius:8px}.emwh-bulk-review-actions{display:flex;gap:8px}.emwh-bulk-table td{vertical-align:top}.emwh-bulk-table select{min-width:270px;max-width:430px}.emwh-bulk-table small{display:block;margin-top:5px;color:#718096;max-width:430px;line-height:1.35}.emwh-bulk-row.needs-review{background:#fffaf0}.emwh-bulk-status{display:inline-flex;border-radius:999px;padding:3px 8px;font-weight:700;font-size:11px}.emwh-bulk-status.ok{background:#e8f8ee;color:#13783d}.emwh-bulk-status.review{background:#fff0d6;color:#9a5c00}.emwh-bulk-footer{position:sticky;bottom:0;background:#fff;border-top:1px solid #dce5f0;padding:10px 0;margin-top:8px;display:flex;align-items:center;gap:10px}.emwh-bulk-footer #emwh-bulk-selection-summary{margin-left:auto;font-weight:700;color:#42536b}@media(max-width:1100px){.emwh-bulk-grid{grid-template-columns:1fr}.emwh-bulk-settings{grid-template-columns:1fr 1fr}.emwh-bulk-actions{grid-column:1/-1}}@media(max-width:760px){.emwh-bulk-heading,.emwh-bulk-review-head{display:block}.emwh-bulk-review-actions{margin-top:10px}.emwh-bulk-settings{grid-template-columns:1fr}.emwh-bulk-footer{flex-wrap:wrap}.emwh-bulk-footer #emwh-bulk-selection-summary{margin-left:0}}

/* V4.2.0.0 Trading Desk foundation */
.emwh-td-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 12px}.emwh-td-tab{display:flex;align-items:center;gap:11px;padding:13px 15px;border:1px solid #d8e2ef;border-radius:10px;background:#fff;color:#123252;text-decoration:none}.emwh-td-tab:hover,.emwh-td-tab.is-active{border-color:#1877e8;background:#f3f8ff}.emwh-td-tab-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#eaf3ff;color:#0b65d8;font-size:17px}.emwh-td-tab strong,.emwh-td-tab small{display:block}.emwh-td-tab strong{font-size:13px}.emwh-td-tab small{font-size:11px;color:#6c7f93;margin-top:2px}.emwh-td-start{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(420px,.9fr);gap:22px;align-items:center;padding:18px 20px}.emwh-td-start h2{margin:5px 0 5px;font-size:22px}.emwh-td-start p{margin:0;color:#61758a;max-width:780px}.emwh-td-start-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.emwh-td-main-action,.emwh-td-secondary-action{display:flex!important;align-items:center;gap:10px;min-height:58px;justify-content:flex-start!important;text-align:left!important}.emwh-td-main-action>span:first-child,.emwh-td-secondary-action>span:first-child{font-size:20px}.emwh-td-main-action strong,.emwh-td-main-action small,.emwh-td-secondary-action strong,.emwh-td-secondary-action small{display:block}.emwh-td-main-action small,.emwh-td-secondary-action small{font-size:10px;opacity:.78;margin-top:2px}.emwh-td-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.emwh-td-metric{display:flex;align-items:center;gap:12px;padding:14px}.emwh-td-metric-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#edf5ff;color:#0b65d8}.emwh-td-metric strong,.emwh-td-metric span,.emwh-td-metric small{display:block}.emwh-td-metric strong{font-size:22px;line-height:1}.emwh-td-metric span{font-weight:700;font-size:12px;margin-top:4px}.emwh-td-metric small{font-size:10px;color:#708398;margin-top:2px}.emwh-td-grid{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:12px}.emwh-td-workflow,.emwh-td-recent{padding:17px}.emwh-td-workflow h3,.emwh-td-recent h3{margin:5px 0 12px}.emwh-td-step{display:flex;gap:10px;align-items:flex-start;padding:9px 0;border-bottom:1px solid #edf1f6}.emwh-td-step>span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#eaf3ff;color:#0b65d8;font-weight:800;font-size:11px;flex:0 0 auto}.emwh-td-step strong,.emwh-td-step small{display:block}.emwh-td-step strong{font-size:12px}.emwh-td-step small{font-size:10px;color:#718397;margin-top:2px}.emwh-td-workflow>.emwh-primary{margin-top:14px}.emwh-td-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.emwh-td-recent-list{display:grid;gap:7px}.emwh-td-recent-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 11px;border:1px solid #e3eaf2;border-radius:8px;background:#fff;color:#18334e;text-decoration:none}.emwh-td-recent-row:hover{border-color:#b9d3f2;background:#f8fbff}.emwh-td-recent-row strong,.emwh-td-recent-row span,.emwh-td-recent-row small{display:block}.emwh-td-recent-row strong{font-size:12px}.emwh-td-recent-row span{font-size:11px;margin-top:2px}.emwh-td-recent-row small{font-size:10px;color:#718397;margin-top:2px}.emwh-td-recent-values{display:flex;align-items:center;gap:12px;white-space:nowrap}.emwh-td-empty{padding:28px;text-align:center;color:#667a90}.emwh-td-empty p{margin:5px 0 0}@media(max-width:1100px){.emwh-td-start,.emwh-td-grid{grid-template-columns:1fr}.emwh-td-metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.emwh-td-tabs,.emwh-td-metrics,.emwh-td-start-actions{grid-template-columns:1fr}.emwh-td-recent-row,.emwh-td-recent-values{align-items:flex-start;flex-direction:column}}

/* V4.2.0.1 Editable bulk review and parser repair */
.emwh-bulk-editable{min-width:1420px}.emwh-bulk-editable th{white-space:nowrap}.emwh-bulk-editable td{vertical-align:top}.emwh-bulk-product-cell{min-width:330px}.emwh-bulk-product-cell select{width:100%;min-height:38px}.emwh-bulk-product-cell small{display:block;margin-top:6px;line-height:1.3;color:#60738b;max-width:420px}.emwh-inline-fields,.emwh-price-fields,.emwh-sale-field,.emwh-benefit-field{display:flex;align-items:center;gap:5px}.emwh-inline-fields input{width:104px}.emwh-inline-fields select{width:65px}.emwh-price-fields select:first-child{width:72px}.emwh-price-fields input{width:105px}.emwh-price-fields select:last-child{width:66px}.emwh-benefit-field input{width:72px}.emwh-sale-field input{width:112px}.emwh-bulk-editable input,.emwh-bulk-editable select,.emwh-bulk-detail-grid textarea{min-height:36px;border:1px solid #b9cce2;border-radius:5px;background:#fff;padding:6px 8px;color:#0c2238}.emwh-bulk-editable input:focus,.emwh-bulk-editable select:focus,.emwh-bulk-detail-grid textarea:focus{outline:2px solid rgba(8,102,214,.14);border-color:#0866d6}.emwh-row-actions{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}.emwh-small{min-height:30px!important;padding:5px 9px!important;font-size:11px!important}.emwh-danger-link{border:1px solid #efb4b4;background:#fff5f5;color:#b42318;border-radius:5px;cursor:pointer}.emwh-bulk-detail-row td{padding:0 12px 12px;background:#f5f9fd}.emwh-bulk-detail-grid{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:10px;padding:12px;border:1px solid #d3e0ee;border-top:0;border-radius:0 0 8px 8px}.emwh-bulk-detail-grid label{display:flex;flex-direction:column;gap:4px;font-size:10px;font-weight:700;text-transform:uppercase;color:#31506f}.emwh-detail-source{grid-column:1/-1}.emwh-detail-source textarea{width:100%;resize:vertical;text-transform:none;font-weight:400}.emwh-bulk-row.needs-review input:invalid{border-color:#dca94a}.emwh-bulk-status+small{display:block;margin-top:5px;max-width:260px;line-height:1.25}.emwh-bulk-footer{position:sticky;bottom:0;z-index:12;background:#fff;border-top:1px solid #d9e4ef;padding:10px 0}.emwh-bulk-message{position:sticky;top:10px;z-index:20}
@media(max-width:1200px){.emwh-bulk-detail-grid{grid-template-columns:repeat(3,1fr)}}
