/* v37.3.6 — Single-frame controls, compact onsite form, aligned driver desk.
   Loaded after theme.css. Business logic, names and event handlers are untouched. */

/* The shell alone owns the border and focus ring, even after blur/autofill.
   Older rules targeted only form descendants or :focus, leaving nested frames. */
#appView #content .input-shell > input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not([type="file"]),
#appView #content .input-shell > select,
#appView #content .input-shell > textarea,
#modal .input-shell > input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not([type="file"]),
#modal .input-shell > select,
#modal .input-shell > textarea {
  box-sizing:border-box!important;
  flex:1 1 0!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
  background-color:transparent!important;
}
#appView #content .input-shell > input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
#modal .input-shell > input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) {
  height:100%!important;
  padding:8px 0!important;
}
#appView #content .input-shell > select,
#modal .input-shell > select {
  height:100%!important;
  padding-block:8px!important;
  padding-inline-start:0!important;
  padding-inline-end:28px!important;
}
#appView #content .input-shell > textarea,
#modal .input-shell > textarea {
  display:block!important;
  padding:8px 0!important;
  resize:vertical;
}
#appView #content .input-shell:has(> textarea),
#modal .input-shell:has(> textarea) {
  height:auto!important;
  align-items:flex-start!important;
}
/* Keep browser autofill readable without introducing a second rectangular fill. */
#appView #content .input-shell > input:autofill,
#modal .input-shell > input:autofill {
  background-clip:text!important;
}

/* Onsite customer strip: less vertical padding, smaller avatar, no clipped content. */
#appView #content .sd-oe-customer {
  gap:10px!important;padding:8px 14px!important;margin-top:10px!important;
  min-height:0!important;align-items:center!important;
}
#appView #content .sd-oe-customer > .sd-avatar.lg {
  width:40px!important;height:40px!important;min-width:40px!important;border-radius:10px!important;
}
#appView #content .sd-oe-customer-id {line-height:1.4!important;min-width:0!important}
#appView #content .sd-oe-customer-id > strong {font-size:15px!important;margin:0!important}
#appView #content .sd-oe-customer-id > span {line-height:1.4!important}
#appView #content .sd-oe-customer .sd-stepper {gap:5px!important;flex-wrap:wrap}
#appView #content .sd-oe-customer .sd-stepper span {padding:4px 7px!important}
/* All four onsite item controls have the same width and top baseline. */
#appView #content #orderLines .sd-line {
  display:grid!important;grid-template-columns:28px repeat(4,minmax(0,1fr)) 32px!important;
  grid-template-areas:"no prod qty unit desc del"!important;
  gap:10px!important;align-items:start!important;padding:12px!important;
}
#appView #content #orderLines .sd-line-no {grid-area:no!important;margin-top:27px!important}
#appView #content #orderLines .cell-product {grid-area:prod!important}
#appView #content #orderLines .cell-qty {grid-area:qty!important}
#appView #content #orderLines .cell-unit {grid-area:unit!important}
#appView #content #orderLines .cell-desc {grid-area:desc!important}
#appView #content #orderLines .sd-line-del {grid-area:del!important;margin-top:27px!important}
#appView #content #orderLines .sd-line-cell {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:5px!important;min-width:0!important;width:100%!important;
}
#appView #content #orderLines .sd-line-cell > label {
  display:block!important;min-height:22px!important;line-height:22px!important;
  margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
#appView #content #orderLines .input-shell {
  width:100%!important;height:44px!important;min-height:44px!important;
  padding:0 10px!important;box-sizing:border-box!important;
}
#appView #content #orderLines .input-shell:has(> textarea) {height:auto!important}
#appView #content #orderLines textarea {
  height:42px;min-height:42px!important;line-height:1.6!important;
}
#appView #content #orderLines .sd-picked {min-height:0!important;margin-top:2px!important}
@media(max-width:1250px) {
  #appView #content .sd-oe-layout {grid-template-columns:minmax(0,1fr)!important}
  #appView #content .sd-oe-layout .sd-summary-side {position:static!important}
}
@media(max-width:900px) {
  #appView #content #orderLines .sd-line {
    grid-template-columns:28px repeat(2,minmax(0,1fr)) 32px!important;
    grid-template-areas:"no prod qty del" ". unit desc ."!important;
  }
  #appView #content .sd-oe-customer .sd-stepper {flex-basis:100%;justify-content:flex-start!important}
}
@media(max-width:560px) {
  #appView #content #orderLines .sd-line {
    grid-template-columns:24px minmax(0,1fr) 28px!important;
    grid-template-areas:"no prod del" ". qty ." ". unit ." ". desc ."!important;
    gap:8px!important;padding:10px!important;
  }
}

/* Driver list: six explicit columns; RTL heading and LTR phone share the same edge. */
#appView #content .drv-row {
  grid-template-columns:minmax(100px,1fr) minmax(110px,1fr) minmax(85px,.8fr) minmax(135px,1fr) minmax(130px,1fr) minmax(200px,1.4fr)!important;
  gap:12px!important;align-items:start!important;
}
#appView #content .drv-row > .adm-cell:not(.adm-actions) {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:5px!important;align-content:start!important;justify-items:start!important;text-align:right!important;
}
#appView #content .drv-row .drv-phone {
  display:block!important;justify-self:start!important;width:auto!important;
  line-height:1.5!important;direction:ltr;white-space:nowrap;
}
#appView #content .drv-row .adm-actions {
  display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:6px!important;
}
#appView #content .drv-row .drv-pos {flex-wrap:wrap!important;white-space:normal!important}
/* Legacy form label rules used flex-wrap, allowing a label beside an input. */
#modal #admDriverForm .cust-form-grid {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;gap:14px 16px!important;
}
#modal #admDriverForm .cust-field {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  align-content:start!important;gap:6px!important;margin:0!important;min-width:0!important;
}
#modal #admDriverForm .cust-field > span {
  display:block!important;min-height:20px!important;line-height:20px!important;text-align:right!important;
}
#modal #admDriverForm .cust-field > input,
#modal #admDriverForm .cust-field > select {
  box-sizing:border-box!important;width:100%!important;height:44px!important;
  min-height:44px!important;padding-block:8px!important;margin:0!important;
}
#modal #admDriverForm input[dir="ltr"] {text-align:right!important}
@media(max-width:1400px) {
  #appView #content .drv-row {grid-template-columns:repeat(3,minmax(0,1fr))!important}
  #appView #content .drv-row .adm-actions {grid-column:1/-1!important}
}
@media(max-width:760px) {
  #appView #content .drv-row {grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px) {
  #modal #admDriverForm .cust-form-grid {grid-template-columns:minmax(0,1fr)!important}
}

/* v37.3.7 — order entry has no redundant draft summary sidebar. */
#appView #content .sd-oe-layout,
#appView #content .v26-order-layout {
  grid-template-columns:minmax(0,1fr)!important;
}

/* v37.3.8 — warehouse preparation: one line, four equal boxes + plain checkbox.
   Narrow screens scroll the item grid rather than stacking weight under product. */
#appView #content .wh38-sheet {min-width:0!important;max-width:100%!important}
#appView #content .wh38-prep-items {
  display:grid!important;grid-template-columns:minmax(920px,1fr)!important;
  gap:10px!important;padding:14px 18px!important;
  max-width:100%!important;min-width:0!important;overflow-x:auto!important;
  overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;
}
#appView #content .wh38-prep-item {
  display:grid!important;grid-template-columns:28px repeat(4,minmax(0,1fr)) 76px!important;
  gap:10px!important;align-items:start!important;padding:10px 12px!important;
  min-width:0!important;margin:0!important;border-radius:12px!important;
}
#appView #content .wh38-prep-num {
  width:28px!important;height:28px!important;border-radius:8px!important;
  margin-top:35px!important;font-size:12px!important;
}
#appView #content .wh38-prep-cell,
#appView #content .wh38-stock-cell {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:6px!important;min-width:0!important;grid-column:auto!important;
}
#appView #content .wh38-cell-label {
  display:block!important;height:20px!important;line-height:20px!important;
  min-height:20px!important;margin:0!important;padding:0!important;
  font-size:12px!important;font-weight:800!important;color:var(--bt-ink-2)!important;
  white-space:nowrap!important;
}
#appView #content .wh38-cell-box {
  box-sizing:border-box!important;display:flex!important;align-items:center!important;
  width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;
  padding:0 10px!important;margin:0!important;gap:7px!important;
  border:1px solid var(--bt-line-2)!important;border-radius:10px!important;
  background:var(--bt-panel)!important;color:var(--bt-ink)!important;
  font-size:13px!important;line-height:1.5!important;box-shadow:none!important;
}
#appView #content .wh38-prep-title {flex-wrap:nowrap!important}
#appView #content .wh38-prep-title strong {
  min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;
  white-space:nowrap!important;font-size:13px!important;
}
#appView #content .wh38-prep-title .code-pill {flex:0 0 auto!important}
#appView #content .wh38-req {justify-content:center!important}
#appView #content .wh38-req b {font-size:13px!important;white-space:nowrap!important}
#appView #content .wh38-prep-desc {
  display:block!important;line-height:42px!important;
  overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;
}
#appView #content .wh38-weight .wh38-cell-box:focus-within {
  border-color:var(--bt-brand)!important;box-shadow:var(--bt-ring)!important;
}
#appView #content .wh38-weight input[data-wh38-weight] {
  box-sizing:border-box!important;flex:1 1 0!important;min-width:0!important;
  width:100%!important;height:42px!important;min-height:0!important;
  padding:6px 0!important;margin:0!important;border:0!important;border-radius:0!important;
  outline:0!important;box-shadow:none!important;background:transparent!important;
  font:inherit!important;font-size:16px!important;font-weight:800!important;
  direction:ltr!important;text-align:center!important;
}
#appView #content .wh38-weight .wh38-cell-box > b {
  flex:0 0 auto!important;padding:0 7px 0 0!important;align-self:center!important;
  border:0!important;border-inline-start:1px solid var(--bt-line)!important;
  color:var(--bt-muted)!important;font-size:11px!important;font-weight:600!important;
}
#appView #content .wh38-weight .wh38-cell-box:has(input:disabled) {
  background:var(--bt-soft)!important;color:var(--bt-muted)!important;
}
#appView #content .wh38-stock-cell {text-align:center!important}
#appView #content .wh38-oos {
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;width:44px!important;height:44px!important;min-height:44px!important;
  justify-self:center!important;margin:0!important;padding:0!important;gap:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  cursor:pointer;
}
#appView #content .wh38-oos input[type="checkbox"] {
  appearance:auto!important;box-sizing:border-box!important;flex:0 0 18px!important;
  width:18px!important;height:18px!important;min-height:18px!important;
  margin:0!important;padding:0!important;accent-color:var(--bt-brand);
  cursor:pointer;
}
#appView #content .wh38-oos input[type="checkbox"]:focus-visible {outline:2px solid var(--bt-brand);outline-offset:3px}
@media(max-width:620px) {
  #appView #content .wh38-prep-items {padding:12px!important}
}

/* v37.3.10 — incoming orders only: compact equal-cell header next to customer. */
#appView #content .wh38-incoming-list {gap:8px!important;margin-top:10px!important}
#appView #content .wh38-incoming-card {
  grid-template-columns:28px minmax(0,1fr)!important;gap:10px!important;
  padding:10px 12px!important;border-radius:12px!important;min-width:0!important;
}
#appView #content .wh38-incoming-card > div {min-width:0!important}
#appView #content .wh38-incoming-card .wh38-no {
  width:28px!important;height:28px!important;border-radius:8px!important;font-size:12px!important;
}
#appView #content .wh38-incoming-heading {
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:8px!important;margin:0 0 5px!important;min-height:24px!important;
}
#appView #content .wh38-incoming-heading .sd-chips {
  display:flex!important;align-items:center!important;flex-wrap:wrap;gap:5px!important;margin:0!important;
}
#appView #content .wh38-incoming-summary-scroll {
  max-width:100%!important;min-width:0!important;overflow-x:auto!important;
  overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;
}
#appView #content .wh38-incoming-summary {
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:6px!important;min-width:680px!important;align-items:stretch!important;
}
#appView #content .wh38-incoming-cell {
  display:flex!important;flex-direction:column!important;justify-content:center!important;
  box-sizing:border-box!important;min-width:0!important;height:44px!important;
  padding:3px 9px!important;gap:1px!important;
  border:1px solid var(--bt-line)!important;border-radius:8px!important;
  background:var(--bt-panel-2)!important;line-height:1.4!important;
}
#appView #content .wh38-incoming-cell > b {
  margin:0!important;font-size:10.5px!important;line-height:14px!important;
  font-weight:700!important;color:var(--bt-muted)!important;
}
#appView #content .wh38-incoming-cell > span,
#appView #content .wh38-incoming-cell > h3 {
  display:block!important;min-width:0!important;margin:0!important;
  font-size:12px!important;font-weight:800!important;line-height:18px!important;
  color:var(--bt-ink)!important;white-space:nowrap!important;
  overflow:hidden!important;text-overflow:ellipsis!important;
}
#appView #content .wh38-incoming-contact {
  margin:3px 0 0!important;color:var(--bt-muted)!important;font-size:11px!important;
  line-height:16px!important;overflow-wrap:anywhere;
}
#appView #content .wh38-incoming-card .wh38-items {gap:4px!important;margin-top:6px!important}
#appView #content .wh38-incoming-card .wh38-items > div {
  padding:4px 8px!important;gap:7px!important;border-radius:8px!important;
  font-size:12px!important;min-width:0!important;
}
#appView #content .wh38-incoming-card .wh38-items > div > span:nth-child(3) {overflow-wrap:anywhere}
#appView #content .wh38-incoming-card .wh38-actions {
  margin-top:6px!important;padding-top:6px!important;
}
#appView #content .wh38-incoming-card .wh38-actions .btn {
  height:36px!important;min-height:36px!important;padding:0 14px!important;font-size:12px!important;
}
@media(max-width:620px) {
  #appView #content .wh38-incoming-card {padding:9px!important;gap:7px!important}
  #appView #content .wh38-incoming-card .wh38-actions .btn {height:44px!important;min-height:44px!important}
}

/* v37.3.11 — settlement's primary actions, from right to left. */
#appView #content .stl-actions-bottom {
  display:block!important;padding:12px 16px!important;direction:rtl!important;
}
#appView #content .stl-footer-scroll {max-width:100%;overflow-x:auto;min-width:0}
#appView #content .stl-primary-actions {
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;align-items:center!important;direction:rtl!important;min-width:700px;
}
#appView #content .stl-primary-actions .stl-dispatch-control {display:contents!important}
#appView #content .stl-primary-actions [data-stl-driver] {
  grid-column:1!important;grid-row:1!important;box-sizing:border-box!important;
  min-width:0!important;width:100%!important;height:44px!important;
  padding:0 10px!important;font:inherit!important;font-size:12px!important;
  border:1px solid var(--bt-line-2)!important;border-radius:10px!important;background:#fff!important;
}
#appView #content .stl-primary-actions [data-stl="send-dispatch"] {
  grid-column:3!important;grid-row:1!important;
}
#appView #content .stl-primary-actions [data-stl="submit"] {
  grid-column:4!important;grid-row:1!important;
}
#appView #content .stl-primary-actions .btn,
#appView #content .stl-primary-actions .stl-submit {
  box-sizing:border-box!important;width:100%!important;min-width:0!important;
  height:44px!important;min-height:44px!important;padding:0 10px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  gap:6px!important;font-size:12px!important;border-radius:10px!important;margin:0!important;
}
#appView #content .stl-primary-actions .stl-dispatch-hint {
  grid-column:1/-1!important;grid-row:2!important;margin:0!important;
}
#appView #content .stl-actions-bottom .stl-dispatch-lock {margin-top:8px!important}

/* v37.3.12 — one compact customer row, shared by preparation and settlement. */
#appView #content .bt-customer-strip-scroll {
  min-width:0!important;max-width:100%!important;overflow-x:auto!important;
  overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;
}
#appView #content .bt-customer-strip {
  display:grid!important;grid-template-columns:repeat(var(--customer-fields),minmax(140px,1fr))!important;
  gap:5px!important;align-items:stretch!important;direction:rtl!important;
}
#appView #content .bt-customer-field {
  box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
  justify-content:center!important;gap:1px!important;min-width:0!important;height:38px!important;
  padding:3px 7px!important;border:1px solid var(--bt-line)!important;border-radius:7px!important;
  background:var(--bt-panel-2)!important;line-height:1.3!important;
}
#appView #content .bt-customer-field > b {
  font-size:10px!important;line-height:12px!important;margin:0!important;color:var(--bt-muted)!important;
}
#appView #content .bt-customer-field > span {
  display:block!important;min-width:0!important;font-size:12px!important;font-weight:800!important;
  line-height:16px!important;margin:0!important;color:var(--bt-ink)!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
#appView #content .bt-customer-field:focus-visible,
#appView #content .bt-customer-strip-scroll:focus-visible {outline:2px solid var(--bt-brand);outline-offset:-2px}
#appView #content .wh38-sheet-head-compact {
  display:block!important;padding:8px 12px!important;min-width:0!important;
}
#appView #content .wh38-sheet-heading {
  display:flex!important;justify-content:space-between!important;align-items:center!important;
  gap:8px!important;margin-bottom:4px!important;
}
#appView #content .wh38-sheet-head-compact .stl-eyebrow {font-size:11px!important}
#appView #content .wh38-sheet .wh38-progress {padding:6px 12px!important;gap:6px!important}
#appView #content .wh38-sheet .wh38-note {
  display:flex!important;align-items:center!important;gap:8px!important;
  margin:8px 12px 0!important;padding:6px 9px!important;line-height:1.5!important;
}
#appView #content .wh38-sheet .wh38-note b {font-size:12px!important;white-space:nowrap}
#appView #content .wh38-sheet .wh38-note span {font-size:11px!important}
#appView #content .wh38-sheet .wh38-prep-items {padding-block:8px!important}
#appView #content .wh38-sheet .wh38-sheet-foot {padding:8px 12px!important;gap:8px!important}
/* Sales form identity and close control share a single physical row. */
#appView #content .stl-form-head-inline {
  display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
  gap:8px!important;padding:0 0 8px!important;margin:0!important;
}
#appView #content .stl-form-head-inline .bt-customer-strip-scroll {flex:1 1 0!important}
#appView #content .stl-inline-title {font-size:12px!important;font-weight:900!important;white-space:nowrap;flex:0 0 auto}
#appView #content .stl-form-head-inline [data-stl="close"] {flex:0 0 auto!important}
#appView #content .stl-card {padding:12px!important}
#appView #content .stl-card .stl-section {padding:8px 10px!important}
#appView #content .stl-card .stl-section-head {margin-bottom:6px!important;gap:6px!important}
#appView #content .stl-card .stl-row {padding:6px 8px!important;gap:8px!important}
#appView #content .stl-card .stl-grid2 {gap:8px!important}
#appView #content .stl-card .stl-sig {height:120px!important}
#appView #content .stl-card .stl-totals {margin-top:6px!important;padding-top:6px!important}
#appView #content .stl-actions-bottom {padding:8px 10px!important}
/* Return action immediately follows the driver, both visually and in tab order. */
#appView #content .stl-primary-actions {
  grid-template-columns:repeat(4,minmax(0,1fr))!important;min-width:700px!important;
}
#appView #content .stl-primary-actions [data-stl="reopen"] {grid-column:2!important;grid-row:1!important}
#appView #content .stl-primary-actions [data-stl="send-dispatch"] {grid-column:3!important;grid-row:1!important}
#appView #content .stl-primary-actions [data-stl="submit"] {grid-column:4!important;grid-row:1!important}
/* Settlement ready queue ONLY: customer/order cards, no horizontal scrolling. */
#appView #content .stl-queue-panel .stl-queue-list,
#appView #content .stl-queue .stl-queue-list {
  grid-template-columns:minmax(0,1fr)!important;min-width:0!important;
  overflow-x:hidden!important;overflow-y:auto!important;
}
#appView #content .stl-queue-item-card {
  box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
  align-items:stretch!important;gap:4px!important;width:100%!important;
  min-width:0!important;max-width:100%!important;padding:10px 12px!important;
  overflow-x:hidden!important;text-align:right!important;
}
#appView #content .stl-queue-customer {
  display:block!important;min-width:0!important;font-size:13px!important;line-height:1.6!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
}
#appView #content .stl-queue-order {
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;
  min-width:0!important;font-size:11px!important;line-height:1.6!important;color:var(--bt-muted)!important;
}
#appView #content .stl-queue-order bdi {
  direction:ltr!important;font-size:12px!important;font-weight:800!important;
  color:var(--bt-ink)!important;font-variant-numeric:tabular-nums;
}

/* Compact vertical adjustments immediately below the settlement items. */
.stl-adjustments{display:flex;flex-direction:column;align-items:stretch;gap:6px;width:280px;max-width:100%;margin-top:10px;box-sizing:border-box}
.stl-adjustments label{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;gap:8px;min-width:0;margin:0;font-size:12px}
.stl-adjustments input.stl-input{width:100%;min-width:0;height:32px;min-height:32px;padding:4px 8px;box-sizing:border-box;font-size:13px;border-radius:6px}
.stl-adjustments > div{font-size:12px;margin-top:2px}


/* Settlement: signature/fingerprint right, invoice totals left. */
#appView #content .stl-invoice-bottom{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);gap:12px;direction:rtl;align-items:start;margin-top:10px}
#appView #content .stl-financial-column{grid-column:2;grid-row:1;margin:0!important;padding:10px!important;display:block;border:1px solid var(--border,#e3e6ea);border-radius:8px}
#appView #content .stl-verification-column{grid-column:1;grid-row:1;min-width:0}
#appView #content .stl-money-summary{width:100%;max-width:none;margin:0;gap:8px}
#appView #content .stl-money-summary label{grid-template-columns:100px minmax(0,1fr)}
#appView #content .stl-summary-line{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px}
#appView #content .stl-summary-grand{border-top:1px solid var(--border,#e3e6ea);padding-top:8px;font-weight:700}
#appView #content .stl-weight-summary{font-size:12px;margin-top:8px}
#appView #content .stl-verification-column .stl-grid2{margin:0;grid-template-columns:minmax(0,1fr)}
@media(min-width:1400px){#appView #content .stl-verification-column .stl-grid2{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){#appView #content .stl-invoice-bottom{grid-template-columns:minmax(0,1fr)}#appView #content .stl-financial-column{grid-column:1;grid-row:2}#appView #content .stl-verification-column{grid-column:1;grid-row:1}}
#appView #content .stl-financial-column{background:#fff;color:var(--ink,#1d222a)}
#appView #content .stl-financial-column > .stl-money-summary{display:flex;flex-direction:column;align-items:stretch}
#appView #content .stl-financial-column span{color:var(--ink,#1d222a)}
#appView #content .stl-financial-column .stl-summary-grand b{color:var(--brand,#b3132a);font-size:17px}
