/* One layout for intake, customer sales, supplier sales and branch dispatch. */
html #root #app .sm-composer {
  --movement-line: var(--brand-line, #e1dfed);
  --movement-soft: var(--brand-soft, #f6f5fb);
  --movement-muted: var(--brand-muted, #706d84);
  display: block !important;
  max-width: 1320px;
  margin-inline: auto;
  padding: 0;
}
html #root #app .sm-composer .se-workspace {
  display: grid !important;
  grid-template-columns: minmax(280px, 310px) minmax(0, 1fr);
  gap: 16px;
  align-items: start !important;
}
html #root #app .sm-composer .page-card {
  min-width: 0;
  padding: 20px !important;
  margin: 0 !important;
  border: 1px solid var(--movement-line);
  border-radius: 16px !important;
  box-shadow: 0 3px 12px #21154b03;
}
html #root #app .sm-composer .se-source {
  position: static !important;
  align-self: start;
}
html #root #app .sm-composer .sm-scanner { grid-column: 1 / -1; }
html #root #app .sm-composer .sm-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--movement-line);
}
html #root #app .sm-composer .sm-card-heading h2 {
  font-size: 15px !important;
  line-height: 1.7;
  margin: 0 !important;
}
html #root #app .sm-composer .sm-card-heading p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--movement-muted);
  margin: 3px 0 0;
}
html #root #app .sm-composer :is(.sm-section-icon, .sm-direction-icon) {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--movement-soft);
  color: var(--movement-muted);
}
html #root #app .sm-composer .sm-direction-icon[data-direction=entry] {
  color: #15803d !important;
  background: #e8f7ed !important;
}
html #root #app .sm-composer .sm-direction-icon[data-direction=exit] {
  color: #c6283e !important;
  background: #fff0f1 !important;
}
html #root #app .sm-composer .sm-card-heading svg { width: 23px; height: 23px; }
html #root #app .sm-composer .sm-direction-icon svg { color: inherit !important; }
html #root #app .sm-composer .sm-scan-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 10px;
  margin: 0;
}
html #root #app .sm-composer .sm-scan-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
}
html #root #app .sm-composer .sm-scan-form input {
  width: 100%;
  min-width: 0;
  height: 46px;
  margin: 0;
  font-size: 16px;
}
html #root #app .sm-composer button {
  min-height: 44px;
  border-radius: 10px;
  margin: 0;
}
html #root #app .sm-composer .sm-scan-form button {
  min-width: 135px;
  height: 46px;
  padding: 10px 18px;
  white-space: nowrap;
  font-size: 12px;
}
html #root #app .sm-composer .sm-extra-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
html #root #app .sm-composer .sm-extra-actions button { font-size: 12px; }
html #root #app .sm-composer .sr-source-panel {
  border: 0;
  border-radius: 0;
  padding: 0 !important;
  margin: 0 !important;
  gap: 14px;
}
html #root #app .sm-composer .sr-source-heading { display: none; }
html #root #app .sm-composer [data-movement-source] { width: 100%; font-size: 12px; }
html #root #app .sm-composer .sr-person { margin: 0; padding: 0 !important; }
html #root #app .sm-composer .sr-person small { display: block; margin-top: 6px; line-height: 1.8; }
html #root #app .sm-composer .sr-source-mode {
  border: 0;
  border-radius: 0;
  padding: 18px 0 0 !important;
  margin: 18px 0 0 !important;
  border-top: 1px solid var(--movement-line);
  gap: 12px;
}
html #root #app .sm-composer .sr-source-mode .sr-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}
html #root #app .sm-composer .sr-source-mode .sr-tabs button {
  flex: 1 1 100px;
  min-width: 0;
  min-height: 44px;
  padding: 8px !important;
  border: 1px solid var(--movement-line) !important;
  background: var(--brand-card, #fff);
  white-space: normal;
  font-size: 12px;
}
html.ux480.vp560.soon-brand.soon-portal body #root #app .sm-composer .sr-source-mode button[aria-pressed=true] {
  background: var(--brand-action, #2510e8) !important;
  color: #fff !important;
  border-color: var(--brand-action, #2510e8) !important;
}
html #root #app .sm-composer .sm-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 12px;
  text-align: center;
  min-height: 168px;
}
html #root #app .sm-composer .sm-empty > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--movement-soft);
  color: var(--movement-muted);
}
html #root #app .sm-composer .sm-empty svg { width: 25px; height: 25px; }
html #root #app .sm-composer .sm-empty h3 { margin: 4px 0 0; font-size: 14px; }
html #root #app .sm-composer .sm-empty p { margin: 0; color: var(--movement-muted); font-size: 12px; line-height: 1.9; }
html #root #app .sm-composer .sr-basket-foot { margin-top: 12px; padding-top: 12px; }
html #root #app .sm-composer .se-items > .se-review {
  position: static !important;
  padding: 16px 0 0 !important;
  margin: 12px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--movement-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
html #root #app .sm-composer .se-notes { padding: 0 0 14px; margin-bottom: 16px; }
html #root #app .sm-composer .se-notes summary { min-height: 30px; padding-block: 5px; }
html #root #app .sm-composer .si-save-footer {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
html #root #app .sm-composer .sr-summary { width: auto; }
html #root #app .sm-composer .si-save-footer .sr-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  width: auto;
}
html #root #app .sm-composer .si-save-footer .sr-actions button { min-height: 44px !important; min-width: 120px; width: auto; flex: 0 0 auto; font-size: 12px; white-space: nowrap; }
html #root #app .sm-composer .se-footer-note { margin-top: 14px; }
html #root #app .sm-composer [data-discard] { min-height: 36px; font-size: 11px; padding: 4px 0 !important; }
html #root #app .sm-dock { display: none !important; }
html #root #app .sm-composer [hidden], html #root #app .sm-dock[hidden], html #root #app .sm-dock [hidden] { display: none !important; }
@media (max-width: 1100px) {
  html #root #app .sm-composer .se-workspace { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  html #root #app .sm-composer .se-workspace { gap: 12px; }
  html #root #app .sm-composer .page-card { padding: 16px !important; border-radius: 14px !important; }
  html #root #app .sm-composer .sm-card-heading { gap: 10px; padding-bottom: 14px; margin-bottom: 14px; }
  html #root #app .sm-composer .sm-scan-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  html #root #app .sm-composer .sm-scan-form label { grid-column: 1 / -1; }
  html #root #app .sm-composer .sm-scan-form button { min-width: 0; width: 100%; padding-inline: 8px; }
  html #root #app .sm-composer .sm-extra-actions button { flex: 1; }
  html #root #app .sm-composer .sm-empty { min-height: 140px; padding: 20px 8px; }
  html #root #app .sm-composer .sr-summary { width: 100%; }
  html #root #app .sm-composer .si-save-footer .sr-actions { width: 100%; }
  html #root #app .sm-composer .si-save-footer .sr-actions button { flex: 1; min-width: 0; }
  html #root #app .sm-composer:has(+ .sm-dock:not([hidden])) { padding-bottom: 115px; }
  html #root #app .sm-dock:not([hidden]) {
    display: grid !important;
    gap: 8px;
    position: fixed;
    inset: auto 0 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--brand-card, #fff);
    z-index: 45;
  }
  html #root #app .sm-dock > div:first-child { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; }
  html #root #app .sm-dock .sr-actions { display: flex; gap: 8px; }
  html #root #app .sm-dock button { flex: 1; min-width: 0; min-height: 44px; font-size: 12px; white-space: normal; }
}
[data-theme=dark] #root #app .sm-composer .sm-direction-icon[data-direction=entry] { color: #86efac !important; background: #163d29 !important; }
[data-theme=dark] #root #app .sm-composer .sm-direction-icon[data-direction=exit] { color: #fda4af !important; background: #4b202a !important; }
html #root #app .sm-composer.se-entry { container-type: inline-size; max-width: 1440px; }
html #root #app .sm-composer.se-entry .se-workspace {
  grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr) !important;
  grid-template-areas: "scan scan" "source basket";
  gap: 16px;
}
html #root #app .sm-composer.se-entry .sm-scanner { grid-area: scan; padding: 16px 20px !important; }
html #root #app .sm-composer.se-entry .se-source {
  --source-surface: #f7f8fa;
  --source-border: #d5d9e0;
  --source-ink: #475569;
  grid-area: source;
  align-self: stretch;
  border-color: #e5e7eb !important;
  border-radius: 24px !important;
  box-shadow: 0 4px 18px #0f172a04;
}
html #root #app .sm-composer.se-entry .se-source #composer-party { display: grid; gap: 20px; }
html #root #app .sm-composer.se-entry .se-source .sr-source-panel { display: grid; gap: 16px; }
html #root #app .sm-composer.se-entry .se-source .sr-person {
  padding: 14px 16px !important;
  border: 0 !important;
  border-radius: 16px;
  background: var(--source-surface) !important;
  line-height: 1.9;
}
html #root #app .sm-composer.se-entry .se-source .sr-person strong { font-size: 14px; }
html #root #app .sm-composer.se-entry .se-selected-source { padding: 16px; border: 1px solid var(--source-border); border-radius: 20px; background: var(--source-surface); }
html #root #app .sm-composer.se-entry .se-selected-source header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; color: var(--source-ink); font-size: 12px; }
html #root #app .sm-composer.se-entry .se-selected-source > strong { display: block; font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
html #root #app .sm-composer.se-entry [data-change-entry-source] { min-height: 32px; padding: 4px 10px !important; font-size: 11px; background: transparent !important; }
html #root #app .sm-composer.se-entry .se-selected-source dl { display: grid; gap: 10px; margin: 14px 0 0; }
html #root #app .sm-composer.se-entry .se-selected-source dl div { display: grid; gap: 4px; }
html #root #app .sm-composer.se-entry .se-selected-source dt { font-size: 11px; color: var(--movement-muted); }
html #root #app .sm-composer.se-entry .se-selected-source dd { margin: 0; font-size: 12px; overflow-wrap: anywhere; }
html #root #app .sm-composer.se-entry .se-receiver-field { display: grid; gap: 8px; margin: 0; font-size: 12px; }
html #root #app .sm-composer.se-entry .se-receiver-field > span { display: flex; justify-content: space-between; gap: 8px; }
html #root #app .sm-composer.se-entry .se-receiver-field small { color: var(--movement-muted); font-size: 11px; }
html #root #app .sm-composer.se-entry .se-receiver-field input { width: 100%; min-height: 46px; border-radius: 12px; }
html #root #app .sm-composer.se-entry [data-entry-source-auto]:not([hidden]) { display: grid; gap: 16px; }
html #root #app .sm-composer.se-entry .se-source .sr-source-mode { margin: 0 !important; padding: 0 !important; border: 0 !important; }
html #root #app .sm-composer.se-entry .se-source .sr-source-mode > span { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 600; }
html #root #app .sm-composer.se-entry .se-items { grid-area: basket; align-self: stretch; height: auto !important; min-height: 0; }
html #root #app .sm-composer.se-entry .sr-basket-foot { border: 0 !important; padding-top: 0; }
html #root #app .sm-composer.se-entry .se-items > .se-review { border: 0 !important; padding-top: 8px !important; }
html #root #app .sm-composer.se-entry .se-basket-tools { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; flex-shrink: 0; }
html #root #app .sm-composer.se-entry .se-basket-tools button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; min-height: 40px; min-width: 40px; padding: 0 !important; border: 1px solid var(--movement-line); border-radius: 12px; background: transparent; color: var(--movement-muted); }
html #root #app .sm-composer.se-entry .se-basket-tools button:hover,
html #root #app .sm-composer.se-entry .se-basket-tools [data-has-notes="true"] { color: var(--primary, #3010e8); background: var(--movement-soft); }
html #root #app .sm-composer.se-entry .se-basket-tools button:focus-visible { outline: 2px solid var(--primary, #3010e8); outline-offset: 3px; }
html #root #app .sm-composer.se-entry .se-basket-tools svg { width: 19px; height: 19px; }
html #root #app .sm-composer.se-entry .se-items [data-line-count] { white-space: nowrap; font-weight: 500; color: var(--movement-muted); }
html.ux480.vp560.soon-brand.soon-portal body #detail:has(.sr-entry-source-modal) { width: 600px !important; max-width: calc(100vw - 24px) !important; max-height: calc(100dvh - 32px); padding: 0 !important; border: 1px solid var(--line, #e2e5ed); border-radius: 24px !important; box-shadow: 0 24px 80px #16113630; }
html.ux480.vp560.soon-brand.soon-portal body #detail:has(.sr-entry-source-modal) .seller-dialog-head { padding: 18px 24px !important; margin: 0 !important; border-bottom: 1px solid var(--line, #e2e5ed); }
html.ux480.vp560.soon-brand.soon-portal body #detail:has(.sr-entry-source-modal) #detail-body { padding: 24px !important; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal { gap: 18px; }
html #detail #close-dialog .se-source-close-icon { display: none; }
html.ux480.vp560.soon-brand.soon-portal body #detail:has(.sr-entry-source-modal) #close-dialog { display: inline-flex; align-items: center; justify-content: center; width: 36px; min-width: 36px; height: 36px; min-height: 36px; padding: 0 !important; flex: none; border-radius: 10px !important; }
html.ux480.vp560.soon-brand.soon-portal body #detail:has(.sr-entry-source-modal) #close-dialog > span { display: none; }
html.ux480.vp560.soon-brand.soon-portal body #detail:has(.sr-entry-source-modal) #close-dialog .se-source-close-icon { display: block; width: 20px; height: 20px; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal .sr-source-types { gap: 12px; padding: 0; background: transparent; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal .sr-source-types button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; min-width: 0; min-height: 94px !important; margin: 0; padding: 14px 8px !important; border: 1px solid var(--line, #dfe3ed) !important; border-radius: 18px !important; background: var(--card, #fff) !important; color: var(--text, #202340) !important; font-size: 13px !important; transition: background .15s, border-color .15s; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal .sr-source-types svg { width: 25px; height: 25px; flex: none; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal .sr-source-types button[aria-pressed=true] { background: var(--primary, #3010e8) !important; border-color: var(--primary, #3010e8) !important; color: #fff !important; box-shadow: 0 4px 12px #3010e820; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal .sr-source-types button:hover:not(:disabled):not([aria-pressed=true]) { background: var(--surface, #f7f8fa) !important; border-color: var(--primary, #3010e8) !important; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal .sr-source-types button:focus-visible { outline: 2px solid var(--primary, #3010e8); outline-offset: 3px; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal .se-source-search-hint { margin: 4px 0 -6px; font-size: 12px; line-height: 1.8; color: var(--muted, #64748b); }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal [data-movement-choice] { display: grid; gap: 12px; padding: 0; border: 0; border-radius: 0; min-height: 0; min-width: 0; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal [data-movement-choice]:has([data-add-movement-supplier]) { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal .se-source-field-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal .sr-supplier-picker { width: 100%; min-width: 0; margin: 0; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal label { display: grid; gap: 8px; font-size: 12px; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal input:not([type=hidden]) { width: 100%; min-width: 0; min-height: 48px; border-radius: 12px !important; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal .sr-inline-form { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; margin: 0; padding: 0; border: 0; background: transparent; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal .sr-inline-form > label { width: auto; min-width: 0; margin: 0; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal .sr-inline-form > button { min-height: 48px; margin: 0; border-radius: 12px !important; white-space: nowrap; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal [data-add-movement-supplier],
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal .sr-inline-form > button { display: inline-flex; align-items: center; justify-content: center; width: 48px; min-width: 48px; height: 48px; padding: 0 !important; margin: 0; border-radius: 12px !important; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal [data-add-movement-supplier] svg,
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal .sr-inline-form > button svg { width: 21px; height: 21px; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal [data-result]:empty { display: none; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal [data-movement-error]:not(:empty) { margin: 0; padding: 10px 12px; background: #fff1f2; color: #9f1239; border-radius: 12px; font-size: 12px; line-height: 1.8; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal .sr-modal-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin: 4px 0 0; padding-top: 18px; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal .sr-modal-actions button { min-height: 44px; margin: 0; padding: 10px 18px; border-radius: 12px !important; }
@media (max-width: 480px) {
 html.ux480.vp560.soon-brand.soon-portal body #detail:has(.sr-entry-source-modal) #detail-body { padding: 18px !important; }
 html.ux480.vp560.soon-brand.soon-portal body #detail:has(.sr-entry-source-modal) .seller-dialog-head { padding: 16px 18px !important; }
 html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal .sr-source-types { gap: 8px; }
 html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal .sr-source-types button { min-height: 86px !important; font-size: 12px !important; }
 html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal .sr-modal-actions button { flex: 0 0 auto; padding-inline: 14px; }
}
html.ux480.vp560.soon-brand.soon-portal body #root #app .sm-composer.se-entry [data-movement-source] {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 96px !important;
  padding: 20px 16px !important;
  border: 2px dashed var(--source-border) !important;
  border-radius: 22px !important;
  background: var(--source-surface) !important;
  color: var(--source-ink) !important;
  box-shadow: none !important;
  font-size: 14px;
  font-weight: 600;
  transition: background-color .15s, border-color .15s;
}
html #root #app .sm-composer.se-entry [data-movement-source]::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--source-border);
  border-radius: 11px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}
html.ux480.vp560.soon-brand.soon-portal body #root #app .sm-composer.se-entry [data-movement-source]:hover { background: var(--brand-card, #fff) !important; border-color: #94a3b8 !important; }
html #root #app .sm-composer.se-entry [data-movement-source]:focus-visible { outline: 2px solid var(--brand-action, #2510e8); outline-offset: 4px; }
html[data-theme=dark] #root #app .sm-composer.se-entry .se-source { --source-surface: #252b36; --source-border: #505b6c; --source-ink: #e2e8f0; border-color: #3b4554 !important; }
html #root #app .sm-composer.se-entry .se-source[hidden] + .se-items { grid-column: 1 / -1; }
html #root #app .sm-composer.se-entry .sm-card-heading { border: 0; padding: 0; margin-bottom: 16px; gap: 10px; }
html #root #app .sm-composer.se-entry .sm-scanner .sm-card-heading { margin-bottom: 12px; }
html #root #app .sm-composer.se-entry .sm-card-heading p { margin: 0; }
html #root #app .sm-composer.se-entry :is(.sm-section-icon, .sm-direction-icon) { width: 32px; height: 32px; border-radius: 9px; background: var(--movement-soft) !important; color: var(--brand-action, #2510e8) !important; font-size: 15px; font-weight: 700; }
html #root #app .sm-composer.se-entry .sm-section-icon svg { display: none; }
html #root #app .sm-composer.se-entry .sm-scanner .sm-direction-icon::after { content: none; }
html #root #app .sm-composer.se-entry .sm-direction-icon[data-direction=entry] { background: #dcfce7 !important; color: #15803d !important; }
html #root #app .sm-composer.se-entry .sm-direction-icon[data-direction=exit] { background: #fee2e2 !important; color: #b91c1c !important; }
html #root #app .sm-composer.se-entry .sm-direction-icon[data-direction=prepurchase] { background: #ffedd5 !important; color: #c2410c !important; }
html #root #app .sm-composer.se-entry .sm-direction-icon svg { display: block; width: 22px; height: 22px; }
html #root #app .sm-composer .sm-extra-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
html #root #app .pp-intake-unified .se-source [data-pre-source] { display: grid; gap: 16px; }
html #root #app .pp-intake-unified .pp-footer { margin-top: 16px; padding-top: 12px; border: 0; display: flex; justify-content: flex-end; }
html #root #app .pp-intake-unified [data-pre-count] { font-size: 13px; font-weight: 500; color: var(--movement-muted); }
html #root #app .pp-intake-unified [data-pre-items] > .sr-empty { min-height: 130px; padding: 20px 12px; }
html #root #app .pp-intake-unified [data-pre-items] { min-width: 0; }
html #root #app .pp-intake-unified .pp-intake-line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; margin-top: 12px; padding: 14px; border: 1px solid var(--line, #e2e5ed); border-radius: 16px; }
html #root #app .pp-intake-unified .pp-basket-prices { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
html #root #app .pp-intake-unified .pp-basket-actions { display: flex; align-items: start; gap: 6px; }
html #root #app .pp-intake-unified .pp-basket-warning { grid-column: 1 / -1; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-entry-source-modal [data-lookup] > label::after { content: none !important; display: none !important; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-pre-source-modal .se-source-choices { display: block; margin-bottom: 18px; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-pre-source-modal .sr-source-types { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-pre-source-modal [data-supplier]:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-pre-source-modal [data-lookup] > button { width: auto; padding-inline: 12px !important; }
html.ux480.vp560.soon-brand.soon-portal body #detail .sr-pre-source-modal [hidden] { display: none !important; }
@container (max-width: 540px) {
 html #root #app .pp-intake-unified .pp-intake-line { grid-template-columns: auto minmax(0, 1fr); }
 html #root #app .pp-intake-unified .pp-basket-actions { grid-column: 1 / -1; justify-content: flex-end; }
 html #root #app .pp-intake-unified .pp-basket-prices { grid-template-columns: minmax(0, 1fr); }
}
html #root #app .sm-composer.se-entry .se-source .sm-section-icon::after { content: "۲"; }
html #root #app .sm-composer.se-entry .se-items .sm-section-icon::after { content: "۳"; }
html #root #app .sm-composer.se-entry .sm-scan-form { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; }
html #root #app .sm-composer.se-entry .sm-scan-form label { grid-column: auto; }
html #root #app .sm-composer.se-entry .sm-scan-form button { min-width: 110px; padding-inline: 14px; }
html #root #app .sm-composer.se-entry #composer-basket { flex: 0 0 auto; min-width: 0; }
html #root #app .sm-composer.se-entry .sm-empty { min-height: 130px; padding: 20px 12px; }
html #root #app .sm-composer.se-entry .se-source :is(input, select, button) { max-width: 100%; }
html #root #app .sm-composer.se-entry .se-source :is(strong, small, p) { overflow-wrap: anywhere; }
@container (max-width: 859px) {
  html #root #app .sm-composer.se-entry .se-workspace { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: "scan" "source" "basket"; gap: 12px; }
  html #root #app .sm-composer.se-entry .page-card { padding: 16px !important; }
}
@container (max-width: 540px) {
  html #root #app .sm-composer.se-entry .sm-scan-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  html #root #app .sm-composer.se-entry .sm-scan-form label { grid-column: 1 / -1; }
  html #root #app .sm-composer.se-entry .sm-scan-form button { min-width: 0; width: 100%; padding-inline: 8px; }
  html #root #app .sm-composer.se-entry .sm-scan-form:not(:has([data-picker])) > button { grid-column: 1 / -1; }
}
