/* AFM Flow seller warehouse assignment R146 | respects RTL & mobile PWA */
#afm-r146-seller-warehouses{
  direction:rtl; color:#183f38; background:#f8fbfa; font:inherit;
  border:1px solid #cee3da; box-shadow:0 7px 26px rgba(18,69,57,.06);
  border-radius:17px; padding:16px 20px; margin:14px 0 20px;
  text-align:right; max-width:100%; box-sizing:border-box;
}
.afm-r146-panel *, .afm-r146-overlay *{box-sizing:border-box}
.afm-r146-top,.afm-r146-order,.afm-r146-line-head,
.afm-r146-dialog-head,.afm-r146-footer{
  display:flex;gap:12px;align-items:center;justify-content:space-between;
}
.afm-r146-top{margin-bottom:12px;flex-wrap:wrap}
.afm-r146-title{display:flex;flex-direction:column;gap:4px}
.afm-r146-title strong{font-size:15px;color:#173f3a;font-weight:800}
.afm-r146-title small{font-size:12px;color:#627b74}
.afm-r146-list{display:grid;gap:9px;max-height:310px;overflow:auto}
.afm-r146-order{
  background:white;border:1px solid #deebe6;border-radius:12px;
  padding:12px;min-width:0;flex-wrap:wrap;
}
.afm-r146-order-text{min-width:190px;display:flex;flex:1;flex-direction:column;gap:4px}
.afm-r146-order-text strong{font-size:13px;font-weight:700;color:#183f38;overflow-wrap:anywhere}
.afm-r146-order-text span{font-size:12px;color:#667e75}
.afm-r146-muted{color:#627b74;font-size:13px;margin:5px 0}
.afm-r146-btn{
  color:white;background:#174a40;border:1px solid #174a40;border-radius:9px;
  padding:10px 14px;font:inherit;font-size:12px;font-weight:700;
  white-space:normal;text-align:center;cursor:pointer;min-height:39px;
}
.afm-r146-btn:hover:not(:disabled){filter:brightness(1.08)}
.afm-r146-btn:focus-visible,.afm-r146-select:focus-visible{
  outline:2px solid #318d77;outline-offset:2px;
}
.afm-r146-btn:disabled{opacity:.55;cursor:wait}
.afm-r146-btn.afm-r146-outline{
  background:white;color:#174a40;border-color:#aec8bd;
}
.afm-r146-message{
  border:1px solid #e8c39f;background:#fff8ee;color:#844b18;
  padding:11px 13px;border-radius:10px;font-size:13px;margin:10px 0 0;
  white-space:pre-wrap;
}
.afm-r146-message[data-kind="success"]{
  border-color:#b8dcca;background:#edf8f1;color:#1e6549;
}
.afm-r146-message[data-kind="error"]{
  border-color:#e8c3be;background:#fff1ef;color:#8b312a;
}
.afm-r146-overlay{
  position:fixed;inset:0;z-index:2147483000;background:rgba(13,32,29,.62);
  display:flex;justify-content:center;align-items:center;
  padding:18px;direction:rtl;text-align:right;font:inherit;
}
body.afm-r146-overlay-open{overflow:hidden}
.afm-r146-dialog{
  background:#f9fbfa;color:#173f3a;border-radius:20px;
  box-shadow:0 24px 100px rgba(0,0,0,.24);padding:23px;
  width:min(660px,100%);max-height:min(88vh,820px);overflow:auto;
  border:1px solid #d7e6e0;
}
.afm-r146-dialog-head{
  border-bottom:1px solid #e0ebe7;padding-bottom:15px;align-items:flex-start
}
.afm-r146-dialog-head h2{margin:0 0 5px;font-size:19px;font-weight:800;color:#163f36}
.afm-r146-dialog-head p{margin:0;color:#667e75;font-size:12px}
.afm-r146-notice{
  background:#eff6f3;border:1px solid #d4e8df;padding:11px 13px;border-radius:11px;
  font-size:12px;line-height:1.9;margin:13px 0;color:#446a5d;
}
.afm-r146-lines{display:grid;gap:11px}
.afm-r146-line{
  border:1px solid #d8e5df;background:#fff;border-radius:13px;padding:14px;
  display:grid;gap:8px;
}
.afm-r146-line-head{align-items:start;gap:7px}
.afm-r146-line-head strong{font-size:13px;font-weight:750}
.afm-r146-qty{
  font-size:12px;color:#356d59;background:#edf7f1;padding:3px 8px;
  border-radius:30px;white-space:nowrap;
}
.afm-r146-product{font-size:13px;font-weight:650}
.afm-r146-description{font-size:12px;color:#536e65;line-height:1.7}
.afm-r146-label{font-size:12px;font-weight:700;color:#2b6352;display:grid;gap:7px}
.afm-r146-select{
  width:100%;padding:11px 12px;background:#fff;color:#173f3a;
  border:1px solid #bccfc6;border-radius:9px;font:inherit;
  font-size:13px;min-height:43px;
}
.afm-r146-select:disabled{background:#eef3f1;color:#43695d}
.afm-r146-footer{margin-top:16px;flex-wrap:wrap;justify-content:flex-start}
.afm-r146-success{color:#216a4b;font-weight:650;font-size:13px}
@media(max-width:640px){
  #afm-r146-seller-warehouses{margin:10px 7px 15px;padding:13px}
  .afm-r146-overlay{padding:6px;align-items:stretch}
  .afm-r146-dialog{max-height:100%;width:100%;border-radius:14px;padding:15px}
  .afm-r146-order{align-items:stretch}
  .afm-r146-order>.afm-r146-btn{width:100%}
}
