.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.4.0.0 Offer Desk Rebuild Foundation */
.emwh-offer-desk-shell{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;align-items:start}
.emwh-offer-desk-sidebar{position:sticky;top:18px;background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:14px;box-shadow:0 6px 18px rgba(16,24,40,.05)}
.emwh-offer-desk-brand{display:flex;gap:10px;align-items:center;padding:8px 8px 16px;border-bottom:1px solid #eef0f3;margin-bottom:10px}
.emwh-offer-desk-brand-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#111827;color:#fff;font-size:18px}
.emwh-offer-desk-brand strong,.emwh-offer-desk-brand small{display:block}.emwh-offer-desk-brand small{color:#667085;margin-top:2px}
.emwh-offer-desk-menu{display:grid;gap:5px}.emwh-offer-desk-menu-item{display:flex;gap:10px;align-items:center;padding:11px 12px;border-radius:9px;color:#344054;text-decoration:none;border:1px solid transparent}
.emwh-offer-desk-menu-item:hover{background:#f8fafc}.emwh-offer-desk-menu-item.is-active{background:#eef4ff;color:#1849a9;border-color:#d1e0ff}.emwh-offer-desk-menu-item span{width:22px;text-align:center;font-size:16px}.emwh-offer-desk-menu-item b{font-size:14px}
.emwh-offer-desk-content{min-width:0}.emwh-offer-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.emwh-offer-metric{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #e4e7ec;border-radius:13px;padding:18px}.emwh-offer-metric>span{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#f2f4f7;font-size:20px}.emwh-offer-metric strong,.emwh-offer-metric small{display:block}.emwh-offer-metric strong{font-size:25px;line-height:1.1}.emwh-offer-metric small{color:#667085;margin-top:4px}
.emwh-offer-dashboard-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:18px}.emwh-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.emwh-section-heading h2{margin:3px 0 0}.emwh-offer-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.emwh-offer-quick-actions a{display:grid;grid-template-columns:38px 1fr;column-gap:10px;padding:13px;border:1px solid #e4e7ec;border-radius:11px;text-decoration:none;color:#101828}.emwh-offer-quick-actions a:hover{border-color:#98a2b3;background:#f9fafb}.emwh-offer-quick-actions span{grid-row:1/3;display:grid;place-items:center;border-radius:9px;background:#f2f4f7;font-size:18px}.emwh-offer-quick-actions small{color:#667085;margin-top:2px}.emwh-offer-recent-list{display:grid}.emwh-offer-recent-list>a{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #eef0f3;text-decoration:none;color:#101828}.emwh-offer-recent-list>a:last-child{border-bottom:0}.emwh-offer-recent-list>a{border-radius:8px;transition:background-color .16s ease,border-color .16s ease}.emwh-offer-recent-list>a:hover,.emwh-offer-recent-list>a:focus-visible{background:#f7fbff;outline:none}.emwh-offer-recent-list>a:focus-visible{box-shadow:0 0 0 2px #b9d3f2}.emwh-offer-recent-list div:last-child{text-align:right}.emwh-offer-recent-list small{display:block;color:#667085;margin-top:3px}.emwh-empty-state{padding:28px;text-align:center;color:#667085;background:#f9fafb;border:1px dashed #d0d5dd;border-radius:10px}
@media(max-width:1100px){.emwh-offer-desk-shell{grid-template-columns:1fr}.emwh-offer-desk-sidebar{position:static}.emwh-offer-desk-menu{grid-template-columns:repeat(5,1fr)}.emwh-offer-desk-menu-item{justify-content:center}.emwh-offer-desk-menu-item b{display:none}.emwh-offer-metrics{grid-template-columns:repeat(2,1fr)}.emwh-offer-dashboard-grid{grid-template-columns:1fr}}
@media(max-width:640px){.emwh-offer-metrics{grid-template-columns:1fr}.emwh-offer-quick-actions{grid-template-columns:1fr}.emwh-offer-desk-menu{grid-template-columns:repeat(5,1fr)}.emwh-offer-desk-sidebar{padding:8px}.emwh-offer-desk-brand{display:none}.emwh-offer-desk-menu-item{padding:10px 6px}}

/* V4.4.1 operational review grid */
.emwh-bulk-table{min-width:1500px}.emwh-bulk-table select,.emwh-bulk-table input{width:100%;min-width:105px;padding:8px;border:1px solid #d8e1ec;border-radius:8px;background:#fff}.emwh-bulk-table td{vertical-align:top}.emwh-bulk-table td small{display:block;margin-top:6px;color:#6b7a90;line-height:1.35}.emwh-inline-money{display:flex;align-items:center;gap:5px}.emwh-inline-money span{font-weight:700}.emwh-bulk-status.cheaper-exact,.emwh-bulk-status.cheaper-market{background:#dcfce7;color:#166534}.emwh-bulk-status.duplicate-exact,.emwh-bulk-status.higher-market{background:#fff7ed;color:#9a3412}.emwh-bulk-status.related{background:#eef2ff;color:#3730a3}.emwh-bulk-status.new{background:#eff6ff;color:#1d4ed8}.emwh-row-errors{color:#b42318!important;font-weight:600}.emwh-bulk-row.needs-review{background:#fffaf0}.emwh-bulk-row.is-valid{background:#fbfffc}

/* V4.4.2.0 - structured file intake */
.emwh-import-methods{display:flex;gap:8px;margin:14px 0 18px}.emwh-method{border:1px solid #cfdced;background:#fff;color:#17385f;padding:10px 15px;border-radius:9px;font-weight:700;cursor:pointer}.emwh-method.is-active{background:#eaf2ff;border-color:#77a7ee;color:#0757bd}.emwh-excel-drop{border:1px dashed #9fb8d8;border-radius:12px;background:#f8fbff;padding:26px;display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:8px 18px;align-items:center}.emwh-excel-drop strong,.emwh-excel-drop p{grid-column:1}.emwh-excel-drop input{grid-column:1}.emwh-excel-drop button{grid-column:2;grid-row:1/4}.emwh-excel-drop span{grid-column:1;color:#47627f;font-size:12px}.emwh-text-panel[hidden],.emwh-excel-panel[hidden]{display:none!important}@media(max-width:900px){.emwh-excel-drop{grid-template-columns:1fr}.emwh-excel-drop button{grid-column:1;grid-row:auto}}

/* V4.5.0.0 - Offer Desk uses the global ERP sidebar only */
.emwh-offer-desk-shell.emwh-offer-desk-shell-unified{display:block!important;grid-template-columns:none!important}
.emwh-offer-desk-shell-unified .emwh-offer-desk-content{min-width:0;width:100%}

/* V4.5.0.1 - Offer Desk compact viewport optimization */
body.emwh-workhub-page .emwh-offer-desk-content .emwh-hero{padding:10px 14px!important;margin-bottom:8px!important}
body.emwh-workhub-page .emwh-offer-desk-content .emwh-hero h1{font-size:23px!important;line-height:1.05!important;margin:2px 0!important}
body.emwh-workhub-page .emwh-offer-desk-content .emwh-hero p{font-size:11px!important;margin:2px 0 0!important}
.emwh-bulk-intake,.emwh-bulk-review{padding:10px 12px!important;margin-bottom:8px!important;border-radius:11px!important}
.emwh-bulk-heading,.emwh-bulk-review-head{gap:10px!important;align-items:center!important}
.emwh-bulk-heading h2,.emwh-bulk-review h2{font-size:18px!important;line-height:1.1!important;margin:2px 0!important}
.emwh-bulk-heading p,.emwh-bulk-review p{font-size:10px!important;line-height:1.25!important}
.emwh-bulk-heading .emwh-tag,.emwh-bulk-review-head .emwh-tag{font-size:8px!important;margin-bottom:2px!important}
.emwh-bulk-heading>.emwh-secondary,.emwh-bulk-review-actions .emwh-secondary{min-height:30px!important;padding:0 10px!important;font-size:9px!important}
.emwh-offer-nav{margin-bottom:6px!important}
.emwh-excel-panel{margin-top:8px!important}
.emwh-excel-drop{padding:10px 12px!important;min-height:76px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;column-gap:12px!important;align-items:center!important}
.emwh-excel-drop strong{font-size:11px!important}
.emwh-excel-drop p{font-size:9px!important;line-height:1.2!important;margin:2px 0 6px!important}
.emwh-excel-drop input[type=file]{font-size:9px!important;max-width:430px!important}
.emwh-excel-drop .emwh-primary{grid-column:2!important;grid-row:1/4!important;min-height:31px!important;padding:0 12px!important;font-size:9px!important}
.emwh-excel-drop #emwh-excel-file-name{font-size:8px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:720px!important}
.emwh-bulk-message{margin-top:6px!important;padding:7px 10px!important;font-size:9px!important}
.emwh-bulk-review-head{margin-bottom:6px!important}
.emwh-bulk-review-actions{gap:6px!important}
.emwh-table-wrap{max-height:calc(100vh - 330px)!important;min-height:230px!important;overflow:auto!important;border:1px solid #dce5f0!important;border-radius:8px!important}
.emwh-bulk-table{min-width:1260px!important;width:100%!important;table-layout:fixed!important;font-size:9px!important;margin:0!important}
.emwh-bulk-table thead{position:sticky!important;top:0!important;z-index:5!important}
.emwh-bulk-table th{padding:6px 5px!important;font-size:8px!important;line-height:1!important;white-space:nowrap!important}
.emwh-bulk-table td{padding:6px 5px!important;line-height:1.15!important}
.emwh-bulk-table th:nth-child(1),.emwh-bulk-table td:nth-child(1){width:34px!important;text-align:center!important}
.emwh-bulk-table th:nth-child(2),.emwh-bulk-table td:nth-child(2){width:34px!important;text-align:center!important}
.emwh-bulk-table th:nth-child(3),.emwh-bulk-table td:nth-child(3){width:275px!important}
.emwh-bulk-table th:nth-child(4),.emwh-bulk-table td:nth-child(4){width:125px!important}
.emwh-bulk-table th:nth-child(5),.emwh-bulk-table td:nth-child(5){width:82px!important}
.emwh-bulk-table th:nth-child(6),.emwh-bulk-table td:nth-child(6){width:98px!important}
.emwh-bulk-table th:nth-child(7),.emwh-bulk-table td:nth-child(7){width:105px!important}
.emwh-bulk-table th:nth-child(8),.emwh-bulk-table td:nth-child(8){width:175px!important}
.emwh-bulk-table th:nth-child(9),.emwh-bulk-table td:nth-child(9){width:105px!important}
.emwh-bulk-table th:nth-child(10),.emwh-bulk-table td:nth-child(10){width:140px!important}
.emwh-bulk-table select,.emwh-bulk-table input{min-width:0!important;width:100%!important;height:30px!important;min-height:30px!important;padding:4px 6px!important;border-radius:6px!important;font-size:9px!important;line-height:1!important}
.emwh-bulk-table td small{margin-top:3px!important;font-size:8px!important;line-height:1.15!important;max-width:100%!important}
.emwh-bulk-table td:nth-child(3)>small{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;max-height:19px!important}
.emwh-inline-create{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:25px!important;margin-top:3px!important;padding:0 7px!important;border-radius:6px!important;font-size:8px!important;letter-spacing:.03em!important;background:#eef4ff!important;color:#1849a9!important;border:1px solid #bfd3f5!important}
.emwh-inline-money{gap:3px!important}.emwh-inline-money span{font-size:9px!important}
.emwh-bulk-status{padding:2px 6px!important;font-size:8px!important;line-height:1.15!important}
.emwh-row-errors{font-size:8px!important;line-height:1.1!important}
.emwh-bulk-footer{padding:7px 0!important;margin-top:0!important;gap:8px!important;min-height:42px!important}
.emwh-bulk-footer .emwh-primary,.emwh-bulk-footer .emwh-secondary{min-height:30px!important;padding:0 10px!important;font-size:9px!important}
.emwh-bulk-footer #emwh-bulk-selection-summary{font-size:9px!important}
@media(max-height:820px) and (min-width:1000px){
  .emwh-bulk-intake{padding:8px 10px!important}
  .emwh-excel-drop{min-height:64px!important;padding:8px 10px!important}
  .emwh-bulk-heading h2{font-size:16px!important}
  .emwh-table-wrap{max-height:calc(100vh - 285px)!important}
}

/* V4.5.0.2 - Commercial Position workspace layout correction */
.emwh-offer-workspace-toolbar{
  display:grid!important;
  grid-template-columns:auto auto auto 1fr auto!important;
  gap:8px!important;
  padding:9px!important;
  margin-bottom:10px!important;
  border-radius:12px!important;
}
.emwh-offer-workspace-toolbar .emwh-secondary,
.emwh-offer-workspace-toolbar .emwh-primary{
  min-height:34px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  white-space:nowrap!important;
  font-size:11px!important;
}
.emwh-offer-workspace-toolbar .emwh-primary{grid-column:5!important;margin-left:0!important}
.emwh-offer-tabs{gap:6px!important;margin:8px 0 10px!important}
.emwh-offer-tabs a{min-height:32px!important;padding:0 12px!important;border-radius:8px!important;font-size:11px!important}
.emwh-offer-overview-v2{display:grid;gap:10px}
.emwh-offer-overview-grid{display:grid;grid-template-columns:1.05fr 1.05fr 1.4fr;gap:10px}
.emwh-offer-summary-card,.emwh-offer-notes-card{padding:14px!important;margin:0!important;border-radius:12px!important}
.emwh-offer-summary-card .emwh-tag,.emwh-offer-notes-card .emwh-tag{margin-bottom:9px!important;font-size:9px!important}
.emwh-offer-kv-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.emwh-offer-kv-grid .emwh-value-block{min-width:0;padding:9px 10px;background:#f7faff;border:1px solid #e0e9f4;border-radius:8px}
.emwh-offer-kv-grid .emwh-value-block b{display:block;margin:0 0 3px;color:#5d7189;font-size:9px;line-height:1.1;text-transform:uppercase;letter-spacing:.06em}
.emwh-offer-kv-grid .emwh-value-block small{display:block;color:#0d2138;font-size:12px;line-height:1.3;font-weight:700;word-break:break-word;white-space:normal}
.emwh-offer-notes-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:10px}
.emwh-offer-note{min-width:0;background:#f7faff;border:1px solid #e0e9f4;border-radius:9px;padding:11px 12px}
.emwh-offer-note>b{display:block;margin-bottom:6px;color:#31506e;font-size:10px;text-transform:uppercase;letter-spacing:.05em}
.emwh-offer-note>div{max-height:126px;overflow:auto;color:#17314d;font-size:11px;line-height:1.45;white-space:normal;word-break:break-word}
.emwh-offer-desk-content>.emwh-card:last-child{padding:12px 14px!important;margin-top:10px!important;border-radius:12px!important}
.emwh-offer-desk-content>.emwh-card:last-child .emwh-tag{margin-bottom:8px!important;font-size:9px!important}
@media(max-width:1300px){
  .emwh-offer-overview-grid{grid-template-columns:1fr 1fr}
  .emwh-offer-overview-grid>.emwh-offer-summary-card:last-child{grid-column:1/-1}
}
@media(max-width:850px){
  .emwh-offer-workspace-toolbar{display:flex!important;flex-wrap:wrap!important}
  .emwh-offer-workspace-toolbar .emwh-primary{margin-left:auto!important}
  .emwh-offer-overview-grid,.emwh-offer-notes-grid{grid-template-columns:1fr}
  .emwh-offer-overview-grid>.emwh-offer-summary-card:last-child{grid-column:auto}
}

/* V4.5.0.3 - Paste parser and modal containment repair */
.emwh-offer-modal[hidden]{display:none!important}
.emwh-offer-modal{position:fixed!important;inset:0!important;z-index:100000!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:24px!important}
.emwh-offer-modal-backdrop{position:absolute!important;inset:0!important;background:rgba(7,24,43,.58)!important;backdrop-filter:blur(2px)!important}
.emwh-offer-modal-panel{position:relative!important;z-index:1!important;width:min(860px,calc(100vw - 48px))!important;max-height:calc(100vh - 48px)!important;overflow:auto!important;background:#fff!important;border:1px solid #d7e2ef!important;border-radius:14px!important;box-shadow:0 24px 70px rgba(7,24,43,.28)!important;padding:18px!important;color:#10243e!important}
.emwh-offer-modal-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;padding-bottom:13px!important;margin-bottom:14px!important;border-bottom:1px solid #e2e8f0!important}
.emwh-offer-modal-head h2{margin:3px 0 3px!important;color:#10243e!important;font-size:22px!important}
.emwh-offer-modal-head p{margin:0!important;color:#64748b!important}
.emwh-offer-modal-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.emwh-offer-modal-grid label{display:grid!important;gap:5px!important;color:#10243e!important;font-weight:700!important}
.emwh-offer-modal-grid label small{font-size:10px!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#315477!important}
.emwh-offer-modal-grid input{width:100%!important;min-height:38px!important;padding:8px 10px!important;border:1px solid #c9d8e8!important;border-radius:8px!important;background:#fff!important;color:#10243e!important}
.emwh-offer-modal-message{margin-top:12px!important;padding:9px 11px!important;border:1px solid #f0b4b4!important;border-radius:8px!important;background:#fff5f5!important;color:#a22222!important}
.emwh-offer-modal .emwh-form-actions{display:flex!important;justify-content:flex-end!important;gap:8px!important;margin-top:16px!important;padding-top:13px!important;border-top:1px solid #e2e8f0!important}
body.emwh-modal-open{overflow:hidden!important}

.emwh-text-panel{width:100%!important}
.emwh-text-panel .emwh-bulk-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 250px!important;gap:12px!important;align-items:start!important;margin-top:8px!important}
.emwh-text-panel .emwh-bulk-text textarea{display:block!important;width:100%!important;min-height:150px!important;max-height:260px!important;resize:vertical!important;padding:10px 12px!important;border:1px solid #cbd8e8!important;border-radius:9px!important;background:#fff!important;color:#10243e!important;font:12px/1.45 Arial,sans-serif!important}
.emwh-text-panel .emwh-bulk-settings{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;padding:11px!important;border:1px solid #d9e4f0!important;border-radius:10px!important;background:#f8fbff!important}
.emwh-text-panel .emwh-bulk-settings .emwh-field{display:grid!important;gap:5px!important}
.emwh-text-panel .emwh-bulk-settings label{font-size:10px!important;font-weight:800!important;color:#315477!important}
.emwh-text-panel .emwh-bulk-settings select,.emwh-text-panel .emwh-bulk-settings input{width:100%!important;min-height:34px!important;padding:6px 8px!important;border:1px solid #cbd8e8!important;border-radius:7px!important;background:#fff!important;color:#10243e!important}
.emwh-text-panel .emwh-bulk-actions{display:flex!important;gap:7px!important;justify-content:flex-end!important}
.emwh-text-panel .emwh-bulk-actions button{min-height:34px!important;padding:0 11px!important}
.emwh-inline-create,.emwh-bulk-review-actions .emwh-secondary{background:#eef5ff!important;border:1px solid #b8d1f2!important;color:#0757bd!important;box-shadow:none!important}
.emwh-inline-create:hover,.emwh-bulk-review-actions .emwh-secondary:hover{background:#deebff!important;border-color:#8eb5e8!important}
@media(max-width:900px){.emwh-text-panel .emwh-bulk-grid{grid-template-columns:1fr!important}.emwh-offer-modal-grid{grid-template-columns:1fr!important}}
.emwh-offer-modal[hidden], .emwh-bulk-review[hidden], .emwh-bulk-empty-review[hidden], .emwh-text-panel[hidden], .emwh-excel-panel[hidden]{display:none!important}
.emwh-master-resolved{display:block;font-weight:700;color:#10233d;margin-bottom:4px}.emwh-master-meta{display:block;color:#60758d;font-size:12px}.emwh-exception-box{border:1px solid #f1b94a;background:#fff8e7;border-radius:8px;padding:8px}.emwh-bulk-table td{vertical-align:middle}.emwh-bulk-table .emwh-inline-create{margin-top:5px}.emwh-bulk-review{margin-top:0}.emwh-bulk-intake[data-mode="review"]{padding:0;background:transparent;border:0;box-shadow:none}

/* V4.6.0.1 - Offer Desk button color regression fix */
.emwh-bulk-intake .emwh-method,
.emwh-bulk-intake button.emwh-secondary,
.emwh-bulk-intake a.emwh-secondary,
.emwh-offer-modal button.emwh-secondary{
  background:#ffffff!important;
  background-color:#ffffff!important;
  color:#0b5fc6!important;
  border:1px solid #b9cfea!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
.emwh-bulk-intake .emwh-method:hover,
.emwh-bulk-intake button.emwh-secondary:hover,
.emwh-bulk-intake a.emwh-secondary:hover,
.emwh-offer-modal button.emwh-secondary:hover{
  background:#eef5ff!important;
  background-color:#eef5ff!important;
  color:#084f9f!important;
  border-color:#8eb4df!important;
}
.emwh-bulk-intake .emwh-method.is-active{
  background:#0b67d8!important;
  background-color:#0b67d8!important;
  color:#ffffff!important;
  border-color:#0b67d8!important;
}
.emwh-bulk-intake .emwh-method.is-active:hover{
  background:#095bbb!important;
  background-color:#095bbb!important;
  color:#ffffff!important;
  border-color:#095bbb!important;
}
.emwh-bulk-intake .emwh-primary,
.emwh-offer-modal .emwh-primary{
  background:#0b67d8!important;
  background-color:#0b67d8!important;
  color:#ffffff!important;
  border-color:#0b67d8!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
.emwh-bulk-intake .emwh-primary:hover,
.emwh-offer-modal .emwh-primary:hover{
  background:#095bbb!important;
  background-color:#095bbb!important;
  border-color:#095bbb!important;
}


/* V4.6.0.2 — Product resolution with imported-offer context */
.emwh-row-offer-preview{margin-top:5px;color:#52657a;font-size:9px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.emwh-product-resolution-modal{width:min(1120px,calc(100vw - 40px))!important;max-height:calc(100vh - 40px)!important;overflow:auto!important}
.emwh-product-resolution-modal .emwh-offer-modal-head p{margin:4px 0 0;color:#60748a;font-size:12px}
.emwh-resolution-layout{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(420px,1.3fr);gap:18px;align-items:start;margin-top:14px}
.emwh-resolution-source{background:#f7faff;border:1px solid #dce8f5;border-radius:12px;padding:14px;min-width:0}
.emwh-modal-offer-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.emwh-modal-offer-summary>div{background:#fff;border:1px solid #e2eaf3;border-radius:8px;padding:8px 9px;min-width:0}
.emwh-modal-offer-summary small,.emwh-modal-offer-summary strong{display:block}.emwh-modal-offer-summary small{color:#6b7d91;font-size:9px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:3px}.emwh-modal-offer-summary strong{color:#10263d;font-size:12px;line-height:1.25;word-break:break-word}
.emwh-modal-source-label{margin:12px 0 5px;color:#5c7087;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.emwh-modal-source-text{max-height:180px;overflow:auto;background:#fff;border:1px solid #e2eaf3;border-radius:8px;padding:10px;color:#20384f;font-size:11px;line-height:1.45;white-space:pre-wrap;word-break:break-word}
.emwh-resolution-form{min-width:0}.emwh-resolution-form .emwh-offer-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.emwh-resolution-form .emwh-offer-modal-grid label:nth-child(2){grid-column:span 2}
.emwh-icon-button{width:34px;height:34px;border:1px solid #cbd9e8;border-radius:8px;background:#fff;color:#0b63ce;display:grid;place-items:center;font-size:16px;cursor:pointer}.emwh-icon-button:hover{background:#eef6ff}
.emwh-modal-actions{justify-content:flex-end!important;border-top:1px solid #e5edf6;margin-top:16px;padding-top:14px}.emwh-modal-actions button{display:inline-flex!important;align-items:center!important;gap:7px!important}
body.emwh-modal-open{overflow:hidden}
@media(max-width:850px){.emwh-resolution-layout{grid-template-columns:1fr}.emwh-product-resolution-modal{width:calc(100vw - 20px)!important}.emwh-resolution-form .emwh-offer-modal-grid{grid-template-columns:1fr!important}.emwh-resolution-form .emwh-offer-modal-grid label:nth-child(2){grid-column:auto}}

/* V4.6.0.4 Review Grid commercial-data completeness */
.emwh-bulk-table .emwh-commercial-facts{display:block;margin-top:4px;line-height:1.35;color:#52677f;white-space:normal}
.emwh-bulk-table .emwh-commercial-note{margin-top:5px;padding-top:5px;border-top:1px solid #dfe8f2;font-size:11px;line-height:1.35;color:#33475b;max-width:340px;white-space:normal;overflow-wrap:anywhere}
.emwh-bulk-table .emwh-commercial-note b{color:#0b4f9c}

/* V4.6.0.9 - margin and total profit columns */
.emwh-table .emwh-offer-margin,.emwh-table .emwh-offer-profit{white-space:nowrap}.emwh-table .emwh-offer-profit strong{color:#08783e;font-weight:800}


/* V4.6.0.10 - clearer quantity, pricing and profit hierarchy */
.emwh-table .emwh-offer-quantity{white-space:nowrap}
.emwh-table .emwh-offer-quantity strong{display:inline-block;font-size:15px;color:#10253f;font-weight:800;line-height:1}
.emwh-table .emwh-offer-quantity span{display:inline-block;margin-left:5px;color:#667a91;font-size:11px;font-weight:700;text-transform:lowercase}
.emwh-table .emwh-offer-pricing{min-width:132px}
.emwh-table .emwh-offer-pricing>div{display:flex;align-items:center;justify-content:space-between;gap:10px;line-height:1.25}
.emwh-table .emwh-offer-pricing>div+div{margin-top:5px;padding-top:5px;border-top:1px solid #e7edf4}
.emwh-table .emwh-offer-pricing span{font-size:10px;color:#718399;text-transform:uppercase;letter-spacing:.06em}
.emwh-table .emwh-offer-pricing strong{font-size:13px;color:#10253f;font-weight:800;white-space:nowrap}
.emwh-table .emwh-offer-margin{text-align:center;min-width:82px}
.emwh-table .emwh-margin-badge{display:inline-flex;align-items:center;justify-content:center;min-width:58px;padding:7px 10px;border:1px solid #9fcaad;border-radius:999px;background:#eaf8ef;color:#08783e;font-size:13px;font-weight:900;white-space:nowrap}
.emwh-table .emwh-offer-profit{min-width:150px;padding-top:8px;padding-bottom:8px;background:#f3fbf6}
.emwh-table .emwh-offer-profit span{display:block;margin-bottom:3px;color:#5c7565;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.emwh-table .emwh-offer-profit strong{display:block;color:#08783e;font-size:15px;font-weight:900;white-space:nowrap}

/* V4.6.0.11 - existing commercial position editor */
.emwh-existing-edit-head{align-items:flex-start;gap:24px}
.emwh-existing-offer-form{display:grid;gap:12px}
.emwh-existing-edit-summary{padding:14px 16px}
.emwh-edit-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:10px}
.emwh-existing-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.emwh-existing-edit-grid>.emwh-card{margin:0;min-width:0}
.emwh-existing-edit-grid h2{margin:6px 0 12px;font-size:18px}
.emwh-existing-offer-form .emwh-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.emwh-existing-offer-form .emwh-field-wide{grid-column:1/-1}
.emwh-existing-offer-form select[size]{min-height:150px}
.emwh-edit-profit-preview{margin-top:12px;padding:12px 14px;border:1px solid #b7e2c6;background:#effbf3;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.emwh-edit-profit-preview span{font-size:12px;color:#52705d;text-transform:uppercase;letter-spacing:.06em;font-weight:700}
.emwh-edit-profit-preview strong{font-size:22px;color:#087a37}
.emwh-existing-edit-actions{position:sticky;bottom:0;z-index:20;display:flex;justify-content:flex-end;gap:10px;padding:12px;border:1px solid #d7e2ef;background:rgba(255,255,255,.96);box-shadow:0 -8px 24px rgba(12,46,77,.08);border-radius:12px}
@media(max-width:1100px){.emwh-existing-edit-grid{grid-template-columns:1fr}.emwh-edit-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V4.6.0.12 - workspace-style compact existing position editor */
.emwh-existing-workspace-edit{display:grid;gap:12px}
.emwh-edit-top-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.emwh-existing-edit-workspace-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.emwh-edit-card{margin:0;min-width:0;padding:14px}
.emwh-compact-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.emwh-compact-form-grid .emwh-field{min-width:0}
.emwh-compact-form-grid .emwh-field>span{display:block;margin-bottom:5px;color:#315477;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.emwh-compact-form-grid input,.emwh-compact-form-grid select{width:100%;min-height:38px;padding:7px 9px;border:1px solid #cbd8e8;border-radius:8px;background:#fff;color:#10243e;font-weight:600;box-sizing:border-box}
.emwh-compact-form-grid .emwh-offer-filter-input{margin-bottom:6px;font-weight:400}
.emwh-compact-form-grid select[size]{min-height:38px!important;height:38px!important}
.emwh-financial-edit-card{background:#fbfffc}
.emwh-condition-preview{display:grid;grid-template-columns:auto 1fr;gap:5px 9px;margin-top:12px;padding:10px 12px;border:1px solid #dce7f2;border-radius:9px;background:#f8fbff;font-size:12px}
.emwh-condition-preview b{color:#315477}.emwh-condition-preview span{color:#10243e}
.emwh-edit-notes-card{margin:0;padding:14px}
.emwh-edit-notes-grid{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin-top:10px}
.emwh-edit-notes-grid textarea{min-height:110px;max-height:190px;resize:vertical}
.emwh-edit-help{margin:10px 0 0;color:#667a91;font-size:11px}
.emwh-existing-offer-form .emwh-edit-profit-preview{margin-top:10px}
.emwh-existing-offer-form .emwh-existing-edit-actions{position:sticky;bottom:8px}
@media(max-width:1100px){.emwh-existing-edit-workspace-grid{grid-template-columns:1fr}.emwh-edit-notes-grid{grid-template-columns:1fr}}
@media(max-width:700px){.emwh-compact-form-grid{grid-template-columns:1fr}.emwh-edit-top-actions{justify-content:flex-start}.emwh-edit-summary-grid{grid-template-columns:1fr 1fr}}

/* V4.6.0.13 - workspace refinement and product intelligence */
.emwh-workspace-tab-panel{background:#fff;border:1px solid #d7e3f0;border-radius:14px;padding:18px;box-shadow:0 1px 2px rgba(15,36,58,.03)}
.emwh-tab-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:12px;margin-top:14px}
.emwh-tab-kpi{border:1px solid #dbe6f1;border-radius:10px;background:#f8fbfe;padding:14px;min-height:76px;display:flex;flex-direction:column;gap:8px}
.emwh-tab-kpi small,.emwh-intel-kpi small{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#65788d;font-weight:700}
.emwh-tab-kpi strong{font-size:18px;color:#10253e;line-height:1.2}
.emwh-tab-kpi.is-margin{background:#effaf3;border-color:#b9dfc5}.emwh-tab-kpi.is-margin strong{color:#087838}
.emwh-tab-kpi.is-profit{background:#ecf9f0;border-color:#a9dcb8}.emwh-tab-kpi.is-profit strong{font-size:23px;color:#087838}
.emwh-tab-meta{display:grid;grid-template-columns:1fr 2fr;gap:12px;margin-top:12px}
.emwh-tab-meta>div{border-top:1px solid #e3ebf3;padding-top:12px;display:flex;flex-direction:column;gap:4px}.emwh-tab-meta span{font-size:11px;color:#708397}.emwh-tab-meta strong{font-size:13px;color:#20364f}
.emwh-condition-badges{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.emwh-condition-badges span{background:#edf5ff;color:#0b5fc6;border:1px solid #bdd7f5;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:700}
.emwh-empty-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:14px}.emwh-empty-columns>div{border:1px solid #dfe8f1;border-radius:10px;background:#f9fbfd;padding:18px;min-height:130px}.emwh-empty-columns h3{margin:0 0 8px}.emwh-empty-columns p{margin:0 0 12px;color:#4e6176}
.emwh-history-timeline{display:grid;gap:12px;margin-top:14px}.emwh-history-item{display:grid;grid-template-columns:38px 1fr;gap:12px;border:1px solid #dfe8f1;border-radius:10px;padding:13px;background:#fff}.emwh-history-icon{width:34px;height:34px;border-radius:50%;background:#eef5fd;display:grid;place-items:center}.emwh-history-item strong{font-size:14px}.emwh-history-item p{margin:4px 0;color:#41566c}.emwh-history-item small{color:#708397}.emwh-history-empty{padding:20px;color:#708397}
.emwh-intelligence-kpis{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin-bottom:12px}.emwh-intel-kpi{background:#fff;border:1px solid #d9e5f0;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:7px}.emwh-intel-kpi strong{font-size:20px;color:#10253e}.emwh-intel-kpi:nth-child(8){background:#ecf9f0;border-color:#a9dcb8}.emwh-intel-kpi:nth-child(8) strong{color:#087838}
.emwh-intelligence-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:12px}.emwh-intelligence-summary>div{background:#f7fafc;border:1px solid #dfe8f1;border-radius:10px;padding:12px}.emwh-intelligence-summary span{display:block;font-size:10px;text-transform:uppercase;color:#6c7f93;font-weight:700;margin-bottom:5px}.emwh-intelligence-summary strong{font-size:14px;color:#21364d}
.emwh-intelligence-table tr.is-current{background:#edf7ff}.emwh-intelligence-link{display:inline-flex;margin-top:6px;font-size:11px;font-weight:700;color:#0967d2;text-decoration:none}.emwh-intelligence-link:hover{text-decoration:underline}
.emwh-offer-tabs{display:flex;gap:7px;flex-wrap:wrap}.emwh-offer-tabs a{white-space:nowrap}
.emwh-existing-offer-form .emwh-field>span{display:block;margin-bottom:6px}.emwh-existing-offer-form input,.emwh-existing-offer-form select,.emwh-existing-offer-form textarea{width:100%;box-sizing:border-box}.emwh-edit-notes-card textarea{min-height:90px;max-height:150px}
@media(max-width:1100px){.emwh-tab-kpi-grid{grid-template-columns:repeat(2,1fr)}.emwh-intelligence-kpis{grid-template-columns:repeat(2,1fr)}.emwh-intelligence-summary,.emwh-empty-columns{grid-template-columns:1fr}}

/* V4.6.1.0 - approved Offer Desk screens */
.emwh-approved-offer-edit,.emwh-approved-list{font-family:Inter,Arial,sans-serif;color:#14253a}
.emwh-approved-form{display:block!important}
.emwh-approved-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px 14px;margin-bottom:10px;background:#fff;border:1px solid #dce6f0;border-radius:10px}
.emwh-approved-breadcrumb{display:flex;align-items:center;gap:7px;font-size:11px;color:#6b7e92}.emwh-approved-breadcrumb a{color:#0d67d4;text-decoration:none}.emwh-approved-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.emwh-btn{display:inline-flex!important;align-items:center;justify-content:center;min-height:34px;padding:0 13px;border-radius:7px;border:1px solid #cfdae8;background:#fff;color:#18324f;text-decoration:none!important;font-size:11px;font-weight:800;line-height:1;cursor:pointer;box-sizing:border-box}.emwh-btn-primary{background:#0d6fdc!important;border-color:#0d6fdc!important;color:#fff!important}.emwh-btn-light{background:#fff!important;color:#1f4f86!important}.emwh-btn-danger{background:#fff5f5!important;border-color:#f1c6c6!important;color:#d53434!important}.emwh-btn-small{min-height:31px;padding:0 10px;font-size:10px}
.emwh-approved-hero{display:grid;grid-template-columns:280px 1fr;gap:20px;padding:16px 18px;background:#fff;border:1px solid #dce6f0;border-radius:11px 11px 0 0}.emwh-approved-identity h1{margin:8px 0 5px;font-family:Georgia,serif;font-size:22px;color:#10243e}.emwh-approved-identity p{margin:3px 0;font-size:11px;color:#6c7d90}.emwh-status-pill{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eaf8ef;color:#168048;font-size:10px;font-weight:800}.emwh-follow-btn{margin-top:12px;min-height:34px;padding:0 12px;border:1px solid #2b7ce3;border-radius:7px;background:#fff;color:#1568c9;font-size:11px;font-weight:800}
.emwh-approved-kpis{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:10px;align-items:stretch}.emwh-approved-kpi{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:88px;padding:12px 14px;border:1px solid #dce6f0;border-radius:10px;background:#fbfdff}.emwh-approved-kpi span{font-size:9px;font-weight:800;letter-spacing:.06em;color:#71859a}.emwh-approved-kpi strong{margin-top:7px;font-size:18px;line-height:1.1;color:#10243e}.emwh-approved-kpi small{margin-top:5px;font-size:10px;color:#6f8092}.emwh-approved-kpi.is-margin{background:#f7fcf5;border-color:#d6e9cf}.emwh-approved-kpi.is-profit{background:#f5f9ff;border-color:#d5e3f5}.emwh-approved-kpi.is-cost{background:#fbf8ff;border-color:#e5daf5}.emwh-approved-kpi.is-sale{background:#fff9f3;border-color:#f1dfc7}.emwh-approved-kpi.is-quantity{background:#f3fcfc;border-color:#d1eaea}.emwh-approved-kpi.is-warehouse{background:#f5f9ff;border-color:#d7e3f1}
.emwh-approved-tabs{display:flex;gap:4px;align-items:center;padding:0 10px;background:#fff;border:1px solid #dce6f0;border-top:0}.emwh-approved-tabs a{display:inline-flex;align-items:center;gap:6px;min-height:43px;padding:0 15px;border-bottom:3px solid transparent;color:#53667b;text-decoration:none;font-size:11px}.emwh-approved-tabs a.is-active{color:#0d6fdc;border-bottom-color:#0d6fdc;font-weight:800}.emwh-approved-tabs small{padding:2px 5px;border-radius:4px;background:#111;color:#fff;font-size:7px}
.emwh-approved-grid{display:grid;grid-template-columns:1.05fr 1.05fr 1fr;gap:10px;padding:10px;background:#eef5fb;border-radius:0 0 12px 12px}.emwh-approved-card{min-width:0;margin:0!important;padding:13px 14px;border:1px solid #d8e3ed;border-radius:9px;background:#fff;box-shadow:none}.emwh-approved-card h2{margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #e4ebf2;font-size:11px;letter-spacing:.04em;color:#174f8a}.emwh-approved-card label>span,.emwh-approved-card .emwh-field>span{display:block;margin:0 0 5px;color:#455e78;font-size:9px;font-weight:800;text-transform:none;letter-spacing:.02em}.emwh-approved-card input,.emwh-approved-card select,.emwh-approved-card textarea{width:100%;min-height:34px;padding:7px 9px;border:1px solid #c8d8ea;border-radius:6px;background:#fff;color:#13263c;font-size:11px;font-weight:600;box-sizing:border-box}.emwh-approved-card textarea{min-height:52px;resize:vertical}.emwh-approved-card label+label,.emwh-approved-card .emwh-field+.emwh-field{display:block;margin-top:9px}.emwh-card-title-row{display:flex;align-items:center;justify-content:space-between}.emwh-card-title-row h2{flex:1}.emwh-card-title-row>span{align-self:flex-start;color:#0d6fdc}
.emwh-card-product{grid-column:1}.emwh-card-pricing{grid-column:2}.emwh-card-quantity{grid-column:3}.emwh-card-note{grid-column:1}.emwh-card-conditions{grid-column:1/span 1}.emwh-card-overrides{grid-column:2}.emwh-card-quick{grid-column:3}.emwh-card-summary{grid-column:1/-1}
.emwh-approved-pricing-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.emwh-approved-pricing-grid label{margin:0!important;padding:9px;border:1px solid #e1e8f0;border-radius:7px;background:#fcfdff}.emwh-approved-pricing-grid label strong{display:block;margin-top:4px;font-size:14px}.emwh-approved-pricing-grid label small{font-size:9px;color:#6f8193}.emwh-approved-pricing-grid label.is-profit strong{color:#0b8b4c;font-size:17px}.emwh-approved-two-col,.emwh-approved-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.emwh-approved-profit-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;padding:14px;border:1px solid #cce5d4;border-radius:7px;background:#f2fbf5}.emwh-approved-profit-strip span{font-size:9px;font-weight:800;color:#4e745e}.emwh-approved-profit-strip strong{font-size:18px;color:#0b8b4c}
.emwh-card-note{min-height:112px}.emwh-card-note .emwh-field>span{display:none}.emwh-note-meta{margin:7px 0 0;color:#53677e;font-size:10px}.emwh-condition-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px}.emwh-condition-columns dl{display:grid;grid-template-columns:96px 1fr;gap:7px 10px;margin:0}.emwh-condition-columns dt{font-size:9px;font-weight:800;color:#4e6680}.emwh-condition-columns dd{margin:0;font-size:10px;color:#172b42}.emwh-cond-badge{display:inline-flex;padding:3px 7px;border-radius:4px;background:#ddf7ec;color:#147b58;font-weight:800}.emwh-cond-badge.is-blue{background:#e2efff;color:#236ac7}.emwh-cond-badge.is-purple{background:#eee6ff;color:#734db3}.emwh-cond-badge.is-green{background:#ddf7ec;color:#147b58}.emwh-condition-edit{margin-top:10px}.emwh-condition-edit summary{cursor:pointer;color:#0d67d4;font-size:10px;font-weight:800}.emwh-condition-edit[open] .emwh-approved-form-grid{margin-top:10px}
.emwh-quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.emwh-quick-grid a{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:55px;padding:7px;border:1px solid #d8e3ed;border-radius:7px;color:#25527e;text-decoration:none;font-size:16px}.emwh-quick-grid a span{margin-top:4px;font-size:9px;font-weight:700}.emwh-quick-grid a.is-create{background:#f5fcf8;color:#26905c}.emwh-summary-row{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:0}.emwh-summary-row>div{padding:0 10px;border-right:1px solid #e3eaf1;text-align:center}.emwh-summary-row>div:last-child{border-right:0}.emwh-summary-row span{display:block;font-size:8px;color:#718399}.emwh-summary-row strong{display:block;margin-top:5px;font-size:9px;line-height:1.25;color:#17324f;overflow-wrap:anywhere}
.emwh-approved-sticky{position:sticky;bottom:0;z-index:30;display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:10px;padding:8px 12px;border:1px solid #dce6f0;border-radius:8px;background:rgba(255,255,255,.96);box-shadow:0 -7px 18px rgba(20,45,75,.08)}.emwh-approved-sticky a{color:#0d67d4;text-decoration:none;font-size:10px}
.emwh-approved-list-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:10px 0}.emwh-approved-list-kpis>div{display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:13px;border:1px solid #dce6f0;border-radius:10px;background:#fff}.emwh-approved-list-kpis i{grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#eef5ff;color:#0d6fdc;font-style:normal;font-size:18px}.emwh-approved-list-kpis strong{font-size:17px}.emwh-approved-list-kpis span{font-size:10px;color:#607489}.emwh-approved-list-kpis .is-green i{background:#e9f8ef;color:#149257}.emwh-approved-list-kpis .is-purple i{background:#f3eaff;color:#8a4dd0}.emwh-approved-list-kpis .is-orange i{background:#fff4e8;color:#e78012}
.emwh-approved-list-toolbar{display:grid;grid-template-columns:auto 1fr minmax(430px,auto);gap:8px;align-items:center;padding:12px;border:1px solid #dce6f0;border-radius:10px;background:#fff}.emwh-single-position{width:100%}.emwh-approved-list-toolbar form{display:grid;grid-template-columns:1fr 130px auto;gap:8px}.emwh-approved-list-toolbar input,.emwh-approved-list-toolbar select{min-height:34px;border:1px solid #cfdae8;border-radius:7px;padding:0 10px;font-size:10px}
.emwh-approved-table-wrap{margin-top:10px;border:1px solid #dce6f0;border-radius:10px;background:#fff;overflow:hidden}.emwh-approved-table-wrap .emwh-count{padding:10px 12px;border-bottom:1px solid #e3eaf1;font-size:11px;font-weight:800}.emwh-approved-table{width:100%;border-collapse:collapse;font-size:10px}.emwh-approved-table th{padding:11px 10px;background:#f6f9fc;color:#4c6480;text-align:left;font-size:8px;letter-spacing:.05em}.emwh-approved-table td{padding:10px;border-top:1px solid #e4ebf2;vertical-align:middle;color:#1a314b}.emwh-approved-table td>a{color:#0d67d4;text-decoration:none}.emwh-approved-table .emwh-product-primary{font-weight:600}.emwh-approved-table .is-qty strong{font-size:14px}.emwh-approved-table .is-prices{min-width:122px}.emwh-approved-table .is-prices>div{display:grid;grid-template-columns:35px 1fr;gap:8px}.emwh-approved-table .is-prices>div+div{margin-top:5px}.emwh-approved-table .is-prices span{font-size:8px;color:#718399}.emwh-approved-table .is-prices strong{font-size:10px;white-space:nowrap}.emwh-approved-table .is-profit strong{color:#0a864a;font-size:12px;white-space:nowrap}.emwh-approved-table .is-actions{display:flex;gap:6px;align-items:center;white-space:nowrap}.emwh-row-more{border:0;background:transparent;font-size:18px;color:#4d6680}.emwh-approved-pagination{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-top:1px solid #e4ebf2;color:#5d7288;font-size:9px}.emwh-approved-pagination div{display:flex;gap:5px;align-items:center}.emwh-approved-pagination button,.emwh-approved-pagination select{min-width:29px;height:29px;border:1px solid #d4dfeb;border-radius:6px;background:#fff;color:#4d6680}.emwh-approved-pagination button.is-current{background:#0d6fdc;color:#fff;border-color:#0d6fdc}
@media(max-width:1300px){.emwh-approved-kpis{grid-template-columns:repeat(3,1fr)}.emwh-summary-row{grid-template-columns:repeat(7,1fr);row-gap:10px}.emwh-approved-grid{grid-template-columns:1fr 1fr}.emwh-card-quantity,.emwh-card-quick{grid-column:auto}.emwh-card-summary{grid-column:1/-1}.emwh-approved-list-toolbar{grid-template-columns:1fr}.emwh-approved-list-toolbar form{grid-template-columns:1fr 130px auto}.emwh-approved-table-wrap{overflow-x:auto}.emwh-approved-table{min-width:1220px}}
@media(max-width:900px){.emwh-approved-hero{grid-template-columns:1fr}.emwh-approved-grid{grid-template-columns:1fr}.emwh-approved-card{grid-column:1!important}.emwh-approved-kpis{grid-template-columns:repeat(2,1fr)}.emwh-approved-tabs{overflow-x:auto;flex-wrap:nowrap}.emwh-approved-list-kpis{grid-template-columns:repeat(2,1fr)}}

/* V4.6.2.0 — Product Offer Ledger */
.emwh-ledger-product-head{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:10px;margin:12px 0}.emwh-ledger-product-head>div{display:flex;flex-direction:column;justify-content:center;min-height:72px;padding:12px 14px;border:1px solid #dce6f0;border-radius:9px;background:#fff}.emwh-ledger-product-head span{font-size:8px;font-weight:800;letter-spacing:.06em;color:#71859a}.emwh-ledger-product-head strong{margin-top:5px;font-size:14px;color:#10243e}.emwh-ledger-product-head small{margin-top:4px;color:#6f8092;font-size:9px}.emwh-product-intelligence .emwh-intelligence-kpis{grid-template-columns:repeat(6,minmax(130px,1fr));gap:9px}.emwh-product-intelligence .emwh-intel-kpi{min-height:76px;padding:11px 12px;border:1px solid #dce6f0;border-radius:9px;background:#fff}.emwh-product-intelligence .emwh-intel-kpi small{display:block;color:#71859a;font-size:8px;font-weight:800;letter-spacing:.04em}.emwh-product-intelligence .emwh-intel-kpi strong{display:block;margin-top:7px;color:#10243e;font-size:14px;line-height:1.2}.emwh-ledger-filters{display:flex;gap:8px;align-items:center;margin:12px 0;padding:10px;border:1px solid #dce6f0;border-radius:9px;background:#fff}.emwh-ledger-filters select{min-width:190px;min-height:34px;border:1px solid #cbd8e6;border-radius:6px;background:#fff;padding:0 9px}.emwh-intelligence-table{min-width:1680px}.emwh-intelligence-table th,.emwh-intelligence-table td{white-space:nowrap}.emwh-intelligence-table tr.is-current td{background:#fff8e8}.emwh-ledger-lower-grid{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin-top:10px}.emwh-ledger-snapshot{display:grid;grid-template-columns:1fr auto;gap:10px 14px;margin:0}.emwh-ledger-snapshot dt{color:#667b90;font-size:10px}.emwh-ledger-snapshot dd{margin:0;color:#10243e;font-size:11px;font-weight:800;text-align:right}.emwh-ledger-open{display:inline-flex;margin-top:10px}.emwh-approved-workbar{justify-content:flex-start}.emwh-approved-workbar a{font-weight:700}.emwh-approved-table .is-actions{min-width:250px}.emwh-approved-table .is-actions .emwh-btn{padding-left:8px;padding-right:8px}
@media(max-width:1300px){.emwh-product-intelligence .emwh-intelligence-kpis{grid-template-columns:repeat(3,1fr)}.emwh-ledger-product-head{grid-template-columns:1fr 1fr}.emwh-ledger-lower-grid{grid-template-columns:1fr}}
@media(max-width:760px){.emwh-product-intelligence .emwh-intelligence-kpis{grid-template-columns:1fr 1fr}.emwh-ledger-product-head{grid-template-columns:1fr}.emwh-ledger-filters{align-items:stretch;flex-direction:column}.emwh-ledger-filters select,.emwh-ledger-filters .emwh-primary,.emwh-ledger-filters .emwh-secondary{width:100%}}

/* V4.6.3.0 - Commercial Positions export and clean pagination */
.emwh-approved-list-toolbar{overflow:visible}
.emwh-export-menu{position:relative;flex:0 0 auto}
.emwh-export-menu>summary{list-style:none;cursor:pointer;white-space:nowrap}
.emwh-export-menu>summary::-webkit-details-marker{display:none}
.emwh-export-menu-panel{position:absolute;right:0;top:calc(100% + 7px);z-index:40;min-width:190px;padding:10px;background:#fff;border:1px solid #d7e2ee;border-radius:9px;box-shadow:0 12px 30px rgba(22,49,79,.14);display:grid;grid-template-columns:1fr 1fr;gap:6px}
.emwh-export-menu-panel strong{grid-column:1/-1;margin-top:3px;color:#50677f;font-size:9px;letter-spacing:.05em;text-transform:uppercase}
.emwh-export-menu-panel a{display:block;padding:8px 10px;border:1px solid #dce6f0;border-radius:6px;color:#0d67d4;text-align:center;text-decoration:none;font-size:10px;font-weight:700;background:#f9fbfd}
.emwh-export-menu-panel a:hover{background:#eef6ff;border-color:#9dc7f5}
.emwh-approved-pagination{gap:12px;flex-wrap:wrap}
.emwh-approved-pagination>.emwh-page-size-form{margin-left:auto}
.emwh-page-size-form label{display:flex;align-items:center;gap:6px;color:#5d7288;font-weight:600}
.emwh-page-size-form select{height:30px;min-width:62px;border:1px solid #d4dfeb;border-radius:6px;background:#fff;color:#304b68;padding:0 7px}
.emwh-clean-pager{display:flex;align-items:center;gap:5px}
.emwh-clean-pager a,.emwh-clean-pager span{min-width:30px;height:30px;padding:0 9px;border:1px solid #d4dfeb;border-radius:6px;background:#fff;color:#36516d;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;white-space:nowrap}
.emwh-clean-pager a:hover{background:#eef6ff;border-color:#9dc7f5;color:#0d67d4}
.emwh-clean-pager .is-current{background:#0d6fdc;color:#fff;border-color:#0d6fdc}
@media (max-width:1100px){.emwh-export-menu-panel{right:auto;left:0}.emwh-approved-pagination>.emwh-page-size-form{margin-left:0}}

/* V4.6.4.0 - Workspace navigation, ABV and commercial flow */
.emwh-offer-sequence-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin:-2px 0 10px;padding:7px 12px;border:1px solid #dce6f0;border-radius:8px;background:#fff;font-size:10px}
.emwh-offer-sequence-nav a{color:#0d67d4;text-decoration:none;font-weight:800}.emwh-offer-sequence-nav a:last-child{text-align:right}.emwh-offer-sequence-nav strong{color:#233c56}
.emwh-readonly-fact{display:flex;flex-direction:column;gap:5px;padding:10px 12px;border:1px solid #dce6f0;border-radius:8px;background:#f7fafc}.emwh-readonly-fact span{font-size:9px;font-weight:800;color:#6b7e92;text-transform:uppercase}.emwh-readonly-fact strong{font-size:13px;color:#17324e}.emwh-readonly-fact small{font-size:9px;color:#71859a}
.emwh-card-note{grid-column:1/-1!important}.emwh-card-note textarea{min-height:72px;max-height:120px}.emwh-card-note .emwh-card-title-row span{font-size:9px;color:#7a8c9f}
.emwh-approved-sticky{justify-content:flex-end}.emwh-approved-sticky .emwh-unsaved-state{margin-right:auto;font-size:10px;font-weight:700;color:#64788d}.emwh-approved-sticky .emwh-unsaved-state:not(:empty){display:inline-flex}
.emwh-approved-kpi{min-height:66px;padding:9px 11px}.emwh-approved-kpi strong{font-size:15px;margin-top:5px}.emwh-approved-kpi small{margin-top:3px}
@media(max-width:760px){.emwh-offer-sequence-nav{grid-template-columns:1fr}.emwh-offer-sequence-nav a:last-child{text-align:left}.emwh-approved-actions{width:100%}.emwh-approved-actions .emwh-btn{flex:1}.emwh-approved-sticky{flex-wrap:wrap}.emwh-approved-sticky .emwh-unsaved-state{width:100%;margin-right:0}}

/* V4.6.5.0 - Complete offer editing and persistent save controls */
.emwh-approved-offer-edit{padding-bottom:78px}
.emwh-approved-sticky{position:fixed!important;left:calc(var(--emwh-sidebar-w, 165px) + 18px);right:18px;bottom:10px;z-index:9999!important;margin:0!important;padding:10px 14px!important;border:1px solid #cfddeb!important;border-radius:10px!important;background:#fff!important;box-shadow:0 -8px 24px rgba(17,46,78,.18)!important}
.emwh-approved-sticky .emwh-btn,.emwh-approved-actions .emwh-btn{min-height:36px;display:inline-flex;align-items:center;justify-content:center;font-weight:700}
.emwh-approved-form input:not([type=hidden]),.emwh-approved-form select,.emwh-approved-form textarea{background:#fff!important;color:#10243d!important;border:1px solid #b9cce0!important}
.emwh-approved-form input:not([type=hidden]):focus,.emwh-approved-form select:focus,.emwh-approved-form textarea:focus{border-color:#1469d2!important;box-shadow:0 0 0 2px rgba(20,105,210,.12)!important;outline:none!important}
.emwh-approved-actions{position:relative;z-index:2}
@media(max-width:900px){.emwh-approved-sticky{left:10px;right:10px}}

/* V4.6.6.0 - complete editing, export and commercial output */
.emwh-edit-action-strip{position:sticky;top:36px;z-index:120;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0;padding:9px 12px;border:1px solid #bfd6ee;border-radius:9px;background:#fff;box-shadow:0 5px 16px rgba(20,48,80,.10)}
.emwh-edit-action-strip>div{display:flex;gap:8px}.emwh-edit-action-strip span{font-size:11px;color:#526a82}
.emwh-card-output{grid-column:1/-1}.emwh-output-help{margin:0 0 8px;color:#60758a;font-size:11px}.emwh-sales-line-output{width:100%;min-height:82px;padding:12px;border:1px solid #a9c8e8;border-radius:8px;background:#fbfdff;font-size:13px;line-height:1.55}.emwh-output-actions{display:flex;gap:8px;margin-top:9px}.emwh-copy-feedback{margin-left:8px;color:#07863f;font-weight:700;font-size:11px}
.emwh-commercial-selection-bar{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px;padding:8px 10px;border:1px solid #d7e4f1;border-radius:8px;background:#fff}.emwh-commercial-selection-bar>div{display:flex;align-items:center;gap:10px}.emwh-commercial-selection-bar span{color:#61768b;font-size:11px}.emwh-select-col{width:34px;text-align:center!important}.emwh-select-col input{width:16px;height:16px}
.emwh-export-menu-panel{right:0!important;left:auto!important;min-width:250px!important;display:block!important;padding:10px!important}.emwh-export-menu-panel section+section{margin-top:10px;padding-top:10px;border-top:1px solid #e4edf6}.emwh-export-menu-panel section>strong{display:block;margin:0 0 6px}.emwh-export-menu-panel section>div{display:grid;grid-template-columns:1fr 1fr;gap:7px}.emwh-export-menu-panel small{display:block;margin-top:8px;color:#52708d}
.emwh-sales-modal[hidden]{display:none}.emwh-sales-modal{position:fixed;inset:0;z-index:100000;background:rgba(9,29,50,.45);display:flex;align-items:center;justify-content:center;padding:24px}.emwh-sales-modal-card{width:min(820px,96vw);background:#fff;border-radius:12px;box-shadow:0 25px 70px rgba(0,0,0,.25);padding:14px}.emwh-sales-modal-card header,.emwh-sales-modal-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.emwh-sales-modal-card header div{display:flex;flex-direction:column}.emwh-sales-modal-card header span{font-size:11px;color:#667b91}.emwh-sales-modal-card header button{border:0;background:transparent;font-size:25px;cursor:pointer}.emwh-sales-modal-card textarea{width:100%;margin:12px 0;padding:12px;border:1px solid #abc8e5;border-radius:8px;font-size:13px;line-height:1.6}.emwh-sales-modal-card footer{justify-content:flex-end}.emwh-sales-modal-card small{display:block;margin-top:6px;color:#07863f;font-weight:700}
@media(max-width:900px){.emwh-edit-action-strip{top:10px;align-items:flex-start;flex-direction:column}.emwh-commercial-selection-bar{align-items:flex-start;flex-direction:column}.emwh-export-menu-panel{right:auto!important;left:0!important}}


/* V4.6.7.0 - compact workspace, ledger navigation and sales-output cleanup */
.emwh-approved-offer-edit .emwh-approved-kpis{gap:7px}
.emwh-approved-offer-edit .emwh-approved-kpi{min-height:54px;padding:7px 9px}
.emwh-approved-offer-edit .emwh-approved-kpi strong{font-size:14px;margin-top:3px}
.emwh-approved-offer-edit .emwh-approved-kpi small{font-size:9px;line-height:1.2}
.emwh-approved-offer-edit .emwh-approved-form{gap:8px}
.emwh-approved-offer-edit .emwh-card{padding:9px 10px}
.emwh-approved-offer-edit .emwh-card-title-row{margin-bottom:7px;padding-bottom:6px}
.emwh-approved-offer-edit .emwh-card-title-row h3,.emwh-approved-offer-edit .emwh-card-title-row strong{font-size:11px}
.emwh-approved-offer-edit label,.emwh-approved-offer-edit .emwh-field-label{font-size:11px!important;font-weight:700!important;color:#29445f!important;line-height:1.25!important}
.emwh-approved-offer-edit input:not([type=hidden]),.emwh-approved-offer-edit select{min-height:34px!important;height:34px!important;padding:5px 8px!important;font-size:12px!important}
.emwh-approved-offer-edit textarea{padding:8px 9px!important;font-size:12px!important}
.emwh-approved-offer-edit .emwh-readonly-fact{padding:7px 9px;gap:3px}
.emwh-approved-offer-edit .emwh-readonly-fact span{font-size:9px}.emwh-approved-offer-edit .emwh-readonly-fact strong{font-size:12px}
.emwh-approved-offer-edit .emwh-output-help{margin-bottom:5px;font-size:10px}
.emwh-approved-offer-edit .emwh-sales-line-output{min-height:54px!important;height:54px;padding:8px 9px;font-size:12px;line-height:1.4;user-select:text!important;-webkit-user-select:text!important;cursor:text}
.emwh-approved-offer-edit .emwh-output-actions{margin-top:6px}
.emwh-approved-offer-edit .emwh-approved-workbar{min-height:34px}
.emwh-approved-offer-edit .emwh-edit-action-strip{padding:7px 10px;margin:6px 0}
.emwh-approved-table .is-actions{min-width:190px}.emwh-approved-table .is-actions .emwh-btn{white-space:nowrap}
.emwh-ledger-navigation{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:8px 0;padding:7px 9px;border:1px solid #d7e3ef;border-radius:8px;background:#fff}
.emwh-ledger-navigation .emwh-secondary{display:inline-flex;align-items:center;min-height:30px;padding:5px 9px;border:1px solid #b9d0e8;border-radius:6px;background:#fff;color:#0d67d4;text-decoration:none;font-size:10px;font-weight:700}
.emwh-ledger-navigation .is-disabled{opacity:.45;cursor:not-allowed}
.emwh-ledger-navigation-bottom{margin-top:10px;margin-bottom:72px}
.emwh-ledger-lower-grid{grid-template-columns:minmax(0,2.2fr) minmax(280px,.8fr);align-items:start}
.emwh-ledger-lower-grid>.emwh-card{min-height:0!important;height:auto!important;padding:9px 10px!important}
.emwh-ledger-lower-grid .emwh-table th,.emwh-ledger-lower-grid .emwh-table td{padding-top:7px!important;padding-bottom:7px!important}
.emwh-ledger-snapshot{gap:6px 12px}.emwh-ledger-snapshot dt{font-size:9px}.emwh-ledger-snapshot dd{font-size:10px}
.emwh-product-intelligence{padding-bottom:72px}
.emwh-sales-modal-card textarea{user-select:text!important;-webkit-user-select:text!important}
@media(max-width:1100px){.emwh-ledger-lower-grid{grid-template-columns:1fr}.emwh-approved-offer-edit .emwh-approved-kpis{grid-template-columns:repeat(3,1fr)}}

/* V4.6.8.0 - dense workspace, stable exports and complete ledger table */
.emwh-export-menu:not([open]) .emwh-export-menu-panel{display:none!important;pointer-events:none!important;visibility:hidden!important}
.emwh-export-menu[open] .emwh-export-menu-panel{display:block!important;pointer-events:auto!important;visibility:visible!important}
.emwh-approved-offer-edit .emwh-approved-grid{gap:7px!important}
.emwh-approved-offer-edit .emwh-approved-card{padding:8px 9px!important;min-height:0!important}
.emwh-approved-offer-edit .emwh-card-product,.emwh-approved-offer-edit .emwh-card-pricing,.emwh-approved-offer-edit .emwh-card-quantity{height:auto!important}
.emwh-approved-offer-edit .emwh-approved-pricing-grid{gap:6px!important}
.emwh-approved-offer-edit .emwh-approved-pricing-grid>label{padding:6px 7px!important;min-height:0!important}
.emwh-approved-offer-edit .emwh-approved-pricing-grid>label>strong{margin-top:3px!important;font-size:12px!important}
.emwh-approved-offer-edit .emwh-approved-profit-strip{margin-top:7px!important;padding:8px 10px!important}
.emwh-approved-offer-edit .emwh-card-quantity{align-self:start}
.emwh-approved-offer-edit .emwh-card-overrides:has(input:placeholder-shown){min-height:0!important}
.emwh-condition-list dl{display:grid;grid-template-columns:145px minmax(0,1fr);gap:7px 12px;margin:0}
.emwh-condition-list dt{font-size:10px;font-weight:800;letter-spacing:.06em;color:#4e6680}
.emwh-condition-list dd{margin:0;font-size:11px;font-weight:600;color:#172b42;overflow-wrap:anywhere}
.emwh-approved-offer-edit .emwh-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.emwh-approved-offer-edit .emwh-quick-grid a{min-height:42px!important;padding:6px!important}
.emwh-approved-offer-edit .emwh-summary-row{gap:0!important}
.emwh-approved-offer-edit .emwh-summary-row>div{padding:5px 7px!important}
.emwh-product-intelligence .emwh-hero{padding-top:10px!important;padding-bottom:10px!important;min-height:0!important}
.emwh-product-intelligence .emwh-ledger-product-head{grid-template-columns:2fr .8fr .8fr .8fr;gap:7px;margin:8px 0}
.emwh-product-intelligence .emwh-ledger-product-head>div{min-height:52px;padding:8px 10px}
.emwh-product-intelligence .emwh-intelligence-kpis{gap:6px!important}
.emwh-product-intelligence .emwh-intel-kpi{min-height:54px!important;padding:7px 9px!important}
.emwh-product-intelligence .emwh-intel-kpi strong{margin-top:4px!important;font-size:12px!important}
.emwh-product-intelligence .emwh-ledger-filters{margin:8px 0;padding:7px 8px}
.emwh-product-intelligence>.emwh-card{padding:8px!important}
.emwh-product-intelligence .emwh-table-wrap{width:100%;max-width:100%;overflow-x:auto!important;overflow-y:visible;-webkit-overflow-scrolling:touch}
.emwh-product-intelligence .emwh-intelligence-table{min-width:1760px;width:max-content}
.emwh-product-intelligence .emwh-intelligence-table th,.emwh-product-intelligence .emwh-intelligence-table td{padding:8px 10px!important}
.emwh-product-intelligence .emwh-intelligence-table th:last-child,.emwh-product-intelligence .emwh-intelligence-table td:last-child{position:sticky;right:0;z-index:3;background:#fff;box-shadow:-8px 0 12px rgba(18,48,78,.08);min-width:138px}
.emwh-product-intelligence .emwh-intelligence-table thead th:last-child{z-index:5;background:#f4f8fc}
.emwh-product-intelligence .emwh-intelligence-table tr.is-current td:last-child{background:#fff8e8}
.emwh-product-intelligence .emwh-ledger-lower-grid{margin-top:7px!important}
.emwh-product-intelligence .emwh-ledger-lower-grid>.emwh-card{padding:7px 9px!important}
@media(max-width:1200px){.emwh-product-intelligence .emwh-ledger-product-head{grid-template-columns:1.5fr 1fr 1fr 1fr}.emwh-approved-offer-edit .emwh-quick-grid{grid-template-columns:repeat(2,1fr)}}

/* V4.6.8.0 - dense workspace, stable exports and complete ledger table */
.emwh-export-menu:not([open]) .emwh-export-menu-panel{display:none!important;pointer-events:none!important;visibility:hidden!important}
.emwh-export-menu[open] .emwh-export-menu-panel{display:block!important;pointer-events:auto!important;visibility:visible!important}
.emwh-approved-offer-edit .emwh-approved-grid{gap:7px!important}
.emwh-approved-offer-edit .emwh-approved-card{padding:8px 9px!important;min-height:0!important}
.emwh-approved-offer-edit .emwh-card-product,.emwh-approved-offer-edit .emwh-card-pricing,.emwh-approved-offer-edit .emwh-card-quantity{height:auto!important}
.emwh-approved-offer-edit .emwh-approved-pricing-grid{gap:6px!important}
.emwh-approved-offer-edit .emwh-approved-pricing-grid>label{padding:6px 7px!important;min-height:0!important}
.emwh-approved-offer-edit .emwh-approved-pricing-grid>label>strong{margin-top:3px!important;font-size:12px!important}
.emwh-approved-offer-edit .emwh-approved-profit-strip{margin-top:7px!important;padding:8px 10px!important}
.emwh-approved-offer-edit .emwh-card-quantity{align-self:start}
.emwh-condition-list dl{display:grid;grid-template-columns:145px minmax(0,1fr);gap:7px 12px;margin:0}
.emwh-condition-list dt{font-size:10px;font-weight:800;letter-spacing:.06em;color:#4e6680}
.emwh-condition-list dd{margin:0;font-size:11px;font-weight:600;color:#172b42;overflow-wrap:anywhere}
.emwh-approved-offer-edit .emwh-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.emwh-approved-offer-edit .emwh-quick-grid a{min-height:42px!important;padding:6px!important}
.emwh-approved-offer-edit .emwh-summary-row{gap:0!important}
.emwh-approved-offer-edit .emwh-summary-row>div{padding:5px 7px!important}
.emwh-product-intelligence .emwh-ledger-product-head{grid-template-columns:2fr .8fr .8fr .8fr;gap:7px;margin:8px 0}
.emwh-product-intelligence .emwh-ledger-product-head>div{min-height:52px;padding:8px 10px}
.emwh-product-intelligence .emwh-intelligence-kpis{gap:6px!important}
.emwh-product-intelligence .emwh-intel-kpi{min-height:54px!important;padding:7px 9px!important}
.emwh-product-intelligence .emwh-intel-kpi strong{margin-top:4px!important;font-size:12px!important}
.emwh-product-intelligence .emwh-ledger-filters{margin:8px 0;padding:7px 8px}
.emwh-product-intelligence>.emwh-card{padding:8px!important}
.emwh-product-intelligence .emwh-table-wrap{width:100%;max-width:100%;overflow-x:auto!important;overflow-y:visible;-webkit-overflow-scrolling:touch}
.emwh-product-intelligence .emwh-intelligence-table{min-width:1760px;width:max-content}
.emwh-product-intelligence .emwh-intelligence-table th,.emwh-product-intelligence .emwh-intelligence-table td{padding:8px 10px!important}
.emwh-product-intelligence .emwh-intelligence-table th:last-child,.emwh-product-intelligence .emwh-intelligence-table td:last-child{position:sticky;right:0;z-index:3;background:#fff;box-shadow:-8px 0 12px rgba(18,48,78,.08);min-width:138px}
.emwh-product-intelligence .emwh-intelligence-table thead th:last-child{z-index:5;background:#f4f8fc}
.emwh-product-intelligence .emwh-intelligence-table tr.is-current td:last-child{background:#fff8e8}
.emwh-product-intelligence .emwh-ledger-lower-grid{margin-top:7px!important}
.emwh-product-intelligence .emwh-ledger-lower-grid>.emwh-card{padding:7px 9px!important}
@media(max-width:1200px){.emwh-product-intelligence .emwh-ledger-product-head{grid-template-columns:1.5fr 1fr 1fr 1fr}.emwh-approved-offer-edit .emwh-quick-grid{grid-template-columns:repeat(2,1fr)}}

/* V4.6.8.3 - Review Grid navigation, inline quantity and compact unit display */
.emwh-review-backbar{display:flex;justify-content:flex-start;margin:0 0 12px}
.emwh-bulk-quantity-inline{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.emwh-bulk-quantity-inline input{width:92px!important;min-width:72px;margin:0!important}
.emwh-bulk-quantity-inline span{display:inline-block;font-size:12px;font-weight:700;color:#5f7388;text-transform:lowercase;line-height:1}

/* V4.6.8.4 - Editable Review Grid workflow */
.emwh-edit-review{display:block;margin-top:8px;width:100%;font-size:11px;padding:7px 9px}
.emwh-bulk-edit-row>td{padding:0!important;background:#f7fbff!important}
.emwh-review-editor{margin:8px 12px 14px;padding:14px;border:1px solid #b8d4ef;border-radius:10px;background:#fff;box-shadow:0 4px 14px rgba(19,64,105,.08)}
.emwh-review-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.emwh-review-editor-head strong{display:block;font-size:15px;color:#0c3154}
.emwh-review-editor-head small{display:block;margin-top:3px;color:#60768a}
.emwh-review-editor-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px}
.emwh-review-editor-grid label{display:flex;flex-direction:column;gap:5px}
.emwh-review-editor-grid label span{font-size:12px;font-weight:700;color:#294b69}
.emwh-review-editor-grid input,.emwh-review-editor-grid select,.emwh-review-editor-grid textarea{width:100%;min-height:36px;border:1px solid #a9c7e5;border-radius:6px;padding:7px 9px;background:#fff;color:#102f4d}
.emwh-review-editor-grid label.wide{grid-column:1/-1}
.emwh-review-editor-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.emwh-commercial-note.is-empty{color:#8293a4;font-style:italic}
.emwh-bulk-message.is-success{display:block;background:#eaf8ef;border-color:#9fd5b0;color:#176b35}
@media(max-width:1250px){.emwh-review-editor-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}}

/* V4.6.8.5 - Review Grid modal editor and action icon standard */
.emwh-review-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:24px}
.emwh-review-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(7,25,43,.62);cursor:default}
.emwh-review-modal-panel{position:relative;z-index:1;width:min(980px,calc(100vw - 48px));max-height:calc(100vh - 48px);overflow:auto;background:#fff;border:1px solid #b8d4ef;border-radius:12px;box-shadow:0 20px 60px rgba(7,25,43,.28);padding:18px}
.emwh-review-modal .emwh-review-editor-head{position:sticky;top:-18px;z-index:3;margin:-18px -18px 14px;padding:16px 18px 13px;background:#fff;border-bottom:1px solid #dbe8f4;border-radius:12px 12px 0 0}
.emwh-review-modal .emwh-review-editor-head strong{font-size:18px}
.emwh-review-modal .emwh-review-editor-grid{grid-template-columns:repeat(4,minmax(140px,1fr));gap:10px 12px}
.emwh-review-modal .emwh-review-editor-grid label.span-2{grid-column:span 2}
.emwh-review-modal .emwh-review-editor-grid label span{font-size:12px;font-weight:700;color:#173d61;letter-spacing:.01em}
.emwh-review-modal .emwh-review-editor-actions{position:sticky;bottom:-18px;margin:16px -18px -18px;padding:13px 18px;background:#fff;border-top:1px solid #dbe8f4;border-radius:0 0 12px 12px}
.emwh-edit-review{display:inline-flex!important;align-items:center;gap:5px;white-space:nowrap}
@media(max-width:900px){.emwh-review-modal{padding:12px}.emwh-review-modal-panel{width:calc(100vw - 24px);max-height:calc(100vh - 24px)}.emwh-review-modal .emwh-review-editor-grid{grid-template-columns:repeat(2,minmax(130px,1fr))}}
@media(max-width:560px){.emwh-review-modal .emwh-review-editor-grid{grid-template-columns:1fr}.emwh-review-modal .emwh-review-editor-grid label.span-2{grid-column:auto}}

.emwh-approved-offer-edit .emwh-quick-grid .emwh-quick-action{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:42px;padding:6px;border:1px solid #d8e3ed;border-radius:7px;background:#fff;color:#25527e;font:inherit;cursor:pointer}.emwh-approved-offer-edit .emwh-quick-grid .emwh-quick-action:hover{background:#f5f9fd;border-color:#9dbde0}.emwh-approved-offer-edit .emwh-quick-grid .emwh-quick-action span{margin-top:4px;font-size:9px;font-weight:700}


/* V4.6.8.10 - Quick Actions visual regression fix. Use links to avoid global/theme button styling. */
.emwh-approved-offer-edit .emwh-quick-grid .emwh-quick-link{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:6px!important;border:1px solid #c8d9ea!important;border-radius:7px!important;background:#ffffff!important;background-color:#ffffff!important;color:#245780!important;text-decoration:none!important;font:inherit!important;box-shadow:none!important;cursor:pointer!important}
.emwh-approved-offer-edit .emwh-quick-grid .emwh-quick-link:hover,.emwh-approved-offer-edit .emwh-quick-grid .emwh-quick-link:focus{background:#f3f8fd!important;background-color:#f3f8fd!important;border-color:#8fb5db!important;color:#0b65d8!important;outline:none!important;box-shadow:0 0 0 2px rgba(11,101,216,.08)!important}
.emwh-approved-offer-edit .emwh-quick-grid .emwh-quick-link span{margin-top:4px!important;font-size:9px!important;font-weight:700!important;color:inherit!important}


/* V4.6.8.11 - Commercial Positions closure polish. */
.emwh-approved-table .is-prices .is-cost,
.emwh-approved-table .is-prices .is-cost span,
.emwh-approved-table .is-prices .is-cost strong { color:#c62828 !important; font-weight:700; }
.emwh-approved-table .is-prices .is-sale,
.emwh-approved-table .is-prices .is-sale span,
.emwh-approved-table .is-prices .is-sale strong { color:#1266c3 !important; font-weight:700; }
.emwh-approved-table .emwh-product-ledger-link { color:#0b4f9c; text-decoration:none; font-weight:700; }
.emwh-approved-table .emwh-product-ledger-link:hover { text-decoration:underline; }
.emwh-approved-table .is-profit strong { font-size:1.06em; }
.emwh-approved-table .emwh-margin-badge { color:#16804a; background:#edf9f2; border-radius:999px; padding:3px 7px; font-weight:700; white-space:nowrap; }
.emwh-approved-table .emwh-badge { border-radius:999px; padding:5px 10px; }
.emwh-approved-table .emwh-badge.is-active, .emwh-approved-table .emwh-badge[data-status="active"] { background:#e2f7e9; color:#14743d; }
.emwh-approved-table .is-actions .is-disabled { opacity:.5; pointer-events:none; cursor:not-allowed; }
.emwh-commercial-selection-bar [data-selection-count] { font-weight:650; color:#47617d; }
.emwh-sales-modal textarea[readonly] { background:#fbfdff; cursor:text; }


/* V4.6.8.12 - Commercial Positions final closure. */
.emwh-commercial-title-summary{display:flex;gap:18px;margin:-9px 0 10px;padding:0 16px;color:#657b91;font-size:10px}.emwh-commercial-title-summary strong{color:#173a5f;font-size:11px}
.emwh-approved-list-toolbar{grid-template-columns:auto 1fr minmax(430px,auto) auto}.emwh-approved-list-toolbar form{grid-template-columns:1fr 126px 82px}.emwh-approved-list-toolbar .emwh-search-compact{min-width:82px;padding-left:12px;padding-right:12px}.emwh-direct-exports{display:flex;align-items:center;gap:6px}.emwh-direct-exports>.emwh-btn{white-space:nowrap}.emwh-direct-exports .emwh-export-menu{margin:0}
.emwh-selection-metrics{gap:18px!important}.emwh-selection-metrics>span{display:flex;flex-direction:column;gap:2px;min-width:100px;padding-left:16px;border-left:1px solid #dce6f0}.emwh-selection-metrics small{color:#75899c;font-size:8px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.emwh-selection-metrics b{color:#173a5f;font-size:11px;white-space:nowrap}.emwh-selection-metrics [data-selection-profit]{color:#0a864a}
.emwh-approved-table{min-width:1440px}.emwh-approved-table .is-format-conditions{min-width:145px}.emwh-approved-table .is-format-conditions strong{display:block;color:#173a5f;font-size:10px}.emwh-approved-table .is-format-conditions span{display:block;margin-top:4px;color:#60758a;font-size:8px;font-weight:700;line-height:1.35}.emwh-approved-table .is-prices>div{display:flex;flex-direction:column;gap:2px}.emwh-approved-table .is-prices span{font-size:8px;font-weight:800;letter-spacing:.04em}.emwh-approved-table .is-prices strong{font-size:10px}.emwh-approved-table .is-profit strong{font-size:13px!important}.emwh-approved-table .emwh-edit-icon-only{min-width:34px;padding-left:8px!important;padding-right:8px!important;font-size:15px}.emwh-approved-table .emwh-badge.is-draft{background:#eef3f8;color:#5b6f83}.emwh-approved-table .emwh-badge.is-archived{background:#fff0df;color:#a45a13}
@media(max-width:1300px){.emwh-approved-list-toolbar{grid-template-columns:1fr}.emwh-direct-exports{justify-content:flex-start}.emwh-commercial-title-summary{flex-wrap:wrap}.emwh-selection-metrics{flex-wrap:wrap}}


/* V4.6.8.13 - Ledger navigation, safe front-end exports and delivery lead time. */
.emwh-approved-table .is-delivery strong{display:block;color:#173a5f;font-size:10px;white-space:nowrap}
.emwh-approved-table .is-delivery span{display:block;margin-top:4px;color:#60758a;font-size:9px;font-weight:700;white-space:nowrap}
.emwh-approved-table [data-ledger-link]{cursor:pointer}

/* V4.6.8.14 - Commercial Positions stable closure. */
.emwh-approved-list-toolbar{grid-template-columns:auto minmax(430px,1fr) auto!important}
.emwh-approved-table{min-width:1380px}
.emwh-approved-table .is-format-conditions{min-width:190px;max-width:230px}
.emwh-approved-table .is-format-conditions strong{white-space:nowrap}
.emwh-approved-table .emwh-commercial-note-inline{display:block;margin-top:4px;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9a6118;font-size:8px;font-weight:700}
.emwh-offer-workspace-toolbar .is-disabled{opacity:.42;cursor:not-allowed;pointer-events:none}
/* V4.6.8.15 availability confirmation */
.emwh-approved-table td.is-dates span,
.emwh-approved-table td.is-dates small { display:block; white-space:nowrap; }
.emwh-approved-table td.is-dates small { margin-top:3px; color:#16814b; font-size:10px; font-weight:700; }
.emwh-approved-table .emwh-confirm-icon-only { min-width:34px; padding-left:9px; padding-right:9px; color:#087645; }
.emwh-approved-table .emwh-confirm-icon-only:hover { background:#eefaf3; border-color:#8bcfa9; }

/* V4.6.8.16 Commercial Positions final operational polish */
.emwh-inline-notice{margin:8px 0;padding:9px 12px;border:1px solid #b8dfc8;border-radius:8px;background:#eefaf3;color:#14713d;font-size:11px;font-weight:700}
.emwh-approved-table-wrap{overflow:auto;max-height:calc(100vh - 250px)}
.emwh-approved-table thead th{position:sticky;top:0;z-index:6;box-shadow:0 1px 0 #dce6f0}
.emwh-approved-table{min-width:1580px}
.emwh-approved-table .is-offer-id b{font-size:11px}
.emwh-approved-table .is-qty{min-width:92px}
.emwh-approved-table .is-qty strong{white-space:nowrap}
.emwh-approved-table .is-actions{min-width:230px}
.emwh-approved-table .emwh-ledger-button{min-width:118px;justify-content:center}
.emwh-approved-table .is-dates{min-width:138px}
.emwh-approved-table td.is-dates span{font-size:9px;color:#405a72}
.emwh-approved-table td.is-dates small{font-size:9px}
.emwh-approved-table .emwh-commercial-note-inline.is-information{color:#718399}
.emwh-approved-table .emwh-commercial-note-inline.is-warning{color:#a66113}
.emwh-approved-table .emwh-commercial-note-inline.is-critical{color:#ba2a2a}
.emwh-approved-table .emwh-commercial-note-inline.is-empty{color:#9aa8b6}
.emwh-approved-table .is-age{min-width:54px;text-align:center}
.emwh-age-badge{display:inline-flex;align-items:center;justify-content:center;min-width:38px;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:800;white-space:nowrap}
.emwh-age-badge.is-fresh{background:#e7f8ee;color:#13713c}.emwh-age-badge.is-warning{background:#fff7d9;color:#8b6810}.emwh-age-badge.is-old{background:#fff0df;color:#a45a13}.emwh-age-badge.is-expired{background:#fde8e8;color:#b42323}
.emwh-approved-table .is-commercial-status{min-width:118px}
.emwh-commercial-status{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:800;white-space:nowrap}
.emwh-commercial-status.is-fresh{background:#e8f6ff;color:#17628c}.emwh-commercial-status.is-confirmed{background:#e4f7eb;color:#13723e}.emwh-commercial-status.is-needs-confirmation{background:#fff3d7;color:#94620d}.emwh-commercial-status.is-expired{background:#fde8e8;color:#b42323}.emwh-commercial-status.is-archived{background:#eef1f4;color:#65717d}
.emwh-commercial-selection-bar [data-confirm-selected]:disabled{opacity:.5;cursor:not-allowed}
.emwh-selection-metrics>span{min-width:105px;padding-left:12px;border-left:1px solid #dce6f0}
.emwh-selection-metrics>span small,.emwh-selection-metrics>span b{display:block}
.emwh-selection-metrics>span small{font-size:8px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.emwh-selection-metrics>span b{margin-top:3px;color:#173a5f;font-size:10px}

/* V4.6.8.17 Commercial Positions UI balance and freeze */
.emwh-approved-table{min-width:1320px}
.emwh-approved-table .is-offer-id{min-width:92px}
.emwh-approved-table .is-offer-id a,.emwh-approved-table .is-offer-id b{white-space:nowrap;word-break:normal;overflow-wrap:normal}
.emwh-approved-table .is-qty{min-width:96px}
.emwh-approved-table .is-qty strong{white-space:nowrap}
.emwh-approved-table .is-actions{min-width:116px;width:116px;gap:6px}
.emwh-approved-table .is-actions .emwh-btn{width:34px;min-width:34px;height:32px;padding:0!important;display:inline-flex;align-items:center;justify-content:center;font-size:15px}
.emwh-approved-table .emwh-ledger-icon-only{color:#0b4f9c}
.emwh-approved-table .is-commercial-status{min-width:112px}
.emwh-approved-table .is-dates{min-width:105px}
.emwh-approved-table td.is-dates span,.emwh-approved-table td.is-dates small{white-space:nowrap}
.emwh-approved-table td:nth-child(5){white-space:nowrap}
.emwh-approved-table th,.emwh-approved-table td{padding-left:8px;padding-right:8px}
.emwh-approved-table .emwh-commercial-status{padding-left:7px;padding-right:7px}
@media(max-width:1500px){.emwh-approved-table{min-width:1280px}.emwh-approved-table .is-format-conditions{min-width:170px;max-width:205px}}

/* V4.6.8.18 Commercial Positions compact workspace chrome. */
body.emwh-workhub-page .emwh-approved-list > .emwh-hero{
  padding:8px 12px!important;
  margin-bottom:4px!important;
  min-height:0!important;
}
body.emwh-workhub-page .emwh-approved-list > .emwh-hero h1{
  margin:1px 0!important;
  font-size:22px!important;
  line-height:1!important;
}
body.emwh-workhub-page .emwh-approved-list > .emwh-hero p{
  margin-top:1px!important;
  line-height:1.2!important;
}
.emwh-approved-list .emwh-commercial-title-summary{
  margin:-5px 0 5px;
  padding:0 12px;
  gap:14px;
  line-height:1.1;
}
.emwh-approved-list .emwh-approved-list-kpis{
  gap:8px;
  margin:5px 0 7px;
}
.emwh-approved-list .emwh-approved-list-kpis>div{
  grid-template-columns:34px 1fr;
  column-gap:8px;
  min-height:52px;
  padding:7px 10px;
  border-radius:8px;
}
.emwh-approved-list .emwh-approved-list-kpis i{
  width:30px;
  height:30px;
  border-radius:8px;
  font-size:14px;
}
.emwh-approved-list .emwh-approved-list-kpis strong{
  font-size:16px;
  line-height:1;
}
.emwh-approved-list .emwh-approved-list-kpis span{
  margin-top:1px;
  line-height:1.1;
}
.emwh-approved-list .emwh-approved-list-toolbar{
  gap:6px;
  padding:7px 9px;
  border-radius:8px;
}
.emwh-approved-list .emwh-approved-list-toolbar form{
  gap:6px;
}
.emwh-approved-list .emwh-approved-list-toolbar input,
.emwh-approved-list .emwh-approved-list-toolbar select{
  min-height:31px;
  height:31px;
}
.emwh-approved-list .emwh-approved-list-toolbar .emwh-btn,
.emwh-approved-list .emwh-direct-exports .emwh-btn{
  min-height:31px;
  padding-top:6px!important;
  padding-bottom:6px!important;
}
.emwh-approved-list .emwh-commercial-selection-bar{
  min-height:42px;
  margin:6px 0 7px;
  padding:5px 8px;
  border-radius:8px;
}
.emwh-approved-list .emwh-commercial-selection-bar>div{
  gap:7px;
}
.emwh-approved-list .emwh-selection-metrics{
  gap:10px!important;
}
.emwh-approved-list .emwh-selection-metrics>strong{
  white-space:nowrap;
}
.emwh-approved-list .emwh-selection-metrics>span{
  min-width:92px;
  padding-left:10px;
  gap:0;
}
.emwh-approved-list .emwh-selection-metrics>span small{
  font-size:7px;
  line-height:1;
}
.emwh-approved-list .emwh-selection-metrics>span b{
  margin-top:2px;
  font-size:10px;
  line-height:1.05;
}
.emwh-approved-list .emwh-commercial-selection-bar .emwh-btn{
  min-height:31px;
  padding-top:6px!important;
  padding-bottom:6px!important;
}
.emwh-approved-list .emwh-approved-table-wrap{
  margin-top:7px;
  max-height:calc(100vh - 205px);
}
.emwh-approved-list .emwh-approved-table-wrap .emwh-count{
  padding:8px 10px;
}
@media(max-width:1100px){
  .emwh-approved-list .emwh-commercial-selection-bar{align-items:stretch}
  .emwh-approved-list .emwh-selection-metrics{width:100%}
}

/* V4.6.8.20 Workspace overview coherence and navigation closure. */
.emwh-offer-overview-v3 .emwh-offer-summary-card{min-height:0}
.emwh-offer-overview-v3 .emwh-offer-kv-grid{align-content:start}
.emwh-offer-overview-v3 .emwh-price-cost b,.emwh-offer-overview-v3 .emwh-price-cost small{color:#c62828!important}
.emwh-offer-overview-v3 .emwh-price-sale b,.emwh-offer-overview-v3 .emwh-price-sale small{color:#0b63ce!important}
.emwh-offer-overview-v3 .emwh-price-profit b,.emwh-offer-overview-v3 .emwh-price-profit small{color:#07883d!important}
.emwh-offer-notes-card-compact{padding-bottom:10px!important}
.emwh-offer-notes-card-compact .emwh-offer-note{min-height:54px!important;padding:9px 12px!important}
.emwh-offer-workspace-toolbar .is-disabled{opacity:.45;pointer-events:none}

/* V4.6.8.22 Workspace Overview Professional. */
.emwh-workspace-status-strip{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:-5px 0 8px;padding:7px 12px;
  border:1px solid #d8e4f1;border-radius:9px;background:#fff;color:#45617c;font-size:11px;font-weight:700;
}
.emwh-workspace-status-strip .emwh-commercial-state{margin-right:2px}
.emwh-workspace-lower-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:10px;margin-top:10px}
.emwh-workspace-activity-card,.emwh-workspace-intelligence-summary,.emwh-workspace-quick-actions,.emwh-workspace-danger-actions{margin:0!important;padding:12px!important}
.emwh-workspace-activity-list{display:grid;gap:7px;margin-top:8px}
.emwh-workspace-activity-list article{display:grid;grid-template-columns:108px 1fr;gap:10px;padding:7px 0;border-top:1px solid #e5edf6}
.emwh-workspace-activity-list article:first-child{border-top:0}
.emwh-workspace-activity-list time{font-size:9px;color:#647b92;font-weight:800;text-transform:uppercase}
.emwh-workspace-activity-list article div{display:grid;gap:1px}
.emwh-workspace-activity-list strong{font-size:11px;color:#0b2847}
.emwh-workspace-activity-list span{font-size:10px;color:#40576d}
.emwh-workspace-activity-list small{font-size:9px;color:#71869a}
.emwh-workspace-intelligence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0}
.emwh-workspace-intelligence-summary .emwh-inline-link{display:inline-flex;margin-top:2px;color:#0867d1;font-size:10px;font-weight:800;text-decoration:none}
.emwh-workspace-quick-actions{margin-top:10px!important}
.emwh-workspace-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:8px}
.emwh-workspace-action{
  min-height:48px;display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 10px;
  border:1px solid #cbdced;border-radius:8px;background:#fff;color:#075bb6;font:inherit;font-size:14px;font-weight:800;
  text-decoration:none;cursor:pointer;box-shadow:none;
}
.emwh-workspace-action span{font-size:10px;letter-spacing:.02em}
.emwh-workspace-action:hover{background:#eef6ff;border-color:#8eb9e8;color:#074f9b}
.emwh-workspace-copy-status{min-height:14px;margin-top:5px;color:#07883d;font-size:10px;font-weight:800}
.emwh-workspace-danger-actions{margin-top:10px!important}
.emwh-offer-overview-v3 .emwh-offer-note>div{max-height:54px;overflow:auto;white-space:normal}
@media(max-width:1050px){
  .emwh-workspace-lower-grid{grid-template-columns:1fr}
  .emwh-workspace-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* V4.6.8.23 Workspace Pricing Professional. */
.emwh-pricing-professional{display:grid;gap:10px}
.emwh-pricing-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.emwh-pricing-heading h3{margin:5px 0 3px;font-size:20px;color:#10253e}
.emwh-pricing-heading p{margin:0;color:#65788d;font-size:11px}
.emwh-pricing-primary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.emwh-pricing-card{min-height:96px;padding:15px;border:1px solid #dbe6f1;border-radius:10px;background:#fff;display:flex;flex-direction:column;justify-content:center;gap:5px}
.emwh-pricing-card small{font-size:10px;font-weight:900;letter-spacing:.08em}
.emwh-pricing-card strong{font-size:24px;line-height:1.05}
.emwh-pricing-card span{font-size:10px;color:#647b92;font-weight:700}
.emwh-pricing-card.is-cost{background:#fff7f7;border-color:#f1c6c6}.emwh-pricing-card.is-cost small,.emwh-pricing-card.is-cost strong{color:#c62828}
.emwh-pricing-card.is-sale{background:#f4f9ff;border-color:#bfd8f3}.emwh-pricing-card.is-sale small,.emwh-pricing-card.is-sale strong{color:#0b63ce}
.emwh-pricing-card.is-margin{background:#f2fbf5;border-color:#c6e7d0}.emwh-pricing-card.is-margin small,.emwh-pricing-card.is-margin strong{color:#07883d}
.emwh-pricing-card.is-profit{background:#ecf9f0;border-color:#a9dcb8}.emwh-pricing-card.is-profit small,.emwh-pricing-card.is-profit strong{color:#07883d}
.emwh-pricing-detail-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:10px}
.emwh-pricing-breakdown,.emwh-pricing-context,.emwh-pricing-related{margin:0!important;padding:12px!important}
.emwh-pricing-breakdown dl{display:grid;gap:0;margin:7px 0 0}
.emwh-pricing-breakdown dl div{display:flex;justify-content:space-between;gap:15px;padding:8px 0;border-top:1px solid #e5edf6}
.emwh-pricing-breakdown dl div:first-child{border-top:0}
.emwh-pricing-breakdown dt{color:#65788d;font-size:10px;font-weight:800}.emwh-pricing-breakdown dd{margin:0;color:#10253e;font-size:11px;font-weight:900}
.emwh-pricing-context-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0}
.emwh-pricing-context-grid div{padding:10px;border:1px solid #e0e9f2;border-radius:8px;background:#f8fbfe;display:grid;gap:4px}
.emwh-pricing-context-grid small{font-size:9px;color:#65788d;font-weight:800;text-transform:uppercase}.emwh-pricing-context-grid strong{font-size:15px;color:#10253e}
.emwh-pricing-related-list{display:grid;margin-top:8px}
.emwh-pricing-related-list a{display:grid;grid-template-columns:minmax(190px,1.4fr) repeat(3,minmax(95px,.6fr));gap:12px;align-items:center;padding:9px 4px;border-top:1px solid #e5edf6;color:#10253e;text-decoration:none}
.emwh-pricing-related-list a:first-child{border-top:0}.emwh-pricing-related-list a:hover{background:#f5f9fd}
.emwh-pricing-related-list span:first-child{display:grid;gap:2px}.emwh-pricing-related-list small{font-size:9px;color:#65788d}.emwh-pricing-related-list span{font-size:10px;font-weight:800}
.emwh-pricing-related-list .is-cost{color:#c62828}.emwh-pricing-related-list .is-sale{color:#0b63ce}
@media(max-width:1100px){.emwh-pricing-primary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.emwh-pricing-detail-grid{grid-template-columns:1fr}.emwh-pricing-related-list a{grid-template-columns:1fr repeat(3,minmax(75px,.5fr))}}

/* V4.6.8.24 Workspace final consolidation. */
.emwh-workspace-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.emwh-workspace-action,.emwh-workspace-action:visited{background:#fff!important;color:#075bb6!important;border-color:#cbdced!important;box-shadow:none!important}
.emwh-workspace-action:hover{background:#eef6ff!important;color:#074f9b!important}
.emwh-workspace-inline-editor{margin:0!important;padding:14px!important}
.emwh-workspace-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.emwh-workspace-editor-grid label{display:grid;gap:6px}
.emwh-workspace-editor-grid label>span{font-size:10px;font-weight:900;color:#435d76;text-transform:uppercase;letter-spacing:.05em}
.emwh-workspace-editor-grid input,.emwh-workspace-editor-grid select{width:100%;min-height:39px;border:1px solid #cbd8e6;border-radius:7px;background:#fff;color:#10253e;padding:8px 10px;font-size:13px}
.emwh-workspace-editor-grid input[readonly]{background:#f3f6f9;color:#63788c}
.emwh-workspace-editor-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}
.emwh-workspace-heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.emwh-availability-professional{display:grid;gap:10px}
.emwh-availability-meta{margin:0!important;padding:12px!important}
@media(max-width:850px){.emwh-workspace-editor-grid{grid-template-columns:1fr}.emwh-pricing-heading{display:grid}.emwh-workspace-heading-actions{justify-content:flex-start}}


/* V4.6.8.25 Workspace Documents Professional. */
.emwh-documents-professional{display:grid;gap:10px}
.emwh-documents-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.emwh-documents-heading h3{margin:5px 0 3px;font-size:20px;color:#10253e}
.emwh-documents-heading p{margin:0;color:#65788d;font-size:11px}
.emwh-documents-primary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.emwh-documents-primary-grid article{min-height:84px;padding:13px;border:1px solid #dbe6f1;border-radius:10px;background:#fff;display:flex;flex-direction:column;justify-content:center;gap:4px}
.emwh-documents-primary-grid small{font-size:9px;font-weight:900;letter-spacing:.07em;color:#65788d}
.emwh-documents-primary-grid strong{font-size:20px;color:#10253e}.emwh-documents-primary-grid span{font-size:9px;color:#708397;font-weight:700}
.emwh-documents-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.emwh-document-panel,.emwh-document-checklist{margin:0!important;padding:12px!important}
.emwh-document-list{display:grid;margin:7px 0}
.emwh-document-list>div{display:grid;grid-template-columns:30px minmax(0,1fr) auto auto;gap:9px;align-items:center;padding:10px 0;border-top:1px solid #e5edf6}
.emwh-document-list>div:first-child{border-top:0}.emwh-document-list>div>div{display:grid;gap:2px}
.emwh-document-list strong,.emwh-document-supplier strong{font-size:11px;color:#10253e}.emwh-document-list small{font-size:9px;color:#71869a}
.emwh-document-list a{font-size:10px;font-weight:900;color:#0867d1;text-decoration:none}
.emwh-document-icon{font-size:18px}.emwh-document-status{display:inline-flex;align-items:center;padding:4px 7px;border-radius:999px;font-size:8px;font-weight:900;text-transform:uppercase;white-space:nowrap}
.emwh-document-status.is-ready{background:#eaf8ef;color:#087b38}.emwh-document-status.is-missing{background:#fff4e6;color:#a75a00}
.emwh-document-supplier{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start;margin:9px 0 12px}.emwh-document-supplier p{margin:3px 0 0;font-size:10px;color:#65788d;line-height:1.5}
.emwh-document-check-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:8px}
.emwh-document-check-grid>div{display:grid;grid-template-columns:20px 1fr;gap:7px;padding:9px;border:1px solid #e0e9f2;border-radius:8px;background:#f8fbfe}
.emwh-document-check-grid>div>span{font-weight:900}.emwh-document-check-grid .is-ready{color:#07883d}.emwh-document-check-grid .is-pending{color:#c57700}
.emwh-document-check-grid div div{display:grid;gap:2px}.emwh-document-check-grid strong{font-size:10px;color:#10253e}.emwh-document-check-grid small{font-size:8px;color:#71869a}
.emwh-document-boundary-note{margin:9px 0 0;padding-top:8px;border-top:1px solid #e5edf6;color:#71869a;font-size:9px;line-height:1.5}
@media(max-width:1050px){.emwh-documents-primary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.emwh-documents-detail-grid{grid-template-columns:1fr}.emwh-document-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V4.6.8.26 Workspace position document registry. */
.emwh-document-notice{margin:0 0 14px;padding:11px 14px;border-radius:10px;font-weight:700}.emwh-document-notice.is-success{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}.emwh-document-notice.is-error{background:#fff1f2;color:#b91c1c;border:1px solid #fecdd3}
.emwh-document-upload-panel{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(420px,1.7fr);gap:24px;align-items:end}.emwh-document-upload-panel h4{margin:5px 0}.emwh-document-upload-panel p{margin:0;color:#64748b}.emwh-document-upload-form{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(240px,1.2fr) auto;gap:12px;align-items:end}.emwh-document-upload-form label{display:grid;gap:6px}.emwh-document-upload-form label span{font-size:11px;font-weight:800;color:#475569;text-transform:uppercase;letter-spacing:.04em}.emwh-document-upload-form input{min-height:40px;border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px;background:#fff}
.emwh-position-document-panel{margin-top:16px}.emwh-position-document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:12px}.emwh-position-document-card{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;min-height:110px;border:1px solid #e2e8f0;border-radius:12px;padding:12px;background:#fff}.emwh-position-document-preview{display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:8px;background:#f8fafc}.emwh-position-document-preview img{width:100%;height:86px;object-fit:cover}.emwh-position-document-file-icon{display:flex;align-items:center;justify-content:center;border-radius:8px;background:#f1f5f9;font-size:34px;text-decoration:none}.emwh-position-document-body{min-width:0}.emwh-position-document-body strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0f172a}.emwh-position-document-body p{margin:6px 0;color:#475569;font-size:13px}.emwh-position-document-body small{color:#64748b}.emwh-position-document-actions{display:flex;gap:12px;align-items:center;margin-top:9px}.emwh-position-document-actions form{margin:0}.emwh-position-document-actions a,.emwh-position-document-actions button{border:0;background:none;padding:0;color:#1d4ed8;font-weight:700;cursor:pointer;text-decoration:none}.emwh-position-document-actions button{color:#b91c1c}.emwh-document-empty{text-align:center;padding:28px 14px;color:#64748b}.emwh-document-empty span{display:block;font-size:34px}.emwh-document-empty strong{display:block;color:#334155;margin-top:5px}
@media(max-width:1100px){.emwh-document-upload-panel,.emwh-document-upload-form{grid-template-columns:1fr}.emwh-position-document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.emwh-position-document-grid{grid-template-columns:1fr}}


/* V4.6.8.25.2 Document upload selection feedback. */
.emwh-document-file-field input[type="file"]{width:100%}
.emwh-document-file-summary{display:grid;gap:2px;min-height:46px;padding:8px 10px;border:1px dashed #bfd0e3;border-radius:8px;background:#f8fbfe;color:#64748b;text-transform:none!important;letter-spacing:0!important}
.emwh-document-file-summary strong{font-size:11px;color:#334155;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.emwh-document-file-summary small{font-size:9px;font-weight:700;color:#71869a;text-transform:none;letter-spacing:0}
.emwh-document-file-summary.is-selected{border-style:solid;border-color:#86d3a4;background:#effbf3}
.emwh-document-file-summary.is-selected strong{color:#08783a}
.emwh-document-file-summary.is-error{border-style:solid;border-color:#f0a3ab;background:#fff4f5}
.emwh-document-file-summary.is-error strong,.emwh-document-file-summary.is-error small{color:#b4232f}
.emwh-document-upload-form button[disabled]{opacity:.48;cursor:not-allowed;box-shadow:none}
.emwh-document-upload-form button.is-loading{pointer-events:none}
.emwh-position-document-actions button{background:transparent!important;border:0!important;box-shadow:none!important;color:#b91c1c!important;min-height:0!important;padding:0!important}
.emwh-position-document-actions button:hover{background:transparent!important;color:#8f1010!important;text-decoration:underline}

/* V4.6.8.26 - Product Intelligence decision support */
.emwh-intelligence-summary{display:grid;grid-template-columns:1fr 1fr 1fr 2fr;gap:7px;margin:8px 0}
.emwh-intelligence-summary>div{min-height:62px;padding:9px 11px;border:1px solid #dce6f0;border-radius:9px;background:#fff;display:flex;flex-direction:column;justify-content:center}
.emwh-intelligence-summary small{font-size:8px;font-weight:800;letter-spacing:.05em;color:#71859a}
.emwh-intelligence-summary strong{margin-top:4px;color:#10243e;font-size:13px;line-height:1.25}
.emwh-intelligence-summary span{margin-top:3px;color:#6f8092;font-size:9px}
.emwh-intelligence-summary .is-recommendation{border-left:3px solid #1d6fe8;background:#f7fbff}
.emwh-intelligence-suppliers{min-width:1180px}
.emwh-intelligence-suppliers th,.emwh-intelligence-suppliers td{white-space:nowrap}
@media(max-width:1200px){.emwh-intelligence-summary{grid-template-columns:1fr 1fr}.emwh-intelligence-summary .is-recommendation{grid-column:1/-1}}
@media(max-width:760px){.emwh-intelligence-summary{grid-template-columns:1fr}.emwh-intelligence-summary .is-recommendation{grid-column:auto}}

/* V4.6.8.27 Tier Pricing Foundation */
.emwh-tier-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}.emwh-tier-price-card{background:#fff;border:1px solid #d8e0ec;border-radius:20px;padding:17px;box-shadow:0 12px 28px rgba(15,23,42,.06)}.emwh-tier-price-card>div:first-child{display:flex;align-items:center;gap:9px;margin-bottom:10px}.emwh-tier-price-card small{color:#2563eb;font-weight:950;letter-spacing:.08em}.emwh-tier-price-card h4{margin:0;color:#0f172a;font-size:15px}.emwh-tier-price-card>strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:26px;color:#0f172a;margin-bottom:12px}.emwh-tier-price-card dl{display:grid;gap:7px;margin:0}.emwh-tier-price-card dl div{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #edf2f7;padding-top:7px}.emwh-tier-price-card dt{color:#64748b}.emwh-tier-price-card dd{margin:0;color:#0f172a;font-weight:850;text-align:right}.emwh-tier-status{display:inline-flex;padding:4px 8px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:10px;text-transform:uppercase}.emwh-tier-status.is-approved{background:#dcfce7;color:#166534}.emwh-tier-status.is-reviewed,.emwh-tier-status.is-calculated{background:#dbeafe;color:#1d4ed8}.emwh-tier-status.is-blocked{background:#fee2e2;color:#991b1b}.emwh-tier-cost-row{display:grid;grid-template-columns:1fr .45fr .45fr;gap:12px;margin:14px 0}.emwh-tier-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.emwh-tier-editor-card{border:1px solid #d8e0ec;border-radius:20px;padding:15px;background:#f8fafc}.emwh-tier-editor-card>div:first-child{display:flex;align-items:center;gap:8px;margin-bottom:12px}.emwh-tier-editor-card h4{margin:0}.emwh-tier-editor-card label,.emwh-tier-cost-row label{display:block;margin-bottom:10px}.emwh-tier-editor-card label span,.emwh-tier-cost-row label span{display:block;color:#475569;font-size:11px;font-weight:900;text-transform:uppercase;margin-bottom:5px}.emwh-tier-editor-card input,.emwh-tier-editor-card select,.emwh-tier-cost-row input{width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f172a;padding:8px 10px}.emwh-tier-editor-note{margin:14px 0 0;padding:11px 13px;border-radius:14px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a;font-size:12px}@media(max-width:1200px){.emwh-tier-summary-grid,.emwh-tier-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.emwh-tier-summary-grid,.emwh-tier-editor-grid,.emwh-tier-cost-row{grid-template-columns:1fr}}

/* V4.6.8.27.1 Compact currency-aware tier pricing */
.emwh-tier-editor-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.emwh-tier-editor-toolbar h3{margin:4px 0 0}.emwh-tier-editor-actions-top{display:flex;gap:8px;align-items:center}.emwh-tier-context-strip{display:grid;grid-template-columns:.8fr 1.1fr .7fr 1fr .75fr .75fr;gap:8px;align-items:end;padding:10px;border:1px solid #d8e0ec;border-radius:16px;background:#f8fafc}.emwh-tier-context-strip>div,.emwh-tier-context-strip>label{min-width:0}.emwh-tier-context-strip small,.emwh-fx-control-grid span,.emwh-tier-matrix label span,.emwh-tier-output span{display:block;color:#64748b;font-size:9.5px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px}.emwh-tier-context-strip strong{display:block;color:#0f172a;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.emwh-tier-context-strip input,.emwh-tier-context-strip select,.emwh-fx-control-grid input,.emwh-fx-control-grid select,.emwh-tier-matrix input,.emwh-tier-matrix select{width:100%;min-height:36px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;padding:6px 8px;font-size:12px}.emwh-fx-control-grid{display:grid;grid-template-columns:.9fr .85fr .75fr .9fr 1.2fr;gap:8px;align-items:end;margin:10px 0}.emwh-fx-result{min-height:58px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff;padding:8px 10px}.emwh-fx-result small,.emwh-fx-result span{display:block;color:#1e3a8a}.emwh-fx-result strong{display:block;color:#0f172a;font-size:17px;margin:2px 0}.emwh-tier-matrix{border:1px solid #d8e0ec;border-radius:16px;overflow-x:auto;background:#fff}.emwh-tier-matrix-head,.emwh-tier-matrix-row{display:grid;grid-template-columns:minmax(92px,.65fr) minmax(120px,.9fr) minmax(95px,.65fr) minmax(105px,.7fr) minmax(110px,.75fr) minmax(105px,.75fr) minmax(120px,.85fr) minmax(105px,.75fr) minmax(105px,.75fr);gap:7px;align-items:center;min-width:1080px}.emwh-tier-matrix-head{padding:9px 10px;background:#f1f5f9;border-bottom:1px solid #d8e0ec}.emwh-tier-matrix-head span{color:#475569;font-size:9.5px;font-weight:950;text-transform:uppercase;letter-spacing:.05em}.emwh-tier-matrix-row{padding:9px 10px;border-bottom:1px solid #edf2f7}.emwh-tier-matrix-row:last-child{border-bottom:0}.emwh-tier-level{display:flex;align-items:center;gap:7px}.emwh-tier-level small{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:28px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-weight:950}.emwh-tier-level strong{font-size:13px}.emwh-tier-n3 .emwh-tier-level small{background:#dcfce7;color:#166534}.emwh-tier-n2 .emwh-tier-level small{background:#dbeafe;color:#1d4ed8}.emwh-tier-n1 .emwh-tier-level small{background:#fef3c7;color:#92400e}.emwh-tier-output{min-width:0}.emwh-tier-output strong{display:block;font-size:12px;color:#0f172a;white-space:nowrap}.emwh-pricing-fx-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:14px 0}.emwh-pricing-fx-summary>div{border:1px solid #d8e0ec;border-radius:15px;background:#fff;padding:11px 12px}.emwh-pricing-fx-summary small,.emwh-pricing-fx-summary span{display:block;color:#64748b;font-size:10px}.emwh-pricing-fx-summary strong{display:block;color:#0f172a;font-size:18px;margin:3px 0}.emwh-tier-comparison-table{border:1px solid #d8e0ec;border-radius:16px;overflow-x:auto;background:#fff}.emwh-tier-comparison-head,.emwh-tier-comparison-row{display:grid;grid-template-columns:minmax(100px,.8fr) minmax(120px,.9fr) minmax(90px,.65fr) minmax(110px,.8fr) minmax(110px,.8fr) minmax(130px,.95fr) minmax(100px,.75fr) minmax(100px,.75fr);gap:8px;align-items:center;min-width:960px}.emwh-tier-comparison-head{padding:10px 12px;background:#f1f5f9;border-bottom:1px solid #d8e0ec}.emwh-tier-comparison-head span{font-size:9.5px;font-weight:950;text-transform:uppercase;color:#475569}.emwh-tier-comparison-row{padding:11px 12px;border-bottom:1px solid #edf2f7}.emwh-tier-comparison-row:last-child{border-bottom:0}.emwh-tier-comparison-row>div{display:flex;align-items:center;gap:7px}.emwh-tier-comparison-row>div small{display:inline-flex;padding:4px 7px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-weight:950}.emwh-tier-comparison-row span,.emwh-tier-comparison-row strong{font-size:12px}.emwh-tier-comparison-row em{font-style:normal}.emwh-tier-pricing-editor-compact .emwh-workspace-editor-actions{margin-top:10px}
@media(max-width:1200px){.emwh-tier-context-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.emwh-fx-control-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.emwh-pricing-fx-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.emwh-tier-editor-toolbar{display:block}.emwh-tier-editor-actions-top{margin-top:10px}.emwh-tier-context-strip,.emwh-fx-control-grid,.emwh-pricing-fx-summary{grid-template-columns:1fr}}


/* V4.6.8.27.4 Commercial Positions dynamic tier pricing alignment */
.emwh-tier-position-table{min-width:1540px!important}
.emwh-tier-position-table .emwh-tier-heading small{display:block;margin-top:3px;color:#718399;font-size:7px;font-weight:700;letter-spacing:0;text-transform:none;white-space:nowrap}
.emwh-tier-position-table .is-cost-fx{min-width:118px}.emwh-tier-position-table .is-cost-fx strong,.emwh-tier-position-table .is-cost-fx span,.emwh-tier-position-table .is-cost-fx small,.emwh-tier-position-table .is-cost-fx em{display:block;white-space:nowrap}.emwh-tier-position-table .is-cost-fx strong{color:#b42318;font-size:11px}.emwh-tier-position-table .is-cost-fx small{margin-top:2px;color:#718399;font-size:8px}.emwh-tier-position-table .is-cost-fx span{margin-top:5px;color:#173a5f;font-size:9px;font-weight:800}.emwh-tier-position-table .is-cost-fx em{margin-top:2px;color:#60758a;font-size:8px;font-style:normal}
.emwh-tier-position-table .is-tier-price{min-width:112px}.emwh-tier-position-table .is-tier-price strong,.emwh-tier-position-table .is-tier-price span,.emwh-tier-position-table .is-tier-price small,.emwh-tier-position-table .is-tier-price em{display:block;white-space:nowrap}.emwh-tier-position-table .is-tier-price strong{color:#0b5cab;font-size:11px}.emwh-tier-position-table .is-tier-price span{margin-top:3px;color:#16804a;font-size:9px;font-weight:800}.emwh-tier-position-table .is-tier-price small{margin-top:3px;color:#60758a;font-size:8px}.emwh-tier-status{width:max-content;margin-top:5px;padding:3px 6px;border-radius:999px;background:#eef3f8;color:#5b6f83;font-size:7px!important;font-style:normal;text-transform:uppercase}.emwh-tier-status.is-approved,.emwh-tier-status.is-blocked{background:#e7f7ed;color:#14743d}.emwh-tier-status.is-reviewed,.emwh-tier-status.is-calculated{background:#eaf3ff;color:#185aa3}.emwh-tier-status.is-pending{background:#fff4e5;color:#9a6118}
.emwh-tier-position-table .is-pricing-state{min-width:92px}.emwh-pricing-state{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:8px;font-weight:900;white-space:nowrap}.emwh-pricing-state.is-ready{background:#e7f7ed;color:#14743d}.emwh-pricing-state.is-partial{background:#eaf3ff;color:#185aa3}.emwh-pricing-state.is-pending{background:#fff4e5;color:#9a6118}.emwh-tier-position-table .is-pricing-state small{display:block;margin-top:5px;color:#718399;font-size:8px;white-space:nowrap}

/* V4.6.8.27.5 Product Intelligence dynamic tier pricing alignment */
.emwh-intelligence-level-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:14px 0}.emwh-intelligence-level-card{background:#fff;border:1px solid #dbe3ee;border-radius:18px;padding:15px;box-shadow:0 10px 24px rgba(15,23,42,.05)}.emwh-intelligence-level-card header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.emwh-intelligence-level-card header small{display:block;color:#2563eb;font-weight:950;letter-spacing:.08em}.emwh-intelligence-level-card header strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:20px;color:#0f172a}.emwh-intelligence-level-card header span{background:#eef6ff;border:1px solid #bfdbfe;color:#1d4ed8;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:900;text-transform:uppercase}.emwh-intelligence-level-card dl{display:grid;grid-template-columns:1fr auto;gap:7px 12px;margin:0}.emwh-intelligence-level-card dt{color:#64748b;font-size:12px}.emwh-intelligence-level-card dd{margin:0;color:#0f172a;font-size:12px;font-weight:900;text-align:right}.emwh-intelligence-tier-table th small{display:block;margin-top:3px;color:#64748b;font-size:9px;font-weight:700;text-transform:none}.emwh-intelligence-tier-table td{vertical-align:top}.emwh-tier-price-cell{min-width:118px}.emwh-tier-price-cell strong{display:block;color:#0f172a;font-size:12px}.emwh-tier-price-cell small{display:block;margin-top:3px;color:#64748b;font-size:10px}.emwh-tier-price-cell span,.emwh-tier-empty{display:inline-flex;margin-top:5px;border-radius:999px;padding:3px 7px;background:#f1f5f9;border:1px solid #cbd5e1;color:#475569;font-size:9px;font-weight:900;text-transform:uppercase}.emwh-intelligence-tier-table td>small{display:block;margin-top:3px;color:#64748b;font-size:10px}

/* V4.6.8.28 Commercial Publication foundation */
.emwh-publication-editor{margin-bottom:18px}.emwh-publication-form{display:grid;gap:16px}.emwh-publication-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.emwh-publication-grid label,.emwh-publication-notes{display:grid;gap:6px}.emwh-publication-grid label>span,.emwh-publication-notes>span{font-size:11px;font-weight:900;letter-spacing:.055em;text-transform:uppercase;color:#475569}.emwh-publication-grid input,.emwh-publication-grid select,.emwh-publication-notes textarea{width:100%;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f172a;padding:10px 11px;font:inherit}.emwh-publication-options{display:grid;grid-template-columns:1.2fr 1fr;gap:14px}.emwh-publication-options fieldset{border:1px solid #d8e0ec;border-radius:16px;padding:13px;display:flex;flex-wrap:wrap;gap:8px}.emwh-publication-options legend{padding:0 7px;font-weight:900;color:#0f172a}.emwh-publication-options label{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.emwh-publication-options label small{color:#64748b}.emwh-publication-table td small{display:block;margin-top:3px;color:#64748b}.emwh-publication-progress{width:110px;height:8px;border-radius:999px;background:#e2e8f0;overflow:hidden}.emwh-publication-progress span{display:block;height:100%;background:linear-gradient(90deg,#2f80ed,#16a34a);border-radius:999px}@media(max-width:1100px){.emwh-publication-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.emwh-publication-options{grid-template-columns:1fr}}@media(max-width:700px){.emwh-publication-grid{grid-template-columns:1fr}.emwh-publication-options fieldset{display:grid}}

/* V4.6.8.28.1 - sales line level selector and preview */
.emwh-sales-level-step{display:flex;align-items:flex-end;gap:12px;padding:18px 20px;background:#f8fbff;border-bottom:1px solid #d7e4f2}.emwh-sales-level-step label{flex:1}.emwh-sales-level-step small{display:block;margin-bottom:6px;font-weight:850;color:#3a5877}.emwh-sales-level-step select{width:100%;height:42px;border:1px solid #bed2e8;border-radius:10px;background:#fff;padding:0 12px;font-weight:750;color:#102b47}.emwh-sales-preview{padding:16px 20px}.emwh-sales-preview>[data-sales-level-used]{display:block;margin-bottom:8px;font-weight:900;color:#125fb5}.emwh-sales-validation{margin-top:9px;padding:10px 12px;border-radius:10px;background:#f4f8fc;border:1px solid #d4e1ef;color:#405d7b;font-size:12px}.emwh-sales-preview textarea{width:100%;box-sizing:border-box}.emwh-sales-modal-card footer button:disabled{opacity:.42;cursor:not-allowed}
@media(max-width:720px){.emwh-sales-level-step{display:block}.emwh-sales-level-step button{width:100%;margin-top:10px}}

/* V4.6.8.28.2 - compact Offer Desk audit trail */
.emwh-history-filters{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}.emwh-history-filter{display:inline-flex;align-items:center;gap:8px;border:1px solid #cbdced;border-radius:999px;padding:8px 12px;background:#fff;color:#173b67;text-decoration:none;font-size:12px;font-weight:850}.emwh-history-filter span{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#edf5ff;color:#1e5ca8;font-size:11px}.emwh-history-filter.is-active{background:#176bd6;border-color:#176bd6;color:#fff}.emwh-history-filter.is-active span{background:rgba(255,255,255,.2);color:#fff}.emwh-history-search{display:flex;gap:8px;align-items:center;margin:12px 0}.emwh-history-search input[type=search]{flex:1;min-width:220px;border:1px solid #cbdced;border-radius:10px;padding:10px 12px}.emwh-history-search button,.emwh-history-search a{border:1px solid #b9d2ed;border-radius:9px;padding:9px 14px;background:#176bd6;color:#fff;text-decoration:none;font-weight:850}.emwh-history-search a{background:#fff;color:#176bd6}.emwh-history-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.emwh-history-category{display:inline-flex;border-radius:999px;padding:3px 8px;background:#eef4fb;color:#49657f;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}.emwh-history-offer{margin-top:3px;color:#176bd6;font-size:12px;font-weight:900}.emwh-history-item{border-left:4px solid #b8c9da}.emwh-history-type-pricing{border-left-color:#7c3aed}.emwh-history-type-pricing .emwh-history-icon{background:#f1eafe;color:#6d28d9}.emwh-history-type-availability{border-left-color:#0d9488}.emwh-history-type-availability .emwh-history-icon{background:#e4fbf7;color:#0f766e}.emwh-history-type-documents{border-left-color:#2563eb}.emwh-history-type-documents .emwh-history-icon{background:#eaf2ff;color:#1d4ed8}.emwh-history-type-publication{border-left-color:#d97706}.emwh-history-type-publication .emwh-history-icon{background:#fff3df;color:#b45309}.emwh-history-type-import{border-left-color:#0891b2}.emwh-history-type-import .emwh-history-icon{background:#e7f9fd;color:#0e7490}.emwh-history-timeline-global{grid-template-columns:repeat(2,minmax(0,1fr))}.emwh-history-timeline-global .emwh-history-item{min-height:126px}@media(max-width:900px){.emwh-history-timeline-global{grid-template-columns:1fr}.emwh-history-search{align-items:stretch;flex-wrap:wrap}.emwh-history-search input[type=search]{width:100%}}

/* V4.6.8.28.4 - History closure alignment */
.emwh-history-page{padding-top:18px}
.emwh-history-page .emwh-hero{margin-top:0!important}
.emwh-history-page .emwh-history-item p{white-space:normal;overflow-wrap:anywhere}
@media(max-width:900px){.emwh-history-page{padding-top:12px}}

/* V4.6.8.28.8 - Pricing minimum operation profit source-of-truth */
.emwh-min-profit-policy{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(220px,.9fr) minmax(280px,1.6fr);gap:10px;align-items:center;margin:10px 0;padding:11px 12px;border:1px solid #f6c453;border-radius:14px;background:#fffaf0}.emwh-min-profit-policy>div{min-width:0}.emwh-min-profit-policy small,.emwh-min-profit-policy span{display:block;color:#7c5a08;font-size:9.5px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.emwh-min-profit-policy strong{display:block;color:#7c2d12;font-size:18px;margin:2px 0}.emwh-min-profit-policy p{margin:0;color:#7c5a08;font-size:12px;line-height:1.45}.emwh-profit-control{padding:7px 8px;border:1px solid #dbe4ee;border-radius:10px;background:#f8fafc}.emwh-profit-control em,.emwh-profit-readout em{display:block;margin-top:3px;font-size:9px;font-weight:950;font-style:normal}.emwh-profit-control.is-below-minimum,.emwh-profit-readout.is-below-minimum{border-color:#fca5a5;background:#fff1f2;color:#b91c1c}.emwh-profit-control.is-below-minimum strong,.emwh-profit-readout.is-below-minimum em{color:#b91c1c}.emwh-profit-control.is-minimum-ok,.emwh-profit-readout.is-minimum-ok{border-color:#86efac;background:#f0fdf4;color:#166534}.emwh-profit-control.is-minimum-ok strong,.emwh-profit-readout.is-minimum-ok em{color:#166534}.emwh-apply-minimum{margin-top:5px;border:1px solid #ef4444;background:#fff;color:#b91c1c;border-radius:999px;padding:4px 8px;font-size:9px;font-weight:950;cursor:pointer}.emwh-apply-minimum[hidden]{display:none}.emwh-profit-readout{display:block;padding:6px 7px;border:1px solid transparent;border-radius:9px}.emwh-tier-matrix-head,.emwh-tier-matrix-row{grid-template-columns:minmax(92px,.65fr) minmax(120px,.9fr) minmax(95px,.65fr) minmax(105px,.7fr) minmax(110px,.75fr) minmax(105px,.75fr) minmax(160px,1.05fr) minmax(105px,.75fr) minmax(105px,.75fr)}@media(max-width:900px){.emwh-min-profit-policy{grid-template-columns:1fr}.emwh-min-profit-policy p{grid-column:1}}


/* V4.6.8.29 — Review Grid Financial & Comparison Alignment */
.emwh-review-grid-wrap{overflow:auto;max-height:calc(100vh - 310px);border:1px solid #dbe6f2;border-radius:10px;background:#fff}
.emwh-review-financial-table{min-width:1620px!important;table-layout:fixed!important}
.emwh-review-financial-table thead th{position:sticky;top:0;z-index:8;background:#f7faff;box-shadow:0 1px 0 #dbe6f2}
.emwh-review-financial-table th:nth-child(6),.emwh-review-financial-table td:nth-child(6){width:210px!important}
.emwh-review-financial-table th:nth-child(7),.emwh-review-financial-table td:nth-child(7){width:125px!important}
.emwh-review-financial-table th:nth-child(8),.emwh-review-financial-table td:nth-child(8){width:175px!important}
.emwh-review-financial-table th:nth-child(9),.emwh-review-financial-table td:nth-child(9){width:175px!important}
.emwh-review-financial-table th:nth-child(10),.emwh-review-financial-table td:nth-child(10){width:145px!important}
.emwh-review-financial{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.emwh-review-financial>div{padding:5px 6px;border:1px solid #e1e9f2;border-radius:6px;background:#fbfdff;min-width:0}
.emwh-review-financial small{margin:0!important;color:#60758d!important;text-transform:uppercase;letter-spacing:.04em;font-size:7px!important}
.emwh-review-financial strong{display:block;margin-top:2px;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#10233d}
.emwh-profit-state{display:flex;flex-direction:column;gap:3px;padding:7px;border-radius:7px;border:1px solid #dbe6f2;background:#f8fafc}
.emwh-profit-state strong{font-size:9px}.emwh-profit-state small{margin:0!important;font-size:8px!important}
.emwh-profit-state.is-healthy{background:#ecfdf3;border-color:#b7ebcb;color:#166534}
.emwh-profit-state.is-below{background:#fff7ed;border-color:#fed7aa;color:#9a3412}
.emwh-profit-state.is-pending{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}
.emwh-review-comparison{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.emwh-review-comparison small{margin:0!important}.emwh-review-comparison .is-positive{color:#166534!important;font-weight:700}.emwh-review-comparison .is-negative{color:#b42318!important;font-weight:700}
@media(max-width:1200px){.emwh-review-grid-wrap{max-height:none}.emwh-review-financial-table{min-width:1540px!important}}


/* V4.6.8.29.1 - Review Grid product and supplier resolution */
.emwh-resolution-card{display:flex;flex-direction:column;gap:5px;min-width:190px;padding:9px;border:1px solid #d7e2ef;border-radius:10px;background:#f8fbff}
.emwh-resolution-card.is-resolved{border-color:#b9dfc9;background:#f4fbf7}
.emwh-resolution-card.needs-review{border-color:#efc56d;background:#fffaf0}
.emwh-resolution-status{align-self:flex-start;display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border-radius:999px;background:#e7f5ec;color:#17643a;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.emwh-resolution-card.needs-review .emwh-resolution-status{background:#fff0c7;color:#8a5700}
.emwh-resolution-card strong{line-height:1.25;color:#10233d}
.emwh-resolution-card small{color:#60758d;line-height:1.35}
.emwh-resolution-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-top:2px}
.emwh-resolution-link{appearance:none;border:0;background:transparent!important;padding:0!important;color:#0757bd!important;font-size:11px!important;font-weight:700!important;text-decoration:none;cursor:pointer;box-shadow:none!important;min-height:auto!important}
.emwh-resolution-link:hover{text-decoration:underline}
.emwh-resolution-select{width:100%;min-height:34px;margin-top:3px}
.emwh-resolution-card .emwh-inline-create{align-self:flex-start;margin-top:2px!important}
.emwh-review-financial-table th:nth-child(3),.emwh-review-financial-table td:nth-child(3),.emwh-review-financial-table th:nth-child(4),.emwh-review-financial-table td:nth-child(4){min-width:220px}

/* V4.6.8.29.2 - Review decisions and row lifecycle */
.emwh-review-decision{display:flex;flex-direction:column;gap:7px;align-items:stretch}
.emwh-row-lifecycle{align-self:flex-start;display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;border:1px solid transparent}
.emwh-row-lifecycle.is-approved{background:#ecfdf3;border-color:#b7ebcb;color:#166534}
.emwh-row-lifecycle.is-review{background:#fff7ed;border-color:#fed7aa;color:#9a3412}
.emwh-row-lifecycle.is-hold{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}
.emwh-row-lifecycle.is-rejected{background:#fff1f2;border-color:#fecdd3;color:#be123c}
.emwh-review-decision select{width:100%;min-height:34px}
.emwh-review-decision .emwh-edit-review{width:100%;justify-content:center;margin:0!important}
.emwh-decision-help{margin:0!important;color:#60758d!important;line-height:1.3}
.emwh-bulk-row.is-closed{opacity:.68;background:#fafbfd}
.emwh-bulk-row.is-closed:hover{opacity:.92}
.emwh-bulk-review-actions{flex-wrap:wrap}

/* V4.6.8.29.3 - Review Grid data quality guardrails */
.emwh-review-quality-bar{display:grid;grid-template-columns:repeat(3,minmax(130px,190px)) minmax(320px,1fr);gap:10px;align-items:center;margin:12px 0;padding:11px 12px;border:1px solid #c9d9eb;border-radius:12px;background:#f7faff}
.emwh-review-quality-bar>div{padding:8px 10px;border:1px solid #dbe6f2;border-radius:9px;background:#fff}
.emwh-review-quality-bar span{display:block;color:#60758d;font-size:8px;font-weight:900;letter-spacing:.06em}
.emwh-review-quality-bar strong{display:block;margin-top:3px;color:#173b67;font-size:13px}
.emwh-review-quality-bar p{margin:0;color:#4f647b;font-size:11px;line-height:1.45}
.emwh-row-errors:not(:empty){display:block;margin-top:7px;padding:6px 7px;border:1px solid #fecaca;border-radius:7px;background:#fff1f2;color:#b42318!important}
@media(max-width:1100px){.emwh-review-quality-bar{grid-template-columns:repeat(3,1fr)}.emwh-review-quality-bar p{grid-column:1/-1}}
@media(max-width:720px){.emwh-review-quality-bar{grid-template-columns:1fr}.emwh-review-quality-bar p{grid-column:auto}}


/* V4.6.8.29.4 - Review Grid responsive UX and contextual help */
.emwh-review-guidance{margin:0 0 10px;border:1px solid #d7e3f0;border-radius:10px;background:#fff}
.emwh-review-guidance summary{padding:10px 12px;color:#17426d;font-size:11px;font-weight:900;cursor:pointer;list-style:none}
.emwh-review-guidance summary::-webkit-details-marker{display:none}
.emwh-review-guidance summary:after{content:"+";float:right;color:#0b63ce;font-size:16px;line-height:1}
.emwh-review-guidance[open] summary:after{content:"−"}
.emwh-review-guidance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0 12px 12px}
.emwh-review-guidance-grid>div{padding:9px 10px;border:1px solid #e0e9f3;border-radius:8px;background:#f8fbfe}
.emwh-review-guidance-grid strong,.emwh-review-guidance-grid span{display:block}
.emwh-review-guidance-grid strong{color:#173b67;font-size:10px}
.emwh-review-guidance-grid span{margin-top:4px;color:#60758d;font-size:9px;line-height:1.4}
.emwh-review-scroll-cue{display:none;margin:0 0 6px;color:#60758d;font-size:9px;font-weight:800;text-align:right}
.emwh-review-help{position:relative;width:17px;height:17px;margin-left:3px;padding:0;border:1px solid #a9bfd7;border-radius:50%;background:#fff;color:#315d89;font-size:10px;font-weight:900;line-height:15px;vertical-align:middle;cursor:help}
.emwh-review-help:before{content:attr(data-help);position:absolute;z-index:40;left:50%;bottom:calc(100% + 8px);width:230px;padding:8px 9px;border:1px solid #b9cce0;border-radius:7px;background:#102f4d;color:#fff;font-size:10px;font-weight:600;line-height:1.4;text-align:left;white-space:normal;box-shadow:0 7px 20px rgba(16,47,77,.2);opacity:0;visibility:hidden;transform:translate(-50%,4px);transition:.15s ease;pointer-events:none}
.emwh-review-help:hover:before,.emwh-review-help:focus:before{opacity:1;visibility:visible;transform:translate(-50%,0)}
.emwh-review-grid-wrap{scrollbar-gutter:stable;overscroll-behavior-inline:contain}
.emwh-review-grid-wrap:focus{outline:2px solid #8bb9e9;outline-offset:2px}
.emwh-review-financial-table thead th{vertical-align:middle}
.emwh-review-financial-table tbody td:first-child,.emwh-review-financial-table thead th:first-child{position:sticky;left:0;z-index:7;background:inherit}
.emwh-review-financial-table thead th:first-child{z-index:12;background:#f7faff}
.emwh-review-financial-table tbody tr:hover td{background-color:#f6faff}
.emwh-bulk-review-actions{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:1250px){
 .emwh-review-guidance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .emwh-review-scroll-cue{display:block}
 .emwh-bulk-review-head{align-items:flex-start!important}
 .emwh-bulk-review-actions{max-width:560px}
}
@media(max-width:780px){
 .emwh-bulk-review-head{display:grid!important;grid-template-columns:1fr}
 .emwh-bulk-review-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:none}
 .emwh-bulk-review-actions .emwh-primary,.emwh-bulk-review-actions .emwh-secondary{width:100%;justify-content:center}
 .emwh-review-guidance-grid{grid-template-columns:1fr}
 .emwh-review-quality-bar{padding:9px}
 .emwh-bulk-footer{position:sticky;z-index:20;bottom:0;padding:8px!important;border-top:1px solid #cbd9e8;background:#fff;box-shadow:0 -8px 20px rgba(16,47,77,.08)}
 .emwh-bulk-footer .emwh-secondary:first-child{display:none}
 .emwh-bulk-footer #emwh-bulk-selection-summary{width:100%;order:-1;text-align:center}
 .emwh-bulk-footer .emwh-primary,.emwh-bulk-footer .emwh-secondary{flex:1;min-width:145px}
 .emwh-review-help:before{position:fixed;left:12px;right:12px;bottom:70px;width:auto;transform:none}
 .emwh-review-help:hover:before,.emwh-review-help:focus:before{transform:none}
}
@media(max-width:480px){
 .emwh-bulk-review-actions{grid-template-columns:1fr}
 .emwh-review-quality-bar>div{padding:7px 8px}
 .emwh-review-quality-bar strong{font-size:12px}
 .emwh-bulk-footer{display:grid!important;grid-template-columns:1fr}
 .emwh-bulk-footer .emwh-primary,.emwh-bulk-footer .emwh-secondary{width:100%;min-width:0}
}


/* V4.6.8.30 Review Grid UX simplification */
html.emwh-help-off .emwh-context-help,
body.emwh-help-off .emwh-context-help,
.emwh-app.emwh-help-off .emwh-context-help{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.emwh-review-help{background:#f4f9ff!important;color:#1768c4!important;border-color:#b8d4ef!important;box-shadow:none!important}
.emwh-review-help:before{background:#fff!important;color:#17314d!important;border-color:#b9cce0!important;box-shadow:0 10px 24px rgba(16,47,77,.16)!important}
.emwh-review-financial-table{min-width:1320px!important;table-layout:fixed!important}
.emwh-review-financial-table th:nth-child(3),.emwh-review-financial-table td:nth-child(3){width:245px!important}
.emwh-review-financial-table th:nth-child(4),.emwh-review-financial-table td:nth-child(4){width:190px!important}
.emwh-review-financial-table th:nth-child(5),.emwh-review-financial-table td:nth-child(5){width:115px!important}
.emwh-review-financial-table th:nth-child(6),.emwh-review-financial-table td:nth-child(6){width:110px!important}
.emwh-review-financial-table th:nth-child(7),.emwh-review-financial-table td:nth-child(7){width:185px!important}
.emwh-review-financial-table th:nth-child(8),.emwh-review-financial-table td:nth-child(8){width:175px!important}
.emwh-review-financial-table th:nth-child(9),.emwh-review-financial-table td:nth-child(9){width:155px!important}
.emwh-review-financial-table th:nth-child(10),.emwh-review-financial-table td:nth-child(10){width:105px!important}
.emwh-review-financial-table tbody td{padding:10px!important;vertical-align:middle!important}
.emwh-review-cost,.emwh-review-quantity,.emwh-review-commercial{display:flex;flex-direction:column;gap:3px}
.emwh-review-cost strong,.emwh-review-quantity strong,.emwh-review-commercial strong{font-size:12px;color:#10233d}
.emwh-review-cost small,.emwh-review-quantity small,.emwh-review-commercial small,.emwh-review-commercial span{font-size:10px;color:#60758d;line-height:1.35}
.emwh-review-edit{min-height:34px!important;height:34px!important;padding:0 12px!important;border-radius:8px!important;background:#fff!important;color:#0b63ce!important;border:1px solid #b9d4f1!important;box-shadow:none!important}
.emwh-review-modal-panel{width:min(1180px,calc(100vw - 64px))!important;padding:0!important;border-radius:16px!important}
.emwh-review-modal .emwh-review-editor-head{top:0!important;margin:0!important;padding:18px 22px!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important}
.emwh-review-close{width:36px!important;height:36px!important;padding:0!important;border:1px solid #b9d4f1!important;border-radius:9px!important;background:#fff!important;color:#0b63ce!important;font-size:24px!important;line-height:1!important;cursor:pointer!important}
.emwh-review-editor-sections{display:grid;gap:12px;padding:18px 22px}
.emwh-review-editor-section{border:1px solid #dbe7f3;border-radius:12px;background:#fbfdff;padding:14px}
.emwh-review-editor-section h3{margin:0 0 11px;color:#173b67;font-size:11px;letter-spacing:.1em;text-transform:uppercase}
.emwh-review-modal .emwh-review-editor-grid{display:grid!important;gap:10px 12px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
.emwh-review-modal .emwh-review-editor-grid.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.emwh-review-modal .emwh-review-editor-grid.grid-5{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.emwh-review-modal .emwh-review-editor-grid label.span-2{grid-column:span 2}
.emwh-review-modal .emwh-review-editor-actions{position:sticky!important;bottom:0!important;margin:0!important;padding:14px 22px!important;display:flex!important;justify-content:flex-end!important;gap:10px!important}
.emwh-review-modal .emwh-review-editor-actions .emwh-secondary{background:#fff!important;color:#0b63ce!important;border:1px solid #b9d4f1!important;box-shadow:none!important}
.emwh-review-modal .emwh-review-editor-actions .emwh-primary{background:#0b63ce!important;color:#fff!important;border:1px solid #0b63ce!important;box-shadow:none!important}
@media(max-width:900px){.emwh-review-modal .emwh-review-editor-grid,.emwh-review-modal .emwh-review-editor-grid.grid-3,.emwh-review-modal .emwh-review-editor-grid.grid-5{grid-template-columns:repeat(2,minmax(0,1fr))!important}.emwh-review-modal-panel{width:calc(100vw - 24px)!important}}
@media(max-width:560px){.emwh-review-modal .emwh-review-editor-grid,.emwh-review-modal .emwh-review-editor-grid.grid-3,.emwh-review-modal .emwh-review-editor-grid.grid-5{grid-template-columns:1fr!important}.emwh-review-modal .emwh-review-editor-grid label.span-2{grid-column:auto!important}}

/* V4.6.8.30.1 - Review Grid persistent action bar */
.emwh-bulk-review #emwh-bulk-create-form{padding-bottom:74px}
.emwh-bulk-review .emwh-bulk-footer{
 position:fixed!important;
 left:var(--emwh-review-footer-left,268px)!important;
 right:18px!important;
 bottom:10px!important;
 z-index:9998!important;
 margin:0!important;
 padding:8px 12px!important;
 border:1px solid #cbd9e8!important;
 border-radius:10px!important;
 background:rgba(255,255,255,.98)!important;
 box-shadow:0 -8px 24px rgba(16,47,77,.16)!important;
 backdrop-filter:blur(8px);
}
.emwh-bulk-review .emwh-bulk-footer #emwh-bulk-selection-summary{margin-left:auto!important}
@media(max-width:800px){
 .emwh-bulk-review #emwh-bulk-create-form{padding-bottom:128px}
 .emwh-bulk-review .emwh-bulk-footer{left:108px!important;right:12px!important;bottom:8px!important}
}
@media(max-width:560px){
 .emwh-bulk-review #emwh-bulk-create-form{padding-bottom:190px}
 .emwh-bulk-review .emwh-bulk-footer{left:8px!important;right:8px!important}
}


/* V4.6.8.31 - Product Ledger decision support */
.emwh-ledger-best{display:grid;grid-template-columns:1.25fr .75fr .75fr 1fr auto;gap:10px;align-items:stretch;margin:9px 0;padding:10px;border:1px solid #b9d8fb;border-left:4px solid #1d6fe8;border-radius:12px;background:#f7fbff}
.emwh-ledger-best>div{min-width:0;padding:4px 8px;display:flex;flex-direction:column;justify-content:center}
.emwh-ledger-best small{font-size:8px;font-weight:900;letter-spacing:.06em;color:#64748b}
.emwh-ledger-best strong{margin-top:4px;color:#10243e;font-size:14px;line-height:1.25}
.emwh-ledger-best span{margin-top:3px;color:#64748b;font-size:10px}
.emwh-ledger-best-title strong{font-family:Georgia,"Times New Roman",serif;font-size:18px}
.emwh-ledger-best-actions{display:flex!important;flex-direction:row!important;align-items:center;gap:7px;padding-left:12px!important;border-left:1px solid #d9e7f6}
.emwh-ledger-best-actions a{white-space:nowrap}
.emwh-ledger-age,.emwh-ledger-signals span{display:inline-flex!important;align-items:center;width:max-content;border-radius:999px;padding:3px 7px;font-size:9px!important;font-weight:900}
.emwh-ledger-age.is-fresh,.emwh-ledger-signals .is-fresh{background:#dcfce7;color:#166534}
.emwh-ledger-age.is-aging,.emwh-ledger-signals .is-aging{background:#fef3c7;color:#92400e}
.emwh-ledger-age.is-expired,.emwh-ledger-signals .is-expired{background:#fee2e2;color:#991b1b}
.emwh-ledger-age.is-unknown,.emwh-ledger-signals .is-unknown{background:#f1f5f9;color:#475569}
.emwh-ledger-signals{display:grid;gap:5px;min-width:92px}
.emwh-ledger-signals .is-best{background:#dbeafe;color:#1d4ed8}
.emwh-intelligence-table tr.is-best-position td{background:#f6fbff}
.emwh-intelligence-table tr.is-current.is-best-position td{background:#fff8e8}
.emwh-ledger-row-actions{display:flex;gap:6px;align-items:center}
.emwh-ledger-row-actions .is-primary{background:#176bd6!important;border-color:#176bd6!important;color:#fff!important}
@media(max-width:1200px){.emwh-ledger-best{grid-template-columns:1fr 1fr 1fr}.emwh-ledger-best-actions{grid-column:1/-1;border-left:0;border-top:1px solid #d9e7f6;padding-top:10px!important;padding-left:8px!important}}
@media(max-width:760px){.emwh-ledger-best{grid-template-columns:1fr}.emwh-ledger-best-actions{grid-column:auto;flex-wrap:wrap}.emwh-ledger-best-actions a{flex:1;text-align:center}}


/* V4.6.8.31.1 - Reliable Review Grid reject/restore control */
.emwh-decision-toggle{width:100%;min-height:32px;border:1px solid #f0a7a7;border-radius:7px;background:#fff7f7;color:#c62828;font-weight:700;cursor:pointer;padding:6px 10px}
.emwh-decision-toggle:hover,.emwh-decision-toggle:focus{background:#ffeded;border-color:#df6c6c;outline:none}
.emwh-decision-toggle.is-restore{border-color:#9fc9ae;background:#f3fbf5;color:#18753a}
.emwh-decision-toggle.is-restore:hover,.emwh-decision-toggle.is-restore:focus{background:#e7f7eb;border-color:#65ad7d}

/* V4.6.8.31.2 - Offer Desk modal UI standardization */
.emwh-offer-modal .emwh-offer-modal-panel{
  width:min(1040px,calc(100vw - 40px))!important;
  padding:16px!important;
  border-radius:14px!important;
}
.emwh-offer-modal .emwh-offer-modal-head{
  align-items:center!important;
  min-height:42px!important;
  padding:0 0 11px!important;
  margin:0 0 12px!important;
}
.emwh-offer-modal .emwh-offer-modal-head .emwh-tag{
  margin:0 0 4px!important;
  font-size:9px!important;
}
.emwh-offer-modal .emwh-offer-modal-head h2{
  margin:0!important;
  font-size:20px!important;
  line-height:1.15!important;
}
.emwh-offer-modal .emwh-offer-modal-head p{
  margin:4px 0 0!important;
  max-width:760px!important;
  font-size:11px!important;
  line-height:1.35!important;
}
.emwh-offer-modal .emwh-icon-button{
  flex:0 0 38px!important;
  width:38px!important;
  min-width:38px!important;
  max-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0!important;
  border:1px solid #b9cfea!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#0b67d8!important;
  box-shadow:none!important;
  font-size:15px!important;
  line-height:1!important;
}
.emwh-offer-modal .emwh-icon-button:hover,
.emwh-offer-modal .emwh-icon-button:focus{
  background:#eef5ff!important;
  border-color:#8eb4df!important;
  color:#084f9f!important;
  outline:none!important;
}
.emwh-offer-modal .emwh-modal-actions{
  margin-top:14px!important;
  padding-top:12px!important;
}
.emwh-offer-modal .emwh-modal-actions button{
  min-height:38px!important;
  height:38px!important;
  padding:0 15px!important;
  border-radius:9px!important;
  font-size:11px!important;
  letter-spacing:.06em!important;
  white-space:nowrap!important;
}
.emwh-offer-modal .emwh-modal-actions button.emwh-secondary{
  background:#fff!important;
  color:#0b5fc6!important;
  border:1px solid #b9cfea!important;
}
.emwh-offer-modal .emwh-modal-actions button.emwh-primary{
  background:#0b67d8!important;
  color:#fff!important;
  border:1px solid #0b67d8!important;
}
@media(max-width:700px){
  .emwh-offer-modal{padding:10px!important}
  .emwh-offer-modal .emwh-offer-modal-panel{width:calc(100vw - 20px)!important;padding:13px!important}
  .emwh-offer-modal .emwh-modal-actions{flex-wrap:wrap!important}
  .emwh-offer-modal .emwh-modal-actions button{flex:1 1 180px!important}
}

/* V4.6.8.32 — centralized commercial position ranking */
.emwh-position-rank{display:inline-flex;margin-top:6px;padding:3px 7px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#475569;font-size:10px;font-weight:800;white-space:nowrap}
.emwh-position-rank.is-rank-1{border-color:#86efac;background:#f0fdf4;color:#166534}
.emwh-price-check.is-best{background:#ecfdf5;border-color:#86efac;color:#166534}
.emwh-price-check.is-warning{background:#fff7ed;border-color:#fdba74;color:#9a3412}


/* V4.6.8.32.1 — ranking and pricing status alignment */
.emwh-ledger-signals .is-alternative{display:inline-flex;align-items:center;gap:4px;border:1px solid #cbd5e1;background:#f8fafc;color:#475569;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:700}
.emwh-pricing-state.is-pending{background:#f8fafc;color:#64748b;border-color:#cbd5e1}

/* V4.6.8.32.2 — Review Grid ranking preview alignment */
.emwh-review-comparison .emwh-preview-rank{display:inline-flex;align-items:center;width:max-content;padding:4px 8px;border-radius:999px;font-weight:700}
.emwh-review-comparison .emwh-preview-rank.is-best{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}
.emwh-review-comparison .emwh-preview-rank.is-alternative{background:#f8fafc;color:#475569;border:1px solid #dbe4ee}
.emwh-bulk-status.cheaper-exact,.emwh-bulk-status.cheaper-market{background:#ecfdf3;color:#166534;border-color:#bbf7d0}
.emwh-bulk-status.equal-market,.emwh-bulk-status.duplicate-exact{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
.emwh-bulk-status.higher-exact,.emwh-bulk-status.higher-market{background:#fff7ed;color:#9a3412;border-color:#fed7aa}

/* V4.6.8.32.3 — commercial position ranking filters */
.emwh-approved-list-toolbar form select[name="offer_rank"]{min-width:145px}
.emwh-approved-list-toolbar form select[name="offer_sort"]{min-width:155px}
.emwh-position-rank.is-rank-1{box-shadow:0 0 0 2px rgba(16,185,129,.08)}
@media(max-width:1180px){.emwh-approved-list-toolbar form select[name="offer_rank"],.emwh-approved-list-toolbar form select[name="offer_sort"]{min-width:0;flex:1 1 150px}}

/* V4.6.8.32.4 — Product Ledger ranking controls */
.emwh-ledger-filter-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 8px;padding:10px 14px;border:1px solid #dbe5f0;border-radius:10px;background:#f8fbff;color:#334155}
.emwh-ledger-filter-summary strong{font-size:13px;color:#0f172a}
.emwh-ledger-filter-summary span{font-size:12px;font-weight:700;color:#2563eb}
.emwh-ledger-filters{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr)) auto auto;gap:10px;align-items:center}
.emwh-ledger-filters select{min-width:0}
@media (max-width:1100px){.emwh-ledger-filters{grid-template-columns:repeat(2,minmax(160px,1fr))}.emwh-ledger-filters .emwh-primary,.emwh-ledger-filters .emwh-secondary{width:100%;text-align:center}}
@media (max-width:640px){.emwh-ledger-filter-summary{align-items:flex-start;flex-direction:column}.emwh-ledger-filters{grid-template-columns:1fr}}

/* V4.6.8.32.5 — Dashboard ranking alignment */
.emwh-dashboard-ranking{display:grid;gap:10px}
.emwh-dashboard-ranking-row{display:grid;grid-template-columns:58px 1fr 22px;align-items:center;gap:12px;padding:13px 14px;border:1px solid #e4e7ec;border-radius:12px;text-decoration:none;color:#101828;background:#fff;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.emwh-dashboard-ranking-row:hover{border-color:#98a2b3;box-shadow:0 5px 18px rgba(16,24,40,.07);transform:translateY(-1px)}
.emwh-dashboard-ranking-row>span:nth-child(2){display:grid;gap:3px}.emwh-dashboard-ranking-row small{color:#667085;line-height:1.35}.emwh-dashboard-ranking-row>b{font-size:24px;color:#98a2b3;text-align:right}
.emwh-dashboard-ranking-count{display:grid;place-items:center;min-height:46px;border-radius:10px;font-size:20px;font-weight:750;background:#f2f4f7}
.emwh-dashboard-ranking-row.is-best .emwh-dashboard-ranking-count{background:#ecfdf3;color:#027a48}.emwh-dashboard-ranking-row.is-best{border-left:4px solid #12b76a}
.emwh-dashboard-ranking-row.is-alternative .emwh-dashboard-ranking-count{background:#eff8ff;color:#175cd3}.emwh-dashboard-ranking-row.is-alternative{border-left:4px solid #2e90fa}
.emwh-dashboard-ranking-row.is-pending .emwh-dashboard-ranking-count{background:#fffaeb;color:#b54708}.emwh-dashboard-ranking-row.is-pending{border-left:4px solid #f79009}
.emwh-dashboard-recent-card{margin-top:18px}
.emwh-dashboard-rank-badge{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}
.emwh-dashboard-rank-badge.is-best{background:#ecfdf3;color:#027a48}.emwh-dashboard-rank-badge.is-alternative{background:#eff8ff;color:#175cd3}.emwh-dashboard-rank-badge.is-pending{background:#fffaeb;color:#b54708}
@media(max-width:720px){.emwh-dashboard-ranking-row{grid-template-columns:48px 1fr 16px;padding:11px}.emwh-dashboard-ranking-count{min-height:42px;font-size:18px}.emwh-offer-recent-list>a{align-items:flex-start;flex-direction:column}.emwh-offer-recent-list>a>div:last-child{text-align:left}}

/* V4.6.8.33 - final workflow readiness */
.emwh-workflow-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 20px}
.emwh-workflow-check{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid #d9e2ec;border-radius:12px;background:#fff}
.emwh-workflow-check.is-complete{border-color:#b9dfc7;background:#f5fbf7}
.emwh-workflow-check.is-blocked{border-color:#efc8c8;background:#fff8f8}
.emwh-workflow-check-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;font-weight:800;flex:0 0 24px;background:#dce8f6;color:#164b7a}
.emwh-workflow-check.is-complete .emwh-workflow-check-icon{background:#d8f1df;color:#1d6b38}
.emwh-workflow-check.is-blocked .emwh-workflow-check-icon{background:#f7dddd;color:#9f2525}
.emwh-workflow-check strong,.emwh-workflow-check small{display:block}
.emwh-workflow-check small{margin-top:3px;color:#5e6b78;line-height:1.35}
.emwh-workflow-status{display:inline-flex;align-items:center;width:max-content;margin-top:5px;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:700;line-height:1.2}
.emwh-workflow-status.is-ready{background:#d8f1df;color:#1d6b38}
.emwh-workflow-status.is-review{background:#fff0c7;color:#805d00}
.emwh-workflow-status.is-incomplete{background:#f7dddd;color:#9f2525}
@media (max-width:780px){.emwh-workflow-checklist{grid-template-columns:1fr}}

/* V4.6.8.33.3 — lifecycle operations alignment */
.emwh-expiry-detail{display:block;margin-top:5px;color:#64748b;font-size:11px;line-height:1.3;white-space:nowrap}
.emwh-dashboard-lifecycle-card{margin-top:18px}

/* V4.6.8.33.4 — expiry review queue */
.emwh-dashboard-expiry-queue-card{margin-top:18px}
.emwh-expiry-review-queue{display:grid;gap:10px}
.emwh-expiry-review-queue article{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(140px,.55fr) auto;gap:16px;align-items:center;padding:13px 14px;border:1px solid #dbe4f0;border-radius:12px;background:#fff}
.emwh-expiry-review-queue article>div:first-child{display:grid;gap:3px;min-width:0}
.emwh-expiry-review-queue strong{color:#10233f}
.emwh-expiry-review-queue span,.emwh-expiry-review-queue small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.emwh-expiry-review-queue span{font-weight:600;color:#334155}
.emwh-expiry-review-queue small{color:#64748b}
.emwh-expiry-queue-status{display:grid;gap:3px}
.emwh-expiry-queue-status b{color:#b45309}
.emwh-expiry-queue-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end}
.emwh-btn-compact{min-height:34px!important;padding:7px 11px!important;font-size:12px!important}
.emwh-empty-state.is-compact{padding:18px}
@media(max-width:820px){.emwh-expiry-review-queue article{grid-template-columns:1fr}.emwh-expiry-queue-actions{justify-content:flex-start}.emwh-expiry-review-queue span,.emwh-expiry-review-queue small{white-space:normal}}


/* V4.6.8.33.5 — expiry queue bulk confirmation */
.emwh-expiry-bulk-form{display:grid;gap:10px}
.emwh-expiry-bulk-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #dbe4f0;border-radius:10px;background:#f8fafc}
.emwh-expiry-bulk-toolbar label{display:flex;align-items:center;gap:8px;color:#334155;font-size:12px;font-weight:700}
.emwh-expiry-row-check{display:flex;align-items:center;justify-content:center}
.emwh-expiry-review-queue article{grid-template-columns:28px minmax(0,1.6fr) minmax(140px,.55fr) auto}
@media(max-width:820px){.emwh-expiry-bulk-toolbar{align-items:stretch;flex-direction:column}.emwh-expiry-review-queue article{grid-template-columns:28px 1fr}.emwh-expiry-queue-status,.emwh-expiry-queue-actions{grid-column:2}.emwh-expiry-queue-actions{justify-content:flex-start}}

/* V4.6.8.33.6 — controlled bulk expiry actions */
.emwh-expiry-bulk-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.emwh-expiry-bulk-actions .emwh-btn-secondary{background:#fff!important;border:1px solid #d7a2a2!important;color:#9f2f2f!important;box-shadow:none!important}
.emwh-expiry-bulk-actions .emwh-btn-secondary:hover{background:#fff7f7!important;border-color:#bd6c6c!important}
@media(max-width:820px){.emwh-expiry-bulk-actions{align-items:stretch;flex-direction:column}.emwh-expiry-bulk-actions .emwh-btn{width:100%}}

/* V4.6.8.33.7 — lifecycle audit and recovery visibility */
.emwh-lifecycle-audit-card{margin-bottom:18px}.emwh-lifecycle-audit-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.emwh-lifecycle-audit-kpis>div{display:grid;gap:4px;padding:15px;border:1px solid #dbe4f0;border-radius:12px;background:#f8fbff}.emwh-lifecycle-audit-kpis small{font-size:11px;font-weight:850;letter-spacing:.04em;text-transform:uppercase;color:#64748b}.emwh-lifecycle-audit-kpis strong{font-size:25px;line-height:1;color:#10233f}.emwh-lifecycle-audit-kpis span{font-size:12px;color:#64748b}.emwh-history-advanced-search select{min-width:170px;border:1px solid #cbdced;border-radius:10px;padding:10px 12px;background:#fff;color:#173b67}.emwh-history-advanced-search{align-items:stretch}
@media(max-width:900px){.emwh-lifecycle-audit-kpis{grid-template-columns:1fr}.emwh-history-advanced-search select{width:100%;min-width:0}}

/* V4.6.8.34 Commercial Workflow Center */
.emwh-workflow-center-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.emwh-workflow-queue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.emwh-workflow-queue-card{display:grid;grid-template-columns:auto 1fr;column-gap:12px;row-gap:3px;align-items:center;text-decoration:none;color:inherit;border:1px solid #dce3ea;box-shadow:none}
.emwh-workflow-queue-card:hover,.emwh-workflow-queue-card.is-active{border-color:#7393ad;background:#f6f9fb}
.emwh-workflow-queue-count{grid-row:1/3;display:flex;align-items:center;justify-content:center;min-width:44px;height:44px;border-radius:10px;background:#eaf0f5;font-size:18px;font-weight:700;color:#294b63}
.emwh-workflow-queue-card strong{font-size:14px;line-height:1.25}
.emwh-workflow-queue-card small{display:block;color:#637381;line-height:1.35}
.emwh-workflow-task-label{display:inline-flex;padding:5px 8px;border-radius:8px;background:#edf3f7;color:#31566f;font-size:11px;font-weight:700;white-space:nowrap}
.emwh-workflow-table td small{display:block;margin-top:4px;color:#70808d}
@media (max-width:1100px){.emwh-workflow-queue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){.emwh-workflow-center-header{display:block}.emwh-workflow-center-header .emwh-btn{margin-top:12px}.emwh-workflow-queue-grid{grid-template-columns:1fr}}


/* V4.6.8.34.1 Workflow Center priority and identity clarity */
.emwh-workflow-priority{display:inline-flex;align-items:center;justify-content:center;min-width:62px;padding:5px 8px;border:1px solid #cbd8e2;border-radius:999px;background:#f7fafc;color:#35566c;font-size:11px;font-weight:800}
.emwh-workflow-priority.is-high{border-color:#d9b8b8;background:#fff7f7;color:#9b3b3b}
.emwh-workflow-priority.is-medium{border-color:#e5d3a4;background:#fffaf0;color:#84651c}
.emwh-workflow-priority.is-normal{border-color:#bcd3c4;background:#f5fbf7;color:#3e6f50}
.emwh-workflow-pending-context{display:inline-flex;padding:5px 8px;border-radius:8px;background:#f1f5f8;color:#4c6272;font-size:11px;font-weight:700;white-space:nowrap}
.emwh-workflow-table td:first-child small{max-width:150px}


/* V4.6.8.34.2 - Workflow Center operational filters */
.emwh-workflow-filters{display:grid;grid-template-columns:minmax(260px,1fr) minmax(170px,220px) auto auto;gap:12px;align-items:end;padding:14px;margin:0 0 14px;border:1px solid #dce3ea;border-radius:12px;background:#f8fafc}
.emwh-workflow-filters label{display:grid;gap:6px;margin:0}
.emwh-workflow-filters label span{font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#526879}
.emwh-workflow-filters input,.emwh-workflow-filters select{width:100%;min-height:40px;border:1px solid #cbd8e2;border-radius:8px;background:#fff;color:#243746;padding:8px 10px}
.emwh-workflow-filter-summary{margin:0 0 10px;color:#5b6d7b;font-size:12px}
.emwh-workflow-filter-summary strong{color:#243746;font-size:14px}
.emwh-workflow-filter-summary span{color:#35566c;font-weight:700}
@media (max-width:900px){.emwh-workflow-filters{grid-template-columns:1fr 1fr}.emwh-workflow-filters .emwh-btn{width:100%}}
@media (max-width:620px){.emwh-workflow-filters{grid-template-columns:1fr}}


/* V4.6.8.34.3 - Workflow Center task pagination */
.emwh-workflow-pagination{display:flex;justify-content:flex-end;margin-top:14px}
.emwh-workflow-pagination .page-numbers{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.emwh-workflow-pagination a,.emwh-workflow-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:7px 10px;border:1px solid #cbd8e2;border-radius:8px;background:#fff;color:#35566c;text-decoration:none;font-size:12px;font-weight:700}
.emwh-workflow-pagination .current{border-color:#7393ad;background:#edf3f7;color:#243746}
.emwh-workflow-pagination a:hover{border-color:#7393ad;background:#f6f9fb}
@media(max-width:620px){.emwh-workflow-pagination{justify-content:center}.emwh-workflow-pagination a,.emwh-workflow-pagination span{min-width:34px;min-height:34px;padding:6px 8px}}

/* V4.6.8.34.4 - Workflow Center selection tools */
.emwh-workflow-select-column { width: 42px; text-align: center; }
.emwh-workflow-select-column input { width: 18px; height: 18px; margin: 0; }
.emwh-workflow-selection-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    padding: 12px 14px;
    margin: 12px 0;
    border: 1px solid var(--emwh-border, #dfe5ec);
    border-radius: 10px;
    background: var(--emwh-soft, #f7f9fb);
}
.emwh-workflow-selection-toolbar[hidden] { display: none; }
.emwh-workflow-selection-toolbar > div { display: flex; flex-wrap: wrap; gap: 8px; }
.emwh-workflow-selection-toolbar small { flex-basis: 100%; color: #667085; }
@media (max-width: 720px) {
    .emwh-workflow-selection-toolbar { align-items: stretch; }
    .emwh-workflow-selection-toolbar > div { width: 100%; }
    .emwh-workflow-selection-toolbar .emwh-btn,
    .emwh-workflow-selection-toolbar .emwh-mini-btn { flex: 1 1 auto; }
}


/* V4.6.8.34.5 - Workflow Center task context */
.emwh-workflow-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}
.emwh-workflow-detail-row[hidden]{display:none}
.emwh-workflow-detail-row td{padding:0!important;border-top:0!important;background:#fbfcfe}
.emwh-workflow-detail-panel{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(250px,.6fr);gap:20px;padding:16px 18px 18px;border-top:1px dashed #d6e0e8;border-bottom:1px solid #dfe6ec}
.emwh-workflow-blocker-list{display:grid;gap:8px;margin:10px 0 0;padding:0;list-style:none}
.emwh-workflow-blocker-list li{display:grid;grid-template-columns:minmax(150px,220px) 1fr;gap:12px;padding:9px 10px;border:1px solid #e2e8ee;border-radius:8px;background:#fff}
.emwh-workflow-blocker-list strong{font-size:12px;color:#263d4d}
.emwh-workflow-blocker-list span{font-size:12px;color:#647482}
.emwh-workflow-no-blockers{margin:10px 0 0;color:#526879;font-size:12px}
.emwh-workflow-control-context{display:grid;gap:7px;margin:10px 0 0}
.emwh-workflow-control-context>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid #e5ebf0}
.emwh-workflow-control-context dt{font-size:11px;font-weight:800;text-transform:uppercase;color:#6a7b89}
.emwh-workflow-control-context dd{margin:0;font-size:12px;font-weight:700;color:#263d4d;text-align:right}
@media(max-width:900px){.emwh-workflow-detail-panel{grid-template-columns:1fr}.emwh-workflow-blocker-list li{grid-template-columns:1fr}.emwh-workflow-row-actions{align-items:stretch;flex-direction:column}.emwh-workflow-row-actions .emwh-btn,.emwh-workflow-row-actions .emwh-mini-btn{width:100%}}


/* V4.6.8.34.6 - Workflow Center workload overview */
.emwh-workflow-workload{display:grid;grid-template-columns:minmax(210px,1.15fr) repeat(3,minmax(170px,1fr));gap:12px;margin:16px 0}
.emwh-workflow-workload-total,.emwh-workflow-workload-priority{display:grid;gap:5px;padding:15px 16px;border:1px solid #dce3ea;border-radius:12px;background:#fff;color:#243746;text-decoration:none}
.emwh-workflow-workload-total{background:#f7fafc}
.emwh-workflow-workload-total span,.emwh-workflow-workload-priority span{font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#526879}
.emwh-workflow-workload-total strong,.emwh-workflow-workload-priority strong{font-size:26px;line-height:1;color:#243746}
.emwh-workflow-workload-total small,.emwh-workflow-workload-priority small{color:#70808d;font-size:11px}
.emwh-workflow-workload-priority:hover,.emwh-workflow-workload-priority.is-active{border-color:#7393ad;background:#f6f9fb}
.emwh-workflow-workload-priority.is-high strong{color:#9b3b3b}
.emwh-workflow-workload-priority.is-medium strong{color:#84651c}
.emwh-workflow-workload-priority.is-normal strong{color:#3e6f50}
.emwh-workflow-workload-meter{height:5px;overflow:hidden;border-radius:999px;background:#e8eef3}
.emwh-workflow-workload-meter i{display:block;height:100%;border-radius:inherit;background:#7894a8}
.emwh-workflow-workload-priority.is-high .emwh-workflow-workload-meter i{background:#b66a6a}
.emwh-workflow-workload-priority.is-medium .emwh-workflow-workload-meter i{background:#b29550}
.emwh-workflow-workload-priority.is-normal .emwh-workflow-workload-meter i{background:#6f9a7d}
.emwh-workflow-queue-share{grid-column:2;display:inline-flex;width:max-content;margin-top:4px;padding:3px 7px;border-radius:999px;background:#f0f4f7;color:#607382;font-size:10px;font-weight:750}
@media(max-width:1100px){.emwh-workflow-workload{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.emwh-workflow-workload{grid-template-columns:1fr}.emwh-workflow-workload-total,.emwh-workflow-workload-priority{padding:14px}}

/* V4.6.8.34.7 - Workflow urgency ordering */
.emwh-workflow-sort-note{color:#667085;font-weight:600;white-space:nowrap}
@media (max-width:720px){.emwh-workflow-sort-note{display:block;margin-top:4px;white-space:normal}}

/* V4.6.8.34.8 - Primary next action: no new visual primitives required. */


/* V4.6.8.34.9 - Workflow navigation and action clarity */
.emwh-workflow-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
@media (max-width:720px){.emwh-workflow-heading-actions{justify-content:flex-start;width:100%}}

/* V4.6.8.36.2 dashboard final alignment */
.emwh-offer-metric.is-linked{position:relative;text-decoration:none;color:inherit;cursor:pointer}
.emwh-offer-metric.is-linked:hover{border-color:#a9cbed;box-shadow:0 10px 28px rgba(8,49,87,.08)}
.emwh-offer-metric.is-linked>i{margin-left:auto;font-style:normal;font-size:25px;color:#7b91a8}
.emwh-offer-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){.emwh-offer-quick-actions{grid-template-columns:1fr}}

/* V4.6.8.36.8 Product Intelligence metric spacing. */
.emwh-workspace-intelligence-summary .emwh-value-block{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  min-width:0;
}
.emwh-workspace-intelligence-summary .emwh-value-block b{
  display:block;
  margin:0;
}
.emwh-workspace-intelligence-summary .emwh-value-block small{
  display:block;
  margin:0;
  flex:0 0 auto;
  font-weight:800;
}
@media(max-width:560px){
  .emwh-workspace-intelligence-summary .emwh-value-block{
    gap:8px;
  }
}


/* V4.6.8.36.9 Review Grid existing-position handling. */
.emwh-review-decision .emwh-decision-toggle{width:auto!important;min-width:76px!important;max-width:110px!important;padding:6px 12px!important;align-self:flex-start!important;font-size:11px!important;line-height:1.15!important}
.emwh-review-decision .emwh-decision-toggle.is-restore{background:#fff!important;color:#1769c2!important;border:1px solid #bcd8f7!important}
.emwh-row-lifecycle.is-existing{background:#eef7ff;color:#1769c2;border:1px solid #c9e1fb}


/* V4.6.8.36.10 Review Grid result integrity and decision button alignment. */
.emwh-review-decision .emwh-decision-toggle.is-reject{
  background:#fff7f7!important;
  color:#b42318!important;
  border:1px solid #efb4b4!important;
  box-shadow:none!important;
}
.emwh-review-decision .emwh-decision-toggle.is-reject:hover,
.emwh-review-decision .emwh-decision-toggle.is-reject:focus{
  background:#fff0f0!important;
  color:#9f1d14!important;
  border-color:#dc7f7f!important;
}


/* V4.6.8.36.11 Commercial Positions search, filters and export integrity. */
.emwh-approved-list-toolbar .emwh-clear-filters { white-space: nowrap; }
.emwh-direct-exports .emwh-btn.is-disabled { opacity: .48; cursor: not-allowed; pointer-events: none; }
.emwh-offer-empty { text-align: center; padding: 32px 20px; }
.emwh-offer-empty p { margin: 6px 0 16px; color: #66758a; }


/* V4.6.8.36.12 Review Grid bulk processing clarity. */
.emwh-decision-toggle.is-reject{background:#fff!important;color:#b42318!important;border:1px solid #f0b4ae!important;box-shadow:none!important;min-width:auto!important;padding:7px 12px!important}
.emwh-decision-toggle.is-restore{min-width:auto!important;padding:7px 12px!important}
.emwh-review-editor-actions{gap:10px!important;justify-content:flex-end!important}
.emwh-review-editor-actions .emwh-secondary{width:auto!important;min-width:110px!important;padding:10px 18px!important}
.emwh-review-editor-actions .emwh-primary{width:auto!important}
.emwh-modal-actions .emwh-compact-action,.emwh-compact-action{width:auto!important;min-width:110px!important;padding:9px 16px!important}
.emwh-supplier-existing{padding:14px;border:1px solid #dbe7f5;border-radius:12px;background:#f8fbff;margin-bottom:12px}
.emwh-supplier-existing h3{margin:0 0 10px;font-size:14px}
.emwh-supplier-existing select{width:100%;margin:5px 0 10px}
.emwh-resolution-divider{display:flex;align-items:center;gap:12px;margin:12px 0;color:#667085;font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.emwh-resolution-divider:before,.emwh-resolution-divider:after{content:"";height:1px;background:#dbe7f5;flex:1}
.emwh-bulk-row.needs-review [data-select]:disabled{opacity:.45;cursor:not-allowed}
.emwh-review-comparison.is-blocked{opacity:.82}
.emwh-bulk-table td{vertical-align:top}
.emwh-resolution-card{padding:10px!important}
.emwh-resolution-card small,.emwh-master-meta{line-height:1.25}
@media(max-width:700px){.emwh-review-editor-actions,.emwh-modal-actions{flex-wrap:wrap}.emwh-review-editor-actions .emwh-secondary,.emwh-review-editor-actions .emwh-primary,.emwh-modal-actions button{width:auto!important}}


/* V4.6.8.36.13 Product resolution automatic master prefill. */
.emwh-product-detection{margin:10px 0 6px;padding:10px 12px;border:1px solid #b9dafb;border-radius:10px;background:#f4f9ff;color:#174f87;font-size:12px;line-height:1.45}
.emwh-product-detection.is-warning{border-color:#f1cf87;background:#fff9eb;color:#7a5410}
#emwh-modal-abv-detected[readonly]{background:#f7f9fc;color:#17324d;font-weight:700}


/* V4.6.8.36.14 Pricing commercial terms. */
.emwh-pricing-commercial-terms{margin:18px 0;padding:18px;border:1px solid #d7e3f3;border-radius:14px;background:#f8fbff}
.emwh-pricing-commercial-terms-head h3{margin:4px 0 3px}
.emwh-pricing-commercial-terms-head p{margin:0;color:#64748b}
.emwh-pricing-commercial-terms-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px}
.emwh-pricing-commercial-terms-grid label{display:flex;flex-direction:column;gap:6px}
.emwh-pricing-commercial-terms-grid input,.emwh-pricing-commercial-terms-grid select,.emwh-pricing-commercial-terms-grid textarea{width:100%}
.emwh-pricing-commercial-terms-grid .emwh-pricing-escrow{justify-content:center;border:1px solid #dce7f4;border-radius:10px;padding:12px;background:#fff}
.emwh-pricing-commercial-terms-grid .emwh-pricing-escrow input{width:auto;margin-right:7px}
.emwh-pricing-payment-notes{grid-column:span 2}
.emwh-publication-commercial-terms{margin:14px 0;padding:16px;border:1px solid #d7e3f3;border-radius:12px;background:#f8fbff}
.emwh-publication-commercial-terms-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}
.emwh-publication-commercial-terms-grid>div{padding:10px;border:1px solid #e2e8f0;border-radius:9px;background:#fff}
.emwh-publication-commercial-terms-grid small,.emwh-publication-commercial-terms-grid strong{display:block}
.emwh-publication-commercial-terms p{margin:10px 0 0;color:#64748b}
@media(max-width:1000px){.emwh-pricing-commercial-terms-grid,.emwh-publication-commercial-terms-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.emwh-pricing-commercial-terms-grid,.emwh-publication-commercial-terms-grid{grid-template-columns:1fr}.emwh-pricing-payment-notes{grid-column:auto}}

/* V4.6.8.36.15 Pricing commercial terms visual alignment. */
.emwh-pricing-commercial-terms{padding:18px 18px 14px;background:#fff}
.emwh-pricing-commercial-terms-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,300px);gap:18px;align-items:start}
.emwh-pricing-commercial-terms-head aside{display:flex;gap:10px;align-items:flex-start;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff;padding:12px;color:#1e3a8a}
.emwh-pricing-commercial-terms-head aside span{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border:1px solid #93c5fd;border-radius:999px;background:#fff;font-weight:900;flex:0 0 auto}
.emwh-pricing-commercial-terms-head aside p{margin:0;color:#1e3a8a;font-size:11px;line-height:1.45}
.emwh-pricing-commercial-terms-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}
.emwh-commercial-terms-column{display:grid;gap:12px;align-content:start}
.emwh-commercial-terms-column label{min-width:0}
.emwh-commercial-terms-percentages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.emwh-pricing-commercial-terms-grid label>span:first-child{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;color:#475569}
.emwh-pricing-commercial-terms-grid input,.emwh-pricing-commercial-terms-grid select,.emwh-pricing-commercial-terms-grid textarea{min-height:40px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;padding:8px 10px}
.emwh-pricing-commercial-terms-grid textarea{min-height:94px;resize:vertical}
.emwh-pricing-commercial-terms-grid .emwh-pricing-escrow{justify-content:flex-start;padding:0;border:0;background:transparent}
.emwh-pricing-switch{display:flex;align-items:center;gap:9px;min-height:40px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;padding:7px 10px}
.emwh-pricing-switch input{position:absolute;opacity:0;pointer-events:none}
.emwh-pricing-switch i{position:relative;width:42px;height:23px;border-radius:999px;background:#cbd5e1;transition:.2s;flex:0 0 auto}
.emwh-pricing-switch i:after{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.25);transition:.2s}
.emwh-pricing-switch input:checked+i{background:#22c55e}
.emwh-pricing-switch input:checked+i:after{transform:translateX(19px)}
.emwh-pricing-switch b{font-size:11px;color:#334155}
.emwh-pricing-commercial-terms .emwh-tier-editor-note{margin:12px 0 0;padding-top:11px;border-top:1px solid #e2e8f0}
@media(max-width:900px){.emwh-pricing-commercial-terms-head{grid-template-columns:1fr}.emwh-pricing-commercial-terms-grid{grid-template-columns:1fr}}
@media(max-width:520px){.emwh-commercial-terms-percentages{grid-template-columns:1fr}}


/* V4.6.8.36.16 Pricing commercial terms data integrity. */
.emwh-commercial-terms-validation{margin-top:12px;padding:10px 12px;border:1px solid #b9e6cf;border-radius:10px;background:#f2fbf6;color:#167347;font-size:12px;font-weight:700}
.emwh-commercial-terms-validation.is-error{border-color:#f0b7b7;background:#fff6f6;color:#b42318}
.emwh-publication-commercial-terms-grid .is-wide{grid-column:1/-1}


/* V4.6.8.36.17 Pricing commercial terms summary and publication handoff. */
.emwh-pricing-terms-summary{margin:18px 0 0;padding:16px;border:1px solid #d7e3f3;border-radius:14px;background:#f8fbff}
.emwh-pricing-terms-summary-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.emwh-pricing-terms-summary-head h3{margin:4px 0 0}
.emwh-pricing-terms-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
.emwh-pricing-terms-summary-grid>div{padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;min-width:0}
.emwh-pricing-terms-summary-grid small,.emwh-pricing-terms-summary-grid strong{display:block}
.emwh-pricing-terms-summary-grid small{margin-bottom:4px;color:#64748b;font-size:10px;text-transform:uppercase;letter-spacing:.04em}
.emwh-pricing-terms-summary-grid strong{color:#0f172a;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.emwh-pricing-terms-summary-grid .is-wide{grid-column:1/-1}
.emwh-pricing-terms-status{margin:12px 0 0;padding:9px 11px;border-radius:9px;font-size:12px;font-weight:700}
.emwh-pricing-terms-status.is-ready{border:1px solid #b9e6cf;background:#f2fbf6;color:#167347}
.emwh-pricing-terms-status.is-incomplete{border:1px solid #f0c38c;background:#fff8ed;color:#9a5b00}
@media(max-width:980px){.emwh-pricing-terms-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.emwh-pricing-terms-summary-head{display:grid}.emwh-pricing-terms-summary-grid{grid-template-columns:1fr}.emwh-pricing-terms-summary-grid .is-wide{grid-column:auto}}

/* V4.6.8.36.18 Publication customer visibility review. */
.emwh-publication-customer-preview{margin:14px 0;padding:16px;border:1px solid #bfdbfe;border-radius:12px;background:#f8fbff}
.emwh-publication-customer-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.emwh-publication-customer-preview-head h3{margin:4px 0 0}
.emwh-publication-customer-preview-head .emwh-pricing-terms-status{margin:0;white-space:nowrap}
.emwh-publication-customer-note{margin:10px 0;color:#475569;font-size:12px;line-height:1.5}
.emwh-publication-customer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.emwh-publication-customer-grid>div{padding:10px 12px;border:1px solid #dbe7f5;border-radius:9px;background:#fff;min-width:0}
.emwh-publication-customer-grid small,.emwh-publication-customer-grid strong{display:block}
.emwh-publication-customer-grid small{margin-bottom:4px;color:#64748b;font-size:10px;text-transform:uppercase;letter-spacing:.04em}
.emwh-publication-customer-grid strong{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.emwh-publication-customer-grid .is-wide{grid-column:span 2}
.emwh-publication-internal-note{margin-top:10px;padding:9px 11px;border:1px solid #dbe7f5;border-radius:9px;background:#fff;color:#475569;font-size:11px}
.emwh-publication-table td:nth-child(4) small{display:block;margin-top:5px;max-width:190px;color:#64748b;line-height:1.35}
@media(max-width:1000px){.emwh-publication-customer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.emwh-publication-customer-grid .is-wide{grid-column:1/-1}}
@media(max-width:650px){.emwh-publication-customer-preview-head{display:grid}.emwh-publication-customer-preview-head .emwh-pricing-terms-status{white-space:normal}.emwh-publication-customer-grid{grid-template-columns:1fr}.emwh-publication-customer-grid .is-wide{grid-column:auto}}

/* V4.6.8.36.32 - Review Grid decision clarity. */
.emwh-review-action-filters{flex-wrap:wrap!important;justify-content:flex-end!important}
.emwh-review-action-filters .emwh-secondary.is-active{background:#eaf3ff!important;border-color:#7fb1e7!important;color:#075db9!important}
.emwh-review-quality-bar{grid-template-columns:repeat(4,minmax(130px,1fr)) auto!important}
.emwh-row-selection{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:54px}
.emwh-row-selection small{font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:#58718c;text-align:center}
.emwh-review-comparison .emwh-bulk-status{white-space:normal!important;line-height:1.25!important;text-align:left!important}
@media(max-width:1150px){.emwh-review-quality-bar{grid-template-columns:repeat(2,minmax(150px,1fr))!important}.emwh-review-quality-bar>p{grid-column:1/-1!important}}

/* V4.6.8.36.34 Review Grid closure candidate: explicit final action confirmation. */
.emwh-review-apply-modal .emwh-modal-card{max-width:760px}
.emwh-review-apply-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:20px 0}
.emwh-review-apply-summary>div{border:1px solid #d7e3f1;border-radius:12px;padding:14px;background:#f8fbff}
.emwh-review-apply-summary span{display:block;font-size:11px;font-weight:800;letter-spacing:.08em;color:#315f96}
.emwh-review-apply-summary strong{display:block;font-size:28px;line-height:1.1;margin:8px 0;color:#082544}
.emwh-review-apply-summary small{color:#667991}
.emwh-review-apply-note{border:1px solid #f1d7a5;background:#fff9ec;border-radius:10px;padding:12px 14px;color:#725516}
@media(max-width:760px){.emwh-review-apply-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* V4.6.8.36.40 - Product Resolution UX Closure */
.emwh-product-resolution-modal{width:min(1060px,calc(100vw - 40px))!important}
.emwh-product-resolution-modal .emwh-resolution-layout{grid-template-columns:minmax(300px,.9fr) minmax(430px,1.35fr)}
.emwh-offer-summary-card{display:block!important}
.emwh-summary-headline{padding:12px 12px 11px;border:1px solid #dce7f3;border-radius:10px;background:#fff}
.emwh-summary-headline strong,.emwh-summary-headline span{display:block}.emwh-summary-headline strong{font-family:Georgia,'Times New Roman',serif;font-size:20px;line-height:1.15;color:#10263d}.emwh-summary-headline span{margin-top:5px;color:#526b84;font-size:12px;font-weight:700}
.emwh-summary-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.emwh-summary-facts>div{background:#fff;border:1px solid #e2eaf3;border-radius:8px;padding:8px 9px;min-width:0}.emwh-summary-facts>div:last-child:nth-child(odd){grid-column:1/-1}
.emwh-summary-facts small,.emwh-summary-facts strong{display:block}.emwh-summary-facts small{color:#6b7d91;font-size:9px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:3px}.emwh-summary-facts strong{color:#10263d;font-size:12px;line-height:1.3;overflow-wrap:anywhere}
.emwh-modal-source-details{margin-top:12px;border-top:1px solid #dce7f3;padding-top:10px}.emwh-modal-source-details summary{cursor:pointer;color:#275f9d;font-size:11px;font-weight:700}.emwh-modal-source-details[open] summary{margin-bottom:7px}
.emwh-detected-field{position:relative}.emwh-detected-field input{padding-right:76px!important}.emwh-detected-field span{position:absolute;right:9px;top:50%;transform:translateY(-50%);padding:3px 7px;border-radius:999px;background:#e7f6ec;color:#18723b;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.emwh-parser-result{margin-top:12px;border:1px solid #dce7f3;border-radius:11px;background:#f8fbff;padding:12px}.emwh-parser-result-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.emwh-parser-result-head strong{font-size:12px;color:#10263d}.emwh-parser-result-head span{border-radius:999px;padding:4px 8px;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.emwh-parser-result-head span.is-ready{background:#e7f6ec;color:#18723b}.emwh-parser-result-head span.is-review{background:#fff1d6;color:#8a5a00}
.emwh-parser-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0;padding:0;list-style:none}.emwh-parser-checks li{display:flex;align-items:flex-start;gap:8px;border:1px solid #e0e8f1;border-radius:8px;background:#fff;padding:8px}.emwh-parser-check-icon{display:grid;place-items:center;flex:0 0 20px;height:20px;border-radius:50%;font-size:11px;font-weight:900}.emwh-parser-checks li.is-ok .emwh-parser-check-icon{background:#dff4e6;color:#18723b}.emwh-parser-checks li.is-warning .emwh-parser-check-icon{background:#fff0cf;color:#8a5a00}.emwh-parser-checks li.is-neutral .emwh-parser-check-icon{background:#edf2f7;color:#60748a}.emwh-parser-checks strong,.emwh-parser-checks small{display:block}.emwh-parser-checks strong{font-size:10px;color:#233d55}.emwh-parser-checks small{margin-top:2px;color:#667b91;font-size:10px;line-height:1.25}
@media(max-width:850px){.emwh-parser-checks,.emwh-summary-facts{grid-template-columns:1fr}}

/* V4.6.8.36.40.5 - product resolution closure */
.emwh-product-resolution-modal{display:flex!important;flex-direction:column!important;overflow:hidden!important}
.emwh-product-resolution-modal .emwh-resolution-layout{overflow:auto!important;min-height:0!important;padding-right:4px}
.emwh-product-resolution-modal .emwh-modal-actions{position:sticky!important;bottom:0!important;z-index:20!important;background:#fff!important;margin:14px -2px -2px!important;padding:14px 2px 2px!important;box-shadow:0 -10px 18px rgba(20,45,75,.07)!important}
.emwh-product-resolution-modal #emwh-modal-format option[disabled]{display:none!important}


/* V4.6.8.36.40.6 - Explicit Brand and Format creation controls. */
.emwh-product-resolution-modal .emwh-catalog-field-with-action{display:flex;flex-direction:column;gap:7px;min-width:0}
.emwh-product-resolution-modal .emwh-catalog-field-with-action>label{margin:0;min-width:0}
.emwh-product-resolution-modal .emwh-inline-catalog-action{align-self:flex-start;min-height:34px;padding:7px 11px;font-size:11px;font-weight:800;white-space:normal;text-align:left}
.emwh-product-resolution-modal .emwh-inline-catalog-action[hidden]{display:none!important}


/* V4.6.8.36.40.7 - Compact imported-position editor closure. */
@media (min-width: 1000px) {
  #emwh-review-editor-modal{padding:12px!important;align-items:center!important}
  #emwh-review-editor-modal .emwh-review-modal-panel{
    width:min(1220px,calc(100vw - 32px))!important;
    max-height:calc(100vh - 24px)!important;
  }
  #emwh-review-editor-modal .emwh-review-editor-head{
    padding:12px 18px 10px!important;
  }
  #emwh-review-editor-modal .emwh-review-editor-head strong{font-size:17px!important;line-height:1.15!important}
  #emwh-review-editor-modal .emwh-review-editor-head small{margin-top:2px!important;font-size:11px!important}
  #emwh-review-editor-modal .emwh-review-close{width:32px!important;height:32px!important;font-size:21px!important}
  #emwh-review-editor-modal .emwh-review-editor-sections{
    gap:8px!important;
    padding:10px 18px!important;
  }
  #emwh-review-editor-modal .emwh-review-editor-section{
    padding:9px 12px!important;
    border-radius:10px!important;
  }
  #emwh-review-editor-modal .emwh-review-editor-section h3{
    margin:0 0 7px!important;
    font-size:10px!important;
  }
  #emwh-review-editor-modal .emwh-review-editor-help{
    margin:-2px 0 7px!important;
    font-size:10px!important;
    line-height:1.25!important;
  }
  #emwh-review-editor-modal .emwh-review-editor-grid{
    gap:7px 10px!important;
  }
  #emwh-review-editor-modal .emwh-review-editor-section:nth-child(2) .emwh-review-editor-grid{
    grid-template-columns:0.8fr 1fr 1.55fr 0.8fr!important;
  }
  #emwh-review-editor-modal .emwh-review-editor-section:nth-child(2) .emwh-review-editor-grid label.span-2{
    grid-column:span 1!important;
  }
  #emwh-review-editor-modal .emwh-review-editor-grid label{gap:3px!important}
  #emwh-review-editor-modal .emwh-review-editor-grid label span{
    font-size:10px!important;
    line-height:1.15!important;
  }
  #emwh-review-editor-modal .emwh-review-editor-grid input,
  #emwh-review-editor-modal .emwh-review-editor-grid select{
    min-height:34px!important;
    height:34px!important;
    padding:5px 9px!important;
    font-size:12px!important;
  }
  #emwh-review-editor-modal .emwh-review-editor-grid textarea{
    min-height:52px!important;
    height:52px!important;
    padding:7px 9px!important;
    font-size:12px!important;
    resize:vertical!important;
  }
  #emwh-review-editor-modal .emwh-review-editor-grid label>small{
    margin-top:1px!important;
    max-height:25px!important;
    overflow:hidden!important;
    font-size:9px!important;
    line-height:1.2!important;
  }
  #emwh-review-editor-modal .emwh-review-editor-actions{
    padding:9px 18px!important;
  }
  #emwh-review-editor-modal .emwh-review-editor-actions button{
    min-height:36px!important;
    height:36px!important;
    padding:7px 14px!important;
  }
}

/* V4.6.8.36.40.8 - Explicit edit controls in Product Resolution. */
.emwh-product-resolution-modal .emwh-product-field-editable,
.emwh-product-resolution-modal .emwh-catalog-field-with-action{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:7px 8px!important;
  min-width:0!important;
}
.emwh-product-resolution-modal .emwh-product-field-editable.wide{
  grid-column:span 2!important;
}
.emwh-product-resolution-modal .emwh-product-field-editable>label,
.emwh-product-resolution-modal .emwh-catalog-field-with-action>label{
  min-width:0!important;
  margin:0!important;
}
.emwh-product-resolution-modal .emwh-field-edit-action{
  min-width:76px!important;
  min-height:40px!important;
  padding:8px 11px!important;
  align-self:end!important;
  white-space:nowrap!important;
  font-size:11px!important;
  font-weight:800!important;
}
.emwh-product-resolution-modal .emwh-inline-catalog-action{
  grid-column:1 / -1!important;
  justify-self:start!important;
}
.emwh-product-resolution-modal select.is-locked,
.emwh-product-resolution-modal input.is-locked{
  background:#f5f8fc!important;
  color:#18304c!important;
  opacity:1!important;
  cursor:default!important;
}
.emwh-product-resolution-modal select.is-locked{
  appearance:none!important;
  background-image:none!important;
}
@media(max-width:850px){
  .emwh-product-resolution-modal .emwh-product-field-editable.wide{grid-column:auto!important}
}

/* V4.6.8.36.40.9 - Review Grid apply action closure. */
.emwh-review-apply-modal{display:none!important}
.emwh-bulk-review .emwh-bulk-footer{
 right:132px!important;
 z-index:9996!important;
}
.emwh-bulk-review .emwh-bulk-footer #emwh-bulk-create{
 flex:0 0 auto!important;
 min-width:190px!important;
}
@media(max-width:900px){
 .emwh-bulk-review .emwh-bulk-footer{right:104px!important}
}
@media(max-width:560px){
 .emwh-bulk-review .emwh-bulk-footer{right:8px!important;bottom:68px!important}
}


/* V4.6.8.36.40.10 - Direct product master controls.
 * Catalog selects are always interactive. Missing Brand/Format values are
 * represented by an automatically selected "New" option and created on
 * Create and assign. No Edit/Done buttons are used for dropdown fields. */
.emwh-product-resolution-modal .emwh-product-field-direct{min-width:0!important}
.emwh-product-resolution-modal .emwh-product-field-direct.wide{grid-column:span 2!important}
.emwh-product-resolution-modal .emwh-product-field-direct>label{display:block!important;margin:0!important;min-width:0!important}
.emwh-product-resolution-modal .emwh-product-field-direct select,
.emwh-product-resolution-modal .emwh-product-field-direct input{width:100%!important;cursor:text!important}
.emwh-product-resolution-modal .emwh-product-field-direct select{cursor:pointer!important;appearance:auto!important;background-image:initial!important}
.emwh-product-resolution-modal .emwh-field-edit-action,
.emwh-product-resolution-modal .emwh-inline-catalog-action{display:none!important}
@media(max-width:850px){.emwh-product-resolution-modal .emwh-product-field-direct.wide{grid-column:auto!important}}


/* V4.6.8.36.40.11 - Review Validation Assistant */
#emwh-review-editor-modal .emwh-review-validation{margin:12px 22px 0;padding:11px 14px;border-radius:9px;display:flex;align-items:flex-start;gap:12px;font-size:12px}
#emwh-review-editor-modal .emwh-review-validation strong{display:block;min-width:190px;color:inherit}
#emwh-review-editor-modal .emwh-review-validation ul{display:flex;flex-wrap:wrap;gap:5px 14px;margin:0;padding-left:18px}
#emwh-review-editor-modal .emwh-review-validation.is-missing{border:1px solid #f2b8b5;background:#fff4f3;color:#9f1d18}
#emwh-review-editor-modal .emwh-review-validation.is-complete{border:1px solid #b9e4c7;background:#f0fbf4;color:#166534}
#emwh-review-editor-modal label.is-required-missing span{color:#b42318!important}
#emwh-review-editor-modal label.is-required-missing input,
#emwh-review-editor-modal label.is-required-missing select{border-color:#dc4c43!important;background:#fff8f7!important;box-shadow:0 0 0 2px rgba(220,76,67,.1)!important}
#emwh-review-editor-modal label.is-required-missing select:focus,
#emwh-review-editor-modal label.is-required-missing input:focus{outline:2px solid rgba(220,76,67,.25)!important;outline-offset:1px}
.emwh-review-decision select:disabled{color:#9f1d18!important;background:#fff4f3!important;border-color:#f2b8b5!important;font-weight:700!important}
@media(max-width:700px){#emwh-review-editor-modal .emwh-review-validation{margin:8px 12px 0;display:block}#emwh-review-editor-modal .emwh-review-validation ul{margin-top:6px}}

/* V4.6.8.36.40.20 - Position Workspace executive overview */
.emwh-offer-overview-v5{display:grid;gap:10px}
.emwh-position-health{padding:13px!important;margin:0!important}
.emwh-position-health-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}
.emwh-position-health-heading strong{display:block;margin-top:4px;color:#0b2847;font-size:18px}
.emwh-position-health-score{display:flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid #cfe0ef;border-radius:12px;background:#f7fbff}
.emwh-position-health-score b{font-size:20px;color:#0867d1}
.emwh-position-health-score span{font-size:9px;font-weight:800;color:#647b92;text-transform:uppercase;letter-spacing:.05em}
.emwh-position-health-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.emwh-position-health-item{min-width:0;padding:9px 10px;border:1px solid #dce7f1;border-radius:11px;background:#f8fafc}
.emwh-position-health-item small{display:block;margin-bottom:3px;color:#6a7f94;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.emwh-position-health-item strong{display:block;color:#16324f;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.emwh-position-health-item.is-good,.emwh-position-health-item.is-best,.emwh-position-health-item.is-confirmed{background:#ecfdf3;border-color:#b7e8cb}
.emwh-position-health-item.is-warning,.emwh-position-health-item.is-needs-confirmation{background:#fff8e8;border-color:#f1d39a}
.emwh-position-health-item.is-expired,.emwh-position-health-item.is-archived{background:#fff1f0;border-color:#efc2bd}
.emwh-position-health-item.is-neutral,.emwh-position-health-item.is-fresh{background:#f4f8fc}
.emwh-offer-overview-grid-primary{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.emwh-offer-overview-v5 .emwh-offer-summary-card{min-height:0;padding:12px!important}
.emwh-offer-overview-v5 .emwh-offer-kv-grid{align-content:start}
.emwh-overview-middle-grid{display:grid;grid-template-columns:minmax(330px,.8fr) minmax(0,1.2fr);gap:10px}
.emwh-overview-pricing-summary{padding:12px!important;margin:0!important}
.emwh-overview-pricing-summary .emwh-section-heading{margin:0 0 8px}
.emwh-overview-pricing-summary h3{margin:3px 0 0;font-size:15px;color:#0b2847}
.emwh-overview-pricing-list{display:grid;gap:0;border:1px solid #e0e9f2;border-radius:11px;overflow:hidden}
.emwh-overview-pricing-list>div{display:grid;grid-template-columns:minmax(130px,1fr) auto auto;gap:10px;align-items:center;padding:8px 10px;border-top:1px solid #e8eef5}
.emwh-overview-pricing-list>div:first-child{border-top:0}
.emwh-overview-pricing-list span{font-size:10px;color:#536a80}
.emwh-overview-pricing-list strong{font-size:12px;color:#0b2847}
.emwh-overview-pricing-list em{font-size:8px;font-style:normal;font-weight:900;text-transform:uppercase;padding:3px 6px;border-radius:999px;background:#f1f5f9;color:#64748b}
.emwh-overview-pricing-list em.is-approved,.emwh-overview-pricing-list em.is-reviewed{background:#eaf8ef;color:#14713f}
.emwh-workspace-timeline article{position:relative;grid-template-columns:14px 1fr!important;gap:9px!important;padding:8px 0 8px 2px!important}
.emwh-workspace-timeline article:after{content:"";position:absolute;left:6px;top:21px;bottom:-8px;width:1px;background:#d9e4ef}
.emwh-workspace-timeline article:last-child:after{display:none}
.emwh-timeline-dot{width:9px;height:9px;margin-top:3px;border-radius:999px;background:#1481df;box-shadow:0 0 0 3px #e8f4ff;z-index:1}
.emwh-workspace-timeline article div{grid-template-columns:auto auto 1fr;column-gap:8px;align-items:baseline}
.emwh-workspace-timeline strong{font-size:11px!important}
.emwh-workspace-timeline time{font-size:9px!important;color:#647b92!important;text-transform:none!important}
.emwh-workspace-timeline small{font-size:9px!important;color:#71869a!important}
.emwh-workspace-timeline span{grid-column:1/-1;font-size:10px!important;color:#40576d!important;margin-top:2px}
.emwh-workspace-intelligence-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.emwh-workspace-action-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.emwh-workspace-action b{font-size:15px;line-height:1}
@media(max-width:1250px){
  .emwh-position-health-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .emwh-offer-overview-grid-primary{grid-template-columns:1fr 1fr!important}
  .emwh-offer-overview-grid-primary>.emwh-offer-summary-card:last-child{grid-column:1/-1}
  .emwh-workspace-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:850px){
  .emwh-position-health-heading{align-items:flex-start;flex-direction:column}
  .emwh-position-health-grid,.emwh-offer-overview-grid-primary,.emwh-overview-middle-grid,.emwh-workspace-intelligence-grid{grid-template-columns:1fr!important}
  .emwh-workspace-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* V4.6.8.36.40.21 - Workspace parallel tools and compact activity */
.emwh-workspace-quick-actions-primary{margin:0!important;padding:11px 12px!important}
.emwh-workspace-quick-actions-primary .emwh-tag{margin-bottom:8px}
.emwh-workspace-action{position:relative;min-height:46px!important}
.emwh-workspace-action.opens-new-tab small{position:absolute;right:9px;top:7px;font-size:10px;line-height:1;color:#55718d}
.emwh-workspace-action.opens-new-tab:hover small{color:#0867d1}
.emwh-workspace-activity-card .emwh-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}
.emwh-workspace-activity-card .emwh-section-heading a{font-size:10px;font-weight:800;text-decoration:none;white-space:nowrap}
.emwh-workspace-timeline-compact article{padding:9px 0 9px 2px!important}
.emwh-workspace-timeline-compact .emwh-activity-content{display:block!important;min-width:0}
.emwh-workspace-timeline-compact .emwh-activity-summary{display:grid!important;grid-template-columns:minmax(140px,1fr) auto auto!important;gap:8px!important;align-items:center!important}
.emwh-workspace-timeline-compact .emwh-activity-summary strong{font-size:11px!important;color:#0b2847}
.emwh-workspace-timeline-compact .emwh-activity-summary time,
.emwh-workspace-timeline-compact .emwh-activity-summary small{font-size:9px!important;color:#6b8095!important}
.emwh-workspace-timeline-compact details{margin-top:4px}
.emwh-workspace-timeline-compact summary{display:inline-block;cursor:pointer;color:#0867d1;font-size:9px;font-weight:800;list-style:none}
.emwh-workspace-timeline-compact summary::-webkit-details-marker{display:none}
.emwh-workspace-timeline-compact details p{margin:6px 0 0;padding:8px 10px;border:1px solid #dce7f1;border-radius:8px;background:#f8fafc;color:#40576d;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
@media(max-width:850px){
 .emwh-workspace-timeline-compact .emwh-activity-summary{grid-template-columns:1fr!important}
}

/* V4.6.8.36.40.22 - Workspace readiness checklist and guided next action */
.emwh-readiness-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.32fr);gap:10px;margin-top:10px;padding-top:10px;border-top:1px solid #dce7f1}
.emwh-readiness-checklist{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.emwh-readiness-check{display:flex;align-items:center;gap:6px;min-width:0;padding:7px 8px;border:1px solid #dce7f1;border-radius:9px;background:#f8fafc}
.emwh-readiness-check>span:first-child{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;border-radius:999px;font-size:10px;font-weight:900}
.emwh-readiness-check strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#27435e;font-size:10px}
.emwh-readiness-check.is-complete{border-color:#c8e9d4;background:#f1fbf5}
.emwh-readiness-check.is-complete>span:first-child{background:#dff5e7;color:#14713f}
.emwh-readiness-check.is-missing{border-color:#f0d39d;background:#fff9eb}
.emwh-readiness-check.is-missing>span:first-child{background:#ffedc4;color:#9a5d00}
.emwh-next-action{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;padding:10px 12px;border:1px solid #cfe0ef;border-radius:11px;background:#f7fbff}
.emwh-next-action.has-missing{border-color:#efcf91;background:#fff8e8}
.emwh-next-action.is-ready{border-color:#b7e8cb;background:#ecfdf3}
.emwh-next-action small{margin-bottom:3px;color:#6a7f94;font-size:9px;font-weight:900;letter-spacing:.06em}
.emwh-next-action strong{color:#0b2847;font-size:13px;line-height:1.25}
.emwh-next-action a{margin-top:7px;color:#0867d1;font-size:10px;font-weight:900;text-decoration:none}
.emwh-workspace-timeline-compact .emwh-activity-summary{grid-template-columns:minmax(0,1fr) auto!important}
.emwh-workspace-timeline-compact .emwh-activity-summary small{grid-column:1/-1!important;margin-top:-2px}
.emwh-workspace-intelligence-summary{display:flex;flex-direction:column;min-height:100%}
.emwh-workspace-intelligence-summary .emwh-workspace-intelligence-grid{gap:8px;margin-top:8px}
.emwh-workspace-intelligence-summary .emwh-value-block{padding:9px 10px!important;border:1px solid #e0e9f2;border-radius:10px;background:#f8fafc}
.emwh-workspace-intelligence-summary .emwh-inline-link{margin-top:10px;align-self:flex-start;font-weight:900;text-decoration:none}
@media(max-width:1250px){.emwh-readiness-checklist{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.emwh-readiness-panel{grid-template-columns:1fr}.emwh-readiness-checklist{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.emwh-readiness-checklist{grid-template-columns:1fr}}

/* V4.6.8.36.40.23 - Simplified workflow and activity closure */
.emwh-position-workflow{padding:14px!important}
.emwh-position-workflow-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.42fr);gap:12px;align-items:stretch}
.emwh-position-workflow-main>div:first-child{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0}
.emwh-workflow-status{display:inline-flex;align-items:center;max-width:100%;padding:7px 11px;border:1px solid #d6e2ed;border-radius:999px;background:#f4f8fc;color:#29445f;font-size:12px;font-weight:900;line-height:1.15;white-space:nowrap}
.emwh-workflow-status.is-ready-publication,.emwh-workflow-status.is-published{background:#eaf9f0;border-color:#b9e5c9;color:#14713f}
.emwh-workflow-status.is-waiting-confirmation,.emwh-workflow-status.is-waiting-pricing,.emwh-workflow-status.is-waiting-terms{background:#fff7e6;border-color:#edcf91;color:#8a5800}
.emwh-workflow-status.is-expired,.emwh-workflow-status.is-archived{background:#fff0ef;border-color:#eabdb8;color:#a42820}
.emwh-workflow-status.is-draft{background:#f3f6fa;border-color:#d9e3ed;color:#4a6076}
.emwh-position-workflow .emwh-tag{margin-bottom:7px}
.emwh-workflow-next{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:11px 13px;border:1px solid #cfe0ef;border-radius:11px;background:#f7fbff}
.emwh-workflow-next small{color:#6b8095;font-size:9px;font-weight:900;letter-spacing:.06em}
.emwh-workflow-next strong{margin-top:3px;color:#0b2847;font-size:14px;line-height:1.25}
.emwh-workflow-next a{margin-top:7px;color:#0867d1;font-size:10px;font-weight:900;text-decoration:none}
.emwh-position-workflow-meta{display:flex;gap:18px;margin-top:10px;padding-top:10px;border-top:1px solid #dce7f1}
.emwh-position-workflow-meta span{display:flex;gap:6px;align-items:baseline}
.emwh-position-workflow-meta small{color:#6b8095;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.emwh-position-workflow-meta strong{color:#29445f;font-size:10px}
.emwh-position-health-heading,.emwh-position-health-grid,.emwh-readiness-panel{display:none!important}
.is-modern-readiness .emwh-workflow-status{padding:5px 8px;font-size:9px}
.emwh-workflow-row-action{display:block;margin-top:5px;color:#0867d1;font-size:9px;font-weight:800;text-decoration:none;white-space:nowrap}
.emwh-simple-timeline{display:grid;gap:0}
.emwh-simple-timeline-event{position:relative;display:grid!important;grid-template-columns:16px minmax(0,1fr)!important;gap:10px!important;padding:12px 0!important;border-top:1px solid #e4ebf2!important}
.emwh-simple-timeline-event:first-child{border-top:0!important}
.emwh-simple-timeline-event:after{content:"";position:absolute;left:6px;top:25px;bottom:-12px;width:1px;background:#d9e4ef}
.emwh-simple-timeline-event:last-child:after{display:none}
.emwh-simple-timeline-dot{position:relative;z-index:1;width:10px;height:10px;margin-top:4px;border-radius:999px;background:#1481df;box-shadow:0 0 0 3px #e8f4ff}
.emwh-simple-timeline-body{display:block!important;min-width:0}
.emwh-simple-timeline-body>strong{display:block;color:#0b2847;font-size:12px;line-height:1.3}
.emwh-simple-timeline-meta{display:flex!important;flex-wrap:wrap;gap:5px!important;margin-top:3px;color:#6b8095;font-size:10px;line-height:1.35}
.emwh-simple-timeline-body details{margin-top:7px}
.emwh-simple-timeline-body summary{display:inline-block;cursor:pointer;color:#0867d1;font-size:10px;font-weight:900;list-style:none}
.emwh-simple-timeline-body summary::-webkit-details-marker{display:none}
.emwh-simple-timeline-body details p{margin:7px 0 0;padding:9px 10px;border:1px solid #dce7f1;border-radius:8px;background:#f8fafc;color:#40576d;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
@media(max-width:850px){
 .emwh-position-workflow-main{grid-template-columns:1fr}
 .emwh-position-workflow-meta{flex-direction:column;gap:5px}
}
.emwh-workflow-status.is-waiting-publication{background:#eef4ff;border-color:#cbdaf3;color:#31598c}


/* V4.6.8.36.40.24 - Sticky product identity and commercial summary clarity */
.emwh-workspace-sticky-identity{
  position:sticky;
  top:68px;
  z-index:72;
  display:flex;
  align-items:center;
  gap:16px;
  min-height:48px;
  margin:0 0 8px;
  padding:8px 12px;
  box-sizing:border-box;
  border:1px solid #d5e2ef;
  border-radius:11px;
  background:rgba(255,255,255,.96);
  box-shadow:0 8px 20px rgba(8,35,62,.08);
  backdrop-filter:blur(9px);
}
.emwh-workspace-sticky-product{display:flex;flex-direction:column;min-width:210px;line-height:1.2}
.emwh-workspace-sticky-product strong{color:#082846;font-size:14px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.emwh-workspace-sticky-product span{margin-top:2px;color:#5d748b;font-size:10px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.emwh-workspace-sticky-meta{display:flex;align-items:center;gap:12px;min-width:0;flex:1;color:#4e6880;font-size:10px;font-weight:800}
.emwh-workspace-sticky-meta span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.emwh-workspace-sticky-identity>.emwh-commercial-state{flex:0 0 auto;margin-left:auto}
.emwh-offer-overview-v5 .emwh-offer-summary-card:first-child .emwh-value-block:nth-child(1) small,
.emwh-offer-overview-v5 .emwh-offer-summary-card:first-child .emwh-value-block:nth-child(2) small{font-size:13px;font-weight:900;color:#082846}
@media(max-width:1050px){
  .emwh-workspace-sticky-meta span:nth-child(2){display:none}
}
@media(max-width:760px){
  .emwh-workspace-sticky-identity{top:68px;gap:8px}
  .emwh-workspace-sticky-product{min-width:0;flex:1}
  .emwh-workspace-sticky-meta{display:none}
}


/* V4.6.8.36.40.25 - Workspace final usability closure */
.emwh-workspace-sticky-identity{
  height:52px;
  min-height:52px;
  padding:5px 10px;
  gap:12px;
}
.emwh-workspace-sticky-product strong{font-size:13px}
.emwh-workspace-sticky-product span{font-size:9px}
.emwh-workspace-activity-card .emwh-section-heading{align-items:center}
.emwh-activity-heading-actions{display:flex;align-items:center;gap:10px}
.emwh-activity-toggle{
  appearance:none;
  border:1px solid #cfddea;
  border-radius:7px;
  background:#fff;
  color:#31506c;
  padding:5px 8px;
  font-size:9px;
  font-weight:900;
  cursor:pointer;
}
.emwh-activity-toggle:hover{background:#f5f9fd;border-color:#aebfd0}
.emwh-simple-timeline[hidden]{display:none!important}
.emwh-workspace-action-grid{grid-template-columns:repeat(7,minmax(0,1fr))}
@media(max-width:1220px){.emwh-workspace-action-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){
  .emwh-workspace-sticky-identity{height:50px;min-height:50px;padding:5px 8px}
  .emwh-workspace-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .emwh-activity-heading-actions{gap:6px}
}

/* V4.6.8.36.40.26 - Workspace overview final closure */
.emwh-workspace-sticky-identity{
  display:none;
  height:46px;
  min-height:46px;
  padding:6px 12px;
  gap:12px;
}
.emwh-workspace-sticky-identity.is-visible{display:flex}
.emwh-workspace-sticky-line{
  min-width:0;
  flex:1;
  color:#082846;
  font-size:13px;
  font-weight:950;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.emwh-workspace-action-grid{
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:8px;
}
.emwh-workspace-action{
  min-width:0;
  padding:9px 7px!important;
  font-size:10px!important;
}
.emwh-workspace-action span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.emwh-workspace-action.is-primary-action{
  background:#e8f8ef!important;
  border-color:#9fd9b5!important;
  color:#08753d!important;
}
.emwh-workflow-next{align-items:flex-start!important}
.emwh-workflow-primary-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:4px;
  padding:9px 14px;
  border-radius:8px;
  background:#0b7a42;
  color:#fff!important;
  font-size:12px;
  font-weight:900;
  text-decoration:none!important;
  box-shadow:0 5px 12px rgba(11,122,66,.16);
}
.emwh-workflow-primary-action:hover{background:#086636}
.emwh-workflow-next>span{margin-top:5px;color:#61788d;font-size:9px}
.emwh-simple-timeline-event{padding:7px 0!important}
.emwh-simple-timeline-body>strong{font-size:11px!important}
.emwh-simple-timeline-meta{font-size:9px!important}
.emwh-simple-timeline-body details{margin-top:3px!important}
@media(max-width:1180px){
  .emwh-workspace-action-grid{grid-template-columns:repeat(7,minmax(95px,1fr));overflow-x:auto;padding-bottom:3px}
}
@media(max-width:760px){
  .emwh-workspace-sticky-identity{height:44px;min-height:44px;padding:5px 8px}
  .emwh-workspace-sticky-line{font-size:12px}
}

.emwh-tier-pricing-editor .is-invalid{border-color:#dc2626!important;box-shadow:0 0 0 2px rgba(220,38,38,.12)!important}
.emwh-tier-pricing-editor button[type="submit"]:disabled{opacity:.7;cursor:wait}

/* V4.6.8.36.40.30 Pricing final closure. */
@media (min-width:1200px) and (min-height:760px){
  .emwh-pricing-professional{gap:7px}
  .emwh-pricing-professional .emwh-pricing-heading{align-items:center;min-height:34px;gap:12px}
  .emwh-pricing-professional .emwh-pricing-heading>div:first-child{display:flex;align-items:baseline;gap:10px;min-width:0;flex-wrap:wrap}
  .emwh-pricing-professional .emwh-pricing-heading .emwh-tag{flex:0 0 100%;line-height:1}
  .emwh-pricing-professional .emwh-pricing-heading h3{margin:1px 0 0;font-size:17px;line-height:1.08}
  .emwh-pricing-professional .emwh-pricing-heading p{font-size:10px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:720px}
  .emwh-pricing-professional .emwh-pricing-heading .emwh-btn{min-height:32px;padding:6px 11px;font-size:11px}

  .emwh-pricing-professional .emwh-pricing-fx-summary{gap:7px;margin:5px 0 7px}
  .emwh-pricing-professional .emwh-pricing-fx-summary>div{min-height:58px;padding:7px 10px;border-radius:11px}
  .emwh-pricing-professional .emwh-pricing-fx-summary small,
  .emwh-pricing-professional .emwh-pricing-fx-summary span{font-size:8.5px;line-height:1.15}
  .emwh-pricing-professional .emwh-pricing-fx-summary strong{font-size:16px;line-height:1.05;margin:2px 0}

  .emwh-pricing-professional .emwh-tier-comparison-table{border-radius:12px}
  .emwh-pricing-professional .emwh-tier-comparison-head{padding:6px 10px}
  .emwh-pricing-professional .emwh-tier-comparison-head span{font-size:8.5px;line-height:1}
  .emwh-pricing-professional .emwh-tier-comparison-row{min-height:42px;padding:6px 10px}
  .emwh-pricing-professional .emwh-tier-comparison-row>div small{padding:3px 6px}
  .emwh-pricing-professional .emwh-tier-comparison-row span,
  .emwh-pricing-professional .emwh-tier-comparison-row strong{font-size:10.5px;line-height:1.15}
  .emwh-pricing-professional .emwh-profit-readout{padding:5px 7px!important;min-height:34px!important}
  .emwh-pricing-professional .emwh-profit-readout em{font-size:8px!important;line-height:1.05}
  .emwh-pricing-professional .emwh-tier-status{font-size:7.5px!important;padding:2px 5px!important}

  .emwh-pricing-professional .emwh-pricing-terms-summary{margin:7px 0 0;padding:9px 12px;border-radius:12px}
  .emwh-pricing-professional .emwh-pricing-terms-summary-head{align-items:center;gap:10px}
  .emwh-pricing-professional .emwh-pricing-terms-summary-head>div:first-child{display:flex;align-items:center;gap:10px}
  .emwh-pricing-professional .emwh-pricing-terms-summary-head h3{margin:0;font-size:15px;line-height:1.05}
  .emwh-pricing-professional .emwh-pricing-terms-summary-head .emwh-secondary{min-height:28px;padding:4px 8px;font-size:10px}
  .emwh-pricing-professional .emwh-pricing-terms-summary-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-top:7px}
  .emwh-pricing-professional .emwh-pricing-terms-summary-grid>div{min-height:47px;padding:6px 8px;border-radius:8px}
  .emwh-pricing-professional .emwh-pricing-terms-summary-grid small{margin-bottom:2px;font-size:8px;line-height:1.05}
  .emwh-pricing-professional .emwh-pricing-terms-summary-grid strong{font-size:10px;line-height:1.18}
  .emwh-pricing-professional .emwh-pricing-terms-summary-grid .is-wide{grid-column:1/-1}
  .emwh-pricing-professional .emwh-pricing-terms-status,
  .emwh-pricing-professional>.emwh-tier-editor-note{display:none}
}


/* V4.6.8.36.40.30 Pricing final closure. */
.emwh-pricing-professional .emwh-pricing-terms-summary-head .emwh-secondary{white-space:nowrap}


/* V4.6.8.36.40.31 - Pricing edit workspace compact layout */
@media (min-width:1200px){
  .emwh-tier-pricing-editor-compact{padding:12px!important}
  .emwh-tier-pricing-editor-compact .emwh-tier-editor-toolbar{min-height:34px;margin-bottom:7px;align-items:center}
  .emwh-tier-pricing-editor-compact .emwh-tier-editor-toolbar h3{display:none}
  .emwh-tier-pricing-editor-compact .emwh-tier-editor-actions-top{gap:7px}
  .emwh-tier-pricing-editor-compact .emwh-tier-editor-actions-top .emwh-secondary,
  .emwh-tier-pricing-editor-compact .emwh-tier-editor-actions-top .emwh-primary{min-height:32px;padding:6px 10px;font-size:10px}

  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip{gap:6px;margin:5px 0 7px;padding:7px 9px;border-radius:11px}
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip>div,
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip>label{min-height:45px}
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip small{font-size:8px;line-height:1}
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip strong{font-size:11px;line-height:1.1}

  .emwh-tier-pricing-editor-compact .emwh-fx-control-grid{grid-template-columns:1fr .7fr .7fr .8fr 1fr;gap:6px;margin:6px 0}
  .emwh-tier-pricing-editor-compact .emwh-fx-control-grid label>span{font-size:8px;margin-bottom:3px}
  .emwh-tier-pricing-editor-compact .emwh-fx-result{min-height:48px;padding:6px 9px;border-radius:10px}
  .emwh-tier-pricing-editor-compact .emwh-fx-result strong{font-size:15px;line-height:1;margin:2px 0}
  .emwh-tier-pricing-editor-compact .emwh-fx-result small,
  .emwh-tier-pricing-editor-compact .emwh-fx-result span{font-size:8px;line-height:1.05}

  .emwh-tier-pricing-editor-compact input,
  .emwh-tier-pricing-editor-compact select{min-height:34px!important;height:34px;padding:5px 7px!important;border-radius:8px!important;font-size:10px!important}

  .emwh-tier-pricing-editor-compact .emwh-min-profit-policy{min-height:58px;margin:7px 0;padding:7px 10px;border-radius:11px;gap:12px}
  .emwh-tier-pricing-editor-compact .emwh-min-profit-policy small,
  .emwh-tier-pricing-editor-compact .emwh-min-profit-policy span{font-size:8px;line-height:1.05}
  .emwh-tier-pricing-editor-compact .emwh-min-profit-policy strong{font-size:15px;line-height:1.05;margin:2px 0}
  .emwh-tier-pricing-editor-compact .emwh-min-profit-policy p{font-size:9px;line-height:1.2;margin:0}

  .emwh-tier-pricing-editor-compact .emwh-pricing-commercial-terms{margin:7px 0;padding:9px 11px;border-radius:12px}
  .emwh-tier-pricing-editor-compact .emwh-pricing-commercial-terms-head{min-height:22px;margin-bottom:6px;align-items:center}
  .emwh-tier-pricing-editor-compact .emwh-pricing-commercial-terms-head h3,
  .emwh-tier-pricing-editor-compact .emwh-pricing-commercial-terms-head p,
  .emwh-tier-pricing-editor-compact .emwh-pricing-commercial-terms-head aside{display:none}
  .emwh-tier-pricing-editor-compact .emwh-pricing-commercial-terms-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
  .emwh-tier-pricing-editor-compact .emwh-commercial-terms-column{display:contents}
  .emwh-tier-pricing-editor-compact .emwh-pricing-commercial-terms label{gap:3px;margin:0;min-width:0}
  .emwh-tier-pricing-editor-compact .emwh-pricing-commercial-terms label>span:first-child{font-size:8px;line-height:1;text-transform:uppercase;letter-spacing:.04em}
  .emwh-tier-pricing-editor-compact .emwh-commercial-terms-percentages{display:grid;grid-template-columns:1fr 1fr;gap:5px;grid-column:span 2}
  .emwh-tier-pricing-editor-compact .emwh-pricing-payment-notes{grid-column:span 2}
  .emwh-tier-pricing-editor-compact .emwh-pricing-payment-notes textarea{min-height:45px;height:45px;padding:7px 9px;border-radius:8px;font-size:10px;line-height:1.25;resize:vertical}
  .emwh-tier-pricing-editor-compact .emwh-pricing-switch{min-height:34px;padding:4px 7px;border-radius:8px}
  .emwh-tier-pricing-editor-compact .emwh-pricing-switch b{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .emwh-tier-pricing-editor-compact .emwh-commercial-terms-validation:empty{display:none}

  .emwh-tier-pricing-editor-compact .emwh-tier-matrix{margin-top:7px;border-radius:12px}
  .emwh-tier-pricing-editor-compact .emwh-tier-matrix-head,
  .emwh-tier-pricing-editor-compact .emwh-tier-matrix-row{grid-template-columns:minmax(88px,.65fr) minmax(105px,.85fr) minmax(82px,.6fr) minmax(92px,.65fr) minmax(92px,.65fr) minmax(88px,.65fr) minmax(120px,.9fr) minmax(92px,.7fr) minmax(92px,.7fr) minmax(55px,.4fr);gap:6px;min-width:1120px}
  .emwh-tier-pricing-editor-compact .emwh-tier-matrix-head{padding:6px 9px}
  .emwh-tier-pricing-editor-compact .emwh-tier-matrix-head span{font-size:8px;line-height:1}
  .emwh-tier-pricing-editor-compact .emwh-tier-matrix-row{min-height:58px;padding:6px 9px}
  .emwh-tier-pricing-editor-compact .emwh-tier-matrix-row label>span,
  .emwh-tier-pricing-editor-compact .emwh-tier-output>span{display:none}
  .emwh-tier-pricing-editor-compact .emwh-tier-level{gap:5px}
  .emwh-tier-pricing-editor-compact .emwh-tier-level small{min-width:28px;height:24px;font-size:9px}
  .emwh-tier-pricing-editor-compact .emwh-tier-level strong{font-size:11px}
  .emwh-tier-pricing-editor-compact .emwh-tier-output strong{font-size:10px}
  .emwh-tier-pricing-editor-compact .emwh-profit-control{min-height:42px!important;padding:5px 7px!important;border-radius:8px!important}
  .emwh-tier-pricing-editor-compact .emwh-profit-control em{font-size:7.5px!important;line-height:1.05}
  .emwh-tier-pricing-editor-compact .emwh-apply-minimum{font-size:8px;padding:3px 5px;margin-top:2px}
  .emwh-tier-pricing-editor-compact .emwh-tier-lock{display:flex;align-items:center;justify-content:center;gap:4px}
  .emwh-tier-pricing-editor-compact .emwh-tier-lock input{width:16px!important;height:16px!important;min-height:16px!important;padding:0!important}

  .emwh-tier-pricing-editor-compact .emwh-tier-editor-note{margin:7px 0 0;padding:7px 10px;font-size:9px;line-height:1.2;border-radius:9px}
  .emwh-tier-pricing-editor-compact .emwh-workspace-editor-actions{display:none}
}
@media (min-width:1200px) and (max-height:820px){
  .emwh-tier-pricing-editor-compact .emwh-min-profit-policy p{max-width:580px}
  .emwh-tier-pricing-editor-compact .emwh-tier-editor-note{display:none}
}

/* V4.6.8.36.40.32 - Pricing edit manual-field guidance and percentage precision */
.emwh-tier-pricing-editor-compact .emwh-pricing-field-legend{
  display:inline-flex;align-items:center;gap:5px;white-space:nowrap;
  font-size:9px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:#8a6500;
}
.emwh-tier-pricing-editor-compact .emwh-pricing-field-legend i{
  width:9px;height:9px;border-radius:3px;background:#fff4bf;border:1px solid #d8ad28;box-sizing:border-box;
}
.emwh-tier-pricing-editor-compact .emwh-pricing-manual-field input:not([type="checkbox"]),
.emwh-tier-pricing-editor-compact .emwh-pricing-manual-field select,
.emwh-tier-pricing-editor-compact .emwh-pricing-manual-field textarea,
.emwh-tier-pricing-editor-compact .emwh-pricing-manual-field .emwh-pricing-switch{
  background-color:#fffdf3!important;
  border-color:#dfbd55!important;
  box-shadow:inset 3px 0 0 #e6b92e;
}
.emwh-tier-pricing-editor-compact .emwh-pricing-manual-field input:focus,
.emwh-tier-pricing-editor-compact .emwh-pricing-manual-field select:focus,
.emwh-tier-pricing-editor-compact .emwh-pricing-manual-field textarea:focus{
  border-color:#b88900!important;
  box-shadow:0 0 0 2px rgba(224,176,24,.16),inset 3px 0 0 #d9a400!important;
}
.emwh-tier-pricing-editor-compact .emwh-pricing-manual-field input[readonly],
.emwh-tier-pricing-editor-compact .emwh-pricing-manual-field input:disabled,
.emwh-tier-pricing-editor-compact .emwh-pricing-manual-field select:disabled{
  background:#f4f7fa!important;border-color:#d6dee8!important;box-shadow:none!important;color:#667085;
}
.emwh-tier-pricing-editor-compact .emwh-pricing-manual-conditional.is-system-controlled input{
  background:#f4f7fa!important;border-color:#d6dee8!important;box-shadow:none!important;color:#667085;
}
.emwh-tier-pricing-editor-compact .emwh-tier-lock.emwh-pricing-manual-field{
  min-height:34px;border:1px solid #dfbd55;border-radius:8px;background:#fffdf3;box-shadow:inset 3px 0 0 #e6b92e;
}
@media (max-width:1199px){
  .emwh-tier-pricing-editor-compact .emwh-pricing-field-legend{font-size:10px}
}


/* V4.6.8.36.40.33 - Pricing context strip proportion and alignment */
@media (min-width:1200px){
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip{
    grid-template-columns:minmax(150px,1fr) minmax(210px,1.35fr) minmax(120px,.8fr) minmax(170px,1.1fr) minmax(105px,.65fr) minmax(105px,.65fr);
    align-items:stretch;
  }
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip>div,
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip>label{
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
  }
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip>label:nth-child(4) input{
    text-align:right;
    font-variant-numeric:tabular-nums;
  }
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip>label:nth-child(5) select,
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip>label:nth-child(6) select{
    min-width:0;
  }
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip small{
    min-height:10px;
  }
}

/* V4.6.8.36.40.34 - Pricing visual hierarchy final polish */
.emwh-tier-pricing-editor-compact .emwh-pricing-field-legend{
  color:#64748b;
  font-weight:700;
  text-transform:none;
  letter-spacing:0;
}
.emwh-tier-pricing-editor-compact .emwh-pricing-field-legend i{
  width:8px;height:8px;border-radius:50%;background:#fff7d6;border-color:#d6a700;
}
.emwh-tier-pricing-editor-compact .emwh-pricing-decision-field input:not([type="checkbox"]),
.emwh-tier-pricing-editor-compact .emwh-pricing-decision-field select,
.emwh-tier-pricing-editor-compact .emwh-pricing-decision-field textarea{
  background-color:#fffdf3!important;
  border-color:#dfbd55!important;
  box-shadow:inset 3px 0 0 #e6b92e;
}
.emwh-tier-pricing-editor-compact .emwh-pricing-decision-field input:focus,
.emwh-tier-pricing-editor-compact .emwh-pricing-decision-field select:focus,
.emwh-tier-pricing-editor-compact .emwh-pricing-decision-field textarea:focus{
  border-color:#b88900!important;
  box-shadow:0 0 0 2px rgba(224,176,24,.16),inset 3px 0 0 #d9a400!important;
}
.emwh-tier-pricing-editor-compact .emwh-tier-lock.emwh-pricing-decision-field{
  min-height:34px;border:1px solid #dfbd55;border-radius:8px;background:#fffdf3;box-shadow:inset 3px 0 0 #e6b92e;
}
/* Neutral operational inputs: editable but not highlighted as commercial decisions. */
.emwh-tier-pricing-editor-compact .emwh-tier-context-strip input,
.emwh-tier-pricing-editor-compact .emwh-tier-context-strip select,
.emwh-tier-pricing-editor-compact .emwh-fx-control-grid input:not([readonly]),
.emwh-tier-pricing-editor-compact .emwh-fx-control-grid select,
.emwh-tier-pricing-editor-compact .emwh-pricing-commercial-terms input:not([type="checkbox"]),
.emwh-tier-pricing-editor-compact .emwh-pricing-commercial-terms select,
.emwh-tier-pricing-editor-compact .emwh-pricing-commercial-terms textarea,
.emwh-tier-pricing-editor-compact .emwh-pricing-commercial-terms .emwh-pricing-switch{
  background-color:#fff!important;border-color:#cbd5e1!important;box-shadow:none!important;
}
@media (min-width:1200px){
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip{
    grid-template-columns:minmax(150px,18fr) minmax(220px,28fr) minmax(90px,10fr) minmax(145px,18fr) minmax(105px,13fr) minmax(105px,13fr);
  }
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip>label:nth-child(4){max-width:220px;justify-self:stretch;}
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip>label:nth-child(5),
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip>label:nth-child(6){max-width:160px;justify-self:stretch;}
}
.emwh-tier-pricing-editor-compact .emwh-tier-matrix-row [data-percentage] input,
.emwh-tier-pricing-editor-compact .emwh-tier-matrix-row input[data-percentage]{text-align:right;font-variant-numeric:tabular-nums;}


/* V4.6.8.36.40.35 - Pricing final UX polish and context strip alignment */
@media (min-width:1200px){
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip{
    grid-template-columns:minmax(155px,18fr) minmax(230px,28fr) minmax(95px,10fr) minmax(145px,18fr) minmax(105px,13fr) minmax(105px,13fr);
    align-items:start;
    min-height:0;
    padding:8px 10px;
  }
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip>div,
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip>label{
    display:grid;
    grid-template-rows:11px 36px;
    align-content:start;
    justify-content:stretch;
    min-height:47px;
  }
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip>div strong{
    display:flex;
    align-items:center;
    min-height:36px;
    padding:0 1px;
  }
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip small{
    min-height:0;
    margin:0 0 3px;
    align-self:start;
  }
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip input,
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip select{
    height:36px!important;
    min-height:36px!important;
    align-self:start;
  }
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip>label:nth-child(4),
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip>label:nth-child(5),
  .emwh-tier-pricing-editor-compact .emwh-tier-context-strip>label:nth-child(6){
    max-width:none;
  }
  .emwh-tier-pricing-editor-compact .emwh-fx-result{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:48px;
  }
  .emwh-tier-pricing-editor-compact .emwh-pricing-payment-notes textarea{
    min-height:40px;
    height:40px;
  }
}
.emwh-tier-pricing-editor-compact .emwh-tier-matrix-row label[data-field="percentage"] input{
  text-align:right;
  font-variant-numeric:tabular-nums;
}


/* V4.6.8.36.40.36 - Pricing matrix header alignment */
.emwh-tier-pricing-editor-compact .emwh-tier-matrix-head,
.emwh-tier-pricing-editor-compact .emwh-tier-matrix-row{
  grid-template-columns:
    minmax(88px,.65fr)
    minmax(120px,1fr)
    minmax(92px,.72fr)
    minmax(92px,.7fr)
    minmax(150px,1.15fr)
    minmax(105px,.8fr)
    minmax(115px,.9fr)
    minmax(70px,.5fr)!important;
  min-width:920px;
}
.emwh-tier-pricing-editor-compact .emwh-tier-matrix-head span:last-child{
  text-align:center;
}


/* V4.6.8.36.40.37 - Pricing freeze: automatic source and final matrix alignment */
.emwh-tier-pricing-editor-compact .emwh-tier-matrix-head,
.emwh-tier-pricing-editor-compact .emwh-tier-matrix-row{
  grid-template-columns:
    minmax(88px,.65fr)
    minmax(150px,1.15fr)
    minmax(95px,.72fr)
    minmax(105px,.75fr)
    minmax(180px,1.25fr)
    minmax(120px,.85fr)
    minmax(72px,.5fr)!important;
  min-width:860px;
}
.emwh-tier-pricing-editor-compact .emwh-pricing-payment-notes textarea::placeholder{
  color:#a8b2c1;
  opacity:.72;
}

/* V4.6.8.36.40.38 - Availability layout foundation */
.emwh-availability-v38{display:grid;gap:10px}
.emwh-availability-heading{align-items:flex-start;margin-bottom:0}
.emwh-availability-heading-badges{margin:9px 0 0;display:flex;gap:6px;flex-wrap:wrap}
.emwh-availability-context-strip{display:grid;grid-template-columns:1.05fr 1.25fr .85fr 1.15fr 1.35fr;border:1px solid #d6e2f1;border-radius:12px;background:#f8fbff;overflow:hidden}
.emwh-availability-context-strip>div{padding:13px 15px;min-width:0;border-right:1px solid #e2eaf4;display:flex;flex-direction:column;justify-content:center;gap:4px}
.emwh-availability-context-strip>div:last-child{border-right:0}
.emwh-availability-context-strip small{font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#58708e}
.emwh-availability-context-strip strong{font-size:16px;line-height:1.18;color:#071c36;overflow-wrap:anywhere}
.emwh-availability-context-strip span{font-size:11px;color:#516985;line-height:1.25}
.emwh-availability-meta{margin:0!important;padding:12px!important}
.emwh-availability-details-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-top:8px!important}
.emwh-availability-details-grid .emwh-offer-kv{min-height:44px;padding:8px 10px}
.emwh-btn-danger{background:#b42318!important;border-color:#b42318!important;color:#fff!important}
.emwh-btn-danger:hover{background:#912018!important;border-color:#912018!important}
.emwh-inline-action-form{display:inline-flex}
@media(max-width:1100px){.emwh-availability-context-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.emwh-availability-context-strip>div{border-bottom:1px solid #e2eaf4}.emwh-availability-context-strip>div:nth-child(2n){border-right:0}.emwh-availability-context-strip>div:last-child{grid-column:1/-1;border-bottom:0}.emwh-availability-details-grid{grid-template-columns:1fr!important}}

/* V4.6.8.36.40.39 - Availability compact editing */
.emwh-availability-editor-v39{padding:14px!important}
.emwh-availability-editor-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.emwh-availability-editor-head h3{margin:3px 0 0;font-size:18px}
.emwh-availability-editor-grid{display:grid;grid-template-columns:1.1fr .55fr 1.25fr .65fr 1.1fr .7fr;gap:10px;align-items:end}
.emwh-availability-editor-grid label{display:flex;flex-direction:column;gap:5px;min-width:0}
.emwh-availability-editor-grid label>span{font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#385370}
.emwh-availability-editor-grid input,.emwh-availability-editor-grid select,.emwh-availability-editor-grid textarea{width:100%;min-height:38px;border:1px solid #d4deeb;border-radius:9px;background:#fff;padding:8px 10px;box-sizing:border-box}
.emwh-availability-editor-grid textarea{resize:vertical;min-height:54px}
.emwh-availability-editor-grid .emwh-manual-field input,.emwh-availability-editor-grid .emwh-manual-field select,.emwh-availability-editor-grid .emwh-manual-field textarea{border-color:#e4b323;background:#fffdf5;box-shadow:inset 3px 0 0 #e4b323}
.emwh-availability-editor-grid .emwh-editor-wide{grid-column:1/-1}
.emwh-editor-guidance{margin:10px 0 0;padding:8px 10px;border:1px solid #cfe0f6;border-radius:8px;background:#f3f8ff;color:#526d8c;font-size:12px}
@media(max-width:1200px){.emwh-availability-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.emwh-availability-editor-grid .emwh-editor-wide{grid-column:1/-1}}
@media(max-width:700px){.emwh-availability-editor-head{align-items:flex-start;flex-direction:column}.emwh-availability-editor-grid{grid-template-columns:1fr}.emwh-availability-editor-grid .emwh-editor-wide{grid-column:auto}}

/* V4.6.8.36.40.40 - Availability freeze polish */
.emwh-availability-v38 .emwh-pricing-heading h3{margin:4px 0 2px}
.emwh-availability-v38 .emwh-pricing-heading p{margin:0;color:#637b98}
.emwh-availability-v38 .emwh-workspace-heading-actions{gap:7px;flex-wrap:wrap;justify-content:flex-end}
.emwh-availability-v38 .emwh-condition-badges span{min-height:26px;display:inline-flex;align-items:center}
.emwh-availability-validity strong{white-space:nowrap}
.emwh-availability-details-grid .emwh-offer-kv small{font-size:9px}
.emwh-availability-details-grid .emwh-offer-kv strong{font-size:13px}
.emwh-availability-editor-v39 .emwh-workspace-editor-actions{margin:0;display:flex;align-items:center;gap:9px}
@media(min-width:1350px){.emwh-availability-context-strip>div{padding-top:11px;padding-bottom:11px}.emwh-availability-meta{padding:10px!important}.emwh-availability-details-grid .emwh-offer-kv{min-height:40px}}


/* V4.6.8.36.40.41 - Availability freeze closure and translation-ready polish */
.emwh-availability-editor-v41{padding:14px!important}
.emwh-availability-editor-v41 .emwh-availability-editor-head{margin-bottom:10px}
.emwh-availability-editor-v41 .emwh-availability-editor-grid{grid-template-columns:1fr 1.45fr .6fr .9fr .72fr;gap:10px;align-items:end}
.emwh-availability-editor-v41 .emwh-availability-quantity{grid-column:auto}
.emwh-availability-editor-v41 .emwh-availability-policy{grid-column:1/3}
.emwh-availability-editor-v41 .emwh-editor-wide{grid-column:1/-1}
.emwh-input-with-suffix{position:relative;display:block}
.emwh-input-with-suffix input{padding-right:54px!important}
.emwh-input-with-suffix b{position:absolute;right:11px;top:50%;transform:translateY(-50%);font-size:11px;color:#536b88;text-transform:uppercase;pointer-events:none}
.emwh-availability-editor-v41 textarea{min-height:48px!important;max-height:150px;resize:vertical}
.emwh-availability-editor-v41 .emwh-editor-guidance{padding:7px 10px;margin-top:8px}
.emwh-availability-validity span+span{margin-top:1px}
@media(max-width:1200px){
  .emwh-availability-editor-v41 .emwh-availability-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .emwh-availability-editor-v41 .emwh-availability-policy,.emwh-availability-editor-v41 .emwh-editor-wide{grid-column:1/-1}
}
@media(max-width:700px){
  .emwh-availability-editor-v41 .emwh-availability-editor-grid{grid-template-columns:1fr}
  .emwh-availability-editor-v41 .emwh-availability-policy,.emwh-availability-editor-v41 .emwh-editor-wide{grid-column:auto}
}
\n/* V4.6.8.36.40.42 - Availability lifecycle signals and badge guidance */
.emwh-availability-validity{position:relative;transition:border-color .18s ease,background-color .18s ease}
.emwh-availability-validity.is-warning{background:#fff8e8;border-left:4px solid #d89b00}
.emwh-availability-validity.is-warning strong,.emwh-availability-validity.is-warning .emwh-availability-countdown{color:#8a5700;font-weight:800}
.emwh-availability-validity.is-expired{background:#fff0f0;border-left:4px solid #c92b2b}
.emwh-availability-validity.is-expired strong,.emwh-availability-validity.is-expired .emwh-availability-countdown{color:#a51f1f;font-weight:800}
.emwh-availability-validity.is-valid{border-left:4px solid #2c9c63}
.emwh-availability-validity.is-valid .emwh-availability-countdown{color:#237a50;font-weight:700}
.emwh-availability-heading-badges .emwh-availability-badge{cursor:help;position:relative}
.emwh-availability-heading-badges .emwh-availability-badge:focus{outline:2px solid #146bd1;outline-offset:2px}

/* V4.6.8.36.41.01 - Documents compact layout */
.emwh-documents-compact{gap:8px}
.emwh-documents-compact .emwh-documents-heading{align-items:center;gap:12px}
.emwh-documents-compact .emwh-documents-heading h3{margin:3px 0 1px;font-size:18px}
.emwh-documents-compact .emwh-documents-heading p{font-size:10px}
.emwh-documents-compact .emwh-documents-primary-grid{gap:8px}
.emwh-documents-compact .emwh-documents-primary-grid article{min-height:64px;padding:9px 11px;gap:2px}
.emwh-documents-compact .emwh-documents-primary-grid strong{font-size:18px}
.emwh-document-upload-panel-compact{grid-template-columns:minmax(190px,.65fr) minmax(0,2.35fr);gap:14px;align-items:end;padding:10px!important}
.emwh-document-upload-intro{align-self:center}
.emwh-document-upload-intro p{font-size:9px!important;line-height:1.35}
.emwh-document-upload-panel-compact .emwh-document-upload-form{grid-template-columns:minmax(230px,1.05fr) minmax(260px,1.25fr) auto;gap:9px}
.emwh-document-upload-panel-compact .emwh-document-upload-form label{gap:4px}
.emwh-document-upload-panel-compact .emwh-document-upload-form input{min-height:34px;padding:5px 8px}
.emwh-document-upload-panel-compact .emwh-document-file-summary{min-height:35px;padding:5px 8px}
.emwh-position-document-panel{margin-top:0!important;padding:10px!important}
.emwh-document-empty-compact{min-height:72px;padding:12px 14px;display:flex;align-items:center;justify-content:center;gap:10px;text-align:left}
.emwh-document-empty-compact span{font-size:27px;margin:0}
.emwh-document-empty-compact strong{margin:0;font-size:11px}
.emwh-document-empty-compact p{margin:2px 0 0;font-size:10px}
.emwh-documents-compact .emwh-documents-detail-grid{gap:8px}
.emwh-documents-compact .emwh-document-panel,.emwh-documents-compact .emwh-document-checklist{padding:9px!important}
.emwh-documents-compact .emwh-document-list{margin:4px 0}
.emwh-documents-compact .emwh-document-list>div{padding:7px 0;grid-template-columns:25px minmax(0,1fr) auto auto;gap:7px}
.emwh-documents-compact .emwh-document-icon{font-size:16px}
.emwh-documents-compact .emwh-document-supplier{margin:6px 0 8px;grid-template-columns:28px 1fr;gap:8px;align-items:center}
.emwh-documents-compact .emwh-document-supplier p{line-height:1.35;font-size:9px}
.emwh-documents-compact .emwh-document-check-grid{gap:6px;margin-top:6px}
.emwh-documents-compact .emwh-document-check-grid>div{padding:6px 8px;min-height:42px;align-items:center}
.emwh-documents-compact .emwh-document-check-grid strong{font-size:9px}
.emwh-documents-compact .emwh-document-check-grid small{font-size:7.5px}
@media(max-width:1100px){
  .emwh-document-upload-panel-compact,.emwh-document-upload-panel-compact .emwh-document-upload-form{grid-template-columns:1fr}
}

/* V4.6.8.36.41.02 - Documents dense layout polish */
.emwh-documents-dense{gap:6px}
.emwh-documents-dense .emwh-documents-heading{min-height:38px;margin-bottom:0}
.emwh-documents-dense .emwh-documents-heading h3{margin:1px 0 0;font-size:17px;line-height:1.15}
.emwh-documents-dense .emwh-documents-heading p{margin-top:1px;line-height:1.25}
.emwh-documents-dense .emwh-documents-primary-grid{gap:7px}
.emwh-documents-dense .emwh-documents-primary-grid article{min-height:54px;padding:7px 10px}
.emwh-documents-dense .emwh-documents-primary-grid article small{line-height:1.1}
.emwh-documents-dense .emwh-documents-primary-grid strong{font-size:16px;line-height:1.1}
.emwh-documents-dense .emwh-documents-primary-grid span{font-size:8px;line-height:1.15}

.emwh-documents-dense .emwh-document-upload-panel-compact{grid-template-columns:250px minmax(0,1fr);gap:10px;padding:7px 10px!important;align-items:center}
.emwh-documents-dense .emwh-document-upload-intro{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0}
.emwh-documents-dense .emwh-document-upload-intro p{margin:0;font-size:8.5px!important;white-space:nowrap}
.emwh-documents-dense .emwh-document-upload-form{grid-template-columns:minmax(260px,1.1fr) minmax(300px,1.4fr) auto;gap:8px;align-items:end}
.emwh-documents-dense .emwh-document-upload-form label{gap:2px}
.emwh-documents-dense .emwh-document-upload-form label>span:first-child{font-size:8px;line-height:1}
.emwh-documents-dense .emwh-document-upload-form input{min-height:30px;padding:3px 7px}
.emwh-documents-dense .emwh-document-file-summary{min-height:28px;padding:3px 7px;display:flex;align-items:center;gap:6px}
.emwh-documents-dense .emwh-document-file-summary strong{font-size:8.5px}
.emwh-documents-dense .emwh-document-file-summary small{font-size:7px}
.emwh-documents-dense .emwh-document-upload-form .emwh-btn{min-height:32px;padding:6px 12px;white-space:nowrap}

.emwh-documents-dense .emwh-position-document-panel{padding:7px 9px!important}
.emwh-documents-dense .emwh-document-empty-compact{min-height:54px;padding:7px 12px;gap:8px}
.emwh-documents-dense .emwh-document-empty-compact span{font-size:20px}
.emwh-documents-dense .emwh-document-empty-compact strong{font-size:10px}
.emwh-documents-dense .emwh-document-empty-compact p{font-size:8.5px;line-height:1.2}

.emwh-documents-dense .emwh-documents-detail-grid{gap:7px}
.emwh-documents-dense .emwh-document-panel{padding:7px 9px!important}
.emwh-documents-dense .emwh-document-list{margin:2px 0}
.emwh-documents-dense .emwh-document-list>div{padding:5px 0;grid-template-columns:20px minmax(0,1fr) auto auto;gap:6px}
.emwh-documents-dense .emwh-document-list strong{font-size:9px;line-height:1.15}
.emwh-documents-dense .emwh-document-list small{font-size:7.5px;line-height:1.2}
.emwh-documents-dense .emwh-document-icon{font-size:14px}
.emwh-documents-dense .emwh-inline-link{font-size:9px}
.emwh-documents-dense .emwh-document-supplier{margin:3px 0 5px;grid-template-columns:22px minmax(0,1fr);gap:6px}
.emwh-documents-dense .emwh-document-supplier strong{font-size:9px}
.emwh-documents-dense .emwh-document-supplier p{margin:1px 0 0;font-size:8px;line-height:1.2}
.emwh-documents-dense .emwh-document-panel .emwh-btn-light{min-height:30px;padding:5px 9px}

.emwh-documents-dense .emwh-document-checklist{padding:7px 9px!important}
.emwh-documents-dense .emwh-document-check-grid{gap:5px;margin-top:4px}
.emwh-documents-dense .emwh-document-check-grid>div{min-height:32px;padding:4px 7px;gap:6px}
.emwh-documents-dense .emwh-document-check-grid strong{font-size:8.5px;line-height:1.1}
.emwh-documents-dense .emwh-document-check-grid small{font-size:6.8px;line-height:1.1}
.emwh-documents-dense + .emwh-record-actions,
.emwh-documents-dense ~ .emwh-record-actions{margin-top:6px}

@media(max-width:1200px){
  .emwh-documents-dense .emwh-document-upload-panel-compact{grid-template-columns:1fr}
  .emwh-documents-dense .emwh-document-upload-intro{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px}
  .emwh-documents-dense .emwh-document-upload-intro p{white-space:normal}
}
@media(max-width:900px){
  .emwh-documents-dense .emwh-document-upload-form{grid-template-columns:1fr}
}

/* V4.6.8.36.41.03 - Documents upload workflow polish */
.emwh-documents-dense .emwh-document-file-field{display:grid;grid-template-columns:minmax(210px,.9fr) minmax(220px,1.1fr);gap:7px;align-items:end}
.emwh-documents-dense .emwh-document-field-label{grid-column:1/-1;font-size:8px;font-weight:800;line-height:1;text-transform:uppercase;letter-spacing:.04em;color:#415a78}
.emwh-document-dropzone{min-height:36px;border:1px dashed #9cbce5;border-radius:9px;background:#f8fbff;padding:5px 8px;display:flex;align-items:center;gap:7px;cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}
.emwh-document-dropzone input{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;clip-path:inset(50%)!important}
.emwh-document-dropzone-icon{width:24px;height:24px;border-radius:7px;background:#eaf3ff;color:#075fc7;display:inline-flex;align-items:center;justify-content:center;font-size:15px;font-weight:900;flex:0 0 auto}
.emwh-document-dropzone strong,.emwh-document-dropzone small{display:block;line-height:1.15}
.emwh-document-dropzone strong{font-size:9px;color:#0d2b4d}
.emwh-document-dropzone small{font-size:7.5px;color:#6d8098;margin-top:2px}
.emwh-document-dropzone:hover,.emwh-document-dropzone:focus-within,.emwh-document-dropzone.is-dragging{border-color:#1677db;background:#eef6ff;box-shadow:0 0 0 2px rgba(22,119,219,.08)}
.emwh-document-dropzone.is-selected{border-style:solid;border-color:#68bd88;background:#f2fbf5}
.emwh-document-dropzone.is-error{border-style:solid;border-color:#d96b78;background:#fff4f5}
@media(max-width:1250px){.emwh-documents-dense .emwh-document-file-field{grid-template-columns:1fr}}

/* V4.6.8.36.41.06 - Commercial Publication decision clarity */
.emwh-publication-safe-notice{min-height:38px;margin:10px 0 12px;padding:8px 12px;border:1px solid #bfe3cd;border-radius:10px;background:#eefaf2;display:flex;align-items:center;gap:10px;color:#1d5f38}
.emwh-publication-safe-notice strong{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
.emwh-publication-safe-notice span{font-size:12px;color:#3f6e52}
.emwh-publication-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 12px}
.emwh-publication-kpi{min-height:62px;padding:10px 12px;border:1px solid #dbe5f0;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px}
.emwh-publication-kpi span{font-size:11px;font-weight:800;color:#50657d}
.emwh-publication-kpi strong{font-size:24px;line-height:1;color:#12385f}
.emwh-publication-kpi.is-ready{border-left:4px solid #2aaa66}.emwh-publication-kpi.is-review{border-left:4px solid #e0ad2f}.emwh-publication-kpi.is-blocked{border-left:4px solid #d65a66}.emwh-publication-kpi.is-published{border-left:4px solid #2476d2}
.emwh-publication-channel-list{display:flex;flex-wrap:wrap;gap:5px;max-width:160px}
.emwh-publication-channel{display:inline-flex;align-items:center;min-height:24px;padding:3px 7px;border:1px solid #c9d9ec;border-radius:999px;background:#f4f8fd;color:#214e7d;font-size:10px;font-weight:800;line-height:1.1}
.emwh-publication-channel.is-empty{color:#8796a8;background:#f8fafc;border-color:#e2e8f0}
.emwh-publication-table td:nth-child(5),.emwh-publication-table td:nth-child(6){white-space:nowrap}
.emwh-publication-table td:nth-child(7) small{display:block;max-width:120px;line-height:1.25}
.emwh-publication-table td:nth-child(9) small:first-of-type{font-weight:700;color:#536b83}
.emwh-publication-row-action{min-width:92px;justify-content:center;padding-left:12px!important;padding-right:12px!important}
@media(max-width:1180px){.emwh-publication-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.emwh-publication-safe-notice{align-items:flex-start;flex-direction:column;gap:3px}.emwh-publication-kpis{grid-template-columns:1fr}}


/* V4.6.8.36.41.07 - Publication queue configuration clarity */
.emwh-publication-table td:nth-child(7) small,
.emwh-publication-table td:nth-child(8) small { margin-top: 4px; }
.emwh-publication-table .emwh-workflow-status { white-space: nowrap; }
#publication-review { scroll-margin-top: 92px; }

/* V4.6.8.36.41.08 — expiry and commercial priority control */
.emwh-expiry-publication-alert{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.emwh-expiry-publication-alert span{flex:1;min-width:260px}
.emwh-publication-priority-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 12px}
.emwh-publication-priority-card{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:9px 12px;border:1px solid #dbe4f0;border-left:3px solid #94a3b8;border-radius:10px;background:#fff;color:#10233f;text-decoration:none}
.emwh-publication-priority-card strong{font-size:20px;line-height:1}.emwh-publication-priority-card span{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
.emwh-publication-priority-card.is-active{box-shadow:0 0 0 2px rgba(37,99,235,.14)}
.emwh-publication-priority-card.is-expired{border-left-color:#dc2626}.emwh-publication-priority-card.is-promotion{border-left-color:#7c3aed}.emwh-publication-priority-card.is-quick-sale{border-left-color:#ea580c}.emwh-publication-priority-card.is-opportunity{border-left-color:#0284c7}
.emwh-publication-flags{display:flex;flex-wrap:wrap;gap:5px;min-width:105px}.emwh-priority-chip{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:800;line-height:1.15;white-space:nowrap}
.emwh-priority-chip.is-expired{background:#fee2e2;color:#b91c1c}.emwh-priority-chip.is-promotion{background:#ede9fe;color:#6d28d9}.emwh-priority-chip.is-quick-sale{background:#ffedd5;color:#c2410c}.emwh-priority-chip.is-opportunity{background:#e0f2fe;color:#0369a1}.emwh-priority-empty{color:#94a3b8}
.emwh-publication-commercial-flags{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0;padding:12px;border:1px solid #dbe4f0;border-radius:10px}.emwh-publication-commercial-flags legend{padding:0 6px;font-weight:800;color:#10233f}.emwh-publication-commercial-flags label{display:grid;grid-template-columns:auto 1fr;column-gap:7px;align-items:start;padding:9px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.emwh-publication-commercial-flags input{margin-top:2px}.emwh-publication-commercial-flags small{grid-column:2;color:#64748b}
@media(max-width:1180px){.emwh-publication-priority-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.emwh-publication-priority-kpis,.emwh-publication-commercial-flags{grid-template-columns:1fr}}

/* V4.6.8.36.41.09 — simplified publication control */
.emwh-publication-control-panel{scroll-margin-top:90px}
.emwh-publication-auto-status{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 16px}
.emwh-publication-auto-status>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid #d7e2ef;border-radius:10px;background:#f8fbfe}
.emwh-publication-auto-status small{font-weight:700;color:#546579}
.emwh-publication-grid-fast{grid-template-columns:repeat(5,minmax(0,1fr))}
.emwh-publication-options-fast{margin-top:14px}
.emwh-publication-priority-control{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0;padding:12px 14px;border:1px solid #d7e2ef;border-radius:12px;background:#fbfdff}
.emwh-publication-priority-control legend{padding:0 7px;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#163a63}
.emwh-publication-priority-control label{display:flex;align-items:center;gap:8px;min-height:36px;padding:7px 11px;border:1px solid #d7e2ef;border-radius:9px;background:#fff}
.emwh-publication-fast-form .emwh-publication-notes textarea{min-height:72px}
@media (max-width:1200px){.emwh-publication-grid-fast{grid-template-columns:repeat(3,minmax(0,1fr))}.emwh-publication-auto-status{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* V4.6.8.36.41.10 - Publication destinations and compact control */
.emwh-publication-control-panel{padding:14px 16px}
.emwh-publication-control-panel .emwh-section-heading{margin-bottom:8px}
.emwh-publication-control-panel .emwh-section-heading p{margin-top:3px;max-width:920px}
.emwh-publication-auto-status{gap:7px;margin:8px 0 10px}
.emwh-publication-auto-status>div{min-height:38px;padding:6px 9px;border-radius:8px}
.emwh-publication-grid-fast{gap:8px;margin-top:8px}
.emwh-publication-grid-fast label>span{margin-bottom:3px}
.emwh-publication-grid-fast select,.emwh-publication-grid-fast input{min-height:36px;padding-top:6px;padding-bottom:6px}
.emwh-publication-destinations,.emwh-publication-priority-control{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;margin:9px 0;padding:9px 11px;border:1px solid #d7e2ef;border-radius:10px;background:#fbfdff}
.emwh-publication-destinations legend,.emwh-publication-priority-control legend{padding:0 6px;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#163a63}
.emwh-publication-destinations label{display:grid;grid-template-columns:auto 1fr;align-items:start;gap:7px;flex:1 1 280px;min-height:46px;padding:7px 10px;border:1px solid #d7e2ef;border-radius:8px;background:#fff}
.emwh-publication-destinations input{margin-top:3px}
.emwh-publication-destinations span,.emwh-publication-destinations b,.emwh-publication-destinations small{display:block}
.emwh-publication-destinations small{margin-top:2px;font-size:10px;line-height:1.25;color:#61758d}
.emwh-publication-priority-control label{min-height:32px;padding:5px 9px;border-radius:8px}
.emwh-publication-fast-form .emwh-publication-notes{margin-top:7px}
.emwh-publication-fast-form .emwh-publication-notes textarea{min-height:50px;max-height:120px;padding:7px 9px}
.emwh-publication-fast-form .emwh-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}
.emwh-publication-table-compact th,.emwh-publication-table-compact td{padding-top:7px!important;padding-bottom:7px!important;vertical-align:middle}
.emwh-publication-table-compact td small{margin-top:2px!important;line-height:1.15}
.emwh-publication-table-compact .emwh-workflow-status{min-height:22px;padding:3px 7px;font-size:10px}
.emwh-publication-table-compact .emwh-priority-chip{min-height:21px;padding:2px 7px}
.emwh-publication-table-compact .emwh-publication-progress{margin-bottom:3px}
.emwh-publication-destination-chips{display:flex;flex-wrap:wrap;gap:4px;min-width:95px}
.emwh-publication-destination-chip{display:inline-flex;align-items:center;min-height:22px;padding:3px 7px;border:1px solid #bfd4ed;border-radius:999px;background:#eef6ff;color:#174e86;font-size:10px;font-weight:800;white-space:nowrap}
.emwh-publication-table-compact .emwh-publication-row-action{min-height:34px;min-width:82px;padding:6px 10px!important}
@media(max-width:1200px){.emwh-publication-grid-fast{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.emwh-publication-control-panel{padding:12px}.emwh-publication-grid-fast{grid-template-columns:1fr}.emwh-publication-destinations{display:grid}.emwh-publication-destinations label{min-width:0}}

/* V4.6.8.36.41.11 - Publication pagination, visible labels and density refinement */
.emwh-publication-destinations{align-items:center;padding:7px 9px;margin:7px 0}
.emwh-publication-destinations label{display:flex;align-items:center;gap:8px;flex:1 1 300px;min-height:38px;padding:6px 9px;color:#10233f;cursor:pointer}
.emwh-publication-destinations label>span{display:flex!important;align-items:center;gap:8px;min-width:0}
.emwh-publication-destinations label b{display:inline!important;color:#10233f!important;font-size:12px;font-weight:850;white-space:nowrap;opacity:1!important;visibility:visible!important}
.emwh-publication-destinations label small{display:inline!important;margin:0!important;color:#61758d!important;font-size:10px;line-height:1.2;opacity:1!important;visibility:visible!important}
.emwh-publication-priority-control{align-items:center;padding:7px 9px;margin:7px 0}
.emwh-publication-priority-control label{display:inline-flex!important;align-items:center;gap:7px;min-width:130px;min-height:30px;padding:5px 9px;color:#10233f!important;cursor:pointer}
.emwh-publication-priority-control label b{display:inline!important;color:#10233f!important;font-size:11px;font-weight:850;opacity:1!important;visibility:visible!important}
.emwh-publication-priority-control input,.emwh-publication-destinations input{flex:0 0 auto;accent-color:#1674d1}
.emwh-publication-fast-form .emwh-publication-notes textarea{min-height:42px}
.emwh-publication-table-compact th,.emwh-publication-table-compact td{padding-top:6px!important;padding-bottom:6px!important}
.emwh-publication-table-compact tbody tr{height:58px}
.emwh-publication-table-compact td:nth-child(2){min-width:300px}
.emwh-publication-table-compact td:nth-child(9){min-width:118px}
.emwh-publication-pagination{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;margin:12px 0 2px;padding-top:10px;border-top:1px solid #dbe5f0}
.emwh-publication-page{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 8px;border:1px solid #c9d9ec;border-radius:8px;background:#fff;color:#174e86;font-size:11px;font-weight:800;text-decoration:none}
.emwh-publication-page:hover,.emwh-publication-page.is-current{border-color:#1674d1;background:#1674d1;color:#fff}
.emwh-publication-page-gap{padding:0 3px;color:#64748b}
.emwh-publication-filter-summary{margin:7px 0 0;padding:6px 9px;border:1px solid #dbe7f5;border-radius:8px;background:#f8fbfe;color:#52677e;font-size:11px}
@media(max-width:900px){.emwh-publication-destinations label>span{display:block!important}.emwh-publication-destinations label small{display:block!important;margin-top:2px!important}.emwh-publication-table-compact td:nth-child(2){min-width:240px}}


/* V4.6.8.36.41.12 - Automatic lifecycle dates and exclusive commercial priority */
.emwh-publication-grid-fast .emwh-automatic-date input[readonly]{background:#f5f8fc;color:#173452;cursor:default}
.emwh-publication-grid-fast .emwh-automatic-date small{display:block;margin-top:4px;color:#6b7f99;font-size:11px;line-height:1.25}
.emwh-publication-priority-control{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.emwh-publication-priority-control legend{width:100%}
.emwh-publication-priority-control label{min-width:0;flex:0 0 auto;padding:8px 12px}
.emwh-publication-priority-control .emwh-priority-help{width:100%;margin-top:0;color:#6b7f99;font-size:11px}


/* V4.6.8.36.41.13 - Keep the reviewed product clearly identified */
.emwh-publication-review-heading h2{margin-bottom:2px}
.emwh-publication-review-ids{display:flex;align-items:center;gap:7px;margin:0 0 4px;color:#637896;font-size:12px;line-height:1.3}
.emwh-publication-review-ids strong{color:#173f70;font-weight:800}
@media(max-width:760px){.emwh-publication-review-ids{flex-wrap:wrap}}


/* V4.6.8.36.41.14 - Publication pagination flow repair */
.emwh-publication-table.emwh-table{min-width:1180px}
.emwh-card:has(.emwh-publication-table) .emwh-table-wrap{max-height:none!important;min-height:0!important;overflow-x:auto!important;overflow-y:visible!important}
.emwh-card:has(.emwh-publication-table) .emwh-publication-pagination{position:static!important;clear:both;width:100%;margin:12px 0 0;padding:12px 0 2px;background:#fff;z-index:auto}
.emwh-card:has(.emwh-publication-table){overflow:visible}

/* V4.6.8.36.41.21 - ERP visual field system for active modules */
.emwh-field{position:relative;display:flex;flex-direction:column;gap:5px;min-width:0}
.emwh-field>span:first-child{font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#385370}
.emwh-field input,.emwh-field select,.emwh-field textarea{width:100%;box-sizing:border-box;min-height:38px;border:1px solid #d4deeb;border-radius:9px;padding:8px 10px;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}
.emwh-field--manual input,.emwh-field--manual textarea{border-color:#e4b323;background:#fff8dc;box-shadow:inset 3px 0 0 #e4b323}
.emwh-field--manual input:focus,.emwh-field--manual textarea:focus{border-color:#c89400;box-shadow:inset 3px 0 0 #c89400,0 0 0 1px #c89400;outline:0}
.emwh-field--select select{border-color:#d4deeb;background:#fff;box-shadow:inset 4px 0 0 #e4b323}
.emwh-field--select select:focus{border-color:#c89400;box-shadow:inset 4px 0 0 #c89400,0 0 0 1px #c89400;outline:0}
.emwh-field--automatic input[readonly],.emwh-field--automatic .emwh-status-readonly,.emwh-field--automatic .emwh-publication-status-readonly{border-color:#cfd9e6;background:#f1f4f8;box-shadow:inset 4px 0 0 #2f80d0;color:#40566f}
.emwh-field--automatic input[readonly]{cursor:default}
.emwh-field--automatic small{color:#53769c}
.emwh-availability-status-readonly .emwh-status-readonly{min-height:38px;border:1px solid #cfd9e6;border-radius:9px;padding:7px 10px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.emwh-availability-status-readonly .emwh-status-readonly small{font-size:10px;line-height:1.25;flex:1 1 160px}
.emwh-availability-editor-v41 .emwh-editor-guidance{border-left:4px solid #2f80d0;background:#f3f7fc}


/* V4.6.8.36.41.23 - Availability manual fields permanently visible */
.emwh-availability-editor-v41 .emwh-field--manual input:not([type="hidden"]),
.emwh-availability-editor-v41 .emwh-field--manual textarea{
  appearance:auto!important;
  -webkit-appearance:auto!important;
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  min-height:38px!important;
  border:1px solid #e4b323!important;
  border-left-width:4px!important;
  border-left-color:#e4b323!important;
  border-radius:9px!important;
  background:#fff8dc!important;
  background-color:#fff8dc!important;
  color:#173452!important;
  box-shadow:none!important;
}
.emwh-availability-editor-v41 .emwh-field--manual input:not([type="hidden"]):hover,
.emwh-availability-editor-v41 .emwh-field--manual textarea:hover{
  border-color:#d6a300!important;
}
.emwh-availability-editor-v41 .emwh-field--manual input:not([type="hidden"]):focus,
.emwh-availability-editor-v41 .emwh-field--manual input:not([type="hidden"]):focus-visible,
.emwh-availability-editor-v41 .emwh-field--manual textarea:focus,
.emwh-availability-editor-v41 .emwh-field--manual textarea:focus-visible{
  border-color:#c89400!important;
  border-left-color:#c89400!important;
  background:#fff6cf!important;
  outline:0!important;
  box-shadow:0 0 0 2px rgba(200,148,0,.16)!important;
}
.emwh-availability-editor-v41 .emwh-input-with-suffix{
  display:block!important;
  min-height:38px!important;
  background:transparent!important;
}
.emwh-availability-editor-v41 .emwh-input-with-suffix input{
  width:100%!important;
  padding-right:54px!important;
}
.emwh-availability-editor-v41 .emwh-field--select select{
  opacity:1!important;
  visibility:visible!important;
  border:1px solid #d4deeb!important;
  border-left:4px solid #e4b323!important;
  background-color:#fff!important;
  color:#173452!important;
  box-shadow:none!important;
}
.emwh-availability-editor-v41 .emwh-field--automatic .emwh-status-readonly{
  border:1px solid #cfd9e6!important;
  border-left:4px solid #2f80d0!important;
  background:#f1f4f8!important;
  box-shadow:none!important;
}
.emwh-availability-editor-v41 .emwh-editor-guidance{display:none!important}


/* V4.6.8.36.41.24 - Publication persistent visual field styling */
.emwh-publication-editor-v41 .emwh-field--automatic input[readonly],
.emwh-publication-editor-v41 .emwh-field--automatic .emwh-publication-status-readonly{
  opacity:1!important;
  visibility:visible!important;
  min-height:38px!important;
  border:1px solid #cfd9e6!important;
  border-left:4px solid #2f80d0!important;
  border-radius:9px!important;
  background:#f1f4f8!important;
  color:#40566f!important;
  box-shadow:none!important;
}
.emwh-publication-editor-v41 .emwh-field--automatic .emwh-publication-status-readonly{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:7px 10px!important;
  flex-wrap:wrap!important;
}
.emwh-publication-editor-v41 .emwh-field--automatic .emwh-publication-status-readonly small{
  flex:1 1 150px!important;
  font-size:10px!important;
  line-height:1.25!important;
}
.emwh-publication-editor-v41 .emwh-publication-destinations,
.emwh-publication-editor-v41 .emwh-publication-priority-control{
  border:1px solid #d4deeb!important;
  border-left:4px solid #e4b323!important;
  border-radius:9px!important;
  background:#fff!important;
  box-shadow:none!important;
}
.emwh-publication-editor-v41 .emwh-publication-destinations:focus-within,
.emwh-publication-editor-v41 .emwh-publication-priority-control:focus-within{
  border-color:#c89400!important;
  border-left-color:#c89400!important;
  box-shadow:0 0 0 2px rgba(200,148,0,.12)!important;
}
.emwh-publication-editor-v41 .emwh-publication-notes textarea{
  appearance:auto!important;
  -webkit-appearance:auto!important;
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  min-height:50px!important;
  border:1px solid #e4b323!important;
  border-left:4px solid #e4b323!important;
  border-radius:9px!important;
  background:#fff8dc!important;
  color:#173452!important;
  box-shadow:none!important;
}
.emwh-publication-editor-v41 .emwh-publication-notes textarea:hover{border-color:#d6a300!important}
.emwh-publication-editor-v41 .emwh-publication-notes textarea:focus,
.emwh-publication-editor-v41 .emwh-publication-notes textarea:focus-visible{
  border-color:#c89400!important;
  border-left-color:#c89400!important;
  background:#fff6cf!important;
  outline:0!important;
  box-shadow:0 0 0 2px rgba(200,148,0,.16)!important;
}
@media(max-width:760px){
  .emwh-publication-editor-v41 .emwh-field--automatic .emwh-publication-status-readonly{align-items:flex-start}
}

/* V4.6.8.36.41.28 - Availability policy and live-status clarity */
.emwh-availability-editor-v41 .emwh-field-help{display:block;margin-top:4px;color:#6b7c93;font-size:11px;line-height:1.25;font-weight:500}
.emwh-availability-editor-v41 .emwh-availability-override-days input:disabled{background:#f1f4f8!important;border-color:#d8e0ea!important;border-left-color:#b7c3d0!important;color:#8a98a9!important;cursor:not-allowed;box-shadow:none!important}
.emwh-availability-editor-v41 .emwh-availability-override-days:has(input:disabled) .emwh-field-help{color:#7b8796}


/* V4.6.8.36.41.29 - Active module responsive and validation closure */
.emwh-availability-editor-v41 .emwh-availability-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.emwh-availability-editor-v41 .emwh-workspace-editor-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.emwh-availability-editor-v41 input:invalid:not(:placeholder-shown){border-color:#c92b2b!important;border-left-color:#c92b2b!important;background:#fff3f3!important}
.emwh-publication-editor-v41 .emwh-publication-grid-fast{gap:10px}
.emwh-publication-editor-v41 .emwh-publication-auto-status{gap:10px}
.emwh-publication-editor-v41 .emwh-publication-destinations label,.emwh-publication-editor-v41 .emwh-publication-priority-control label{min-height:38px;box-sizing:border-box}
@media(max-width:900px){
  .emwh-availability-editor-v41{padding:12px!important}
  .emwh-availability-editor-v41 .emwh-availability-editor-head{align-items:flex-start}
  .emwh-availability-editor-v41 .emwh-workspace-editor-actions{justify-content:flex-end}
  .emwh-publication-editor-v41 .emwh-publication-review-heading{align-items:flex-start}
  .emwh-publication-editor-v41 .emwh-publication-grid-fast{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  .emwh-availability-editor-v41 .emwh-availability-editor-head{display:block}
  .emwh-availability-editor-v41 .emwh-workspace-editor-actions{margin-top:10px;justify-content:stretch}
  .emwh-availability-editor-v41 .emwh-workspace-editor-actions .emwh-secondary,.emwh-availability-editor-v41 .emwh-workspace-editor-actions .emwh-primary{flex:1 1 auto;text-align:center}
  .emwh-availability-editor-v41 .emwh-status-readonly{align-items:flex-start!important}
  .emwh-publication-editor-v41 .emwh-publication-grid-fast{grid-template-columns:1fr!important}
  .emwh-publication-editor-v41 .emwh-publication-destinations,.emwh-publication-editor-v41 .emwh-publication-priority-control{padding:10px!important}
  .emwh-publication-editor-v41 .emwh-publication-priority-control label{width:100%;justify-content:flex-start}
}
