/* Material Purchase V9-parity UI ported from EMS V9 purchase styles */
/* purchase.css — ordered section 1 of 3. Keep this file focused; global ordering is controlled by the index file. */
.mp-module {
  max-width:1680px;
  margin:0 auto;
  color:#10213b
}
.mp-module button,.mp-module input,.mp-module select,.mp-module textarea {
  font:inherit
}
.mp-kicker {
  display:block;
  color:#b58b17;
  font-weight:900;
  letter-spacing:.13em;
  font-size:11px;
  text-transform:uppercase;
  margin-bottom:6px
}
.mp-page-header,.mp-wizard-header,.mp-preview-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  background:#fff;
  border:1px solid #e4eaf2;
  border-radius:22px;
  padding:22px 24px;
  box-shadow:0 18px 48px rgba(16,24,40,.08);
  margin-bottom:18px
}
.mp-page-header h2,.mp-wizard-header h2,.mp-preview-header h2 {
  margin:0;
  font-size:28px;
  letter-spacing:-.02em
}
.mp-page-header p,.mp-wizard-header p,.mp-preview-header p {
  margin:6px 0 0;
  color:#65758d
}
.mp-btn {
  border:0;
  border-radius:11px;
  padding:10px 16px;
  font-weight:850;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer
}
.mp-btn:disabled {
  opacity:.55;
  cursor:not-allowed
}
.mp-btn-primary {
  background:linear-gradient(135deg,#1769ed,#0d47c5);
  color:#fff;
  box-shadow:0 10px 24px rgba(23,105,237,.22)
}
.mp-btn-secondary {
  background:#edf3fb;
  border:1px solid #d9e4f2;
  color:#14315a
}
.mp-btn-light {
  background:#fff;
  border:1px solid #d9e4f2;
  color:#24405f
}
.mp-btn.full {
  width:100%
}
.mp-dashboard-card {
  background:#fff;
  border:1px solid #e3eaf3;
  border-radius:20px;
  box-shadow:0 18px 48px rgba(16,24,40,.07);
  overflow:hidden
}
.mp-status-tabs {
  display:flex;
  gap:4px;
  padding:12px 14px 0;
  border-bottom:1px solid #e6ebf2;
  overflow-x:auto
}
.mp-status-tabs button {
  border:0;
  background:transparent;
  color:#64748b;
  padding:11px 14px 13px;
  font-weight:800;
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
  border-bottom:3px solid transparent
}
.mp-status-tabs button b {
  min-width:23px;
  height:23px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#eef2f7;
  color:#4b5f79;
  font-size:11px
}
.mp-status-tabs button.active {
  color:#135fd7;
  border-bottom-color:#135fd7
}
.mp-status-tabs button.active b {
  background:#dceaff;
  color:#135fd7
}
.mp-list-controls {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:16px;
  padding:16px;
  border-bottom:1px solid #eef2f6
}
.mp-search-box {
  flex:1;
  max-width:820px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  border:1px solid #dbe4ef;
  border-radius:12px;
  background:#fbfdff;
  overflow:hidden
}
.mp-search-box>span {
  padding-inline-start:14px;
  color:#6b7d94;
  font-size:20px
}
.mp-search-box input {
  border:0;
  background:transparent;
  outline:0;
  min-height:44px;
  padding:0 10px
}
.mp-search-box button {
  height:44px;
  border:0;
  background:#eef4fb;
  color:#183b68;
  font-weight:850;
  padding:0 18px
}
.mp-sort-control {
  font-size:11px;
  color:#68778f;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
  display:flex;
  flex-direction:column;
  gap:6px
}
.mp-sort-control select {
  min-width:190px;
  border:1px solid #dbe4ef;
  border-radius:10px;
  padding:10px;
  background:#fff;
  color:#263d5c
}
.mp-list-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 18px 10px
}
.mp-list-heading h3 {
  margin:0;
  font-size:18px
}
.mp-list-heading p {
  margin:4px 0 0;
  color:#7a8799;
  font-size:12px
}
.mp-loading {
  font-size:12px;
  color:#145fd4;
  font-weight:800
}
.mp-table-wrap {
  overflow-x:auto
}
.mp-purchase-table {
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  font-size:14px
}
.mp-purchase-table th {
  padding:12px 16px;
  text-align:start;
  background:#f8fafc;
  border-top:1px solid #eef2f6;
  border-bottom:1px solid #e7edf4;
  color:#758399;
  font-size:10px;
  letter-spacing:.08em;
  text-transform:uppercase
}
.mp-purchase-table td {
  padding:15px 16px;
  border-bottom:1px solid #edf1f5;
  vertical-align:middle
}
.mp-purchase-table tbody tr {
  cursor:pointer
}
.mp-purchase-table tbody tr:hover td {
  background:#f8fbff
}
.mp-purchase-table td b {
  font-size:13px
}
.mp-purchase-table td small {
  display:block;
  color:#7a8798;
  margin-top:4px
}
.mp-vendor-link {
  border:0;
  background:transparent;
  padding:0;
  color:#0f4fc4;
  font-weight:900;
  text-align:start
}
.mp-open-button {
  border:0;
  background:#f0f5fb;
  color:#174477;
  border-radius:9px;
  padding:7px 10px;
  font-weight:850;
  white-space:nowrap
}
.mp-stage-badge {
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:6px 10px;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.03em
}
.mp-stage-badge.pending {
  background:#eef2f7;
  color:#51647d
}
.mp-stage-badge.active {
  background:#e5efff;
  color:#1456c9
}
.mp-stage-badge.transit {
  background:#fff3d8;
  color:#966200
}
.mp-stage-badge.receiving {
  background:#fff0df;
  color:#a15000
}
.mp-stage-badge.completed {
  background:#dcf8eb;
  color:#057849
}
.mp-stage-badge.cancelled {
  background:#ffe8e8;
  color:#a52020
}
.mp-empty-state {
  padding:34px;
  text-align:center;
  color:#718096;
  display:flex;
  flex-direction:column;
  gap:7px
}
.mp-empty-state b {
  color:#31445f;
  font-size:15px
}
.mp-global-error {
  max-width:1680px;
  margin:0 auto 14px
}
.mp-error-box {
  white-space:pre-wrap;
  background:#fff2f2;
  border:1px solid #ffd0d0;
  color:#9f1d1d;
  border-radius:12px;
  padding:12px;
  margin:12px 0;
  font-family:inherit
}
.mp-breadcrumb {
  display:flex;
  align-items:center;
  gap:8px;
  color:#728096;
  font-size:13px;
  margin:0 0 12px
}
.mp-breadcrumb button {
  border:0;
  background:transparent;
  padding:0;
  color:#145fda;
  font-weight:850
}
.mp-wizard-steps {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:0;
  background:#fff;
  border:1px solid #e2e9f2;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 12px 34px rgba(16,24,40,.06);
  margin-bottom:18px
}
.mp-wizard-steps button {
  border:0;
  border-inline-end:1px solid #e8edf3;
  background:#fff;
  padding:14px 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  color:#728096;
  font-weight:850
}
.mp-wizard-steps button:last-child {
  border-inline-end:0
}
.mp-wizard-steps button i {
  font-style:normal;
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#eef2f7;
  color:#596d86;
  font-size:12px
}
.mp-wizard-steps button.current {
  background:#edf5ff;
  color:#135fd7
}
.mp-wizard-steps button.current i {
  background:#1769ed;
  color:#fff
}
.mp-wizard-steps button.done {
  color:#14805a
}
.mp-wizard-steps button.done i {
  background:#dff8ed;
  color:#087b50
}
.mp-wizard-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:18px;
  align-items:start
}
.mp-wizard-main {
  min-width:0
}
.mp-step-card,.mp-preview-card {
  background:#fff;
  border:1px solid #e2e9f1;
  border-radius:18px;
  padding:20px;
  box-shadow:0 14px 38px rgba(16,24,40,.06);
  margin-bottom:16px
}
.mp-step-title {
  display:flex;
  justify-content:space-between;
  align-items:start;
  gap:14px;
  border-bottom:1px solid #edf1f5;
  padding-bottom:14px;
  margin-bottom:18px
}
.mp-step-title>div>span {
  display:block;
  color:#b58b17;
  font-weight:900;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.1em
}
.mp-step-title h3 {
  margin:3px 0 0;
  font-size:20px
}
.mp-step-title p {
  margin:6px 0 0;
  color:#6c7b90;
  font-size:13px
}
.mp-step-title.with-action {
  align-items:center
}
.mp-form-grid {
  display:grid;
  gap:14px
}
.mp-form-grid.two {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.mp-form-grid.three {
  grid-template-columns:repeat(3,minmax(0,1fr))
}
.mp-form-grid.four {
  grid-template-columns:repeat(4,minmax(0,1fr))
}
.mp-field {
  display:flex;
  flex-direction:column;
  gap:6px;
  color:#36465f;
  font-size:12px;
  font-weight:850
}
.mp-field input,.mp-field select,.mp-field textarea {
  width:100%;
  border:1px solid #dbe3ed;
  border-radius:10px;
  background:#fff;
  padding:10px 11px;
  min-height:42px;
  color:#1c2f4a;
  outline:none
}
.mp-field textarea {
  min-height:88px;
  resize:vertical
}
.mp-field input:focus,.mp-field select:focus,.mp-field textarea:focus {
  border-color:#82aef4;
  box-shadow:0 0 0 3px rgba(23,105,237,.09)
}
.mp-field small {
  color:#8a96a7;
  font-size:10px;
  font-weight:600
}
.mp-field.span-two {
  grid-column:span 2
}
.mp-cost-overview {
  position:sticky;
  top:18px;
  background:#0c203e;
  color:#fff;
  border-radius:18px;
  padding:20px;
  box-shadow:0 20px 48px rgba(5,20,43,.22)
}
.mp-cost-title {
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin-bottom:14px
}
.mp-cost-title span {
  font-size:17px;
  font-weight:900
}
.mp-cost-title small {
  color:#9fb1c8
}
.mp-cost-row {
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:9px 0;
  border-bottom:1px solid rgba(255,255,255,.08)
}
.mp-cost-row span {
  color:#b8c6d8;
  font-size:12px
}
.mp-cost-row b {
  font-size:13px
}
.mp-cost-row.muted {
  opacity:.82
}
.mp-cost-divider {
  height:6px
}
.mp-cost-total {
  margin-top:14px;
  background:#fff;
  color:#0c203e;
  border-radius:13px;
  padding:14px
}
.mp-cost-total span {
  display:block;
  font-size:11px;
  color:#61728a;
  font-weight:800
}
.mp-cost-total b {
  display:block;
  font-size:20px;
  margin-top:4px
}
.mp-cost-overview p {
  font-size:11px;
  line-height:1.5;
  color:#9fb1c8;
  margin:13px 0 0
}
.mp-material-card {
  border:1px solid #dce6f1;
  border-radius:16px;
  background:#fbfdff;
  padding:16px;
  margin-bottom:16px
}
.mp-material-card header {
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:start;
  margin-bottom:14px
}
.mp-material-card header span {
  display:block;
  color:#b58b17;
  font-weight:900;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.09em
}
.mp-material-card header h4 {
  margin:3px 0 0;
  font-size:17px
}
.mp-remove-link {
  border:0;
  background:transparent;
  color:#b42318;
  font-weight:850
}
.mp-subheading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:12px;
  border-top:1px solid #e6edf4;
  margin-top:16px;
  padding:14px 0 10px
}
.mp-subheading span {
  font-size:13px;
  font-weight:900;
  color:#253955
}
.mp-subheading small {
  color:#8390a2;
  font-size:10px
}
.mp-calculation-strip {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  margin-top:14px
}
.mp-calculation-strip>div {
  border:1px solid #dfe7f0;
  border-radius:11px;
  background:#fff;
  padding:10px
}
/* purchase.css — ordered section 2 of 3. Keep this file focused; global ordering is controlled by the index file. */
.mp-calculation-strip span {
  display:block;
  color:#7c899c;
  font-size:10px;
  text-transform:uppercase;
  font-weight:850
}
.mp-calculation-strip b {
  display:block;
  margin-top:4px;
  font-size:13px
}
.mp-info-note {
  display:flex;
  gap:9px;
  align-items:flex-start;
  background:#fff8df;
  border:1px solid #f0d484;
  color:#5d4815;
  border-radius:12px;
  padding:12px;
  margin-top:16px
}
.mp-info-note span {
  font-size:12px
}
.mp-plan-total {
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#eef5ff;
  border:1px solid #d4e4fa;
  border-radius:12px;
  padding:14px;
  margin-top:16px
}
.mp-plan-total span {
  color:#5d708c;
  font-size:12px;
  font-weight:800
}
.mp-plan-total b {
  font-size:18px;
  color:#154c9c
}
.mp-wizard-footer {
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  background:#fff;
  border:1px solid #e3eaf2;
  border-radius:16px;
  padding:13px 15px;
  box-shadow:0 12px 34px rgba(16,24,40,.06);
  position:sticky;
  bottom:12px;
  z-index:5
}
.mp-footer-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap
}
.mp-overview-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px
}
.mp-overview-box {
  border:1px solid #dfe7f0;
  border-radius:14px;
  padding:15px;
  background:#fbfdff
}
.mp-overview-box.full {
  margin-top:14px
}
.mp-overview-box h4 {
  margin:0 0 12px
}
.mp-overview-box dl {
  display:grid;
  grid-template-columns:44% 1fr;
  gap:9px 12px;
  margin:0
}
.mp-overview-box dt {
  color:#78869a;
  font-size:12px
}
.mp-overview-box dd {
  margin:0;
  font-weight:800;
  font-size:12px
}
.mp-overview-box button,.mp-overview-section-head button {
  border:0;
  background:transparent;
  color:#145fd7;
  padding:0;
  font-weight:850;
  font-size:12px;
  margin-top:12px
}
.mp-overview-section-head {
  display:flex;
  justify-content:space-between;
  align-items:start;
  gap:12px
}
.mp-overview-section-head h4 {
  margin:0
}
.mp-overview-section-head p {
  margin:4px 0 0;
  color:#7b899c;
  font-size:11px
}
.mp-overview-materials {
  border:1px solid #dfe7f0;
  border-radius:14px;
  padding:15px;
  margin-top:14px
}
.mp-mini-table {
  margin-top:12px;
  border:1px solid #e2e8f0;
  border-radius:12px;
  overflow:hidden
}
.mp-mini-table .head,.mp-mini-table .row {
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr 1fr;
  gap:10px;
  align-items:center;
  padding:11px 12px
}
.mp-mini-table.detail .head,.mp-mini-table.detail .row {
  grid-template-columns:1.8fr 1fr 1fr 1fr 1fr 1fr
}
.mp-mini-table .head {
  background:#f5f8fc;
  color:#718096;
  font-size:10px;
  text-transform:uppercase;
  font-weight:900;
  letter-spacing:.06em
}
.mp-mini-table .row {
  border-top:1px solid #e7edf4;
  font-size:12px
}
.mp-mini-table .row small {
  display:block;
  color:#8592a4;
  margin-top:3px
}
.mp-overview-box dl.four-col {
  grid-template-columns:auto 1fr auto 1fr
}
.mp-submit-note {
  display:grid;
  grid-template-columns:auto 1fr;
  gap:8px 12px;
  background:#f7f9fc;
  border:1px solid #e2e8f0;
  border-radius:12px;
  padding:13px;
  margin-top:14px;
  font-size:12px
}
.mp-submit-note b {
  color:#145fd7
}
.mp-submit-note span {
  color:#617087
}
.mp-preview-actions {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  max-width:760px
}
.mp-stage-strip {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:8px;
  margin-bottom:16px
}
.mp-stage-strip>div {
  background:#fff;
  border:1px solid #dde6ef;
  border-radius:13px;
  padding:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#8794a6
}
.mp-stage-strip i {
  font-style:normal;
  width:25px;
  height:25px;
  border-radius:999px;
  background:#edf1f6;
  display:grid;
  place-items:center;
  font-size:11px;
  font-weight:900
}
.mp-stage-strip .done {
  color:#16734f;
  border-color:#cdeedd;
  background:#f5fdf9
}
.mp-stage-strip .done i {
  background:#dcf7e9;
  color:#0d7b52
}
.mp-stage-strip .current {
  border-color:#82aef4;
  background:#edf5ff;
  color:#145fd7
}
.mp-stage-strip .current i {
  background:#1769ed;
  color:#fff
}
.mp-preview-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:18px;
  align-items:start
}
.mp-preview-grid>aside {
  position:sticky;
  top:18px;
  display:grid;
  gap:14px
}
.mp-preview-card-title {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  border-bottom:1px solid #edf1f5;
  padding-bottom:12px;
  margin-bottom:14px
}
.mp-preview-card h3,.mp-preview-card-title h3 {
  margin:0;
  font-size:17px
}
.mp-detail-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px
}
.mp-detail-field {
  border-bottom:1px solid #edf1f5;
  padding:9px 0
}
.mp-detail-field span {
  display:block;
  color:#7b899c;
  font-size:10px;
  text-transform:uppercase;
  font-weight:850;
  letter-spacing:.05em
}
.mp-detail-field b {
  display:block;
  margin-top:4px;
  font-size:12px;
  word-break:break-word
}
.mp-notes-box {
  background:#f8fafc;
  border:1px solid #e3e9f0;
  border-radius:11px;
  padding:12px;
  margin-top:13px
}
.mp-notes-box p {
  margin:5px 0 0;
  color:#5f6f84;
  font-size:12px;
  line-height:1.5
}
.mp-tax-summary {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:9px;
  margin-top:13px
}
.mp-tax-summary>div {
  border:1px solid #e0e8f1;
  border-radius:11px;
  padding:10px;
  background:#fbfdff
}
.mp-tax-summary span {
  display:block;
  color:#7b899c;
  font-size:10px
}
.mp-tax-summary b {
  display:block;
  font-size:12px;
  margin-top:4px
}
.mp-cost-summary-card .mp-detail-field {
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px
}
.mp-cost-summary-card .mp-detail-field span,.mp-cost-summary-card .mp-detail-field b {
  display:block;
  margin:0;
  text-transform:none;
  letter-spacing:0
}
.mp-preview-grand {
  background:#0d2342;
  color:#fff;
  border-radius:12px;
  padding:14px;
  margin-top:14px
}
.mp-preview-grand span {
  display:block;
  color:#afbed1;
  font-size:11px
}
.mp-preview-grand b {
  display:block;
  font-size:20px;
  margin-top:4px
}
.mp-cost-summary-card>p {
  font-size:11px;
  color:#7b899c
}
.mp-status-control {
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:11px;
  font-weight:850;
  color:#45576f;
  margin-top:12px
}
.mp-status-control select,.mp-status-control textarea {
  border:1px solid #dbe4ee;
  border-radius:10px;
  padding:10px;
  background:#fff;
  min-height:42px
}
.mp-status-control textarea {
  min-height:70px
}
.mp-timeline>div {
  display:grid;
  grid-template-columns:18px 1fr;
  gap:9px;
  position:relative;
  padding-bottom:15px
}
.mp-timeline>div::after {
  content:"";
  position:absolute;
  inset-inline-start:6px;
  top:12px;
  bottom:-2px;
  width:2px;
  background:#e2e8f0
}
.mp-timeline>div:last-child::after {
  display:none
}
.mp-timeline i {
  width:14px;
  height:14px;
  border-radius:999px;
  background:#1769ed;
  border:3px solid #dceaff;
  z-index:1
}
.mp-timeline b {
  font-size:11px
}
.mp-timeline small {
  display:block;
  color:#7d8a9d;
  font-size:10px;
  margin-top:2px
}
.mp-preview-page {
  padding-bottom:20px
}
@media(max-width:1250px) {
  .mp-wizard-layout,.mp-preview-grid {
    grid-template-columns:1fr
  }
  .mp-cost-overview,.mp-preview-grid>aside {
    position:static
  }
  .mp-detail-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .mp-form-grid.four {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .mp-calculation-strip {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
}
@media(max-width:850px) {
  .mp-page-header,.mp-wizard-header,.mp-preview-header {
    align-items:flex-start;
    flex-direction:column
  }
  .mp-list-controls {
    align-items:stretch;
    flex-direction:column
  }
  .mp-sort-control select {
    width:100%
  }
  .mp-wizard-steps {
    grid-template-columns:1fr;
    overflow:visible
  }
  .mp-wizard-steps button {
    justify-content:flex-start;
    border-inline-end:0;
    border-bottom:1px solid #e8edf3
  }
  .mp-form-grid.two,.mp-form-grid.three,.mp-form-grid.four,.mp-overview-grid {
    grid-template-columns:1fr
  }
  .mp-field.span-two {
    grid-column:span 1
  }
  .mp-calculation-strip {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .mp-mini-table .head {
    display:none
  }
  .mp-mini-table .row,.mp-mini-table.detail .row {
    grid-template-columns:1fr 1fr
  }
  .mp-mini-table .row>span:first-child {
    grid-column:1/-1
  }
  .mp-tax-summary {
    grid-template-columns:repeat(2,1fr)
  }
  .mp-stage-strip {
    grid-template-columns:1fr
  }
  .mp-detail-grid {
    grid-template-columns:1fr
  }
  .mp-wizard-footer {
    position:static;
    align-items:stretch;
    flex-direction:column
  }
  .mp-footer-actions {
    display:grid;
    grid-template-columns:1fr
  }
  .mp-overview-box dl.four-col {
    grid-template-columns:44% 1fr
  }
}
@media(max-width:560px) {
  .mp-calculation-strip {
    grid-template-columns:1fr
  }
  .mp-tax-summary {
    grid-template-columns:1fr
  }
  .mp-overview-box dl {
    grid-template-columns:1fr
  }
  .mp-overview-box dd {
    padding-bottom:6px
  }
  .mp-status-tabs {
    padding-inline-start:8px
  }
  .mp-page-header h2,.mp-wizard-header h2,.mp-preview-header h2 {
    font-size:24px
  }
  .mp-preview-actions {
    display:grid;
    width:100%;
    grid-template-columns:1fr 1fr
  }
  .mp-preview-actions .mp-btn:last-child {
    grid-column:1/-1
  }
}
.mp-back-button {
  display:inline-flex!important;
  align-items:center;
  gap:7px;
  border:1px solid #d7e1ed!important;
  background:#fff!important;
  border-radius:10px!important;
  padding:8px 11px!important;
  color:#174477!important;
  box-shadow:0 5px 16px rgba(16,24,40,.06)
}
.mp-mini-table.detail.yield-table {
  overflow-x:auto
}
.mp-mini-table.detail.yield-table .head,.mp-mini-table.detail.yield-table .row {
  grid-template-columns:1.7fr .8fr .8fr .8fr .8fr .8fr .7fr .9fr .9fr;
  min-width:1080px
}
.mp-tax-list {
  display:flex;
  flex-direction:column;
  gap:12px
}
.mp-tax-row {
  border:1px solid #dfe7f0;
  border-radius:14px;
  padding:15px;
  background:#fbfdff
}
.mp-tax-row-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px
}
.mp-tax-row-head b {
  font-size:13px;
  color:#253955
}
.mp-tax-row-head button {
  border:0;
  background:transparent;
  color:#b42318;
  font-weight:850
}
.mp-tax-calculated {
  display:flex;
  flex-direction:column;
  justify-content:center;
  border:1px solid #d4e4fa;
  border-radius:10px;
  background:#eef5ff;
  padding:10px 12px
}
.mp-tax-calculated span {
  font-size:10px;
  color:#64748b;
  text-transform:uppercase;
  font-weight:850
}
.mp-tax-calculated b {
  margin-top:5px;
  color:#154c9c;
  font-size:16px
}
.mp-tax-overview {
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:12px
}
.mp-tax-overview>div {
  display:grid;
  grid-template-columns:1fr 1.4fr auto;
  gap:10px;
  align-items:center;
  border-bottom:1px solid #e7edf4;
  padding:9px 0
}
.mp-tax-overview span {
  font-weight:850;
  font-size:12px
}
.mp-tax-overview small {
  color:#7b899c
}
.mp-tax-overview b {
  font-size:12px
}
/* purchase.css — ordered section 3 of 3. Keep this file focused; global ordering is controlled by the index file. */
.mp-tax-grand {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:12px;
  padding:12px;
  border-radius:10px;
  background:#eef5ff;
  color:#154c9c
}
.mp-no-tax {
  color:#7b899c;
  font-size:12px
}
.mp-tax-summary small {
  display:block;
  color:#7b899c;
  font-size:9px;
  margin-top:3px
}
@media(max-width:850px) {
  .mp-tax-overview>div {
    grid-template-columns:1fr auto
  }
  .mp-tax-overview small {
    grid-column:1/-1
  }
}

/* PMM review pass — alignment and update workflow */
.mp-form-grid { align-items:start; }
.mp-field { min-width:0; }
.mp-field-label {
  display:flex;
  align-items:flex-end;
  min-height:30px;
  line-height:1.25;
}
.mp-field input,.mp-field select { height:42px; }
.mp-field textarea { min-height:88px; }
.mp-material-card header { align-items:center; }
.mp-subheading { align-items:center; }
.mp-calculation-strip>div {
  min-height:72px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.mp-calculation-strip>div small {
  display:block;
  margin-top:4px;
  color:#8a96a7;
  font-size:9px;
  line-height:1.25;
}
.mp-transparent-note {
  margin-top:12px;
  border:1px solid #d7e5f7;
  background:#f6faff;
  color:#4d6380;
  border-radius:11px;
  padding:10px 12px;
  font-size:11px;
  line-height:1.45;
}
.mp-transparent-note b { color:#174477; }
.mp-preview-actions .mp-btn { min-height:42px; }
.mp-mini-table.detail.yield-table .head,
.mp-mini-table.detail.yield-table .row {
  grid-template-columns:1.7fr 1.15fr .8fr 1fr .8fr 1fr 1fr;
  min-width:930px;
  align-items:center;
}
.mp-update-card { max-width:1200px; }
.mp-update-card .mp-preview-card-title>div small {
  display:block;
  margin-top:5px;
  color:#7b899c;
  font-size:11px;
  font-weight:500;
}
.mp-update-grid { margin-top:4px; }
.mp-update-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid #e8edf3;
}
.mp-update-actions span {
  color:#68778f;
  font-size:11px;
}
.mp-lock-pill {
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:6px 10px;
  background:#eef2f7;
  color:#53647a;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
}
.mp-success-box {
  background:#effbf5;
  border:1px solid #bde8d2;
  color:#11613f;
  border-radius:12px;
  padding:12px;
  margin:12px 0;
  font-size:12px;
}
.mp-empty-activity {
  color:#7d8a9d;
  font-size:11px;
  padding:8px 0;
}
@media(max-width:850px) {
  .mp-field-label { min-height:0; }
  .mp-update-actions { align-items:stretch; flex-direction:column; }
  .mp-update-actions .mp-btn { width:100%; }
}
.mp-mini-table.review-table { overflow-x:auto; }
.mp-mini-table.review-table .head,.mp-mini-table.review-table .row {
  grid-template-columns:1.65fr 1.05fr .65fr .9fr .8fr .9fr 1fr;
  min-width:850px;
}

/* PMM review pass 02 — clear status updates, contextual carriage, and level sections. */
.mp-page-header-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.mp-update-section {
  margin-top:16px;
  border:1px solid #e1e8f2;
  border-radius:16px;
  background:#fbfdff;
  padding:16px;
}
.mp-update-section:first-of-type { margin-top:14px; }
.mp-update-section-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}
.mp-update-section-title>div {
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
}
.mp-update-section-title h4 {
  margin:0;
  color:#173052;
  font-size:14px;
  line-height:1.2;
}
.mp-update-section-title p {
  margin:4px 0 0;
  color:#74839a;
  font-size:11px;
  line-height:1.4;
}
.mp-update-step {
  flex:0 0 26px;
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#e3efff;
  color:#125ccc;
  font-size:11px;
  font-weight:900;
}
.mp-status-update-grid {
  display:grid;
  grid-template-columns:1fr 1.25fr 1fr 1fr;
  gap:12px;
  align-items:end;
}
.mp-status-current {
  min-height:68px;
  border:1px solid #dce5f0;
  border-radius:12px;
  background:#fff;
  padding:11px 12px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
}
.mp-status-current span {
  color:#74839a;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.mp-status-current b { color:#173052; font-size:14px; }
.mp-pending-section {
  background:#fffdf6;
  border-color:#eadca8;
}
.mp-pending-pill {
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:6px 10px;
  background:#fff2bf;
  color:#80610b;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  white-space:nowrap;
}
.mp-inline-note {
  margin-top:10px;
  border-radius:10px;
  padding:9px 11px;
  background:#f0f6ff;
  color:#47617f;
  font-size:11px;
  line-height:1.45;
}
.mp-update-section .mp-form-grid { align-items:end; }
.mp-update-section .mp-field { margin:0; }
@media(max-width:1050px) {
  .mp-status-update-grid { grid-template-columns:1fr 1fr; }
}
@media(max-width:700px) {
  .mp-page-header-actions { width:100%; justify-content:stretch; }
  .mp-page-header-actions .mp-btn { flex:1; }
  .mp-status-update-grid { grid-template-columns:1fr; }
  .mp-update-section-title { align-items:flex-start; flex-direction:column; }
}
.po-overview-stack {
  display:flex;
  flex-direction:column;
  gap:14px
}
.po-report-state {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  background:#fff;
  border:1px solid #dfe7f0;
  border-radius:15px;
  padding:18px 20px
}
.po-report-state span:first-child {
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
  color:#b17a00
}
.po-report-state h3 {
  margin:4px 0 3px;
  font-size:20px
}
.po-report-state p {
  margin:0;
  color:#64748b;
  font-size:12px
}
.po-result,.po-inline-result {
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  font-size:10px;
  font-weight:900;
  padding:6px 10px;
  white-space:nowrap
}
.po-result {
  font-size:11px;
  padding:8px 12px
}
.po-result.success,.po-inline-result.success {
  background:#dcf6e8;
  color:#08764b
}
.po-result.warning,.po-inline-result.warning {
  background:#fff0d5;
  color:#a55300
}
.po-result.danger,.po-inline-result.danger {
  background:#fee4e2;
  color:#b42318
}
.po-result.neutral,.po-inline-result.neutral {
  background:#e8f0ff;
  color:#175cd3
}
.po-summary-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px
}
.po-summary-card {
  border:1px solid #dfe7f0;
  background:#fff;
  border-radius:14px;
  padding:14px
}
.po-summary-card>span {
  display:block;
  color:#64748b;
  font-size:10px;
  text-transform:uppercase;
  font-weight:850;
  letter-spacing:.04em
}
.po-summary-card>b {
  display:block;
  margin-top:6px;
  font-size:18px;
  color:#13233c
}
.po-summary-card>small {
  display:block;
  margin-top:4px;
  color:#718096;
  font-size:10px
}
.po-summary-card.success {
  background:#f4fcf7;
  border-color:#ccebd9
}
.po-summary-card.warning {
  background:#fffaf0;
  border-color:#f6d89a
}
.po-panel {
  background:#fff;
  border:1px solid #dfe7f0;
  border-radius:15px;
  padding:18px
}
.po-panel.po-empty {
  text-align:center;
  padding:40px
}
.po-panel.po-empty h3 {
  margin:0 0 5px
}
.po-panel.po-empty p {
  margin:0;
  color:#64748b
}
.po-panel.po-empty.error {
  border-color:#f3b8b3;
  background:#fff8f7
}
.po-panel-head {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:13px
}
.po-panel-head h3 {
  margin:0;
  font-size:17px
}
.po-panel-head p {
  margin:4px 0 0;
  color:#64748b;
  font-size:11px
}
.po-panel-head>span {
  font-size:11px;
  color:#64748b
}
.po-table-wrap {
  overflow:auto;
  border:1px solid #e2e8f0;
  border-radius:12px
}
.po-table {
  width:100%;
  border-collapse:collapse;
  min-width:850px
}
.po-table th {
  background:#f5f8fc;
  color:#64748b;
  text-align:start;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.06em;
  padding:10px
}
.po-table td {
  padding:11px 10px;
  border-top:1px solid #e7edf4;
  font-size:11px;
  vertical-align:middle
}
.po-table td b {
  display:block;
  font-size:11px
}
.po-table td small {
  display:block;
  color:#718096;
  margin-top:3px;
  font-size:9px
}
.po-table tr.excluded {
  opacity:.65;
  background:#fafafa
}
.po-no-rows {
  text-align:center;
  color:#64748b;
  padding:28px!important
}
.po-cost-layout {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);
  gap:16px
}
.po-cost-list {
  border:1px solid #e1e8f0;
  border-radius:12px;
  overflow:hidden
}
.po-cost-list>div {
  display:flex;
  justify-content:space-between;
  gap:15px;
  padding:11px 13px;
  border-bottom:1px solid #e7edf4
}
.po-cost-list>div:last-child {
  border-bottom:0
}
.po-cost-list span {
  color:#5f6f84;
  font-size:11px
}
.po-cost-list b {
  font-size:12px
}
.po-cost-list .grand {
  background:#0d2342;
  color:#fff;
  padding:15px
}
.po-cost-list .grand span {
  color:#bdc9d8
}
.po-cost-list .grand b {
  font-size:18px
}
.po-unit-costs {
  display:grid;
  gap:10px
}
.po-open-receiving {
  border:0;
  background:#edf4ff;
  color:#145fd7;
  border-radius:9px;
  padding:7px 10px;
  font-weight:850;
  font-size:10px;
  cursor:pointer
}
.mp-detail-tabs {
  display:flex;
  gap:4px;
  background:#fff;
  border:1px solid #dfe7f0;
  border-radius:13px;
  padding:5px;
  margin-bottom:14px
}
.mp-detail-tabs button {
  border:0;
  background:transparent;
  padding:10px 15px;
  border-radius:9px;
  color:#65758a;
  font-weight:850;
  cursor:pointer
}
.mp-detail-tabs button.active {
  background:#eaf2ff;
  color:#145fd7
}
.mp-print-error {
  background:#fff1f0;
  color:#b42318;
  border:1px solid #f3b8b3;
  border-radius:10px;
  padding:10px 12px;
  margin-bottom:12px;
  font-size:12px
}
@media(max-width:1100px) {
  .po-summary-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .po-cost-layout {
    grid-template-columns:1fr
  }
}
@media(max-width:650px) {
  .po-report-state {
    align-items:flex-start;
    flex-direction:column
  }
  .po-summary-grid {
    grid-template-columns:1fr
  }
  .mp-detail-tabs {
    overflow:auto
  }
  .mp-detail-tabs button {
    white-space:nowrap
  }
  .po-panel {
    padding:13px
  }
}
/* Easy-run shell integration overrides */
.mp-module{font-size:14px}
.mp-module .mp-wizard-header h2,.mp-module .mp-page-header h2{font-size:28px}
.mp-module .mp-field input,.mp-module .mp-field select,.mp-module .mp-field textarea{color:#10213b;background:#fff}
.mp-module .mp-purchase-table th{font-size:10px}
.mp-module .mp-purchase-table td{font-size:13px}
.mp-stock-boundary{font-size:10px;color:#6f7f74;background:#f4f8f5;border:1px solid #dfe8e1;border-radius:999px;padding:7px 10px}.purchase-print-meta{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0 8px;border-top:1px solid #dce3dd;border-bottom:1px solid #dce3dd;padding:12px 0}.purchase-print-meta b{font-size:10px;text-transform:uppercase;letter-spacing:.06em}.purchase-print-meta p{font-size:9px;margin:4px 0;color:#66746b}.purchase-paper td small{display:block;color:#78847c;font-size:8px;margin-top:2px}

/* Purchase-owned inline master action styles extracted from the legacy transaction block. */
.mp-inline-add{border:0;background:transparent;color:#2f6edb;font-size:9px;font-weight:800;padding:0;cursor:pointer;white-space:nowrap}
.mp-label-action{display:flex!important;justify-content:space-between;align-items:center;gap:8px}
.mp-inline-add:hover{text-decoration:underline}


/* MP7 final-pass accessibility and lifecycle states */
.mp-row-actions{
  display:flex;
  gap:6px;
  align-items:center;
  flex-wrap:wrap
}
.mp-cost-restricted{
  display:inline-flex;
  align-items:center;
  border:1px solid #dfe6ef;
  background:#f7f9fc;
  color:#6f7d90;
  border-radius:999px;
  padding:5px 8px;
  font-size:10px;
  font-weight:800
}
.mp-cost-restricted-note{
  display:grid;
  gap:5px;
  background:#f7f9fc;
  border:1px solid #dfe6ef;
  border-radius:12px;
  padding:13px;
  margin:12px 0
}
.mp-cost-restricted-note b{
  color:#30425e;
  font-size:12px
}
.mp-cost-restricted-note span{
  color:#6f7d90;
  font-size:11px;
  line-height:1.45
}
.mp-cancelled-banner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:#fff3f2;
  border:1px solid #f0c9c6;
  color:#8e3b36;
  border-radius:13px;
  padding:12px 14px;
  margin-bottom:14px
}
.mp-cancelled-banner b{
  font-size:12px
}
.mp-cancelled-banner span{
  font-size:11px
}
.purchase-print-notes{
  margin-top:25px
}
.purchase-print-notes b{
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.05em
}
.purchase-print-notes p{
  font-size:9px;
  line-height:1.5;
  white-space:pre-wrap
}
.mp-module button:focus-visible,
.mp-module input:focus-visible,
.mp-module select:focus-visible,
.mp-module textarea:focus-visible,
.paperback .mp-btn:focus-visible{
  outline:2px solid #1769ed;
  outline-offset:2px
}
.mp-module button[aria-busy="true"]{
  cursor:wait
}

@media(max-width:700px){
  .mp-row-actions{
    min-width:150px
  }
  .mp-cancelled-banner{
    align-items:flex-start;
    flex-direction:column
  }
  .mp-stock-boundary{
    display:none
  }
  .mp-list-heading{
    align-items:flex-start
  }
}

@media(max-width:560px){
  .mp-page-header>.mp-btn{
    width:100%
  }
  .mp-row-actions .mp-open-button{
    min-height:38px
  }
  .mp-search-box{
    max-width:none
  }
}

/* MP live QA — Purchase-owned Add Vendor modal + material-item alignment */
.mp-material-top-grid{
  display:grid;
  gap:14px;
  align-items:start;
}
.mp-material-top-grid.three{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.mp-material-top-grid.two{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.mp-material-top-grid .material-picker-field,
.mp-material-top-grid .mp-field{
  min-width:0;
}
.mp-material-top-grid .material-picker-field>label{
  min-height:30px;
  display:flex;
  align-items:flex-end;
  line-height:1.25;
}
.mp-material-description-row{
  margin-top:14px;
}
.mp-material-description-row .mp-field{
  width:100%;
}

.mp-vendor-modal{
  width:min(760px,calc(100vw - 32px));
  border:1px solid #dfe7f0;
  border-radius:18px;
  box-shadow:0 24px 70px rgba(16,32,58,.24);
  overflow:hidden;
}
.mp-vendor-modal .modalhead{
  align-items:flex-start;
  gap:18px;
  padding:20px 22px 16px;
  background:#fff;
  border-bottom:1px solid #e8edf3;
}
.mp-vendor-modal .modal-title-copy{
  min-width:0;
}
.mp-vendor-modal .modal-title-copy h2{
  margin:0;
  color:#10213b;
  font-size:21px;
  line-height:1.2;
}
.mp-vendor-modal .modal-title-copy p{
  max-width:570px;
  margin:5px 0 0;
  color:#66788e;
  font-size:11.5px;
  line-height:1.45;
}
.mp-vendor-modal .modal-close-icon{
  flex:0 0 34px;
  width:34px;
  height:34px;
  padding:0;
  border:1px solid #dce5ef;
  border-radius:9px;
  background:#fff;
  color:#3f536c;
  font-size:20px;
  line-height:1;
}
.mp-vendor-modal .modal-close-icon:hover{
  background:#f5f8fb;
}
.mp-vendor-modal .modalbody{
  padding:18px 22px 20px;
  background:#fff;
}
.mp-vendor-modal-content{
  display:grid;
  gap:15px;
}
.mp-vendor-info-note{
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  align-items:center;
  gap:10px;
  border:1px solid #cfe0f8;
  border-radius:11px;
  background:#eef6ff;
  color:#31577f;
  padding:11px 13px;
}
.mp-vendor-info-note>span{
  width:20px;
  height:20px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#1769ed;
  color:#fff;
  font-size:11px;
  font-weight:900;
  font-style:normal;
}
.mp-vendor-info-note p{
  margin:0;
  font-size:11px;
  line-height:1.45;
}
.mp-vendor-error{
  border:1px solid #f2b8b4;
  border-radius:10px;
  background:#fff3f2;
  color:#a63c34;
  padding:10px 12px;
  font-size:11px;
  font-weight:750;
}
.mp-vendor-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px 16px;
}
.mp-vendor-field{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:6px;
  color:#36465f;
}
.mp-vendor-field>span{
  min-height:18px;
  display:flex;
  align-items:center;
  gap:4px;
  color:#30445f;
  font-size:11px;
  font-weight:850;
}
.mp-vendor-field>span b{
  color:#d23c32;
  font-size:12px;
}
.mp-vendor-field input,
.mp-vendor-field select{
  width:100%;
  min-height:42px;
  border:1px solid #dbe3ed;
  border-radius:10px;
  background:#fff;
  color:#1c2f4a;
  padding:10px 11px;
  outline:none;
}
.mp-vendor-field input::placeholder{
  color:#93a1b2;
}
.mp-vendor-field input:focus,
.mp-vendor-field select:focus{
  border-color:#82aef4;
  box-shadow:0 0 0 3px rgba(23,105,237,.09);
}
.mp-vendor-modal .modalfoot{
  gap:9px;
  padding:14px 22px;
  border-top:1px solid #e8edf3;
  background:#fbfdff;
}
.mp-vendor-modal .modalfoot .btn{
  min-height:40px;
  border-radius:10px;
  padding:0 16px;
  font-weight:800;
}
.mp-vendor-modal .modalfoot .btn.primary{
  border-color:#1769ed;
  background:linear-gradient(135deg,#1769ed,#0d47c5);
  color:#fff;
  box-shadow:0 8px 18px rgba(23,105,237,.18);
}

@media(max-width:850px){
  .mp-material-top-grid.three,
  .mp-material-top-grid.two{
    grid-template-columns:1fr;
  }
  .mp-material-top-grid .material-picker-field>label{
    min-height:0;
  }
}
@media(max-width:700px){
  .mp-vendor-modal{
    width:min(94vw,760px);
  }
  .mp-vendor-modal .modalhead,
  .mp-vendor-modal .modalbody,
  .mp-vendor-modal .modalfoot{
    padding-inline-start:16px;
    padding-inline-end:16px;
  }
  .mp-vendor-form{
    grid-template-columns:1fr;
  }
  .mp-vendor-modal .modalfoot{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .mp-vendor-modal .modalfoot .btn{
    width:100%;
  }
}

/* MP live QA — explicit tax add/deduct controls and aligned tax cards */
.mp-tax-control-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  align-items:start;
}
.mp-tax-control-grid .mp-field{
  margin:0;
}
.mp-tax-control-grid .mp-tax-calculated{
  min-height:72px;
  align-self:end;
}
.mp-tax-control-grid .mp-tax-remarks{
  grid-column:span 2;
}
.mp-tax-control-grid .mp-tax-remarks.fixed{
  grid-column:span 3;
}
.mp-tax-calculated.addition{
  background:#eef5ff;
  border-color:#d4e4fa;
}
.mp-tax-calculated.deduction{
  background:#fff7ed;
  border-color:#f3d3a2;
}
.mp-tax-calculated.deduction span,
.mp-tax-calculated.deduction b{
  color:#9a4d00;
}
.mp-tax-totals{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}
.mp-tax-totals>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:48px;
  border:1px solid #dfe7f0;
  border-radius:11px;
  background:#fbfdff;
  padding:10px 12px;
}
.mp-tax-totals span{
  color:#617087;
  font-size:11px;
  font-weight:800;
}
.mp-tax-totals b{
  color:#173052;
  font-size:13px;
}
.mp-tax-totals .net{
  background:#eef5ff;
  border-color:#d4e4fa;
}
.mp-tax-grand.split{
  display:grid;
  grid-template-columns:1fr 1fr auto;
  gap:10px 16px;
}
.mp-tax-grand.split span{
  font-size:11px;
}

@media(max-width:1050px){
  .mp-tax-control-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .mp-tax-control-grid .mp-tax-remarks,
  .mp-tax-control-grid .mp-tax-remarks.fixed{
    grid-column:span 1;
  }
  .mp-tax-totals{
    grid-template-columns:1fr;
  }
  .mp-tax-grand.split{
    grid-template-columns:1fr;
  }
}
@media(max-width:650px){
  .mp-tax-control-grid{
    grid-template-columns:1fr;
  }
}

@media print{
  .purchase-paper tr,
  .purchase-paper .purchase-print-meta,
  .purchase-paper .papertotal,
  .purchase-paper .purchase-print-notes,
  .purchase-paper .sign{
    break-inside:avoid
  }
}


/* MP-OV4 — real document attachments */
.mp-attachment-picker{
  display:grid;
  gap:10px;
  margin:12px 0 16px;
  padding:13px;
  border:1px solid #dfe7f0;
  border-radius:12px;
  background:#fbfdff;
}
.mp-attachment-picker-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.mp-attachment-picker-head>div{
  display:grid;
  gap:3px;
}
.mp-attachment-picker-head b{
  color:#173052;
  font-size:12px;
}
.mp-attachment-picker-head span{
  color:#6f7f93;
  font-size:10px;
}
.mp-file-button{
  position:relative;
  overflow:hidden;
  cursor:pointer;
}
.mp-file-button input{
  position:absolute;
  inline-size:1px;
  block-size:1px;
  opacity:0;
  pointer-events:none;
}
.mp-attachment-selected,
.mp-attachment-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-width:0;
  padding:10px 11px;
  border:1px solid #e3e9f0;
  border-radius:10px;
  background:#fff;
}
.mp-attachment-selected>span,
.mp-attachment-row>span{
  min-width:0;
  display:grid;
  gap:3px;
}
.mp-attachment-selected b,
.mp-attachment-row b{
  overflow-wrap:anywhere;
  color:#203b5d;
  font-size:11px;
}
.mp-attachment-selected small,
.mp-attachment-row small,
.mp-attachment-reference-only{
  color:#738196;
  font-size:10px;
}
.mp-attachment-list{
  display:grid;
  gap:8px;
}
.mp-attachment-list-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:#52657e;
  font-size:11px;
}
.mp-attachment-list-head span{
  min-width:24px;
  text-align:center;
  padding:2px 7px;
  border-radius:999px;
  background:#eef3f8;
}
.mp-attachment-empty{
  padding:12px;
  border:1px dashed #dbe4ee;
  border-radius:10px;
  color:#77869a;
  font-size:11px;
  text-align:center;
}
.mp-attachment-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  flex:0 0 auto;
}
.mp-attachment-row .mp-btn{
  flex:0 0 auto;
}
@media(max-width:650px){
  .mp-attachment-picker-head,
  .mp-attachment-selected,
  .mp-attachment-row{
    align-items:stretch;
    flex-direction:column;
  }
  .mp-attachment-picker-head .mp-btn,
  .mp-attachment-selected .mp-btn,
  .mp-attachment-actions{
    width:100%;
    flex-direction:column;
    align-items:stretch;
  }
  .mp-attachment-row .mp-btn{
    width:100%;
  }
}


/* MP-OV5 — Purchase Overview visual hierarchy and alignment */
.mp-preview-grid>main{
  min-width:0;
}
.mp-preview-grid>aside>.mp-preview-card{
  margin-bottom:0;
}
.mp-sidebar-card{
  padding:18px;
}
.mp-sidebar-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-bottom:11px;
  margin-bottom:4px;
  border-bottom:1px solid #edf1f5;
}
.mp-sidebar-card-head h3{
  margin:0;
  font-size:16px;
  line-height:1.25;
}
.mp-sidebar-card-head .mp-btn{
  min-height:34px;
  padding:7px 10px;
  font-size:10px;
  white-space:nowrap;
}
.mp-financial-card .mp-detail-field{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  min-height:43px;
  padding:9px 0;
}
.mp-financial-card .mp-detail-field span,
.mp-financial-card .mp-detail-field b{
  display:block;
  margin:0;
  text-transform:none;
  letter-spacing:0;
}
.mp-financial-card .mp-detail-field span{
  color:#69798e;
  font-size:10px;
  line-height:1.35;
}
.mp-financial-card .mp-detail-field b{
  color:#173052;
  font-size:12px;
  text-align:end;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.mp-sidebar-card .mp-preview-grand{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-top:13px;
  padding:13px 14px;
}
.mp-sidebar-card .mp-preview-grand span{
  max-width:58%;
  line-height:1.3;
}
.mp-sidebar-card .mp-preview-grand b{
  margin:0;
  text-align:end;
  white-space:nowrap;
  font-size:18px;
  line-height:1.1;
  font-variant-numeric:tabular-nums;
}
.mp-cost-summary-card>.mp-btn.full,
.mp-cost-restricted-card>.mp-btn.full{
  margin-top:12px;
}
.mp-cost-summary-card>.mp-btn.full+ .mp-btn.full,
.mp-cost-restricted-card>.mp-btn.full+ .mp-btn.full{
  margin-top:8px;
}
.mp-payable-card .mp-preview-grand{
  background:#102d55;
}
.mp-landed-card .mp-notes-box{
  margin-top:12px;
}
.mp-financial-history-box{
  margin-top:14px;
  padding-top:13px;
  border-top:1px solid #edf1f5;
}
.mp-financial-history-box>b{
  display:block;
  color:#51647d;
  font-size:10px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-bottom:8px;
}
.mp-financial-history{
  display:grid;
  gap:8px;
}
.mp-financial-history-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:8px 12px;
  padding:10px;
  border:1px solid #e3e9f0;
  border-radius:10px;
  background:#fbfdff;
}
.mp-financial-history-main,
.mp-financial-history-amount{
  min-width:0;
  display:grid;
  gap:3px;
}
.mp-financial-history-main b,
.mp-financial-history-amount b{
  color:#243d5c;
  font-size:10px;
  line-height:1.3;
}
.mp-financial-history-main small,
.mp-financial-history-amount small{
  color:#7c899a;
  font-size:9px;
  line-height:1.3;
}
.mp-financial-history-amount{
  text-align:end;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.mp-financial-history-actions{
  grid-column:1/-1;
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:7px;
  padding-top:2px;
}
.mp-financial-history-actions .mp-btn{
  min-height:32px;
  padding:6px 9px;
  font-size:9px;
}
.mp-documents-card .mp-attachment-list{
  margin-top:10px;
}
.mp-documents-card .mp-attachment-list-head{
  padding-bottom:6px;
  border-bottom:1px solid #edf1f5;
}
.mp-activity-card .mp-timeline{
  padding-top:8px;
}
.mp-preview-grid>main>.mp-preview-card:last-child{
  margin-bottom:0;
}

@media(max-width:1250px){
  .mp-preview-grid{
    grid-template-columns:1fr;
  }
  .mp-preview-grid>aside{
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:start;
  }
  .mp-preview-grid>aside>.mp-cost-summary-card,
  .mp-preview-grid>aside>.mp-cost-restricted-card,
  .mp-preview-grid>aside>.mp-payable-card{
    grid-column:auto;
  }
}
@media(max-width:850px){
  .mp-preview-actions{
    width:100%;
    max-width:none;
    justify-content:flex-start;
  }
  .mp-preview-grid>aside{
    grid-template-columns:1fr;
  }
}
@media(max-width:560px){
  .mp-sidebar-card{
    padding:16px;
  }
  .mp-sidebar-card-head{
    align-items:flex-start;
  }
  .mp-sidebar-card-head .mp-btn{
    flex:0 0 auto;
  }
  .mp-financial-card .mp-detail-field{
    grid-template-columns:minmax(0,1fr) auto;
  }
  .mp-sidebar-card .mp-preview-grand{
    align-items:flex-start;
    flex-direction:column;
  }
  .mp-sidebar-card .mp-preview-grand span{
    max-width:none;
  }
  .mp-sidebar-card .mp-preview-grand b{
    text-align:start;
  }
}


/* MP-OV6 — V9-inspired two-page Purchase Order + Receiving Expectation document */
.purchase-document-backdrop{
  padding:26px 18px 40px;
}
.purchase-document-page{
  width:210mm;
  min-height:297mm;
  margin:10px auto 18px;
  padding:13mm 14mm 10mm;
  color:#13243d;
  display:flex;
  flex-direction:column;
  box-shadow:0 12px 48px rgba(15,30,50,.2);
}
.mp-po-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding-bottom:10px;
  border-bottom:3px solid #155ed9;
}
.mp-po-brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.mp-po-brand .document-brand-logo{
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:9px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:#102844;
  color:#fff;
  font-size:12px;
  font-weight:900;
}
.mp-po-brand .document-brand-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#fff;
}
.mp-po-brand .document-brand-copy{
  min-width:0;
}
.mp-po-brand .document-brand-copy h1{
  margin:0;
  color:#102844;
  font-size:18px;
  line-height:1.08;
}
.mp-po-brand .document-brand-copy p{
  margin:3px 0 0;
  color:#4c6078;
  font-size:8.5px;
  font-weight:800;
}
.mp-po-brand .document-brand-copy small{
  display:block;
  margin-top:2px;
  color:#7f8da0;
  font-size:7px;
  line-height:1.35;
}
.mp-po-title{
  flex:0 0 auto;
  text-align:end;
}
.mp-po-title>span{
  display:block;
  color:#6d7b90;
  font-size:7.5px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.mp-po-title h2{
  margin:2px 0 5px;
  color:#102844;
  font-size:17px;
  line-height:1.1;
}
.mp-po-title>b{
  display:inline-flex;
  padding:4px 8px;
  border-radius:999px;
  background:#e8f0ff;
  color:#155ed9;
  font-size:7.5px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.mp-po-info-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin-top:11px;
  border:1px solid #dce4ee;
  border-radius:8px;
  overflow:hidden;
}
.mp-po-info{
  min-width:0;
  min-height:42px;
  padding:7px 8px;
  border-inline-end:1px solid #e3e9f0;
  border-bottom:1px solid #e3e9f0;
}
.mp-po-info:nth-child(4n){
  border-inline-end:0;
}
.mp-po-info:nth-last-child(-n+4){
  border-bottom:0;
}
.mp-po-info span{
  display:block;
  color:#7a879b;
  font-size:6.8px;
  font-weight:900;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.mp-po-info b{
  display:block;
  margin-top:3px;
  color:#152942;
  font-size:8.8px;
  line-height:1.3;
  overflow-wrap:anywhere;
}
.mp-po-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
  margin-top:9px;
}
.mp-po-metric{
  min-height:47px;
  padding:8px;
  border:1px solid #dce4ee;
  border-radius:8px;
  background:#f8fafc;
}
.mp-po-metric span{
  display:block;
  color:#718096;
  font-size:6.7px;
  font-weight:900;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.mp-po-metric b{
  display:block;
  margin-top:3px;
  color:#102844;
  font-size:11.5px;
  font-variant-numeric:tabular-nums;
}
.mp-po-metric.accent{
  border-color:#102844;
  background:#102844;
}
.mp-po-metric.accent span{
  color:#c6d5ea;
}
.mp-po-metric.accent b{
  color:#fff;
}
.mp-po-section{
  margin-top:12px;
}
.mp-po-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  margin-bottom:6px;
}
.mp-po-section-head h3{
  margin:0;
  color:#102844;
  font-size:11.5px;
}
.mp-po-section-head span{
  color:#8793a6;
  font-size:7px;
  text-align:end;
}
.mp-po-table-wrap{
  overflow:hidden;
  border:1px solid #dce4ee;
  border-radius:8px;
}
.mp-po-table{
  width:100%;
  margin:0;
  border-collapse:collapse;
  table-layout:auto;
}
.mp-po-table th{
  padding:5.5px;
  border-bottom:1px solid #dce4ee;
  background:#edf3f9;
  color:#55667d;
  font-size:6.4px;
  font-weight:900;
  letter-spacing:.035em;
  text-transform:uppercase;
}
.mp-po-table td{
  padding:6px 5.5px;
  border-bottom:1px solid #e5eaf0;
  color:#263b56;
  font-size:7.6px;
  line-height:1.3;
  vertical-align:top;
}
.mp-po-table tbody tr:last-child td{
  border-bottom:0;
}
.mp-po-table td small{
  display:block;
  margin-top:2px;
  color:#7d899a;
  font-size:6.6px;
}
.mp-po-table .right{
  text-align:end;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.mp-po-table .center{
  text-align:center;
}
.mp-po-commercial-bottom{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(240px,.85fr);
  gap:10px;
}
.mp-po-notes,
.mp-po-cost{
  border:1px solid #dce4ee;
  border-radius:8px;
  overflow:hidden;
}
.mp-po-notes{
  padding:9px;
}
.mp-po-notes>b{
  display:block;
  font-size:8.5px;
}
.mp-po-notes>p{
  min-height:26px;
  margin:4px 0 8px;
  color:#68778c;
  font-size:7.5px;
  line-height:1.4;
  white-space:pre-wrap;
}
.mp-po-tax-list{
  display:grid;
  gap:4px;
  padding-top:6px;
  border-top:1px solid #e5eaf0;
}
.mp-po-tax-list>strong{
  color:#53667d;
  font-size:7px;
  text-transform:uppercase;
}
.mp-po-tax-list>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:7px;
}
.mp-po-tax-list>div span small{
  display:block;
  color:#8a95a4;
  font-size:6px;
}
.mp-po-tax-list>div b{
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.mp-po-empty{
  margin:0;
  color:#8793a5;
  font-size:7px;
}
.mp-po-cost>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:6px 8px;
  border-bottom:1px solid #e3e9f0;
  font-size:7.5px;
}
.mp-po-cost>div:last-child{
  border-bottom:0;
}
.mp-po-cost>div b{
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.mp-po-cost .grand{
  padding:8px;
  background:#102844;
  color:#fff;
  font-size:9.5px;
  font-weight:900;
}
.mp-po-signatures{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:22px;
}
.mp-po-signatures span{
  padding-top:5px;
  border-top:1px solid #8090a6;
  color:#68778c;
  font-size:7px;
  text-align:center;
}
.mp-po-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:auto;
  padding-top:7px;
  border-top:1px solid #e1e6ed;
  color:#8a95a5;
  font-size:6.5px;
}
.mp-po-page2-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-top:9px;
}
.mp-po-page2-title h2{
  margin:0;
  color:#102844;
  font-size:15px;
}
.mp-po-page2-title p{
  margin:3px 0 0;
  color:#758398;
  font-size:7.5px;
}
.mp-po-page2-title>div:last-child{
  flex:0 0 auto;
  text-align:end;
}
.mp-po-page2-title>div:last-child b,
.mp-po-page2-title>div:last-child span{
  display:block;
}
.mp-po-page2-title>div:last-child b{
  color:#263e5e;
  font-size:9px;
}
.mp-po-page2-title>div:last-child span{
  margin-top:2px;
  color:#738197;
  font-size:7px;
}
.mp-po-logistics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px;
}
.mp-po-logistics .mp-po-info{
  border:1px solid #dce4ee;
  border-radius:7px;
}
.mp-po-material-detail{
  margin-top:7px;
  border:1px solid #dce4ee;
  border-radius:8px;
  overflow:hidden;
  break-inside:avoid;
}
.mp-po-material-detail-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:6px 8px;
  background:#102844;
  color:#fff;
}
.mp-po-material-detail-head h4{
  margin:0;
  font-size:9.5px;
}
.mp-po-material-detail-head span{
  color:#cbd8e8;
  font-size:6.7px;
}
.mp-po-detail-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.mp-po-detail-grid>div{
  min-height:35px;
  padding:5px 7px;
  border-inline-end:1px solid #e3e9f0;
  border-bottom:1px solid #e3e9f0;
}
.mp-po-detail-grid>div:nth-child(4n){
  border-inline-end:0;
}
.mp-po-detail-grid>div span{
  display:block;
  color:#7a8798;
  font-size:6.1px;
  font-weight:900;
  letter-spacing:.03em;
  text-transform:uppercase;
}
.mp-po-detail-grid>div b{
  display:block;
  margin-top:2px;
  color:#172a43;
  font-size:7.6px;
  line-height:1.25;
  overflow-wrap:anywhere;
}
.mp-po-receiving-note{
  display:flex;
  gap:6px;
  padding:6px 8px;
  background:#f2f7ff;
  color:#355274;
  font-size:7px;
}
.mp-po-receiving-note b{
  color:#155ed9;
}
.mp-po-empty-box{
  padding:12px;
  border:1px dashed #dce4ee;
  border-radius:8px;
  color:#7e8b9c;
  font-size:8px;
  text-align:center;
}

@media(max-width:850px){
  .purchase-document-backdrop{
    padding:12px 8px 24px;
  }
  .purchase-document-page{
    width:100%;
    min-height:auto;
    padding:18px;
  }
  .mp-po-info-grid,
  .mp-po-logistics,
  .mp-po-detail-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .mp-po-info:nth-child(4n),
  .mp-po-detail-grid>div:nth-child(4n){
    border-inline-end:1px solid #e3e9f0;
  }
  .mp-po-info:nth-child(2n),
  .mp-po-detail-grid>div:nth-child(2n){
    border-inline-end:0;
  }
  .mp-po-commercial-bottom{
    grid-template-columns:1fr;
  }
}
@media(max-width:560px){
  .mp-po-header,
  .mp-po-page2-title{
    align-items:flex-start;
    flex-direction:column;
  }
  .mp-po-title,
  .mp-po-page2-title>div:last-child{
    text-align:start;
  }
  .mp-po-info-grid,
  .mp-po-metrics,
  .mp-po-logistics,
  .mp-po-detail-grid{
    grid-template-columns:1fr;
  }
  .mp-po-info,
  .mp-po-info:nth-child(2n),
  .mp-po-info:nth-child(4n),
  .mp-po-detail-grid>div,
  .mp-po-detail-grid>div:nth-child(2n),
  .mp-po-detail-grid>div:nth-child(4n){
    border-inline-end:0;
  }
  .mp-po-table-wrap{
    overflow-x:auto;
  }
  .mp-po-table{
    min-width:760px;
  }
}
@page purchase-order{
  size:A4 portrait;
  margin:0;
}
@media print{
  .purchase-document-page{
    page:purchase-order;
  }
  .purchase-document-backdrop{
    position:absolute!important;
    inset:0!important;
    padding:0!important;
    background:#fff!important;
  }
  .purchase-document-page{
    width:210mm!important;
    min-height:297mm!important;
    margin:0!important;
    padding:13mm 14mm 10mm!important;
    box-shadow:none!important;
    page-break-after:always;
    break-after:page;
  }
  .purchase-document-page:last-child{
    page-break-after:auto;
    break-after:auto;
  }
  .mp-po-material-detail,
  .mp-po-commercial-bottom,
  .mp-po-table tr,
  .mp-po-signatures{
    break-inside:avoid;
  }
}


/* MP-OV7 — Pending carriage dispatch confirmation */
.mp-dispatch-confirmation{
  max-width:760px;
}
.mp-dispatch-confirmation .modalbody{
  display:grid;
  gap:16px;
}
.mp-dispatch-question{
  display:grid;
  gap:9px;
}
.mp-dispatch-question>b{
  color:#173052;
  font-size:12px;
}
.mp-dispatch-choice-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.mp-dispatch-choice{
  position:relative;
  display:flex;
  min-height:104px;
  padding:13px;
  border:1px solid #dbe4ef;
  border-radius:12px;
  background:#fff;
  cursor:pointer;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.mp-dispatch-choice:hover{
  border-color:#abc2e3;
}
.mp-dispatch-choice.selected{
  border-color:#1b66d9;
  background:#f3f7ff;
  box-shadow:0 0 0 2px rgba(27,102,217,.08);
}
.mp-dispatch-choice input{
  position:absolute;
  inline-size:1px;
  block-size:1px;
  opacity:0;
  pointer-events:none;
}
.mp-dispatch-choice span{
  display:grid;
  align-content:start;
  gap:5px;
}
.mp-dispatch-choice b{
  color:#183455;
  font-size:11px;
  line-height:1.3;
}
.mp-dispatch-choice small{
  color:#6f7f93;
  font-size:9.5px;
  line-height:1.45;
}
.mp-dispatch-transporter{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:8px;
}
.mp-dispatch-transporter>.field{
  min-width:0;
}
.mp-dispatch-transporter>.mp-btn{
  align-self:end;
  min-height:32px;
  height:32px;
  margin:0;
  padding:0 13px;
  border-radius:8px;
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
}
.mp-dispatch-basis{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  border:1px solid #e3e9f0;
  border-radius:9px;
  background:#f8fafc;
}
.mp-dispatch-basis span{
  color:#748399;
  font-size:9px;
}
.mp-dispatch-basis b{
  color:#294463;
  font-size:10px;
}
.mp-dispatch-confirmation .modalfoot .btn.primary:disabled{
  opacity:.5;
  cursor:not-allowed;
  box-shadow:none;
}
@media(max-width:720px){
  .mp-dispatch-choice-grid{
    grid-template-columns:1fr;
  }
  .mp-dispatch-choice{
    min-height:auto;
  }
  .mp-dispatch-transporter{
    grid-template-columns:1fr;
  }
  .mp-dispatch-transporter>.mp-btn{
    width:100%;
  }
}
