/* Directly inherited from approved Offline 2.33. SHA256 6a0a8b9041d89d18b48d5f49a52bba1ba75b37a8d6993faa4afae59566209128. IDs for online bindings remain unchanged. */
.receive-master-175{
  display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));
  gap:10px 14px;padding:14px 16px;margin-bottom:10px;
  border:1px solid #d8e4e8;border-radius:12px;background:#fff
}
.receive-master-175 label{margin:0}
.receive-master-175 .recent-recipient-175{display:flex;align-items:flex-end;justify-content:flex-end}
.receive-master-175 .recent-recipient-175 button{height:42px}
#orderForm>.entry-meta,
#orderForm>.party-grid,
#orderCommon174{display:none!important}
.goods-compact-175{padding:0!important;overflow:hidden}
.goods-compact-175>.topline,.goods-compact-175>.notice{display:none!important}
.goods-compact-175 .detail-entry-wrap{margin:0!important;border:0!important;border-radius:0!important}
.goods-compact-175 .detail-entry-actions{padding:10px 12px!important;margin:0!important}
.pay-compact-175{
  border:1px solid #d8e4e8;border-radius:12px;background:#fff;
  padding:12px 16px;margin-top:10px
}
.cod-row-175{display:grid;grid-template-columns:120px repeat(5,minmax(145px,1fr));gap:10px 12px;align-items:end}
.cod-toggle-175{height:42px;display:flex;align-items:center;gap:9px;font-weight:700;color:#31505d}
.cod-toggle-175 input{width:20px;height:20px;margin:0}
.pay-compact-175 #codFields{display:contents!important}
.pay-compact-175 #codFields[hidden]{display:none!important}
.fare-discount-175{display:grid;grid-template-columns:1.1fr 1fr 1fr .9fr;gap:12px;align-items:end;margin-top:10px}
.fare-radio-175{height:42px;display:flex;align-items:center;gap:20px;border:1px solid #dce6e9;border-radius:8px;padding:0 12px;background:#fafcfc}
.fare-radio-175 label{display:flex;align-items:center;gap:7px;margin:0;font-weight:700;color:#3d525b}
.fare-radio-175 input{width:18px;height:18px;margin:0}
.grand-175{
  background:#f8fbfa;border:1px solid #d6e4df;border-radius:10px;
  padding:9px 14px;margin-top:10px;display:flex;justify-content:flex-end;gap:34px;align-items:center
}
.grand-175 span{font-size:13px;color:#5e737b}.grand-175 strong{font-size:18px;color:#123f49}
.sender-paid-old-175{display:none!important}
#goodsSaveHint{display:none!important}
.entry-bottom{margin-top:10px!important}



/* ===== 2.18 · RECEIVE CONTACT UX + DISPATCH CUSTOMER/DEBT FILTERS ===== */
#receiveMaster175{grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:end!important}
#receiveMaster175 .r-date-218{grid-column:span 1}
#receiveMaster175 .r-office-218{grid-column:span 3}
#receiveMaster175 .r-half-218{grid-column:span 2}
#receiveMaster175 .r-full-218{grid-column:1/-1}
#receiveMaster175 .r-ship-218{grid-column:span 1}
#receiveMaster175 .r-debt-218{grid-column:span 3;min-width:0!important;justify-content:flex-start!important;align-items:end!important}
#receiveMaster175 .r-debt-218 .debt-toggle-217{height:42px;min-height:42px;box-sizing:border-box}
#receiveMaster175 .r-debt-218 .company-select-wrap-217{min-width:260px;max-width:none;flex:1}
#receiveMaster175 .recent-name-218{position:relative}
#receiveMaster175 .recent-name-218 input{padding-right:46px!important}
#recentRecipientsBtn.recent-icon-218{
  position:absolute;right:6px;bottom:5px;width:34px;height:32px;min-width:34px;padding:0!important;
  display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:#166477;
  border-radius:7px;cursor:pointer
}
#recentRecipientsBtn.recent-icon-218:hover{background:#eaf3f5}
#recentRecipientsBtn.recent-icon-218 svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#receiveMaster175 .recent-recipient-175{display:none!important}
#entryPanel .recent-recipient-bar{display:none!important}
.dispatch-extra-filter-218{display:none}
.dispatch-extra-filter-218 label{margin:0}
#listPanel .filters label.dispatch-extra-label-218{min-width:180px}
#dispatchCompany218{min-width:210px}
#dispatchDebt218{min-width:160px}
@media(max-width:900px){
  #receiveMaster175{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #receiveMaster175 .r-date-218,#receiveMaster175 .r-office-218,#receiveMaster175 .r-half-218,#receiveMaster175 .r-ship-218,#receiveMaster175 .r-debt-218{grid-column:span 1}
  #receiveMaster175 .r-full-218{grid-column:1/-1}
  #receiveMaster175 .r-debt-218{grid-column:1/-1;flex-wrap:wrap}
}
@media(max-width:600px){
  #receiveMaster175{grid-template-columns:1fr!important}
  #receiveMaster175>*{grid-column:1!important}
}


/* ===== 2.19 · RECEIVE UX POLISH ONLY ===== */
#receiveMaster175{row-gap:12px!important;column-gap:14px!important}
#receiveMaster175 .recent-name-218{position:relative!important;overflow:visible!important}
#receiveMaster175 .recent-name-218 input{padding-right:48px!important}
#recentRecipientsBtn.recent-icon-219{
  position:absolute!important;right:6px!important;bottom:5px!important;
  width:34px!important;height:32px!important;min-width:34px!important;max-width:34px!important;
  padding:0!important;margin:0!important;border:1px solid transparent!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:transparent!important;color:#166477!important;border-radius:7px!important;
  font-size:0!important;line-height:0!important;overflow:hidden!important;z-index:4!important;
}
#recentRecipientsBtn.recent-icon-219:hover{background:#eaf3f5!important;border-color:#d4e4e7!important}
#recentRecipientsBtn.recent-icon-219 svg{display:block!important;width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
#receiveMaster175 .r-ship-218{grid-column:span 1!important}
#receiveMaster175 .r-debt-218{
  grid-column:span 3!important;min-width:0!important;margin:0!important;
  display:flex!important;flex-direction:row!important;align-items:end!important;
  justify-content:flex-start!important;gap:12px!important;flex-wrap:nowrap!important
}
#receiveDebtCompany217 .debt-toggle-217{
  display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;
  gap:8px!important;width:132px!important;min-width:132px!important;height:42px!important;min-height:42px!important;
  padding:0 13px!important;margin:0!important;box-sizing:border-box!important;
  border:1px solid #cddbd6!important;border-radius:7px!important;background:#fff!important;
  color:#805000!important;font-size:13px!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important
}
#receiveDebtCompany217 .debt-toggle-217 input{
  width:18px!important;height:18px!important;min-width:18px!important;margin:0!important;accent-color:#b76e00!important
}
#receiveDebtCompany217 .debt-toggle-217 span{display:inline!important;white-space:nowrap!important;line-height:1!important}
#receiveDebtCompany217 .company-select-wrap-217{
  display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;
  min-width:0!important;max-width:620px!important;flex:1 1 520px!important;height:42px!important;margin:0!important;
  color:#50656d!important;font-size:12px!important;font-weight:700!important;white-space:nowrap!important
}
#receiveDebtCompany217 .company-select-wrap-217[hidden]{display:none!important}
#receiveDebtCompany217 .company-select-wrap-217 select{
  flex:1 1 auto!important;width:auto!important;min-width:260px!important;height:42px!important;margin:0!important
}
@media(max-width:900px){
  #receiveMaster175 .r-debt-218{grid-column:1/-1!important;flex-wrap:wrap!important}
  #receiveDebtCompany217 .company-select-wrap-217{flex:1 1 100%!important;max-width:none!important}
}
@media(max-width:600px){
  #receiveDebtCompany217 .debt-toggle-217{width:100%!important}
  #receiveDebtCompany217 .company-select-wrap-217{height:auto!important;align-items:stretch!important;flex-direction:column!important}
  #receiveDebtCompany217 .company-select-wrap-217 select{width:100%!important;min-width:0!important}
}

.detail-entry-wrap{overflow:auto;border:1px solid #dce5e9;border-radius:10px;margin-top:12px}.detail-entry-table{min-width:1510px;table-layout:fixed}.detail-entry-table th{position:sticky;top:0;z-index:3}.detail-entry-table td{padding:7px 5px;vertical-align:middle}.detail-entry-table input,.detail-entry-table select{width:100%;min-width:0;padding:8px 7px;font-size:12px}.detail-entry-table [data-goods-field="goods"],.detail-entry-table [data-goods-field="note"]{min-width:0}.detail-entry-table .calc-cell{font-weight:700;text-align:right;white-space:nowrap}.detail-entry-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;flex-wrap:wrap}.batch-totals{display:flex;gap:18px;flex-wrap:wrap;align-items:center}.batch-totals b{color:#166477}.row-remove{padding:5px 9px!important;color:#a23d3d;border-color:#e7cccc}.delivery-region-label[hidden]{display:none!important}
/* Shared controls copied from the approved 2.33 stylesheet; online navigation and data IDs are retained. */
:root{font-family:Segoe UI,Arial,sans-serif;font-size:14px;color:#233b46;background:#f0f4f5}
body{background:#f0f4f5}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #cfdbd5;background:white;color:#233b46;border-radius:7px;padding:9px 13px}button:hover{background:#e8f1ec}.primary,.nav.active{background:#166477;color:white;border-color:#166477}.secondary{background:white;color:#233b46;border:1px solid #cfdbd5}.panel{background:white;border:1px solid #d8e2e7;border-radius:14px;padding:24px;margin-bottom:18px;box-shadow:0 3px 12px #183c4805}.muted{color:#72838c;font-size:13px}label,.form-grid label,.filter-grid label{font-size:13px;font-weight:600;color:#49616c}input,select{padding:11px 12px;border:1px solid #cbd9df;border-radius:8px;color:#203b46}input::placeholder{color:#8799a2;font-size:13px}input:focus,select:focus{outline:2px solid #8fbecb;border-color:#689caa}th{background:#edf3f5;color:#526d79;font-size:11px;text-transform:uppercase;letter-spacing:.3px}th,td{padding:13px 10px}.form-grid{gap:13px}.filter-grid{gap:10px}.sidebar{border-color:#d8e2e7}.nav{font-family:inherit}.nav:hover{background:#e3ebee}.form-actions{justify-content:flex-start;padding-top:20px;border-top:1px solid #dce5e9;margin-top:10px}
#receive>.panel:first-child>.section-head{display:none}#receiveForm .receive-master-175 label{display:flex;flex-direction:column;gap:6px}#receiveForm .receive-master-175{margin-top:0}#receiveForm .goods-compact-175{margin:10px 0;background:#fff;border-color:#d8e4e8}#receiveForm .detail-entry-wrap{overflow:auto}#receiveForm .detail-entry-table{min-width:1510px;table-layout:fixed}#receiveForm .detail-entry-table td{padding:7px 5px;vertical-align:middle}#receiveForm .detail-entry-table input,#receiveForm .detail-entry-table select{width:100%;min-width:0;min-height:34px;padding:8px 7px;font-size:12px}#receiveForm .detail-entry-table .name,#receiveForm .detail-entry-table .note,#receiveForm .detail-entry-table .ri-mode{min-width:0}#receiveForm .detail-entry-table small{display:none}#receiveForm .ri-total,#receiveForm .ri-voi-total{background:#f1f5f6;text-align:right;font-size:12px;font-weight:600}#receiveForm .ri-del{min-height:28px;padding:5px 9px;color:#a23d3d;border-color:#e7cccc}#receiveForm .detail-entry-actions{margin:0!important;padding:10px 12px!important}#receiveForm .cod-row-175{display:flex;gap:12px;flex-wrap:wrap}#receiveForm .cod-toggle-175{flex-direction:row!important;padding:0;min-width:130px}#receiveForm input[type=checkbox],#receiveForm input[type=radio]{min-height:0;width:18px;height:18px;padding:0;flex-shrink:0}#receiveForm .fare-radio-175 label{flex-direction:row;align-items:center;gap:7px;margin:0}#receiveForm .cod-row-175>label:last-child{flex:1;max-width:420px}#receiveMaster175 .party-history-icon{position:absolute;right:6px;bottom:5px;width:34px;height:32px;min-height:32px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:#166477;border-radius:7px}#receiveMaster175 .party-history-icon:hover{background:#eaf3f5}#receiveMaster175 .party-history-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:600px){.panel{padding:16px}#receiveForm .grand-175{gap:12px;flex-wrap:wrap}#receiveForm .cod-row-175>label:last-child{max-width:none;width:100%}}
#receiveForm .detail-entry-table .calculated{background:#f1f5f6;color:#526d79}#receiveForm .detail-entry-table input:disabled{color:transparent;background:#f1f5f6}#receiveForm .detail-entry-table .ri-fare,#receiveForm .detail-entry-table .ri-voi-amount{text-align:right}
