@layer transferCategoryAppearance {
  button[data-transfer-category-id-v902],
  #transferTagPickerV911 :is(input,.tag-option-v911) {
    appearance:none!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:transparent!important;
    color:inherit!important;
    text-shadow:none!important;
    scale:none!important;
  }
  button[data-transfer-category-id-v902]:hover,
  #transferTagPickerV911 .tag-option-v911:hover {
    text-decoration:underline!important;
  }
  #transferTagPickerV911 .tag-option-v911[aria-pressed="true"] {
    color:#214f79!important;
    font-weight:700!important;
  }
  #transferTagPickerV911 input {
    background:#f4f6f8!important;
  }
  button[data-transfer-category-id-v902]:focus-visible,
  #transferTagPickerV911 :is(input,.tag-option-v911):focus-visible {
    outline:2px solid #38678d!important;
    outline-offset:1px!important;
  }
}

/*
  The base stylesheet later converts these headers to a compact two-column grid
  and resets the header padding. The decorative icon remains absolutely positioned,
  so moving the whole header is not reliable. Reserve space on the actual text-copy
  element instead. This keeps the close button untouched and prevents overlap.
*/
html body #app #view-salary-add > .lf-entry-head-v319 > div:first-child,
html body #app #view-investments-add > .lf-entry-head-v319 > div:first-child,
html body #app #view-transfers-add > .lf-entry-head-v319 > div:first-child,
html body #app #view-pension-add > .lf-entry-head-v319 > div:first-child,
html body #app #view-usd-add > .lf-entry-head-v319 > div:first-child,
html body #app #view-usd-convert > .lf-entry-head-v319 > div:first-child{
  box-sizing:border-box!important;
  min-width:0!important;
  padding-left:58px!important;
}

html body #app #view-salary-add > .lf-entry-head-v319::before,
html body #app #view-investments-add > .lf-entry-head-v319::before,
html body #app #view-transfers-add > .lf-entry-head-v319::before,
html body #app #view-pension-add > .lf-entry-head-v319::before,
html body #app #view-usd-add > .lf-entry-head-v319::before,
html body #app #view-usd-convert > .lf-entry-head-v319::before{
  left:18px!important;
  top:18px!important;
  transform:none!important;
  width:44px!important;
  height:44px!important;
  z-index:1!important;
  pointer-events:none!important;
}

/* Make sure text always paints beside, never underneath, the icon. */
html body #app #view-salary-add > .lf-entry-head-v319 > div:first-child > *,
html body #app #view-investments-add > .lf-entry-head-v319 > div:first-child > *,
html body #app #view-transfers-add > .lf-entry-head-v319 > div:first-child > *,
html body #app #view-pension-add > .lf-entry-head-v319 > div:first-child > *,
html body #app #view-usd-add > .lf-entry-head-v319 > div:first-child > *,
html body #app #view-usd-convert > .lf-entry-head-v319 > div:first-child > *{
  position:relative!important;
  z-index:2!important;
}

@media(max-width:480px){
  html body #app #view-salary-add > .lf-entry-head-v319 > div:first-child,
  html body #app #view-investments-add > .lf-entry-head-v319 > div:first-child,
  html body #app #view-transfers-add > .lf-entry-head-v319 > div:first-child,
  html body #app #view-pension-add > .lf-entry-head-v319 > div:first-child,
  html body #app #view-usd-add > .lf-entry-head-v319 > div:first-child,
  html body #app #view-usd-convert > .lf-entry-head-v319 > div:first-child{
    padding-left:50px!important;
  }

  html body #app #view-salary-add > .lf-entry-head-v319::before,
  html body #app #view-investments-add > .lf-entry-head-v319::before,
  html body #app #view-transfers-add > .lf-entry-head-v319::before,
  html body #app #view-pension-add > .lf-entry-head-v319::before,
  html body #app #view-usd-add > .lf-entry-head-v319::before,
  html body #app #view-usd-convert > .lf-entry-head-v319::before{
    left:14px!important;
    top:15px!important;
    width:38px!important;
    height:38px!important;
  }
}


/*
  Add Transfer only.
  Professional standard desktop form:
    Transfer Type | Date
    Amount        | Currency
    From Bank     | To Bank
    From Balance  | To Balance
    FX Rate MYR   | Description

  Bank balances are displayed on their own dedicated row below the selectors
  so every label and value remains fully readable.
*/
html body #app #view-transfers-add.active{
  grid-template-columns:minmax(0,700px)!important;
}

html body #app #view-transfers-add > .lf-entry-head-v319,
html body #app #view-transfers-add > .lf-entry-card-v319{
  width:100%!important;
  max-width:700px!important;
}

html body #app #view-transfers-add > .lf-entry-card-v319{
  padding:16px 24px 18px!important;
}

html body #app #view-transfers-add #trForm.lf-entry-form-v319{
  width:100%!important;
  max-width:640px!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-areas:
    "type date"
    "amount currency"
    "from to"
    "frombal tobal"
    "rate description"
    "actions actions"
    "message message"!important;
  column-gap:16px!important;
  row-gap:14px!important;
  align-items:start!important;
}

html body #app #view-transfers-add #trForm > .transfer-type-field-v326{grid-area:type!important;}
html body #app #view-transfers-add #trForm > .transfer-date-field-v521{grid-area:date!important;}
html body #app #view-transfers-add #trForm > .transfer-amount-field-v521{grid-area:amount!important;}
html body #app #view-transfers-add #trForm > #trFromFieldV334{grid-area:from!important;}
html body #app #view-transfers-add #trForm > #trToFieldV334{grid-area:to!important;}
html body #app #view-transfers-add #trForm > .transfer-from-balance-field-v522{grid-area:frombal!important;}
html body #app #view-transfers-add #trForm > .transfer-to-balance-field-v522{grid-area:tobal!important;}
html body #app #view-transfers-add #trForm > .transfer-currency-field-v521{grid-area:currency!important;}
html body #app #view-transfers-add #trForm > .transfer-rate-field-v521{grid-area:rate!important;}
html body #app #view-transfers-add #trForm > .transfer-description-field-v521{
  grid-area:description!important;
  grid-column:auto!important;
}

html body #app #view-transfers-add #trForm > .field{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:6px!important;
}

html body #app #view-transfers-add #trForm > .field > label{
  display:block!important;
  width:100%!important;
  min-height:14px!important;
  margin:0!important;
  color:#404040!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.25!important;
  letter-spacing:.005em!important;
  white-space:nowrap!important;
}

html body #app #view-transfers-add #trForm :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  .lf-select-trigger-v510,
  .lf-dmy-date-display-v152,
  .lf-dmy-date-calendar-v152
){
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:38px!important;
  height:38px!important;
  box-sizing:border-box!important;
  font-size:12.5px!important;
  font-weight:500!important;
  line-height:1.2!important;
}

html body #app #view-transfers-add #trForm .lf-select-v510,
html body #app #view-transfers-add #trForm .lf-dmy-date-v152,
html body #app #view-transfers-add #trForm .lf-dmy-date-wrap-v152,
html body #app #view-transfers-add #trForm .transfer-bank-select-v521{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}

html body #app #view-transfers-add #trForm .lf-select-label-v510{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:12.5px!important;
  font-weight:500!important;
}

html body #app #view-transfers-add #trForm input[type="number"]{
  -moz-appearance:textfield!important;
  appearance:textfield!important;
}
html body #app #view-transfers-add #trForm input[type="number"]::-webkit-outer-spin-button,
html body #app #view-transfers-add #trForm input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance:none!important;
  margin:0!important;
}

html body #app #view-transfers-add #trForm > .transfer-bank-field-v333.transfer-bank-standard-v521{
  width:100%!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:6px!important;
}

html body #app #view-transfers-add #trForm > .transfer-bank-field-v333.transfer-bank-standard-v521 > label{
  display:block!important;
  width:100%!important;
  margin:0!important;
  color:#404040!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.25!important;
  white-space:nowrap!important;
}

html body #app #view-transfers-add #trForm .transfer-bank-select-v521 > select,
html body #app #view-transfers-add #trForm .transfer-bank-select-v521 > .lf-select-v510{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
}

html body #app #view-transfers-add #trForm > .transfer-balance-field-v522{
  width:100%!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:6px!important;
}

html body #app #view-transfers-add #trForm > .transfer-balance-field-v522 > label{
  display:block!important;
  width:100%!important;
  margin:0!important;
  color:#404040!important;
  font-size:11.5px!important;
  font-weight:700!important;
  line-height:1.2!important;
  white-space:normal!important;
}

html body #app #view-transfers-add #trForm .transfer-balance-display-v522.transfer-current-balance-v333{
  width:100%!important;
  min-width:0!important;
  min-height:38px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:8px 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#f9f9f9!important;
  color:#404040!important;
  overflow:visible!important;
  line-height:1.2!important;
  white-space:normal!important;
}

html body #app #view-transfers-add #trForm .transfer-balance-display-v522.transfer-current-balance-v333 span{
  min-width:0!important;
  color:#404040!important;
  font-size:11px!important;
  font-weight:600!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
}

html body #app #view-transfers-add #trForm .transfer-balance-display-v522.transfer-current-balance-v333 strong{
  flex:0 0 auto!important;
  margin:0!important;
  color:#404040!important;
  font-size:12px!important;
  font-weight:800!important;
  font-variant-numeric:tabular-nums!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}

html body #app #view-transfers-add #trBalanceWarningV333:empty{display:none!important;}
html body #app #view-transfers-add #trBalanceWarningV333:not(:empty){
  margin-top:2px!important;
  font-size:11px!important;
  line-height:1.3!important;
}

html body #app #view-transfers-add #trForm > .lf-entry-actions-v319{
  grid-area:actions!important;
  justify-self:center!important;
  margin-top:2px!important;
}

html body #app #view-transfers-add #trForm > #trMsg{
  grid-area:message!important;
  margin-top:0!important;
}

@media (max-width:760px){
  html body #app #view-transfers-add.active{
    grid-template-columns:minmax(0,1fr)!important;
  }

  html body #app #view-transfers-add > .lf-entry-head-v319,
  html body #app #view-transfers-add > .lf-entry-card-v319{
    max-width:100%!important;
  }

  html body #app #view-transfers-add > .lf-entry-card-v319{
    padding:15px 16px 17px!important;
  }

  html body #app #view-transfers-add #trForm.lf-entry-form-v319{
    max-width:none!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:
      "type"
      "date"
      "amount"
      "currency"
      "from"
      "frombal"
      "to"
      "tobal"
      "rate"
      "description"
      "actions"
      "message"!important;
    row-gap:12px!important;
  }
}


/*
  Bank Account modal only.
  Standard desktop form:
    Bank        | Purpose
    Currency    | Current Balance
    Notes (full width)
    Actions aligned right
*/
html body #accountModal{
  --account-v523-border:#d4d4d4;
  --account-v523-border-strong:#d4d4d4;
  --account-v523-text:#404040;
  --account-v523-muted:#404040;
  --account-v523-field:#fafafa;
  --account-v523-field-focus:#ffffff;
  --account-v523-accent:#404040;
}

html body #accountModal .account-modal-box-v315{
  width:min(720px,calc(100vw - 32px))!important;
  max-width:720px!important;
  max-height:calc(100vh - 32px)!important;
  padding:0!important;
  overflow:visible!important;
  border:1px solid var(--account-v523-border-strong)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 22px 60px rgba(82,82,82,.18)!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}

html body #accountModal .account-modal-head-v315{
  min-height:92px!important;
  margin:0!important;
  padding:20px 22px 18px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 40px!important;
  align-items:start!important;
  gap:18px!important;
  border-bottom:1px solid #d4d4d4!important;
  border-radius:18px 18px 0 0!important;
  background:linear-gradient(180deg,#fbfbfb 0%,#f6f6f6 100%)!important;
}

html body #accountModal .account-modal-title-wrap-v315{
  min-width:0!important;
  padding:0!important;
}

html body #accountModal .account-modal-eyebrow-v523{
  margin:0 0 4px!important;
  color:#404040!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1.2!important;
  letter-spacing:.08em!important;
}

html body #accountModal #accountModalTitleV187{
  margin:0!important;
  color:var(--account-v523-text)!important;
  font-size:22px!important;
  font-weight:800!important;
  line-height:1.15!important;
  letter-spacing:-.025em!important;
}

html body #accountModal .account-modal-subtitle-v315{
  margin-top:5px!important;
  color:var(--account-v523-muted)!important;
  font-size:11.5px!important;
  font-weight:500!important;
  line-height:1.45!important;
}

html body #accountModal .account-modal-close-v315{
  width:40px!important;
  min-width:40px!important;
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #d4d4d4!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#404040!important;
  font-size:20px!important;
  font-weight:500!important;
  line-height:1!important;
  box-shadow:none!important;
}
html body #accountModal .account-modal-close-v315:hover{
  background:#f5f5f5!important;
  border-color:#d4d4d4!important;
}

html body #accountModal #accountForm.account-form-v315{
  width:100%!important;
  margin:0!important;
  padding:22px 24px 24px!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px 18px!important;
  align-items:start!important;
}

html body #accountModal #accountForm.account-form-v315 > .field{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:6px!important;
}

html body #accountModal #accountForm.account-form-v315 > .field > label{
  margin:0!important;
  color:#404040!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.25!important;
  letter-spacing:.005em!important;
}

html body #accountModal #accountForm :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  select,
  textarea,
  .lf-select-trigger-v510
){
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
  border:1px solid var(--account-v523-border)!important;
  border-radius:10px!important;
  background:var(--account-v523-field)!important;
  color:#404040!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.25!important;
  outline:none!important;
  box-shadow:none!important;
}

html body #accountModal #accountForm :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  select,
  .lf-select-trigger-v510
){
  min-height:42px!important;
  height:42px!important;
  padding:0 12px!important;
}

html body #accountModal #accountForm textarea{
  min-height:86px!important;
  height:86px!important;
  padding:11px 12px!important;
  resize:vertical!important;
}

html body #accountModal #accountForm :is(input,select,textarea,.lf-select-trigger-v510):focus,
html body #accountModal #accountForm .lf-select-v510:focus-within .lf-select-trigger-v510{
  border-color:#d4d4d4!important;
  background:var(--account-v523-field-focus)!important;
  box-shadow:0 0 0 3px rgba(82,82,82,.10)!important;
}

html body #accountModal #accountForm .lf-select-v510{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
html body #accountModal #accountForm .lf-select-label-v510{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:13px!important;
  font-weight:500!important;
}

html body #accountModal #accountForm input[type="number"]{
  -moz-appearance:textfield!important;
  appearance:textfield!important;
}
html body #accountModal #accountForm input[type="number"]::-webkit-outer-spin-button,
html body #accountModal #accountForm input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance:none!important;
  margin:0!important;
}

html body #accountModal #accountForm .field > .muted{
  margin:0!important;
  color:#404040!important;
  font-size:10.5px!important;
  font-weight:500!important;
  line-height:1.35!important;
}

html body #accountModal #accountForm > .account-field-notes-v523{
  grid-column:1 / -1!important;
}

html body #accountModal #accountForm > .account-field-status-v523:not([hidden]){
  grid-column:1 / -1!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  column-gap:18px!important;
  row-gap:6px!important;
  align-items:end!important;
}
html body #accountModal #accountForm > .account-field-status-v523:not([hidden]) > label{
  grid-column:1!important;
}
html body #accountModal #accountForm > .account-field-status-v523:not([hidden]) > :is(select,.lf-select-v510){
  grid-column:1!important;
}
html body #accountModal #accountForm > .account-field-status-v523:not([hidden]) > .muted{
  grid-column:2!important;
  grid-row:2!important;
  align-self:center!important;
}

html body #accountModal #accountForm > .account-modal-actions-v310{
  grid-column:1 / -1!important;
  width:100%!important;
  margin:2px 0 0!important;
  padding:16px 0 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  border-top:1px solid #e8e8e8!important;
}

html body #accountModal #accountForm .account-action-button-v340{
  min-width:124px!important;
  min-height:40px!important;
  height:40px!important;
  padding:0 18px!important;
  border-radius:10px!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:12.5px!important;
  font-weight:700!important;
  line-height:1!important;
  cursor:pointer!important;
  box-shadow:0 5px 14px rgba(82,82,82,.10)!important;
}

html body #accountModal #accountSaveV310{
  border:1px solid #d4d4d4!important;
  background:#e5e5e5!important;
  color:#fff!important;
}
html body #accountModal #accountSaveV310:hover{
  background:#e5e5e5!important;
  border-color:#d4d4d4!important;
}

html body #accountModal #deleteAccountV310{
  border:1px solid #d4a6a6!important;
  background:#fff!important;
  color:#a14141!important;
  box-shadow:none!important;
}
html body #accountModal #deleteAccountV310:hover{
  background:#fff5f5!important;
}

html body #accountModal #aMsg{
  grid-column:1 / -1!important;
  width:100%!important;
  min-height:0!important;
  margin:0!important;
  font-size:11px!important;
  line-height:1.35!important;
}
html body #accountModal #aMsg:empty{display:none!important;}

@media(max-width:680px){
  html body #accountModal .account-modal-box-v315{
    width:min(94vw,560px)!important;
    max-height:calc(100vh - 20px)!important;
    overflow:auto!important;
  }

  html body #accountModal .account-modal-head-v315{
    min-height:0!important;
    padding:17px 16px 15px!important;
    grid-template-columns:minmax(0,1fr) 38px!important;
    gap:12px!important;
  }

  html body #accountModal #accountModalTitleV187{
    font-size:20px!important;
  }

  html body #accountModal #accountForm.account-form-v315{
    padding:18px 16px 20px!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;
  }

  html body #accountModal #accountForm > .account-field-notes-v523,
  html body #accountModal #accountForm > .account-field-status-v523:not([hidden]),
  html body #accountModal #accountForm > .account-modal-actions-v310,
  html body #accountModal #aMsg{
    grid-column:1!important;
  }

  html body #accountModal #accountForm > .account-field-status-v523:not([hidden]){
    display:flex!important;
    flex-direction:column!important;
  }

  html body #accountModal #accountForm > .account-modal-actions-v310{
    padding-top:14px!important;
  }

  html body #accountModal #accountForm .account-action-button-v340{
    min-width:118px!important;
  }
}


/*
  Keep the modal shell centered and center the working form area inside it.
  Also remove legacy field max-width limits so both columns use equal space.
*/
html body #accountModal .account-modal-box-v315{
  margin-left:auto!important;
  margin-right:auto!important;
}

html body #accountModal .account-modal-head-v315{
  box-sizing:border-box!important;
}

html body #accountModal .account-modal-title-wrap-v315{
  width:100%!important;
  max-width:none!important;
}

html body #accountModal #accountForm.account-form-v315{
  width:100%!important;
  max-width:660px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:24px!important;
  padding-right:24px!important;
  justify-content:center!important;
}

html body #accountModal #accountForm.account-form-v315 > .field{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  justify-self:stretch!important;
}

html body #accountModal #accountForm.account-form-v315 > .field :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  select,
  textarea,
  .lf-select-v510,
  .lf-select-trigger-v510
){
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

html body #accountModal #accountForm > .account-field-notes-v523,
html body #accountModal #accountForm > .account-field-status-v523:not([hidden]),
html body #accountModal #accountForm > .account-modal-actions-v310,
html body #accountModal #aMsg{
  width:100%!important;
  max-width:none!important;
}

@media(max-width:680px){
  html body #accountModal #accountForm.account-form-v315{
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }
}


/*
  The standard V325.510 dropdown controller originally enhanced only selects
  inside #app. The Bank Account modal lives outside #app, so its native browser
  popup was still appearing. V325.525 extends the controller to this modal and
  gives the generated trigger the same finance control styling.
*/
html body #accountModal select.lf-native-select-v510{
  position:absolute!important;
  width:1px!important;
  min-width:1px!important;
  max-width:1px!important;
  height:1px!important;
  min-height:1px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  opacity:0!important;
  pointer-events:none!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}

html body #accountModal .lf-select-v510{
  position:relative!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}

html body #accountModal .lf-select-trigger-v510{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:42px!important;
  min-height:42px!important;
  margin:0!important;
  padding:8px 38px 8px 12px!important;
  box-sizing:border-box!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#f6f6f6!important;
  color:#404040!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72)!important;
  font:inherit!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.2!important;
  text-align:left!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  overflow:hidden!important;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease!important;
}

html body #accountModal .lf-select-trigger-v510::after{
  content:""!important;
  position:absolute!important;
  right:14px!important;
  top:50%!important;
  width:7px!important;
  height:7px!important;
  border-right:1.7px solid #d4d4d4!important;
  border-bottom:1.7px solid #d4d4d4!important;
  transform:translateY(-68%) rotate(45deg)!important;
  transition:transform .16s ease!important;
  pointer-events:none!important;
}

html body #accountModal .lf-select-v510[data-open="true"] .lf-select-trigger-v510::after{
  transform:translateY(-28%) rotate(225deg)!important;
}

html body #accountModal .lf-select-trigger-v510:hover{
  background:#f4f4f4!important;
  border-color:#d4d4d4!important;
}

html body #accountModal .lf-select-trigger-v510:focus-visible,
html body #accountModal .lf-select-v510[data-open="true"] .lf-select-trigger-v510{
  outline:0!important;
  background:#fbfbfb!important;
  border-color:#d4d4d4!important;
  box-shadow:0 0 0 3px rgba(82,82,82,.12)!important;
}

html body #accountModal .lf-select-label-v510{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:13px!important;
  font-weight:500!important;
}

html body > .lf-select-menu-v510{
  font-size:13px!important;
}

html body > .lf-select-menu-v510 .lf-select-option-v510{
  min-height:38px!important;
  padding:9px 32px 9px 11px!important;
  font-size:13px!important;
  line-height:1.2!important;
}

@media(max-width:680px){
  html body #accountModal .lf-select-trigger-v510{
    height:40px!important;
    min-height:40px!important;
  }
}


html body #accountModal #accountForm > .account-field-status-v523:not([hidden]){
  grid-column:1 / -1!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:8px!important;
}

html body #accountModal #accountForm > .account-field-status-v523:not([hidden]) > .account-status-heading-v526{
  display:block!important;
  width:100%!important;
  margin:0!important;
  color:#404040!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.25!important;
}

html body #accountModal #aStatusFieldV310 > .account-status-native-v526,
html body #accountModal #aStatusFieldV310 > .lf-select-v510{
  display:none!important;
}

html body #accountModal .account-status-check-v526{
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  min-height:58px!important;
  margin:0!important;
  padding:10px 12px!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  border:1px solid #d4d4d4!important;
  border-radius:11px!important;
  background:#fafafa!important;
  color:#404040!important;
  cursor:pointer!important;
  user-select:none!important;
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease!important;
}

html body #accountModal .account-status-check-v526:hover{
  border-color:#d4d4d4!important;
  background:#f6f6f6!important;
}

html body #accountModal .account-status-check-v526:focus-within{
  border-color:#d4d4d4!important;
  background:#fff!important;
  box-shadow:0 0 0 3px rgba(82,82,82,.11)!important;
}

html body #accountModal .account-status-check-v526 > input{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  margin:0!important;
  padding:0!important;
  opacity:0!important;
  pointer-events:none!important;
}

html body #accountModal .account-status-checkmark-v526{
  flex:0 0 22px!important;
  width:22px!important;
  height:22px!important;
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  border:1.7px solid #d4d4d4!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72)!important;
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease!important;
}

html body #accountModal .account-status-checkmark-v526 svg{
  width:16px!important;
  height:16px!important;
  opacity:0!important;
  transform:scale(.78)!important;
  transition:opacity .12s ease,transform .12s ease!important;
}

html body #accountModal #aActiveCheckboxV526:checked + .account-status-checkmark-v526{
  border-color:#d4d4d4!important;
  background:#e5e5e5!important;
  box-shadow:0 3px 8px rgba(82,82,82,.18)!important;
}

html body #accountModal #aActiveCheckboxV526:checked + .account-status-checkmark-v526 svg{
  opacity:1!important;
  transform:scale(1)!important;
}

html body #accountModal .account-status-copy-v526{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
}

html body #accountModal .account-status-copy-v526 strong{
  color:#404040!important;
  font-size:12.5px!important;
  font-weight:750!important;
  line-height:1.25!important;
}

html body #accountModal .account-status-copy-v526 small{
  color:#404040!important;
  font-size:11px!important;
  font-weight:500!important;
  line-height:1.35!important;
}

html body #accountModal #accountForm > .account-modal-actions-v310{
  min-height:64px!important;
  padding-top:16px!important;
  align-items:center!important;
}

html body #accountModal #deleteAccountV310{
  min-width:142px!important;
  height:40px!important;
  min-height:40px!important;
  padding:0 15px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border:1px solid #e2a6a6!important;
  border-radius:10px!important;
  background:#fff7f7!important;
  color:#a73d3d!important;
  font-size:12.5px!important;
  font-weight:750!important;
  line-height:1!important;
  box-shadow:none!important;
  cursor:pointer!important;
  transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease!important;
}

html body #accountModal #deleteAccountV310[hidden]{display:none!important;}

html body #accountModal #deleteAccountV310:hover:not(:disabled){
  border-color:#b94444!important;
  background:#b94444!important;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(185,68,68,.16)!important;
}

html body #accountModal #deleteAccountV310:focus-visible{
  outline:0!important;
  box-shadow:0 0 0 3px rgba(185,68,68,.14)!important;
}

html body #accountModal #deleteAccountV310:disabled{
  opacity:.58!important;
  cursor:not-allowed!important;
}

html body #accountModal #deleteAccountV310 .account-delete-icon-v526{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
}

@media(max-width:680px){
  html body #accountModal #accountForm > .account-modal-actions-v310{
    flex-wrap:wrap!important;
  }
  html body #accountModal #deleteAccountV310,
  html body #accountModal #accountSaveV310{
    min-width:0!important;
    flex:1 1 140px!important;
  }
}


/* V325.548 — Orders board layout. All rules are scoped to the Orders panel. */
html body #app #view-business .business-panel-v325[data-business-panel="orders"] {color:#404040;min-width:0;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-heading-v382 {display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;margin-bottom:20px!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-heading-v382 h2 {margin:4px 0 6px!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-heading-v382 p {margin:0!important;line-height:1.6!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] button {font:inherit;cursor:pointer;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] :is(button,input):focus-visible {outline:3px solid #737373!important;outline-offset:3px!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] button:disabled {opacity:.55!important;cursor:wait!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .btn {display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:40px!important;padding:9px 13px!important;border:1px solid #d4d4d4!important;border-radius:9px!important;background:#fff!important;color:#404040!important;font-size:12px!important;font-weight:650!important;line-height:1.35!important;white-space:normal!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .btn:hover:not(:disabled) {background:#f4f4f4!important;border-color:#d4d4d4!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-alerts-v382 {display:grid!important;grid-template-columns:minmax(220px,1fr) auto!important;gap:8px 20px!important;padding:16px 18px!important;margin:0 0 18px!important;border:1px solid #d4d4d4!important;border-radius:12px!important;background:#f7f7f7!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-alerts-v382>div:first-child {display:flex!important;flex-direction:column!important;gap:5px!important;align-self:center!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-alerts-v382 strong {font-size:13px!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-alerts-v382>div:first-child>span {color:#404040!important;font-size:12px!important;line-height:1.5!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-alert-buttons-v382 {display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-alert-buttons-v382 [aria-pressed="true"] {background:#e5f3ed!important;border-color:#98c6b1!important;color:#215e45!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-alerts-v382>small {grid-column:1/-1!important;color:#404040!important;line-height:1.5!important;font-size:11px!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .business-order-counts-v349 {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0 0 18px!important;align-items:stretch!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-count-v382 {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-width:0!important;min-height:70px!important;padding:14px 16px!important;border:1px solid #d4d4d4!important;border-radius:12px!important;background:#fff!important;color:#404040!important;text-align:left!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-count-v382>span {font-size:12px!important;font-weight:650!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-count-v382>strong {font-size:26px!important;line-height:1.15!important;color:#404040!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-count-v382.active {background:#f4f4f4!important;border-color:#d4d4d4!important;box-shadow:inset 0 0 0 1px #737373!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-count-v382.new>strong {color:#404040!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-count-v382.preparing>strong {color:#8b5c12!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-count-v382.ready>strong {color:#267056!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-tools-v382 {display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important;margin:0 0 12px!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .business-order-filters-v349 {display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:5px!important;padding:5px!important;border:1px solid #d4d4d4!important;border-radius:11px!important;background:#f7f7f7!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .business-order-filters-v349 button {min-height:36px!important;padding:8px 12px!important;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;color:#404040!important;font-size:12px!important;font-weight:650!important;line-height:1.35!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .business-order-filters-v349 button.active {color:#fff!important;background:#e5e5e5!important;border-color:#d4d4d4!important;box-shadow:0 1px 3px #737373!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] #businessOrderSearchV382 {flex:1 1 260px!important;width:auto!important;min-width:0!important;min-height:44px!important;padding:10px 13px!important;border:1px solid #d4d4d4!important;border-radius:10px!important;background:#fff!important;color:#404040!important;font-size:13px!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] #businessOrderSearchV382::placeholder {color:#404040!important;opacity:1!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-live-row-v382 {display:flex!important;justify-content:space-between!important;align-items:center!important;flex-wrap:wrap!important;gap:8px 20px!important;margin:0 0 16px!important;color:#404040!important;font-size:11px!important;line-height:1.5!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] #businessOrderConnectionV382 {display:inline-flex!important;align-items:center!important;gap:7px!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] #businessOrderConnectionV382::before {content:"";width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#33815f;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] #businessOrderConnectionV382.offline {color:#a33838!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] #businessOrderConnectionV382.offline::before {background:#ba4646;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] #businessOrderHistoryHintV382 {color:#404040;font-size:12px;line-height:1.5;margin:0 0 14px;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] #businessOrdersMessageV349:empty {display:none!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] #businessOrdersListV349 {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:start!important;min-width:0!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-lane-v382 {min-width:0!important;padding:14px!important;border:1px solid #d4d4d4!important;border-top:3px solid #d4d4d4!important;border-radius:12px!important;background:#f7f7f7!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-lane-v382.preparing {border-top-color:#c99845!important;background:#fbf8f1!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-lane-v382.ready {border-top-color:#5a9b7e!important;background:#f2f8f5!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-lane-heading-v382 {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-lane-heading-v382 h3 {margin:0!important;font-size:14px!important;font-weight:750!important;color:#404040!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-lane-heading-v382>span {display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:27px!important;height:25px!important;padding:0 7px!important;border:1px solid #d4d4d4!important;border-radius:8px!important;background:#fff!important;color:#404040!important;font-size:12px!important;font-weight:750!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-lane-v382>p {margin:6px 0 14px!important;color:#404040!important;font-size:11px!important;line-height:1.5!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-lane-cards-v382 {display:grid!important;gap:12px!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .business-order-card-v349 {display:flex!important;flex-direction:column!important;gap:12px!important;min-width:0!important;padding:16px!important;border:1px solid #d4d4d4!important;border-radius:11px!important;background:#fff!important;box-shadow:0 3px 10px #737373!important;overflow-wrap:anywhere!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .business-order-card-head-v349 {display:flex!important;align-items:flex-start!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:10px!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .business-order-card-head-v349>div:first-child {display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;min-width:0!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-queue-v382 {display:inline-flex!important;align-items:center!important;padding:6px 8px!important;border-radius:7px!important;background:#f1f1f1!important;color:#404040!important;font-size:13px!important;font-weight:800!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .business-order-number-v349 {font-size:11px!important;font-weight:650!important;color:#404040!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-state-v382 {display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .business-order-status-v349 {display:inline-flex!important;padding:4px 7px!important;border-radius:6px!important;background:#f0f0f0!important;color:#404040!important;font-size:10px!important;font-weight:750!important;letter-spacing:.035em!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .business-order-status-v349.preparing {background:#fff0d5!important;color:#865b16!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .business-order-status-v349.ready {background:#e1f2e9!important;color:#266347!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .business-order-status-v349.completed {background:#f0f0f0!important;color:#404040!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .business-order-status-v349.cancelled {background:#fcebec!important;color:#a13b43!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-age-v382 {font-size:10px!important;color:#404040!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-source-v228 {display:flex!important;align-items:baseline!important;flex-wrap:wrap!important;gap:7px!important;font-size:12px!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-source-v228>span {color:#404040!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .business-order-items-v349 {padding:11px 0!important;border-top:1px solid #ececec!important;border-bottom:1px solid #ececec!important;color:#404040!important;font-size:13px!important;line-height:1.65!important;white-space:pre-line!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] :is(.order-item-remarks-v389,.order-note-v382,.order-promotion-v115) {padding:9px 11px!important;border-radius:7px!important;background:#f9f9f9!important;font-size:12px!important;line-height:1.6!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .business-order-meta-v349 {display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;color:#404040!important;font-size:11px!important;line-height:1.5!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-money-v382 {display:flex!important;align-items:baseline!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:6px 12px!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-money-v382>strong {font-size:17px!important;font-weight:800!important;color:#404040!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-money-v382>span {font-size:10px!important;line-height:1.5!important;color:#536e65!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-next-v382 {width:100%!important;background:#e5e5e5!important;border-color:#d4d4d4!important;color:#fff!important;min-height:44px!important;justify-content:space-between!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-next-v382:hover:not(:disabled) {background:#e5e5e5!important;border-color:#d4d4d4!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-secondary-v382 {display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;padding-top:2px!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-secondary-v382 .btn {min-height:36px!important;padding:7px 9px!important;font-size:11px!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-secondary-v382 :is(.business-order-cancel-v349,.business-void-open-v134) {color:#a04449!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-lane-empty-v382 {display:flex!important;align-items:center!important;justify-content:center!important;min-height:130px!important;padding:20px!important;border:1px dashed #d4d4d4!important;border-radius:9px!important;background:#ffffff90!important;color:#404040!important;font-size:12px!important;text-align:center!important;}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] .business-orders-empty-v349 {grid-column:1/-1!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:8px!important;padding:45px 20px!important;border:1px dashed #d4d4d4!important;border-radius:12px!important;background:#fafafa!important;color:#404040!important;text-align:center!important;}
@media (max-width:1150px) {
  html body #app #view-business .business-panel-v325[data-business-panel="orders"] #businessOrdersListV349 {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-alerts-v382 {grid-template-columns:1fr!important;}
}
@media (max-width:760px) {
  html body #app #view-business .business-panel-v325[data-business-panel="orders"] #businessOrdersListV349 {grid-template-columns:1fr!important;}
  html body #app #view-business .business-panel-v325[data-business-panel="orders"] .business-order-counts-v349 {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;}
  html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-tools-v382 {align-items:stretch!important;}
  html body #app #view-business .business-panel-v325[data-business-panel="orders"] .business-order-filters-v349 {width:100%!important;}
  html body #app #view-business .business-panel-v325[data-business-panel="orders"] #businessOrderSearchV382 {flex-basis:100%!important;width:100%!important;}
  html body #app #view-business .business-panel-v325[data-business-panel="orders"] .order-alerts-v382 {padding:14px!important;}
  html body #app #view-business .business-panel-v325[data-business-panel="orders"] .business-order-card-v349 {padding:14px!important;}
}
@media (pointer:coarse) {
  html body #app #view-business .business-panel-v325[data-business-panel="orders"] :is(.btn,.business-order-filters-v349 button,.order-secondary-v382 .btn) {min-height:44px!important;}
}



html body #app #view-transfers-add #trForm.lf-entry-form-v319[data-transfer-mode-v549="TRANSFER_OUT"]{
  grid-template-areas:"type date" "amount currency" "from frombal" "rate description" "actions actions" "message message"!important;
}
html body #app #view-transfers-add #trForm.lf-entry-form-v319[data-transfer-mode-v549="TRANSFER_IN"]{
  grid-template-areas:"type date" "amount currency" "to tobal" "rate description" "actions actions" "message message"!important;
}
@media(max-width:760px){
  html body #app #view-transfers-add #trForm.lf-entry-form-v319[data-transfer-mode-v549="TRANSFER_OUT"]{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:"type" "date" "amount" "currency" "from" "frombal" "rate" "description" "actions" "message"!important;
  }
  html body #app #view-transfers-add #trForm.lf-entry-form-v319[data-transfer-mode-v549="TRANSFER_IN"]{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:"type" "date" "amount" "currency" "to" "tobal" "rate" "description" "actions" "message"!important;
  }
}


html body #app #view-business .business-system-status-v345{
  flex-wrap:wrap!important;overflow:visible!important;row-gap:8px!important;height:auto!important;
}
html body #app #view-business .business-data-currency-v126{
  display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;gap:8px!important;max-width:100%!important;flex-wrap:wrap!important;
}
html body #app #view-business .business-data-currency-v126>span{
  font-size:9px!important;color:#404040!important;white-space:nowrap!important;
}
html body #app #view-business #businessDataCurrencyV126{display:none!important;}
html body #app #view-business #businessCurrencyToggleV550{
  display:inline-flex!important;align-items:stretch!important;gap:3px!important;flex:0 0 auto!important;
  width:max-content!important;padding:3px!important;border:1px solid #d4d4d4!important;border-radius:10px!important;background:#f3f3f3!important;
}
html body #app #view-business #businessCurrencyToggleV550>button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;
  width:auto!important;min-width:4.4em!important;max-width:none!important;min-height:32px!important;height:auto!important;
  padding:7px 10px!important;border:1px solid transparent!important;border-radius:7px!important;margin:0!important;
  font-family:inherit!important;font-size:12px!important;font-weight:750!important;line-height:1.3!important;letter-spacing:.02em!important;
  color:#404040!important;background:transparent!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;
  box-shadow:none!important;cursor:pointer!important;transform:none!important;
}
html body #app #view-business #businessCurrencyToggleV550>button[aria-pressed="true"]{
  color:#fff!important;background:#e5e5e5!important;border-color:#d4d4d4!important;box-shadow:0 1px 3px #737373!important;
}
html body #app #view-business #businessCurrencyToggleV550>button[aria-pressed="false"]:hover{background:#e5e5e5!important;}
html body #app #view-business #businessCurrencyToggleV550>button:focus-visible{outline:3px solid #737373!important;outline-offset:3px!important;}
html body #app #view-business #businessCurrencyToggleV550>button:disabled{opacity:.5!important;cursor:not-allowed!important;}
@media(pointer:coarse){
  html body #app #view-business #businessCurrencyToggleV550>button{min-height:44px!important;}
}


/* The Board always has three lanes. Filtered results retain their existing layout. */
html body #app #view-business .business-panel-v325[data-business-panel="orders"] #businessOrdersListV349.order-board-v382{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(220px,1fr))!important;
  grid-auto-flow:column!important;
  gap:14px!important;
  align-items:stretch!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow-x:auto!important;
  padding-bottom:10px!important;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:auto;
  scrollbar-color:#404040 #f2f2f2;
}
html body #app #view-business .business-panel-v325[data-business-panel="orders"] #businessOrdersListV349.order-board-v382>.order-lane-v382{
  width:auto!important;min-width:0!important;box-sizing:border-box!important;
}
html body #app #view-business #businessOrdersListV349:focus-visible{
  outline:2px solid #737373!important;outline-offset:3px!important;border-radius:10px;
}


html body #app #view-business .cashier-date-field-v236{
  --cashier-date-height-v552:38px;
  min-width:0!important;
}
html body #app #view-business .cashier-date-field-v236 .lf-dmy-date-wrap-v152{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 34px!important;
  align-items:stretch!important;
  gap:0!important;
  width:100%!important;
  min-width:0!important;
  min-height:var(--cashier-date-height-v552)!important;
  height:var(--cashier-date-height-v552)!important;
  box-sizing:border-box!important;
}
html body #app #view-business #cashierDateV325__dmy,
html body #app #view-business .cashier-date-field-v236 .lf-dmy-date-calendar-v152{
  box-sizing:border-box!important;
  min-height:var(--cashier-date-height-v552)!important;
  height:var(--cashier-date-height-v552)!important;
  max-height:var(--cashier-date-height-v552)!important;
  align-self:stretch!important;
  margin:0!important;
}
html body #app #view-business #cashierDateV325__dmy{
  width:100%!important;
  min-width:0!important;
  padding:0 7px!important;
  font-size:11px!important;
  font-weight:500!important;
  line-height:normal!important;
  letter-spacing:0!important;
  font-variant-numeric:tabular-nums;
  border-radius:9px 0 0 9px!important;
  border-right:0!important;
}
html body #app #view-business .cashier-date-field-v236 .lf-dmy-date-calendar-v152{
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;
  padding:0!important;
  border-radius:0 9px 9px 0!important;
}
html body #app #view-business .cashier-date-field-v236 .lf-dmy-date-calendar-v152 svg{
  width:14px!important;
  height:14px!important;
  display:block!important;
  margin:0!important;
}
@media(pointer:coarse),(min-width:768px) and (max-width:1366px){
  html body #app #view-business .cashier-date-field-v236{
    --cashier-date-height-v552:44px;
  }
}


/* This dialog is appended to body, outside the #app form styles. */
html body #businessRefundModalV134 .modal-box{
  width:min(640px,calc(100vw - 32px))!important;
  max-width:100%!important;
  max-height:calc(100vh - 32px)!important;
  max-height:calc(100dvh - 32px)!important;
  padding:0!important;
  box-sizing:border-box!important;
  overflow:auto!important;
  overscroll-behavior:contain;
  color:#404040!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
html body #businessRefundModalV134 .refund-head-v134{
  display:flex!important;align-items:flex-start!important;justify-content:space-between!important;
  padding:20px!important;gap:16px!important;
}
html body #businessRefundModalV134 .refund-head-v134>div{min-width:0!important;}
html body #businessRefundModalV134 .business-eyebrow-v325{
  font-size:10px!important;font-weight:750!important;letter-spacing:.06em!important;color:#404040!important;line-height:1.4!important;
}
html body #businessRefundModalV134 #businessRefundTitleV134{
  font-size:21px!important;line-height:1.25!important;margin:5px 0 7px!important;color:#404040!important;
}
html body #businessRefundModalV134 #businessRefundSubtitleV134{
  font-size:12px!important;line-height:1.6!important;margin:0!important;color:#404040!important;
}
html body #businessRefundModalV134 .refund-head-v134 .close{
  flex:0 0 36px!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;
  padding:0!important;margin:0!important;align-self:flex-start!important;
}
html body #businessRefundModalV134 #businessRefundSummaryV134{
  margin:18px 20px 14px!important;gap:8px!important;
}
html body #businessRefundModalV134 #businessRefundSummaryV134>span{
  padding:11px 12px!important;font-size:12px!important;line-height:1.5!important;box-sizing:border-box!important;
}
html body #businessRefundModalV134 #businessRefundSummaryV134>span:last-child{
  font-weight:750!important;color:#404040!important;
}
html body #businessRefundModalV134 #businessRefundItemsV134{
  margin:0 20px 18px!important;
}
html body #businessRefundModalV134 .refund-item-v134{
  display:grid!important;grid-template-columns:minmax(0,1fr) 100px!important;
  align-items:center!important;gap:16px!important;padding:14px 0!important;margin:0!important;
}
html body #businessRefundModalV134 .refund-item-v134>span{
  min-width:0!important;gap:5px!important;overflow-wrap:anywhere!important;
}
html body #businessRefundModalV134 .refund-item-v134 strong{
  font-size:13px!important;line-height:1.5!important;color:#404040!important;
}
html body #businessRefundModalV134 .refund-item-v134 small{
  font-size:11px!important;line-height:1.5!important;color:#404040!important;
}
html body #businessRefundModalV134 input[data-refund-item-id-v134]{
  display:block!important;width:100%!important;min-width:0!important;min-height:44px!important;height:44px!important;
  padding:9px 10px!important;margin:0!important;box-sizing:border-box!important;
  border:1px solid #d4d4d4!important;border-radius:9px!important;background:#fafafa!important;color:#404040!important;
  font-family:inherit!important;font-size:14px!important;font-weight:650!important;line-height:1.4!important;
  text-align:center!important;box-shadow:none!important;
}
html body #businessRefundModalV134 label[for="businessRefundReasonV134"]{
  display:block!important;width:auto!important;margin:0 20px 8px!important;padding:0!important;
  font-size:12px!important;font-weight:700!important;line-height:1.4!important;color:#404040!important;
}
html body #businessRefundModalV134 #businessRefundReasonV134{
  display:block!important;width:calc(100% - 40px)!important;max-width:calc(100% - 40px)!important;
  min-width:0!important;min-height:96px!important;height:auto!important;
  margin:0 20px 16px!important;padding:12px!important;box-sizing:border-box!important;
  border:1px solid #d4d4d4!important;border-radius:10px!important;background:#fafafa!important;color:#404040!important;
  font-family:inherit!important;font-size:13px!important;line-height:1.6!important;resize:vertical!important;box-shadow:none!important;
}
html body #businessRefundModalV134 #businessRefundReasonV134::placeholder{
  color:#404040!important;opacity:1!important;
}
html body #businessRefundModalV134 :is(input,textarea,button):focus-visible{
  outline:3px solid #737373!important;outline-offset:2px!important;
}
html body #businessRefundModalV134 #businessRefundMessageV134{
  margin:0 20px 16px!important;font-size:12px!important;line-height:1.6!important;overflow-wrap:anywhere!important;
}
html body #businessRefundModalV134 #businessRefundMessageV134:empty{display:none!important;}
html body #businessRefundModalV134 #businessRefundMessageV134.error{
  padding:10px 12px!important;border:1px solid #efc4c4!important;border-radius:8px!important;background:#fff3f3!important;color:#a23434!important;
}
html body #businessRefundModalV134 .refund-actions-v134{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;
  gap:10px!important;margin:0!important;padding:16px 20px!important;border-top:1px solid #e5e5e5!important;background:#fbfbfb!important;
}
html body #businessRefundModalV134 .refund-actions-v134 .btn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:44px!important;min-width:100px!important;padding:10px 16px!important;margin:0!important;
  border:1px solid #d4d4d4!important;border-radius:9px!important;background:#fff!important;color:#404040!important;
  font-family:inherit!important;font-size:13px!important;font-weight:700!important;line-height:1.4!important;cursor:pointer!important;
}
html body #businessRefundModalV134 #businessRefundConfirmV134{
  background:#e5e5e5!important;border-color:#d4d4d4!important;color:#fff!important;min-width:150px!important;
}
html body #businessRefundModalV134 #businessRefundConfirmV134.refund-danger-v134{
  background:#ad3c45!important;border-color:#ad3c45!important;
}
html body #businessRefundModalV134 .refund-actions-v134 .btn:disabled{
  opacity:.55!important;cursor:not-allowed!important;
}
html body #businessRefundModalV134 .refund-actions-v134 .btn:hover:not(:disabled){filter:brightness(.96);}
@media(max-width:480px){
  html body #businessRefundModalV134 #businessRefundSummaryV134{grid-template-columns:1fr!important;}
  html body #businessRefundModalV134 .refund-item-v134{grid-template-columns:minmax(0,1fr) 84px!important;gap:10px!important;}
  html body #businessRefundModalV134 .refund-actions-v134 .btn{flex:1 1 auto!important;}
}


html body #businessReceiptPrintV325{display:none!important;}
@media print{
  html:has(body.lf-receipt-printing-v554),html body.lf-receipt-printing-v554{
    display:block!important;position:static!important;overflow:visible!important;
    height:auto!important;min-height:0!important;max-height:none!important;
    width:auto!important;margin:0!important;padding:0!important;background:#fff!important;
    transform:none!important;filter:none!important;
  }
  html body.lf-receipt-printing-v554>:not(#businessReceiptPrintV325){display:none!important;}
  html body.lf-receipt-printing-v554::before,html body.lf-receipt-printing-v554::after{display:none!important;}
  html body.lf-receipt-printing-v554>#businessReceiptPrintV325{
    display:block!important;position:static!important;width:100%!important;max-width:none!important;
    height:auto!important;overflow:visible!important;visibility:visible!important;margin:0!important;padding:0!important;
    color:#000!important;background:#fff!important;font:12px/1.5 Arial,sans-serif!important;
  }
  #businessReceiptPrintV325 .receipt-print-sheet-v493{width:76mm;max-width:100%;margin:0 auto;padding:3mm;box-sizing:border-box;}
  #businessReceiptPrintV325 .receipt-print-title-v493{font-size:18px;line-height:1.3;text-align:center;margin:0 0 8px;}
  #businessReceiptPrintV325 .receipt-print-address-v493,#businessReceiptPrintV325 .receipt-print-meta-v493{white-space:pre-line;overflow-wrap:anywhere;margin:8px 0;}
  #businessReceiptPrintV325 .receipt-print-address-v493{text-align:center;}
  #businessReceiptPrintV325 .receipt-print-queue-v493{font-size:17px;font-weight:bold;text-align:center;margin:10px 0;}
  #businessReceiptPrintV325 .receipt-print-reprint-v493{font-size:10px;text-align:center;margin:8px 0;}
  #businessReceiptPrintV325 hr{border:0;border-top:1px dashed #777;margin:10px 0;}
  #businessReceiptPrintV325 .receipt-print-table-v325{border-collapse:collapse;width:100%;font:inherit;margin:12px 0;table-layout:fixed;}
  #businessReceiptPrintV325 th,#businessReceiptPrintV325 td{padding:6px 3px;vertical-align:top;overflow-wrap:anywhere;border-bottom:1px dotted #aaa;text-align:left;}
  #businessReceiptPrintV325 th:nth-child(2),#businessReceiptPrintV325 td:nth-child(2){width:12%;text-align:center;}
  #businessReceiptPrintV325 th:last-child,#businessReceiptPrintV325 td:last-child{width:32%;text-align:right;}
  #businessReceiptPrintV325 tr{break-inside:avoid;}
  #businessReceiptPrintV325 .receipt-print-totals-v493{break-inside:avoid;border-top:1px solid #444;padding-top:8px;}
  #businessReceiptPrintV325 .receipt-print-total-v325{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:6px 0;}
  #businessReceiptPrintV325 .receipt-print-total-v325>strong{white-space:nowrap;text-align:right;}
  #businessReceiptPrintV325 .receipt-print-grand-v325{font-size:16px;border-top:1px dashed #777;padding-top:8px;margin-top:8px;}
  #businessReceiptPrintV325 .receipt-print-change-v554{font-size:14px;}
  #businessReceiptPrintV325 .receipt-print-footer-v493{text-align:center;white-space:pre-line;margin:16px 0 0;}
}


html body #login[data-login-step-v389="authenticator"]{padding:16px;}
html body #login[data-login-step-v389="authenticator"] .login-shell-v325{width:min(460px,100%);min-width:0;}
html body #login[data-login-step-v389="authenticator"] .login-card-v325{width:100%!important;min-width:0;}
html body #loginMfaSetupV568[hidden]{display:none!important;}
html body #loginMfaSetupV568{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;padding:14px;border:1px solid #d4d4d4;border-radius:12px;background:#fafafa;min-width:0;}
html body #loginMfaSetupV568 p{margin:0;font-size:12px;line-height:1.55;overflow-wrap:anywhere;}
html body #loginMfaSetupV568 label{font-size:12px;font-weight:700;}
html body #loginMfaSecretV568{box-sizing:border-box;width:100%;min-width:0;padding:10px 8px;border:1px solid #d4d4d4;border-radius:8px;background:#fff;font-family:monospace;font-size:12px;letter-spacing:0;}
html body #loginMfaQrV568{display:flex;justify-content:center;padding:10px;min-width:0;max-width:100%;background:#fff;border-radius:8px;font-size:12px;line-height:1.5;}
html body #loginMfaQrV568 img,html body #loginMfaQrV568 canvas{max-width:100%;height:auto;}
html body #loginMfaCopyV568{min-height:36px;width:100%;font-size:12px;}


/* V325.569 — Compact product entry with aligned fields and short action buttons. */
html body #app #businessProductsFormPageV426{container:product-editor-v569 / inline-size;min-width:0;}
html body #app #businessProductsFormPageV426>.business-split-card-v426{width:100%;max-width:1100px;margin:0 auto;padding:18px!important;}
html body #app #businessProductsFormPageV426 .business-card-title-v325{margin-bottom:12px!important;}
html body #app #businessProductFormV325{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:start!important;gap:10px 12px!important;}
html body #app #businessProductFormV325>.field{display:grid!important;grid-column:auto;gap:5px!important;min-width:0;margin:0!important;}
html body #app #businessProductFormV325>.product-name-field-v569,
html body #app #businessProductFormV325>.business-product-barcode-field-v251{grid-column:span 2!important;}
html body #app #businessProductFormV325>.product-photo-field-v569,
html body #app #businessProductFormV325>.business-product-form-actions-v230{grid-column:1/-1!important;}
html body #app #businessProductFormV325 label{margin:0!important;font-size:11px!important;line-height:1.4!important;}
html body #app #businessProductFormV325 input:not([type="file"]),
html body #app #businessProductFormV325 select,
html body #app #businessProductFormV325 .lf-select-trigger-v510{box-sizing:border-box!important;width:100%;min-width:0!important;min-height:36px!important;height:36px!important;padding:7px 10px!important;font-size:12px!important;line-height:20px!important;}
html body #app #businessProductFormV325 .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:100%;min-height:34px!important;height:auto!important;margin:0!important;padding:7px 12px!important;gap:6px!important;font-size:12px!important;line-height:18px!important;white-space:nowrap!important;}
html body #app #businessProductFormV325 .btn svg{width:15px!important;height:15px!important;flex:0 0 15px!important;}
html body #app #businessProductFormV325 .business-product-barcode-entry-v251{display:flex!important;align-items:center;gap:8px;min-width:0;}
html body #app #businessProductFormV325 #productBarcodeV133{flex:1 1 0!important;width:0!important;}
html body #app #businessProductFormV325 small{font-size:10px!important;line-height:1.4!important;color:var(--muted,#404040);}
html body #app #businessProductFormV325 #productBarcodePreviewCardV251[hidden]{display:none!important;}
html body #app #businessProductFormV325 #productBarcodePreviewCardV251:not([hidden]){display:grid;gap:8px;margin-top:3px;padding:10px;border:1px solid #d4d4d4;border-radius:9px;background:#fbfbfb;min-width:0;}
html body #app #businessProductFormV325 .business-product-barcode-preview-main-v251{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;min-width:0;}
html body #app #businessProductFormV325 #productBarcodePreviewV251{max-width:100%;min-width:0;}
html body #app #businessProductFormV325 #productBarcodePreviewV251 svg{display:block;max-width:100%;width:240px;height:auto;max-height:65px;}
html body #app #businessProductFormV325 .business-product-barcode-preview-copy-v251{display:grid;gap:3px;font-size:11px;overflow-wrap:anywhere;}
html body #app #businessProductFormV325 .business-product-barcode-print-row-v251{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0;}
html body #app #businessProductFormV325 #productBarcodeLabelQtyV251{width:60px!important;}
html body #app #businessProductFormV325>.product-photo-field-v569{padding-top:10px;border-top:1px solid #ebebeb;}
html body #app #businessProductFormV325 .business-product-photo-entry-v353{display:grid!important;grid-template-columns:56px max-content max-content minmax(0,1fr);grid-template-rows:auto auto;gap:4px 8px;align-items:center;min-width:0;}
html body #app #businessProductFormV325 #productImageV353{display:none!important;}
html body #app #businessProductFormV325 #productImageChooseV377{grid-column:2;grid-row:1;}
html body #app #businessProductFormV325 #productImageRemoveV353{grid-column:3;grid-row:1;}
html body #app #businessProductFormV325 .business-product-photo-entry-v353>small{grid-column:2/-1;grid-row:2;}
html body #app #businessProductFormV325 #productImagePreviewV353{grid-column:1;grid-row:1/3;display:grid!important;place-items:center;width:56px!important;height:56px!important;min-width:0!important;overflow:hidden;border:1px dashed #d4d4d4;border-radius:9px;background:#f7f7f7;}
html body #app #businessProductFormV325 #productImagePreviewV353 img{display:block!important;width:54px!important;height:54px!important;max-width:54px!important;object-fit:cover!important;border:0!important;border-radius:8px;}
html body #app #businessProductFormV325 .business-product-photo-empty-v353{padding:4px;text-align:center;font-size:9px;line-height:1.35;color:var(--muted,#404040);}
html body #app #businessProductFormV325>.business-product-form-actions-v230{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap;gap:8px!important;margin-top:2px!important;padding-top:12px!important;border-top:1px solid #ebebeb;}
html body #app #businessProductFormV325 #businessProductCancelV391{min-width:90px!important;}
html body #app #businessProductFormV325 #businessProductSubmitV391{min-width:124px!important;background:#e5e5e5!important;border-color:#d4d4d4!important;color:#fff!important;}
html body #app #businessProductFormV325 #businessProductSubmitV391:hover{background:#e5e5e5!important;}
html body #app #businessProductFormV325 #productMsgV325{flex:1 0 100%;margin:0;font-size:11px;}
html body #app #businessProductFormV325 #productMsgV325:empty{display:none!important;}
@container product-editor-v569 (max-width:900px){
  html body #app #businessProductFormV325{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@container product-editor-v569 (max-width:420px){
  html body #app #businessProductsFormPageV426>.business-split-card-v426{padding:14px!important;}
  html body #app #businessProductFormV325{grid-template-columns:minmax(0,1fr)!important;}
  html body #app #businessProductFormV325>.field{grid-column:1/-1!important;}
  html body #app #businessProductFormV325 .business-product-barcode-entry-v251{flex-wrap:wrap;}
  html body #app #businessProductFormV325 #productBarcodeV133{flex-basis:180px!important;}
  html body #app #businessProductFormV325 .business-product-photo-entry-v353{grid-template-columns:56px minmax(0,1fr);gap:6px 8px;}
  html body #app #businessProductFormV325 #productImageChooseV377{grid-column:2;grid-row:1;justify-self:start;}
  html body #app #businessProductFormV325 #productImageRemoveV353{grid-column:2;grid-row:2;justify-self:start;}
  html body #app #businessProductFormV325 .business-product-photo-entry-v353>small{grid-column:1/-1;grid-row:3;}
  html body #app #businessProductFormV325 #businessProductCancelV391,
  html body #app #businessProductFormV325 #businessProductSubmitV391{flex:1 1 0!important;min-width:0!important;}
}



@layer lmInteractionV905 {
html body #transferTagPickerV911{position:fixed!important;z-index:2147483000!important;box-sizing:border-box!important;background:#fff!important;color:#1e293b!important;border:1px solid #cbd5e1!important;border-radius:12px!important;padding:12px!important;box-shadow:0 12px 32px #0f172a26!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;text-align:left!important;}
html body #transferTagPickerV911 .tag-heading-v911{display:flex!important;justify-content:space-between!important;align-items:center!important;margin-bottom:10px!important;gap:12px!important;}
html body #transferTagPickerV911 input{box-sizing:border-box!important;width:100%!important;min-width:0!important;height:36px!important;border:1px solid #94a3b8!important;border-radius:6px!important;padding:8px!important;}
html body #transferTagPickerV911 .tag-options-v911{display:grid!important;gap:4px!important;max-height:230px!important;overflow:auto!important;margin-top:8px!important;}
html body #transferTagPickerV911 .tag-option-v911{width:100%!important;text-align:left!important;white-space:normal!important;padding:8px 10px!important;min-height:34px!important;border-radius:6px!important;}
html body #transferTagPickerV911 .tag-message-v911{margin:8px 0 0!important;font-size:12px!important;}
html body #transferTagPickerV911 .tag-message-v911:empty{display:none!important;}
html body .transfer-category-edit-v902{border-radius:4px!important;white-space:normal!important;max-width:100%!important;}
}


@layer lmSidebarBorderV915 {
@media screen {
html body #mainSidebarV649 :is(button,a,[role="button"]),
html body .sidebar-popup-v825 .sidebar-popup-item-v825 {
 border-color:transparent!important;
 box-shadow:none!important;
}
html body #mainSidebarV649 :is(button,a,[role="button"]):not(:focus-visible),
html body .sidebar-popup-v825 .sidebar-popup-item-v825:not(:focus-visible) {
 outline:none!important;
}
}
}


@layer lmSidebarBorderV915 {
@media screen {
html body #mainSidebarV649 .main-nav-category-v368 > button.main-nav-category-toggle-v368 {
 border:1px solid #dedede!important;
 border-radius:6px!important;
 box-shadow:none!important;
}
html body #mainSidebarV649 .main-nav-category-v368 > button.main-nav-category-toggle-v368:is(:hover,:focus-visible) {
 border-color:#c8cdd3!important;
}
html body #mainSidebarV649 .main-nav-category-v368 > button.main-nav-category-toggle-v368:is(:active,.active,.selected,[aria-pressed="true"],[aria-current="page"]) {
 border-color:transparent!important;
}
}
}


@layer lmSidebarBorderV915 {
@media screen {
html body #app #mainSidebarV649 .nav.nav-categorized-v368::after {
 content:""!important;
 display:block!important;
 position:static!important;
 grid-column:1 / -1!important;
 width:auto!important;
 height:0!important;
 min-height:0!important;
 margin:8px 8px 0!important;
 padding:0!important;
 border:0!important;
 border-top:1px solid #d9d9d9!important;
 background:none!important;
 box-shadow:none!important;
 pointer-events:none!important;
}
}
}


@layer lmInteractionV905 {
#accountsList .bank-check-v921{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:210px;max-width:280px;}
#accountsList .bank-check-v921 label{display:flex;align-items:center;gap:6px;}
#accountsList .bank-check-v921 input{width:130px!important;min-width:0!important;box-sizing:border-box!important;}
#accountsList .bank-check-v921 small{display:block;flex-basis:100%;font-size:11px;color:#64748b;white-space:normal;}
#accountsList .bank-difference-v921{display:inline-block;white-space:normal;color:#92400e!important;-webkit-text-fill-color:#92400e!important;}
#accountsList .bank-difference-v921.matched{color:#166534!important;-webkit-text-fill-color:#166534!important;font-weight:600;}
}


@layer lmBankPageV923 {
@media screen {
html body #view-accounts{padding-top:14px!important;}
html body #view-accounts .accounts-page-head-v173{margin-bottom:20px!important;}
html body #view-accounts h1{font-size:22px!important;line-height:1.3!important;}
html body #view-accounts .accounts-page-head-v173 .muted{font-size:13px!important;margin-top:6px!important;color:#64748b!important;}
html body #view-accounts .account-table-card-v187{padding:0!important;border:1px solid #e2e8f0!important;border-radius:12px!important;overflow:hidden!important;background:#fff!important;}
html body #view-accounts .lf-history-toolbar-v348{padding:20px 24px!important;margin:0!important;border-radius:0!important;background:#edf5ff!important;gap:16px!important;}
html body #view-accounts .lf-history-title-v348 strong{font-size:16px!important;}
html body #view-accounts #accountsHistoryStatusV348{font-size:12px!important;background:transparent!important;border:0!important;color:#64748b!important;}
html body #view-accounts #accountsTopBalanceV173{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;}
html body #view-accounts #accountsTopBalanceV173 .finance-summary-label-v299{font-size:11px!important;font-weight:500!important;letter-spacing:.04em!important;color:#64748b!important;}
html body #view-accounts #accountsTopBalanceV173 .finance-summary-value-v299{font-size:22px!important;font-weight:600!important;font-variant-numeric:tabular-nums;}
html body #view-accounts .bank-check-guide-v923{font-size:12px!important;line-height:1.6!important;color:#64748b!important;padding:14px 24px!important;margin:0!important;}
html body #view-accounts #accountsList{border:0!important;border-radius:0!important;overflow-x:auto!important;}
html body #view-accounts .account-table-v187{table-layout:auto!important;width:100%!important;min-width:68rem!important;border-collapse:collapse!important;border:0!important;}
html body #view-accounts .account-table-v187 th{font-size:12px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;text-align:left!important;padding:9px 16px!important;background:#f8fafc!important;color:#475569!important;}
html body #view-accounts .account-table-v187 :is(th,td){border:0!important;border-bottom:1px solid #e8edf2!important;box-sizing:border-box!important;}
html body #view-accounts .account-table-v187 td{padding:9px 16px!important;text-align:left!important;vertical-align:middle!important;font-size:13px!important;white-space:normal!important;background:#fff!important;}
html body #view-accounts .account-table-v187 tr:nth-child(even)>td{background:#fbfcfe!important;}
html body #view-accounts .account-table-v187 tr:hover>td{background:#f3f7fc!important;}
html body #view-accounts .bank-identity-v923 strong{display:block!important;font-size:13px!important;font-weight:600!important;margin-bottom:6px!important;}
html body #view-accounts .account-status-v187{display:inline-block!important;min-width:0!important;border:0!important;padding:0!important;background:transparent!important;font-size:11px!important;font-weight:500!important;color:#64748b!important;-webkit-text-fill-color:#64748b!important;}
html body #view-accounts .account-status-v187.active{color:#15803d!important;-webkit-text-fill-color:#15803d!important;}
html body #view-accounts .bank-app-balance-v923 strong{font-size:14px!important;font-weight:600!important;font-variant-numeric:tabular-nums;white-space:nowrap!important;}
html body #view-accounts .bank-check-v921{display:flex!important;justify-content:flex-start!important;gap:8px!important;min-width:0!important;max-width:100%!important;}
html body #view-accounts .bank-check-v921 label{display:flex!important;gap:8px!important;align-items:center!important;font-size:11px!important;color:#64748b!important;min-width:0!important;}
html body #view-accounts .bank-check-v921 input{width:140px!important;min-width:0!important;height:30px!important;padding:5px 8px!important;border:1px solid #cbd5e1!important;border-radius:6px!important;font-size:13px!important;text-align:right!important;background:#fff!important;font-variant-numeric:tabular-nums;}
html body #view-accounts :is([data-save-bank-check-v921],[data-check-bank-history-v922]){font-size:12px!important;min-height:30px!important;padding:4px 8px!important;border-radius:6px!important;}
html body #view-accounts .bank-check-v921 small{font-size:10px!important;line-height:1.4!important;text-align:left!important;}
html body #view-accounts .bank-check-v921 small:empty{display:none!important;}
html body #view-accounts .bank-difference-v921{font-size:12px!important;font-weight:500!important;line-height:1.4!important;padding:4px 8px!important;border-radius:4px!important;background:#fff7ed!important;color:#9a3412!important;-webkit-text-fill-color:#9a3412!important;}
html body #view-accounts .bank-difference-v921.unchecked{background:#f1f5f9!important;color:#64748b!important;-webkit-text-fill-color:#64748b!important;}
html body #view-accounts .bank-difference-v921.matched{background:#ecfdf3!important;color:#166534!important;-webkit-text-fill-color:#166534!important;}
html body #view-accounts #accountsListPagerV307{padding:14px 20px!important;margin:0!important;}
@media(max-width:760px){
html body #view-accounts .lf-history-toolbar-v348{padding:16px!important;flex-wrap:wrap!important;}
html body #view-accounts .bank-check-guide-v923{padding:12px 16px!important;}
}
}
}


@layer lmBankPageV923 {
@media screen {
html body #view-transfers .transfer-history-period-controls-v345{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important;}
html body #transferBankFilterV927{width:170px!important;min-width:140px!important;max-width:100%!important;}
}
}


@layer lmBankPageV923 {
@media screen {
html body #dashboardExpensesV928{margin:14px 0!important;padding:12px!important;border:1px solid #d4d4d4!important;border-radius:10px!important;background:#fff!important;}
html body #dashboardExpensesV928 .expenses-heading-v928{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;padding:12px 14px!important;border-radius:6px!important;background:#eff0f3!important;}
html body #dashboardExpensesV928 h2{font-size:15px!important;font-weight:600!important;margin:0!important;}
html body #dashboardExpensesV928 p{font-size:11px!important;color:#64748b!important;margin:5px 0 0!important;}
html body #dashboardExpensesV928 .expenses-total-v928{text-align:right!important;}
html body #dashboardExpensesV928 .expenses-total-v928 span{display:block!important;font-size:11px!important;color:#475569!important;margin-bottom:4px!important;}
html body #dashboardExpensesTotalV928{font-size:18px!important;white-space:nowrap!important;}
html body #dashboardExpensesMonthsV928{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;margin-top:12px!important;}
html body #dashboardExpensesV928 .expense-month-v928{padding:14px!important;border:1px solid #e2e8f0!important;border-radius:6px!important;background:#fafbfd!important;min-width:0!important;}
html body #dashboardExpensesV928 .expense-month-v928 span{display:block!important;font-size:11px!important;font-weight:600!important;color:#64748b!important;margin-bottom:8px!important;}
html body #dashboardExpensesV928 .expense-month-v928 strong{display:block!important;font-size:14px!important;font-weight:600!important;color:#1e293b!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere!important;}
@media(max-width:1100px){html body #dashboardExpensesMonthsV928{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media(max-width:520px){html body #dashboardExpensesMonthsV928{grid-template-columns:repeat(2,minmax(0,1fr))!important;}html body #dashboardExpensesV928 .expenses-heading-v928{flex-wrap:wrap!important;}html body #dashboardExpensesV928 .expenses-total-v928{text-align:left!important;}}
}
}


@layer lmBankPageV923 {
@media screen {
html body .lf-loan-history-v639 .lf-loan-status-v639 {
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-width:112px!important;min-height:28px!important;padding:5px 10px!important;
 box-sizing:border-box!important;border-radius:5px!important;border:1px solid #e65c00!important;
 background:#e65c00!important;background-image:none!important;
 color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;
 font-size:12px!important;font-weight:600!important;line-height:1.35!important;
 white-space:nowrap!important;box-shadow:none!important;text-shadow:none!important;
}
html body .lf-loan-history-v639 .lf-loan-status-v639.is-partial {
 background:#b45309!important;border-color:#b45309!important;
 color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;
}
html body .lf-loan-history-v639 .lf-loan-status-v639.is-returned {
 background:#15803d!important;border-color:#15803d!important;
 color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;
}
html body .lf-loan-history-v639 .lf-loan-status-v639 *{color:inherit!important;-webkit-text-fill-color:inherit!important;}
html body .lf-loan-history-v639 .lf-loan-record-bottom-v639{gap:8px!important;align-items:flex-end!important;}
html body .lf-loan-history-v639 .lf-loan-person-v639{font-size:13px!important;font-weight:600!important;}
html body .lf-loan-history-v639 .lf-loan-figure-v639 strong{font-size:13px!important;font-variant-numeric:tabular-nums;}
html body .lf-loan-history-v639 .lf-loan-subline-v639{font-size:11px!important;color:#64748b!important;}
html body .lf-loan-history-v639 .lf-loan-record-compact-v642{padding:16px!important;gap:16px!important;min-height:80px!important;border-bottom:1px solid #e5e7eb!important;box-shadow:none!important;}
html body .lf-loan-history-v639 .lf-loan-history-toolbar-v639{padding:12px 16px!important;background:#e9f2ff!important;border-bottom:1px solid #e5e7eb!important;}
html body .lf-loan-history-v639 .lf-loan-history-toolbar-v639 strong{font-size:14px!important;font-weight:600!important;}
html body .lf-loan-history-v639 .lf-loan-figure-v639{border-left:0!important;padding:0 12px!important;}
html body .lf-loan-history-v639 .lf-loan-figure-v639>span{font-size:11px!important;font-weight:400!important;color:#64748b!important;}
html body .lf-loan-history-v639 .lf-loan-record-history-v642{border-top:0!important;padding-top:4px!important;}
html body .lf-loan-history-v639 .lf-loan-repayment-history-v639 summary{background:transparent!important;color:#64748b!important;font-size:11px!important;}
@media(max-width:760px){html body .lf-loan-history-v639 .lf-loan-record-bottom-v639{align-items:center!important;}html body .lf-loan-history-v639 .lf-loan-figure-v639{padding:0 4px!important;}}

}
}

@layer lmBankPageV923 {@media screen {
html body #businessSettingsDeliveryPageV228 .business-delivery-flow-v228{display:none!important;}
html body #businessDeliveryAppsV228{display:grid!important;gap:10px!important;}
html body #businessDeliveryAppsV228 [data-delivery-integration-card-v228]{position:relative!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:8px!important;box-shadow:none!important;}
html body #businessDeliveryAppsV228 .business-delivery-collapse-head-v262{padding:14px 105px 14px 14px!important;background:#fff!important;border:0!important;min-height:64px!important;}
html body #businessDeliveryAppsV228 .business-delivery-collapse-title-v262 strong{font-size:14px!important;font-weight:600!important;}
html body #businessDeliveryAppsV228 .business-delivery-collapse-title-v262 small{font-size:11px!important;color:#64748b!important;}
html body #businessDeliveryAppsV228 .delivery-remove-v932{position:absolute!important;right:14px!important;top:17px!important;color:#b91c1c!important;border-color:#fecaca!important;background:#fff!important;font-size:12px!important;}
html body #businessDeliveryAppsV228 .delivery-remove-v932:hover{background:#fee2e2!important;}
html body #businessDeliveryAppsV228>.muted{padding:28px 16px!important;text-align:center!important;background:#f8fafc!important;border-radius:8px!important;font-size:13px!important;}
html body #businessSettingsDeliveryPageV228 .business-delivery-add-v228{margin:14px 0!important;gap:8px!important;}
}}

/* V325.654 — retain V527 Save/Submit sizing only; use each module's original colours. */
html body .lf-submit-standard-v527{
  min-width:124px!important;
  min-height:40px!important;
  height:40px!important;
  padding:0 18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;

  border-radius:10px!important;



  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:12.5px!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:.01em!important;
  text-transform:none!important;

  cursor:pointer!important;
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease!important;
}
html body .lf-submit-standard-v527:hover:not(:disabled){



}
html body .lf-submit-standard-v527:focus-visible{



}
html body .lf-submit-standard-v527:active:not(:disabled){
  transform:translateY(1px)!important;
}
html body .lf-submit-standard-v527:disabled{
  opacity:.56!important;
  cursor:not-allowed!important;

}
html body .lf-submit-standard-v527 svg{
  display:none!important;
}
html body .lf-submit-standard-v527::before{
  content:none!important;
}
html body .lf-submit-standard-v527 .lf-btn-name-v279,
html body .lf-submit-standard-v527 .lf-canonical-save-v312{
  font:inherit!important;
  line-height:1!important;
}
@media(max-width:680px){
  html body .lf-submit-standard-v527{
    min-width:116px!important;
    height:40px!important;
    min-height:40px!important;
    padding:0 16px!important;
    font-size:12.5px!important;
  }
}


/* V325.529 — standard MYR-rate information presentation.
   Rate information stays on one line and is kept close to the field it explains. */
html body .lf-myr-rate-info-v529{
  display:block!important;
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  color:#404040!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:10.5px!important;
  font-weight:500!important;
  line-height:1.35!important;
  white-space:nowrap!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  text-overflow:clip!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
}
html body .lf-myr-rate-info-v529::-webkit-scrollbar{display:none!important;}

/* Add USD Record: move the MYR-rate status above the footer/action divider.
   This uses a full-width row so the information no longer wraps in the left column. */
html body #app #view-usd-add #usdForm{
  grid-auto-flow:row!important;
}
html body #app #view-usd-add #usdForm > #usdMsg.lf-myr-rate-info-v529{
  grid-column:1 / -1!important;
  grid-row:4!important;
  align-self:start!important;
  justify-self:stretch!important;
  width:100%!important;
  max-width:100%!important;
  min-height:0!important;
  padding:0!important;
  margin:-3px 0 1px!important;
  transform:none!important;
  position:relative!important;
  top:auto!important;
}
html body #app #view-usd-add #usdForm > .lf-entry-actions-v319{
  grid-column:1 / -1!important;
  grid-row:5!important;
  width:100%!important;
  margin:0!important;
  padding-top:11px!important;
  justify-content:flex-end!important;
}

/* Income / Bonus automatic rate note. */
html body #app #view-salary-add #salBonusMyrFieldV164{
  overflow:visible!important;
}
html body #app #view-salary-add #salBonusRateStatusV164.lf-myr-rate-info-v529{
  width:100%!important;
  margin-top:0!important;
}

/* USD conversion formula is also MYR-rate information. */
html body #app #view-usd-convert #usdConvPreviewFormulaV322.lf-myr-rate-info-v529{
  width:100%!important;
  margin-top:5px!important;
}

/* Settings/currency rate information uses the same single-line treatment when present. */
html body #currencyRateWarningV316.lf-myr-rate-info-v529{
  width:100%!important;
}

@media(max-width:680px){
  html body .lf-myr-rate-info-v529{
    font-size:10px!important;
  }
  html body #app #view-usd-add #usdForm > #usdMsg.lf-myr-rate-info-v529{
    grid-column:1 / -1!important;
    grid-row:auto!important;
    margin:-2px 0 0!important;
  }
  html body #app #view-usd-add #usdForm > .lf-entry-actions-v319{
    grid-column:1 / -1!important;
    grid-row:auto!important;
    padding-top:9px!important;
  }
}


/* V325.531 — searchable standard dropdowns across the entire application. */
html body > .lf-select-menu-v510{
  max-height:min(360px,calc(100vh - 24px))!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
}

html body > .lf-select-menu-v510 .lf-select-search-wrap-v531{
  position:sticky!important;
  top:0!important;
  z-index:20!important;
  display:block!important;
  width:100%!important;
  box-sizing:border-box!important;
  padding:8px!important;
  margin:0!important;
  background:#ffffff!important;
  border-bottom:1px solid #d4d4d4!important;
  box-shadow:0 3px 8px rgba(82,82,82,.05)!important;
}

html body > .lf-select-menu-v510 .lf-select-search-v531{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:36px!important;
  min-height:36px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0 11px!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  outline:0!important;
  background:#f8f8f8!important;
  color:#404040!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:12.5px!important;
  font-weight:500!important;
  line-height:1.2!important;
  box-shadow:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}

html body > .lf-select-menu-v510 .lf-select-search-v531::placeholder{
  color:#404040!important;
  opacity:1!important;
}

html body > .lf-select-menu-v510 .lf-select-search-v531:focus{
  border-color:#d4d4d4!important;
  background:#ffffff!important;
  box-shadow:0 0 0 3px rgba(82,82,82,.11)!important;
}

html body > .lf-select-menu-v510 .lf-select-search-v531::-webkit-search-cancel-button{
  cursor:pointer!important;
}

html body > .lf-select-menu-v510 .lf-select-no-results-v531{
  display:none;
  width:100%!important;
  box-sizing:border-box!important;
  padding:12px!important;
  color:#404040!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1.3!important;
  text-align:center!important;
  white-space:nowrap!important;
}

html body > .lf-select-menu-v510 .lf-select-no-results-v531[data-visible="true"]{
  display:block!important;
}

html body > .lf-select-menu-v510 .lf-select-option-v510{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

@media(max-width:680px){
  html body > .lf-select-menu-v510{
    max-height:min(330px,calc(100vh - 18px))!important;
  }
  html body > .lf-select-menu-v510 .lf-select-search-wrap-v531{
    padding:7px!important;
  }
  html body > .lf-select-menu-v510 .lf-select-search-v531{
    height:38px!important;
    min-height:38px!important;
    font-size:13px!important;
  }
}


/* ============================================================
   V325.533 — BUSINESS / CASHIER COMPACT IPAD WORKSPACE
   - Reliable app-level full-screen mode that does not depend on
     the browser Fullscreen API.
   - Hides the Finance header/sidebar while Business is focused.
   - Keeps the Cashier form compact and touch-friendly on iPad.
   ============================================================ */
html body{
  --business-v533-safe-top:env(safe-area-inset-top,0px);
  --business-v533-safe-right:env(safe-area-inset-right,0px);
  --business-v533-safe-bottom:env(safe-area-inset-bottom,0px);
  --business-v533-safe-left:env(safe-area-inset-left,0px);
}

html body #businessWindowFocusV346{
  width:40px!important;
  min-width:40px!important;
  height:40px!important;
  min-height:40px!important;
  padding:0!important;
  display:inline-grid!important;
  place-items:center!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#404040!important;
  box-shadow:0 2px 7px rgba(82,82,82,.07)!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent!important;
}
html body #businessWindowFocusV346:hover{
  background:#f6f6f6!important;
  border-color:#d4d4d4!important;
}
html body #businessWindowFocusV346:focus-visible{
  outline:0!important;
  border-color:#d4d4d4!important;
  box-shadow:0 0 0 3px rgba(82,82,82,.14)!important;
}
html body #businessWindowFocusV346 svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* Compact Cashier canvas on wide screens so fields do not stretch excessively. */
html body #view-business .business-panel-v325[data-business-panel="cashier"]{
  width:100%!important;
  max-width:1280px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
html body #view-business .business-cashier-grid-v325{
  grid-template-columns:minmax(0,1fr) minmax(330px,360px)!important;
  gap:14px!important;
  align-items:start!important;
}
html body #view-business .business-sale-card-v344,
html body #view-business .business-pos-summary-v225{
  min-width:0!important;
}
html body #view-business .business-form-section-v344{
  padding:14px 16px!important;
}
html body #view-business .business-form-section-v344 + .business-form-section-v344{
  margin-top:10px!important;
  padding-top:14px!important;
}
html body #view-business .business-section-title-v344{
  margin-bottom:10px!important;
}
html body #view-business .business-barcode-row-v133{
  gap:8px!important;
}
html body #view-business .business-checkout-grid-v344{
  gap:10px 12px!important;
}
html body #view-business .business-pos-summary-v225{
  padding:16px!important;
}

/* Landscape iPad: three short payment columns, then payment method below. */
@media (min-width:1024px){
  html body #view-business .business-checkout-grid-v344{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  html body #view-business .business-checkout-grid-v344 > .cashier-date-field-v236,
  html body #view-business .business-checkout-grid-v344 > .cashier-source-field-v236,
  html body #view-business .business-checkout-grid-v344 > .cashier-promo-field-v236{
    grid-column:auto!important;
    width:100%!important;
    min-width:0!important;
  }
  html body #view-business .business-checkout-grid-v344 > .business-payment-method-field-v360{
    grid-column:1 / -1!important;
  }
}

/* ============================================================
   RELIABLE APP FULL SCREEN
   The whole #app is pinned to the viewport. This avoids iPad/Safari
   issues caused by fixed-position descendants inside transformed or
   clipped layout containers. Native browser full screen is optional.
   ============================================================ */
html body.lf-business-focus-active-v533{
  overflow:hidden!important;
  overscroll-behavior:none!important;
  background:#f4f4f4!important;
}
html body.lf-business-focus-active-v533 #app{
  position:fixed!important;
  inset:0!important;
  z-index:1000!important;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#f4f4f4!important;
}
html body.lf-business-focus-active-v533 #app > .header,
html body.lf-business-focus-active-v533 #app > .layout > .side{
  display:none!important;
}
html body.lf-business-focus-active-v533 #app > .layout{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
html body.lf-business-focus-active-v533 #app > .layout > .main{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
html body.lf-business-focus-active-v533 #app > .layout > .main > .view:not(#view-business){
  display:none!important;
}
html body.lf-business-focus-active-v533 #view-business.lf-business-focus-v533{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:var(--business-v533-safe-top) var(--business-v533-safe-right) var(--business-v533-safe-bottom) var(--business-v533-safe-left)!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  background:#f4f4f4!important;
}
html body.lf-business-focus-active-v533 #view-business.lf-business-focus-v533 > .business-desktop-window-v346{
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  max-height:none!important;
  min-height:0!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff!important;
}
html body.lf-business-focus-active-v533 #view-business .business-window-titlebar-v346,
html body.lf-business-focus-active-v533 #view-business .business-system-status-v345{
  flex:0 0 auto!important;
}
html body.lf-business-focus-active-v533 #view-business .business-workspace-v344{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:auto!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
}
html body.lf-business-focus-active-v533 #view-business #businessWindowFocusV346{
  background:#f2f2f2!important;
  border-color:#d4d4d4!important;
  color:#404040!important;
}
html body.lf-business-focus-active-v533 #view-business .business-content-v344{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}

/* Tablet-first touch sizing. */
@media (min-width:768px) and (max-width:1366px){
  html body #view-business .business-desktop-window-v346{
    width:100%!important;
    max-width:none!important;
  }
  html body #view-business .business-window-titlebar-v346{
    min-height:54px!important;
    padding:7px 11px!important;
    box-sizing:border-box!important;
  }
  html body #view-business .business-window-tools-v346{gap:7px!important;}
  html body #view-business #businessWindowFocusV346{
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    border-radius:11px!important;
  }
  html body #view-business .business-system-status-v345{
    min-height:44px!important;
    padding:6px 11px!important;
    gap:12px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
  }
  html body #view-business .business-system-status-v345::-webkit-scrollbar{display:none!important;}
  html body #view-business .business-content-v344{padding:13px!important;}
  html body #view-business .business-panel-heading-v344{margin-bottom:10px!important;}
  html body #view-business .business-panel-heading-v344 h2{
    font-size:22px!important;
    line-height:1.15!important;
  }
  html body #view-business .business-card-v325{border-radius:12px!important;}
  html body #view-business :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea,.lf-select-trigger-v510){
    min-height:44px!important;
    font-size:14px!important;
  }
  html body #view-business :is(button,.btn){
    min-height:44px;
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  html body #view-business .business-payment-choice-v360{min-height:44px!important;}
  html body #view-business .business-pos-summary-v225{
    position:sticky!important;
    top:10px!important;
  }
}

@media (min-width:1024px) and (max-width:1366px){
  html body #view-business .business-panel-v325[data-business-panel="cashier"]{
    max-width:1180px!important;
  }
  html body #view-business .business-cashier-grid-v325{
    grid-template-columns:minmax(0,1fr) minmax(310px,340px)!important;
    gap:12px!important;
  }
  html body.lf-business-focus-active-v533 #view-business .business-content-v344{
    padding:14px 16px 18px!important;
  }
}

@media (min-width:768px) and (max-width:1023px){
  html body #view-business .business-panel-v325[data-business-panel="cashier"]{
    max-width:760px!important;
  }
  html body #view-business .business-cashier-grid-v325{
    grid-template-columns:minmax(0,1fr)!important;
  }
  html body #view-business .business-pos-summary-v225{position:static!important;}
  html body #view-business .business-window-path-v346,
  html body #view-business .business-window-live-v346{display:none!important;}
  html body #view-business .business-checkout-grid-v344{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  html body #view-business .business-checkout-grid-v344 > .business-payment-method-field-v360{
    grid-column:1 / -1!important;
  }
}

@media (max-width:767px){
  html body #view-business .business-panel-v325[data-business-panel="cashier"]{max-width:none!important;}
  html body #view-business .business-cashier-grid-v325{grid-template-columns:1fr!important;}
  html body #view-business .business-pos-summary-v225{position:static!important;}
}


/* ============================================================
   V325.534 — CASHIER / ADD ITEM PROFESSIONAL IPAD PAGE
   Restores the dedicated Sale Item page styling without changing
   Cashier calculations, product logic, or Add-to-Sale behaviour.
   ============================================================ */
html body #view-business #cashierItemPageV348[hidden]{
  display:none!important;
}

html body #view-business #cashierItemPageV348:not([hidden]){
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  display:block!important;
  background:#f8f8f8!important;
  color:#404040!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}

/* Clean top navigation strip. */
html body #view-business #cashierItemPageV348 .business-item-page-topbar-v348{
  width:100%!important;
  min-height:56px!important;
  box-sizing:border-box!important;
  padding:8px 16px!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:14px!important;
  border-bottom:1px solid #d4d4d4!important;
  background:linear-gradient(180deg,#fdfdfd 0%,#f7f7f7 100%)!important;
}

html body #view-business #cashierItemBackV348{
  min-height:40px!important;
  height:40px!important;
  padding:0 13px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#404040!important;
  font-size:12.5px!important;
  font-weight:750!important;
  line-height:1!important;
  box-shadow:0 2px 6px rgba(82,82,82,.06)!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
}
html body #view-business #cashierItemBackV348:hover{
  background:#f5f5f5!important;
  border-color:#d4d4d4!important;
}
html body #view-business #cashierItemBackV348 svg{
  width:17px!important;
  height:17px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

html body #view-business #cashierItemPageV348 .business-item-page-path-v348{
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  color:#404040!important;
  font-size:10.5px!important;
  font-weight:700!important;
  letter-spacing:.035em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
html body #view-business #cashierItemPageV348 .business-item-page-path-v348 strong{
  color:#404040!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html body #view-business #cashierItemPageV348 .business-item-page-status-v348{
  min-height:30px!important;
  padding:0 10px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  border:1px solid #d4d4d4!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#404040!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.05em!important;
  white-space:nowrap!important;
}
html body #view-business #cashierItemPageV348 .business-item-page-status-v348 i{
  width:7px!important;
  height:7px!important;
  border-radius:50%!important;
  background:#39ae7a!important;
  box-shadow:0 0 0 3px rgba(57,174,122,.10)!important;
}

/* Centered iPad-first content canvas. */
html body #view-business #cashierItemPageV348 .business-item-page-body-v348{
  width:min(1180px,calc(100% - 28px))!important;
  margin:0 auto!important;
  padding:18px 0 22px!important;
  box-sizing:border-box!important;
}

html body #view-business #cashierItemPageV348 .business-item-page-heading-v348{
  width:100%!important;
  margin:0 0 14px!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:18px!important;
}
html body #view-business #cashierItemPageV348 .business-item-page-heading-v348 > div{
  min-width:0!important;
}
html body #view-business #cashierItemPageV348 .business-eyebrow-v325{
  margin:0 0 4px!important;
  color:#404040!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1.2!important;
  letter-spacing:.085em!important;
}
html body #view-business #cashierItemPageTitleV348{
  margin:0!important;
  color:#404040!important;
  font-size:25px!important;
  font-weight:800!important;
  line-height:1.12!important;
  letter-spacing:-.025em!important;
  outline:none!important;
}
html body #view-business #cashierItemPageV348 .business-item-page-heading-v348 p{
  margin:5px 0 0!important;
  color:#404040!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1.45!important;
}
html body #view-business #cashierItemPageV348 .business-item-step-v348{
  flex:0 0 auto!important;
  min-height:30px!important;
  padding:0 11px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #d4d4d4!important;
  border-radius:999px!important;
  background:#f5f5f5!important;
  color:#404040!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.04em!important;
  white-space:nowrap!important;
}

/* Main form + preview. */
html body #view-business #cashierItemPageV348 .business-item-entry-layout-v348{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(300px,340px)!important;
  gap:16px!important;
  align-items:start!important;
}

html body #view-business #cashierItemPageV348 .business-item-entry-card-v348,
html body #view-business #cashierItemPageV348 .business-item-preview-card-v348{
  min-width:0!important;
  box-sizing:border-box!important;
  border:1px solid #d4d4d4!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 8px 22px rgba(82,82,82,.07)!important;
}
html body #view-business #cashierItemPageV348 .business-item-entry-card-v348{
  overflow:hidden!important;
}

html body #view-business #cashierItemPageV348 .business-item-entry-section-v348{
  padding:16px 18px 18px!important;
}
html body #view-business #cashierItemPageV348 .business-item-entry-section-v348 + .business-item-entry-section-v348{
  border-top:1px solid #e8e8e8!important;
}

html body #view-business #cashierItemPageV348 .business-item-entry-section-title-v348{
  margin:0 0 13px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
html body #view-business #cashierItemPageV348 .business-item-entry-section-title-v348 > span{
  width:32px!important;
  min-width:32px!important;
  height:32px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:9px!important;
  background:#e5e5e5!important;
  color:#404040!important;
  font-size:11px!important;
  font-weight:800!important;
}
html body #view-business #cashierItemPageV348 .business-item-entry-section-title-v348 > div{
  min-width:0!important;
}
html body #view-business #cashierItemPageV348 .business-item-entry-section-title-v348 strong{
  display:block!important;
  color:#404040!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.25!important;
}
html body #view-business #cashierItemPageV348 .business-item-entry-section-title-v348 small{
  display:block!important;
  margin-top:2px!important;
  color:#404040!important;
  font-size:10.5px!important;
  font-weight:500!important;
  line-height:1.35!important;
}

html body #view-business #cashierItemPageV348 .business-item-entry-fields-v348{
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px 14px!important;
  align-items:start!important;
}
html body #view-business #cashierItemPageV348 .business-item-entry-fields-v348.four{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
html body #view-business #cashierItemPageV348 .business-item-entry-fields-v348 > .field{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:5px!important;
}
html body #view-business #cashierItemPageV348 .business-item-entry-fields-v348 > .field.wide{
  grid-column:1 / -1!important;
}
html body #view-business #cashierItemPageV348 .field label{
  margin:0!important;
  color:#404040!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1.25!important;
}
html body #view-business #cashierItemPageV348 .field > small{
  margin:0!important;
  color:#404040!important;
  font-size:10.5px!important;
  font-weight:500!important;
  line-height:1.35!important;
}
html body #view-business #cashierItemPageV348 :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  select,
  textarea,
  .lf-select-trigger-v510
){
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#f8f8f8!important;
  color:#404040!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:13px!important;
  font-weight:500!important;
  outline:none!important;
  box-shadow:none!important;
}
html body #view-business #cashierItemPageV348 :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  select,
  .lf-select-trigger-v510
){
  height:42px!important;
  min-height:42px!important;
  padding:0 12px!important;
}
html body #view-business #cashierItemPageV348 textarea{
  min-height:72px!important;
  height:72px!important;
  padding:10px 12px!important;
  resize:vertical!important;
  line-height:1.4!important;
}
html body #view-business #cashierItemPageV348 :is(input,select,textarea,.lf-select-trigger-v510):focus,
html body #view-business #cashierItemPageV348 .lf-select-v510:focus-within .lf-select-trigger-v510{
  border-color:#d4d4d4!important;
  background:#fff!important;
  box-shadow:0 0 0 3px rgba(82,82,82,.11)!important;
}
html body #view-business #cashierItemPageV348 input[type="number"]{
  -moz-appearance:textfield!important;
  appearance:textfield!important;
}
html body #view-business #cashierItemPageV348 input[type="number"]::-webkit-outer-spin-button,
html body #view-business #cashierItemPageV348 input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance:none!important;
  margin:0!important;
}

/* Optional product photo preview. */
html body #view-business #cashierItemPageV348 .business-item-product-photo-v353:not([hidden]){
  grid-column:1 / -1!important;
  width:100%!important;
  min-height:120px!important;
  max-height:220px!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #d4d4d4!important;
  border-radius:11px!important;
  background:#fbfbfb!important;
}
html body #view-business #cashierItemPageV348 .business-item-product-photo-v353 img{
  display:block!important;
  max-width:100%!important;
  max-height:210px!important;
  object-fit:contain!important;
}

/* Preview / confirmation column. */
html body #view-business #cashierItemPageV348 .business-item-preview-card-v348{
  padding:16px!important;
  position:sticky!important;
  top:12px!important;
}
html body #view-business #cashierItemPageV348 .business-item-preview-head-v348{
  padding:0 0 12px!important;
  margin:0 0 12px!important;
  border-bottom:1px solid #e9e9e9!important;
}
html body #view-business #cashierItemPageV348 .business-item-preview-head-v348 span{
  display:block!important;
  color:#404040!important;
  font-size:11px!important;
  font-weight:850!important;
  line-height:1.2!important;
  letter-spacing:.06em!important;
}
html body #view-business #cashierItemPageV348 .business-item-preview-head-v348 small{
  display:block!important;
  margin-top:4px!important;
  color:#404040!important;
  font-size:10.5px!important;
  line-height:1.35!important;
}
html body #view-business #cashierItemPreviewV348{
  min-height:150px!important;
  padding:13px!important;
  box-sizing:border-box!important;
  border:1px solid #d4d4d4!important;
  border-radius:11px!important;
  background:#fafafa!important;
  color:#404040!important;
  font-size:12px!important;
  line-height:1.55!important;
}
html body #view-business #cashierItemPreviewV348 :is(strong,b){
  color:#404040!important;
  font-weight:800!important;
}
html body #view-business #cashierItemPageMsgV348{
  min-height:0!important;
  margin:9px 0 0!important;
  font-size:11px!important;
  line-height:1.35!important;
}
html body #view-business #cashierItemPageMsgV348:empty{
  display:none!important;
}
html body #view-business #cashierItemPageV348 .business-item-actions-v353{
  margin-top:14px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)!important;
  gap:9px!important;
}
html body #view-business #cashierItemPageV348 .business-item-actions-v353 button{
  min-height:42px!important;
  height:42px!important;
  padding:0 14px!important;
  border-radius:10px!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
}
html body #view-business #cashierItemCancelV348{
  border:1px solid #d4d4d4!important;
  background:#fff!important;
  color:#404040!important;
}
html body #view-business #cashierItemCancelV348:hover{
  background:#f6f6f6!important;
}
html body #view-business #cashierItemConfirmV348{
  border:1px solid #d4d4d4!important;
  background:#e5e5e5!important;
  color:#fff!important;
  box-shadow:0 6px 14px rgba(82,82,82,.16)!important;
}
html body #view-business #cashierItemConfirmV348:hover{
  background:#e5e5e5!important;
  border-color:#d4d4d4!important;
}
html body #view-business #cashierItemConfirmV348:disabled{
  opacity:.52!important;
  cursor:not-allowed!important;
  box-shadow:none!important;
}

/* In Business focus mode, let the item page use the full inner viewport. */
html body.lf-business-focus-active-v533 #view-business #cashierItemPageV348:not([hidden]){
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:auto!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
}
html body.lf-business-focus-active-v533 #view-business .business-desktop-window-v346:has(#cashierItemPageV348:not([hidden])) .business-workspace-v344{
  display:none!important;
}

/* iPad landscape / medium desktop. */
@media (min-width:901px) and (max-width:1366px){
  html body #view-business #cashierItemPageV348 .business-item-page-body-v348{
    width:min(1040px,calc(100% - 24px))!important;
    padding-top:14px!important;
  }
  html body #view-business #cashierItemPageV348 .business-item-entry-layout-v348{
    grid-template-columns:minmax(0,1fr) minmax(280px,310px)!important;
    gap:12px!important;
  }
  html body #view-business #cashierItemPageV348 .business-item-entry-section-v348{
    padding:14px 15px 16px!important;
  }
  html body #view-business #cashierItemPageV348 .business-item-entry-fields-v348.four{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* iPad portrait and smaller tablets: stack the preview below the form. */
@media (max-width:900px){
  html body #view-business #cashierItemPageV348 .business-item-page-body-v348{
    width:min(760px,calc(100% - 20px))!important;
    padding:12px 0 16px!important;
  }
  html body #view-business #cashierItemPageV348 .business-item-entry-layout-v348{
    grid-template-columns:minmax(0,1fr)!important;
  }
  html body #view-business #cashierItemPageV348 .business-item-preview-card-v348{
    position:static!important;
  }
  html body #view-business #cashierItemPageV348 .business-item-entry-fields-v348.four{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media (max-width:600px){
  html body #view-business #cashierItemPageV348 .business-item-page-topbar-v348{
    grid-template-columns:auto 1fr!important;
    gap:9px!important;
    padding:7px 10px!important;
  }
  html body #view-business #cashierItemPageV348 .business-item-page-status-v348{
    display:none!important;
  }
  html body #view-business #cashierItemPageV348 .business-item-page-heading-v348{
    gap:10px!important;
  }
  html body #view-business #cashierItemPageTitleV348{
    font-size:22px!important;
  }
  html body #view-business #cashierItemPageV348 .business-item-step-v348{
    min-height:28px!important;
    padding:0 9px!important;
    font-size:9.5px!important;
  }
  html body #view-business #cashierItemPageV348 .business-item-entry-fields-v348,
  html body #view-business #cashierItemPageV348 .business-item-entry-fields-v348.four{
    grid-template-columns:minmax(0,1fr)!important;
  }
  html body #view-business #cashierItemPageV348 .business-item-entry-fields-v348 > .field.wide{
    grid-column:auto!important;
  }
  html body #view-business #cashierItemPageV348 .business-item-actions-v353{
    grid-template-columns:1fr!important;
  }
}


/* ============================================================
   V325.535 — CASHIER / ADD ITEM COMPACT STANDARD COLUMNS
   - Shorter iPad-friendly form columns.
   - Saved Product + Item Name share one row.
   - Remark stays full width.
   - Pricing fields remain compact.
   - Preview labels and values have proper visual spacing.
   ============================================================ */

/* Keep the complete item page centered and prevent overly-wide controls. */
html body #view-business #cashierItemPageV348 .business-item-page-body-v348{
  width:min(1060px,calc(100% - 24px))!important;
}

html body #view-business #cashierItemPageV348 .business-item-entry-layout-v348{
  grid-template-columns:minmax(0,720px) minmax(280px,300px)!important;
  justify-content:center!important;
  gap:14px!important;
}

/* Slightly tighter cards without making touch targets small. */
html body #view-business #cashierItemPageV348 .business-item-entry-section-v348{
  padding:14px 16px 16px!important;
}
html body #view-business #cashierItemPageV348 .business-item-entry-section-title-v348{
  margin-bottom:11px!important;
}

/* Product / service: Saved Product | Item Name, then Remark across both. */
html body #view-business #cashierItemPageV348
.business-item-entry-section-v348:first-child
.business-item-entry-fields-v348{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:11px 14px!important;
}

html body #view-business #cashierItemPageV348
.business-item-entry-section-v348:first-child
.business-item-entry-fields-v348 > .field.wide{
  grid-column:auto!important;
}

html body #view-business #cashierItemPageV348
.business-item-entry-section-v348:first-child
.business-item-entry-fields-v348 > .field:nth-child(3){
  grid-column:1 / -1!important;
}

/* Pricing stays in four short, balanced columns on landscape iPad / desktop. */
html body #view-business #cashierItemPageV348
.business-item-entry-fields-v348.four{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px 12px!important;
}

/* Consistent readable typography with enough breathing space. */
html body #view-business #cashierItemPageV348 .field label{
  font-size:11.5px!important;
  line-height:1.3!important;
  margin-bottom:1px!important;
}

html body #view-business #cashierItemPageV348 .field > small{
  font-size:10.5px!important;
  line-height:1.45!important;
  margin-top:1px!important;
}

html body #view-business #cashierItemPageV348 :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  select,
  .lf-select-trigger-v510
){
  height:40px!important;
  min-height:40px!important;
  padding-left:11px!important;
  padding-right:11px!important;
  font-size:12.5px!important;
  line-height:1.25!important;
}

html body #view-business #cashierItemPageV348 textarea{
  min-height:62px!important;
  height:62px!important;
  padding:9px 11px!important;
  font-size:12.5px!important;
  line-height:1.45!important;
}

/* Preview: force a clear gap between each label and its value. */
html body #view-business #cashierItemPreviewV348{
  min-height:0!important;
  padding:9px 11px!important;
  font-size:11.5px!important;
  line-height:1.4!important;
}

html body #view-business #cashierItemPreviewV348 > div{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(74px,90px) minmax(0,1fr)!important;
  align-items:start!important;
  column-gap:14px!important;
  row-gap:0!important;
  padding:7px 0!important;
  border-bottom:1px solid #eaeaea!important;
}

html body #view-business #cashierItemPreviewV348 > div:last-child{
  border-bottom:0!important;
}

html body #view-business #cashierItemPreviewV348 > div > span{
  min-width:0!important;
  color:#404040!important;
  font-size:11px!important;
  font-weight:650!important;
  line-height:1.35!important;
  white-space:nowrap!important;
}

html body #view-business #cashierItemPreviewV348 > div > strong{
  min-width:0!important;
  display:block!important;
  color:#404040!important;
  font-size:11.5px!important;
  font-weight:800!important;
  line-height:1.35!important;
  text-align:right!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}

html body #view-business #cashierItemPreviewV348 > div.remark > strong{
  text-align:left!important;
}

/* Make the total row easy to scan without crowding it. */
html body #view-business #cashierItemPreviewV348 > div.grand{
  margin-top:2px!important;
  padding-top:9px!important;
}
html body #view-business #cashierItemPreviewV348 > div.grand > span,
html body #view-business #cashierItemPreviewV348 > div.grand > strong{
  color:#404040!important;
  font-weight:850!important;
}

/* Compact preview card and actions. */
html body #view-business #cashierItemPageV348 .business-item-preview-card-v348{
  width:100%!important;
  max-width:300px!important;
  padding:14px!important;
}
html body #view-business #cashierItemPageV348 .business-item-preview-head-v348{
  padding-bottom:10px!important;
  margin-bottom:10px!important;
}
html body #view-business #cashierItemPageV348 .business-item-actions-v353{
  margin-top:12px!important;
  gap:8px!important;
}
html body #view-business #cashierItemPageV348 .business-item-actions-v353 button{
  height:40px!important;
  min-height:40px!important;
  padding:0 12px!important;
  font-size:11.5px!important;
}

/* iPad landscape: preserve compact two-column form + preview. */
@media (min-width:901px) and (max-width:1366px){
  html body #view-business #cashierItemPageV348 .business-item-page-body-v348{
    width:min(1000px,calc(100% - 22px))!important;
  }

  html body #view-business #cashierItemPageV348 .business-item-entry-layout-v348{
    grid-template-columns:minmax(0,680px) minmax(270px,290px)!important;
    gap:12px!important;
  }

  html body #view-business #cashierItemPageV348 .business-item-preview-card-v348{
    max-width:290px!important;
  }

  html body #view-business #cashierItemPageV348
  .business-item-entry-fields-v348.four{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}

/* iPad portrait: preview moves below, but the first two fields can still share a row. */
@media (min-width:601px) and (max-width:900px){
  html body #view-business #cashierItemPageV348 .business-item-entry-layout-v348{
    grid-template-columns:minmax(0,1fr)!important;
  }

  html body #view-business #cashierItemPageV348 .business-item-preview-card-v348{
    position:static!important;
    max-width:none!important;
  }

  html body #view-business #cashierItemPageV348
  .business-item-entry-fields-v348.four{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* Phones: single column for maximum readability. */
@media (max-width:600px){
  html body #view-business #cashierItemPageV348
  .business-item-entry-section-v348:first-child
  .business-item-entry-fields-v348,
  html body #view-business #cashierItemPageV348
  .business-item-entry-fields-v348.four{
    grid-template-columns:minmax(0,1fr)!important;
  }

  html body #view-business #cashierItemPageV348
  .business-item-entry-section-v348:first-child
  .business-item-entry-fields-v348 > .field:nth-child(3){
    grid-column:auto!important;
  }

  html body #view-business #cashierItemPreviewV348 > div{
    grid-template-columns:minmax(68px,82px) minmax(0,1fr)!important;
    column-gap:10px!important;
  }
}


/* ============================================================
   V325.536 — CASHIER ITEM PAGE HARD LAYOUT
   This patch deliberately uses direct ID-based rules so older
   Business theme rules cannot stretch these fields again.
   ============================================================ */

html body #cashierItemPageV348 .business-item-page-body-v348{
  width:min(1040px,calc(100% - 24px))!important;
  max-width:1040px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

html body #cashierItemPageV348 .business-item-entry-layout-v348{
  display:grid!important;
  grid-template-columns:minmax(0,700px) minmax(270px,300px)!important;
  justify-content:center!important;
  align-items:start!important;
  gap:14px!important;
}

/* Main left card stays short and balanced. */
html body #cashierItemPageV348 .business-item-entry-card-v348{
  width:100%!important;
  max-width:700px!important;
}

html body #cashierItemPageV348 .business-item-entry-section-v348{
  padding:13px 15px 15px!important;
}

/* First section must be exactly:
   Saved product | Item name
   Remark (full width)
*/
html body #cashierItemPageV348 .business-item-entry-section-v348:first-of-type .business-item-entry-fields-v348{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:10px 12px!important;
  align-items:start!important;
}

html body #cashierItemPageV348 .lf-item-product-field-v536{
  grid-column:1!important;
}
html body #cashierItemPageV348 .lf-item-name-field-v536{
  grid-column:2!important;
}
html body #cashierItemPageV348 .lf-item-remark-field-v536{
  grid-column:1 / -1!important;
}

/* Pricing remains four compact columns on landscape. */
html body #cashierItemPageV348 .business-item-entry-fields-v348.four{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:9px 11px!important;
}

html body #cashierItemPageV348 .field{
  min-width:0!important;
}
html body #cashierItemPageV348 .field label{
  margin:0 0 4px!important;
  font-size:11px!important;
  line-height:1.25!important;
  letter-spacing:.005em!important;
}
html body #cashierItemPageV348 .field > small{
  margin-top:4px!important;
  font-size:10px!important;
  line-height:1.35!important;
}

html body #cashierItemPageV348 :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  select,
  .lf-select-trigger-v510
){
  height:39px!important;
  min-height:39px!important;
  font-size:12px!important;
  line-height:1.2!important;
  padding-top:0!important;
  padding-bottom:0!important;
}

html body #cashierItemPageV348 textarea{
  height:58px!important;
  min-height:58px!important;
  padding:8px 10px!important;
  font-size:12px!important;
  line-height:1.4!important;
}

/* Right preview card: compact but readable. */
html body #cashierItemPageV348 .business-item-preview-card-v348{
  width:100%!important;
  max-width:300px!important;
  padding:13px!important;
}

html body #cashierItemPageV348 .business-item-preview-head-v348{
  margin-bottom:9px!important;
  padding-bottom:9px!important;
}

/* These classes are also applied by JS below as a hard fallback. */
html body #cashierItemPreviewV348 .lf-preview-row-v536{
  width:100%!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:82px minmax(0,1fr)!important;
  align-items:start!important;
  column-gap:14px!important;
  padding:6px 0!important;
  border-bottom:1px solid #eaeaea!important;
}

html body #cashierItemPreviewV348 .lf-preview-row-v536:last-child{
  border-bottom:0!important;
}

html body #cashierItemPreviewV348 .lf-preview-label-v536{
  color:#404040!important;
  font-size:11px!important;
  font-weight:650!important;
  line-height:1.35!important;
  white-space:nowrap!important;
}

html body #cashierItemPreviewV348 .lf-preview-value-v536{
  min-width:0!important;
  color:#404040!important;
  font-size:11.5px!important;
  font-weight:800!important;
  line-height:1.35!important;
  text-align:right!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

html body #cashierItemPreviewV348 .lf-preview-row-v536.remark .lf-preview-value-v536{
  text-align:left!important;
}

html body #cashierItemPreviewV348 .lf-preview-row-v536.grand{
  padding-top:8px!important;
}
html body #cashierItemPreviewV348 .lf-preview-row-v536.grand .lf-preview-label-v536,
html body #cashierItemPreviewV348 .lf-preview-row-v536.grand .lf-preview-value-v536{
  color:#404040!important;
  font-weight:850!important;
}

/* iPad landscape */
@media (min-width:901px) and (max-width:1366px){
  html body #cashierItemPageV348 .business-item-page-body-v348{
    width:min(980px,calc(100% - 20px))!important;
  }
  html body #cashierItemPageV348 .business-item-entry-layout-v348{
    grid-template-columns:minmax(0,650px) minmax(260px,285px)!important;
    gap:12px!important;
  }
  html body #cashierItemPageV348 .business-item-entry-card-v348{
    max-width:650px!important;
  }
  html body #cashierItemPageV348 .business-item-preview-card-v348{
    max-width:285px!important;
  }
}

/* iPad portrait */
@media (min-width:601px) and (max-width:900px){
  html body #cashierItemPageV348 .business-item-entry-layout-v348{
    grid-template-columns:minmax(0,1fr)!important;
  }
  html body #cashierItemPageV348 .business-item-entry-card-v348,
  html body #cashierItemPageV348 .business-item-preview-card-v348{
    max-width:none!important;
  }
  html body #cashierItemPageV348 .business-item-preview-card-v348{
    position:static!important;
  }
  html body #cashierItemPageV348 .business-item-entry-fields-v348.four{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* Phone */
@media (max-width:600px){
  html body #cashierItemPageV348 .business-item-entry-section-v348:first-of-type .business-item-entry-fields-v348,
  html body #cashierItemPageV348 .business-item-entry-fields-v348.four{
    grid-template-columns:minmax(0,1fr)!important;
  }
  html body #cashierItemPageV348 .lf-item-product-field-v536,
  html body #cashierItemPageV348 .lf-item-name-field-v536,
  html body #cashierItemPageV348 .lf-item-remark-field-v536{
    grid-column:1!important;
  }
}


/* ============================================================
   V325.537 — CASHIER PRODUCT PHOTO / REMARK ROW FIX
   - Removes the oversized photo strip.
   - Remark and Product Preview share one row on iPad landscape.
   - Product image is compact and properly cropped.
   - Product name/category are separated and readable.
   ============================================================ */

/* When a product picture exists, use the second column beside Remark. */
html body #cashierItemPageV348
.business-item-entry-section-v348:first-of-type
.business-item-entry-fields-v348.lf-product-photo-visible-v537{
  grid-template-columns:minmax(0,1.55fr) minmax(220px,.85fr)!important;
  align-items:start!important;
}

/* Remark moves to the left column only while a product photo is visible. */
html body #cashierItemPageV348
.business-item-entry-fields-v348.lf-product-photo-visible-v537
.lf-item-remark-field-v536{
  grid-column:1!important;
  width:100%!important;
}

/* Product preview card. */
html body #cashierItemPageV348 #cashierItemProductPhotoV353:not([hidden]){
  grid-column:2!important;
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  height:82px!important;
  max-height:82px!important;
  margin:0!important;
  padding:9px 10px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;

  display:grid!important;
  grid-template-columns:104px minmax(0,1fr)!important;
  align-items:center!important;
  justify-content:stretch!important;
  gap:11px!important;

  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#fbfbfb!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78)!important;
}

/* The generated thumb wrapper or image itself. */
html body #cashierItemPageV348 #cashierItemProductPhotoV353 .business-product-thumb-v353,
html body #cashierItemPageV348 #cashierItemProductPhotoV353 .business-product-thumb-v353.large{
  width:104px!important;
  min-width:104px!important;
  max-width:104px!important;
  height:62px!important;
  min-height:62px!important;
  max-height:62px!important;
  margin:0!important;
  border-radius:8px!important;
  overflow:hidden!important;
  display:block!important;
  background:#f1f1f1!important;
}

/* Covers both markup possibilities: image is the thumb itself, or lives inside it. */
html body #cashierItemPageV348 #cashierItemProductPhotoV353 img{
  display:block!important;
  width:104px!important;
  min-width:104px!important;
  max-width:104px!important;
  height:62px!important;
  min-height:62px!important;
  max-height:62px!important;
  margin:0!important;
  border-radius:8px!important;
  object-fit:cover!important;
  object-position:center!important;
}

/* Product information block. */
html body #cashierItemPageV348 #cashierItemProductPhotoV353 > div:last-child{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:5px!important;
  margin:0!important;
  padding:0!important;
  line-height:1.2!important;
}

html body #cashierItemPageV348 #cashierItemProductPhotoV353 > div:last-child strong{
  display:block!important;
  width:100%!important;
  margin:0!important;
  color:#404040!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

html body #cashierItemPageV348 #cashierItemProductPhotoV353 > div:last-child small{
  display:block!important;
  width:100%!important;
  margin:0!important;
  color:#404040!important;
  font-size:10.5px!important;
  font-weight:600!important;
  line-height:1.3!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Make category visually explicit so name/category never run together. */
html body #cashierItemPageV348 #cashierItemProductPhotoV353 > div:last-child small:not(:empty)::before{
  content:"Category: "!important;
  color:#404040!important;
  font-weight:500!important;
}

/* Keep the Remark compact to match the product card height. */
html body #cashierItemPageV348
.business-item-entry-fields-v348.lf-product-photo-visible-v537
.lf-item-remark-field-v536 textarea{
  height:58px!important;
  min-height:58px!important;
}

/* The helper text stays below the textarea and does not collide with the photo. */
html body #cashierItemPageV348
.business-item-entry-fields-v348.lf-product-photo-visible-v537
.lf-item-remark-field-v536 > small{
  display:block!important;
  margin-top:4px!important;
  line-height:1.25!important;
}

/* iPad portrait / narrow screens: stack the compact preview below Remark. */
@media (max-width:900px){
  html body #cashierItemPageV348
  .business-item-entry-section-v348:first-of-type
  .business-item-entry-fields-v348.lf-product-photo-visible-v537{
    grid-template-columns:minmax(0,1fr)!important;
  }

  html body #cashierItemPageV348
  .business-item-entry-fields-v348.lf-product-photo-visible-v537
  .lf-item-remark-field-v536,
  html body #cashierItemPageV348 #cashierItemProductPhotoV353:not([hidden]){
    grid-column:1!important;
  }

  html body #cashierItemPageV348 #cashierItemProductPhotoV353:not([hidden]){
    width:min(100%,360px)!important;
    justify-self:start!important;
  }
}

/* Phone: slightly smaller preview. */
@media (max-width:600px){
  html body #cashierItemPageV348 #cashierItemProductPhotoV353:not([hidden]){
    grid-template-columns:88px minmax(0,1fr)!important;
    height:74px!important;
    max-height:74px!important;
    padding:7px 8px!important;
    gap:9px!important;
  }

  html body #cashierItemPageV348 #cashierItemProductPhotoV353 .business-product-thumb-v353,
  html body #cashierItemPageV348 #cashierItemProductPhotoV353 .business-product-thumb-v353.large,
  html body #cashierItemPageV348 #cashierItemProductPhotoV353 img{
    width:88px!important;
    min-width:88px!important;
    max-width:88px!important;
    height:56px!important;
    min-height:56px!important;
    max-height:56px!important;
  }
}


/* ============================================================
   V325.538 — RELIABLE BUSINESS FOCUS MODE
   This intentionally uses a NEW button ID so the older V325.533
   capture listener cannot intercept the tap/click.
   No browser Fullscreen API is required.
   ============================================================ */

html body #businessWindowFocusV538{
  position:relative!important;
  z-index:50!important;
  width:40px!important;
  min-width:40px!important;
  height:40px!important;
  min-height:40px!important;
  padding:0!important;
  display:inline-grid!important;
  place-items:center!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#404040!important;
  box-shadow:0 2px 7px rgba(82,82,82,.07)!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-tap-highlight-color:transparent!important;
}

html body #businessWindowFocusV538:hover{
  background:#f6f6f6!important;
  border-color:#d4d4d4!important;
}

html body #businessWindowFocusV538:focus-visible{
  outline:0!important;
  border-color:#d4d4d4!important;
  box-shadow:0 0 0 3px rgba(82,82,82,.14)!important;
}

html body #businessWindowFocusV538 svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  pointer-events:none!important;
}

/* ===== Focus mode root ===== */
html.lf-business-focus-active-v538,
html.lf-business-focus-active-v538 body{
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
  background:#f4f4f4!important;
}

/* Pin the full application to the viewport. */
html.lf-business-focus-active-v538 body #app{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  transform:none!important;
  background:#f4f4f4!important;
}

/* Finance chrome is hidden in focus mode. */
html.lf-business-focus-active-v538 body #app > .header,
html.lf-business-focus-active-v538 body #app .side{
  display:none!important;
}

/* Remove all previous layout/sidebar geometry. */
html.lf-business-focus-active-v538 body #app > .layout{
  position:fixed!important;
  inset:0!important;
  z-index:1!important;
  display:block!important;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  grid-template-columns:1fr!important;
  transform:none!important;
}

html.lf-business-focus-active-v538 body #app > .layout > .main{
  position:fixed!important;
  inset:0!important;
  z-index:2!important;
  display:block!important;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  transform:none!important;
}

/* Only Business remains visible. */
html.lf-business-focus-active-v538 body #app .main > .view:not(#view-business){
  display:none!important;
}

/* Business itself becomes the viewport. */
html.lf-business-focus-active-v538 body #view-business{
  position:fixed!important;
  inset:0!important;
  z-index:10!important;
  display:block!important;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:
    env(safe-area-inset-top,0px)
    env(safe-area-inset-right,0px)
    env(safe-area-inset-bottom,0px)
    env(safe-area-inset-left,0px)!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  transform:none!important;
  background:#f4f4f4!important;
}

/* Business window fills every available pixel. */
html.lf-business-focus-active-v538 body #view-business > .business-desktop-window-v346{
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff!important;
}

html.lf-business-focus-active-v538 body #view-business .business-window-titlebar-v346,
html.lf-business-focus-active-v538 body #view-business .business-system-status-v345,
html.lf-business-focus-active-v538 body #view-business .business-window-footer-v346{
  flex:0 0 auto!important;
}

html.lf-business-focus-active-v538 body #view-business .business-workspace-v344{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:auto!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
}

html.lf-business-focus-active-v538 body #businessWindowFocusV538{
  background:#f1f1f1!important;
  border-color:#d4d4d4!important;
  color:#404040!important;
}

/* iPad touch target */
@media (pointer:coarse), (min-width:768px) and (max-width:1366px){
  html body #businessWindowFocusV538{
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    border-radius:11px!important;
  }
}


/* ============================================================
   V325.539 — BUSINESS FOCUS MODE (NATIVE TOGGLE + HARD FALLBACK)
   Uses a checkbox/label rather than a JS-only button. Modern iPad
   Safari can toggle this natively, and JS also applies inline
   !important styles as a fallback against older/high-specificity CSS.
   ============================================================ */

html body .business-focus-toggle-v539{
  position:relative!important;
  display:inline-grid!important;
  place-items:center!important;
  flex:0 0 auto!important;
  width:40px!important;
  height:40px!important;
  z-index:100!important;
}

html body .business-focus-checkbox-v539{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
}

html body .business-focus-label-v539{
  width:40px!important;
  height:40px!important;
  display:inline-grid!important;
  place-items:center!important;
  box-sizing:border-box!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#404040!important;
  box-shadow:0 2px 7px rgba(82,82,82,.07)!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-tap-highlight-color:transparent!important;
}

html body .business-focus-label-v539:hover{
  background:#f6f6f6!important;
  border-color:#d4d4d4!important;
}

html body .business-focus-checkbox-v539:focus-visible + .business-focus-label-v539{
  outline:0!important;
  border-color:#d4d4d4!important;
  box-shadow:0 0 0 3px rgba(82,82,82,.14)!important;
}

html body .business-focus-label-v539 svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  pointer-events:none!important;
}

html body .business-focus-exit-v539{display:none!important;}
html body .business-focus-checkbox-v539:checked + .business-focus-label-v539{
  background:#f1f1f1!important;
  border-color:#d4d4d4!important;
  color:#404040!important;
}
html body .business-focus-checkbox-v539:checked + .business-focus-label-v539 .business-focus-enter-v539{
  display:none!important;
}
html body .business-focus-checkbox-v539:checked + .business-focus-label-v539 .business-focus-exit-v539{
  display:block!important;
}

/* Pure-CSS fallback. Use very high specificity so old theme CSS cannot win. */
html body#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414:has(#businessWindowFocusToggleV539:checked){
  overflow:hidden!important;
  overscroll-behavior:none!important;
  background:#f4f4f4!important;
}

html body#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414:has(#businessWindowFocusToggleV539:checked) #app{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  transform:none!important;
  background:#f4f4f4!important;
}

html body#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414:has(#businessWindowFocusToggleV539:checked) #app > .header,
html body#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414:has(#businessWindowFocusToggleV539:checked) #app .side{
  display:none!important;
}

html body#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414:has(#businessWindowFocusToggleV539:checked) #app > .layout,
html body#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414:has(#businessWindowFocusToggleV539:checked) #app > .layout > .main{
  position:fixed!important;
  inset:0!important;
  display:block!important;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  transform:none!important;
}

html body#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414:has(#businessWindowFocusToggleV539:checked) #app .main > .view:not(#view-business){
  display:none!important;
}

html body#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414:has(#businessWindowFocusToggleV539:checked) #view-business{
  position:fixed!important;
  inset:0!important;
  z-index:2147483001!important;
  display:block!important;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:
    env(safe-area-inset-top,0px)
    env(safe-area-inset-right,0px)
    env(safe-area-inset-bottom,0px)
    env(safe-area-inset-left,0px)!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  transform:none!important;
  background:#f4f4f4!important;
}

html body#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414:has(#businessWindowFocusToggleV539:checked) #view-business > .business-desktop-window-v346{
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

html body#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414#lfBodyV414:has(#businessWindowFocusToggleV539:checked) #view-business .business-workspace-v344{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:auto!important;
  -webkit-overflow-scrolling:touch!important;
}

@media (pointer:coarse), (min-width:768px) and (max-width:1366px){
  html body .business-focus-toggle-v539,
  html body .business-focus-label-v539{
    width:44px!important;
    height:44px!important;
  }
}


/* V325.540 — live Business title-bar date beside time */
html body #view-business .business-window-tools-v346{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  white-space:nowrap!important;
}

html body #view-business .business-window-date-v540,
html body #view-business #businessWindowClockV346{
  display:inline-flex!important;
  align-items:center!important;
  min-width:0!important;
  margin:0!important;
  color:#404040!important;
  font-variant-numeric:tabular-nums!important;
  font-size:10.5px!important;
  font-weight:650!important;
  line-height:1!important;
  letter-spacing:.01em!important;
  white-space:nowrap!important;
}

html body #view-business .business-window-datetime-separator-v540{
  display:inline-block!important;
  margin:0 -2px!important;
  color:#404040!important;
  font-size:10px!important;
  line-height:1!important;
}

/* Keep the status/date/time group tidy on iPad. */
@media (pointer:coarse), (min-width:768px) and (max-width:1366px){
  html body #view-business .business-window-tools-v346{
    gap:7px!important;
  }

  html body #view-business .business-window-date-v540,
  html body #view-business #businessWindowClockV346{
    font-size:11px!important;
  }
}

/* On very narrow screens keep the date but shorten spacing. */
@media (max-width:720px){
  html body #view-business .business-window-tools-v346{
    gap:5px!important;
  }
  html body #view-business .business-window-datetime-separator-v540{
    display:none!important;
  }
}


/* ============================================================
   V325.541 — CASHIER ITEM CARD HARD FIX
   The controls inside .business-item-storage-v348 are data storage
   only and must never be visible to the cashier.
   ============================================================ */

html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  margin:10px 0 12px!important;
}

/* HARD HIDE the internal values shown in the screenshot. */
html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-storage-v348,
html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-storage-v348 *{
  display:none!important;
  visibility:hidden!important;
  position:absolute!important;
  width:0!important;
  min-width:0!important;
  max-width:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  opacity:0!important;
  pointer-events:none!important;
  overflow:hidden!important;
}

/* Professional product line. */
html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-v348{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto auto!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  min-height:82px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:10px 12px!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#fbfbfb!important;
  box-shadow:0 2px 7px rgba(82,82,82,.045)!important;
}

/* Image + item information */
html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-main-v348{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  min-width:0!important;
  margin:0!important;
}

html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-icon-v348{
  display:grid!important;
  place-items:center!important;
  flex:0 0 62px!important;
  width:62px!important;
  min-width:62px!important;
  max-width:62px!important;
  height:62px!important;
  min-height:62px!important;
  max-height:62px!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#f4f4f4!important;
}

html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-icon-v348 img,
html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-thumb-v354{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center!important;
  border-radius:8px!important;
}

html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-copy-v348{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  gap:4px!important;
  min-width:0!important;
  margin:0!important;
}

html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-copy-v348 > strong{
  display:block!important;
  width:100%!important;
  margin:0!important;
  overflow:hidden!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.25!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-copy-v348 > small{
  display:block!important;
  width:100%!important;
  margin:0!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:10.5px!important;
  font-weight:600!important;
  line-height:1.35!important;
  white-space:normal!important;
}

/* Total */
html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-price-v355{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  gap:5px!important;
  min-width:112px!important;
  margin:0!important;
  padding:5px 12px!important;
  border-left:1px solid #d4d4d4!important;
}

html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-price-label-v355{
  display:block!important;
  margin:0!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:9px!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:.08em!important;
}

html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-total-v348{
  display:block!important;
  min-width:0!important;
  margin:0!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:14px!important;
  font-weight:850!important;
  line-height:1.15!important;
  font-variant-numeric:tabular-nums!important;
  white-space:nowrap!important;
  text-align:right!important;
}

/* Quantity stepper */
html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-inline-qty-v227{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  min-width:0!important;
  margin:0!important;
  padding:3px!important;
  border:1px solid #d4d4d4!important;
  border-radius:8px!important;
  background:#fff!important;
}

html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-inline-qty-v227 button{
  display:inline-grid!important;
  place-items:center!important;
  width:30px!important;
  min-width:30px!important;
  max-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  padding:0!important;
  border:0!important;
  border-radius:6px!important;
  background:#f4f4f4!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:16px!important;
  font-weight:750!important;
  line-height:1!important;
}

html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-inline-qty-v227 strong{
  display:block!important;
  min-width:24px!important;
  margin:0!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1!important;
  text-align:center!important;
  font-variant-numeric:tabular-nums!important;
}

/* Edit / Remove */
html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-actions-v348{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}

html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-actions-v348 .btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  width:auto!important;
  min-width:78px!important;
  max-width:none!important;
  height:36px!important;
  min-height:36px!important;
  max-height:36px!important;
  margin:0!important;
  padding:0 10px!important;
  border-radius:8px!important;
  font-size:10.5px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
}

html body#lfBodyV414#lfBodyV414#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-actions-v348 .btn svg{
  display:block!important;
  width:14px!important;
  min-width:14px!important;
  height:14px!important;
}

/* iPad portrait / tighter width */
@media (max-width:1000px){
  html body#lfBodyV414#lfBodyV414#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-v348{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:10px!important;
  }

  html body#lfBodyV414#lfBodyV414#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-price-v355{
    min-width:105px!important;
  }

  html body#lfBodyV414#lfBodyV414#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-inline-qty-v227{
    grid-column:1!important;
    justify-self:start!important;
  }

  html body#lfBodyV414#lfBodyV414#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-actions-v348{
    grid-column:2!important;
    justify-self:end!important;
  }
}

/* Phone */
@media (max-width:600px){
  html body#lfBodyV414#lfBodyV414#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-v348{
    grid-template-columns:minmax(0,1fr)!important;
    align-items:start!important;
    padding:10px!important;
  }

  html body#lfBodyV414#lfBodyV414#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-price-v355{
    align-items:flex-start!important;
    min-width:0!important;
    padding:9px 0 0!important;
    border-left:0!important;
    border-top:1px solid #d4d4d4!important;
  }

  html body#lfBodyV414#lfBodyV414#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-inline-qty-v227,
  html body#lfBodyV414#lfBodyV414#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-actions-v348{
    grid-column:1!important;
    justify-self:stretch!important;
  }

  html body#lfBodyV414#lfBodyV414#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-actions-v348 .btn{
    flex:1 1 0!important;
  }
}


/* ============================================================
   V325.542 — CASH / PAYMENTS / SPLIT
   Professional iPad-first checkout controls and payment dialogs.
   ============================================================ */

/* ----- Payment method cards ----- */
html body#lfBodyV414 #app #view-business
.business-payment-method-field-v360{
  grid-column:1 / -1!important;
  min-width:0!important;
}

html body#lfBodyV414 #app #view-business
.business-payment-method-field-v360 > label{
  margin-bottom:5px!important;
}

html body#lfBodyV414 #app #view-business
.business-payment-choice-grid-v360{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:9px!important;
  width:100%!important;
  max-width:680px!important;
  align-items:stretch!important;
}

html body#lfBodyV414 #app #view-business
.business-payment-choice-v360{
  position:relative!important;
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr) 22px!important;
  align-items:center!important;
  gap:9px!important;
  width:100%!important;
  min-width:0!important;
  min-height:58px!important;
  margin:0!important;
  padding:9px 10px!important;
  box-sizing:border-box!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#fff!important;
  cursor:pointer!important;
  user-select:none!important;
  -webkit-user-select:none!important;
  touch-action:manipulation!important;
  transition:border-color .14s ease,background .14s ease,box-shadow .14s ease!important;
}

html body#lfBodyV414 #app #view-business
.business-payment-choice-v360:hover{
  border-color:#d4d4d4!important;
  background:#fbfbfb!important;
}

html body#lfBodyV414 #app #view-business
.business-payment-choice-v360:has(input:checked){
  border-color:#d4d4d4!important;
  background:#f6f6f6!important;
  box-shadow:0 0 0 2px rgba(82,82,82,.10)!important;
}

html body#lfBodyV414 #app #view-business
.business-payment-choice-v360 input{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
}

html body#lfBodyV414 #app #view-business
.business-payment-icon-v542{
  display:grid!important;
  place-items:center!important;
  width:36px!important;
  height:36px!important;
  border-radius:9px!important;
  background:#f4f4f4!important;
  color:#404040!important;
}

html body#lfBodyV414 #app #view-business
.business-payment-icon-v542 svg{
  width:19px!important;
  height:19px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

html body#lfBodyV414 #app #view-business
.business-payment-copy-v542{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:3px!important;
  min-width:0!important;
}

html body#lfBodyV414 #app #view-business
.business-payment-copy-v542 strong{
  margin:0!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:11.5px!important;
  font-weight:850!important;
  line-height:1.15!important;
  letter-spacing:.01em!important;
  white-space:nowrap!important;
}

html body#lfBodyV414 #app #view-business
.business-payment-copy-v542 small{
  display:block!important;
  width:100%!important;
  margin:0!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:9px!important;
  font-weight:600!important;
  line-height:1.25!important;
  white-space:normal!important;
}

html body#lfBodyV414 #app #view-business
.business-payment-check-v360{
  display:grid!important;
  place-items:center!important;
  width:21px!important;
  height:21px!important;
  border:1px solid #d4d4d4!important;
  border-radius:6px!important;
  background:#fff!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  font-size:11px!important;
  font-weight:900!important;
}

html body#lfBodyV414 #app #view-business
.business-payment-choice-v360:has(input:checked) .business-payment-check-v360{
  border-color:#d4d4d4!important;
  background:#e5e5e5!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* ----- Shared payment modal shell ----- */
html body :is(
  #cashPaymentModalV359,
  #paymentReceivedModalV462,
  #splitPaymentModalV461
){
  z-index:2147483300!important;
  padding:18px!important;
  background:rgba(233,233,233,.68)!important;
  backdrop-filter:blur(5px)!important;
  -webkit-backdrop-filter:blur(5px)!important;
}

html body :is(
  #cashPaymentModalV359,
  #paymentReceivedModalV462,
  #splitPaymentModalV461
) .business-cash-dialog-v359{
  width:min(470px,calc(100vw - 28px))!important;
  max-height:min(760px,calc(100dvh - 28px))!important;
  margin:auto!important;
  padding:0!important;
  overflow:auto!important;
  border:1px solid #d4d4d4!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 24px 64px rgba(82,82,82,.22)!important;
}

html body #splitPaymentModalV461 .business-cash-dialog-v359{
  width:min(520px,calc(100vw - 28px))!important;
}

html body :is(
  #cashPaymentModalV359,
  #paymentReceivedModalV462,
  #splitPaymentModalV461
) .business-cash-dialog-head-v359{
  min-height:0!important;
  padding:16px 17px 14px!important;
  border-bottom:1px solid #e4e4e4!important;
  background:linear-gradient(180deg,#fbfbfb,#f5f5f5)!important;
}

html body :is(
  #cashPaymentModalV359,
  #paymentReceivedModalV462,
  #splitPaymentModalV461
) .business-cash-dialog-head-v359 h3{
  margin:2px 0 0!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:19px!important;
  font-weight:850!important;
  line-height:1.15!important;
}

html body :is(
  #cashPaymentModalV359,
  #paymentReceivedModalV462,
  #splitPaymentModalV461
) .business-cash-dialog-head-v359 p{
  margin:4px 0 0!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:10px!important;
  line-height:1.4!important;
}

html body :is(
  #cashPaymentModalV359,
  #paymentReceivedModalV462,
  #splitPaymentModalV461
) .business-eyebrow-v325{
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:8.5px!important;
  font-weight:850!important;
  letter-spacing:.08em!important;
}

html body :is(
  #cashPaymentModalV359,
  #paymentReceivedModalV462,
  #splitPaymentModalV461
) .business-cash-close-v359{
  width:36px!important;
  min-width:36px!important;
  max-width:36px!important;
  height:36px!important;
  min-height:36px!important;
  max-height:36px!important;
  border-radius:9px!important;
}

/* Due / change / remaining summary rows */
html body :is(
  #cashPaymentModalV359,
  #paymentReceivedModalV462,
  #splitPaymentModalV461
) .business-cash-due-v359,
html body #cashPaymentModalV359 .business-cash-change-v359,
html body #splitPaymentModalV461 .business-split-balance-v542,
html body #paymentReceivedModalV462 .business-payment-type-summary-v542{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin:14px 17px 0!important;
  padding:11px 12px!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#f9f9f9!important;
}

html body :is(
  #cashPaymentModalV359,
  #paymentReceivedModalV462,
  #splitPaymentModalV461
) .business-cash-due-v359 span,
html body #cashPaymentModalV359 .business-cash-change-v359 span,
html body #splitPaymentModalV461 .business-split-balance-v542 span,
html body #paymentReceivedModalV462 .business-payment-type-summary-v542 span{
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:10px!important;
  font-weight:700!important;
  line-height:1.2!important;
}

html body :is(
  #cashPaymentModalV359,
  #paymentReceivedModalV462,
  #splitPaymentModalV461
) .business-cash-due-v359 strong,
html body #cashPaymentModalV359 .business-cash-change-v359 strong,
html body #splitPaymentModalV461 .business-split-balance-v542 strong,
html body #paymentReceivedModalV462 .business-payment-type-summary-v542 strong{
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:15px!important;
  font-weight:850!important;
  line-height:1.15!important;
  font-variant-numeric:tabular-nums!important;
  white-space:nowrap!important;
}

/* Fields */
html body :is(
  #cashPaymentModalV359,
  #paymentReceivedModalV462,
  #splitPaymentModalV461
) .field{
  min-width:0!important;
}

html body #cashPaymentModalV359 .business-cash-input-field-v359,
html body #paymentReceivedModalV462 .business-payment-subtype-field-v542{
  margin:14px 17px 0!important;
}

html body #splitPaymentModalV461 .business-split-modal-grid-v461{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin:14px 17px 0!important;
}

html body :is(
  #cashPaymentModalV359,
  #paymentReceivedModalV462,
  #splitPaymentModalV461
) .field label{
  display:block!important;
  margin:0 0 5px!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:10.5px!important;
  font-weight:800!important;
  line-height:1.2!important;
}

html body :is(
  #cashPaymentModalV359,
  #paymentReceivedModalV462,
  #splitPaymentModalV461
) .field input,
html body :is(
  #cashPaymentModalV359,
  #paymentReceivedModalV462,
  #splitPaymentModalV461
) .field select,
html body #paymentReceivedModalV462 .lf-select-trigger-v510{
  width:100%!important;
  height:43px!important;
  min-height:43px!important;
  box-sizing:border-box!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#f8f8f8!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:13px!important;
  font-weight:650!important;
  font-variant-numeric:tabular-nums!important;
}

html body #paymentReceivedModalV462 .business-payment-subtype-field-v542 > small{
  display:block!important;
  margin-top:5px!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:9.5px!important;
  line-height:1.35!important;
}

/* CASH quick amounts */
html body #cashPaymentModalV359 .business-cash-quick-v359{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
  margin:11px 17px 0!important;
}

html body #cashPaymentModalV359 .business-cash-quick-v359 button{
  width:100%!important;
  min-width:0!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  padding:0 8px!important;
  border:1px solid #d4d4d4!important;
  border-radius:8px!important;
  background:#f8f8f8!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:10.5px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}

/* SPLIT helpers */
html body #splitPaymentModalV461 .business-split-fill-v461{
  margin:10px 17px 0!important;
}

html body #splitPaymentModalV461 .business-split-fill-v461 button{
  width:100%!important;
  min-height:40px!important;
  border-color:#d4d4d4!important;
  background:#f5f5f5!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:10.5px!important;
  font-weight:800!important;
}

html body #splitPaymentModalV461 .business-split-message-v461,
html body #cashPaymentModalV359 #cashPaymentMsgV359,
html body #paymentReceivedModalV462 #paymentReceivedMsgV462{
  min-height:18px!important;
  margin:9px 17px 0!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:9.5px!important;
  line-height:1.4!important;
}

html body :is(
  #splitPaymentModalV461 .business-split-message-v461.error,
  #cashPaymentModalV359 #cashPaymentMsgV359.error,
  #paymentReceivedModalV462 #paymentReceivedMsgV462.error
){
  color:#b14040!important;
  -webkit-text-fill-color:#b14040!important;
}

/* Payment verification note */
html body #paymentReceivedModalV462 .business-payment-note-v325{
  margin:10px 17px 0!important;
  padding:10px 11px!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#fdfdfd!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:9.5px!important;
  line-height:1.45!important;
}

/* Footer actions */
html body :is(
  #cashPaymentModalV359,
  #paymentReceivedModalV462,
  #splitPaymentModalV461
) .business-cash-actions-v359{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)!important;
  gap:8px!important;
  margin:14px 0 0!important;
  padding:13px 17px 16px!important;
  border-top:1px solid #e8e8e8!important;
}

html body :is(
  #cashPaymentModalV359,
  #paymentReceivedModalV462,
  #splitPaymentModalV461
) .business-cash-actions-v359 button{
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:0!important;
  padding:0 12px!important;
  border-radius:9px!important;
  font-size:10.5px!important;
  font-weight:850!important;
  line-height:1!important;
  white-space:nowrap!important;
}

html body :is(
  #cashPaymentConfirmV359,
  #paymentReceivedConfirmV462,
  #splitPaymentConfirmV461
){
  border-color:#d4d4d4!important;
  background:#e5e5e5!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

html body :is(
  #cashPaymentConfirmV359,
  #paymentReceivedConfirmV462,
  #splitPaymentConfirmV461
):hover{
  border-color:#d4d4d4!important;
  background:#e5e5e5!important;
}

/* Tablet / mobile */
@media(max-width:760px){
  html body#lfBodyV414 #app #view-business
  .business-payment-choice-grid-v360{
    grid-template-columns:1fr!important;
    max-width:none!important;
  }

  html body#lfBodyV414 #app #view-business
  .business-payment-choice-v360{
    min-height:56px!important;
  }

  html body #splitPaymentModalV461 .business-split-modal-grid-v461{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:520px){
  html body :is(
    #cashPaymentModalV359,
    #paymentReceivedModalV462,
    #splitPaymentModalV461
  ){
    padding:8px!important;
  }

  html body :is(
    #cashPaymentModalV359,
    #paymentReceivedModalV462,
    #splitPaymentModalV461
  ) .business-cash-dialog-v359{
    width:calc(100vw - 16px)!important;
    max-height:calc(100dvh - 16px)!important;
    border-radius:13px!important;
  }

  html body #cashPaymentModalV359 .business-cash-quick-v359{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  html body :is(
    #cashPaymentModalV359,
    #paymentReceivedModalV462,
    #splitPaymentModalV461
  ) .business-cash-actions-v359{
    grid-template-columns:1fr!important;
  }
}


/* ============================================================
   V325.543 — SALE COMPLETED / PAYMENT SUCCESSFUL
   Professional, compact and iPad-friendly.
   ============================================================ */

html body #cashierSaleCompletedModalV227[hidden]{
  display:none!important;
}

html body #cashierSaleCompletedModalV227:not([hidden]){
  position:fixed!important;
  inset:0!important;
  z-index:2147483500!important;
  display:grid!important;
  place-items:center!important;
  box-sizing:border-box!important;
  padding:20px!important;
  overflow:auto!important;
  background:rgba(236,236,236,.70)!important;
  backdrop-filter:blur(6px)!important;
  -webkit-backdrop-filter:blur(6px)!important;
}

html body #cashierSaleCompletedModalV227
.business-cash-modal-backdrop-v359{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  display:block!important;
  background:rgba(235,235,235,.46)!important;
}

html body #cashierSaleCompletedModalV227
.business-sale-completed-dialog-v227{
  position:relative!important;
  z-index:1!important;
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr)!important;
  grid-template-areas:
    "check heading"
    "details details"
    "actions actions"!important;
  align-items:start!important;
  column-gap:14px!important;
  row-gap:0!important;

  width:min(520px,calc(100vw - 32px))!important;
  max-width:520px!important;
  max-height:calc(100dvh - 32px)!important;
  margin:auto!important;
  padding:0!important;
  box-sizing:border-box!important;
  overflow:auto!important;

  border:1px solid #d4d4d4!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 24px 70px rgba(82,82,82,.22)!important;
}

/* Success icon */
html body #cashierSaleCompletedModalV227
.business-sale-completed-check-v227{
  grid-area:check!important;
  display:grid!important;
  place-items:center!important;
  width:46px!important;
  height:46px!important;
  margin:17px 0 0 17px!important;
  box-sizing:border-box!important;

  border:1px solid #8fcdb0!important;
  border-radius:50%!important;
  background:#eaf8f1!important;
  color:#1a8a5c!important;
  -webkit-text-fill-color:#1a8a5c!important;

  font-size:22px!important;
  font-weight:900!important;
  line-height:1!important;
}

/* Heading */
html body #cashierSaleCompletedModalV227
.business-sale-completed-heading-v227{
  grid-area:heading!important;
  min-width:0!important;
  margin:0!important;
  padding:17px 18px 13px 0!important;
  box-sizing:border-box!important;
}

html body #cashierSaleCompletedModalV227
.business-sale-completed-heading-v227 .business-eyebrow-v325{
  margin:0 0 4px!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:8.5px!important;
  font-weight:850!important;
  line-height:1.1!important;
  letter-spacing:.09em!important;
}

html body #cashierSaleCompletedModalV227
.business-sale-completed-heading-v227 h3{
  margin:0!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:20px!important;
  font-weight:850!important;
  line-height:1.15!important;
  letter-spacing:-.01em!important;
}

html body #cashierSaleCompletedModalV227
.business-sale-completed-heading-v227 p{
  margin:5px 0 0!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:10.5px!important;
  font-weight:500!important;
  line-height:1.4!important;
}

/* Receipt detail area */
html body #cashierSaleCompletedModalV227
.business-sale-completed-grid-v227{
  grid-area:details!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  margin:0 17px!important;
  padding:14px 0!important;
  border-top:1px solid #e5e5e5!important;
  border-bottom:1px solid #e5e5e5!important;
}

html body #cashierSaleCompletedModalV227
.business-sale-completed-grid-v227 > div{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:4px!important;
  min-width:0!important;
  min-height:58px!important;
  margin:0!important;
  padding:9px 11px!important;
  box-sizing:border-box!important;

  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#fafafa!important;
}

html body #cashierSaleCompletedModalV227
.business-sale-completed-grid-v227 > div:nth-child(3){
  grid-column:1 / -1!important;
  min-height:70px!important;
  background:#f6f6f6!important;
  border-color:#d4d4d4!important;
}

html body #cashierSaleCompletedModalV227
.business-sale-completed-grid-v227 > div > span{
  display:block!important;
  margin:0!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:9px!important;
  font-weight:750!important;
  line-height:1.15!important;
  letter-spacing:.02em!important;
  white-space:nowrap!important;
}

html body #cashierSaleCompletedModalV227
.business-sale-completed-grid-v227 > div > strong{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:12.5px!important;
  font-weight:850!important;
  line-height:1.25!important;
  font-variant-numeric:tabular-nums!important;
  overflow-wrap:anywhere!important;
}

html body #cashierSaleCompletedModalV227
.business-sale-completed-grid-v227 > div:nth-child(3) > strong{
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:21px!important;
  line-height:1.1!important;
}

html body #cashierSaleCompletedModalV227
#cashierCompletedChangeV227{
  color:#177b57!important;
  -webkit-text-fill-color:#177b57!important;
}

/* Footer actions */
html body #cashierSaleCompletedModalV227
.business-sale-completed-actions-v227{
  grid-area:actions!important;
  display:grid!important;
  grid-template-columns:1fr 1fr 1.15fr!important;
  gap:8px!important;
  width:auto!important;
  margin:0!important;
  padding:14px 17px 17px!important;
  box-sizing:border-box!important;
}

html body #cashierSaleCompletedModalV227
.business-sale-completed-actions-v227 button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:0!important;
  padding:0 10px!important;
  box-sizing:border-box!important;

  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  box-shadow:none!important;

  font-size:10.5px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
}

html body #cashierSaleCompletedModalV227
.business-sale-completed-actions-v227 button:hover{
  background:#f7f7f7!important;
  border-color:#d4d4d4!important;
}

html body #cashierSaleCompletedModalV227
#cashierCompletedNewSaleV227{
  border-color:#d4d4d4!important;
  background:#e5e5e5!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 4px 10px rgba(82,82,82,.13)!important;
}

html body #cashierSaleCompletedModalV227
#cashierCompletedNewSaleV227:hover{
  border-color:#d4d4d4!important;
  background:#e5e5e5!important;
}

/* iPad / touch targets */
@media (pointer:coarse), (min-width:768px) and (max-width:1366px){
  html body #cashierSaleCompletedModalV227
  .business-sale-completed-dialog-v227{
    width:min(500px,calc(100vw - 34px))!important;
  }

  html body #cashierSaleCompletedModalV227
  .business-sale-completed-actions-v227 button{
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    font-size:11px!important;
  }
}

/* Narrow screen */
@media (max-width:560px){
  html body #cashierSaleCompletedModalV227:not([hidden]){
    padding:10px!important;
  }

  html body #cashierSaleCompletedModalV227
  .business-sale-completed-dialog-v227{
    width:calc(100vw - 20px)!important;
    grid-template-columns:48px minmax(0,1fr)!important;
    column-gap:10px!important;
    border-radius:13px!important;
  }

  html body #cashierSaleCompletedModalV227
  .business-sale-completed-check-v227{
    width:40px!important;
    height:40px!important;
    margin:14px 0 0 14px!important;
    font-size:19px!important;
  }

  html body #cashierSaleCompletedModalV227
  .business-sale-completed-heading-v227{
    padding:14px 14px 11px 0!important;
  }

  html body #cashierSaleCompletedModalV227
  .business-sale-completed-grid-v227{
    grid-template-columns:1fr!important;
    margin:0 14px!important;
  }

  html body #cashierSaleCompletedModalV227
  .business-sale-completed-grid-v227 > div:nth-child(3){
    grid-column:1!important;
  }

  html body #cashierSaleCompletedModalV227
  .business-sale-completed-actions-v227{
    grid-template-columns:1fr!important;
    padding:12px 14px 14px!important;
  }
}


/* ============================================================
   V325.555 — CASHIER ITEM CARD RESPONSIVE LAYOUT FIX

   Desktop / iPad:
   [ product image + details ] [ total ]
   [ quantity               ] [ actions ]

   Phone:
   product + total
   quantity
   actions
   ============================================================ */

html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  margin:10px 0 12px!important;
  padding:0!important;
  box-sizing:border-box!important;
}

/* Internal form/data storage is never part of the visible Cashier card. */
html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-storage-v348,
html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-storage-v348 *{
  display:none!important;
  visibility:hidden!important;
  position:absolute!important;
  width:0!important;
  min-width:0!important;
  max-width:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  opacity:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}

/* Main item card. */
html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-v348{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-areas:
    "product total"
    "quantity actions"!important;
  align-items:center!important;
  column-gap:14px!important;
  row-gap:10px!important;
  width:100%!important;
  min-width:0!important;
  min-height:104px!important;
  margin:0!important;
  padding:12px!important;
  box-sizing:border-box!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#fbfbfb!important;
  box-shadow:0 2px 7px rgba(82,82,82,.045)!important;
  overflow:hidden!important;
}

/* Product area: fixed image + flexible information. */
html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-main-v348{
  grid-area:product!important;
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}

html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-icon-v348{
  display:grid!important;
  place-items:center!important;
  width:64px!important;
  min-width:64px!important;
  max-width:64px!important;
  height:64px!important;
  min-height:64px!important;
  max-height:64px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#f4f4f4!important;
  overflow:hidden!important;
  flex:none!important;
}

html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-icon-v348 img,
html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-thumb-v354{
  display:block!important;
  width:100%!important;
  min-width:100%!important;
  max-width:100%!important;
  height:100%!important;
  min-height:100%!important;
  max-height:100%!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  object-position:center!important;
  border:0!important;
  border-radius:8px!important;
}

html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-copy-v348{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  gap:3px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-copy-v348 > strong{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.3!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-copy-v348 > small{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:10.5px!important;
  font-weight:600!important;
  line-height:1.35!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  white-space:normal!important;
}

/* Total column. */
html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-price-v355{
  grid-area:total!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-end!important;
  gap:4px!important;
  width:auto!important;
  min-width:94px!important;
  max-width:125px!important;
  margin:0!important;
  padding:4px 0 4px 12px!important;
  box-sizing:border-box!important;
  border:0!important;
  border-left:1px solid #d4d4d4!important;
  background:transparent!important;
  overflow:visible!important;
}

html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-price-label-v355{
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:9px!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:.08em!important;
  white-space:nowrap!important;
}

html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-total-v348{
  display:block!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:14px!important;
  font-weight:850!important;
  line-height:1.2!important;
  font-variant-numeric:tabular-nums!important;
  text-align:right!important;
  white-space:nowrap!important;
}

/* Quantity controls. */
html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-inline-qty-v227{
  grid-area:quantity!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  justify-self:start!important;
  gap:4px!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:3px!important;
  box-sizing:border-box!important;
  border:1px solid #d4d4d4!important;
  border-radius:8px!important;
  background:#fff!important;
  overflow:hidden!important;
}

html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-inline-qty-v227 button{
  display:inline-grid!important;
  place-items:center!important;
  width:30px!important;
  min-width:30px!important;
  max-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:6px!important;
  background:#f4f4f4!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:16px!important;
  font-weight:800!important;
  line-height:1!important;
  cursor:pointer!important;
}

html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-inline-qty-v227 strong{
  display:block!important;
  width:auto!important;
  min-width:26px!important;
  margin:0!important;
  padding:0 3px!important;
  color:#404040!important;
  -webkit-text-fill-color:#404040!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1!important;
  text-align:center!important;
  font-variant-numeric:tabular-nums!important;
  white-space:nowrap!important;
}

/* Edit / Remove actions. */
html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-actions-v348{
  grid-area:actions!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  justify-self:end!important;
  gap:7px!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}

html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-actions-v348 .btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  width:auto!important;
  min-width:78px!important;
  max-width:none!important;
  height:36px!important;
  min-height:36px!important;
  max-height:36px!important;
  margin:0!important;
  padding:0 10px!important;
  box-sizing:border-box!important;
  border-radius:8px!important;
  font-size:10.5px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
}

html body#lfBodyV414
#app #view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-actions-v348 .btn svg{
  display:block!important;
  width:14px!important;
  min-width:14px!important;
  max-width:14px!important;
  height:14px!important;
  min-height:14px!important;
  max-height:14px!important;
  flex:none!important;
}

@media (hover:hover){
  html body#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-inline-qty-v227 button:hover{
    background:#e5e5e5!important;
  }
}

/* iPad and tighter desktop Cashier widths. */
@media (max-width:1100px){
  html body#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-v348{
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:
      "product total"
      "quantity actions"!important;
    column-gap:10px!important;
    row-gap:10px!important;
  }

  html body#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-main-v348{
    grid-template-columns:58px minmax(0,1fr)!important;
    gap:10px!important;
  }

  html body#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-icon-v348{
    width:58px!important;
    min-width:58px!important;
    max-width:58px!important;
    height:58px!important;
    min-height:58px!important;
    max-height:58px!important;
  }

  html body#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-price-v355{
    min-width:90px!important;
  }
}

/* Phone. */
@media (max-width:600px){
  html body#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-v348{
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:
      "product total"
      "quantity quantity"
      "actions actions"!important;
    align-items:center!important;
    padding:10px!important;
    column-gap:8px!important;
    row-gap:10px!important;
  }

  html body#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-main-v348{
    grid-template-columns:54px minmax(0,1fr)!important;
    gap:9px!important;
  }

  html body#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-icon-v348{
    width:54px!important;
    min-width:54px!important;
    max-width:54px!important;
    height:54px!important;
    min-height:54px!important;
    max-height:54px!important;
  }

  html body#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-price-v355{
    min-width:82px!important;
    max-width:105px!important;
    padding-left:8px!important;
  }

  html body#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-total-v348{
    font-size:13px!important;
  }

  html body#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-inline-qty-v227{
    justify-self:start!important;
  }

  html body#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-actions-v348{
    justify-self:stretch!important;
    width:100%!important;
  }

  html body#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-actions-v348 .btn{
    flex:1 1 0!important;
    min-width:0!important;
  }
}

/* Very small phones. */
@media (max-width:390px){
  html body#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-v348{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:
      "product"
      "total"
      "quantity"
      "actions"!important;
  }

  html body#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-price-v355{
    align-items:flex-start!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    padding:8px 0 0!important;
    border-left:0!important;
    border-top:1px solid #d4d4d4!important;
  }

  html body#lfBodyV414
  #app #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-total-v348{
    text-align:left!important;
  }
}


/* ============================================================
   V325.556 — CASHIER ITEM CARD THREE-ROW LAYOUT

   Row 1: Product image + item information
   Row 2: TOTAL
   Row 3: Quantity controls + Edit / Remove

   This override intentionally comes after V325.555.
   ============================================================ */

html body#lfBodyV414
#app
#view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-v348 {
  display: grid !important;

  grid-template-columns:
    minmax(0, 1fr)
    auto !important;

  grid-template-areas:
    "product product"
    "total total"
    "quantity actions" !important;

  align-items: center !important;

  column-gap: 10px !important;
  row-gap: 9px !important;

  width: 100% !important;
  min-width: 0 !important;

  min-height: 0 !important;

  margin: 0 !important;
  padding: 12px !important;

  box-sizing: border-box !important;

  border: 1px solid #d4d4d4 !important;
  border-radius: 10px !important;

  background: #fbfbfb !important;

  box-shadow:
    0 2px 7px rgba(82,82,82,0.045) !important;

  overflow: hidden !important;
}


/* ============================================================
   ROW 1 — PRODUCT
   ============================================================ */

html body#lfBodyV414
#app
#view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-main-v348 {
  grid-area: product !important;

  display: grid !important;

  grid-template-columns:
    58px
    minmax(0, 1fr) !important;

  align-items: center !important;

  gap: 10px !important;

  width: 100% !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  box-sizing: border-box !important;
}


html body#lfBodyV414
#app
#view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-icon-v348 {
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;

  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
}


/* ============================================================
   ROW 2 — TOTAL
   ============================================================ */

html body#lfBodyV414
#app
#view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-price-v355 {
  grid-area: total !important;

  display: flex !important;

  flex-direction: row !important;

  align-items: center !important;
  justify-content: space-between !important;

  gap: 12px !important;

  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;

  margin: 0 !important;

  padding: 8px 0 !important;

  box-sizing: border-box !important;

  border: 0 !important;

  border-top: 1px solid #d4d4d4 !important;
  border-bottom: 1px solid #d4d4d4 !important;

  background: transparent !important;

  overflow: visible !important;
}


html body#lfBodyV414
#app
#view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-price-label-v355 {
  margin: 0 !important;
  padding: 0 !important;

  text-align: left !important;
}


html body#lfBodyV414
#app
#view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-total-v348 {
  margin: 0 !important;
  padding: 0 !important;

  text-align: right !important;

  font-size: 14px !important;
}


/* ============================================================
   ROW 3 — QUANTITY LEFT / ACTIONS RIGHT
   ============================================================ */

html body#lfBodyV414
#app
#view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-inline-qty-v227 {
  grid-area: quantity !important;

  justify-self: start !important;
  align-self: center !important;

  margin: 0 !important;
}


html body#lfBodyV414
#app
#view-business
.business-panel-v325.active[data-business-panel="cashier"]
#cashierItemsV325 .business-item-line-actions-v348 {
  grid-area: actions !important;

  justify-self: end !important;
  align-self: center !important;

  display: flex !important;

  align-items: center !important;
  justify-content: flex-end !important;

  gap: 7px !important;

  width: auto !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;
}


/* ============================================================
   PHONE — STACK CONTROLS WHEN SPACE IS TIGHT
   ============================================================ */

@media (max-width: 520px) {

  html body#lfBodyV414
  #app
  #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-v348 {
    grid-template-columns:
      minmax(0, 1fr) !important;

    grid-template-areas:
      "product"
      "total"
      "quantity"
      "actions" !important;

    column-gap: 0 !important;
    row-gap: 9px !important;
  }


  html body#lfBodyV414
  #app
  #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-inline-qty-v227 {
    grid-area: quantity !important;

    justify-self: start !important;
  }


  html body#lfBodyV414
  #app
  #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-actions-v348 {
    grid-area: actions !important;

    justify-self: stretch !important;

    width: 100% !important;
  }


  html body#lfBodyV414
  #app
  #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325
  .business-item-line-actions-v348
  .btn {
    flex: 1 1 0 !important;

    min-width: 0 !important;
  }

}


/* ============================================================
   VERY SMALL PHONE
   ============================================================ */

@media (max-width: 390px) {

  html body#lfBodyV414
  #app
  #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-main-v348 {
    grid-template-columns:
      52px
      minmax(0, 1fr) !important;

    gap: 9px !important;
  }


  html body#lfBodyV414
  #app
  #view-business
  .business-panel-v325.active[data-business-panel="cashier"]
  #cashierItemsV325 .business-item-line-icon-v348 {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;

    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
  }

}


/* ============================================================
   V325.557 — CENTER CASHIER DATE / SOURCE / PROMOTION VALUES
   ============================================================ */

/* Date text */
html body #app #view-business #cashierDateV325__dmy {
  text-align: center !important;
  text-align-last: center !important;
}

/* Order source */
html body #app #view-business #cashierOrderSourceV228 {
  text-align: center !important;
  text-align-last: center !important;
}

/* Promotion code */
html body #app #view-business #cashierPromoCodeV419 {
  text-align: center !important;
  text-align-last: center !important;
}

/* Center option text where supported */
html body #app #view-business #cashierOrderSourceV228 option,
html body #app #view-business #cashierPromoCodeV419 option {
  text-align: center !important;
}


/* ============================================================
   V325.558 — MATCH CASHIER DATE FONT WITH ADJACENT FIELDS
   ============================================================
   Makes the visible Date value use the same readable size as
   Order source and Promotion code while keeping it centered.
   ============================================================ */

html body #app #view-business #cashierDateV325__dmy {
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: normal !important;

  text-align: center !important;
  text-align-last: center !important;

  letter-spacing: 0 !important;
  font-variant-numeric: tabular-nums !important;
}


/* ============================================================
   V325.560 — RECEIPT-ONLY PRINT HARD FIX
   ============================================================ */

html body #businessReceiptPrintV560 {
  display: none !important;
}

@media print {

  @page {
    margin: 0;
  }

  html,
  html body.lf-receipt-printing-v560 {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;

    background: #ffffff !important;

    transform: none !important;
    filter: none !important;
  }

  /*
    Critical rule:
    hide every normal application element.
  */
  html body.lf-receipt-printing-v560 > * {
    display: none !important;
  }

  /*
    The generated receipt is appended as a direct BODY child.
  */
  html body.lf-receipt-printing-v560 >
  #businessReceiptPrintV560 {
    display: block !important;

    position: static !important;

    width: 80mm !important;
    min-width: 80mm !important;
    max-width: 80mm !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 auto !important;
    padding: 0 !important;

    overflow: visible !important;

    visibility: visible !important;

    color: #000000 !important;
    background: #ffffff !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.38 !important;

    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560 * {
    box-sizing: border-box !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-sheet-v493 {
    display: block !important;

    width: 76mm !important;
    min-width: 0 !important;
    max-width: 76mm !important;

    margin: 0 auto !important;
    padding: 4mm 3mm 5mm !important;

    color: #000000 !important;
    background: #ffffff !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-title-v493 {
    margin: 0 0 6px !important;

    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;

    text-align: center !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-address-v493 {
    margin: 5px 0 8px !important;

    font-size: 10px !important;
    line-height: 1.35 !important;

    text-align: center !important;

    white-space: pre-line !important;
    overflow-wrap: anywhere !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-meta-v493 {
    margin: 7px 0 !important;

    font-size: 10px !important;
    line-height: 1.45 !important;

    white-space: pre-line !important;
    overflow-wrap: anywhere !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-queue-v493 {
    margin: 8px 0 !important;

    font-size: 17px !important;
    font-weight: 700 !important;

    text-align: center !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-reprint-v493 {
    margin: 6px 0 !important;

    font-size: 9px !important;
    font-weight: 700 !important;

    text-align: center !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560 hr {
    margin: 7px 0 !important;

    border: 0 !important;
    border-top: 1px dashed #555555 !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-table-v325 {
    width: 100% !important;

    margin: 8px 0 !important;

    border-collapse: collapse !important;

    table-layout: fixed !important;

    font-size: 10px !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-table-v325 th,

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-table-v325 td {
    padding: 4px 2px !important;

    vertical-align: top !important;

    border-bottom: 1px dotted #aaaaaa !important;

    text-align: left !important;

    overflow-wrap: anywhere !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-table-v325 th:nth-child(2),

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-table-v325 td:nth-child(2) {
    width: 13% !important;

    text-align: center !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-table-v325 th:last-child,

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-table-v325 td:last-child {
    width: 31% !important;

    text-align: right !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-table-v325 tr {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-table-v325 small {
    font-size: 9px !important;
    line-height: 1.3 !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-totals-v493 {
    padding-top: 6px !important;

    border-top: 1px solid #444444 !important;

    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-total-v325 {
    display: flex !important;

    align-items: baseline !important;
    justify-content: space-between !important;

    gap: 10px !important;

    margin: 4px 0 !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-total-v325 > strong {
    white-space: nowrap !important;

    text-align: right !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-grand-v325 {
    margin-top: 6px !important;
    padding-top: 6px !important;

    border-top: 1px dashed #555555 !important;

    font-size: 15px !important;
    font-weight: 700 !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-change-v554 {
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  html body.lf-receipt-printing-v560
  #businessReceiptPrintV560
  .receipt-print-footer-v493 {
    margin: 12px 0 0 !important;

    font-size: 10px !important;

    text-align: center !important;

    white-space: pre-line !important;
  }
}


/* ============================================================
   V325.561 — RECEIPT PRINT PREVIEW HARD FIX
   ============================================================
   Important:
   - Receipt root remains mounted for the whole print preview.
   - App UI is hidden whenever the V561 receipt root exists.
   - Does not rely only on afterprint timing.
   ============================================================ */

html body #businessReceiptPrintV561 {
  display: none !important;
}

@media print {

  @page {
    margin: 0;
  }

  html,
  html body {
    background: #ffffff !important;
  }

  /*
    Primary state selector.
  */
  html body[data-lf-receipt-printing-v561="1"] > *:not(#businessReceiptPrintV561) {
    display: none !important;
  }

  /*
    Chromium/Edge safety selector:
    even if body state changes unexpectedly, the presence of the
    receipt root itself keeps all application UI out of print.
  */
  html body:has(> #businessReceiptPrintV561) > *:not(#businessReceiptPrintV561) {
    display: none !important;
  }

  html body[data-lf-receipt-printing-v561="1"],
  html body:has(> #businessReceiptPrintV561) {
    display: block !important;

    position: static !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;

    background: #ffffff !important;

    transform: none !important;
    filter: none !important;
  }

  html body[data-lf-receipt-printing-v561="1"] > #businessReceiptPrintV561,
  html body:has(> #businessReceiptPrintV561) > #businessReceiptPrintV561 {
    display: block !important;

    position: static !important;

    width: 80mm !important;
    min-width: 80mm !important;
    max-width: 80mm !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 auto !important;
    padding: 0 !important;

    overflow: visible !important;

    visibility: visible !important;

    color: #000000 !important;
    background: #ffffff !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.38 !important;

    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  html body #businessReceiptPrintV561 * {
    box-sizing: border-box !important;
  }

  html body #businessReceiptPrintV561 .receipt-print-sheet-v493 {
    display: block !important;

    width: 76mm !important;
    min-width: 0 !important;
    max-width: 76mm !important;

    margin: 0 auto !important;
    padding: 4mm 3mm 5mm !important;

    color: #000000 !important;
    background: #ffffff !important;
  }

  html body #businessReceiptPrintV561 .receipt-print-title-v493 {
    margin: 0 0 6px !important;

    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;

    text-align: center !important;
  }

  html body #businessReceiptPrintV561 .receipt-print-address-v493 {
    margin: 5px 0 8px !important;

    font-size: 10px !important;
    line-height: 1.35 !important;

    text-align: center !important;

    white-space: pre-line !important;
    overflow-wrap: anywhere !important;
  }

  html body #businessReceiptPrintV561 .receipt-print-meta-v493 {
    margin: 7px 0 !important;

    font-size: 10px !important;
    line-height: 1.45 !important;

    white-space: pre-line !important;
    overflow-wrap: anywhere !important;
  }

  html body #businessReceiptPrintV561 .receipt-print-queue-v493 {
    margin: 8px 0 !important;

    font-size: 17px !important;
    font-weight: 700 !important;

    text-align: center !important;
  }

  html body #businessReceiptPrintV561 .receipt-print-reprint-v493 {
    margin: 6px 0 !important;

    font-size: 9px !important;
    font-weight: 700 !important;

    text-align: center !important;
  }

  html body #businessReceiptPrintV561 hr {
    margin: 7px 0 !important;

    border: 0 !important;
    border-top: 1px dashed #555555 !important;
  }

  html body #businessReceiptPrintV561 .receipt-print-table-v325 {
    width: 100% !important;

    margin: 8px 0 !important;

    border-collapse: collapse !important;
    table-layout: fixed !important;

    font-size: 10px !important;
  }

  html body #businessReceiptPrintV561 .receipt-print-table-v325 th,
  html body #businessReceiptPrintV561 .receipt-print-table-v325 td {
    padding: 4px 2px !important;

    vertical-align: top !important;

    border-bottom: 1px dotted #aaaaaa !important;

    text-align: left !important;

    overflow-wrap: anywhere !important;
  }

  html body #businessReceiptPrintV561 .receipt-print-table-v325 th:nth-child(2),
  html body #businessReceiptPrintV561 .receipt-print-table-v325 td:nth-child(2) {
    width: 13% !important;

    text-align: center !important;
  }

  html body #businessReceiptPrintV561 .receipt-print-table-v325 th:last-child,
  html body #businessReceiptPrintV561 .receipt-print-table-v325 td:last-child {
    width: 31% !important;

    text-align: right !important;
  }

  html body #businessReceiptPrintV561 .receipt-print-table-v325 tr {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  html body #businessReceiptPrintV561 .receipt-print-table-v325 small {
    font-size: 9px !important;
    line-height: 1.3 !important;
  }

  html body #businessReceiptPrintV561 .receipt-print-totals-v493 {
    padding-top: 6px !important;

    border-top: 1px solid #444444 !important;

    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  html body #businessReceiptPrintV561 .receipt-print-total-v325 {
    display: flex !important;

    align-items: baseline !important;
    justify-content: space-between !important;

    gap: 10px !important;

    margin: 4px 0 !important;
  }

  html body #businessReceiptPrintV561 .receipt-print-total-v325 > strong {
    white-space: nowrap !important;

    text-align: right !important;
  }

  html body #businessReceiptPrintV561 .receipt-print-grand-v325 {
    margin-top: 6px !important;
    padding-top: 6px !important;

    border-top: 1px dashed #555555 !important;

    font-size: 15px !important;
    font-weight: 700 !important;
  }

  html body #businessReceiptPrintV561 .receipt-print-change-v554 {
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  html body #businessReceiptPrintV561 .receipt-print-footer-v493 {
    margin: 12px 0 0 !important;

    font-size: 10px !important;

    text-align: center !important;

    white-space: pre-line !important;
  }
}


/* ============================================================
   V325.562 — HARD RECEIPT DOM ISOLATION
   During receipt printing BODY contains ONLY #businessReceiptPrintV562.
   ============================================================ */

html body.lf-receipt-printing-v562 {
  margin: 0 !important;
  padding: 0 !important;

  background: #ffffff !important;
  color: #000000 !important;

  overflow: visible !important;

  font-family: Arial, Helvetica, sans-serif !important;
}

html body.lf-receipt-printing-v562 > #businessReceiptPrintV562 {
  display: block !important;

  width: 80mm !important;
  min-width: 80mm !important;
  max-width: 80mm !important;

  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;

  margin: 0 auto !important;
  padding: 0 !important;

  background: #ffffff !important;
  color: #000000 !important;

  overflow: visible !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562 * {
  box-sizing: border-box !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-sheet-v493 {
  width: 76mm !important;
  max-width: 76mm !important;

  margin: 0 auto !important;
  padding: 4mm 3mm 5mm !important;

  background: #ffffff !important;
  color: #000000 !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-title-v493 {
  margin: 0 0 6px !important;

  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;

  text-align: center !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-address-v493 {
  margin: 5px 0 8px !important;

  font-size: 10px !important;
  line-height: 1.35 !important;

  text-align: center !important;

  white-space: pre-line !important;
  overflow-wrap: anywhere !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-meta-v493 {
  margin: 7px 0 !important;

  font-size: 10px !important;
  line-height: 1.45 !important;

  white-space: pre-line !important;
  overflow-wrap: anywhere !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-queue-v493 {
  margin: 8px 0 !important;

  font-size: 17px !important;
  font-weight: 700 !important;

  text-align: center !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-reprint-v493 {
  margin: 6px 0 !important;

  font-size: 9px !important;
  font-weight: 700 !important;

  text-align: center !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562 hr {
  margin: 7px 0 !important;

  border: 0 !important;
  border-top: 1px dashed #555555 !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-table-v325 {
  width: 100% !important;

  margin: 8px 0 !important;

  border-collapse: collapse !important;
  table-layout: fixed !important;

  font-size: 10px !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-table-v325 th,

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-table-v325 td {
  padding: 4px 2px !important;

  vertical-align: top !important;

  border-bottom: 1px dotted #aaaaaa !important;

  text-align: left !important;

  overflow-wrap: anywhere !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-table-v325 th:nth-child(2),

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-table-v325 td:nth-child(2) {
  width: 13% !important;

  text-align: center !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-table-v325 th:last-child,

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-table-v325 td:last-child {
  width: 31% !important;

  text-align: right !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-table-v325 tr {
  break-inside: avoid !important;
  page-break-inside: avoid !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-table-v325 small {
  font-size: 9px !important;
  line-height: 1.3 !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-totals-v493 {
  padding-top: 6px !important;

  border-top: 1px solid #444444 !important;

  break-inside: avoid !important;
  page-break-inside: avoid !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-total-v325 {
  display: flex !important;

  align-items: baseline !important;
  justify-content: space-between !important;

  gap: 10px !important;

  margin: 4px 0 !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-total-v325 > strong {
  white-space: nowrap !important;

  text-align: right !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-grand-v325 {
  margin-top: 6px !important;
  padding-top: 6px !important;

  border-top: 1px dashed #555555 !important;

  font-size: 15px !important;
  font-weight: 700 !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-change-v554 {
  font-size: 13px !important;
  font-weight: 700 !important;
}

html body.lf-receipt-printing-v562
#businessReceiptPrintV562
.receipt-print-footer-v493 {
  margin: 12px 0 0 !important;

  font-size: 10px !important;

  text-align: center !important;

  white-space: pre-line !important;
}

@media print {

  @page {
    margin: 0;
  }

  html,
  html body.lf-receipt-printing-v562 {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;

    background: #ffffff !important;

    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  html body.lf-receipt-printing-v562 > #businessReceiptPrintV562 {
    display: block !important;

    position: static !important;

    width: 80mm !important;
    min-width: 80mm !important;
    max-width: 80mm !important;

    height: auto !important;

    margin: 0 auto !important;
    padding: 0 !important;

    overflow: visible !important;
  }
}


/* Keep the Promotions landing page list-only, even before the JS controller initializes. */
html body #app [data-business-panel="promotions"]:not([data-v446-promotion-mode])
.business-promotion-form-card-v419 {
  display: none !important;
}

/* Promotions list page */
html body #app [data-business-panel="promotions"][data-v446-promotion-mode="list"]
.business-promotion-form-card-v419 {
  display: none !important;
}

html body #app [data-business-panel="promotions"][data-v446-promotion-mode="list"]
.business-promotion-list-card-v419 {
  display: block !important;
}

/* Add / Edit promotion page */
html body #app [data-business-panel="promotions"][data-v446-promotion-mode="form"]
.business-promotion-list-card-v419 {
  display: none !important;
}

html body #app [data-business-panel="promotions"][data-v446-promotion-mode="form"]
.business-promotion-form-card-v419 {
  display: block !important;
}

/* Each subpage uses the full Promotions content width. */
html body #app [data-business-panel="promotions"]
.business-promotion-layout-v419 {
  display: block !important;
  width: 100% !important;
}

/* Keep the list full width, but make Add/Edit easier to scan on wide screens. */
html body #app [data-business-panel="promotions"]
.business-promotion-list-card-v419 {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-form-card-v419 {
  width: min(100%, 1180px) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
}

/* Make the return action read visually like navigation. */
html body #app [data-business-panel="promotions"][data-v446-promotion-mode="form"]
#businessPromotionNewV419::before {
  content: "←";
  margin-right: 6px;
  font-weight: 700;
}


/* Reserve a predictable compact width for the final Actions column. */
html body #app #businessProductsTableV325 th:last-child,
html body #app #businessProductsTableV325 td:last-child {
  width: 124px !important;
  min-width: 124px !important;
  max-width: 124px !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  text-align: center !important;
  white-space: nowrap !important;
}

/* Keep the control visually balanced inside that column. */
html body #app #businessProductsTableV325 .business-product-actions-v353 {
  width: 100% !important;
  min-width: 0 !important;
  justify-content: center !important;
}

html body #app #businessProductsTableV325 .business-product-actions-menu-v534 {
  width: 100px !important;
  max-width: 100px !important;
  margin: 0 auto !important;
}

html body #app #businessProductsTableV325 .business-product-actions-trigger-v534 {
  width: 100px !important;
  min-width: 100px !important;
  max-width: 100px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 10px !important;
  gap: 6px !important;
  border-radius: 8px !important;
  font-size: 11.5px !important;
}

html body #app #businessProductsTableV325 .business-product-actions-trigger-v534 > svg {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  max-width: 15px !important;
  flex-basis: 15px !important;
}

html body #app #businessProductsTableV325 .business-product-actions-chevron-v534 {
  margin-left: auto !important;
  font-size: 12px !important;
}

/* The expanded action menu stays aligned to the same standard column. */
html body #app #businessProductsTableV325 .business-product-actions-menu-list-v534 {
  width: 124px !important;
  min-width: 124px !important;
  max-width: 124px !important;
  margin-left: -12px !important;
  margin-right: -12px !important;
}

@media (max-width: 760px) {
  html body #app #businessProductsTableV325 th:last-child,
  html body #app #businessProductsTableV325 td:last-child {
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  html body #app #businessProductsTableV325 .business-product-actions-menu-v534,
  html body #app #businessProductsTableV325 .business-product-actions-trigger-v534 {
    width: 94px !important;
    min-width: 94px !important;
    max-width: 94px !important;
  }
}


/* Narrow, conventional table action column. */
html body #app #businessProductsTableV325 th:last-child,
html body #app #businessProductsTableV325 td:last-child {
  width: 74px !important;
  min-width: 74px !important;
  max-width: 74px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
  text-align: center !important;
  white-space: nowrap !important;
}

html body #app #businessProductsTableV325 .business-product-actions-v353 {
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

html body #app #businessProductsTableV325 .business-product-actions-menu-v534 {
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  margin: 0 auto !important;
}

/* Turn the existing Edit dropdown into a familiar overflow-menu button. */
html body #app #businessProductsTableV325 .business-product-actions-trigger-v534 {
  position: relative !important;
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  gap: 0 !important;
  border-radius: 8px !important;
  font-size: 0 !important;
}

/* Hide the pencil, Edit label, and old chevron; show vertical overflow dots. */
html body #app #businessProductsTableV325 .business-product-actions-trigger-v534 > svg,
html body #app #businessProductsTableV325 .business-product-actions-trigger-v534 > span {
  display: none !important;
}
html body #app #businessProductsTableV325 .business-product-actions-trigger-v534::after {
  content: "⋮" !important;
  display: block !important;
  color: #404040 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  transform: translateY(-1px);
}

/* When expanded, allow the menu to be comfortably readable while the column stays narrow. */
html body #app #businessProductsTableV325 .business-product-actions-menu-v534[open] {
  width: 38px !important;
  max-width: 38px !important;
}
html body #app #businessProductsTableV325 .business-product-actions-menu-list-v534 {
  width: 148px !important;
  min-width: 148px !important;
  max-width: 148px !important;
  margin-left: -102px !important;
  margin-right: 0 !important;
}

@media (max-width: 760px) {
  html body #app #businessProductsTableV325 th:last-child,
  html body #app #businessProductsTableV325 td:last-child {
    width: 66px !important;
    min-width: 66px !important;
    max-width: 66px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}


/* Center the Add/Edit card and make it clearly shorter on wide screens. */
html body #app [data-business-panel="promotions"]
.business-promotion-form-card-v419 {
  width: min(100%, 840px) !important;
  max-width: 840px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 18px 28px 16px !important;
  box-sizing: border-box !important;
}

/* Keep the title area neat and close to the form. */
html body #app [data-business-panel="promotions"]
.business-promotion-form-card-v419 > .business-card-title-v325 {
  margin-bottom: 14px !important;
}

/* Two balanced compact columns. */
html body #app [data-business-panel="promotions"]
#businessPromotionFormV419 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  column-gap: 34px !important;
  row-gap: 13px !important;
  align-items: start !important;
}

html body #app [data-business-panel="promotions"]
#businessPromotionFormV419 > .field {
  min-width: 0 !important;
  margin: 0 !important;
}

/* Footer occupies both columns. */
html body #app [data-business-panel="promotions"]
#businessPromotionFormV419 > .field.wide {
  grid-column: 1 / -1 !important;
}

/* Keep all regular controls within the compact column width. */
html body #app [data-business-panel="promotions"]
#businessPromotionFormV419 input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
html body #app [data-business-panel="promotions"]
#businessPromotionFormV419 select,
html body #app [data-business-panel="promotions"]
#businessPromotionFormV419 textarea {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Consistent label spacing. */
html body #app [data-business-panel="promotions"]
#businessPromotionFormV419 .field > label {
  display: block !important;
  margin-bottom: 6px !important;
}

/* Discount selector stays on one tidy line. */
html body #app [data-business-panel="promotions"]
.business-promotion-discount-type-v447 {
  display: flex !important;
  align-items: center !important;
  gap: 13px !important;
  margin-bottom: 7px !important;
}

/* Discount and minimum-spend controls fill only their compact column. */
html body #app [data-business-panel="promotions"]
.business-promotion-discount-value-v447 {
  width: 100% !important;
  max-width: 100% !important;
}

/* Tidy helper text underneath controls. */
html body #app [data-business-panel="promotions"]
#businessPromotionFormV419 small {
  display: block !important;
  margin-top: 5px !important;
  line-height: 1.3 !important;
}

/* Active line and actions sit neatly below the two columns. */
html body #app [data-business-panel="promotions"]
.business-promotion-footer-v259 {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-top: 0 !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-active-compact-v259 {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  margin: 0 !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-active-compact-v259 label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-active-compact-v259 small {
  margin: 0 !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-actions-v259 {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
}

html body #app [data-business-panel="promotions"]
#businessPromotionResetV419 {
  min-width: 68px !important;
}

html body #app [data-business-panel="promotions"]
#businessPromotionSaveV419 {
  min-width: 150px !important;
}

/* Medium screens retain two columns while using the available space. */
@media (max-width: 900px) {
  html body #app [data-business-panel="promotions"]
  .business-promotion-form-card-v419 {
    width: calc(100% - 24px) !important;
    max-width: 760px !important;
    padding: 18px 20px 16px !important;
  }

  html body #app [data-business-panel="promotions"]
  #businessPromotionFormV419 {
    column-gap: 20px !important;
  }
}

/* Phones and narrow tablets stack cleanly into one column. */
@media (max-width: 700px) {
  html body #app [data-business-panel="promotions"]
  .business-promotion-form-card-v419 {
    width: 100% !important;
    max-width: none !important;
    padding: 16px !important;
  }

  html body #app [data-business-panel="promotions"]
  #businessPromotionFormV419 {
    grid-template-columns: 1fr !important;
    gap: 13px !important;
  }

  html body #app [data-business-panel="promotions"]
  #businessPromotionFormV419 > .field.wide {
    grid-column: 1 !important;
  }

  html body #app [data-business-panel="promotions"]
  #businessPromotionSaveV419 {
    min-width: 130px !important;
  }
}


/* The two function columns look like separate, related setting groups. */
html body #app [data-business-panel="promotions"]
#businessPromotionFormV419 > .business-promotion-setting-card-v576 {
  display: grid !important;
  grid-template-rows: auto auto auto !important;
  gap: 12px !important;
  min-width: 0 !important;
  padding: 14px !important;
  border: 1px solid #d4d4d4 !important;
  border-radius: 10px !important;
  background: #fbfbfb !important;
  box-sizing: border-box !important;
  align-self: stretch !important;
}

/* Clear title + short explanation at the top of each function column. */
html body #app [data-business-panel="promotions"]
.business-promotion-setting-heading-v576 {
  min-height: 48px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #d4d4d4 !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-setting-heading-v576 > strong {
  display: block !important;
  margin: 0 0 3px !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  color: #404040 !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-setting-heading-v576 > small {
  display: block !important;
  margin: 0 !important;
  min-height: 28px !important;
  line-height: 1.35 !important;
  color: #404040 !important;
}

/* Every function column uses the same sub-row pattern: label then control. */
html body #app [data-business-panel="promotions"]
.business-promotion-setting-row-v576 {
  display: grid !important;
  grid-template-rows: 18px 42px !important;
  gap: 5px !important;
  min-width: 0 !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-setting-label-v576 {
  display: block !important;
  margin: 0 !important;
  font-size: 11px !important;
  line-height: 18px !important;
  font-weight: 700 !important;
  color: #404040 !important;
}

/* Discount type becomes two easy-to-understand choices. */
html body #app [data-business-panel="promotions"]
.business-promotion-discount-type-v447 {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  width: 100% !important;
  height: 42px !important;
  margin: 0 !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-discount-type-v447 > label {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  min-width: 0 !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 1px solid #d4d4d4 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-discount-type-v447 > label > input {
  width: auto !important;
  min-width: auto !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-discount-type-v447 > label > span {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

/* Matching informational control on the Minimum-spend side. */
html body #app [data-business-panel="promotions"]
.business-promotion-static-value-v576 {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 42px !important;
  padding: 0 12px !important;
  border: 1px solid #d4d4d4 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #404040 !important;
}

/* Amount/value controls use an inline suffix so %, MYR or THB clearly
   belongs to that exact input instead of looking like a separate row. */
html body #app [data-business-panel="promotions"]
.business-promotion-setting-card-v576 .business-promotion-discount-value-v447 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 56px !important;
  gap: 8px !important;
  width: 100% !important;
  height: 42px !important;
  margin: 0 !important;
  align-items: stretch !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-setting-card-v576 .business-promotion-discount-value-v447 > input {
  min-width: 0 !important;
  width: 100% !important;
  height: 42px !important;
  margin: 0 !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-setting-card-v576 .business-promotion-discount-value-v447 > span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 6px !important;
  border: 1px solid #d4d4d4 !important;
  border-radius: 8px !important;
  background: #f4f4f4 !important;
  box-sizing: border-box !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #404040 !important;
}

/* Keep the next date pair visually aligned after the setting groups. */
html body #app [data-business-panel="promotions"]
#businessPromotionFormV419 > .field:has(#businessPromotionStartsV419),
html body #app [data-business-panel="promotions"]
#businessPromotionFormV419 > .field:has(#businessPromotionEndsV419) {
  align-self: start !important;
}

/* On narrow screens, stack the two function groups and keep each one clear. */
@media (max-width: 700px) {
  html body #app [data-business-panel="promotions"]
  #businessPromotionFormV419 > .business-promotion-setting-card-v576 {
    padding: 12px !important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-setting-heading-v576 {
    min-height: 0 !important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-setting-heading-v576 > small {
    min-height: 0 !important;
  }
}

@media (max-width: 420px) {
  html body #app [data-business-panel="promotions"]
  .business-promotion-discount-type-v447 {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-setting-row-v576:first-of-type {
    grid-template-rows: 18px auto !important;
  }
}


/* List card */
html body #app [data-business-panel="promotions"]
.business-promotion-list-card-v419 {
  padding: 18px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-list-card-v419 > .business-card-title-v325 {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-bottom: 14px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid #d4d4d4 !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-list-card-v419 > .business-card-title-v325 strong {
  display: block !important;
  margin-bottom: 3px !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  color: #404040 !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-list-card-v419 > .business-card-title-v325 .muted {
  font-size: 11px !important;
  line-height: 1.35 !important;
}

/* Container */
html body #app [data-business-panel="promotions"]
.business-promotions-list-v419 {
  display: grid !important;
  gap: 10px !important;
  width: 100% !important;
}

/* One promotion = one tidy campaign row */
html body #app [data-business-panel="promotions"]
.business-promotion-row-v419 {
  display: grid !important;
  grid-template-columns: minmax(180px, 1.15fr) minmax(420px, 2.5fr) 92px 176px !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid #d4d4d4 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  box-shadow: 0 1px 2px rgba(82,82,82,.04) !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-row-v419:hover {
  border-color: #d4d4d4 !important;
  background: #fdfdfd !important;
}

/* Code + campaign name */
html body #app [data-business-panel="promotions"]
.business-promotion-main-v419 {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 5px !important;
  min-width: 0 !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-main-v419::before {
  content: "PROMO CODE";
  display: block !important;
  font-size: 9px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  color: #404040 !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-main-v419 > strong {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  padding: 5px 8px !important;
  border: 1px solid #d4d4d4 !important;
  border-radius: 7px !important;
  background: #f5f5f5 !important;
  color: #404040 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-main-v419 > span {
  display: block !important;
  max-width: 100% !important;
  color: #404040 !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Campaign details: Discount / Period / Conditions */
html body #app [data-business-panel="promotions"]
.business-promotion-meta-v419 {
  display: grid !important;
  grid-template-columns: minmax(105px, .75fr) minmax(160px, 1.15fr) minmax(190px, 1.35fr) !important;
  gap: 8px !important;
  min-width: 0 !important;
  align-items: stretch !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-meta-v419 > strong,
html body #app [data-business-panel="promotions"]
.business-promotion-meta-v419 > small {
  position: relative !important;
  display: flex !important;
  align-items: flex-end !important;
  min-width: 0 !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 20px 10px 8px !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px !important;
  background: #fbfbfb !important;
  box-sizing: border-box !important;
  color: #404040 !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  overflow: hidden !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-meta-v419 > strong {
  color: #404040 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-meta-v419 > strong::before,
html body #app [data-business-panel="promotions"]
.business-promotion-meta-v419 > small::before {
  position: absolute !important;
  top: 7px !important;
  left: 10px !important;
  display: block !important;
  color: #404040 !important;
  font-size: 8.5px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-meta-v419 > strong::before {
  content: "DISCOUNT";
}

html body #app [data-business-panel="promotions"]
.business-promotion-meta-v419 > small:not(.business-promotion-rule-v447)::before {
  content: "CAMPAIGN PERIOD";
}

html body #app [data-business-panel="promotions"]
.business-promotion-meta-v419 > .business-promotion-rule-v447::before {
  content: "CONDITIONS";
}

/* Status */
html body #app [data-business-panel="promotions"]
.business-promotion-row-v419 > .business-status-pill-v325 {
  justify-self: center !important;
  min-width: 68px !important;
  text-align: center !important;
  white-space: nowrap !important;
}

/* Actions */
html body #app [data-business-panel="promotions"]
.business-promotion-actions-v419 {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 7px !important;
  width: 176px !important;
  min-width: 176px !important;
  justify-self: end !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-actions-v419 > .btn {
  width: 100% !important;
  min-width: 0 !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 9px !important;
  border-radius: 8px !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

/* Deactivate = restrained warning action; Activate = positive action. */
html body #app [data-business-panel="promotions"]
.business-promotion-actions-v419 > button[data-business-promotion-next-active="0"] {
  border-color: #e2c8c8 !important;
  background: #fffafa !important;
  color: #8a3f3f !important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-actions-v419 > button[data-business-promotion-next-active="1"] {
  border-color: #bddccf !important;
  background: #f5fbf8 !important;
  color: #24664d !important;
}

/* Empty state */
html body #app [data-business-panel="promotions"]
.business-promotions-list-v419 > .muted:only-child {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 110px !important;
  padding: 20px !important;
  border: 1px dashed #d4d4d4 !important;
  border-radius: 10px !important;
  background: #fbfbfb !important;
  text-align: center !important;
}

/* Medium desktop / tablet: move status and actions below details. */
@media (max-width: 1180px) {
  html body #app [data-business-panel="promotions"]
  .business-promotion-row-v419 {
    grid-template-columns: minmax(170px, .9fr) minmax(0, 2.1fr) auto !important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-actions-v419 {
    grid-column: 2 / 4 !important;
    width: 176px !important;
    justify-self: end !important;
  }
}

/* Narrow tablet: stack the information groups without losing labels. */
@media (max-width: 820px) {
  html body #app [data-business-panel="promotions"]
  .business-promotion-row-v419 {
    grid-template-columns: 1fr auto !important;
    gap: 12px !important;
    padding: 14px !important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-main-v419 {
    grid-column: 1 !important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-row-v419 > .business-status-pill-v325 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-meta-v419 {
    grid-column: 1 / -1 !important;
    grid-template-columns: 1fr 1fr 1fr !important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-actions-v419 {
    grid-column: 1 / -1 !important;
    width: 176px !important;
    justify-self: start !important;
  }
}

/* Phone */
@media (max-width: 560px) {
  html body #app [data-business-panel="promotions"]
  .business-promotion-list-card-v419 {
    padding: 12px !important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-row-v419 {
    grid-template-columns: 1fr auto !important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-meta-v419 {
    grid-template-columns: 1fr !important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-meta-v419 > strong,
  html body #app [data-business-panel="promotions"]
  .business-promotion-meta-v419 > small {
    min-height: 50px !important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-actions-v419 {
    width: 100% !important;
    min-width: 0 !important;
  }
}


/* ==========================================================================
   V325.578 — Team Payroll: compact, tidy, shorter columns
   ========================================================================== */

/* Keep the Team Payroll working area comfortably narrow on large screens. */
html body #app [data-business-panel="payroll"] .business-payroll-tabs-v425,
html body #app [data-business-panel="payroll"] .business-payroll-page-v425,
html body #app [data-business-panel="payroll"] .business-team-kpi-grid-v260 {
  width: min(100%, 1120px) !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Step navigation: four clear, evenly-sized cards instead of long joined text. */
html body #app [data-business-panel="payroll"] .business-payroll-tabs-v425 {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  padding: 8px !important;
  margin-top: 14px !important;
  margin-bottom: 14px !important;
  border: 1px solid var(--line, #d4d4d4) !important;
  border-radius: 12px !important;
  background: #fafafa !important;
}

html body #app [data-business-panel="payroll"] .business-payroll-tab-v425 {
  min-width: 0 !important;
  min-height: 62px !important;
  padding: 10px 12px !important;
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 9px !important;
  text-align: left !important;
  border-radius: 9px !important;
  white-space: normal !important;
}

html body #app [data-business-panel="payroll"] .business-payroll-tab-number-v425 {
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 28px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

html body #app [data-business-panel="payroll"] .business-payroll-tab-copy-v425 {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
  line-height: 1.2 !important;
}

html body #app [data-business-panel="payroll"] .business-payroll-tab-copy-v425 strong {
  display: block !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
}

html body #app [data-business-panel="payroll"] .business-payroll-tab-copy-v425 small {
  display: block !important;
  margin: 0 !important;
  font-size: 10.5px !important;
  line-height: 1.25 !important;
  opacity: .78 !important;
}

/* Consistent spacing between entry and records cards. */
html body #app [data-business-panel="payroll"] .business-payroll-page-v425 > .business-payroll-card-v425 {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 18px 20px !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
}

html body #app [data-business-panel="payroll"] .business-payroll-page-v425 > .business-payroll-card-v425 + .business-payroll-card-v425 {
  margin-top: 12px !important;
}

html body #app [data-business-panel="payroll"] .business-card-title-v325 {
  margin-bottom: 12px !important;
}

/* Shorter, standard three-column entry forms. */
html body #app [data-business-panel="payroll"] .business-payroll-form-v425 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  column-gap: 16px !important;
  row-gap: 12px !important;
  align-items: start !important;
}

html body #app [data-business-panel="payroll"] .business-payroll-form-v425 > .field {
  min-width: 0 !important;
  margin: 0 !important;
}

html body #app [data-business-panel="payroll"] .business-payroll-form-v425 > .field.wide {
  grid-column: 1 / -1 !important;
}

html body #app [data-business-panel="payroll"] .business-payroll-form-v425 .field > label {
  display: block !important;
  margin-bottom: 5px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

html body #app [data-business-panel="payroll"] .business-payroll-form-v425 :is(input:not([type="hidden"]), select, textarea) {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

html body #app [data-business-panel="payroll"] .business-payroll-form-v425 :is(input:not([type="hidden"]), select) {
  min-height: 40px !important;
  height: 40px !important;
}

html body #app [data-business-panel="payroll"] .business-payroll-form-v425 textarea {
  min-height: 74px !important;
  resize: vertical !important;
}

/* Submit actions should look like normal actions, not a full-width banner. */
html body #app [data-business-panel="payroll"] .business-payroll-form-v425 .business-form-action-v344 {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding-top: 2px !important;
}

html body #app [data-business-panel="payroll"] .business-payroll-form-v425 .business-form-action-v344 > button {
  width: 160px !important;
  max-width: 160px !important;
  min-width: 160px !important;
  min-height: 40px !important;
  margin: 0 !important;
}

/* Keep record headings and month filters aligned and compact. */
html body #app [data-business-panel="payroll"] .business-team-record-head-v260 {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

html body #app [data-business-panel="payroll"] .business-team-filter-v260 {
  width: 170px !important;
  max-width: 170px !important;
  flex: 0 0 170px !important;
}

html body #app [data-business-panel="payroll"] .business-team-filter-v260 input {
  width: 100% !important;
  min-height: 36px !important;
  box-sizing: border-box !important;
}

/* Empty tables and record tables stay contained within the same visual width. */
html body #app [data-business-panel="payroll"] .business-payroll-list-card-v425 .table {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Medium screens: two columns are more readable than three squeezed columns. */
@media (max-width: 980px) {
  html body #app [data-business-panel="payroll"] .business-payroll-tabs-v425 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body #app [data-business-panel="payroll"] .business-payroll-form-v425 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body #app [data-business-panel="payroll"] .business-payroll-form-v425 > .field.wide {
    grid-column: 1 / -1 !important;
  }
}

/* Phone: one clean column and full-width action button. */
@media (max-width: 640px) {
  html body #app [data-business-panel="payroll"] .business-payroll-tabs-v425 {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding: 6px !important;
  }

  html body #app [data-business-panel="payroll"] .business-payroll-tab-v425 {
    min-height: 54px !important;
  }

  html body #app [data-business-panel="payroll"] .business-payroll-page-v425 > .business-payroll-card-v425 {
    padding: 14px !important;
  }

  html body #app [data-business-panel="payroll"] .business-payroll-form-v425 {
    grid-template-columns: 1fr !important;
    gap: 11px !important;
  }

  html body #app [data-business-panel="payroll"] .business-payroll-form-v425 > .field.wide {
    grid-column: 1 !important;
  }

  html body #app [data-business-panel="payroll"] .business-payroll-form-v425 .business-form-action-v344 > button {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  html body #app [data-business-panel="payroll"] .business-team-record-head-v260 {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html body #app [data-business-panel="payroll"] .business-team-filter-v260 {
    width: 100% !important;
    max-width: none !important;
    flex: 1 1 auto !important;
  }
}


/* ==========================================================================
   V325.579 — Team Payroll UI fixes
   Fix KPI summary card spacing, readable values, period filter width and
   consistent compact alignment without changing payroll/KPI functionality.
   ========================================================================== */

/* Summary cards: keep each label, value and note on separate readable lines. */
html body #app [data-business-panel="payroll"] #businessKpiSummaryV260,
html body #app [data-business-panel="payroll"] #businessAttendanceSummaryV260 {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  align-items: stretch !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

html body #app [data-business-panel="payroll"] #businessKpiSummaryV260 > *,
html body #app [data-business-panel="payroll"] #businessAttendanceSummaryV260 > * {
  min-width: 0 !important;
  min-height: 72px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--line, #d4d4d4) !important;
  border-radius: 10px !important;
  background: #fbfbfb !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 4px !important;
  overflow: hidden !important;
}

/* Whatever elements the existing JS renders inside a summary card should not
   run together on one line. */
html body #app [data-business-panel="payroll"] #businessKpiSummaryV260 > * > *,
html body #app [data-business-panel="payroll"] #businessAttendanceSummaryV260 > * > * {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

html body #app [data-business-panel="payroll"] #businessKpiSummaryV260 > * strong,
html body #app [data-business-panel="payroll"] #businessAttendanceSummaryV260 > * strong {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--ink, #404040) !important;
}

html body #app [data-business-panel="payroll"] #businessKpiSummaryV260 > * small,
html body #app [data-business-panel="payroll"] #businessAttendanceSummaryV260 > * small,
html body #app [data-business-panel="payroll"] #businessKpiSummaryV260 > * .muted,
html body #app [data-business-panel="payroll"] #businessAttendanceSummaryV260 > * .muted {
  font-size: 10.5px !important;
  color: var(--muted, #404040) !important;
}

/* Give the KPI entry card a little breathing room below the summary row. */
html body #app [data-business-panel="payroll"] #businessKpiSummaryV260 + .business-payroll-card-v425,
html body #app [data-business-panel="payroll"] #businessAttendanceSummaryV260 + .business-payroll-card-v425 {
  margin-top: 0 !important;
}

/* KPI/Attendance record month filters: prevent the native month input from
   collapsing to a tiny calendar-only control. */
html body #app [data-business-panel="payroll"] .business-team-record-head-v260 .business-team-filter-v260 {
  width: 190px !important;
  max-width: 190px !important;
  min-width: 190px !important;
  flex: 0 0 190px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 5px !important;
  margin: 0 !important;
}

html body #app [data-business-panel="payroll"] .business-team-record-head-v260 .business-team-filter-v260 > input,
html body #app [data-business-panel="payroll"] #kpiPeriodFilterV260,
html body #app [data-business-panel="payroll"] #attendancePeriodFilterV260 {
  width: 190px !important;
  max-width: 190px !important;
  min-width: 190px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
  font-size: 12px !important;
}

/* Record card headings align cleanly even when the filter is present. */
html body #app [data-business-panel="payroll"] .business-team-record-head-v260 {
  min-height: 50px !important;
  align-items: center !important;
}

/* Slightly shorter KPI form while keeping its three-column logic. */
html body #app [data-business-panel="payroll"] #businessKpiFormV260,
html body #app [data-business-panel="payroll"] #businessAttendanceFormV260,
html body #app [data-business-panel="payroll"] #businessPayrollFormV260 {
  column-gap: 14px !important;
  row-gap: 11px !important;
}

/* Tablet */
@media (max-width: 980px) {
  html body #app [data-business-panel="payroll"] #businessKpiSummaryV260,
  html body #app [data-business-panel="payroll"] #businessAttendanceSummaryV260 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Phone */
@media (max-width: 640px) {
  html body #app [data-business-panel="payroll"] #businessKpiSummaryV260,
  html body #app [data-business-panel="payroll"] #businessAttendanceSummaryV260 {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  html body #app [data-business-panel="payroll"] .business-team-record-head-v260 .business-team-filter-v260,
  html body #app [data-business-panel="payroll"] .business-team-record-head-v260 .business-team-filter-v260 > input,
  html body #app [data-business-panel="payroll"] #kpiPeriodFilterV260,
  html body #app [data-business-panel="payroll"] #attendancePeriodFilterV260 {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
}



/* Heading action */
html body #app [data-business-panel="ledger"] .business-ledger-heading-v583{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:18px!important;
}

html body #app [data-business-panel="ledger"] .business-ledger-new-v583{
  flex:0 0 auto!important;
  min-height:40px!important;
  padding:0 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  white-space:nowrap!important;
}

/* Expenses uses one visible card at a time. */
html body #app [data-business-panel="ledger"] .business-ledger-section-v583{
  display:block!important;
  width:100%!important;
}

html body #app [data-business-panel="ledger"][data-v583-ledger-mode="list"] .business-ledger-form-card-v583{
  display:none!important;
}

html body #app [data-business-panel="ledger"][data-v583-ledger-mode="form"] .business-ledger-list-card-v583{
  display:none!important;
}

/* Compact centered add form. */
html body #app [data-business-panel="ledger"] .business-ledger-form-card-v583{
  width:min(100%, 980px)!important;
  max-width:980px!important;
  margin:0 auto!important;
  padding:18px 20px!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="ledger"] .business-ledger-form-card-v583 > .business-card-title-v325{
  margin-bottom:16px!important;
  padding-bottom:12px!important;
  border-bottom:1px solid #d4d4d4!important;
}

/* Three short, easy-to-scan columns on desktop. */
html body #app [data-business-panel="ledger"] #bizForm.business-ledger-form-v583{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  column-gap:16px!important;
  row-gap:14px!important;
  align-items:start!important;
  width:100%!important;
}

html body #app [data-business-panel="ledger"] #bizForm.business-ledger-form-v583 > .field{
  min-width:0!important;
  margin:0!important;
  grid-column:auto!important;
}

html body #app [data-business-panel="ledger"] #bizForm.business-ledger-form-v583 label{
  display:block!important;
  margin-bottom:6px!important;
}

html body #app [data-business-panel="ledger"] #bizForm.business-ledger-form-v583 :is(input:not([type="hidden"]),select,textarea){
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

/* Description gets two columns; notes uses the third. */
html body #app [data-business-panel="ledger"] .business-ledger-description-v583{
  grid-column:span 2!important;
}

html body #app [data-business-panel="ledger"] .business-ledger-actions-v583{
  grid-column:1 / -1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  margin-top:2px!important;
}

html body #app [data-business-panel="ledger"] .business-ledger-actions-v583 > button{
  width:auto!important;
  min-width:150px!important;
  max-width:190px!important;
  min-height:42px!important;
  padding-left:24px!important;
  padding-right:24px!important;
}

html body #app [data-business-panel="ledger"] .business-ledger-actions-v583 .message{
  min-width:0!important;
  flex:1 1 auto!important;
}

/* History remains roomy but does not stretch unnecessarily on very wide screens. */
html body #app [data-business-panel="ledger"] .business-ledger-list-card-v583{
  width:min(100%, 1280px)!important;
  max-width:1280px!important;
  margin:0 auto!important;
  box-sizing:border-box!important;
}

/* Tablet: two columns. */
@media (max-width:980px){
  html body #app [data-business-panel="ledger"] .business-ledger-form-card-v583{
    width:min(100%, 760px)!important;
  }

  html body #app [data-business-panel="ledger"] #bizForm.business-ledger-form-v583{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  html body #app [data-business-panel="ledger"] .business-ledger-description-v583{
    grid-column:1 / -1!important;
  }
}

/* Phone: one column. */
@media (max-width:640px){
  html body #app [data-business-panel="ledger"] .business-ledger-heading-v583{
    align-items:stretch!important;
    flex-direction:column!important;
  }

  html body #app [data-business-panel="ledger"] .business-ledger-new-v583{
    align-self:flex-start!important;
  }

  html body #app [data-business-panel="ledger"] .business-ledger-form-card-v583{
    width:100%!important;
    max-width:none!important;
    padding:16px!important;
  }

  html body #app [data-business-panel="ledger"] #bizForm.business-ledger-form-v583{
    grid-template-columns:1fr!important;
    gap:13px!important;
  }

  html body #app [data-business-panel="ledger"] .business-ledger-description-v583,
  html body #app [data-business-panel="ledger"] .business-ledger-actions-v583{
    grid-column:1!important;
  }

  html body #app [data-business-panel="ledger"] .business-ledger-actions-v583{
    align-items:stretch!important;
    flex-direction:column!important;
  }

  html body #app [data-business-panel="ledger"] .business-ledger-actions-v583 > button{
    width:100%!important;
    max-width:none!important;
  }
}

/* V325.584 — force Description / Notes to finish before the action row.
   These selectors intentionally include #bizForm so they win over the generic
   #bizForm > .field grid-column rule above. */
@media (min-width:981px){
  html body #app [data-business-panel="ledger"] #bizForm.business-ledger-form-v583 > .business-ledger-description-v583{
    grid-column:1 / span 2!important;
  }

  html body #app [data-business-panel="ledger"] #bizForm.business-ledger-form-v583 > .business-ledger-notes-v583{
    grid-column:3!important;
  }
}

html body #app [data-business-panel="ledger"] #bizForm.business-ledger-form-v583 > .business-ledger-actions-v583{
  grid-column:1 / -1!important;
  grid-row:auto!important;
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  margin-top:2px!important;
}

html body #app [data-business-panel="ledger"] #bizForm.business-ledger-form-v583 > .business-ledger-actions-v583 > button{
  width:auto!important;
  min-width:150px!important;
  max-width:190px!important;
}

@media (max-width:980px){
  html body #app [data-business-panel="ledger"] #bizForm.business-ledger-form-v583 > .business-ledger-description-v583,
  html body #app [data-business-panel="ledger"] #bizForm.business-ledger-form-v583 > .business-ledger-actions-v583{
    grid-column:1 / -1!important;
  }
}

@media (max-width:640px){
  html body #app [data-business-panel="ledger"] #bizForm.business-ledger-form-v583 > .business-ledger-actions-v583{
    grid-column:1!important;
  }

  html body #app [data-business-panel="ledger"] #bizForm.business-ledger-form-v583 > .business-ledger-actions-v583 > button{
    width:100%!important;
    max-width:none!important;
  }
}


/* =========================================================
   V325.585 — Audit Log: compact filters + readable table
   ========================================================= */

/* Keep the Audit Log content comfortably centered. */
html body #app [data-business-panel="audit"] .business-audit-card-v140{
  width:min(100%,1280px)!important;
  max-width:1280px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
  padding:16px!important;
}

/* Compact filter bar instead of three full-width rows. */
html body #app [data-business-panel="audit"] .business-audit-filter-v140{
  display:grid!important;
  grid-template-columns:180px 180px minmax(300px,1fr) auto!important;
  gap:12px!important;
  align-items:end!important;
  width:100%!important;
  margin:0 0 10px!important;
}

html body #app [data-business-panel="audit"] .business-audit-filter-v140 > .field{
  min-width:0!important;
  margin:0!important;
}

html body #app [data-business-panel="audit"] .business-audit-filter-v140 label{
  display:block!important;
  margin:0 0 5px!important;
  font-size:12px!important;
  font-weight:700!important;
}

html body #app [data-business-panel="audit"] .business-audit-filter-v140 :is(input,select){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:40px!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="audit"] #businessAuditSearchBtnV140{
  width:auto!important;
  min-width:96px!important;
  height:40px!important;
  padding:0 16px!important;
  margin:0!important;
  white-space:nowrap!important;
}

/* Count / status line. */
html body #app [data-business-panel="audit"] .business-audit-meta-v140{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:24px!important;
  margin:2px 0 8px!important;
  flex-wrap:wrap!important;
}

/* Make wide audit data usable without distorting the page. */
html body #app [data-business-panel="audit"] #businessAuditTableV140{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  -webkit-overflow-scrolling:touch!important;
  border-radius:12px!important;
}

html body #app [data-business-panel="audit"] table.business-audit-table-v226{
  width:100%!important;
  min-width:1080px!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}

/* Balanced column widths. */
html body #app [data-business-panel="audit"] table.business-audit-table-v226 th:nth-child(1),
html body #app [data-business-panel="audit"] table.business-audit-table-v226 td:nth-child(1){width:130px!important;}
html body #app [data-business-panel="audit"] table.business-audit-table-v226 th:nth-child(2),
html body #app [data-business-panel="audit"] table.business-audit-table-v226 td:nth-child(2){width:120px!important;}
html body #app [data-business-panel="audit"] table.business-audit-table-v226 th:nth-child(3),
html body #app [data-business-panel="audit"] table.business-audit-table-v226 td:nth-child(3){width:155px!important;}
html body #app [data-business-panel="audit"] table.business-audit-table-v226 th:nth-child(4),
html body #app [data-business-panel="audit"] table.business-audit-table-v226 td:nth-child(4){width:230px!important;}
html body #app [data-business-panel="audit"] table.business-audit-table-v226 th:nth-child(5),
html body #app [data-business-panel="audit"] table.business-audit-table-v226 td:nth-child(5){width:110px!important;}
html body #app [data-business-panel="audit"] table.business-audit-table-v226 th:nth-child(7),
html body #app [data-business-panel="audit"] table.business-audit-table-v226 td:nth-child(7){width:90px!important;}

html body #app [data-business-panel="audit"] table.business-audit-table-v226 th,
html body #app [data-business-panel="audit"] table.business-audit-table-v226 td{
  padding:11px 12px!important;
  vertical-align:top!important;
  line-height:1.35!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}

html body #app [data-business-panel="audit"] table.business-audit-table-v226 th{
  white-space:nowrap!important;
  font-size:11px!important;
  letter-spacing:.02em!important;
}

/* Date and money are easier to scan when they stay on one line. */
html body #app [data-business-panel="audit"] .business-audit-date-v226,
html body #app [data-business-panel="audit"] .business-audit-amount-v226{
  white-space:nowrap!important;
}

/* User + role on separate lines (fixes LarickADMIN). */
html body #app [data-business-panel="audit"] .business-audit-user-v140 strong,
html body #app [data-business-panel="audit"] .business-audit-user-v140 small{
  display:block!important;
}
html body #app [data-business-panel="audit"] .business-audit-user-v140 small{
  margin-top:2px!important;
  opacity:.7!important;
  font-size:10px!important;
  text-transform:uppercase!important;
}

/* Reference / record type / record id each gets its own line. */
html body #app [data-business-panel="audit"] .business-audit-reference-v226{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:2px!important;
  min-width:0!important;
}
html body #app [data-business-panel="audit"] .business-audit-reference-v226 strong,
html body #app [data-business-panel="audit"] .business-audit-reference-v226 small{
  display:block!important;
  width:100%!important;
  min-width:0!important;
}
html body #app [data-business-panel="audit"] .business-audit-reference-v226 small{
  opacity:.72!important;
  font-size:10px!important;
}
html body #app [data-business-panel="audit"] .business-audit-id-v226{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;
  font-size:9px!important;
}

/* Details preview: label and value should not run into each other. */
html body #app [data-business-panel="audit"] .business-audit-change-preview-v226,
html body #app [data-business-panel="audit"] .business-audit-reason-v226{
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
}
html body #app [data-business-panel="audit"] .business-audit-change-preview-v226 b,
html body #app [data-business-panel="audit"] .business-audit-change-preview-v226 span,
html body #app [data-business-panel="audit"] .business-audit-reason-v226 b,
html body #app [data-business-panel="audit"] .business-audit-reason-v226 span{
  display:block!important;
}

html body #app [data-business-panel="audit"] .business-audit-details-v226{
  margin-top:4px!important;
}
html body #app [data-business-panel="audit"] .business-audit-details-v226 summary{
  cursor:pointer!important;
  white-space:nowrap!important;
}

/* Result status + HTTP code on separate lines (fixes Success201). */
html body #app [data-business-panel="audit"] .business-audit-success-v226,
html body #app [data-business-panel="audit"] .business-audit-status-code-v226{
  display:block!important;
  width:max-content!important;
  max-width:100%!important;
}
html body #app [data-business-panel="audit"] .business-audit-status-code-v226{
  margin-top:3px!important;
  opacity:.68!important;
  font-size:10px!important;
}

/* Tablet: compact two-row filter area. */
@media (max-width:900px){
  html body #app [data-business-panel="audit"] .business-audit-filter-v140{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  html body #app [data-business-panel="audit"] .business-audit-search-field-v140{
    grid-column:1 / -1!important;
  }
  html body #app [data-business-panel="audit"] #businessAuditSearchBtnV140{
    justify-self:start!important;
  }
}

/* Phone: simple one-column controls; table remains horizontally scrollable. */
@media (max-width:600px){
  html body #app [data-business-panel="audit"] .business-audit-card-v140{
    padding:12px!important;
  }
  html body #app [data-business-panel="audit"] .business-audit-filter-v140{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  html body #app [data-business-panel="audit"] .business-audit-search-field-v140{
    grid-column:1!important;
  }
  html body #app [data-business-panel="audit"] #businessAuditSearchBtnV140{
    width:100%!important;
  }
}

/* =========================================================
   V325.586 — Tidy / compact Backup & Export
   ========================================================= */

/* Keep the Backup & Export page comfortably centered instead of spanning the full screen. */
html body #app [data-business-panel="export"] .business-panel-heading-v344,
html body #app [data-business-panel="export"] .business-export-grid-v143,
html body #app [data-business-panel="export"] .business-export-verify-v143{
  width:min(100%,1180px)!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Main two-card layout: compact backup card + wider CSV card. */
html body #app [data-business-panel="export"] .business-export-grid-v143{
  display:grid!important;
  grid-template-columns:minmax(340px,420px) minmax(0,1fr)!important;
  gap:16px!important;
  align-items:stretch!important;
}

html body #app [data-business-panel="export"] .business-export-card-v143,
html body #app [data-business-panel="export"] .business-export-verify-v143{
  padding:18px!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="export"] .business-card-title-v325{
  margin-bottom:14px!important;
}

html body #app [data-business-panel="export"] .business-card-title-v325 strong{
  display:block!important;
  margin-bottom:3px!important;
}

/* Standard compact fields. */
html body #app [data-business-panel="export"] .field{
  min-width:0!important;
  margin:0!important;
}

html body #app [data-business-panel="export"] .field > label{
  display:block!important;
  margin:0 0 5px!important;
  font-size:12px!important;
  font-weight:700!important;
}

html body #app [data-business-panel="export"] :is(select,input[type="date"]){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:40px!important;
  box-sizing:border-box!important;
}

/* Full Business backup: keep controls short and aligned to the left. */
html body #app [data-business-panel="export"] .business-export-card-v143:first-child .business-form-grid-v325{
  display:grid!important;
  grid-template-columns:minmax(0,320px)!important;
  gap:12px!important;
  align-items:start!important;
}

html body #app [data-business-panel="export"] .business-export-card-v143:first-child .business-form-grid-v325 > .wide{
  grid-column:1!important;
  width:100%!important;
  max-width:320px!important;
}

html body #app [data-business-panel="export"] #businessBackupDownloadV143{
  width:auto!important;
  min-width:220px!important;
  max-width:100%!important;
  height:40px!important;
  padding:0 18px!important;
  margin:0!important;
}

html body #app [data-business-panel="export"] .business-export-note-v143{
  max-width:560px!important;
  margin-top:12px!important;
  line-height:1.45!important;
}

/* CSV export: one full dataset row, then three short filter columns. */
html body #app [data-business-panel="export"] .business-export-card-v143:nth-child(2) .business-form-grid-v325{
  display:grid!important;
  grid-template-columns:180px minmax(180px,1fr) minmax(180px,1fr)!important;
  gap:12px!important;
  align-items:end!important;
}

html body #app [data-business-panel="export"] .business-export-card-v143:nth-child(2) .business-form-grid-v325 > .field.wide:first-child{
  grid-column:1 / -1!important;
  width:100%!important;
  max-width:none!important;
}

html body #app [data-business-panel="export"] .business-export-card-v143:nth-child(2) .business-form-action-v344{
  grid-column:1 / -1!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  margin-top:2px!important;
}

html body #app [data-business-panel="export"] #businessCsvDownloadV143{
  width:auto!important;
  min-width:180px!important;
  max-width:100%!important;
  height:40px!important;
  padding:0 18px!important;
  margin:0!important;
}

/* Verify area: shorter file chooser with the status beside/below it. */
html body #app [data-business-panel="export"] .business-export-verify-v143{
  margin-top:16px!important;
}

html body #app [data-business-panel="export"] .business-export-verify-row-v143{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}

html body #app [data-business-panel="export"] #businessBackupVerifyFileV143{
  width:min(100%,520px)!important;
  max-width:520px!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="export"] #businessBackupVerifyFileV143::file-selector-button{
  min-height:34px!important;
  padding:0 12px!important;
  margin-right:10px!important;
  border-radius:8px!important;
  cursor:pointer!important;
}

html body #app [data-business-panel="export"] #businessBackupVerifyMsgV143{
  flex:1 1 280px!important;
  min-width:0!important;
}

/* Tablet: stack the two main cards and keep CSV controls in two columns. */
@media (max-width:980px){
  html body #app [data-business-panel="export"] .business-export-grid-v143{
    grid-template-columns:1fr!important;
  }

  html body #app [data-business-panel="export"] .business-export-card-v143:first-child .business-form-grid-v325{
    grid-template-columns:minmax(0,320px)!important;
  }

  html body #app [data-business-panel="export"] .business-export-card-v143:nth-child(2) .business-form-grid-v325{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  html body #app [data-business-panel="export"] .business-export-card-v143:nth-child(2) .business-form-grid-v325 > .field.wide:first-child,
  html body #app [data-business-panel="export"] .business-export-card-v143:nth-child(2) .business-form-action-v344{
    grid-column:1 / -1!important;
  }
}

/* Phone: simple one-column controls and full-width actions. */
@media (max-width:640px){
  html body #app [data-business-panel="export"] .business-export-card-v143,
  html body #app [data-business-panel="export"] .business-export-verify-v143{
    padding:14px!important;
  }

  html body #app [data-business-panel="export"] .business-export-card-v143:first-child .business-form-grid-v325,
  html body #app [data-business-panel="export"] .business-export-card-v143:nth-child(2) .business-form-grid-v325{
    grid-template-columns:1fr!important;
  }

  html body #app [data-business-panel="export"] .business-export-card-v143:first-child .business-form-grid-v325 > .wide,
  html body #app [data-business-panel="export"] .business-export-card-v143:nth-child(2) .business-form-grid-v325 > .field.wide:first-child,
  html body #app [data-business-panel="export"] .business-export-card-v143:nth-child(2) .business-form-action-v344{
    grid-column:1!important;
    max-width:none!important;
  }

  html body #app [data-business-panel="export"] #businessBackupDownloadV143,
  html body #app [data-business-panel="export"] #businessCsvDownloadV143{
    width:100%!important;
    min-width:0!important;
  }

  html body #app [data-business-panel="export"] #businessBackupVerifyFileV143{
    width:100%!important;
    max-width:none!important;
  }
}


/* ========================= V325.587 BUSINESS SETUP COMPACT UI ========================= */
/* Keep the Business Setup page readable: clear category tabs, centered settings cards,
   shorter two-column controls, and the global submit action below the active page. */
html body #app [data-business-panel="settings"] .business-panel-heading-v344{
  width:min(100%,1180px)!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

html body #app [data-business-panel="settings"] #businessSettingsPagesV426{
  width:min(100%,1180px)!important;
  max-width:1180px!important;
  margin:12px auto 0!important;
}

/* Five clean category cards instead of cramped inline text. */
html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%!important;
  padding:8px!important;
  margin:0 0 14px!important;
  box-sizing:border-box!important;
  align-items:stretch!important;
}

html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-v426{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  min-height:64px!important;
  width:100%!important;
  padding:10px 12px!important;
  white-space:normal!important;
  text-align:left!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-number-v426{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:28px!important;
  min-width:28px!important;
  font-weight:800!important;
}

html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-copy-v426{
  display:block!important;
  min-width:0!important;
  line-height:1.2!important;
}

html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-copy-v426 strong,
html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-copy-v426 small{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  overflow-wrap:anywhere!important;
}

html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-copy-v426 strong{
  margin:0 0 3px!important;
  font-size:13px!important;
  line-height:1.2!important;
}

html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-copy-v426 small{
  margin:0!important;
  font-size:10.5px!important;
  line-height:1.25!important;
}

/* Stop the split-form layout from placing Submit beside the settings card. */
html body #app [data-business-panel="settings"] #businessProfileFormV325.business-setup-card-v344{
  display:block!important;
  width:min(100%,960px)!important;
  max-width:960px!important;
  margin:0 auto!important;
  padding:0!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="settings"] #businessProfileFormV325 .lf-split-page-v426{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}

html body #app [data-business-panel="settings"] #businessProfileFormV325 .lf-split-page-v426[hidden]{
  display:none!important;
}

html body #app [data-business-panel="settings"] #businessProfileFormV325 .business-split-card-v426{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:18px 20px!important;
  box-sizing:border-box!important;
}

/* Short, balanced two-column controls on the setup pages. */
html body #app [data-business-panel="settings"] #businessProfileFormV325 .business-form-grid-v325{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  column-gap:18px!important;
  row-gap:13px!important;
  align-items:start!important;
}

html body #app [data-business-panel="settings"] #businessProfileFormV325 .business-form-grid-v325 > .field{
  min-width:0!important;
  width:100%!important;
  margin:0!important;
}

html body #app [data-business-panel="settings"] #businessProfileFormV325 .business-form-grid-v325 > .field.wide,
html body #app [data-business-panel="settings"] #businessProfileFormV325 .business-form-grid-v325 > .wide{
  grid-column:1 / -1!important;
}

html body #app [data-business-panel="settings"] #businessProfileFormV325 .business-form-grid-v325 input:not([type="checkbox"]):not([type="radio"]),
html body #app [data-business-panel="settings"] #businessProfileFormV325 .business-form-grid-v325 select,
html body #app [data-business-panel="settings"] #businessProfileFormV325 .business-form-grid-v325 textarea{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="settings"] #businessProfileFormV325 .business-card-title-v325{
  margin-bottom:14px!important;
}

/* Keep the address useful without making the card excessively tall. */
html body #app [data-business-panel="settings"] #businessAddressV325{
  min-height:70px!important;
  max-height:120px!important;
}

/* Receipts / funds nested balance area follows the same tidy grid. */
html body #app [data-business-panel="settings"] .business-balance-settings-v421{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="settings"] .business-balance-settings-grid-v421{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px 16px!important;
}

html body #app [data-business-panel="settings"] .business-balance-settings-grid-v421 > .wide{
  grid-column:1 / -1!important;
}

/* Manager action and Delivery actions use normal button sizing. */
html body #app [data-business-panel="settings"] .business-manager-action-v144,
html body #app [data-business-panel="settings"] .business-delivery-add-v228{
  min-width:0!important;
}

html body #app [data-business-panel="settings"] #businessManagerSavePinV144,
html body #app [data-business-panel="settings"] #businessDeliveryRefreshV228,
html body #app [data-business-panel="settings"] #businessDeliveryAddCustomV228{
  width:auto!important;
  max-width:100%!important;
}

/* Global Submit belongs below the active category card, not beside it. */
html body #app [data-business-panel="settings"] #businessSetupGlobalSaveV254{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  width:100%!important;
  max-width:none!important;
  margin:12px 0 0!important;
  padding:0!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="settings"] #businessSetupGlobalSaveV254 > button{
  width:auto!important;
  min-width:150px!important;
  max-width:220px!important;
  height:42px!important;
  padding:0 22px!important;
  margin:0!important;
}

html body #app [data-business-panel="settings"] #businessSetupGlobalSaveV254 > .message{
  min-width:0!important;
  flex:1 1 auto!important;
}

/* Tablet: tabs become two columns and setup card stays centered. */
@media (max-width:980px){
  html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  html body #app [data-business-panel="settings"] #businessProfileFormV325.business-setup-card-v344{
    width:min(100%,820px)!important;
  }
}

/* Narrow tablets / phones: one form column; tabs remain easy to tap. */
@media (max-width:700px){
  html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254{
    grid-template-columns:1fr!important;
    gap:6px!important;
  }

  html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-v426{
    min-height:56px!important;
  }

  html body #app [data-business-panel="settings"] #businessProfileFormV325 .business-split-card-v426{
    padding:15px!important;
  }

  html body #app [data-business-panel="settings"] #businessProfileFormV325 .business-form-grid-v325,
  html body #app [data-business-panel="settings"] .business-balance-settings-grid-v421{
    grid-template-columns:1fr!important;
  }

  html body #app [data-business-panel="settings"] #businessProfileFormV325 .business-form-grid-v325 > .field.wide,
  html body #app [data-business-panel="settings"] #businessProfileFormV325 .business-form-grid-v325 > .wide,
  html body #app [data-business-panel="settings"] .business-balance-settings-grid-v421 > .wide{
    grid-column:1!important;
  }

  html body #app [data-business-panel="settings"] #businessSetupGlobalSaveV254{
    align-items:stretch!important;
    flex-direction:column!important;
  }

  html body #app [data-business-panel="settings"] #businessSetupGlobalSaveV254 > button{
    width:100%!important;
    max-width:none!important;
  }
}


/* =========================================================
   V325.588 — Tidy Delivery Apps
   ========================================================= */

/* Delivery page uses the same centered setup width, but with a clearer hierarchy. */
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-settings-v228{
  padding:20px!important;
  border-radius:14px!important;
  overflow:hidden!important;
}

/* Title / description / Refresh stay neatly aligned. */
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-settings-head-v228{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:14px!important;
  margin:0 0 16px!important;
  padding:0 0 14px!important;
  border-bottom:1px solid #d4d4d4!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-settings-head-v228 > div{
  min-width:0!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-settings-head-v228 strong{
  display:block!important;
  margin-bottom:4px!important;
  font-size:15px!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 #businessDeliveryRefreshV228{
  min-width:78px!important;
  height:38px!important;
  padding:0 14px!important;
  white-space:nowrap!important;
}

/* Order-flow explanation becomes a proper four-step strip. */
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-architecture-v228{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  width:100%!important;
  margin:0 0 14px!important;
  padding:10px!important;
  border:1px solid #d4d4d4!important;
  border-radius:11px!important;
  background:#fafafa!important;
  box-sizing:border-box!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-architecture-v228 > span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  flex:1 1 0!important;
  min-height:34px!important;
  padding:6px 9px!important;
  border:1px solid #d4d4d4!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#404040!important;
  font-size:10.5px!important;
  font-weight:700!important;
  text-align:center!important;
  box-sizing:border-box!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-architecture-v228 > i{
  flex:0 0 auto!important;
  color:#404040!important;
  font-style:normal!important;
  font-size:14px!important;
  font-weight:700!important;
}

/* Add platform control is compact and no longer spans awkwardly. */
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-add-v228{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
  width:min(100%,720px)!important;
  margin:0 0 14px!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 #businessDeliveryCustomNameV228{
  width:100%!important;
  min-width:0!important;
  height:40px!important;
  box-sizing:border-box!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 #businessDeliveryAddCustomV228{
  height:40px!important;
  min-width:110px!important;
  padding:0 15px!important;
  white-space:nowrap!important;
}

/* Platform list: one readable card per provider. */
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-apps-v228{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:9px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-app-card-v228{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  border:1px solid #d4d4d4!important;
  border-radius:11px!important;
  background:#fff!important;
  overflow:hidden!important;
  box-shadow:0 1px 2px rgba(82,82,82,.035)!important;
  box-sizing:border-box!important;
}

/* Collapsed platform row. */
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-collapse-head-v262{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) auto 18px!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  min-height:58px!important;
  margin:0!important;
  padding:9px 12px!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  color:#404040!important;
  text-align:left!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-collapse-head-v262:hover{
  background:#fafafa!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-collapsible-v262.open .business-delivery-collapse-head-v262{
  background:#f8f8f8!important;
  border-bottom:1px solid #e4e4e4!important;
}

/* Small provider initials tile. */
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-app-logo-v228{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:38px!important;
  height:38px!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#f2f2f2!important;
  color:#404040!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:.4px!important;
}

/* Provider name and platform key never run together. */
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-collapse-title-v262{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-width:0!important;
  gap:2px!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-collapse-title-v262 strong{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#404040!important;
  font-size:12px!important;
  line-height:1.25!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-collapse-title-v262 small{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#404040!important;
  font-size:9px!important;
  line-height:1.25!important;
}

/* Connection state reads like a status badge. */
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-status-v228{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:25px!important;
  max-width:190px!important;
  padding:4px 9px!important;
  border:1px solid #d4d4d4!important;
  border-radius:999px!important;
  background:#fafafa!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:700!important;
  line-height:1.15!important;
  text-align:center!important;
  white-space:normal!important;
  box-sizing:border-box!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-status-v228.api_connected,
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-status-v228.ok{
  border-color:#b9ddca!important;
  background:#eef9f3!important;
  color:#267653!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-status-v228.needs_api_connection,
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-status-v228.error{
  border-color:#e7c6c6!important;
  background:#fff5f5!important;
  color:#985050!important;
}

html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-collapse-icon-v262{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:18px!important;
  height:18px!important;
  color:#404040!important;
  font-size:18px!important;
  line-height:1!important;
  transform:rotate(0deg)!important;
  transition:transform .18s ease!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-collapsible-v262.open .business-delivery-collapse-icon-v262{
  transform:rotate(90deg)!important;
}

/* Expanded provider settings. */
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-collapse-body-v262{
  display:block!important;
  padding:14px!important;
  background:#fff!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-collapse-body-v262[hidden]{
  display:none!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-app-grid-v228{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px 14px!important;
  align-items:start!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-app-grid-v228 > .field{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-app-grid-v228 > .field.wide{
  grid-column:1 / -1!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-app-grid-v228 :is(input:not([type="checkbox"]),select){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-app-grid-v228 label:not(.business-delivery-toggle-v228){
  display:block!important;
  margin:0 0 5px!important;
  color:#404040!important;
  font-size:9.5px!important;
  font-weight:700!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-app-grid-v228 small{
  display:block!important;
  margin-top:5px!important;
  color:#404040!important;
  font-size:8.5px!important;
  line-height:1.35!important;
}

/* Toggles are simple option rows rather than loose text. */
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-toggle-v228{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:38px!important;
  margin:0!important;
  padding:8px 10px!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#fbfbfb!important;
  color:#404040!important;
  font-size:9.5px!important;
  font-weight:600!important;
  box-sizing:border-box!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-toggle-v228 input{
  flex:0 0 auto!important;
  margin:0!important;
}

/* Platform save row. */
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-app-footer-v228{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-top:13px!important;
  padding-top:12px!important;
  border-top:1px solid #e9e9e9!important;
  color:#404040!important;
  font-size:8.8px!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-app-footer-v228 > span{
  min-width:0!important;
  flex:1 1 auto!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-app-footer-v228 button{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:118px!important;
  height:38px!important;
  padding:0 15px!important;
}

/* Page status/message and API note. */
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 #businessDeliveryMsgV228{
  display:block!important;
  margin:9px 0 0!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-api-note-v228{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  gap:8px 12px!important;
  align-items:start!important;
  margin-top:14px!important;
  padding:11px 13px!important;
  border:1px solid #d4d4d4!important;
  border-left:4px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#f9f9f9!important;
  box-sizing:border-box!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-api-note-v228 strong{
  color:#404040!important;
  font-size:9.5px!important;
  white-space:nowrap!important;
}
html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-api-note-v228 span{
  color:#404040!important;
  font-size:8.8px!important;
  line-height:1.4!important;
}

/* Delivery integrations have their own Save platform buttons.
   Hide the unrelated global Business Setup submit while this tab is active. */
html body #app [data-business-panel="settings"] #businessProfileFormV325:has(#businessSettingsDeliveryPageV228.active) #businessSetupGlobalSaveV254{
  display:none!important;
}

/* Tablet */
@media (max-width:820px){
  html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-architecture-v228{
    overflow-x:auto!important;
    justify-content:flex-start!important;
  }
  html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-architecture-v228 > span{
    flex:0 0 145px!important;
  }
  html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-collapse-head-v262{
    grid-template-columns:36px minmax(0,1fr) auto 18px!important;
  }
}

/* Phone */
@media (max-width:640px){
  html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-settings-v228{
    padding:15px!important;
  }
  html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-settings-head-v228{
    grid-template-columns:1fr!important;
  }
  html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 #businessDeliveryRefreshV228{
    justify-self:start!important;
  }
  html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-add-v228{
    grid-template-columns:1fr!important;
    width:100%!important;
  }
  html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 #businessDeliveryAddCustomV228{
    width:100%!important;
  }
  html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-collapse-head-v262{
    grid-template-columns:36px minmax(0,1fr) 18px!important;
  }
  html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-status-v228{
    grid-column:2!important;
    justify-self:start!important;
    max-width:100%!important;
  }
  html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-collapse-icon-v262{
    grid-column:3!important;
    grid-row:1 / span 2!important;
  }
  html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-app-grid-v228{
    grid-template-columns:1fr!important;
  }
  html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-app-grid-v228 > .field.wide{
    grid-column:1!important;
  }
  html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-app-footer-v228{
    align-items:stretch!important;
    flex-direction:column!important;
  }
  html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-app-footer-v228 button{
    width:100%!important;
  }
  html body #app [data-business-panel="settings"] #businessSettingsDeliveryPageV228 .business-delivery-api-note-v228{
    grid-template-columns:1fr!important;
  }
}



/* =========================================================
   V325.589 — Clear active Business Setup module
   ========================================================= */

/* Make every setup module feel clickable and keep a clear focus state. */
html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-v426{
  position:relative!important;
  cursor:pointer!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#ffffff!important;
  color:#404040!important;
  padding-right:38px!important;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}

html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-v426:hover:not(.active):not([aria-selected="true"]){
  background:#f6f6f6!important;
  border-color:#d4d4d4!important;
  box-shadow:0 2px 8px rgba(82,82,82,.08)!important;
}

html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-v426:focus-visible{
  outline:3px solid #737373!important;
  outline-offset:2px!important;
}

/* The clicked/current module is unmistakably selected. */
html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-v426.active,
html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-v426[aria-selected="true"]{
  background:linear-gradient(180deg,#e5e5e5 0%,#e5e5e5 100%)!important;
  border-color:#d4d4d4!important;
  color:#ffffff!important;
  box-shadow:0 5px 14px rgba(82,82,82,.20)!important;
  transform:translateY(-1px)!important;
}

html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-v426.active::after,
html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-v426[aria-selected="true"]::after{
  content:"✓"!important;
  position:absolute!important;
  top:8px!important;
  right:9px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:20px!important;
  height:20px!important;
  border-radius:999px!important;
  background:#ffffff!important;
  color:#404040!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  box-shadow:0 1px 4px rgba(0,0,0,.12)!important;
}

html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-v426.active .lf-split-tab-number-v426,
html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-v426[aria-selected="true"] .lf-split-tab-number-v426{
  width:30px!important;
  min-width:30px!important;
  height:30px!important;
  border-radius:999px!important;
  background:#ffffff!important;
  color:#404040!important;
  box-shadow:0 1px 4px rgba(0,0,0,.10)!important;
}

html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-v426.active .lf-split-tab-copy-v426 strong,
html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-v426[aria-selected="true"] .lf-split-tab-copy-v426 strong{
  color:#ffffff!important;
}

html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-v426.active .lf-split-tab-copy-v426 small,
html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-v426[aria-selected="true"] .lf-split-tab-copy-v426 small{
  color:#f2f2f2!important;
}

/* Visually connect the selected tab with the content below it. */
html body #app [data-business-panel="settings"] #businessProfileFormV325 .lf-split-page-v426.active > .business-split-card-v426,
html body #app [data-business-panel="settings"] #businessProfileFormV325 .lf-split-page-v426:not([hidden]) > .business-split-card-v426{
  border-top:3px solid #d4d4d4!important;
  box-shadow:0 5px 18px rgba(82,82,82,.07)!important;
}

/* Receipts & funds: turn the balance explanation into a clear information block. */
html body #app [data-business-panel="settings"] #businessSettingsReceiptsPageV426 .business-balance-settings-v421{
  padding:0!important;
  border:1px solid #d4d4d4!important;
  border-radius:11px!important;
  background:#fdfdfd!important;
  overflow:hidden!important;
}

html body #app [data-business-panel="settings"] #businessSettingsReceiptsPageV426 .business-balance-settings-heading-v421{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:4px!important;
  margin:0 0 14px!important;
  padding:12px 14px!important;
  border-bottom:1px solid #d4d4d4!important;
  background:#f6f6f6!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="settings"] #businessSettingsReceiptsPageV426 .business-balance-settings-heading-v421 strong{
  display:block!important;
  margin:0!important;
  color:#404040!important;
  font-size:12px!important;
  line-height:1.3!important;
}

html body #app [data-business-panel="settings"] #businessSettingsReceiptsPageV426 .business-balance-settings-heading-v421 small{
  display:block!important;
  margin:0!important;
  color:#404040!important;
  font-size:9.5px!important;
  line-height:1.4!important;
}

html body #app [data-business-panel="settings"] #businessSettingsReceiptsPageV426 .business-balance-settings-grid-v421{
  padding:0 14px 14px!important;
  box-sizing:border-box!important;
}

@media (max-width:700px){
  html body #app [data-business-panel="settings"] .business-settings-category-tabs-v254 .lf-split-tab-v426{
    padding-right:42px!important;
  }
}



/* =========================================================
   V325.590 — Tidy Manage Team User modal
   ========================================================= */

/* Use a proper desktop workspace instead of a narrow scrolling dialog. */
html body #adminUserModalV324 .admin-user-modal-box-v324{
  width:min(1120px,calc(100vw - 40px))!important;
  max-width:1120px!important;
  max-height:min(92vh,920px)!important;
  margin:auto!important;
  padding:0!important;
  overflow:auto!important;
  border:1px solid #d4d4d4!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 24px 70px rgba(82,82,82,.22)!important;
  box-sizing:border-box!important;
}

/* Clear, sticky modal header. */
html body #adminUserModalV324 .admin-user-modal-box-v324 > .head{
  position:sticky!important;
  top:0!important;
  z-index:20!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin:0!important;
  padding:18px 22px!important;
  border-bottom:1px solid #d4d4d4!important;
  background:rgba(248,248,248,.98)!important;
  backdrop-filter:blur(8px)!important;
  box-sizing:border-box!important;
}
html body #adminUserModalV324 .admin-user-modal-box-v324 > .head h2{
  margin:0!important;
  color:#404040!important;
  font-size:22px!important;
  line-height:1.15!important;
}
html body #adminUserModalV324 .admin-user-modal-box-v324 > .head .muted{
  margin-top:4px!important;
  color:#404040!important;
  font-size:11px!important;
  line-height:1.35!important;
}
html body #adminUserModalV324 #adminUserCloseV324{
  flex:0 0 auto!important;
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  padding:0!important;
  border-radius:10px!important;
  font-size:22px!important;
  line-height:1!important;
}

/* Compact profile form: two balanced columns. */
html body #adminUserModalV324 #adminUserEditFormV324{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px 18px!important;
  align-items:start!important;
  padding:20px 22px 0!important;
  box-sizing:border-box!important;
}
html body #adminUserModalV324 #adminUserEditFormV324 > .field{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
html body #adminUserModalV324 #adminUserEditFormV324 > .field label{
  display:block!important;
  margin:0 0 6px!important;
  color:#404040!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.01em!important;
}
html body #adminUserModalV324 #adminUserEditFormV324 > .field input{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:42px!important;
  padding:0 12px!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#fafafa!important;
  color:#404040!important;
  box-sizing:border-box!important;
}
html body #adminUserModalV324 #adminUserEditFormV324 > .field input:focus{
  border-color:#d4d4d4!important;
  background:#fff!important;
  outline:3px solid #737373!important;
  outline-offset:0!important;
}

/* Login Active becomes an obvious status option card. */
html body #adminUserModalV324 .admin-active-toggle-v324{
  grid-column:1 / -1!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  width:max-content!important;
  max-width:100%!important;
  min-height:40px!important;
  margin:0!important;
  padding:8px 12px!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#f8f8f8!important;
  color:#404040!important;
  font-size:10px!important;
  font-weight:800!important;
  box-sizing:border-box!important;
}
html body #adminUserModalV324 .admin-active-toggle-v324 input{
  margin:0!important;
}

/* Permissions become a clearly separated section. */
html body #adminUserModalV324 .admin-permission-title-v324{
  grid-column:1 / -1!important;
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
  margin:4px 0 -2px!important;
  padding-top:16px!important;
  border-top:1px solid #e4e4e4!important;
  color:#404040!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1.2!important;
}
html body #adminUserModalV324 .admin-permission-title-v324::after{
  content:"Choose what this team member can view or change."!important;
  color:#404040!important;
  font-size:10px!important;
  font-weight:500!important;
  line-height:1.4!important;
}
html body #adminUserModalV324 #adminEditPermissionsV324{
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
}

/* Intro / legend no longer run together. */
html body #adminUserModalV324 .admin-permission-editor-v373{
  width:100%!important;
  min-width:0!important;
}
html body #adminUserModalV324 .admin-permission-intro-v373{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin:0 0 12px!important;
  padding:11px 13px!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#fafafa!important;
  box-sizing:border-box!important;
}
html body #adminUserModalV324 .admin-permission-intro-v373 > div:first-child{
  min-width:0!important;
}
html body #adminUserModalV324 .admin-permission-intro-v373 strong{
  display:block!important;
  margin:0 0 3px!important;
  color:#404040!important;
  font-size:11px!important;
}
html body #adminUserModalV324 .admin-permission-intro-v373 > div:first-child > span{
  display:block!important;
  color:#404040!important;
  font-size:9.5px!important;
  line-height:1.4!important;
}
html body #adminUserModalV324 .admin-permission-legend-v373{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex:0 0 auto!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:700!important;
}
html body #adminUserModalV324 .admin-permission-legend-v373 > span{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  white-space:nowrap!important;
}

/* Finance / Business / System are now three clean permission cards. */
html body #adminUserModalV324 .admin-permission-groups-v370{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:start!important;
}
html body #adminUserModalV324 .admin-permission-group-v370{
  min-width:0!important;
  overflow:hidden!important;
  border:1px solid #d4d4d4!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:0 2px 8px rgba(82,82,82,.04)!important;
}
html body #adminUserModalV324 .admin-permission-group-title-v370{
  display:flex!important;
  align-items:center!important;
  min-height:36px!important;
  margin:0!important;
  padding:0 12px!important;
  border-bottom:1px solid #d4d4d4!important;
  background:#f4f4f4!important;
  color:#404040!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.055em!important;
  text-transform:uppercase!important;
  box-sizing:border-box!important;
}

/* Each permission is a readable row, not a wall of text. */
html body #adminUserModalV324 .admin-permission-row-v370{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  min-height:50px!important;
  margin:0!important;
  padding:8px 10px!important;
  border:0!important;
  border-bottom:1px solid #ececec!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
html body #adminUserModalV324 .admin-permission-row-v370:last-child{
  border-bottom:0!important;
}
html body #adminUserModalV324 .admin-permission-row-v370:hover{
  background:#fbfbfb!important;
}
html body #adminUserModalV324 .admin-permission-row-copy-v370{
  min-width:0!important;
}
html body #adminUserModalV324 .admin-permission-row-copy-v370 strong{
  display:block!important;
  margin:0 0 2px!important;
  overflow:hidden!important;
  color:#404040!important;
  font-size:9.8px!important;
  line-height:1.25!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
html body #adminUserModalV324 .admin-permission-row-copy-v370 span{
  display:block!important;
  color:#404040!important;
  font-size:8.2px!important;
  line-height:1.25!important;
}

/* Keep View/Edit controls compact and aligned. */
html body #adminUserModalV324 .admin-permission-toggles-v376{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  flex:0 0 auto!important;
}
html body #adminUserModalV324 .admin-permission-control-v376,
html body #adminUserModalV324 .admin-permission-unavailable-v376{
  display:grid!important;
  grid-template-columns:auto!important;
  justify-items:center!important;
  gap:3px!important;
  min-width:42px!important;
  margin:0!important;
  padding:4px 5px!important;
  border:1px solid #d4d4d4!important;
  border-radius:7px!important;
  background:#fbfbfb!important;
  box-sizing:border-box!important;
}
html body #adminUserModalV324 .admin-permission-switch-copy-v376{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  color:#404040!important;
  font-size:7.8px!important;
  font-weight:800!important;
  line-height:1!important;
}
html body #adminUserModalV324 .admin-permission-switch-copy-v376 small{
  color:#404040!important;
  font-size:7px!important;
}
html body #adminUserModalV324 .admin-permission-control-v376 input{
  position:absolute!important;
  opacity:0!important;
  pointer-events:none!important;
}
html body #adminUserModalV324 .admin-permission-switch-track-v376{
  position:relative!important;
  display:block!important;
  width:28px!important;
  height:16px!important;
  border-radius:999px!important;
  background:#e5e5e5!important;
  transition:background .15s ease!important;
}
html body #adminUserModalV324 .admin-permission-switch-thumb-v376{
  position:absolute!important;
  top:2px!important;
  left:2px!important;
  width:12px!important;
  height:12px!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 1px 3px rgba(0,0,0,.20)!important;
  transition:transform .15s ease!important;
}
html body #adminUserModalV324 .admin-permission-control-v376:has(input:checked){
  border-color:#d4d4d4!important;
  background:#f5f5f5!important;
}
html body #adminUserModalV324 .admin-permission-control-v376:has(input:checked) .admin-permission-switch-track-v376{
  background:#e5e5e5!important;
}
html body #adminUserModalV324 .admin-permission-control-v376:has(input:checked) .admin-permission-switch-thumb-v376{
  transform:translateX(12px)!important;
}
html body #adminUserModalV324 .admin-permission-unavailable-v376{
  opacity:.58!important;
}
html body #adminUserModalV324 .admin-permission-unavailable-v376 span{
  color:#404040!important;
  font-size:7.8px!important;
  font-weight:800!important;
}
html body #adminUserModalV324 .admin-permission-unavailable-v376 small{
  color:#404040!important;
  font-size:6.9px!important;
  line-height:1!important;
}

/* Sticky save area remains visible while reviewing permissions. */
html body #adminUserModalV324 #adminUserEditFormV324 > .admin-create-actions-v324{
  position:sticky!important;
  bottom:0!important;
  z-index:15!important;
  grid-column:1 / -1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:12px!important;
  margin:4px -22px 0!important;
  padding:13px 22px!important;
  border-top:1px solid #d4d4d4!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 -5px 14px rgba(82,82,82,.05)!important;
  backdrop-filter:blur(8px)!important;
  box-sizing:border-box!important;
}
html body #adminUserModalV324 #adminUserEditFormV324 > .admin-create-actions-v324 .message{
  flex:1 1 auto!important;
  min-width:0!important;
  margin:0!important;
}
html body #adminUserModalV324 #adminUserEditFormV324 > .admin-create-actions-v324 button[type="submit"]{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:150px!important;
  height:42px!important;
  margin:0!important;
}

/* Tablet: keep profile fields compact, stack permission categories. */
@media (max-width:900px){
  html body #adminUserModalV324 .admin-user-modal-box-v324{
    width:min(760px,calc(100vw - 24px))!important;
  }
  html body #adminUserModalV324 .admin-permission-groups-v370{
    grid-template-columns:1fr!important;
  }
  html body #adminUserModalV324 .admin-permission-row-v370{
    min-height:48px!important;
  }
}

/* Phone: single-column profile, full-width modal and actions. */
@media (max-width:640px){
  html body #adminUserModalV324 .admin-user-modal-box-v324{
    width:calc(100vw - 12px)!important;
    max-height:calc(100vh - 12px)!important;
    border-radius:12px!important;
  }
  html body #adminUserModalV324 .admin-user-modal-box-v324 > .head{
    padding:14px!important;
  }
  html body #adminUserModalV324 #adminUserEditFormV324{
    grid-template-columns:1fr!important;
    gap:12px!important;
    padding:14px 14px 0!important;
  }
  html body #adminUserModalV324 .admin-active-toggle-v324,
  html body #adminUserModalV324 .admin-permission-title-v324,
  html body #adminUserModalV324 #adminEditPermissionsV324,
  html body #adminUserModalV324 #adminUserEditFormV324 > .admin-create-actions-v324{
    grid-column:1!important;
  }
  html body #adminUserModalV324 .admin-permission-intro-v373{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  html body #adminUserModalV324 .admin-permission-row-v370{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  html body #adminUserModalV324 #adminUserEditFormV324 > .admin-create-actions-v324{
    align-items:stretch!important;
    flex-direction:column!important;
    margin:4px -14px 0!important;
    padding:12px 14px!important;
  }
  html body #adminUserModalV324 #adminUserEditFormV324 > .admin-create-actions-v324 button[type="submit"]{
    width:100%!important;
  }
}



/* =========================================================
   V325.591 — Standalone Permissions page repair / tidy
   ========================================================= */

/* Keep the access-control workspace centered and readable. */
html body #view-admin [data-admin-panel="permissions"]{
  width:min(1180px,calc(100% - 32px))!important;
  max-width:1180px!important;
  margin:0 auto!important;
  box-sizing:border-box!important;
}

/* Page heading. */
html body #view-admin [data-admin-panel="permissions"] .admin-permissions-heading-v439{
  margin-bottom:14px!important;
}
html body #view-admin [data-admin-panel="permissions"] .admin-permissions-heading-v439 h2{
  margin:0 0 4px!important;
}
html body #view-admin [data-admin-panel="permissions"] .admin-permissions-heading-v439 p{
  margin:0!important;
  color:#404040!important;
  line-height:1.4!important;
}

/* "PERMISSIONS / Page 2 of 2 / Permissions" status becomes a real status bar. */
html body #view-admin #adminPermissionsPageStatusV439{
  display:grid!important;
  grid-template-columns:auto auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px 12px!important;
  width:100%!important;
  margin:0 0 12px!important;
  padding:10px 12px!important;
  border:1px solid #d4d4d4!important;
  border-radius:11px!important;
  background:#f9f9f9!important;
  box-sizing:border-box!important;
}
html body #view-admin #adminPermissionsPageStatusV439 .admin-permissions-page-status-label-v439{
  display:inline-flex!important;
  align-items:center!important;
  min-height:24px!important;
  padding:0 8px!important;
  border-radius:999px!important;
  background:#f0f0f0!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
  white-space:nowrap!important;
}
html body #view-admin #adminPermissionsPageStatusV439 .admin-permissions-page-status-step-v439{
  color:#404040!important;
  font-size:10px!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
html body #view-admin #adminPermissionsPageStatusV439 .admin-permissions-page-status-title-v439{
  justify-self:end!important;
  color:#404040!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1.2!important;
}

/* Two clear step tabs. */
html body #view-admin #adminPermissionsPagesV426 > .lf-split-tabs-v426{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0 0 12px!important;
  padding:8px!important;
  border:1px solid #d4d4d4!important;
  border-radius:12px!important;
  background:#f7f7f7!important;
  box-sizing:border-box!important;
}
html body #view-admin #adminPermissionsPagesV426 > .lf-split-tabs-v426 .lf-split-tab-v426{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  align-items:center!important;
  gap:9px!important;
  width:100%!important;
  min-width:0!important;
  min-height:60px!important;
  padding:9px 11px!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#404040!important;
  text-align:left!important;
  box-sizing:border-box!important;
  cursor:pointer!important;
}
html body #view-admin #adminPermissionsPagesV426 > .lf-split-tabs-v426 .lf-split-tab-v426:hover{
  border-color:#d4d4d4!important;
  background:#fbfbfb!important;
}
html body #view-admin #adminPermissionsPagesV426 > .lf-split-tabs-v426 .lf-split-tab-number-v426{
  display:grid!important;
  place-items:center!important;
  width:30px!important;
  height:30px!important;
  border-radius:9px!important;
  background:#f3f3f3!important;
  color:#404040!important;
  font-size:12px!important;
  font-weight:900!important;
}
html body #view-admin #adminPermissionsPagesV426 > .lf-split-tabs-v426 .lf-split-tab-copy-v426{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  gap:2px!important;
}
html body #view-admin #adminPermissionsPagesV426 > .lf-split-tabs-v426 .lf-split-tab-copy-v426 strong{
  display:block!important;
  color:inherit!important;
  font-size:12px!important;
  line-height:1.2!important;
}
html body #view-admin #adminPermissionsPagesV426 > .lf-split-tabs-v426 .lf-split-tab-copy-v426 small{
  display:block!important;
  color:#404040!important;
  font-size:9.5px!important;
  line-height:1.3!important;
}
html body #view-admin #adminPermissionsPagesV426 > .lf-split-tabs-v426 .lf-split-tab-v426.active,
html body #view-admin #adminPermissionsPagesV426 > .lf-split-tabs-v426 .lf-split-tab-v426[aria-selected="true"]{
  border-color:#d4d4d4!important;
  background:#e5e5e5!important;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(82,82,82,.16)!important;
}
html body #view-admin #adminPermissionsPagesV426 > .lf-split-tabs-v426 .lf-split-tab-v426.active .lf-split-tab-number-v426,
html body #view-admin #adminPermissionsPagesV426 > .lf-split-tabs-v426 .lf-split-tab-v426[aria-selected="true"] .lf-split-tab-number-v426{
  background:rgba(255,255,255,.18)!important;
  color:#fff!important;
}
html body #view-admin #adminPermissionsPagesV426 > .lf-split-tabs-v426 .lf-split-tab-v426.active .lf-split-tab-copy-v426 small,
html body #view-admin #adminPermissionsPagesV426 > .lf-split-tabs-v426 .lf-split-tab-v426[aria-selected="true"] .lf-split-tab-copy-v426 small{
  color:rgba(255,255,255,.78)!important;
}

/* Main permissions card. */
html body #view-admin #adminPermissionsPagesV426 .admin-permissions-card-v439{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #d4d4d4!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:0 4px 16px rgba(82,82,82,.06)!important;
  box-sizing:border-box!important;
}
html body #view-admin #adminPermissionFormV327{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
html body #view-admin #adminPermissionsPagesV426 .lf-split-page-v426{
  width:100%!important;
  min-width:0!important;
  padding:18px!important;
  box-sizing:border-box!important;
}
html body #view-admin #adminPermissionsPagesV426 .lf-split-page-v426[hidden]{
  display:none!important;
}

/* Page 1 selector stays compact. */
html body #view-admin #adminPermissionsUserPageV426 .admin-permissions-user-field-v439{
  width:min(520px,100%)!important;
  margin:0!important;
}
html body #view-admin #adminPermissionsUserPageV426 .admin-permissions-user-field-v439 label{
  display:block!important;
  margin:0 0 6px!important;
  color:#404040!important;
  font-size:10px!important;
  font-weight:800!important;
}
html body #view-admin #adminPermissionsUserPageV426 .admin-permissions-user-field-v439 select{
  width:100%!important;
  height:42px!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#fafafa!important;
  box-sizing:border-box!important;
}
html body #view-admin #adminPermissionsUserPageV426 .admin-permissions-user-note-v439{
  width:min(720px,100%)!important;
  margin:12px 0!important;
  padding:11px 13px!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#fafafa!important;
  color:#404040!important;
  font-size:10px!important;
  line-height:1.45!important;
  box-sizing:border-box!important;
}

/* Page 2 heading. */
html body #view-admin #adminPermissionsEditorPageV426 > .admin-permission-title-v324{
  display:block!important;
  margin:0 0 10px!important;
  color:#404040!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1.2!important;
}
html body #view-admin #adminPermissionEditorV327{
  width:100%!important;
  min-width:0!important;
}

/* Permission intro / legend is readable instead of concatenated. */
html body #view-admin #adminPermissionEditorV327 .admin-permission-editor-v373{
  width:100%!important;
  min-width:0!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-intro-v373{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  width:100%!important;
  margin:0 0 14px!important;
  padding:12px 14px!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#fafafa!important;
  box-sizing:border-box!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-intro-v373 > div:first-child{
  min-width:0!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-intro-v373 strong{
  display:block!important;
  margin:0 0 3px!important;
  color:#404040!important;
  font-size:11px!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-intro-v373 > div:first-child > span{
  display:block!important;
  color:#404040!important;
  font-size:9.5px!important;
  line-height:1.4!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-legend-v373{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex:0 0 auto!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-legend-v373 > span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:40px!important;
  min-height:26px!important;
  padding:0 8px!important;
  border:1px solid #d4d4d4!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:800!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}

/* FINANCE / BUSINESS / SYSTEM permission groups. */
html body #view-admin #adminPermissionEditorV327 .admin-permission-groups-v370{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:13px!important;
  width:100%!important;
  align-items:start!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-group-v370{
  min-width:0!important;
  overflow:hidden!important;
  border:1px solid #d4d4d4!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:0 2px 8px rgba(82,82,82,.04)!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-group-title-v370{
  display:flex!important;
  align-items:center!important;
  min-height:38px!important;
  margin:0!important;
  padding:0 12px!important;
  border-bottom:1px solid #d4d4d4!important;
  background:#f4f4f4!important;
  color:#404040!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.055em!important;
  text-transform:uppercase!important;
  box-sizing:border-box!important;
}

/* Individual modules become structured rows. */
html body #view-admin #adminPermissionEditorV327 .admin-permission-row-v370{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  min-height:58px!important;
  margin:0!important;
  padding:9px 10px!important;
  border:0!important;
  border-bottom:1px solid #ececec!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-row-v370:last-child{
  border-bottom:0!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-row-v370:hover{
  background:#fbfbfb!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-row-copy-v370{
  min-width:0!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-row-copy-v370 strong{
  display:block!important;
  margin:0 0 3px!important;
  color:#404040!important;
  font-size:10px!important;
  line-height:1.25!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-row-copy-v370 span{
  display:block!important;
  color:#404040!important;
  font-size:8.5px!important;
  line-height:1.32!important;
}

/* View/Edit controls look like switches and stay aligned. */
html body #view-admin #adminPermissionEditorV327 .admin-permission-toggles-v376{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  flex:0 0 auto!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-control-v376,
html body #view-admin #adminPermissionEditorV327 .admin-permission-unavailable-v376{
  display:grid!important;
  justify-items:center!important;
  gap:4px!important;
  min-width:48px!important;
  margin:0!important;
  padding:5px 6px!important;
  border:1px solid #d4d4d4!important;
  border-radius:8px!important;
  background:#fbfbfb!important;
  box-sizing:border-box!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-switch-copy-v376{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  color:#404040!important;
  font-size:8px!important;
  font-weight:800!important;
  line-height:1!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-switch-copy-v376 small{
  color:#404040!important;
  font-size:7px!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-control-v376 input{
  position:absolute!important;
  opacity:0!important;
  pointer-events:none!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-switch-track-v376{
  position:relative!important;
  display:block!important;
  width:30px!important;
  height:17px!important;
  border-radius:999px!important;
  background:#e5e5e5!important;
  transition:background .15s ease!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-switch-thumb-v376{
  position:absolute!important;
  top:2px!important;
  left:2px!important;
  width:13px!important;
  height:13px!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 1px 3px rgba(0,0,0,.2)!important;
  transition:transform .15s ease!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-control-v376:has(input:checked){
  border-color:#d4d4d4!important;
  background:#f5f5f5!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-control-v376:has(input:checked) .admin-permission-switch-track-v376{
  background:#e5e5e5!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-control-v376:has(input:checked) .admin-permission-switch-thumb-v376{
  transform:translateX(13px)!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-unavailable-v376{
  opacity:.62!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-unavailable-v376 span{
  color:#404040!important;
  font-size:8px!important;
  font-weight:800!important;
}
html body #view-admin #adminPermissionEditorV327 .admin-permission-unavailable-v376 small{
  color:#404040!important;
  font-size:7px!important;
}

/* Bottom actions are separated and easy to find. */
html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-bottom-actions-v439{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  margin:16px 0 0!important;
  padding-top:14px!important;
  border-top:1px solid #e4e4e4!important;
  box-sizing:border-box!important;
}
html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-bottom-actions-v439 .message{
  flex:1 1 auto!important;
  min-width:0!important;
  margin:0!important;
}
html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-back-v439,
html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-reset-v439,
html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-confirm-v439,
html body #view-admin #adminPermissionsUserPageV426 .admin-permissions-continue-v439{
  min-height:40px!important;
  padding:0 14px!important;
  border-radius:9px!important;
  font-weight:800!important;
  box-sizing:border-box!important;
}
html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-confirm-v439,
html body #view-admin #adminPermissionsUserPageV426 .admin-permissions-continue-v439{
  border:1px solid #d4d4d4!important;
  background:#e5e5e5!important;
  color:#fff!important;
}

@media (max-width:980px){
  html body #view-admin #adminPermissionEditorV327 .admin-permission-groups-v370{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media (max-width:700px){
  html body #view-admin [data-admin-panel="permissions"]{
    width:calc(100% - 16px)!important;
  }
  html body #view-admin #adminPermissionsPageStatusV439{
    grid-template-columns:1fr!important;
    gap:5px!important;
  }
  html body #view-admin #adminPermissionsPageStatusV439 .admin-permissions-page-status-title-v439{
    justify-self:start!important;
  }
  html body #view-admin #adminPermissionsPagesV426 > .lf-split-tabs-v426{
    grid-template-columns:1fr!important;
  }
  html body #view-admin #adminPermissionEditorV327 .admin-permission-intro-v373{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  html body #view-admin #adminPermissionEditorV327 .admin-permission-groups-v370{
    grid-template-columns:1fr!important;
  }
  html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-bottom-actions-v439{
    align-items:stretch!important;
    flex-direction:column!important;
  }
  html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-bottom-actions-v439 > button{
    width:100%!important;
  }
}


/* ========================= V325.592 — PERMISSIONS PAGE CONTINUE BUTTON FIX =========================
   The inline arrow SVG had no explicit dimensions, so browsers used its large
   intrinsic SVG size and stretched the Continue button vertically. Keep the
   action compact and make the icon inherit the button colour correctly. */
html body #view-admin #adminPermissionsUserPageV426 .admin-permissions-next-actions-v439{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:100%!important;
  margin:12px 0 0!important;
  padding:0!important;
}

html body #view-admin #adminPermissionsUserPageV426 .admin-permissions-continue-v439{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:auto!important;
  min-width:205px!important;
  max-width:100%!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  padding:0 16px!important;
  margin:0!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#e5e5e5!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  cursor:pointer!important;
  box-shadow:none!important;
}

html body #view-admin #adminPermissionsUserPageV426 .admin-permissions-continue-v439:hover{
  background:#e5e5e5!important;
  border-color:#d4d4d4!important;
}

html body #view-admin #adminPermissionsUserPageV426 .admin-permissions-continue-v439:focus-visible{
  outline:0!important;
  box-shadow:0 0 0 3px rgba(82,82,82,.18)!important;
}

html body #view-admin #adminPermissionsUserPageV426 .admin-permissions-continue-v439 > span{
  display:block!important;
  flex:0 1 auto!important;
  min-width:0!important;
  line-height:1.1!important;
}

html body #view-admin #adminPermissionsUserPageV426 .admin-permissions-continue-v439 > svg{
  display:block!important;
  width:16px!important;
  min-width:16px!important;
  max-width:16px!important;
  height:16px!important;
  min-height:16px!important;
  max-height:16px!important;
  flex:0 0 16px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

html body #view-admin #adminPermissionsUserPageV426 .admin-permissions-continue-v439 > svg path{
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* Keep the first permissions page naturally sized instead of looking empty. */
html body #view-admin #adminPermissionsUserPageV426{
  min-height:0!important;
  height:auto!important;
}

@media (max-width:700px){
  html body #view-admin #adminPermissionsUserPageV426 .admin-permissions-next-actions-v439{
    align-items:stretch!important;
  }
  html body #view-admin #adminPermissionsUserPageV426 .admin-permissions-continue-v439{
    width:100%!important;
    min-width:0!important;
  }
}


/* ========================= V325.593 — PERMISSION GROUP TABS FIX =========================
   The existing V443 script already marks one Finance / Business / System group
   with data-v443-active="1". The missing CSS meant all three groups stayed
   visible together, creating three narrow columns. Show only the selected
   permission group and give it the full available width. */

html body #view-admin #adminPermissionEditorV327 .admin-permission-section-tabs-v443{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  margin:0 0 12px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-sizing:border-box!important;
}

html body #view-admin #adminPermissionEditorV327 .admin-permission-section-tab-v443{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:104px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 15px!important;
  margin:0!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#404040!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  line-height:1!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
  box-shadow:none!important;
}

html body #view-admin #adminPermissionEditorV327 .admin-permission-section-tab-v443:hover{
  border-color:#d4d4d4!important;
  background:#f8f8f8!important;
}

html body #view-admin #adminPermissionEditorV327 .admin-permission-section-tab-v443[aria-selected="true"]{
  border-color:#d4d4d4!important;
  background:#e5e5e5!important;
  color:#fff!important;
  box-shadow:0 4px 11px rgba(82,82,82,.16)!important;
}

html body #view-admin #adminPermissionEditorV327 .admin-permission-section-tab-v443:focus-visible{
  outline:0!important;
  box-shadow:0 0 0 3px rgba(82,82,82,.18)!important;
}

/* The category tabs control visibility: only the clicked group is shown. */
html body #view-admin #adminPermissionEditorV327 .admin-permission-groups-v370{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}

html body #view-admin #adminPermissionEditorV327 .admin-permission-group-v370{
  display:none!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}

html body #view-admin #adminPermissionEditorV327 .admin-permission-group-v370[data-v443-active="1"]{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:0!important;
  width:100%!important;
  max-width:none!important;
}

/* Keep the selected group heading across the full card. */
html body #view-admin #adminPermissionEditorV327
.admin-permission-group-v370[data-v443-active="1"]
.admin-permission-group-title-v370{
  grid-column:1 / -1!important;
  min-height:42px!important;
  padding:0 14px!important;
  font-size:11px!important;
}

/* Each module is a comfortable half-width permission row on desktop. */
html body #view-admin #adminPermissionEditorV327
.admin-permission-group-v370[data-v443-active="1"]
.admin-permission-row-v370{
  min-height:68px!important;
  padding:10px 12px!important;
  border-bottom:1px solid #ebebeb!important;
  box-sizing:border-box!important;
}

html body #view-admin #adminPermissionEditorV327
.admin-permission-group-v370[data-v443-active="1"]
.admin-permission-row-v370:nth-child(even){
  border-right:1px solid #ebebeb!important;
}

/* Permission names/descriptions get enough room and no awkward wrapping. */
html body #view-admin #adminPermissionEditorV327
.admin-permission-group-v370[data-v443-active="1"]
.admin-permission-row-copy-v370 strong{
  font-size:11px!important;
  line-height:1.25!important;
}

html body #view-admin #adminPermissionEditorV327
.admin-permission-group-v370[data-v443-active="1"]
.admin-permission-row-copy-v370 span{
  max-width:220px!important;
  font-size:9px!important;
  line-height:1.35!important;
}

/* Slightly larger, clearer View/Edit controls now that the group has room. */
html body #view-admin #adminPermissionEditorV327
.admin-permission-group-v370[data-v443-active="1"]
.admin-permission-control-v376,
html body #view-admin #adminPermissionEditorV327
.admin-permission-group-v370[data-v443-active="1"]
.admin-permission-unavailable-v376{
  min-width:58px!important;
  padding:6px 7px!important;
}

html body #view-admin #adminPermissionEditorV327
.admin-permission-group-v370[data-v443-active="1"]
.admin-permission-switch-copy-v376{
  font-size:8.5px!important;
}

/* Tablet: selected category stays full-width, module rows become one column. */
@media (max-width:900px){
  html body #view-admin #adminPermissionEditorV327
  .admin-permission-group-v370[data-v443-active="1"]{
    grid-template-columns:1fr!important;
  }

  html body #view-admin #adminPermissionEditorV327
  .admin-permission-group-v370[data-v443-active="1"]
  .admin-permission-row-v370{
    border-right:0!important;
  }
}

@media (max-width:600px){
  html body #view-admin #adminPermissionEditorV327 .admin-permission-section-tabs-v443{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }

  html body #view-admin #adminPermissionEditorV327 .admin-permission-section-tab-v443{
    width:100%!important;
    min-width:0!important;
    padding:0 8px!important;
    font-size:10px!important;
  }

  html body #view-admin #adminPermissionEditorV327 .admin-permission-row-v370{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px!important;
  }
}


/* ========================= V325.594 — PERMISSIONS ACTION BAR FIX =========================
   Back / Confirm SVGs had no explicit dimensions, so they could expand and
   make the action buttons huge. Also let page 2 use the available card width. */

html body #view-admin #adminPermissionsEditorPageV426,
html body #view-admin #adminPermissionEditorV327,
html body #view-admin #adminPermissionEditorV327 .admin-permission-editor-v373{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

/* Keep the actual permission editor comfortable rather than squeezed to the left. */
html body #view-admin #adminPermissionEditorV327 .admin-permission-intro-v373,
html body #view-admin #adminPermissionEditorV327 .admin-permission-section-tabs-v443,
html body #view-admin #adminPermissionEditorV327 .admin-permission-groups-v370{
  max-width:920px!important;
}

/* Clean action footer across the permission editor. */
html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-bottom-actions-v439{
  display:grid!important;
  grid-template-columns:auto auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  max-width:920px!important;
  min-height:58px!important;
  margin:16px 0 0!important;
  padding:14px 0 0!important;
  border-top:1px solid #e4e4e4!important;
  box-sizing:border-box!important;
}

/* All three actions use a standard compact control height. */
html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-back-v439,
html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-reset-v439,
html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-confirm-v439{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  width:auto!important;
  min-width:0!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  margin:0!important;
  padding:0 15px!important;
  border-radius:9px!important;
  font-size:11px!important;
  font-weight:850!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

/* Back */
html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-back-v439{
  grid-column:1!important;
  border:1px solid #d4d4d4!important;
  background:#fff!important;
  color:#404040!important;
}

/* Reset */
html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-reset-v439{
  grid-column:2!important;
  border:1px solid #d4d4d4!important;
  background:#fff!important;
  color:#404040!important;
}

/* Message occupies the flexible center space. */
html body #view-admin #adminPermissionsEditorPageV426 #adminPermissionMsgV327{
  grid-column:3!important;
  min-width:0!important;
  margin:0!important;
}

/* Confirm stays on the right. */
html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-confirm-v439{
  grid-column:4!important;
  min-width:112px!important;
  border:1px solid #d4d4d4!important;
  background:#e5e5e5!important;
  color:#fff!important;
}

/* Disabled state stays visibly disabled without changing dimensions. */
html body #view-admin #adminPermissionsEditorPageV426
:is(.admin-permissions-reset-v439,.admin-permissions-confirm-v439):disabled{
  opacity:.48!important;
  cursor:not-allowed!important;
}

/* Critical: stop Back / Confirm SVG icons from becoming giant. */
html body #view-admin #adminPermissionsEditorPageV426
:is(.admin-permissions-back-v439,.admin-permissions-confirm-v439) > svg{
  display:block!important;
  width:15px!important;
  min-width:15px!important;
  max-width:15px!important;
  height:15px!important;
  min-height:15px!important;
  max-height:15px!important;
  flex:0 0 15px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  box-sizing:border-box!important;
}

html body #view-admin #adminPermissionsEditorPageV426
:is(.admin-permissions-back-v439,.admin-permissions-confirm-v439) > svg path{
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* Hover/focus */
html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-back-v439:hover,
html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-reset-v439:not(:disabled):hover{
  background:#f8f8f8!important;
  border-color:#d4d4d4!important;
}

html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-confirm-v439:not(:disabled):hover{
  background:#e5e5e5!important;
  border-color:#d4d4d4!important;
}

html body #view-admin #adminPermissionsEditorPageV426
:is(.admin-permissions-back-v439,.admin-permissions-reset-v439,.admin-permissions-confirm-v439):focus-visible{
  outline:0!important;
  box-shadow:0 0 0 3px rgba(82,82,82,.17)!important;
}

/* Tablet / mobile */
@media (max-width:760px){
  html body #view-admin #adminPermissionEditorV327 .admin-permission-intro-v373,
  html body #view-admin #adminPermissionEditorV327 .admin-permission-section-tabs-v443,
  html body #view-admin #adminPermissionEditorV327 .admin-permission-groups-v370,
  html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-bottom-actions-v439{
    max-width:none!important;
  }

  html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-bottom-actions-v439{
    grid-template-columns:1fr 1fr!important;
  }

  html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-back-v439{
    grid-column:1!important;
    width:100%!important;
  }

  html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-reset-v439{
    grid-column:2!important;
    width:100%!important;
  }

  html body #view-admin #adminPermissionsEditorPageV426 #adminPermissionMsgV327{
    grid-column:1 / -1!important;
  }

  html body #view-admin #adminPermissionsEditorPageV426 .admin-permissions-confirm-v439{
    grid-column:1 / -1!important;
    width:100%!important;
  }
}


/* ========================= V325.595 — TIDY API CONNECTIONS ========================= */
html body #view-admin [data-admin-panel="api"]{width:100%!important;box-sizing:border-box!important}
html body #view-admin [data-admin-panel="api"] > .admin-panel-heading-v327,
html body #view-admin [data-admin-panel="api"] > .admin-team-card-v324{width:min(100%,1120px)!important;max-width:1120px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
html body #view-admin [data-admin-panel="api"] > .admin-team-card-v324{padding:18px!important}
html body #view-admin [data-admin-panel="api"] .admin-card-title-v324{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding-bottom:14px!important;border-bottom:1px solid #e9e9e9!important}
html body #view-admin [data-admin-panel="api"] .admin-card-title-v324 > div{min-width:0!important}
html body #view-admin [data-admin-panel="api"] .admin-card-title-v324 strong{display:block!important;margin-bottom:3px!important}
html body #view-admin [data-admin-panel="api"] #adminApiToggleV325{flex:0 0 auto!important;width:auto!important;min-width:118px!important;height:38px!important;min-height:38px!important;padding:0 14px!important;border-radius:9px!important;font-size:11px!important;font-weight:850!important}
html body #view-admin [data-admin-panel="api"] .admin-team-card-v324:has(#adminApiFormV325:not([hidden])) #adminApiToggleV325{display:none!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 18px!important;width:min(100%,860px)!important;max-width:860px!important;margin:18px auto 0!important;padding:18px!important;border:1px solid #d4d4d4!important;border-radius:13px!important;background:#fdfdfd!important;box-shadow:0 5px 16px rgba(82,82,82,.06)!important;box-sizing:border-box!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .lf-api-form-header-v377{grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:38px!important;padding-bottom:12px!important;border-bottom:1px solid #e8e8e8!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .lf-api-form-header-v377 strong{font-size:14px!important;font-weight:900!important;color:#404040!important}
html body #view-admin [data-admin-panel="api"] #adminApiCancelV325{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;padding:0!important;border:1px solid #d4d4d4!important;border-radius:9px!important;background:#fff!important;color:#404040!important;font-size:20px!important;font-weight:500!important;line-height:1!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field{display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;margin:0!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field label{margin:0!important;font-size:10px!important;font-weight:850!important;color:#404040!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 :is(input,select){width:100%!important;max-width:100%!important;min-height:40px!important;height:40px!important;box-sizing:border-box!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field:has(#adminApiNameV325){grid-column:1!important;grid-row:2!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field:has(#adminApiAuthV325){grid-column:2!important;grid-row:2!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field:has(#adminApiUrlV325){grid-column:1/-1!important;grid-row:3!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field:has(#adminApiSecretV325){grid-column:1/-1!important;grid-row:4!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .admin-create-actions-v324{grid-column:1/-1!important;grid-row:5!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;min-height:42px!important;padding-top:2px!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .admin-create-actions-v324 > button{width:auto!important;min-width:126px!important;height:40px!important;min-height:40px!important;padding:0 18px!important;border-radius:9px!important}
html body #view-admin [data-admin-panel="api"] #adminApiMsgV325{flex:1 1 auto!important;min-width:0!important;margin:0!important}
html body #view-admin [data-admin-panel="api"] #adminApiTableV325{display:block!important;width:100%!important;min-width:0!important;margin:18px 0 0!important;padding-top:14px!important;border-top:1px solid #e9e9e9!important;overflow-x:auto!important;box-sizing:border-box!important;color:#404040!important}
html body #view-admin [data-admin-panel="api"] #adminApiTableV325::before{content:"Saved connections"!important;display:block!important;margin:0 0 9px!important;color:#404040!important;font-size:12px!important;font-weight:900!important}
html body #view-admin [data-admin-panel="api"] #adminApiTableV325 table{width:100%!important;min-width:720px!important;border-collapse:separate!important;border-spacing:0!important}
@media(max-width:820px){
 html body #view-admin [data-admin-panel="api"] #adminApiFormV325:not([hidden]){width:100%!important;max-width:none!important;grid-template-columns:1fr!important;padding:16px!important}
 html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field:has(#adminApiNameV325),html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field:has(#adminApiAuthV325),html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field:has(#adminApiUrlV325),html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field:has(#adminApiSecretV325){grid-column:1!important;grid-row:auto!important}
 html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .admin-create-actions-v324{grid-column:1!important;grid-row:auto!important}
}
@media(max-width:600px){
 html body #view-admin [data-admin-panel="api"] > .admin-team-card-v324{padding:14px!important}
 html body #view-admin [data-admin-panel="api"] .admin-card-title-v324{align-items:flex-start!important;flex-direction:column!important}
 html body #view-admin [data-admin-panel="api"] #adminApiToggleV325{width:100%!important}
 html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .admin-create-actions-v324{flex-direction:column-reverse!important;align-items:stretch!important}
 html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .admin-create-actions-v324 > button{width:100%!important}
}


/* ========================= V325.596 — TIDY CREATE TEAM USER ========================= */
html body #view-admin [data-admin-panel="create"] > .admin-panel-heading-v327,
html body #view-admin [data-admin-panel="create"] > #adminCreatePageStatusV438,
html body #view-admin [data-admin-panel="create"] > #adminCreatePagesV426{
  width:min(100%,1080px)!important;max-width:1080px!important;
  margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePageStatusV438{
  display:flex!important;align-items:center!important;gap:10px!important;
  min-height:42px!important;padding:0 12px!important;margin-top:10px!important;
  border:1px solid #d4d4d4!important;border-radius:10px!important;background:#fbfbfb!important;
}
html body #view-admin [data-admin-panel="create"] #adminCreatePageStatusV438 .admin-create-page-status-label-v438{
  display:inline-flex!important;align-items:center!important;min-height:24px!important;padding:0 9px!important;
  border-radius:999px!important;background:#f2f2f2!important;color:#404040!important;
  font-size:9px!important;font-weight:900!important;letter-spacing:.04em!important;
}
html body #view-admin [data-admin-panel="create"] #adminCreatePageStatusV438 .admin-create-page-status-step-v438{
  font-size:10px!important;font-weight:800!important;color:#404040!important;
}
html body #view-admin [data-admin-panel="create"] #adminCreatePageStatusV438 .admin-create-page-status-title-v438{
  margin-left:auto!important;font-size:11px!important;color:#404040!important;
}

/* Step tabs */
html body #view-admin [data-admin-panel="create"] #adminCreatePagesV426 > .lf-split-tabs-v426{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;
  margin:10px 0 12px!important;padding:7px!important;border:1px solid #d4d4d4!important;
  border-radius:11px!important;background:#f8f8f8!important;
}
html body #view-admin [data-admin-panel="create"] #adminCreatePagesV426 .lf-split-tab-v426{
  display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;
  min-height:58px!important;padding:8px 12px!important;border:1px solid #d4d4d4!important;
  border-radius:9px!important;background:#fff!important;color:#404040!important;box-sizing:border-box!important;
}
html body #view-admin [data-admin-panel="create"] #adminCreatePagesV426 .lf-split-tab-v426.active,
html body #view-admin [data-admin-panel="create"] #adminCreatePagesV426 .lf-split-tab-v426[aria-selected="true"]{
  border-color:#d4d4d4!important;background:#e5e5e5!important;color:#fff!important;
  box-shadow:0 4px 12px rgba(82,82,82,.14)!important;
}
html body #view-admin [data-admin-panel="create"] #adminCreatePagesV426 .lf-split-tab-number-v426{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:30px!important;height:30px!important;border-radius:8px!important;background:#f1f1f1!important;
  color:#404040!important;font-size:11px!important;font-weight:900!important;
}
html body #view-admin [data-admin-panel="create"] #adminCreatePagesV426 .lf-split-tab-v426.active .lf-split-tab-number-v426,
html body #view-admin [data-admin-panel="create"] #adminCreatePagesV426 .lf-split-tab-v426[aria-selected="true"] .lf-split-tab-number-v426{
  background:rgba(255,255,255,.17)!important;color:#fff!important;
}
html body #view-admin [data-admin-panel="create"] #adminCreatePagesV426 .lf-split-tab-copy-v426{
  display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important;text-align:left!important;
}
html body #view-admin [data-admin-panel="create"] #adminCreatePagesV426 .lf-split-tab-copy-v426 strong{
  display:block!important;font-size:11px!important;font-weight:900!important;line-height:1.2!important;
}
html body #view-admin [data-admin-panel="create"] #adminCreatePagesV426 .lf-split-tab-copy-v426 small{
  display:block!important;font-size:9px!important;line-height:1.25!important;opacity:.82!important;
}

/* Compact detail card */
html body #view-admin [data-admin-panel="create"] .admin-create-card-v324{
  width:min(100%,900px)!important;max-width:900px!important;margin:0 auto!important;
  padding:18px!important;border:1px solid #d4d4d4!important;border-radius:12px!important;background:#fff!important;
  box-sizing:border-box!important;
}
html body #view-admin [data-admin-panel="create"] #adminCreateDetailsPageV426{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:13px 18px!important;width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;
}
html body #view-admin [data-admin-panel="create"] #adminCreateDetailsPageV426 > .field{
  display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;margin:0!important;
}
html body #view-admin [data-admin-panel="create"] #adminCreateDetailsPageV426 > .field label{
  margin:0!important;font-size:10px!important;font-weight:850!important;color:#404040!important;
}
html body #view-admin [data-admin-panel="create"] #adminCreateDetailsPageV426 :is(input,select,textarea){
  width:100%!important;max-width:100%!important;min-height:40px!important;height:40px!important;box-sizing:border-box!important;
}
html body #view-admin [data-admin-panel="create"] #adminCreateDetailsMsgV440{
  grid-column:1/-1!important;margin:0!important;
}

/* Continue footer */
html body #view-admin [data-admin-panel="create"] #adminCreateDetailsPageV426 .admin-create-next-actions-v436{
  grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;
  width:100%!important;margin-top:2px!important;padding-top:14px!important;border-top:1px solid #e8e8e8!important;box-sizing:border-box!important;
}
html body #view-admin [data-admin-panel="create"] #adminCreateNextButtonV435.admin-create-continue-v436{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  width:auto!important;min-width:188px!important;height:40px!important;min-height:40px!important;max-height:40px!important;
  padding:0 16px!important;margin:0!important;border:1px solid #d4d4d4!important;border-radius:9px!important;
  background:#e5e5e5!important;color:#fff!important;font-size:11px!important;font-weight:900!important;
  line-height:1!important;white-space:nowrap!important;overflow:hidden!important;box-sizing:border-box!important;
  box-shadow:none!important;transform:none!important;
}
html body #view-admin [data-admin-panel="create"] #adminCreateNextButtonV435.admin-create-continue-v436 > svg{
  display:block!important;width:15px!important;min-width:15px!important;max-width:15px!important;
  height:15px!important;min-height:15px!important;max-height:15px!important;flex:0 0 15px!important;
  margin:0!important;padding:0!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}
html body #view-admin [data-admin-panel="create"] #adminCreateNextButtonV435.admin-create-continue-v436 > svg path{
  fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
html body #view-admin [data-admin-panel="create"] #adminCreateNextButtonV435.admin-create-continue-v436:hover{
  background:#e5e5e5!important;border-color:#d4d4d4!important;transform:none!important;box-shadow:none!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsPageV426{
  width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;
}

@media(max-width:800px){
  html body #view-admin [data-admin-panel="create"] .admin-create-card-v324{width:100%!important;max-width:none!important;}
  html body #view-admin [data-admin-panel="create"] #adminCreateDetailsPageV426{grid-template-columns:1fr!important;}
  html body #view-admin [data-admin-panel="create"] #adminCreateDetailsMsgV440,
  html body #view-admin [data-admin-panel="create"] #adminCreateDetailsPageV426 .admin-create-next-actions-v436{grid-column:1!important;}
}
@media(max-width:600px){
  html body #view-admin [data-admin-panel="create"] #adminCreatePagesV426 > .lf-split-tabs-v426{grid-template-columns:1fr!important;}
  html body #view-admin [data-admin-panel="create"] .admin-create-card-v324{padding:14px!important;}
  html body #view-admin [data-admin-panel="create"] #adminCreateDetailsPageV426 .admin-create-next-actions-v436{justify-content:stretch!important;}
  html body #view-admin [data-admin-panel="create"] #adminCreateNextButtonV435.admin-create-continue-v436{width:100%!important;}
}


/* ========================= V325.597 — TEAM USER REQUIRED BEFORE PAGE 2 ========================= */

html body #view-admin [data-admin-panel="permissions"] .admin-required-mark-v597{
  color:#c94a4a!important;
  font-weight:900!important;
}

html body #view-admin [data-admin-panel="permissions"] #adminPermissionsEditorTabV426[aria-disabled="true"]{
  opacity:.52!important;
  cursor:not-allowed!important;
  background:#f8f8f8!important;
  border-color:#e0e0e0!important;
  color:#404040!important;
  box-shadow:none!important;
}

html body #view-admin [data-admin-panel="permissions"] #adminPermissionsEditorTabV426[aria-disabled="true"]:hover{
  background:#f8f8f8!important;
  border-color:#e0e0e0!important;
}

html body #view-admin [data-admin-panel="permissions"] #adminPermissionUserV327:invalid{
  border-color:#d9a1a1!important;
}

html body #view-admin [data-admin-panel="permissions"] #adminPermissionUserRequiredMsgV597{
  display:none;
  width:min(100%,545px);
  margin-top:8px;
  padding:9px 11px;
  border:1px solid #efc5c5;
  border-radius:8px;
  background:#fff7f7;
  color:#a33d3d;
  font-size:10px;
  font-weight:750;
  line-height:1.35;
  box-sizing:border-box;
}

html body #view-admin [data-admin-panel="permissions"] #adminPermissionUserRequiredMsgV597.show{
  display:block!important;
}



/* ========================= V325.598 — TIDY PERSONAL SETTINGS ========================= */

html body #view-settings.premium-settings-v270{
  width:min(100%,1120px)!important;
  max-width:1120px!important;
  margin:0 auto!important;
  padding:22px 20px 28px!important;
  box-sizing:border-box!important;
}

html body #view-settings .premium-settings-head-v270{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:18px!important;
  width:100%!important;
  margin:0 0 14px!important;
  padding:0!important;
  box-sizing:border-box!important;
}

html body #view-settings .premium-settings-head-v270 h1{
  margin:2px 0 3px!important;
  font-size:25px!important;
  line-height:1.1!important;
}

html body #view-settings .premium-settings-sub-v270{
  max-width:660px!important;
  font-size:11px!important;
  line-height:1.45!important;
  color:#404040!important;
}

html body #view-settings .premium-settings-badge-v270{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:32px!important;
  padding:0 11px!important;
  border:1px solid #d4d4d4!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#404040!important;
  font-size:10px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}

/* Two clean cards per row on desktop. */
html body #view-settings .premium-settings-grid-v270{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  width:100%!important;
  margin:0!important;
  box-sizing:border-box!important;
}

html body #view-settings .premium-setting-card-v270{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  margin:0!important;
  padding:16px!important;
  border:1px solid #d4d4d4!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 3px 10px rgba(82,82,82,.035)!important;
  box-sizing:border-box!important;
}

html body #view-settings .premium-setting-card-v270.premium-setting-security-v270{
  grid-column:1 / -1!important;
}

html body #view-settings .premium-setting-card-top-v270{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  align-items:start!important;
  gap:11px!important;
  margin:0 0 14px!important;
  padding:0 0 13px!important;
  border-bottom:1px solid #eaeaea!important;
}

html body #view-settings .premium-setting-icon-v270{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:38px!important;
  min-width:38px!important;
  max-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  margin:0!important;
  padding:0!important;
  border-radius:10px!important;
  box-sizing:border-box!important;
}

html body #view-settings .premium-setting-icon-v270 svg{
  display:block!important;
  width:19px!important;
  height:19px!important;
  min-width:19px!important;
  min-height:19px!important;
  max-width:19px!important;
  max-height:19px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

html body #view-settings .premium-setting-title-v270{
  min-width:0!important;
}

html body #view-settings .premium-setting-kicker-v270{
  margin:0 0 2px!important;
  font-size:9px!important;
  font-weight:850!important;
  letter-spacing:.02em!important;
  color:#404040!important;
}

html body #view-settings .premium-setting-title-v270 h2{
  margin:0 0 3px!important;
  font-size:16px!important;
  line-height:1.18!important;
  color:#404040!important;
}

html body #view-settings .premium-setting-title-v270 p{
  margin:0!important;
  max-width:560px!important;
  font-size:10px!important;
  line-height:1.4!important;
  color:#404040!important;
}

html body #view-settings .premium-setting-control-v270{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}

html body #view-settings .premium-setting-control-v270 label{
  display:block!important;
  margin:0 0 3px!important;
  font-size:10px!important;
  font-weight:850!important;
  color:#404040!important;
}

html body #view-settings .premium-setting-help-v270{
  margin:0!important;
  max-width:100%!important;
  font-size:9px!important;
  line-height:1.4!important;
  color:#404040!important;
}

html body #view-settings .premium-setting-control-v270 select{
  width:100%!important;
  max-width:100%!important;
  min-height:40px!important;
  height:40px!important;
  margin:0!important;
  padding-left:12px!important;
  border-radius:8px!important;
  box-sizing:border-box!important;
}

html body #view-settings #currencySettingV188{
  background-color:#f7f7f7!important;
  color:#404040!important;
}

/* Security options sit side by side and stay compact. */
html body #view-settings .premium-security-options-v270{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  margin:0!important;
}

html body #view-settings .premium-security-item-v270{
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:11px!important;
  min-width:0!important;
  min-height:70px!important;
  padding:12px!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#fcfcfc!important;
  box-sizing:border-box!important;
}

html body #view-settings .premium-security-item-icon-v270{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  max-width:36px!important;
  max-height:36px!important;
  border-radius:9px!important;
  background:#f1f1f1!important;
  color:#404040!important;
}

html body #view-settings .premium-security-item-icon-v270 svg{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  max-width:18px!important;
  max-height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

html body #view-settings .premium-security-copy-v270{
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
  min-width:0!important;
}

html body #view-settings .premium-security-copy-v270 strong{
  font-size:11px!important;
  color:#404040!important;
}

html body #view-settings .premium-security-copy-v270 span{
  font-size:9px!important;
  line-height:1.35!important;
  color:#404040!important;
}

html body #view-settings .premium-setting-action-v270{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:124px!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  padding:0 13px!important;
  margin:0!important;
  border-radius:8px!important;
  font-size:10px!important;
  font-weight:850!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}

@media(max-width:860px){
  html body #view-settings.premium-settings-v270{
    max-width:none!important;
    padding:18px 16px 24px!important;
  }

  html body #view-settings .premium-settings-grid-v270{
    grid-template-columns:1fr!important;
  }

  html body #view-settings .premium-setting-card-v270.premium-setting-security-v270{
    grid-column:1!important;
  }

  html body #view-settings .premium-security-options-v270{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:600px){
  html body #view-settings .premium-settings-head-v270{
    align-items:flex-start!important;
    flex-direction:column!important;
  }

  html body #view-settings .premium-settings-badge-v270{
    display:none!important;
  }

  html body #view-settings .premium-setting-card-v270{
    padding:14px!important;
  }

  html body #view-settings .premium-security-item-v270{
    grid-template-columns:34px minmax(0,1fr)!important;
  }

  html body #view-settings .premium-setting-action-v270{
    grid-column:1 / -1!important;
    width:100%!important;
  }
}


/* ========================= V325.599 — TIDY ADMIN SECURITY ========================= */

html body #view-admin [data-admin-panel="security"]{
  width:100%!important;
  box-sizing:border-box!important;
}

html body #view-admin [data-admin-panel="security"] > .admin-panel-heading-v327,
html body #view-admin [data-admin-panel="security"] > .admin-security-layout-v327{
  width:min(100%,1120px)!important;
  max-width:1120px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

html body #view-admin [data-admin-panel="security"] > .admin-panel-heading-v327{
  margin-bottom:14px!important;
}

/* Two balanced cards, but don't stretch the short MFA card to the tall form. */
html body #view-admin [data-admin-panel="security"] .admin-security-layout-v327{
  display:grid!important;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr)!important;
  gap:16px!important;
  align-items:start!important;
}

html body #view-admin [data-admin-panel="security"] .admin-security-card-v327,
html body #view-admin [data-admin-panel="security"] .admin-mfa-card-v327{
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  align-self:start!important;
  margin:0!important;
  padding:18px!important;
  border:1px solid #d4d4d4!important;
  border-radius:12px!important;
  background:#fff!important;
  box-sizing:border-box!important;
}

/* Main security form */
html body #view-admin [data-admin-panel="security"] #adminSecurityFormV327{
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
  width:100%!important;
  min-width:0!important;
}

/* Checkbox option blocks */
html body #view-admin [data-admin-panel="security"] .admin-security-switch-v327{
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr)!important;
  align-items:start!important;
  gap:10px!important;
  width:100%!important;
  margin:0!important;
  padding:12px!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#fcfcfc!important;
  box-sizing:border-box!important;
  cursor:pointer!important;
}

html body #view-admin [data-admin-panel="security"] .admin-security-switch-v327 > input{
  width:16px!important;
  min-width:16px!important;
  max-width:16px!important;
  height:16px!important;
  min-height:16px!important;
  max-height:16px!important;
  margin:2px 0 0!important;
  padding:0!important;
  accent-color:#737373!important;
}

html body #view-admin [data-admin-panel="security"] .admin-security-switch-v327 > span{
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
  min-width:0!important;
}

html body #view-admin [data-admin-panel="security"] .admin-security-switch-v327 strong{
  display:block!important;
  margin:0!important;
  color:#404040!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1.3!important;
}

html body #view-admin [data-admin-panel="security"] .admin-security-switch-v327 small{
  display:block!important;
  margin:0!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:500!important;
  line-height:1.4!important;
}

/* Standard fields */
html body #view-admin [data-admin-panel="security"] .admin-security-field-v327{
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}

html body #view-admin [data-admin-panel="security"] .admin-security-field-v327 > label{
  display:block!important;
  margin:0!important;
  color:#404040!important;
  font-size:10px!important;
  font-weight:850!important;
  line-height:1.3!important;
}

html body #view-admin [data-admin-panel="security"] .admin-security-field-v327 > small{
  display:block!important;
  margin:0!important;
  color:#404040!important;
  font-size:9px!important;
  line-height:1.4!important;
}

/* Timeout input + unit */
html body #view-admin [data-admin-panel="security"] .admin-security-inline-v327{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  width:100%!important;
}

html body #view-admin [data-admin-panel="security"] #adminSessionTimeoutV327{
  width:180px!important;
  max-width:180px!important;
  min-height:40px!important;
  height:40px!important;
  padding:0 11px!important;
  box-sizing:border-box!important;
}

html body #view-admin [data-admin-panel="security"] .admin-security-inline-v327 > span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:40px!important;
  padding:0 11px!important;
  border:1px solid #d4d4d4!important;
  border-radius:8px!important;
  background:#f8f8f8!important;
  color:#404040!important;
  font-size:10px!important;
  font-weight:750!important;
  box-sizing:border-box!important;
}

/* IP list */
html body #view-admin [data-admin-panel="security"] #adminIpWhitelistV327{
  width:100%!important;
  max-width:100%!important;
  min-height:116px!important;
  height:116px!important;
  padding:10px 12px!important;
  resize:vertical!important;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important;
  font-size:10px!important;
  line-height:1.45!important;
  box-sizing:border-box!important;
}

/* Current IP becomes a readable information strip. */
html body #view-admin [data-admin-panel="security"] .admin-security-current-ip-v327{
  display:flex!important;
  align-items:flex-start!important;
  gap:6px!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:9px 11px!important;
  border:1px solid #d4d4d4!important;
  border-radius:8px!important;
  background:#fafafa!important;
  color:#404040!important;
  font-size:9px!important;
  line-height:1.4!important;
  box-sizing:border-box!important;
}

html body #view-admin [data-admin-panel="security"] #adminCurrentIpV327{
  min-width:0!important;
  color:#404040!important;
  font-weight:850!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}

/* Footer / submit */
html body #view-admin [data-admin-panel="security"] #adminSecurityFormV327 > .admin-create-actions-v324{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:12px!important;
  width:100%!important;
  min-height:48px!important;
  margin:0!important;
  padding:14px 0 0!important;
  border-top:1px solid #e8e8e8!important;
  box-sizing:border-box!important;
}

html body #view-admin [data-admin-panel="security"] #adminSecuritySaveV386{
  width:auto!important;
  min-width:124px!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  padding:0 17px!important;
  border-radius:9px!important;
}

html body #view-admin [data-admin-panel="security"] #adminSecurityMsgV327{
  min-width:0!important;
  margin:0!important;
  font-size:9px!important;
  color:#404040!important;
}

/* MFA roster */
html body #view-admin [data-admin-panel="security"] .admin-mfa-card-v327 .admin-card-title-v324{
  display:block!important;
  margin:0!important;
  padding:0 0 13px!important;
  border-bottom:1px solid #e8e8e8!important;
}

html body #view-admin [data-admin-panel="security"] .admin-mfa-card-v327 .admin-card-title-v324 strong{
  display:block!important;
  margin:0 0 3px!important;
  color:#404040!important;
  font-size:13px!important;
  font-weight:900!important;
}

html body #view-admin [data-admin-panel="security"] .admin-mfa-card-v327 .admin-card-title-v324 .muted{
  display:block!important;
  margin:0!important;
  color:#404040!important;
  font-size:9px!important;
  line-height:1.4!important;
}

html body #view-admin [data-admin-panel="security"] #adminMfaRosterV327{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  margin:12px 0 0!important;
}

html body #view-admin [data-admin-panel="security"] #adminMfaRosterV327 > div{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  min-height:48px!important;
  padding:9px 10px!important;
  border:1px solid #e4e4e4!important;
  border-radius:9px!important;
  background:#fcfcfc!important;
  box-sizing:border-box!important;
}

html body #view-admin [data-admin-panel="security"] #adminMfaRosterV327 :is(strong,b){
  color:#404040!important;
  font-size:10px!important;
  font-weight:850!important;
}

/* Common MFA status badges inside the roster */
html body #view-admin [data-admin-panel="security"] #adminMfaRosterV327 :is(.pill,.badge,[class*="pill"],[class*="badge"]){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:25px!important;
  padding:0 9px!important;
  border-radius:999px!important;
  font-size:9px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}

@media(max-width:900px){
  html body #view-admin [data-admin-panel="security"] .admin-security-layout-v327{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:600px){
  html body #view-admin [data-admin-panel="security"] .admin-security-card-v327,
  html body #view-admin [data-admin-panel="security"] .admin-mfa-card-v327{
    padding:14px!important;
  }

  html body #view-admin [data-admin-panel="security"] .admin-security-inline-v327{
    align-items:stretch!important;
    flex-direction:column!important;
  }

  html body #view-admin [data-admin-panel="security"] #adminSessionTimeoutV327{
    width:100%!important;
    max-width:none!important;
  }

  html body #view-admin [data-admin-panel="security"] #adminSecurityFormV327 > .admin-create-actions-v324{
    align-items:stretch!important;
    flex-direction:column-reverse!important;
  }

  html body #view-admin [data-admin-panel="security"] #adminSecuritySaveV386{
    width:100%!important;
  }
}


/* V325.600 — CSS-generated labels follow the selected website language. */
html[lang="en"] body #cashierItemPageV348 #cashierItemProductPhotoV353 > div:last-child small:not(:empty)::before{content:"Category: "!important}
html[lang="zh"] body #cashierItemPageV348 #cashierItemProductPhotoV353 > div:last-child small:not(:empty)::before{content:"类别："!important}
html[lang="ms"] body #cashierItemPageV348 #cashierItemProductPhotoV353 > div:last-child small:not(:empty)::before{content:"Kategori: "!important}
html[lang="th"] body #cashierItemPageV348 #cashierItemProductPhotoV353 > div:last-child small:not(:empty)::before{content:"หมวดหมู่: "!important}

html[lang="en"] body #app [data-business-panel="promotions"] .business-promotion-main-v419::before{content:"PROMO CODE"!important}
html[lang="zh"] body #app [data-business-panel="promotions"] .business-promotion-main-v419::before{content:"促销码"!important}
html[lang="ms"] body #app [data-business-panel="promotions"] .business-promotion-main-v419::before{content:"KOD PROMOSI"!important}
html[lang="th"] body #app [data-business-panel="promotions"] .business-promotion-main-v419::before{content:"รหัสโปรโมชัน"!important}

html[lang="en"] body #app [data-business-panel="promotions"] .business-promotion-meta-v419 > strong::before{content:"DISCOUNT"!important}
html[lang="zh"] body #app [data-business-panel="promotions"] .business-promotion-meta-v419 > strong::before{content:"折扣"!important}
html[lang="ms"] body #app [data-business-panel="promotions"] .business-promotion-meta-v419 > strong::before{content:"DISKAUN"!important}
html[lang="th"] body #app [data-business-panel="promotions"] .business-promotion-meta-v419 > strong::before{content:"ส่วนลด"!important}

html[lang="en"] body #app [data-business-panel="promotions"] .business-promotion-meta-v419 > small:not(.business-promotion-rule-v447)::before{content:"CAMPAIGN PERIOD"!important}
html[lang="zh"] body #app [data-business-panel="promotions"] .business-promotion-meta-v419 > small:not(.business-promotion-rule-v447)::before{content:"活动期间"!important}
html[lang="ms"] body #app [data-business-panel="promotions"] .business-promotion-meta-v419 > small:not(.business-promotion-rule-v447)::before{content:"TEMPOH KEMPEN"!important}
html[lang="th"] body #app [data-business-panel="promotions"] .business-promotion-meta-v419 > small:not(.business-promotion-rule-v447)::before{content:"ช่วงแคมเปญ"!important}

html[lang="en"] body #app [data-business-panel="promotions"] .business-promotion-meta-v419 > .business-promotion-rule-v447::before{content:"CONDITIONS"!important}
html[lang="zh"] body #app [data-business-panel="promotions"] .business-promotion-meta-v419 > .business-promotion-rule-v447::before{content:"条件"!important}
html[lang="ms"] body #app [data-business-panel="promotions"] .business-promotion-meta-v419 > .business-promotion-rule-v447::before{content:"SYARAT"!important}
html[lang="th"] body #app [data-business-panel="promotions"] .business-promotion-meta-v419 > .business-promotion-rule-v447::before{content:"เงื่อนไข"!important}

html[lang="en"] body #adminUserModalV324 .admin-permission-title-v324::after{content:"Choose what this team member can view or change."!important}
html[lang="zh"] body #adminUserModalV324 .admin-permission-title-v324::after{content:"选择此团队成员可以查看或更改的内容。"!important}
html[lang="ms"] body #adminUserModalV324 .admin-permission-title-v324::after{content:"Pilih perkara yang boleh dilihat atau diubah oleh ahli pasukan ini."!important}
html[lang="th"] body #adminUserModalV324 .admin-permission-title-v324::after{content:"เลือกสิ่งที่สมาชิกทีมคนนี้สามารถดูหรือเปลี่ยนแปลงได้"!important}

html[lang="en"] body #view-admin [data-admin-panel="api"] #adminApiTableV325::before{content:"Saved connections"!important}
html[lang="zh"] body #view-admin [data-admin-panel="api"] #adminApiTableV325::before{content:"已保存的连接"!important}
html[lang="ms"] body #view-admin [data-admin-panel="api"] #adminApiTableV325::before{content:"Sambungan disimpan"!important}
html[lang="th"] body #view-admin [data-admin-panel="api"] #adminApiTableV325::before{content:"การเชื่อมต่อที่บันทึกไว้"!important}


/* ========================= V325.601 — TRANSACTION DETAIL DIALOG ========================= */

html body #businessTransactionModalV141{
  position:fixed!important;
  inset:0!important;
  z-index:1500!important;
}

html body #businessTransactionModalV141 .business-transaction-dialog-v141{
  width:min(820px,calc(100vw - 30px))!important;
  max-width:820px!important;
  max-height:calc(100vh - 34px)!important;
  overflow:auto!important;
  border:1px solid #d4d4d4!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 28px 70px rgba(82,82,82,.25)!important;
  box-sizing:border-box!important;
}

/* Header */
html body #businessTransactionModalV141 .business-transaction-dialog-head-v141{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  position:sticky!important;
  top:0!important;
  z-index:4!important;
  min-height:68px!important;
  padding:14px 18px!important;
  border-bottom:1px solid #d4d4d4!important;
  background:linear-gradient(135deg,#f5f5f5,#efefef)!important;
  box-sizing:border-box!important;
}

html body #businessTransactionModalV141 .business-transaction-dialog-head-v141 > div{
  min-width:0!important;
}

html body #businessTransactionModalV141 .business-eyebrow-v325{
  margin:0 0 3px!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
}

html body #businessTransactionModalV141 #businessTransactionTitleV141{
  margin:0!important;
  color:#404040!important;
  font-size:20px!important;
  line-height:1.15!important;
  overflow-wrap:anywhere!important;
}

html body #businessTransactionModalV141 .business-transaction-close-v141{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 36px!important;
  width:36px!important;
  min-width:36px!important;
  max-width:36px!important;
  height:36px!important;
  min-height:36px!important;
  max-height:36px!important;
  padding:0!important;
  margin:0!important;
  border-radius:9px!important;
  font-size:19px!important;
  line-height:1!important;
}

/* Detail body */
html body #businessTransactionModalV141 #businessTransactionDetailV141{
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
  width:100%!important;
  min-width:0!important;
  padding:16px 18px 18px!important;
  box-sizing:border-box!important;
}

/* Status / date / customer etc. */
html body #businessTransactionModalV141 .business-transaction-summary-v141{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px 10px!important;
  width:100%!important;
  min-width:0!important;
}

html body #businessTransactionModalV141 .business-transaction-summary-v141 > div{
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
  min-width:0!important;
  min-height:58px!important;
  padding:9px 11px!important;
  border:1px solid #e5e5e5!important;
  border-radius:9px!important;
  background:#fbfbfb!important;
  box-sizing:border-box!important;
}

html body #businessTransactionModalV141 .business-transaction-summary-v141 > div > small{
  display:block!important;
  margin:0!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:800!important;
  line-height:1.25!important;
}

html body #businessTransactionModalV141 .business-transaction-summary-v141 > div > strong{
  display:block!important;
  min-width:0!important;
  margin:0!important;
  color:#404040!important;
  font-size:11px!important;
  font-weight:850!important;
  line-height:1.4!important;
  overflow-wrap:anywhere!important;
}

html body #businessTransactionModalV141 .business-transaction-summary-v141 > div > strong > small{
  display:block!important;
  margin-top:3px!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:600!important;
}

/* Sections */
html body #businessTransactionModalV141 .business-transaction-section-v141{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:14px 0 0!important;
  border-top:1px solid #e8e8e8!important;
  box-sizing:border-box!important;
}

html body #businessTransactionModalV141 .business-transaction-section-v141 h4{
  display:block!important;
  margin:0 0 9px!important;
  color:#404040!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1.3!important;
}

/* Item table: fit the desktop dialog without a horizontal scrollbar. */
html body #businessTransactionModalV141 .business-transaction-section-v141 > .table{
  width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  box-sizing:border-box!important;
}

html body #businessTransactionModalV141 .business-transaction-section-v141 > .table table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
}

html body #businessTransactionModalV141 .business-transaction-section-v141 > .table th,
html body #businessTransactionModalV141 .business-transaction-section-v141 > .table td{
  padding:8px 7px!important;
  vertical-align:middle!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  text-align:center!important;
  box-sizing:border-box!important;
}

html body #businessTransactionModalV141 .business-transaction-section-v141 > .table th{
  color:#404040!important;
  font-size:8px!important;
  font-weight:900!important;
  letter-spacing:.035em!important;
}

html body #businessTransactionModalV141 .business-transaction-section-v141 > .table td{
  color:#404040!important;
  font-size:9px!important;
  line-height:1.35!important;
}

html body #businessTransactionModalV141 .business-transaction-section-v141 > .table
:is(th,td):nth-child(1){width:28%!important;text-align:left!important}
html body #businessTransactionModalV141 .business-transaction-section-v141 > .table
:is(th,td):nth-child(2){width:12%!important}
html body #businessTransactionModalV141 .business-transaction-section-v141 > .table
:is(th,td):nth-child(3){width:10%!important}
html body #businessTransactionModalV141 .business-transaction-section-v141 > .table
:is(th,td):nth-child(4){width:19%!important}
html body #businessTransactionModalV141 .business-transaction-section-v141 > .table
:is(th,td):nth-child(5){width:14%!important}
html body #businessTransactionModalV141 .business-transaction-section-v141 > .table
:is(th,td):nth-child(6){width:17%!important}

/* Totals */
html body #businessTransactionModalV141 .business-transaction-totals-v141{
  display:flex!important;
  flex-direction:column!important;
  width:min(100%,390px)!important;
  margin-left:auto!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  overflow:hidden!important;
  background:#fdfdfd!important;
}

html body #businessTransactionModalV141 .business-transaction-total-line-v141{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:20px!important;
  min-height:35px!important;
  padding:7px 11px!important;
  border-bottom:1px solid #ebebeb!important;
  color:#404040!important;
  font-size:10px!important;
  box-sizing:border-box!important;
}

html body #businessTransactionModalV141 .business-transaction-total-line-v141:last-child{
  border-bottom:0!important;
}

html body #businessTransactionModalV141 .business-transaction-total-line-v141 > span{
  display:block!important;
  min-width:0!important;
}

html body #businessTransactionModalV141 .business-transaction-total-line-v141 > strong{
  display:block!important;
  flex:0 0 auto!important;
  color:#404040!important;
  font-size:10px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}

html body #businessTransactionModalV141 .business-transaction-total-line-v141.grand{
  min-height:40px!important;
  background:#f5f5f5!important;
  color:#404040!important;
  font-weight:900!important;
}

html body #businessTransactionModalV141 .business-transaction-total-line-v141.grand > strong{
  color:#404040!important;
  font-size:12px!important;
}

/* Refund / return history */
html body #businessTransactionModalV141 .business-transaction-refund-v141{
  display:flex!important;
  flex-direction:column!important;
  gap:5px!important;
  width:100%!important;
  margin:0 0 8px!important;
  padding:10px 11px!important;
  border:1px solid #e4e4e4!important;
  border-radius:9px!important;
  background:#fcfcfc!important;
  color:#404040!important;
  font-size:9px!important;
  line-height:1.4!important;
  box-sizing:border-box!important;
}

html body #businessTransactionModalV141 .business-transaction-refund-v141 > div:first-child{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
}

html body #businessTransactionModalV141 .business-transaction-time-v493{
  color:#404040!important;
  font-size:9px!important;
  font-weight:600!important;
  white-space:nowrap!important;
}

/* Empty refund history and read-only note */
html body #businessTransactionModalV141 .business-transaction-section-v141 > .muted{
  display:block!important;
  margin:0!important;
  padding:10px 11px!important;
  border:1px dashed #d4d4d4!important;
  border-radius:9px!important;
  background:#fdfdfd!important;
  color:#404040!important;
  font-size:9px!important;
  line-height:1.4!important;
}

html body #businessTransactionModalV141 .business-detail-note-v493{
  display:block!important;
  margin:0!important;
  padding:10px 11px!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#f8f8f8!important;
  color:#404040!important;
  font-size:9px!important;
  line-height:1.4!important;
}

/* Footer actions */
html body #businessTransactionModalV141 .business-transaction-dialog-actions-v141{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  position:sticky!important;
  bottom:0!important;
  z-index:4!important;
  min-height:58px!important;
  padding:10px 18px!important;
  border-top:1px solid #d4d4d4!important;
  background:rgba(255,255,255,.97)!important;
  backdrop-filter:blur(5px)!important;
  box-sizing:border-box!important;
}

html body #businessTransactionModalV141 .business-transaction-dialog-actions-v141 .btn{
  width:auto!important;
  min-width:104px!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  padding:0 13px!important;
  border-radius:8px!important;
  font-size:10px!important;
  font-weight:850!important;
}

/* Tablet */
@media(max-width:700px){
  html body #businessTransactionModalV141 .business-transaction-dialog-v141{
    width:calc(100vw - 18px)!important;
    max-height:calc(100vh - 18px)!important;
  }

  html body #businessTransactionModalV141 .business-transaction-summary-v141{
    grid-template-columns:1fr!important;
  }

  html body #businessTransactionModalV141 .business-transaction-section-v141 > .table{
    overflow-x:auto!important;
  }

  html body #businessTransactionModalV141 .business-transaction-section-v141 > .table table{
    min-width:620px!important;
    table-layout:fixed!important;
  }
}

/* Phone */
@media(max-width:520px){
  html body #businessTransactionModalV141 #businessTransactionDetailV141{
    padding:13px!important;
  }

  html body #businessTransactionModalV141 .business-transaction-dialog-head-v141{
    padding:12px 13px!important;
  }

  html body #businessTransactionModalV141 .business-transaction-dialog-actions-v141{
    padding:10px 13px!important;
  }

  html body #businessTransactionModalV141 .business-transaction-dialog-actions-v141 .btn{
    flex:1 1 0!important;
    min-width:0!important;
  }

  html body #businessTransactionModalV141 .business-transaction-totals-v141{
    width:100%!important;
  }
}


/* ========================= V325.602 — CREATE USER PERMISSIONS FIX ========================= */

/* IMPORTANT: V325.596 gave the details page display:grid!important.
   That overrode the browser's [hidden] rule and caused page 1 fields to
   remain visible on page 2. Restore proper split-page behaviour. */
html body #view-admin [data-admin-panel="create"] #adminCreateDetailsPageV426[hidden],
html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsPageV426[hidden]{
  display:none!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsPageV426:not([hidden]){
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

/* Page 2 uses the full Create Team User card. */
html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsPageV426 .admin-permission-title-v324{
  display:block!important;
  margin:0 0 10px!important;
  padding:0!important;
  color:#404040!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1.25!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
  background:transparent!important;
  box-sizing:border-box!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-editor-v373{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

/* Team access explanation becomes a proper information strip. */
html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-intro-v373{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  width:100%!important;
  margin:0 0 12px!important;
  padding:11px 13px!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#fafafa!important;
  box-sizing:border-box!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-intro-v373 > div:first-child{
  min-width:0!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-intro-v373 strong{
  display:block!important;
  margin:0 0 3px!important;
  color:#404040!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1.25!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-intro-v373 > div:first-child > span{
  display:block!important;
  max-width:620px!important;
  color:#404040!important;
  font-size:9.5px!important;
  font-weight:500!important;
  line-height:1.4!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-legend-v373{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex:0 0 auto!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-legend-v373 > span{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  min-height:28px!important;
  padding:0 9px!important;
  border:1px solid #d4d4d4!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#404040!important;
  font-size:8.5px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}

/* Finance / Business / System are real tabs on this Create User page. */
html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-create-permission-tabs-v224{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  margin:0 0 10px!important;
  padding:0!important;
  box-sizing:border-box!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-create-permission-tab-v224{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:112px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 15px!important;
  margin:0!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#404040!important;
  font-size:10px!important;
  font-weight:900!important;
  line-height:1!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-create-permission-tab-v224:hover{
  border-color:#d4d4d4!important;
  background:#f8f8f8!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-create-permission-tab-v224[aria-selected="true"]{
  border-color:#d4d4d4!important;
  background:#e5e5e5!important;
  color:#fff!important;
  box-shadow:0 4px 10px rgba(82,82,82,.14)!important;
}

/* Hide inactive permission groups. This is the key part that was missing. */
html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-groups-v370{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-group-v370{
  display:none!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-group-v370[data-v224-active="1"]{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0!important;
  width:100%!important;
  overflow:hidden!important;
  border:1px solid #d4d4d4!important;
  border-radius:11px!important;
  background:#fff!important;
  box-sizing:border-box!important;
}

/* Group title spans both permission columns. */
html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324
.admin-permission-group-v370[data-v224-active="1"] .admin-permission-group-title-v370{
  grid-column:1 / -1!important;
  display:flex!important;
  align-items:center!important;
  min-height:40px!important;
  padding:0 13px!important;
  margin:0!important;
  border-bottom:1px solid #d4d4d4!important;
  background:#f4f4f4!important;
  color:#404040!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
  box-sizing:border-box!important;
}

/* Permission modules: clear, readable rows. */
html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324
.admin-permission-group-v370[data-v224-active="1"] .admin-permission-row-v370{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  min-height:66px!important;
  padding:9px 11px!important;
  margin:0!important;
  border:0!important;
  border-bottom:1px solid #eaeaea!important;
  background:#fff!important;
  box-sizing:border-box!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324
.admin-permission-group-v370[data-v224-active="1"] .admin-permission-row-v370:nth-child(even){
  border-right:1px solid #eaeaea!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324
.admin-permission-row-copy-v370{
  min-width:0!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324
.admin-permission-row-copy-v370 strong{
  display:block!important;
  margin:0 0 3px!important;
  color:#404040!important;
  font-size:10px!important;
  font-weight:900!important;
  line-height:1.25!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324
.admin-permission-row-copy-v370 span{
  display:block!important;
  margin:0!important;
  color:#404040!important;
  font-size:8.5px!important;
  font-weight:500!important;
  line-height:1.35!important;
}

/* View / Edit switches */
html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-toggles-v376{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  flex:0 0 auto!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324
:is(.admin-permission-control-v376,.admin-permission-unavailable-v376){
  display:grid!important;
  justify-items:center!important;
  gap:4px!important;
  min-width:58px!important;
  padding:6px 7px!important;
  margin:0!important;
  border:1px solid #d4d4d4!important;
  border-radius:8px!important;
  background:#fbfbfb!important;
  box-sizing:border-box!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-switch-copy-v376{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  color:#404040!important;
  font-size:8px!important;
  font-weight:850!important;
  line-height:1!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-switch-copy-v376 small{
  color:#404040!important;
  font-size:7px!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-control-v376 input{
  position:absolute!important;
  opacity:0!important;
  pointer-events:none!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-switch-track-v376{
  position:relative!important;
  display:block!important;
  width:30px!important;
  height:17px!important;
  border-radius:999px!important;
  background:#e5e5e5!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-switch-thumb-v376{
  position:absolute!important;
  top:2px!important;
  left:2px!important;
  width:13px!important;
  height:13px!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 1px 3px rgba(0,0,0,.18)!important;
  transition:transform .15s ease!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324
.admin-permission-control-v376:has(input:checked){
  border-color:#d4d4d4!important;
  background:#f5f5f5!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324
.admin-permission-control-v376:has(input:checked) .admin-permission-switch-track-v376{
  background:#e5e5e5!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324
.admin-permission-control-v376:has(input:checked) .admin-permission-switch-thumb-v376{
  transform:translateX(13px)!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-unavailable-v376{
  opacity:.58!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-unavailable-v376 > span{
  color:#404040!important;
  font-size:8px!important;
  font-weight:850!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-unavailable-v376 > small{
  color:#404040!important;
  font-size:7px!important;
  line-height:1.1!important;
}

/* Page 2 actions */
html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsPageV426 .admin-create-bottom-actions-v437{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-height:58px!important;
  margin:16px 0 0!important;
  padding:14px 0 0!important;
  border-top:1px solid #e5e5e5!important;
  box-sizing:border-box!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreateBackButtonV437,
html body #view-admin [data-admin-panel="create"] #adminCreateConfirmButtonV437{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  width:auto!important;
  min-width:112px!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  padding:0 15px!important;
  margin:0!important;
  border-radius:9px!important;
  font-size:10px!important;
  font-weight:900!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreateBackButtonV437{
  grid-column:1!important;
  border:1px solid #d4d4d4!important;
  background:#fff!important;
  color:#404040!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreateMsgV324{
  grid-column:2!important;
  min-width:0!important;
  margin:0!important;
}

html body #view-admin [data-admin-panel="create"] #adminCreateConfirmButtonV437{
  grid-column:3!important;
  border:1px solid #d4d4d4!important;
  background:#e5e5e5!important;
  color:#fff!important;
}

html body #view-admin [data-admin-panel="create"]
:is(#adminCreateBackButtonV437,#adminCreateConfirmButtonV437) > svg{
  display:block!important;
  width:15px!important;
  min-width:15px!important;
  max-width:15px!important;
  height:15px!important;
  min-height:15px!important;
  max-height:15px!important;
  flex:0 0 15px!important;
  margin:0!important;
  padding:0!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

html body #view-admin [data-admin-panel="create"]
:is(#adminCreateBackButtonV437,#adminCreateConfirmButtonV437) > svg path{
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* Tablet */
@media(max-width:820px){
  html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324
  .admin-permission-group-v370[data-v224-active="1"]{
    grid-template-columns:1fr!important;
  }

  html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324
  .admin-permission-group-v370[data-v224-active="1"] .admin-permission-row-v370{
    border-right:0!important;
  }
}

/* Phone */
@media(max-width:600px){
  html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-permission-intro-v373{
    align-items:flex-start!important;
    flex-direction:column!important;
  }

  html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-create-permission-tabs-v224{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }

  html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsV324 .admin-create-permission-tab-v224{
    width:100%!important;
    min-width:0!important;
    padding:0 7px!important;
    font-size:9px!important;
  }

  html body #view-admin [data-admin-panel="create"] #adminCreatePermissionsPageV426 .admin-create-bottom-actions-v437{
    grid-template-columns:1fr 1fr!important;
  }

  html body #view-admin [data-admin-panel="create"] #adminCreateBackButtonV437{
    grid-column:1!important;
    width:100%!important;
  }

  html body #view-admin [data-admin-panel="create"] #adminCreateConfirmButtonV437{
    grid-column:2!important;
    width:100%!important;
  }

  html body #view-admin [data-admin-panel="create"] #adminCreateMsgV324{
    grid-column:1 / -1!important;
    grid-row:2!important;
  }
}


/* ========================= V325.603 — AUDIT DETAILS READABILITY ========================= */

/* Rebalance the table so Details has enough room to be useful. */
html body #app [data-business-panel="audit"] table.business-audit-table-v226{
  min-width:1120px!important;
}

html body #app [data-business-panel="audit"] table.business-audit-table-v226 th:nth-child(1),
html body #app [data-business-panel="audit"] table.business-audit-table-v226 td:nth-child(1){width:125px!important;}

html body #app [data-business-panel="audit"] table.business-audit-table-v226 th:nth-child(2),
html body #app [data-business-panel="audit"] table.business-audit-table-v226 td:nth-child(2){width:105px!important;}

html body #app [data-business-panel="audit"] table.business-audit-table-v226 th:nth-child(3),
html body #app [data-business-panel="audit"] table.business-audit-table-v226 td:nth-child(3){width:145px!important;}

html body #app [data-business-panel="audit"] table.business-audit-table-v226 th:nth-child(4),
html body #app [data-business-panel="audit"] table.business-audit-table-v226 td:nth-child(4){width:190px!important;}

html body #app [data-business-panel="audit"] table.business-audit-table-v226 th:nth-child(5),
html body #app [data-business-panel="audit"] table.business-audit-table-v226 td:nth-child(5){width:100px!important;}

html body #app [data-business-panel="audit"] table.business-audit-table-v226 th:nth-child(6),
html body #app [data-business-panel="audit"] table.business-audit-table-v226 td:nth-child(6){width:365px!important;}

html body #app [data-business-panel="audit"] table.business-audit-table-v226 th:nth-child(7),
html body #app [data-business-panel="audit"] table.business-audit-table-v226 td:nth-child(7){width:90px!important;}

/* Details cell gets a proper left-aligned reading layout. */
html body #app [data-business-panel="audit"] .business-audit-detail-cell-v226{
  text-align:left!important;
  min-width:0!important;
}

/* Compact preview above the disclosure. */
html body #app [data-business-panel="audit"] .business-audit-change-preview-v226,
html body #app [data-business-panel="audit"] .business-audit-reason-v226{
  display:grid!important;
  grid-template-columns:minmax(76px,auto) minmax(0,1fr)!important;
  align-items:start!important;
  gap:8px!important;
  width:100%!important;
  margin:0 0 6px!important;
  padding:8px 9px!important;
  border:1px solid #e4e4e4!important;
  border-radius:8px!important;
  background:#fbfbfb!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="audit"] .business-audit-change-preview-v226 b,
html body #app [data-business-panel="audit"] .business-audit-reason-v226 b{
  display:block!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:900!important;
  line-height:1.3!important;
}

html body #app [data-business-panel="audit"] .business-audit-change-preview-v226 span,
html body #app [data-business-panel="audit"] .business-audit-reason-v226 span{
  display:block!important;
  min-width:0!important;
  color:#404040!important;
  font-size:9px!important;
  line-height:1.35!important;
  overflow-wrap:anywhere!important;
}

/* View details behaves like a compact secondary action. */
html body #app [data-business-panel="audit"] .business-audit-details-v226{
  width:100%!important;
  margin:0!important;
  padding:0!important;
}

html body #app [data-business-panel="audit"] .business-audit-details-v226 > summary{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  min-height:30px!important;
  padding:0 10px!important;
  margin:0!important;
  border:1px solid #d4d4d4!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:850!important;
  line-height:1!important;
  cursor:pointer!important;
  list-style:none!important;
  user-select:none!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="audit"] .business-audit-details-v226 > summary::-webkit-details-marker{
  display:none!important;
}

html body #app [data-business-panel="audit"] .business-audit-details-v226 > summary::before{
  content:"›"!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:12px!important;
  height:12px!important;
  color:#404040!important;
  font-size:15px!important;
  font-weight:800!important;
  transform:rotate(0deg)!important;
  transition:transform .14s ease!important;
}

html body #app [data-business-panel="audit"] .business-audit-details-v226[open] > summary::before{
  transform:rotate(90deg)!important;
}

html body #app [data-business-panel="audit"] .business-audit-details-v226[open] > summary{
  border-color:#d4d4d4!important;
  background:#f5f5f5!important;
}

/* Expanded data is a contained scrollable card instead of a very tall table row. */
html body #app [data-business-panel="audit"] .business-audit-details-body-v226{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  width:100%!important;
  max-height:230px!important;
  margin:8px 0 0!important;
  padding:10px!important;
  overflow:auto!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#fff!important;
  box-shadow:0 3px 9px rgba(82,82,82,.05)!important;
  box-sizing:border-box!important;
  scrollbar-width:thin!important;
}

/* HTTP method + endpoint header. */
html body #app [data-business-panel="audit"] .business-audit-detail-meta-v226{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:start!important;
  gap:7px!important;
  width:100%!important;
  padding:0 0 8px!important;
  border-bottom:1px solid #e9e9e9!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="audit"] .business-audit-detail-meta-v226 > span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:42px!important;
  min-height:23px!important;
  padding:0 7px!important;
  border-radius:999px!important;
  background:#f2f2f2!important;
  color:#404040!important;
  font-size:8px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}

html body #app [data-business-panel="audit"] .business-audit-detail-meta-v226 > code{
  display:block!important;
  min-width:0!important;
  padding:5px 7px!important;
  border-radius:6px!important;
  background:#f7f7f7!important;
  color:#404040!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;
  font-size:8px!important;
  line-height:1.35!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

/* Request values: label left, value right. */
html body #app [data-business-panel="audit"] .business-audit-request-v226{
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  width:100%!important;
  border:1px solid #e8e8e8!important;
  border-radius:8px!important;
  overflow:hidden!important;
  background:#fdfdfd!important;
}

html body #app [data-business-panel="audit"] .business-audit-request-v226 > div,
html body #app [data-business-panel="audit"] .business-audit-request-row-v603{
  display:grid!important;
  grid-template-columns:minmax(92px,34%) minmax(0,1fr)!important;
  align-items:start!important;
  gap:9px!important;
  width:100%!important;
  min-height:31px!important;
  padding:7px 8px!important;
  margin:0!important;
  border-bottom:1px solid #ededed!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="audit"] .business-audit-request-v226 > div:last-child{
  border-bottom:0!important;
}

html body #app [data-business-panel="audit"] .business-audit-request-v226 b{
  display:block!important;
  min-width:0!important;
  color:#404040!important;
  font-size:8.5px!important;
  font-weight:900!important;
  line-height:1.35!important;
  overflow-wrap:anywhere!important;
}

html body #app [data-business-panel="audit"] .business-audit-request-v226 span{
  display:block!important;
  min-width:0!important;
  color:#404040!important;
  font-size:8.5px!important;
  line-height:1.35!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}

/* Before / after changes are visually separated. */
html body #app [data-business-panel="audit"] .business-audit-changes-v226{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  width:100%!important;
}

html body #app [data-business-panel="audit"] .business-audit-change-v226{
  display:grid!important;
  grid-template-columns:minmax(80px,.8fr) minmax(0,1fr) 14px minmax(0,1fr)!important;
  align-items:center!important;
  gap:6px!important;
  width:100%!important;
  padding:7px 8px!important;
  border:1px solid #e8e8e8!important;
  border-radius:8px!important;
  background:#fdfdfd!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="audit"] .business-audit-change-v226 > b{
  color:#404040!important;
  font-size:8.5px!important;
  font-weight:900!important;
  line-height:1.3!important;
}

html body #app [data-business-panel="audit"] .business-audit-change-v226 > span{
  display:block!important;
  min-width:0!important;
  padding:5px 6px!important;
  border-radius:6px!important;
  color:#404040!important;
  font-size:8px!important;
  line-height:1.3!important;
  overflow-wrap:anywhere!important;
}

html body #app [data-business-panel="audit"] .business-audit-change-v226 > span.before{
  background:#fff5f5!important;
}

html body #app [data-business-panel="audit"] .business-audit-change-v226 > span.after{
  background:#eef9f3!important;
}

html body #app [data-business-panel="audit"] .business-audit-change-v226 > i{
  color:#404040!important;
  font-size:11px!important;
  font-style:normal!important;
  text-align:center!important;
}

/* Expanded reason */
html body #app [data-business-panel="audit"] .business-audit-expanded-reason-v226{
  display:grid!important;
  grid-template-columns:70px minmax(0,1fr)!important;
  gap:8px!important;
  padding:8px!important;
  border:1px solid #f0d8b9!important;
  border-radius:8px!important;
  background:#fff9f0!important;
}

html body #app [data-business-panel="audit"] .business-audit-expanded-reason-v226 b{
  color:#7b5a2f!important;
  font-size:8.5px!important;
  font-weight:900!important;
}

html body #app [data-business-panel="audit"] .business-audit-expanded-reason-v226 span{
  color:#6c6255!important;
  font-size:8.5px!important;
  line-height:1.35!important;
  overflow-wrap:anywhere!important;
}

/* Narrow screens still scroll the whole table, but details remain readable. */
@media(max-width:760px){
  html body #app [data-business-panel="audit"] .business-audit-details-body-v226{
    max-height:200px!important;
  }
}


/* ========================= V325.604 — SECURITY IP DETECTION ========================= */

html body #view-admin [data-admin-panel="security"] .admin-security-current-ip-v327{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  margin:0!important;
  padding:11px 12px!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#fafafa!important;
  box-sizing:border-box!important;
}

html body #view-admin [data-admin-panel="security"] .admin-security-current-ip-copy-v604{
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
  min-width:0!important;
}

html body #view-admin [data-admin-panel="security"] .admin-security-current-ip-label-v604{
  display:block!important;
  color:#404040!important;
  font-size:8.5px!important;
  font-weight:850!important;
  text-transform:uppercase!important;
  letter-spacing:.035em!important;
}

html body #view-admin [data-admin-panel="security"] #adminCurrentIpV327{
  display:block!important;
  min-width:0!important;
  color:#404040!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;
  font-size:10px!important;
  font-weight:900!important;
  line-height:1.35!important;
  overflow-wrap:anywhere!important;
  word-break:break-all!important;
}

html body #view-admin [data-admin-panel="security"] #adminCurrentIpMetaV604,
html body #view-admin [data-admin-panel="security"] #adminPseudoIpv4V604{
  display:block!important;
  color:#404040!important;
  font-size:8.5px!important;
  line-height:1.35!important;
}

html body #view-admin [data-admin-panel="security"] #adminPseudoIpv4V604[hidden]{
  display:none!important;
}

html body #view-admin [data-admin-panel="security"] .admin-use-current-ip-v604{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:116px!important;
  height:36px!important;
  min-height:36px!important;
  max-height:36px!important;
  padding:0 12px!important;
  border-radius:8px!important;
  font-size:9px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}

html body #view-admin [data-admin-panel="security"] .admin-use-current-ip-v604:disabled{
  opacity:.5!important;
  cursor:not-allowed!important;
}

/* Make placeholder examples look clearly like examples, not stored values. */
html body #view-admin [data-admin-panel="security"] #adminIpWhitelistV327::placeholder{
  color:#404040!important;
  opacity:1!important;
}

@media(max-width:600px){
  html body #view-admin [data-admin-panel="security"] .admin-security-current-ip-v327{
    grid-template-columns:1fr!important;
  }

  html body #view-admin [data-admin-panel="security"] .admin-use-current-ip-v604{
    width:100%!important;
  }
}


/* ========================= V325.605 — MFA ROSTER IDENTITY SPACING ========================= */

html body #view-admin [data-admin-panel="security"] #adminMfaRosterV327 .admin-mfa-row-v327{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:14px!important;
  min-height:58px!important;
  padding:10px 12px!important;
}

html body #view-admin [data-admin-panel="security"] #adminMfaRosterV327 .admin-mfa-identity-v605{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:4px!important;
  min-width:0!important;
}

html body #view-admin [data-admin-panel="security"] #adminMfaRosterV327 .admin-mfa-identity-v605 > strong{
  display:block!important;
  width:100%!important;
  margin:0!important;
  color:#404040!important;
  font-size:10.5px!important;
  font-weight:900!important;
  line-height:1.25!important;
  overflow-wrap:anywhere!important;
}

html body #view-admin [data-admin-panel="security"] #adminMfaRosterV327 .admin-mfa-identity-v605 > small{
  display:block!important;
  width:100%!important;
  margin:0!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:600!important;
  line-height:1.25!important;
  overflow-wrap:anywhere!important;
}

html body #view-admin [data-admin-panel="security"] #adminMfaRosterV327 .admin-mfa-status-v327{
  justify-self:end!important;
  flex:0 0 auto!important;
  margin:0!important;
  white-space:nowrap!important;
}


/* ========================= V325.606 — ONLINE SESSIONS IDENTITY FIX ========================= */

html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 table{
  table-layout:fixed!important;
  width:100%!important;
  min-width:980px!important;
}

html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 th:nth-child(1),
html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 td:nth-child(1){
  width:39%!important;
}

html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 th:nth-child(2),
html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 td:nth-child(2){
  width:9%!important;
}

html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 th:nth-child(3),
html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 td:nth-child(3){
  width:18%!important;
}

html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 th:nth-child(4),
html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 td:nth-child(4){
  width:11%!important;
}

html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 th:nth-child(5),
html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 td:nth-child(5){
  width:11%!important;
}

html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 th:nth-child(6),
html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 td:nth-child(6){
  width:12%!important;
}

html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 .admin-session-user-v327{
  text-align:left!important;
  padding:10px 14px!important;
}

html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 .admin-session-identity-v606{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:3px!important;
  width:100%!important;
  min-width:0!important;
}

html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 .admin-session-identity-v606 > strong{
  display:block!important;
  margin:0!important;
  color:#404040!important;
  font-size:10.5px!important;
  font-weight:900!important;
  line-height:1.25!important;
  overflow-wrap:anywhere!important;
}

html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 .admin-session-username-v606{
  display:block!important;
  margin:0!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:650!important;
  line-height:1.25!important;
  overflow-wrap:anywhere!important;
}

html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 .admin-session-agent-v327{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:3px 0 0!important;
  color:#404040!important;
  font-size:8px!important;
  font-weight:500!important;
  line-height:1.3!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 .admin-session-ip-v327{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;
  font-size:8.5px!important;
  line-height:1.35!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}

html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327 .admin-session-current-v327{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:26px!important;
  padding:0 9px!important;
  border:1px solid #d4d4d4!important;
  border-radius:999px!important;
  background:#f5f5f5!important;
  color:#404040!important;
  font-size:8.5px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}

/* Access Audit identity rows use the same display pattern. */
html body #view-admin [data-admin-panel="online"] #adminSecurityAuditTableV325 td[data-user-content] > strong{
  display:block!important;
  margin:0 0 3px!important;
  color:#404040!important;
  font-size:10px!important;
  font-weight:900!important;
  line-height:1.25!important;
}

html body #view-admin [data-admin-panel="online"] #adminSecurityAuditTableV325 td[data-user-content] > .muted{
  display:block!important;
  margin:0!important;
  color:#404040!important;
  font-size:9px!important;
  line-height:1.25!important;
}

@media(max-width:760px){
  html body #view-admin [data-admin-panel="online"] #adminSessionsTableV327{
    overflow-x:auto!important;
  }
}


/* ========================= V325.607 — SETTINGS EQUAL ROWS + COMPACT ========================= */

/* Overall page width */
html body #view-settings.premium-settings-v270{
  width:min(100%,980px)!important;
  max-width:980px!important;
  margin:0 auto!important;
  padding:20px 18px 26px!important;
  box-sizing:border-box!important;
}

/* Header stays aligned with cards */
html body #view-settings .premium-settings-head-v270{
  width:100%!important;
  max-width:980px!important;
  margin:0 auto 14px!important;
}

/* 2 equal columns */
html body #view-settings .premium-settings-grid-v270{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-rows:auto!important;
  align-items:stretch!important;
  gap:14px!important;
  width:100%!important;
}

/* All standard settings cards same structure and compact height */
html body #view-settings .premium-setting-card-v270:not(.premium-setting-security-v270){
  display:grid!important;
  grid-template-rows:auto 1fr!important;
  align-content:start!important;
  min-height:192px!important;
  height:100%!important;
  padding:15px!important;
  box-sizing:border-box!important;
}

/* Card heading gets a fixed compact footprint */
html body #view-settings .premium-setting-card-v270:not(.premium-setting-security-v270)
.premium-setting-card-top-v270{
  min-height:66px!important;
  margin:0 0 12px!important;
  padding:0 0 11px!important;
}

/* Keep title text from making one card taller than another */
html body #view-settings .premium-setting-card-v270:not(.premium-setting-security-v270)
.premium-setting-title-v270{
  min-width:0!important;
}

html body #view-settings .premium-setting-card-v270:not(.premium-setting-security-v270)
.premium-setting-title-v270 h2{
  min-height:20px!important;
  margin:0 0 3px!important;
  font-size:15px!important;
  line-height:1.2!important;
}

html body #view-settings .premium-setting-card-v270:not(.premium-setting-security-v270)
.premium-setting-title-v270 p{
  min-height:28px!important;
  margin:0!important;
  font-size:9.5px!important;
  line-height:1.35!important;
}

/* Control content uses same vertical pattern */
html body #view-settings .premium-setting-card-v270:not(.premium-setting-security-v270)
.premium-setting-control-v270{
  display:grid!important;
  grid-template-rows:auto auto 40px!important;
  align-content:start!important;
  gap:5px!important;
  width:100%!important;
  margin:0!important;
}

html body #view-settings .premium-setting-card-v270:not(.premium-setting-security-v270)
.premium-setting-control-v270 label{
  min-height:14px!important;
  margin:0!important;
}

html body #view-settings .premium-setting-card-v270:not(.premium-setting-security-v270)
.premium-setting-help-v270{
  min-height:26px!important;
  margin:0!important;
  font-size:8.5px!important;
  line-height:1.3!important;
}

/* Shorter controls */
html body #view-settings .premium-setting-card-v270:not(.premium-setting-security-v270)
.premium-setting-control-v270 select{
  width:100%!important;
  max-width:none!important;
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
}

/* Security spans both columns but is also compact */
html body #view-settings .premium-setting-security-v270{
  grid-column:1 / -1!important;
  width:100%!important;
  margin:0!important;
  padding:15px!important;
  box-sizing:border-box!important;
}

html body #view-settings .premium-setting-security-v270 .premium-setting-card-top-v270{
  min-height:58px!important;
  margin:0 0 12px!important;
  padding:0 0 11px!important;
}

/* Equal security rows */
html body #view-settings .premium-security-options-v270{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:12px!important;
  width:100%!important;
}

html body #view-settings .premium-security-item-v270{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr) auto!important;
  align-items:center!important;
  min-height:66px!important;
  height:100%!important;
  padding:10px 11px!important;
  gap:10px!important;
  box-sizing:border-box!important;
}

html body #view-settings .premium-security-copy-v270{
  min-width:0!important;
}

html body #view-settings .premium-security-copy-v270 strong{
  font-size:10px!important;
}

html body #view-settings .premium-security-copy-v270 span{
  font-size:8.5px!important;
  line-height:1.3!important;
}

/* Shorter buttons */
html body #view-settings .premium-setting-action-v270{
  min-width:112px!important;
  height:36px!important;
  min-height:36px!important;
  max-height:36px!important;
  padding:0 11px!important;
  font-size:9px!important;
}

/* Ensure the 3 top cards occupy consistent grid slots:
   Language row 1 left, Personal currency row 1 right,
   Business currency row 2 left.
   Leave row 2 right intentionally empty instead of stretching. */
html body #view-settings .premium-setting-card-v270:nth-child(1){grid-column:1!important;}
html body #view-settings .premium-setting-card-v270:nth-child(2){grid-column:2!important;}
html body #view-settings .premium-setting-card-v270:nth-child(3){grid-column:1!important;}
html body #view-settings .premium-setting-security-v270{grid-column:1 / -1!important;}

/* Tablet: one column */
@media(max-width:800px){
  html body #view-settings.premium-settings-v270{
    width:100%!important;
    max-width:none!important;
  }

  html body #view-settings .premium-settings-grid-v270{
    grid-template-columns:1fr!important;
  }

  html body #view-settings .premium-setting-card-v270,
  html body #view-settings .premium-setting-card-v270:nth-child(1),
  html body #view-settings .premium-setting-card-v270:nth-child(2),
  html body #view-settings .premium-setting-card-v270:nth-child(3),
  html body #view-settings .premium-setting-security-v270{
    grid-column:1!important;
  }

  html body #view-settings .premium-setting-card-v270:not(.premium-setting-security-v270){
    min-height:0!important;
  }
}

/* Phone */
@media(max-width:560px){
  html body #view-settings.premium-settings-v270{
    padding:16px 12px 22px!important;
  }

  html body #view-settings .premium-setting-card-v270{
    padding:13px!important;
  }

  html body #view-settings .premium-security-options-v270{
    grid-template-columns:1fr!important;
  }

  html body #view-settings .premium-security-item-v270{
    grid-template-columns:32px minmax(0,1fr)!important;
  }

  html body #view-settings .premium-setting-action-v270{
    grid-column:1 / -1!important;
    width:100%!important;
  }
}


html body #view-admin [data-admin-panel="api"] > .admin-panel-heading-v327,
html body #view-admin [data-admin-panel="api"] > .admin-api-workspace-v608{
  width:min(100%,1080px)!important;max-width:1080px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
html body #view-admin [data-admin-panel="api"] .admin-api-workspace-v608{padding:18px!important}
html body #view-admin [data-admin-panel="api"] .admin-api-overview-v608{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:0 0 14px!important;border-bottom:1px solid #e7e7e7!important}
html body #view-admin [data-admin-panel="api"] .admin-api-overview-v608>div{display:flex!important;flex-direction:column!important;gap:4px!important;min-width:0!important}
html body #view-admin [data-admin-panel="api"] .admin-api-overview-v608 strong{color:#404040!important;font-size:13px!important;font-weight:900!important}
html body #view-admin [data-admin-panel="api"] .admin-api-overview-v608 span{max-width:700px!important;color:#404040!important;font-size:9.5px!important;line-height:1.45!important}
html body #view-admin [data-admin-panel="api"] .admin-api-connect-v608{flex:0 0 auto!important;width:auto!important;min-width:132px!important;height:38px!important;min-height:38px!important;padding:0 14px!important;font-size:10px!important;font-weight:900!important;border-radius:9px!important}
html body #view-admin [data-admin-panel="api"] .admin-api-summary-v608{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;width:100%!important;margin:14px 0!important}
html body #view-admin [data-admin-panel="api"] .admin-api-summary-v608>div{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:48px!important;padding:9px 12px!important;border:1px solid #d4d4d4!important;border-radius:9px!important;background:#fbfbfb!important;box-sizing:border-box!important}
html body #view-admin [data-admin-panel="api"] .admin-api-summary-v608 strong{color:#404040!important;font-size:18px!important;font-weight:900!important}
html body #view-admin [data-admin-panel="api"] .admin-api-summary-v608 span{color:#404040!important;font-size:9px!important;font-weight:850!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px 16px!important;width:min(100%,860px)!important;margin:14px auto 18px!important;padding:16px!important;border:1px solid #d4d4d4!important;border-radius:12px!important;background:#fdfdfd!important;box-shadow:0 5px 16px rgba(82,82,82,.05)!important;box-sizing:border-box!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .lf-api-form-header-v377{grid-column:1/-1!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;min-height:42px!important;padding:0 0 11px!important;border-bottom:1px solid #e8e8e8!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .lf-api-form-header-v377>div{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .lf-api-form-header-v377 strong{font-size:13px!important;font-weight:900!important;color:#404040!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .lf-api-form-header-v377 span{font-size:9px!important;line-height:1.35!important;color:#404040!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field{display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important;margin:0!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field.wide{grid-column:1/-1!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field:has(#adminApiNameV325){grid-column:1!important;grid-row:2!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field:has(#adminApiPurposeV608){grid-column:2!important;grid-row:2!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field:has(#adminApiUrlV325){grid-column:1/-1!important;grid-row:3!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field:has(#adminApiAuthV325){grid-column:1!important;grid-row:4!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field:has(#adminApiSecretV325){grid-column:2!important;grid-row:4!important}
html body #view-admin [data-admin-panel="api"] .admin-api-form-note-v608{grid-row:5!important}
html body #view-admin [data-admin-panel="api"] .admin-api-form-actions-v608{grid-row:6!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field label{font-size:9.5px!important;font-weight:900!important;color:#404040!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field small{min-height:22px!important;font-size:8px!important;line-height:1.35!important;color:#404040!important}
html body #view-admin [data-admin-panel="api"] #adminApiFormV325 :is(input:not([type="hidden"]),select){width:100%!important;min-height:40px!important;height:40px!important;box-sizing:border-box!important}
html body #view-admin [data-admin-panel="api"] .admin-api-form-note-v608{grid-column:1/-1!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:9px!important;padding:9px 10px!important;border:1px solid #d4d4d4!important;border-radius:8px!important;background:#f8f8f8!important}
html body #view-admin [data-admin-panel="api"] .admin-api-form-note-v608 strong{font-size:9px!important;font-weight:900!important;color:#404040!important}
html body #view-admin [data-admin-panel="api"] .admin-api-form-note-v608 span{font-size:8.5px!important;line-height:1.4!important;color:#404040!important}
html body #view-admin [data-admin-panel="api"] .admin-api-form-actions-v608{grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;min-height:44px!important}
html body #view-admin [data-admin-panel="api"] #adminApiMsgV325{flex:1 1 auto!important;min-width:0!important}
html body #view-admin [data-admin-panel="api"] #adminApiSaveV608{width:auto!important;min-width:132px!important;height:40px!important;min-height:40px!important;padding:0 16px!important}
html body #view-admin [data-admin-panel="api"] .admin-api-saved-head-v608{display:flex!important;margin:12px 0 9px!important}
html body #view-admin [data-admin-panel="api"] .admin-api-saved-head-v608>div{display:flex!important;flex-direction:column!important;gap:2px!important}
html body #view-admin [data-admin-panel="api"] .admin-api-saved-head-v608 strong{font-size:12px!important;font-weight:900!important;color:#404040!important}
html body #view-admin [data-admin-panel="api"] .admin-api-saved-head-v608 span{font-size:8.5px!important;color:#404040!important}
html body #view-admin [data-admin-panel="api"] #adminApiTableV325{margin:0!important;padding:0!important;border-top:0!important;overflow:visible!important;color:inherit!important}
html body #view-admin [data-admin-panel="api"] #adminApiTableV325::before{display:none!important;content:none!important}
html body #view-admin [data-admin-panel="api"] .admin-api-card-list-v608{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important}
html body #view-admin [data-admin-panel="api"] .admin-api-connection-card-v608{display:flex!important;flex-direction:column!important;gap:10px!important;min-width:0!important;padding:13px!important;border:1px solid #d4d4d4!important;border-radius:10px!important;background:#fff!important}
html body #view-admin [data-admin-panel="api"] .admin-api-connection-head-v608{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important}
html body #view-admin [data-admin-panel="api"] .admin-api-name-line-v608{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;margin-bottom:4px!important}
html body #view-admin [data-admin-panel="api"] .admin-api-name-line-v608>strong{font-size:11px!important;font-weight:900!important;color:#404040!important}
html body #view-admin [data-admin-panel="api"] .admin-api-purpose-v608{display:inline-flex!important;align-items:center!important;min-height:23px!important;padding:0 8px!important;border-radius:999px!important;background:#f4f4f4!important;color:#404040!important;font-size:8px!important;font-weight:850!important}
html body #view-admin [data-admin-panel="api"] .admin-api-url-v608{max-width:100%!important;color:#404040!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;font-size:8px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body #view-admin [data-admin-panel="api"] .admin-api-meta-grid-v608{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
html body #view-admin [data-admin-panel="api"] .admin-api-meta-grid-v608>div{display:flex!important;flex-direction:column!important;gap:3px!important;padding:8px 9px!important;border:1px solid #e9e9e9!important;border-radius:8px!important;background:#fcfcfc!important}
html body #view-admin [data-admin-panel="api"] .admin-api-meta-grid-v608 span{font-size:7.5px!important;font-weight:800!important;color:#404040!important;text-transform:uppercase!important}
html body #view-admin [data-admin-panel="api"] .admin-api-meta-grid-v608 strong{font-size:8.5px!important;font-weight:850!important;color:#404040!important}
html body #view-admin [data-admin-panel="api"] .admin-api-secret-v608{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;text-transform:none!important}
html body #view-admin [data-admin-panel="api"] .admin-api-error-v608{padding:8px 9px!important;border:1px solid #f0caca!important;border-radius:8px!important;background:#fff7f7!important;color:#a14b4b!important;font-size:8.5px!important}
html body #view-admin [data-admin-panel="api"] .admin-api-actions-v608{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;margin-top:auto!important}
html body #view-admin [data-admin-panel="api"] .admin-api-actions-v608 .btn{height:34px!important;min-height:34px!important;padding:0 10px!important;font-size:8.5px!important;font-weight:850!important}
html body #view-admin [data-admin-panel="api"] .admin-api-remove-v608{margin-left:auto!important;color:#a13f3f!important}
html body #view-admin [data-admin-panel="api"] .admin-api-empty-v608{grid-column:1/-1!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-height:110px!important;padding:18px!important;border:1px dashed #d4d4d4!important;border-radius:10px!important;background:#fcfcfc!important;text-align:center!important}
@media(max-width:820px){html body #view-admin [data-admin-panel="api"] .admin-api-card-list-v608{grid-template-columns:1fr!important}html body #view-admin [data-admin-panel="api"] #adminApiFormV325:not([hidden]){grid-template-columns:1fr!important;width:100%!important}html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field,html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .field.wide,html body #view-admin [data-admin-panel="api"] #adminApiFormV325 .lf-api-form-header-v377,html body #view-admin [data-admin-panel="api"] .admin-api-form-note-v608,html body #view-admin [data-admin-panel="api"] .admin-api-form-actions-v608{grid-column:1!important;grid-row:auto!important}}
@media(max-width:600px){html body #view-admin [data-admin-panel="api"] .admin-api-overview-v608{align-items:stretch!important;flex-direction:column!important}html body #view-admin [data-admin-panel="api"] .admin-api-connect-v608{width:100%!important}html body #view-admin [data-admin-panel="api"] .admin-api-summary-v608{grid-template-columns:1fr!important}html body #view-admin [data-admin-panel="api"] .admin-api-meta-grid-v608{grid-template-columns:1fr!important}html body #view-admin [data-admin-panel="api"] .admin-api-actions-v608{display:grid!important;grid-template-columns:1fr 1fr!important}html body #view-admin [data-admin-panel="api"] .admin-api-actions-v608 .btn{width:100%!important}html body #view-admin [data-admin-panel="api"] .admin-api-remove-v608{grid-column:1/-1!important;margin-left:0!important}}


/* ========================= V325.609 — API FORM OPEN/CLOSE FIX ========================= */

/* Hidden state must beat every earlier display rule. */
html body #view-admin [data-admin-panel="api"] #adminApiFormV325[hidden],
html body #view-admin [data-admin-panel="api"] #adminApiToggleV325[hidden],
html body #view-admin [data-admin-panel="api"] #adminApiCredentialFieldV609[hidden]{
  display:none!important;
}

/* Redundant top action disappears whenever the form is open. */
html body #view-admin [data-admin-panel="api"]
.admin-api-workspace-v608:has(#adminApiFormV325:not([hidden])) #adminApiToggleV325{
  display:none!important;
}

/* No-auth mode should not leave an empty credential column. */
html body #view-admin [data-admin-panel="api"]
#adminApiFormV325:has(#adminApiCredentialFieldV609[hidden]) .field:has(#adminApiAuthV325){
  grid-column:1 / -1!important;
  max-width:430px!important;
}

/* Keep the open form visually distinct but compact. */
html body #view-admin [data-admin-panel="api"] #adminApiFormV325:not([hidden]){
  margin-top:14px!important;
  margin-bottom:16px!important;
}

/* The top button is the single entry point when the form is closed. */
html body #view-admin [data-admin-panel="api"] #adminApiToggleV325:not([hidden]){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}


/* ========================= V325.610 — CLICKABLE DATE PICKERS ========================= */

html body .lf-dmy-date-display-v152:not(:disabled):not([readonly]),
html body .lf-dmy-date-calendar-v152:not(:disabled){
  cursor:pointer!important;
}

html body .lf-dmy-date-wrap-v152{
  transition:box-shadow .14s ease!important;
}

html body .lf-dmy-date-wrap-v152:focus-within{
  border-radius:9px!important;
  box-shadow:0 0 0 3px rgba(82,82,82,.10)!important;
}

html body .lf-dmy-date-display-v152{
  font-variant-numeric:tabular-nums!important;
}

html body .lf-dmy-date-calendar-v152:not(:disabled):hover{
  background:#f2f2f2!important;
  border-color:#d4d4d4!important;
}

html body .lf-dmy-date-calendar-v152[aria-expanded="true"]{
  background:#e5e5e5!important;
  border-color:#d4d4d4!important;
}


/* ========================= V325.611 — SELECTED DATE HIGHLIGHT ========================= */

/* The selected date is always a strong filled state. */
html body .lf-calendar-day-v530[data-selected="1"],
html body .lf-calendar-day-v530.is-selected-v611,
html body .lf-calendar-day-v530[aria-selected="true"]{
  border-color:#d4d4d4!important;
  background:#e5e5e5!important;
  color:#fff!important;
  font-weight:900!important;
  box-shadow:0 2px 6px rgba(82,82,82,.25)!important;
}

/* Selected wins even when it is also today, hovered or focused. */
html body .lf-calendar-day-v530[data-selected="1"]:hover,
html body .lf-calendar-day-v530[data-selected="1"]:focus-visible,
html body .lf-calendar-day-v530[data-selected="1"][data-today="1"],
html body .lf-calendar-day-v530.is-selected-v611:hover,
html body .lf-calendar-day-v530.is-selected-v611:focus-visible{
  border-color:#d4d4d4!important;
  background:#e5e5e5!important;
  color:#fff!important;
  box-shadow:0 0 0 3px rgba(82,82,82,.18)!important;
}

/* Today is only outlined when it is NOT the selected date. */
html body .lf-calendar-day-v530[data-today="1"]:not([data-selected="1"]){
  border-color:#d4d4d4!important;
  background:#f5f5f5!important;
  color:#404040!important;
  font-weight:850!important;
  box-shadow:inset 0 0 0 1px rgba(82,82,82,.10)!important;
}

/* Footer now states exactly which date is selected. */
html body .lf-calendar-footer-v530{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
}

html body .lf-calendar-selected-info-v611{
  min-width:0!important;
  text-align:center!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:850!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}


/* ========================= V325.612 — YEAR / MONTH DROPDOWN FIX ========================= */

/* Period filters remain compact but their popup can show several choices. */
html body #app [data-business-panel="ledger"] .lf-history-period-controls-v348
.lf-select-v510,
html body #app [data-business-panel="reports"] .lf-history-period-controls-v348
.lf-select-v510{
  min-width:112px!important;
}

/* Year / Month custom dropdown menus get a useful visible height and scrolling. */
html body .lf-select-menu-v510{
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  scrollbar-width:thin!important;
}

/* Keep options readable and easy to click. */
html body .lf-select-menu-v510 .lf-select-option-v510{
  min-height:36px!important;
  padding:8px 11px!important;
  line-height:1.25!important;
}

/* Selected Year / Month stays visually obvious. */
html body .lf-select-menu-v510 .lf-select-option-v510[aria-selected="true"]{
  font-weight:900!important;
}


/* ========================= V325.613 — DELIVERY MODE FIELD LOGIC ========================= */

html body #app [data-business-panel="settings"] [data-delivery-manual-v613][hidden],
html body #app [data-business-panel="settings"] [data-delivery-api-v613][hidden]{
  display:none!important;
}

html body #app [data-business-panel="settings"] .business-delivery-mode-pill-v613{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:24px!important;
  padding:0 8px!important;
  border:1px solid #d4d4d4!important;
  border-radius:999px!important;
  background:#f8f8f8!important;
  color:#404040!important;
  font-size:8px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}

html body #app [data-business-panel="settings"] .business-delivery-mode-grid-v613{
  align-items:start!important;
}

html body #app [data-business-panel="settings"] .business-delivery-mode-field-v613{
  grid-column:1 / -1!important;
  max-width:440px!important;
}

html body #app [data-business-panel="settings"] .business-delivery-mode-field-v613 small,
html body #app [data-business-panel="settings"] .business-delivery-api-connection-v613 small{
  color:#404040!important;
  font-size:8px!important;
  line-height:1.35!important;
}

html body #app [data-business-panel="settings"] .business-delivery-optional-v613{
  margin-left:5px!important;
  color:#404040!important;
  font-size:7.5px!important;
  font-weight:700!important;
}

html body #app [data-business-panel="settings"] .business-required-v613{
  color:#bb4a4a!important;
  font-weight:900!important;
}

html body #app [data-business-panel="settings"] .business-delivery-api-connection-v613{
  padding:11px!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#fafafa!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="settings"] .business-delivery-identifiers-v613{
  width:100%!important;
  margin:0!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#fdfdfd!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

html body #app [data-business-panel="settings"] .business-delivery-identifiers-v613 > summary{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  min-height:40px!important;
  padding:0 11px!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:850!important;
  cursor:pointer!important;
  list-style:none!important;
}

html body #app [data-business-panel="settings"] .business-delivery-identifiers-v613 > summary::-webkit-details-marker{
  display:none!important;
}

html body #app [data-business-panel="settings"] .business-delivery-identifiers-v613 > summary::after{
  content:"›"!important;
  margin-left:auto!important;
  color:#404040!important;
  font-size:16px!important;
  transform:rotate(0deg)!important;
  transition:transform .15s ease!important;
}

html body #app [data-business-panel="settings"] .business-delivery-identifiers-v613[open] > summary::after{
  transform:rotate(90deg)!important;
}

html body #app [data-business-panel="settings"] .business-delivery-identifiers-v613 > summary > span{
  margin-left:8px!important;
  margin-right:auto!important;
  color:#404040!important;
  font-size:7.5px!important;
  font-weight:700!important;
}

html body #app [data-business-panel="settings"] .business-delivery-identifiers-grid-v613{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  padding:10px 11px 7px!important;
  border-top:1px solid #e9e9e9!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="settings"] .business-delivery-identifiers-v613 > small{
  display:block!important;
  padding:0 11px 10px!important;
  color:#404040!important;
  font-size:8px!important;
  line-height:1.35!important;
}

html body #app [data-business-panel="settings"] .business-delivery-auto-sync-v613{
  align-items:flex-start!important;
}

html body #app [data-business-panel="settings"] .business-delivery-auto-sync-v613 > span{
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
  min-width:0!important;
}

html body #app [data-business-panel="settings"] .business-delivery-auto-sync-v613 b{
  color:#404040!important;
  font-size:8.5px!important;
  font-weight:850!important;
}

html body #app [data-business-panel="settings"] .business-delivery-auto-sync-v613 small{
  color:#404040!important;
  font-size:7.5px!important;
  line-height:1.3!important;
}

/* API select is visually required while in API mode. */
html body #app [data-business-panel="settings"]
.business-delivery-api-connection-v613 select:required:invalid{
  border-color:#d6a0a0!important;
  background:#fffafa!important;
}

@media(max-width:700px){
  html body #app [data-business-panel="settings"] .business-delivery-identifiers-grid-v613{
    grid-template-columns:1fr!important;
  }

  html body #app [data-business-panel="settings"] .business-delivery-mode-field-v613{
    max-width:none!important;
  }
}


/* ========================= V325.614 — COLLAPSIBLE BUSINESS FUNDS ========================= */

html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-collapsible-v614{
  width:100%!important;
}

/* Summary behaves like a clean card header/button. */
html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-summary-v614{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 32px!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  min-height:62px!important;
  margin:0!important;
  padding:11px 12px 11px 14px!important;
  border:0!important;
  border-bottom:1px solid #d4d4d4!important;
  background:#f6f6f6!important;
  cursor:pointer!important;
  list-style:none!important;
  user-select:none!important;
  box-sizing:border-box!important;
}

/* Hide browser default details marker. */
html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-summary-v614::-webkit-details-marker{
  display:none!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-summary-v614::marker{
  content:""!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-summary-copy-v614{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:3px!important;
  min-width:0!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-summary-copy-v614 strong{
  margin:0!important;
  color:#404040!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1.3!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-summary-copy-v614 small{
  margin:0!important;
  color:#404040!important;
  font-size:8.5px!important;
  line-height:1.4!important;
}

/* Arrow on the right. */
html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-summary-arrow-v614{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:30px!important;
  height:30px!important;
  border:1px solid #d4d4d4!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#404040!important;
  font-size:20px!important;
  font-weight:800!important;
  line-height:1!important;
  transform:rotate(90deg)!important;
  transition:transform .16s ease,background .16s ease,border-color .16s ease!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-collapsible-v614:not([open])
.business-balance-summary-arrow-v614{
  transform:rotate(0deg)!important;
}

/* Collapsed header has no unused bottom divider. */
html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-collapsible-v614:not([open])
.business-balance-summary-v614{
  border-bottom:0!important;
}

/* Hover / keyboard focus feedback. */
html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-summary-v614:hover{
  background:#f4f4f4!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-summary-v614:focus-visible{
  outline:3px solid #737373!important;
  outline-offset:-3px!important;
}

/* Keep the existing form spacing only while open. */
html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-collapsible-v614[open]
.business-balance-settings-grid-v421{
  display:grid!important;
  padding:14px!important;
}

/* Native details hides this automatically when closed, but make it explicit
   so earlier display rules cannot force the fields to remain visible. */
html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-collapsible-v614:not([open])
.business-balance-settings-grid-v421{
  display:none!important;
}

@media(max-width:600px){
  html body #app [data-business-panel="settings"]
  #businessSettingsReceiptsPageV426 .business-balance-summary-v614{
    grid-template-columns:minmax(0,1fr) 30px!important;
    padding:10px 10px 10px 12px!important;
  }

  html body #app [data-business-panel="settings"]
  #businessSettingsReceiptsPageV426 .business-balance-collapsible-v614[open]
  .business-balance-settings-grid-v421{
    padding:12px!important;
  }
}


/* ========================= V325.615 — PROMOTION LIST POLISH ========================= */

/* Keep the promotion list comfortably readable instead of stretching too far. */
html body #app [data-business-panel="promotions"]
.business-promotion-list-card-v419{
  width:min(100%,1240px)!important;
  max-width:1240px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:16px!important;
  box-sizing:border-box!important;
}

/* Cleaner heading separation. */
html body #app [data-business-panel="promotions"]
.business-promotion-list-card-v419 > .business-card-title-v325{
  margin:0 0 12px!important;
  padding:0 0 12px!important;
  border-bottom:1px solid #e5e5e5!important;
}

/* One campaign = one balanced row. */
html body #app [data-business-panel="promotions"]
.business-promotion-row-v419{
  display:grid!important;
  grid-template-columns:190px minmax(0,1fr) 82px 168px!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  min-height:84px!important;
  padding:10px!important;
  border:1px solid #d4d4d4!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:0 2px 7px rgba(82,82,82,.04)!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-row-v419:hover{
  border-color:#d4d4d4!important;
  background:#fefefe!important;
  box-shadow:0 4px 12px rgba(82,82,82,.06)!important;
}

/* ------------------------------------------------------------------
   PROMOTION IDENTITY
   Make the highlighted left side look like a proper identity block.
   ------------------------------------------------------------------ */
html body #app [data-business-panel="promotions"]
.business-promotion-main-v419{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:5px!important;
  min-width:0!important;
  min-height:62px!important;
  padding:10px 11px!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:linear-gradient(135deg,#f8f8f8,#f5f5f5)!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-main-v419::before{
  content:"PROMO CODE";
  display:block!important;
  margin:0!important;
  color:#404040!important;
  font-size:8px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-main-v419 > strong{
  display:block!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#404040!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;
  font-size:14px!important;
  line-height:1.2!important;
  font-weight:900!important;
  letter-spacing:.025em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-main-v419 > span{
  display:block!important;
  max-width:100%!important;
  margin:1px 0 0!important;
  color:#404040!important;
  font-size:9.5px!important;
  line-height:1.25!important;
  font-weight:650!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Campaign name gets a small label, so code/name cannot be confused. */
html body #app [data-business-panel="promotions"]
.business-promotion-main-v419 > span::before{
  content:"Campaign";
  display:inline!important;
  margin-right:6px!important;
  color:#404040!important;
  font-size:7.5px!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}

/* ------------------------------------------------------------------
   DETAILS
   ------------------------------------------------------------------ */
html body #app [data-business-panel="promotions"]
.business-promotion-meta-v419{
  display:grid!important;
  grid-template-columns:minmax(110px,.72fr) minmax(185px,1.12fr) minmax(220px,1.35fr)!important;
  gap:8px!important;
  min-width:0!important;
  align-items:stretch!important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-meta-v419 > strong,
html body #app [data-business-panel="promotions"]
.business-promotion-meta-v419 > small{
  position:relative!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:flex-start!important;
  min-width:0!important;
  min-height:62px!important;
  margin:0!important;
  padding:23px 10px 9px!important;
  border:1px solid #e5e5e5!important;
  border-radius:9px!important;
  background:#fbfbfb!important;
  box-sizing:border-box!important;
  color:#404040!important;
  font-size:9.5px!important;
  line-height:1.35!important;
  font-weight:650!important;
  overflow:hidden!important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-meta-v419 > strong{
  color:#404040!important;
  font-size:12px!important;
  font-weight:900!important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-meta-v419 > strong::before,
html body #app [data-business-panel="promotions"]
.business-promotion-meta-v419 > small::before{
  top:8px!important;
  left:10px!important;
  color:#404040!important;
  font-size:7.5px!important;
  font-weight:900!important;
  letter-spacing:.055em!important;
}

/* Make conditions readable instead of looking like one long sentence. */
html body #app [data-business-panel="promotions"]
.business-promotion-rule-v447{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

/* ------------------------------------------------------------------
   STATUS
   ------------------------------------------------------------------ */
html body #app [data-business-panel="promotions"]
.business-promotion-row-v419 > .business-status-pill-v325{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  justify-self:center!important;
  min-width:68px!important;
  min-height:28px!important;
  padding:0 9px!important;
  border-radius:999px!important;
  font-size:8.5px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}

/* ------------------------------------------------------------------
   ACTIONS
   ------------------------------------------------------------------ */
html body #app [data-business-panel="promotions"]
.business-promotion-actions-v419{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:6px!important;
  width:118px!important;
  min-width:118px!important;
  justify-self:end!important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-actions-v419 > .btn{
  width:100%!important;
  min-width:0!important;
  height:32px!important;
  min-height:32px!important;
  padding:0 10px!important;
  border-radius:8px!important;
  font-size:9px!important;
  font-weight:850!important;
}

/* Edit is neutral/primary-looking. */
html body #app [data-business-panel="promotions"]
.business-promotion-actions-v419 > button[data-business-promotion-edit]{
  border-color:#d4d4d4!important;
  background:#fff!important;
  color:#404040!important;
}

/* Deactivate / Activate retain their meaning but remain subtle. */
html body #app [data-business-panel="promotions"]
.business-promotion-actions-v419 > button[data-business-promotion-next-active="0"]{
  border-color:#e6c9c9!important;
  background:#fff9f9!important;
  color:#914545!important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-actions-v419 > button[data-business-promotion-next-active="1"]{
  border-color:#c2ddcf!important;
  background:#f5fbf8!important;
  color:#29694e!important;
}

/* Existing language system also applies to generated labels. */
html[lang="en"] body #app [data-business-panel="promotions"]
.business-promotion-main-v419 > span::before{content:"Campaign"!important}

html[lang="zh"] body #app [data-business-panel="promotions"]
.business-promotion-main-v419 > span::before{content:"活动"!important}

html[lang="ms"] body #app [data-business-panel="promotions"]
.business-promotion-main-v419 > span::before{content:"Kempen"!important}

html[lang="th"] body #app [data-business-panel="promotions"]
.business-promotion-main-v419 > span::before{content:"แคมเปญ"!important}

/* Medium desktop */
@media(max-width:1100px){
  html body #app [data-business-panel="promotions"]
  .business-promotion-row-v419{
    grid-template-columns:175px minmax(0,1fr) 78px!important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-actions-v419{
    grid-column:2 / 4!important;
    grid-template-columns:repeat(2,1fr)!important;
    width:220px!important;
  }
}

/* Tablet */
@media(max-width:820px){
  html body #app [data-business-panel="promotions"]
  .business-promotion-row-v419{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:10px!important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-main-v419{
    grid-column:1!important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-row-v419 > .business-status-pill-v325{
    grid-column:2!important;
    grid-row:1!important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-meta-v419{
    grid-column:1 / -1!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-actions-v419{
    grid-column:1 / -1!important;
    width:220px!important;
    justify-self:start!important;
  }
}

/* Phone */
@media(max-width:560px){
  html body #app [data-business-panel="promotions"]
  .business-promotion-list-card-v419{
    padding:12px!important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-meta-v419{
    grid-template-columns:1fr!important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-actions-v419{
    width:100%!important;
    grid-template-columns:1fr 1fr!important;
  }
}


/* ========================= V325.616 — AUDIT DETAILS SHOW ALL ========================= */

/*
  Earlier versions intentionally limited expanded details to ~230px with an
  internal scrollbar. That made the bottom request fields look cut off.
  The row now grows naturally so every audit field is visible.
*/
html body #app [data-business-panel="audit"] .business-audit-details-body-v226{
  max-height:none!important;
  height:auto!important;
  overflow:visible!important;
  scrollbar-width:auto!important;
}

/* The audit table row must grow with the expanded details. */
html body #app [data-business-panel="audit"] .business-audit-table-v226 tbody tr{
  height:auto!important;
  max-height:none!important;
}

html body #app [data-business-panel="audit"] .business-audit-table-v226 tbody td{
  height:auto!important;
  max-height:none!important;
  vertical-align:top!important;
}

/* Keep the details column comfortably readable while expanded. */
html body #app [data-business-panel="audit"] .business-audit-detail-cell-v226{
  overflow:visible!important;
}

html body #app [data-business-panel="audit"]
.business-audit-details-v226[open] .business-audit-details-body-v226{
  display:flex!important;
  max-height:none!important;
  overflow:visible!important;
}

/* Give each request row enough room for long IDs / values. */
html body #app [data-business-panel="audit"] .business-audit-request-v226 > div,
html body #app [data-business-panel="audit"] .business-audit-request-row-v603{
  min-height:34px!important;
  height:auto!important;
}

html body #app [data-business-panel="audit"] .business-audit-request-v226 span,
html body #app [data-business-panel="audit"] .business-audit-request-v226 b{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}

/* Remove the old phone/tablet height cap too. */
@media(max-width:760px){
  html body #app [data-business-panel="audit"] .business-audit-details-body-v226{
    max-height:none!important;
    overflow:visible!important;
  }
}


/* ========================= V325.617 — PROMOTION ACTIONS APPEARANCE ========================= */

/*
  The old action area used a tall, separate-looking column.
  Keep status + actions visually light and compact on the right.
*/
html body #app [data-business-panel="promotions"]
.business-promotion-row-v419{
  grid-template-columns:
    190px
    minmax(0,1fr)
    auto
    auto!important;
  gap:10px!important;
  min-height:80px!important;
}

/* Status sits naturally beside the action buttons. */
html body #app [data-business-panel="promotions"]
.business-promotion-row-v419 > .business-status-pill-v325{
  justify-self:end!important;
  min-width:64px!important;
  min-height:26px!important;
  padding:0 9px!important;
}

/* Compact horizontal action toolbar. */
html body #app [data-business-panel="promotions"]
.business-promotion-actions-v419{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  width:auto!important;
  min-width:0!important;
  justify-self:end!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
}

/* Buttons are standard compact controls instead of tall stacked blocks. */
html body #app [data-business-panel="promotions"]
.business-promotion-actions-v419 > .btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:74px!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  padding:0 11px!important;
  border-radius:8px!important;
  font-size:8.5px!important;
  font-weight:850!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}

/* Edit gets a simple neutral treatment. */
html body #app [data-business-panel="promotions"]
.business-promotion-actions-v419 > button[data-business-promotion-edit]{
  border:1px solid #d4d4d4!important;
  background:#fff!important;
  color:#404040!important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-actions-v419 > button[data-business-promotion-edit]:hover{
  border-color:#d4d4d4!important;
  background:#f7f7f7!important;
}

/* Deactivate stays visually secondary/destructive without looking alarming. */
html body #app [data-business-panel="promotions"]
.business-promotion-actions-v419 > button[data-business-promotion-next-active="0"]{
  min-width:88px!important;
  border:1px solid #e4caca!important;
  background:#fff!important;
  color:#9a4d4d!important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-actions-v419 > button[data-business-promotion-next-active="0"]:hover{
  border-color:#d9abab!important;
  background:#fff6f6!important;
}

/* Activate uses a subtle positive state. */
html body #app [data-business-panel="promotions"]
.business-promotion-actions-v419 > button[data-business-promotion-next-active="1"]{
  min-width:82px!important;
  border:1px solid #bfdbc9!important;
  background:#fff!important;
  color:#2e7454!important;
}

html body #app [data-business-panel="promotions"]
.business-promotion-actions-v419 > button[data-business-promotion-next-active="1"]:hover{
  border-color:#96c5a8!important;
  background:#f4fbf7!important;
}

/* Remove the appearance of an extra right-side card/column. */
html body #app [data-business-panel="promotions"]
.business-promotion-row-v419::after{
  content:none!important;
}

/* Medium screens: keep status and actions together on a clean second line. */
@media(max-width:1100px){
  html body #app [data-business-panel="promotions"]
  .business-promotion-row-v419{
    grid-template-columns:175px minmax(0,1fr) auto!important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-row-v419 > .business-status-pill-v325{
    grid-column:3!important;
    grid-row:1!important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-actions-v419{
    grid-column:2 / 4!important;
    width:auto!important;
    justify-self:end!important;
  }
}

/* Tablet: status and actions share one compact footer row. */
@media(max-width:820px){
  html body #app [data-business-panel="promotions"]
  .business-promotion-row-v419{
    grid-template-columns:minmax(0,1fr) auto!important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-row-v419 > .business-status-pill-v325{
    grid-column:2!important;
    grid-row:1!important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-actions-v419{
    grid-column:1 / -1!important;
    justify-self:end!important;
    width:auto!important;
  }
}

/* Phone: buttons share available width, but stay side-by-side. */
@media(max-width:560px){
  html body #app [data-business-panel="promotions"]
  .business-promotion-actions-v419{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    width:100%!important;
  }

  html body #app [data-business-panel="promotions"]
  .business-promotion-actions-v419 > .btn{
    width:100%!important;
    min-width:0!important;
  }
}


/* ========================= V325.618 — CUSTOM MONTH PICKER ========================= */

/* Hide the browser-native month control so the OS/browser black popup is never used. */
html body #app .lf-month-native-v618{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-width:1px!important;
  min-height:1px!important;
  margin:0!important;
  padding:0!important;
  opacity:0!important;
  pointer-events:none!important;
  overflow:hidden!important;
}

/* Visible replacement control */
html body #app .lf-month-control-v618{
  position:relative!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
}

html body #app .lf-month-display-v618{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 34px!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  height:40px!important;
  min-height:40px!important;
  padding:0 5px 0 12px!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#f3f3f3!important;
  color:#404040!important;
  font:inherit!important;
  text-align:left!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}

html body #app .lf-month-display-v618:hover{
  border-color:#d4d4d4!important;
  background:#f8f8f8!important;
}

html body #app .lf-month-display-v618:focus-visible,
html body #app .lf-month-display-v618[aria-expanded="true"]{
  outline:none!important;
  border-color:#d4d4d4!important;
  box-shadow:0 0 0 3px rgba(82,82,82,.12)!important;
}

html body #app .lf-month-display-v618:disabled{
  opacity:.62!important;
  cursor:not-allowed!important;
}

html body #app .lf-month-display-label-v618{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:11px!important;
  font-weight:650!important;
}

html body #app .lf-month-icon-v618{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:32px!important;
  height:30px!important;
  border-left:1px solid #d4d4d4!important;
  color:#404040!important;
}

html body #app .lf-month-icon-v618 svg{
  width:16px!important;
  height:16px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* Attendance/KPI record filter keeps the same compact 190px width. */
html body #app [data-business-panel="payroll"]
.business-team-record-head-v260 .business-team-filter-v260 > .lf-month-control-v618{
  width:190px!important;
  max-width:190px!important;
  min-width:190px!important;
}

/* Popup is rendered on body, not inside the card/table, so it cannot be clipped. */
html body .lf-month-popup-v618{
  position:fixed!important;
  z-index:2147483000!important;
  display:block!important;
  padding:10px!important;
  border:1px solid #d4d4d4!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#404040!important;
  box-shadow:0 14px 38px rgba(82,82,82,.20)!important;
  box-sizing:border-box!important;
}

html body .lf-month-head-v618{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) 38px!important;
  align-items:center!important;
  gap:8px!important;
  margin-bottom:8px!important;
}

html body .lf-month-nav-v618{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:38px!important;
  height:34px!important;
  border:1px solid #d4d4d4!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#404040!important;
  font-size:20px!important;
  font-weight:800!important;
  cursor:pointer!important;
}

html body .lf-month-nav-v618:hover{
  background:#f5f5f5!important;
  border-color:#d4d4d4!important;
}

html body .lf-month-year-v618{
  text-align:center!important;
  color:#404040!important;
  font-size:13px!important;
  font-weight:900!important;
}

html body .lf-month-selected-v618{
  min-height:29px!important;
  margin:0 0 8px!important;
  padding:7px 9px!important;
  border:1px solid #e5e5e5!important;
  border-radius:8px!important;
  background:#fbfbfb!important;
  color:#404040!important;
  font-size:8.5px!important;
  font-weight:750!important;
  line-height:1.3!important;
  text-align:center!important;
  box-sizing:border-box!important;
}

html body .lf-month-grid-v618{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:6px!important;
}

html body .lf-month-item-v618{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  height:38px!important;
  padding:0 7px!important;
  border:1px solid #d4d4d4!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:800!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}

html body .lf-month-item-v618:hover:not(:disabled){
  border-color:#d4d4d4!important;
  background:#f5f5f5!important;
}

html body .lf-month-item-v618[data-current="1"]:not([data-selected="1"]){
  border-color:#d4d4d4!important;
  background:#f7f7f7!important;
  color:#404040!important;
}

html body .lf-month-item-v618[data-selected="1"],
html body .lf-month-item-v618[aria-selected="true"]{
  border-color:#d4d4d4!important;
  background:#e5e5e5!important;
  color:#fff!important;
  font-weight:900!important;
  box-shadow:0 2px 6px rgba(82,82,82,.22)!important;
}

html body .lf-month-item-v618:disabled{
  opacity:.34!important;
  cursor:not-allowed!important;
}

html body .lf-month-footer-v618{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  margin-top:10px!important;
  padding-top:9px!important;
  border-top:1px solid #e8e8e8!important;
}

html body .lf-month-footer-btn-v618{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:82px!important;
  height:32px!important;
  padding:0 10px!important;
  border:1px solid #d4d4d4!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#404040!important;
  font-size:8.5px!important;
  font-weight:850!important;
  cursor:pointer!important;
}

html body .lf-month-footer-btn-v618:hover{
  border-color:#d4d4d4!important;
  background:#f7f7f7!important;
}

@media(max-width:640px){
  html body #app [data-business-panel="payroll"]
  .business-team-record-head-v260 .business-team-filter-v260 > .lf-month-control-v618{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
  }

  html body .lf-month-popup-v618{
    max-width:calc(100vw - 20px)!important;
  }
}


/* ========================= V325.619 — TEAM PAYROLL ACTIVE TAB ========================= */

/* Base tabs */
html body #app [data-business-panel="payroll"]
.business-payroll-tabs-v425 .business-payroll-tab-v425{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid #d4d4d4!important;
  background:#fff!important;
  color:#404040!important;
  box-shadow:none!important;
  transition:
    background .14s ease,
    border-color .14s ease,
    color .14s ease,
    box-shadow .14s ease,
    transform .08s ease!important;
  cursor:pointer!important;
}

/* Hover tells the user the card is clickable. */
html body #app [data-business-panel="payroll"]
.business-payroll-tabs-v425 .business-payroll-tab-v425:hover:not(.active):not([aria-selected="true"]){
  border-color:#d4d4d4!important;
  background:#f5f5f5!important;
  box-shadow:0 3px 9px rgba(82,82,82,.07)!important;
}

/* Immediate mouse/touch press feedback. */
html body #app [data-business-panel="payroll"]
.business-payroll-tabs-v425 .business-payroll-tab-v425:active{
  transform:scale(.988)!important;
}

/* Keyboard focus */
html body #app [data-business-panel="payroll"]
.business-payroll-tabs-v425 .business-payroll-tab-v425:focus-visible{
  outline:none!important;
  border-color:#d4d4d4!important;
  box-shadow:0 0 0 3px rgba(82,82,82,.18)!important;
}

/* ---------------------------------------------------------
   CURRENT / CLICKED MODULE
   The JS already updates both .active and aria-selected.
   Either state gets the same strong selected appearance.
   --------------------------------------------------------- */
html body #app [data-business-panel="payroll"]
.business-payroll-tabs-v425 .business-payroll-tab-v425.active,
html body #app [data-business-panel="payroll"]
.business-payroll-tabs-v425 .business-payroll-tab-v425[aria-selected="true"]{
  border-color:#d4d4d4!important;
  background:#e5e5e5!important;
  color:#fff!important;
  box-shadow:0 5px 13px rgba(82,82,82,.20)!important;
}

/* Number circle becomes a clear white marker. */
html body #app [data-business-panel="payroll"]
.business-payroll-tab-v425.active .business-payroll-tab-number-v425,
html body #app [data-business-panel="payroll"]
.business-payroll-tab-v425[aria-selected="true"] .business-payroll-tab-number-v425{
  border:1px solid rgba(255,255,255,.70)!important;
  background:#fff!important;
  color:#404040!important;
  box-shadow:0 1px 4px rgba(0,0,0,.08)!important;
}

/* Selected title and helper text stay readable. */
html body #app [data-business-panel="payroll"]
.business-payroll-tab-v425.active .business-payroll-tab-copy-v425 strong,
html body #app [data-business-panel="payroll"]
.business-payroll-tab-v425[aria-selected="true"] .business-payroll-tab-copy-v425 strong{
  color:#fff!important;
  font-weight:900!important;
}

html body #app [data-business-panel="payroll"]
.business-payroll-tab-v425.active .business-payroll-tab-copy-v425 small,
html body #app [data-business-panel="payroll"]
.business-payroll-tab-v425[aria-selected="true"] .business-payroll-tab-copy-v425 small{
  color:#f3f3f3!important;
  opacity:1!important;
}

/* White check badge in the upper-right corner shows exactly which module is open. */
html body #app [data-business-panel="payroll"]
.business-payroll-tab-v425.active::after,
html body #app [data-business-panel="payroll"]
.business-payroll-tab-v425[aria-selected="true"]::after{
  content:"✓"!important;
  position:absolute!important;
  top:7px!important;
  right:8px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:18px!important;
  height:18px!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#404040!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1!important;
  box-shadow:0 1px 4px rgba(0,0,0,.09)!important;
}

/* Leave enough space for the check on the selected card. */
html body #app [data-business-panel="payroll"]
.business-payroll-tab-v425.active .business-payroll-tab-copy-v425,
html body #app [data-business-panel="payroll"]
.business-payroll-tab-v425[aria-selected="true"] .business-payroll-tab-copy-v425{
  padding-right:20px!important;
}

/* Inactive number remains tidy. */
html body #app [data-business-panel="payroll"]
.business-payroll-tab-v425:not(.active):not([aria-selected="true"])
.business-payroll-tab-number-v425{
  border:1px solid #d4d4d4!important;
  background:#f6f6f6!important;
  color:#404040!important;
}

/* Smaller screens: keep selected state equally obvious. */
@media(max-width:820px){
  html body #app [data-business-panel="payroll"]
  .business-payroll-tab-v425.active::after,
  html body #app [data-business-panel="payroll"]
  .business-payroll-tab-v425[aria-selected="true"]::after{
    top:6px!important;
    right:6px!important;
    width:17px!important;
    height:17px!important;
    font-size:10px!important;
  }
}


/* ========================= V325.620 — AUDIT REFRESH FEEDBACK ========================= */

html body #app [data-business-panel="audit"] #businessAuditRefreshV140{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-width:92px!important;
  height:36px!important;
  min-height:36px!important;
  padding:0 12px!important;
  border-radius:8px!important;
  transition:
    background .14s ease,
    border-color .14s ease,
    color .14s ease,
    box-shadow .14s ease,
    transform .08s ease!important;
}

html body #app [data-business-panel="audit"] #businessAuditRefreshV140:hover:not(:disabled){
  border-color:#d4d4d4!important;
  background:#f5f5f5!important;
}

html body #app [data-business-panel="audit"] #businessAuditRefreshV140:active:not(:disabled){
  transform:scale(.97)!important;
}

/* Loading: blue and visibly busy. */
html body #app [data-business-panel="audit"] #businessAuditRefreshV140.is-loading-v620{
  border-color:#d4d4d4!important;
  background:#e5e5e5!important;
  color:#fff!important;
  cursor:wait!important;
  box-shadow:0 3px 9px rgba(82,82,82,.18)!important;
}

/* Rotating indicator while refreshing. */
html body #app [data-business-panel="audit"] #businessAuditRefreshV140.is-loading-v620::before{
  content:"↻"!important;
  display:inline-block!important;
  font-size:14px!important;
  font-weight:900!important;
  animation:lfAuditRefreshSpinV620 .75s linear infinite!important;
}

/* Success state */
html body #app [data-business-panel="audit"] #businessAuditRefreshV140.is-success-v620{
  border-color:#87bda1!important;
  background:#eff9f3!important;
  color:#24704d!important;
}

/* Failure state */
html body #app [data-business-panel="audit"] #businessAuditRefreshV140.is-error-v620{
  border-color:#dfb0b0!important;
  background:#fff5f5!important;
  color:#994747!important;
}

@keyframes lfAuditRefreshSpinV620{
  from{transform:rotate(0deg)}
  to{transform:rotate(360deg)}
}

/* The update message is kept near the filters and becomes easier to notice. */
html body #app [data-business-panel="audit"] #businessAuditMsgV140{
  min-height:18px!important;
  font-size:8.5px!important;
  line-height:1.35!important;
}


/* ========================= V325.621 — SETTINGS CARD CLEANUP ========================= */

/*
  Business Data Currency was duplicated in Personal Settings.
  Business currency is still available from the Business workspace /
  Business Setup, so Personal Settings now contains:
    1. Language
    2. Personal Finance Currency
    3. Security
*/

/* First row: two equal cards. */
html body #view-settings .premium-settings-grid-v270{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
}

html body #view-settings .premium-settings-grid-v270 >
.premium-setting-card-v270:nth-child(1){
  grid-column:1!important;
}

html body #view-settings .premium-settings-grid-v270 >
.premium-setting-card-v270:nth-child(2){
  grid-column:2!important;
}

/*
  Security is now the third child. Override the older nth-child(3) rule
  so it always spans the full row.
*/
html body #view-settings .premium-settings-grid-v270 >
.premium-setting-card-v270.premium-setting-security-v270{
  grid-column:1 / -1!important;
  width:100%!important;
}

/* No empty row / gap where Business Data Currency used to be. */
html body #view-settings .premium-setting-security-v270{
  margin-top:0!important;
}

@media(max-width:800px){
  html body #view-settings .premium-settings-grid-v270{
    grid-template-columns:1fr!important;
  }

  html body #view-settings .premium-settings-grid-v270 >
  .premium-setting-card-v270:nth-child(1),
  html body #view-settings .premium-settings-grid-v270 >
  .premium-setting-card-v270:nth-child(2),
  html body #view-settings .premium-settings-grid-v270 >
  .premium-setting-card-v270.premium-setting-security-v270{
    grid-column:1!important;
  }
}


/* ========================= V325.622 — BUSINESS FUNDS COLLAPSE FIX ========================= */

html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 #businessBalanceSettingsV622{
  width:100%!important;
  min-width:0!important;
  padding:0!important;
  border:1px solid #d4d4d4!important;
  border-radius:11px!important;
  background:#fdfdfd!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* One clean clickable header; no browser-native "Details" row. */
html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 #businessBalanceToggleV622{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 32px!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  min-height:62px!important;
  margin:0!important;
  padding:11px 12px 11px 14px!important;
  border:0!important;
  border-radius:0!important;
  border-bottom:1px solid #d4d4d4!important;
  background:#f6f6f6!important;
  color:inherit!important;
  font:inherit!important;
  text-align:left!important;
  cursor:pointer!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 #businessBalanceToggleV622:hover{
  background:#f4f4f4!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 #businessBalanceToggleV622:focus-visible{
  outline:3px solid #737373!important;
  outline-offset:-3px!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-summary-copy-v622{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:3px!important;
  min-width:0!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-summary-copy-v622 strong{
  margin:0!important;
  color:#404040!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1.3!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-summary-copy-v622 small{
  margin:0!important;
  color:#404040!important;
  font-size:8.5px!important;
  line-height:1.4!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-summary-arrow-v622{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:30px!important;
  height:30px!important;
  border:1px solid #d4d4d4!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#404040!important;
  font-size:20px!important;
  font-weight:800!important;
  line-height:1!important;
  transform:rotate(90deg)!important;
  transition:transform .16s ease,background .16s ease,border-color .16s ease!important;
  box-sizing:border-box!important;
}

/* Collapsed arrow points right. */
html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 #businessBalanceSettingsV622.is-collapsed-v622
.business-balance-summary-arrow-v622{
  transform:rotate(0deg)!important;
}

/* No bottom divider while collapsed. */
html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 #businessBalanceSettingsV622.is-collapsed-v622
#businessBalanceToggleV622{
  border-bottom:0!important;
}

/* Hidden must win over every older grid rule. */
html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 #businessBalanceBodyV622[hidden]{
  display:none!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 #businessBalanceBodyV622:not([hidden]){
  display:block!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 #businessBalanceBodyV622
.business-balance-settings-grid-v421{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px 16px!important;
  padding:14px!important;
  box-sizing:border-box!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 #businessBalanceBodyV622
.business-balance-settings-grid-v421 > .wide{
  grid-column:1 / -1!important;
}

/* Old V614 selectors no longer control this replacement component. */
html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-collapsible-v614,
html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-summary-v614,
html body #app [data-business-panel="settings"]
#businessSettingsReceiptsPageV426 .business-balance-summary-arrow-v614{
  all:unset;
}

@media(max-width:600px){
  html body #app [data-business-panel="settings"]
  #businessSettingsReceiptsPageV426 #businessBalanceBodyV622
  .business-balance-settings-grid-v421{
    grid-template-columns:1fr!important;
    padding:12px!important;
  }

  html body #app [data-business-panel="settings"]
  #businessSettingsReceiptsPageV426 #businessBalanceToggleV622{
    grid-template-columns:minmax(0,1fr) 30px!important;
    padding:10px 10px 10px 12px!important;
  }
}


/* ========================= V325.623 — GOOGLE AUTHENTICATOR MODAL ========================= */

html body #securityModalV137{
  padding:18px!important;
  box-sizing:border-box!important;
}

html body #securityModalV137 .settings-auth-modal-v623{
  width:min(760px,calc(100vw - 36px))!important;
  max-width:760px!important;
  max-height:calc(100vh - 36px)!important;
  padding:0!important;
  border-radius:15px!important;
  overflow:auto!important;
  background:#fff!important;
  box-shadow:0 22px 60px rgba(82,82,82,.24)!important;
}

/* Header */
html body #securityModalV137 .settings-auth-head-v623{
  position:sticky!important;
  top:0!important;
  z-index:5!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin:0!important;
  padding:17px 18px!important;
  border-bottom:1px solid #d4d4d4!important;
  background:#f5f5f5!important;
}

html body #securityModalV137 .settings-auth-eyebrow-v623{
  margin-bottom:4px!important;
  color:#404040!important;
  font-size:8px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
}

html body #securityModalV137 .settings-auth-head-v623 h2{
  margin:0 0 3px!important;
  color:#404040!important;
  font-size:20px!important;
  line-height:1.2!important;
  font-weight:900!important;
}

html body #securityModalV137 .settings-auth-head-v623 .muted{
  color:#404040!important;
  font-size:9px!important;
}

html body #securityModalV137 #closeSecurityV137{
  flex:0 0 38px!important;
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  border-radius:10px!important;
}

/* Status */
html body #securityModalV137 .settings-auth-status-v623{
  min-height:0!important;
  margin:14px 18px 0!important;
  padding:9px 11px!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#fafafa!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:750!important;
}

html body #securityModalV137 .settings-auth-status-v623:empty{
  display:none!important;
}

html body #securityModalV137 .settings-auth-status-v623.is-enabled-v623{
  border-color:#c6e0d1!important;
  background:#f2faf5!important;
  color:#2d7151!important;
}

html body #securityModalV137 .settings-auth-status-v623.error{
  border-color:#e5c2c2!important;
  background:#fff6f6!important;
  color:#994949!important;
}

/* Setup area */
html body #securityModalV137 .settings-auth-setup-v623{
  padding:14px 18px 18px!important;
}

html body #securityModalV137 .settings-auth-step-head-v623{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin-bottom:12px!important;
}

html body #securityModalV137 .settings-auth-step-head-v623 > div{
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
}

html body #securityModalV137 .settings-auth-step-head-v623 strong{
  color:#404040!important;
  font-size:12px!important;
  font-weight:900!important;
}

html body #securityModalV137 .settings-auth-step-head-v623 span{
  color:#404040!important;
  font-size:8.5px!important;
  line-height:1.4!important;
}

html body #securityModalV137 .settings-auth-regenerate-v623{
  flex:0 0 auto!important;
  min-width:128px!important;
  height:34px!important;
  min-height:34px!important;
  padding:0 11px!important;
  border-radius:8px!important;
  font-size:8.5px!important;
  font-weight:850!important;
}

html body #securityModalV137 .settings-auth-setup-grid-v623{
  display:grid!important;
  grid-template-columns:230px minmax(0,1fr)!important;
  gap:14px!important;
  align-items:start!important;
}

html body #securityModalV137 .settings-auth-qr-card-v623,
html body #securityModalV137 .settings-auth-details-v623{
  min-width:0!important;
  border:1px solid #d4d4d4!important;
  border-radius:11px!important;
  background:#fdfdfd!important;
  box-sizing:border-box!important;
}

html body #securityModalV137 .settings-auth-qr-card-v623{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:6px!important;
  padding:14px!important;
  text-align:center!important;
}

html body #securityModalV137 .settings-auth-qr-card-v623 > strong{
  color:#404040!important;
  font-size:10px!important;
  font-weight:900!important;
}

html body #securityModalV137 .settings-auth-qr-card-v623 > span{
  color:#404040!important;
  font-size:7.8px!important;
  line-height:1.35!important;
}

html body #securityModalV137 .settings-auth-step-v623{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:25px!important;
  height:25px!important;
  border-radius:999px!important;
  background:#e5e5e5!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:900!important;
  flex:0 0 25px!important;
}

html body #securityModalV137 .settings-auth-qr-v623{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:202px!important;
  height:202px!important;
  margin-top:5px!important;
  padding:10px!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#404040!important;
  font-size:8px!important;
  line-height:1.35!important;
  box-sizing:border-box!important;
}

html body #securityModalV137 .settings-auth-qr-v623 img,
html body #securityModalV137 .settings-auth-qr-v623 canvas{
  max-width:180px!important;
  max-height:180px!important;
}

html body #securityModalV137 .settings-auth-details-v623{
  padding:13px!important;
}

html body #securityModalV137 .settings-auth-step-title-v623{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  margin-bottom:10px!important;
}

html body #securityModalV137 .settings-auth-step-title-v623 > div{
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
}

html body #securityModalV137 .settings-auth-step-title-v623 strong{
  color:#404040!important;
  font-size:9.5px!important;
  font-weight:900!important;
}

html body #securityModalV137 .settings-auth-step-title-v623 small{
  color:#404040!important;
  font-size:7.5px!important;
}

html body #securityModalV137 .settings-auth-copy-field-v623{
  margin-bottom:10px!important;
}

html body #securityModalV137 .settings-auth-copy-field-v623 label,
html body #securityModalV137 .settings-auth-code-field-v623 label,
html body #securityModalV137 .settings-auth-disable-grid-v623 label{
  margin:0 0 5px!important;
  color:#404040!important;
  font-size:8.5px!important;
  font-weight:900!important;
}

html body #securityModalV137 .settings-auth-copy-row-v623{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 62px!important;
  gap:7px!important;
  align-items:stretch!important;
}

html body #securityModalV137 .settings-auth-copy-row-v623 input,
html body #securityModalV137 .settings-auth-copy-row-v623 textarea,
html body #securityModalV137 .settings-auth-code-field-v623 input,
html body #securityModalV137 .settings-auth-disable-grid-v623 input{
  width:100%!important;
  border:1px solid #d4d4d4!important;
  border-radius:8px!important;
  background:#f3f3f3!important;
  color:#404040!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:10px!important;
  box-sizing:border-box!important;
}

html body #securityModalV137 .settings-auth-copy-row-v623 input,
html body #securityModalV137 .settings-auth-code-field-v623 input,
html body #securityModalV137 .settings-auth-disable-grid-v623 input{
  height:38px!important;
  min-height:38px!important;
  padding:0 10px!important;
}

html body #securityModalV137 .settings-auth-copy-row-v623 textarea{
  min-height:68px!important;
  padding:9px 10px!important;
  resize:vertical!important;
  line-height:1.35!important;
}

html body #securityModalV137 .settings-auth-copy-row-v623 .btn{
  width:62px!important;
  min-width:62px!important;
  height:auto!important;
  min-height:38px!important;
  padding:0 8px!important;
  border-radius:8px!important;
  font-size:8px!important;
  font-weight:850!important;
}

html body #securityModalV137 .settings-auth-copy-row-v623 .btn.is-copied-v623{
  border-color:#9cc8ae!important;
  background:#f1faf5!important;
  color:#28704e!important;
}

html body #securityModalV137 .settings-auth-code-title-v623{
  margin-top:3px!important;
}

html body #securityModalV137 .settings-auth-code-field-v623 input{
  max-width:180px!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;
  font-size:17px!important;
  font-weight:900!important;
  letter-spacing:.20em!important;
  text-align:center!important;
}

html body #securityModalV137 .settings-auth-enable-v623{
  margin-top:4px!important;
  width:auto!important;
  min-width:190px!important;
}

/* Disable state */
html body #securityModalV137 .settings-auth-disable-v623{
  padding:14px 18px 18px!important;
}

html body #securityModalV137 .settings-auth-disable-head-v623{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:start!important;
  padding:11px!important;
  border:1px solid #cce2d5!important;
  border-radius:10px!important;
  background:#f3faf6!important;
}

html body #securityModalV137 .settings-auth-shield-v623{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  height:34px!important;
  border-radius:10px!important;
  background:#dff1e6!important;
  color:#2f7958!important;
  font-size:16px!important;
  font-weight:900!important;
}

html body #securityModalV137 .settings-auth-disable-head-v623 > div:last-child{
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
}

html body #securityModalV137 .settings-auth-disable-head-v623 strong{
  color:#255f46!important;
  font-size:10px!important;
  font-weight:900!important;
}

html body #securityModalV137 .settings-auth-disable-head-v623 span{
  color:#638172!important;
  font-size:8px!important;
  line-height:1.4!important;
}

html body #securityModalV137 .settings-auth-disable-grid-v623{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  margin-top:12px!important;
}

html body #securityModalV137 .settings-auth-disable-actions-v623{
  display:flex!important;
  justify-content:flex-end!important;
  margin-top:12px!important;
}

html body #securityModalV137 .settings-auth-disable-button-v623{
  min-width:190px!important;
  height:38px!important;
  min-height:38px!important;
  border-color:#e0bebe!important;
  background:#fff7f7!important;
  color:#934747!important;
  border-radius:9px!important;
  font-size:9px!important;
  font-weight:900!important;
}

html body #securityModalV137 .settings-auth-disable-button-v623:hover{
  border-color:#cf9999!important;
  background:#ffefef!important;
}

@media(max-width:700px){
  html body #securityModalV137 .settings-auth-setup-grid-v623{
    grid-template-columns:1fr!important;
  }

  html body #securityModalV137 .settings-auth-qr-card-v623{
    width:100%!important;
  }

  html body #securityModalV137 .settings-auth-disable-grid-v623{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:480px){
  html body #securityModalV137{
    padding:8px!important;
  }

  html body #securityModalV137 .settings-auth-modal-v623{
    width:calc(100vw - 16px)!important;
    max-height:calc(100vh - 16px)!important;
  }

  html body #securityModalV137 .settings-auth-step-head-v623{
    align-items:stretch!important;
    flex-direction:column!important;
  }

  html body #securityModalV137 .settings-auth-regenerate-v623,
  html body #securityModalV137 .settings-auth-enable-v623,
  html body #securityModalV137 .settings-auth-disable-button-v623{
    width:100%!important;
  }

  html body #securityModalV137 .settings-auth-copy-row-v623{
    grid-template-columns:1fr!important;
  }

  html body #securityModalV137 .settings-auth-copy-row-v623 .btn{
    width:100%!important;
  }
}


/* ========================= V325.624 — CHANGE PASSWORD MODAL ========================= */

html body #passwordModalV188{
  padding:18px!important;
  box-sizing:border-box!important;
}

html body #passwordModalV188 .settings-password-modal-v624{
  width:min(700px,calc(100vw - 36px))!important;
  max-width:700px!important;
  max-height:calc(100vh - 36px)!important;
  padding:0!important;
  border-radius:15px!important;
  overflow:auto!important;
  background:#fff!important;
  box-shadow:0 22px 60px rgba(82,82,82,.24)!important;
}

/* Header */
html body #passwordModalV188 .settings-password-head-v624{
  position:sticky!important;
  top:0!important;
  z-index:5!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin:0!important;
  padding:17px 18px!important;
  border-bottom:1px solid #d4d4d4!important;
  background:#f5f5f5!important;
}

html body #passwordModalV188 .settings-password-eyebrow-v624{
  margin-bottom:4px!important;
  color:#404040!important;
  font-size:8px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
}

html body #passwordModalV188 .settings-password-head-v624 h2{
  margin:0 0 3px!important;
  color:#404040!important;
  font-size:20px!important;
  line-height:1.2!important;
  font-weight:900!important;
}

html body #passwordModalV188 .settings-password-head-v624 .muted{
  color:#404040!important;
  font-size:9px!important;
}

html body #passwordModalV188 #closePasswordV188{
  flex:0 0 38px!important;
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  border-radius:10px!important;
}

/* Form */
html body #passwordModalV188 .settings-password-form-v624{
  display:block!important;
  width:100%!important;
  padding:15px 18px 18px!important;
  box-sizing:border-box!important;
}

html body #passwordModalV188 .settings-password-message-v624{
  min-height:0!important;
  margin:0 0 12px!important;
  padding:9px 11px!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#fafafa!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:750!important;
}

html body #passwordModalV188 .settings-password-message-v624:empty{
  display:none!important;
}

html body #passwordModalV188 .settings-password-message-v624.error{
  border-color:#e5c2c2!important;
  background:#fff6f6!important;
  color:#994949!important;
}

/* Sections */
html body #passwordModalV188 .settings-password-section-v624{
  padding:13px!important;
  border:1px solid #d4d4d4!important;
  border-radius:11px!important;
  background:#fdfdfd!important;
  box-sizing:border-box!important;
}

html body #passwordModalV188 .settings-password-section-v624 +
.settings-password-section-v624{
  margin-top:11px!important;
}

html body #passwordModalV188 .settings-password-section-title-v624{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  margin-bottom:11px!important;
}

html body #passwordModalV188 .settings-password-step-v624{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 26px!important;
  width:26px!important;
  height:26px!important;
  border-radius:999px!important;
  background:#e5e5e5!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:900!important;
}

html body #passwordModalV188 .settings-password-section-title-v624 > div{
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
}

html body #passwordModalV188 .settings-password-section-title-v624 strong{
  color:#404040!important;
  font-size:10px!important;
  font-weight:900!important;
}

html body #passwordModalV188 .settings-password-section-title-v624 small{
  color:#404040!important;
  font-size:8px!important;
  line-height:1.35!important;
}

html body #passwordModalV188 .settings-password-new-grid-v624{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}

html body #passwordModalV188 .field{
  min-width:0!important;
  margin:0!important;
}

html body #passwordModalV188 .field label{
  display:block!important;
  margin:0 0 5px!important;
  color:#404040!important;
  font-size:8.5px!important;
  font-weight:900!important;
}

/* Password inputs + show button */
html body #passwordModalV188 .settings-password-input-wrap-v624{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 62px!important;
  align-items:stretch!important;
  width:100%!important;
  min-width:0!important;
}

html body #passwordModalV188 .settings-password-input-wrap-v624 input{
  width:100%!important;
  height:40px!important;
  min-height:40px!important;
  padding:0 10px!important;
  border:1px solid #d4d4d4!important;
  border-right:0!important;
  border-radius:8px 0 0 8px!important;
  background:#f3f3f3!important;
  color:#404040!important;
  font-size:10px!important;
  box-sizing:border-box!important;
}

html body #passwordModalV188 .settings-password-input-wrap-v624 input:focus{
  position:relative!important;
  z-index:1!important;
  outline:none!important;
  border-color:#d4d4d4!important;
  box-shadow:0 0 0 3px rgba(82,82,82,.10)!important;
}

html body #passwordModalV188 .settings-password-eye-v624{
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:62px!important;
  min-width:62px!important;
  height:40px!important;
  min-height:40px!important;
  padding:0 7px!important;
  border:1px solid #d4d4d4!important;
  border-radius:0 8px 8px 0!important;
  background:#fff!important;
  color:#404040!important;
  font-size:8px!important;
  font-weight:850!important;
  cursor:pointer!important;
}

html body #passwordModalV188 .settings-password-eye-v624:hover{
  background:#f5f5f5!important;
}

/* Live checks */
html body #passwordModalV188 .settings-password-checks-v624{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  margin-top:10px!important;
}

html body #passwordModalV188 .settings-password-check-v624{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:34px!important;
  padding:7px 9px!important;
  border:1px solid #e5e5e5!important;
  border-radius:8px!important;
  background:#fbfbfb!important;
  color:#404040!important;
  box-sizing:border-box!important;
}

html body #passwordModalV188 .settings-password-check-v624 > span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:18px!important;
  height:18px!important;
  border-radius:999px!important;
  background:#eeeeee!important;
  color:#404040!important;
  font-size:9px!important;
  font-weight:900!important;
}

html body #passwordModalV188 .settings-password-check-v624 strong{
  font-size:8.5px!important;
  font-weight:800!important;
}

html body #passwordModalV188 .settings-password-check-v624.is-ok-v624{
  border-color:#c5dfd0!important;
  background:#f3faf6!important;
  color:#2f7454!important;
}

html body #passwordModalV188 .settings-password-check-v624.is-ok-v624 > span{
  background:#dcefe4!important;
  color:#2b7755!important;
}

/* Security notice */
html body #passwordModalV188 .settings-password-notice-v624{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr)!important;
  gap:9px!important;
  align-items:start!important;
  margin-top:11px!important;
  padding:10px!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  background:#f8f8f8!important;
}

html body #passwordModalV188 .settings-password-notice-icon-v624{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:26px!important;
  height:26px!important;
  border-radius:8px!important;
  background:#e5e5e5!important;
  color:#404040!important;
  font-size:11px!important;
  font-weight:900!important;
}

html body #passwordModalV188 .settings-password-notice-v624 > div{
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
}

html body #passwordModalV188 .settings-password-notice-v624 strong{
  color:#404040!important;
  font-size:8.5px!important;
  font-weight:900!important;
}

html body #passwordModalV188 .settings-password-notice-v624 span:not(.settings-password-notice-icon-v624){
  color:#404040!important;
  font-size:8px!important;
  line-height:1.4!important;
}

/* Actions */
html body #passwordModalV188 .settings-password-actions-v624{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  margin-top:13px!important;
}

html body #passwordModalV188 .settings-password-actions-v624 > button{
  width:auto!important;
  min-width:105px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 13px!important;
  border-radius:9px!important;
  font-size:9px!important;
  font-weight:900!important;
}

html body #passwordModalV188 #savePasswordV188{
  min-width:150px!important;
}

html body #passwordModalV188 #savePasswordV188:disabled{
  opacity:.55!important;
  cursor:not-allowed!important;
}

@media(max-width:620px){
  html body #passwordModalV188 .settings-password-new-grid-v624,
  html body #passwordModalV188 .settings-password-checks-v624{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:460px){
  html body #passwordModalV188{
    padding:8px!important;
  }

  html body #passwordModalV188 .settings-password-modal-v624{
    width:calc(100vw - 16px)!important;
    max-height:calc(100vh - 16px)!important;
  }

  html body #passwordModalV188 .settings-password-actions-v624{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
  }

  html body #passwordModalV188 .settings-password-actions-v624 > button{
    width:100%!important;
    min-width:0!important;
  }
}


/* ========================= V325.625 — MANAGE TEAM USER PERMISSIONS FIX ========================= */

/*
  V444 already creates Finance / Business / System tabs and marks the chosen
  group with data-v444-active="1". Older CSS still displayed all three groups,
  which caused the narrow, truncated columns shown in the screenshot.
*/

/* Permission section uses the full modal width. */
html body #adminUserModalV324 #adminEditPermissionsV324,
html body #adminUserModalV324 #adminEditPermissionsV324 .admin-permission-editor-v373{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

/* Tabs: one clear row, equal width, with a strong active state. */
html body #adminUserModalV324
#adminEditPermissionsV324 .admin-permission-section-tabs-v444{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%!important;
  margin:0 0 10px!important;
  padding:4px!important;
  border:1px solid #d4d4d4!important;
  border-radius:10px!important;
  background:#f8f8f8!important;
  box-sizing:border-box!important;
}

html body #adminUserModalV324
#adminEditPermissionsV324 .admin-permission-section-tab-v444{
  appearance:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  width:100%!important;
  min-width:0!important;
  min-height:36px!important;
  margin:0!important;
  padding:0 10px!important;
  border:1px solid transparent!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#404040!important;
  font:inherit!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.035em!important;
  cursor:pointer!important;
  box-shadow:none!important;
  transition:
    background .14s ease,
    border-color .14s ease,
    color .14s ease,
    box-shadow .14s ease!important;
}

html body #adminUserModalV324
#adminEditPermissionsV324 .admin-permission-section-tab-v444:hover{
  border-color:#d4d4d4!important;
  background:#f5f5f5!important;
}

html body #adminUserModalV324
#adminEditPermissionsV324 .admin-permission-section-tab-v444[aria-selected="true"]{
  border-color:#d4d4d4!important;
  background:#e5e5e5!important;
  color:#fff!important;
  box-shadow:0 3px 9px rgba(82,82,82,.18)!important;
}

html body #adminUserModalV324
#adminEditPermissionsV324 .admin-permission-section-tab-plus-v444{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:16px!important;
  height:16px!important;
  border-radius:999px!important;
  background:#e5e5e5!important;
  color:#404040!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1!important;
}

html body #adminUserModalV324
#adminEditPermissionsV324 .admin-permission-section-tab-v444[aria-selected="true"]
.admin-permission-section-tab-plus-v444{
  background:#fff!important;
  color:#404040!important;
}

/* IMPORTANT: hide inactive groups. */
html body #adminUserModalV324
#adminEditPermissionsV324 .admin-permission-groups-v370 >
.admin-permission-group-v370[data-v444-permission-group]{
  display:none!important;
}

/*
  The chosen category fills the available width.
  Two permission rows per line keeps the modal shorter while preserving
  readable module names and full View/Edit controls.
*/
html body #adminUserModalV324
#adminEditPermissionsV324 .admin-permission-groups-v370 >
.admin-permission-group-v370[data-v444-active="1"]{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  overflow:hidden!important;
  border:1px solid #d4d4d4!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:0 2px 8px rgba(82,82,82,.04)!important;
}

/* Group title spans both columns. */
html body #adminUserModalV324
#adminEditPermissionsV324 .admin-permission-group-v370[data-v444-active="1"]
.admin-permission-group-title-v370{
  grid-column:1 / -1!important;
  min-height:38px!important;
  padding:0 13px!important;
  border-bottom:1px solid #d4d4d4!important;
  background:#f4f4f4!important;
}

/* Each permission row is roomy and no longer clips its label. */
html body #adminUserModalV324
#adminEditPermissionsV324 .admin-permission-group-v370[data-v444-active="1"]
.admin-permission-row-v370{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  min-height:64px!important;
  padding:9px 11px!important;
  border:0!important;
  border-bottom:1px solid #ececec!important;
  background:#fff!important;
  box-sizing:border-box!important;
}

/* Vertical divider between the two columns. */
html body #adminUserModalV324
#adminEditPermissionsV324 .admin-permission-group-v370[data-v444-active="1"]
.admin-permission-row-v370:nth-of-type(even){
  border-left:1px solid #ececec!important;
}

/* Do not truncate module names such as Dashboard / Investments / API Connections. */
html body #adminUserModalV324
#adminEditPermissionsV324 .admin-permission-row-copy-v370{
  min-width:0!important;
  padding-right:4px!important;
}

html body #adminUserModalV324
#adminEditPermissionsV324 .admin-permission-row-copy-v370 strong{
  display:block!important;
  margin:0 0 3px!important;
  overflow:visible!important;
  color:#404040!important;
  font-size:9.5px!important;
  line-height:1.25!important;
  text-overflow:clip!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

html body #adminUserModalV324
#adminEditPermissionsV324 .admin-permission-row-copy-v370 span{
  display:block!important;
  color:#404040!important;
  font-size:7.8px!important;
  line-height:1.3!important;
  white-space:normal!important;
}

/* View/Edit controls keep a consistent size and do not squash the labels. */
html body #adminUserModalV324
#adminEditPermissionsV324 .admin-permission-toggles-v376{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  min-width:100px!important;
  flex:0 0 auto!important;
}

html body #adminUserModalV324
#adminEditPermissionsV324 .admin-permission-control-v376,
html body #adminUserModalV324
#adminEditPermissionsV324 .admin-permission-unavailable-v376{
  min-width:47px!important;
  padding:5px 5px!important;
}

/* Intro block is full-width and less cramped. */
html body #adminUserModalV324
#adminEditPermissionsV324 .admin-permission-intro-v373{
  width:100%!important;
  margin:0 0 10px!important;
  box-sizing:border-box!important;
}

/* Make the modal slightly wider on large desktops for comfortable permissions. */
@media(min-width:1100px){
  html body #adminUserModalV324 .admin-user-modal-box-v324{
    width:min(1220px,calc(100vw - 40px))!important;
    max-width:1220px!important;
  }
}

/* Tablet: one permission row per line, still only one category at a time. */
@media(max-width:820px){
  html body #adminUserModalV324
  #adminEditPermissionsV324 .admin-permission-group-v370[data-v444-active="1"]{
    grid-template-columns:1fr!important;
  }

  html body #adminUserModalV324
  #adminEditPermissionsV324 .admin-permission-row-v370:nth-of-type(even){
    border-left:0!important;
  }
}

/* Phone: tabs remain usable without horizontal overflow. */
@media(max-width:560px){
  html body #adminUserModalV324
  #adminEditPermissionsV324 .admin-permission-section-tabs-v444{
    grid-template-columns:1fr!important;
  }

  html body #adminUserModalV324
  #adminEditPermissionsV324 .admin-permission-row-v370{
    grid-template-columns:minmax(0,1fr) auto!important;
  }

  html body #adminUserModalV324
  #adminEditPermissionsV324 .admin-permission-toggles-v376{
    min-width:96px!important;
  }
}


/* ========================= V325.626 — BUSINESS FUNDS COLLAPSE RELIABLE FIX ========================= */

#businessFundsCollapseV626{
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #d4d4d4!important;
  border-radius:11px!important;
  background:#fdfdfd!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* The whole blue header is one click target. */
#businessFundsToggleV626{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 34px!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:62px!important;
  margin:0!important;
  padding:11px 12px 11px 14px!important;
  border:0!important;
  border-bottom:1px solid #d4d4d4!important;
  border-radius:0!important;
  background:#f4f4f4!important;
  color:#404040!important;
  font:inherit!important;
  text-align:left!important;
  cursor:pointer!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}

#businessFundsToggleV626:hover{
  background:#efefef!important;
}

#businessFundsToggleV626:active{
  background:#e5e5e5!important;
}

#businessFundsToggleV626:focus-visible{
  outline:3px solid #737373!important;
  outline-offset:-3px!important;
}

.business-funds-toggle-copy-v626{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:3px!important;
  min-width:0!important;
}

.business-funds-toggle-copy-v626 strong{
  display:block!important;
  margin:0!important;
  color:#404040!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1.3!important;
}

.business-funds-toggle-copy-v626 small{
  display:block!important;
  margin:0!important;
  color:#404040!important;
  font-size:8.5px!important;
  font-weight:650!important;
  line-height:1.4!important;
  white-space:normal!important;
}

/* Single arrow only, on the right. */
.business-funds-toggle-icon-v626{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  justify-self:end!important;
  width:30px!important;
  height:30px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #d4d4d4!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#404040!important;
  font-size:18px!important;
  font-weight:900!important;
  line-height:1!important;
  box-sizing:border-box!important;
}

/* Collapsed state: only the header remains. */
#businessFundsCollapseV626.is-collapsed-v626 #businessFundsToggleV626{
  border-bottom:0!important;
}

#businessFundsBodyV626[hidden],
#businessFundsCollapseV626.is-collapsed-v626 #businessFundsBodyV626{
  display:none!important;
}

#businessFundsBodyV626:not([hidden]){
  display:block!important;
  width:100%!important;
}

/* Preserve the existing balance field grid inside the collapsible body. */
#businessFundsBodyV626 .business-balance-settings-grid-v421{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px 16px!important;
  width:100%!important;
  margin:0!important;
  padding:14px!important;
  box-sizing:border-box!important;
}

#businessFundsBodyV626 .business-balance-settings-grid-v421 > .wide{
  grid-column:1 / -1!important;
}

@media(max-width:600px){
  #businessFundsToggleV626{
    grid-template-columns:minmax(0,1fr) 30px!important;
    padding:10px 10px 10px 12px!important;
  }

  #businessFundsBodyV626 .business-balance-settings-grid-v421{
    grid-template-columns:1fr!important;
    padding:12px!important;
  }
}


/* ========================= V325.627 — DELIVERY APP HEADER POLISH ========================= */

/*
  The old header showed both "Manual mode" and "Manual entry", which repeated
  the same information and squeezed the right side of the card.
  Keep one status pill only.
*/
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-mode-pill-v613{
  display:none!important;
}

/* Balanced provider header: logo | provider | status | chevron */
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-collapse-head-v262{
  grid-template-columns:38px minmax(0,1fr) auto 32px!important;
  gap:11px!important;
  min-height:64px!important;
  padding:10px 11px 10px 12px!important;
}

/* Provider title gets more room and better vertical rhythm. */
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-collapse-title-v262{
  gap:3px!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-collapse-title-v262 strong{
  font-size:11.5px!important;
  font-weight:900!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-collapse-title-v262 small{
  color:#404040!important;
  font-size:8px!important;
  font-weight:700!important;
  letter-spacing:.02em!important;
}

/* One clean status pill on the right. */
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-status-v228{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-width:92px!important;
  max-width:190px!important;
  min-height:28px!important;
  padding:0 10px!important;
  border:1px solid #d4d4d4!important;
  border-radius:999px!important;
  background:#fafafa!important;
  color:#404040!important;
  font-size:8px!important;
  font-weight:900!important;
  line-height:1.15!important;
  text-align:center!important;
  white-space:nowrap!important;
}

/* Small status dot makes the meaning easier to scan. */
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-status-v228::before{
  content:""!important;
  display:block!important;
  flex:0 0 7px!important;
  width:7px!important;
  height:7px!important;
  border-radius:999px!important;
  background:#e5e5e5!important;
}

/* Manual mode */
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-status-v228.manual{
  border-color:#d4d4d4!important;
  background:#f8f8f8!important;
  color:#404040!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-status-v228.manual::before{
  background:#e5e5e5!important;
}

/* API ready / saved */
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-status-v228.api_connected,
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-status-v228.ok,
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-status-v228.api_selected_v627{
  border-color:#b9ddca!important;
  background:#eef9f3!important;
  color:#267653!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-status-v228.api_connected::before,
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-status-v228.ok::before,
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-status-v228.api_selected_v627::before{
  background:#36a36d!important;
}

/* API needs attention */
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-status-v228.needs_api_connection,
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-status-v228.error{
  border-color:#e5c7c7!important;
  background:#fff6f6!important;
  color:#945050!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-status-v228.needs_api_connection::before,
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-status-v228.error::before{
  background:#c96b6b!important;
}

/* Not tested = neutral warning */
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-status-v228.not_tested,
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-status-v228.api_not_tested{
  border-color:#e6d9ad!important;
  background:#fffaf0!important;
  color:#856a29!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-status-v228.not_tested::before,
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-status-v228.api_not_tested::before{
  background:#c59a37!important;
}

/* Chevron is now a proper compact expand/collapse button-like affordance. */
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-collapse-icon-v262{
  width:30px!important;
  height:30px!important;
  border:1px solid #d4d4d4!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#404040!important;
  font-size:17px!important;
  font-weight:900!important;
  transform:rotate(0deg)!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-collapse-head-v262:hover
.business-delivery-collapse-icon-v262{
  border-color:#d4d4d4!important;
  background:#f4f4f4!important;
}

html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-collapsible-v262.open
.business-delivery-collapse-icon-v262{
  transform:rotate(90deg)!important;
}

/* Open card header is clearly selected without becoming too dark. */
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-collapsible-v262.open
.business-delivery-collapse-head-v262{
  background:#f6f6f6!important;
  border-bottom:1px solid #d4d4d4!important;
}

/* Slightly stronger logo tile to balance the status pill. */
html body #app [data-business-panel="settings"]
#businessSettingsDeliveryPageV228 .business-delivery-app-logo-v228{
  width:38px!important;
  height:38px!important;
  border-color:#d4d4d4!important;
  background:#f2f2f2!important;
  color:#404040!important;
  font-size:10px!important;
  font-weight:900!important;
}

/* Tablet/phone: status moves under provider name instead of squeezing it. */
@media(max-width:720px){
  html body #app [data-business-panel="settings"]
  #businessSettingsDeliveryPageV228 .business-delivery-collapse-head-v262{
    grid-template-columns:38px minmax(0,1fr) 32px!important;
  }

  html body #app [data-business-panel="settings"]
  #businessSettingsDeliveryPageV228 .business-delivery-status-v228{
    grid-column:2!important;
    justify-self:start!important;
    min-width:0!important;
    margin-top:3px!important;
  }

  html body #app [data-business-panel="settings"]
  #businessSettingsDeliveryPageV228 .business-delivery-collapse-icon-v262{
    grid-column:3!important;
    grid-row:1 / span 2!important;
    align-self:center!important;
  }
}


:root{
  --lf-feedback-rest-v631:1;
  --lf-feedback-hover-v631:1.04;
  --lf-feedback-wide-hover-v631:1.02;
  --lf-feedback-pressed-v631:.98;
  --lf-feedback-time-v631:160ms;
  --lf-feedback-press-time-v631:80ms;
}
/* The independent scale property preserves each control's existing translate
   and rotate transforms. It does not change layout dimensions. Semantic
   selectors also cover dynamically rendered controls and body-mounted dialogs.
   Important layered rules keep older per-module transitions from suppressing
   the shared feedback. Existing button colours remain in their own layer. */
@layer lfInteractionFeedbackV631{
html body :where(
  button, a[href], summary,
  input[type="button"], input[type="submit"], input[type="reset"],
  input[type="checkbox"]:not(label *), input[type="radio"]:not(label *), select,
  label:has(input[type="checkbox"], input[type="radio"]),
  [role="button"], [role="tab"], [role="menuitem"], [role="option"]:not(option),
  [role="switch"]:not(label input),
  button[data-view], [data-admin-tab], [data-business-tab], [data-mobile-view],
  .lf-select-trigger-v510, .lf-select-option-v510, .lf-dmy-date-display-v152,
  .lf-click-feedback-v631
):not(:disabled):not([disabled]):not([aria-disabled="true"]):not([aria-disabled="true"] *):not([inert]):not([inert] *):not(:has(input:disabled)){
  --lf-feedback-target-hover-v631:var(--lf-feedback-hover-v631)!important;
  scale:var(--lf-feedback-rest-v631)!important;
  transition:
    scale var(--lf-feedback-time-v631) cubic-bezier(.2,.7,.2,1),
    background-color var(--lf-feedback-time-v631) ease,
    border-color var(--lf-feedback-time-v631) ease,
    color var(--lf-feedback-time-v631) ease,
    box-shadow var(--lf-feedback-time-v631) ease,
    opacity var(--lf-feedback-time-v631) ease,
    transform var(--lf-feedback-time-v631) ease!important;
}

/* Wide headings and navigation grow less so their edges stay comfortably
   inside their cards. Labels move as a whole instead of scaling hidden inputs. */
html body :where(
  button, a[href], summary,
  input[type="button"], input[type="submit"], input[type="reset"],
  input[type="checkbox"]:not(label *), input[type="radio"]:not(label *), select,
  label:has(input[type="checkbox"], input[type="radio"]),
  [role="button"], [role="tab"], [role="menuitem"], [role="option"]:not(option),
  [role="switch"]:not(label input),
  button[data-view], [data-admin-tab], [data-business-tab], [data-mobile-view],
  .lf-select-trigger-v510, .lf-select-option-v510, .lf-dmy-date-display-v152,
  .lf-click-feedback-v631
):not(:disabled):not([disabled]):not([aria-disabled="true"]):not([aria-disabled="true"] *):not([inert]):not([inert] *):not(:has(input:disabled)):is(
  summary, select, label, [role="tab"], [role="option"],
  button[data-view], [data-admin-tab], [data-business-tab], [data-mobile-view],
  .lf-select-trigger-v510, .lf-select-option-v510, .lf-dmy-date-display-v152,
  .business-pos-product-v225, .business-delivery-collapse-head-v262,
  .business-funds-toggle-v626, .business-receipts-toggle-v622
){
  --lf-feedback-target-hover-v631:var(--lf-feedback-wide-hover-v631)!important;
}

/* Inline links must be transformable. Existing flex/grid link layouts retain
   priority over these normal declarations in the feedback layer. */
html body a[href],
html body label:has(input[type="checkbox"], input[type="radio"]){
  display:inline-block;
}

/* Only a mouse/trackpad produces hover enlargement; touch keeps press feedback. */
@media (hover:hover) and (pointer:fine){
html body :where(
  button, a[href], summary,
  input[type="button"], input[type="submit"], input[type="reset"],
  input[type="checkbox"]:not(label *), input[type="radio"]:not(label *), select,
  label:has(input[type="checkbox"], input[type="radio"]),
  [role="button"], [role="tab"], [role="menuitem"], [role="option"]:not(option),
  [role="switch"]:not(label input),
  button[data-view], [data-admin-tab], [data-business-tab], [data-mobile-view],
  .lf-select-trigger-v510, .lf-select-option-v510, .lf-dmy-date-display-v152,
  .lf-click-feedback-v631
):not(:disabled):not([disabled]):not([aria-disabled="true"]):not([aria-disabled="true"] *):not([inert]):not([inert] *):not(:has(input:disabled)):hover{
  scale:var(--lf-feedback-target-hover-v631)!important;
}
}

html body :where(
  button, a[href], summary,
  input[type="button"], input[type="submit"], input[type="reset"],
  input[type="checkbox"]:not(label *), input[type="radio"]:not(label *), select,
  label:has(input[type="checkbox"], input[type="radio"]),
  [role="button"], [role="tab"], [role="menuitem"], [role="option"]:not(option),
  [role="switch"]:not(label input),
  button[data-view], [data-admin-tab], [data-business-tab], [data-mobile-view],
  .lf-select-trigger-v510, .lf-select-option-v510, .lf-dmy-date-display-v152,
  .lf-click-feedback-v631
):not(:disabled):not([disabled]):not([aria-disabled="true"]):not([aria-disabled="true"] *):not([inert]):not([inert] *):not(:has(input:disabled)):active{
  scale:var(--lf-feedback-pressed-v631)!important;
  transition-duration:var(--lf-feedback-press-time-v631)!important;
}

html body :where(
  button, a[href], summary,
  input[type="button"], input[type="submit"], input[type="reset"],
  input[type="checkbox"]:not(label *), input[type="radio"]:not(label *), select,
  label:has(input[type="checkbox"], input[type="radio"]),
  [role="button"], [role="tab"], [role="menuitem"], [role="option"]:not(option),
  [role="switch"]:not(label input),
  button[data-view], [data-admin-tab], [data-business-tab], [data-mobile-view],
  .lf-select-trigger-v510, .lf-select-option-v510, .lf-dmy-date-display-v152,
  .lf-click-feedback-v631
):not(:disabled):not([disabled]):not([aria-disabled="true"]):not([aria-disabled="true"] *):not([inert]):not([inert] *):not(:has(input:disabled)):focus-visible{
  outline:2px solid var(--lf-action-#737373-v628,#737373)!important;
  outline-offset:3px!important;
}
}

/* Respect reduced-motion preferences and keep print output at its normal size. */
@media (prefers-reduced-motion:reduce), print{
  :root{
    --lf-feedback-rest-v631:none;
    --lf-feedback-hover-v631:none;
    --lf-feedback-wide-hover-v631:none;
    --lf-feedback-pressed-v631:none;
    --lf-feedback-time-v631:0ms;
    --lf-feedback-press-time-v631:0ms;
  }
}


/* Match the app shell's existing 760px mobile layout breakpoint. */
html body #app .header #mobileMenuBtn{
  display:none!important;
}
@media (max-width:760px){
  html body #app .header #mobileMenuBtn{
    display:inline-flex!important;
  }
}


html body #app #mobileMenuBtn,
html body #app #mobileBottomNav,
html body #app .mobile-menu-btn,
html body #app .mobile-bottom-nav{
  display:none!important;
}


/* V325.638 — searchable dropdown menus keep a real option list below the search box. */
html body > .lf-select-menu-v510[data-searchable-v638="true"]{
  display:none!important;
  flex-direction:column!important;
  gap:5px!important;
  overflow:hidden!important;
  min-height:0!important;
  padding:6px!important;
}
html body > .lf-select-menu-v510[data-searchable-v638="true"][data-open="true"]{
  display:flex!important;
}
html body > .lf-select-menu-v510[data-searchable-v638="true"] .lf-select-search-wrap-v531{
  position:static!important;
  flex:0 0 auto!important;
  width:100%!important;
  padding:0 0 5px!important;
  margin:0!important;
  background:#fff!important;
  border-bottom:1px solid #d4d4d4!important;
  box-shadow:none!important;
}
html body > .lf-select-menu-v510[data-searchable-v638="true"] .lf-select-search-v531{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:38px!important;
  min-height:38px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0 11px!important;
  border:1px solid #d4d4d4!important;
  border-radius:9px!important;
  outline:0!important;
  background:#f8f8f8!important;
  color:#404040!important;
  font:500 13px/1.2 Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
html body > .lf-select-menu-v510[data-searchable-v638="true"] .lf-select-options-v638{
  display:block!important;
  flex:1 1 auto!important;
  min-height:42px!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  scrollbar-width:thin!important;
}
html body > .lf-select-menu-v510[data-searchable-v638="true"] .lf-select-option-v510{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
}
html body > .lf-select-menu-v510[data-searchable-v638="true"] .lf-select-option-v510[hidden]{
  display:none!important;
}
html body > .lf-select-menu-v510[data-searchable-v638="true"] .lf-select-no-results-v531{
  display:none!important;
  padding:12px!important;
  color:#404040!important;
  font:500 12px/1.3 Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  text-align:center!important;
}
html body > .lf-select-menu-v510[data-searchable-v638="true"] .lf-select-no-results-v531[data-visible="true"]:not([hidden]){
  display:block!important;
}


/* Native Transfer styling retained. Only the new lending module uses these classes. */
html body #app #view-transfers .lf-loan-module-v639{width:100%;margin:20px auto 28px;display:grid;gap:14px;min-width:0;color:#404040;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
html body #app #view-transfers .lf-loan-module-v639 [hidden]{display:none!important}
html body #app #view-transfers .lf-loan-heading-v639{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
html body #app #view-transfers .lf-loan-heading-copy-v639{display:flex;align-items:center;gap:11px;min-width:0}
html body #app #view-transfers .lf-loan-icon-v639{display:grid;place-items:center;flex:0 0 39px;width:39px;height:39px;background:#f1f1f1;color:#404040;border:1px solid #d4d4d4;border-radius:11px;font-size:21px;font-weight:700}
html body #app #view-transfers .lf-loan-heading-v639 h2{font-size:17px;line-height:1.3;font-weight:800;letter-spacing:-.3px;margin:0;color:#404040}
html body #app #view-transfers .lf-loan-heading-v639 p{margin:3px 0 0;color:#404040;font-size:12px;line-height:1.45}
html body #app #view-transfers .lf-loan-main-action-v639{border:1px solid #d4d4d4!important;background:#e5e5e5!important;color:#fff!important;border-radius:10px!important;min-height:38px!important;padding:0 16px!important;font-size:12px!important;font-weight:750!important;white-space:nowrap;box-shadow:0 5px 12px rgba(82,82,82,.13)}
html body #app #view-transfers .lf-loan-main-action-v639:hover{background:#e5e5e5!important;transform:translateY(-1px)}
html body #app #view-transfers .lf-loan-summary-v639{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
html body #app #view-transfers .lf-loan-stat-v639{display:grid;gap:5px;min-width:0;padding:15px 17px;background:#fff;border:1px solid #d4d4d4;border-radius:13px;box-shadow:0 4px 16px rgba(82,82,82,.04)}
html body #app #view-transfers .lf-loan-stat-v639>span{font-size:11px;color:#404040;font-weight:700}
html body #app #view-transfers .lf-loan-stat-v639>strong{font-size:clamp(17px,2.1vw,23px);font-weight:800;font-variant-numeric:tabular-nums;color:#404040;overflow-wrap:anywhere}
html body #app #view-transfers .lf-loan-stat-v639:first-child>strong{color:#404040}
html body #app #view-transfers .lf-loan-stat-v639>small{font-size:10px;line-height:1.4;color:#404040}
html body #app #view-transfers .lf-loan-entry-v639{border:1px solid #d4d4d4;background:#fbfbfb;box-shadow:0 9px 25px rgba(82,82,82,.05);border-radius:14px;padding:16px 18px}
html body #app #view-transfers .lf-loan-entry-head-v639{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}
html body #app #view-transfers .lf-loan-entry-head-v639 strong{font-size:14px;color:#404040}
html body #app #view-transfers .lf-loan-entry-head-v639 p{font-size:11px;color:#404040;margin:4px 0 0}
html body #app #view-transfers .lf-loan-close-v639{display:grid;place-items:center;width:30px;height:30px;min-width:30px;border-radius:9px;color:#404040;border:1px solid #d4d4d4;background:#fff;font-size:19px;cursor:pointer}
html body #app #view-transfers .lf-loan-form-v639{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;align-items:start}
html body #app #view-transfers .lf-loan-form-v639>.field{min-width:0;display:flex;flex-direction:column;gap:6px}
html body #app #view-transfers .lf-loan-form-v639 label{font-size:11px;font-weight:750;color:#404040}
html body #app #view-transfers .lf-loan-form-v639 input,html body #app #view-transfers .lf-loan-form-v639 select{min-width:0;width:100%;box-sizing:border-box;height:40px;background:#fff;border:1px solid #d4d4d4;border-radius:9px;color:#404040;font-size:13px;font-weight:550;padding:0 11px;outline:0}
html body #app #view-transfers .lf-loan-form-v639 input:focus,html body #app #view-transfers .lf-loan-form-v639 select:focus{border-color:#d4d4d4;box-shadow:0 0 0 3px rgba(82,82,82,.12)}
html body #app #view-transfers .lf-loan-amount-input-v639{display:flex;align-items:center;min-width:0;border:1px solid #d4d4d4;border-radius:9px;background:#fff;overflow:hidden}
html body #app #view-transfers .lf-loan-amount-input-v639 span{flex:0 0 auto;display:grid;place-items:center;padding:0 11px;height:39px;background:#f4f4f4;color:#404040;border-right:1px solid #d4d4d4;font-size:12px;font-weight:800}
html body #app #view-transfers .lf-loan-amount-input-v639 input{border:0!important;box-shadow:none!important;border-radius:0!important}
html body #app #view-transfers .lf-loan-bank-help-v639{grid-column:1/-1;font-size:11px;color:#404040;margin-top:-6px}
html body #app #view-transfers .lf-loan-wide-v639{grid-column:1/-1}
html body #app #view-transfers .lf-loan-form-actions-v639{grid-column:1/-1;display:flex;justify-content:flex-start;gap:10px;align-items:center;margin-top:3px;flex-wrap:wrap}
html body #app #view-transfers .lf-loan-form-actions-v639>.btn{min-width:137px;min-height:39px;border-radius:9px!important;font-size:12px!important}
html body #app #view-transfers .lf-loan-secondary-v639{height:39px;padding:0 17px;border:1px solid #d4d4d4;border-radius:9px;background:#fff;color:#404040;font-size:12px;font-weight:700;cursor:pointer}
html body #app #view-transfers .lf-loan-history-v639{margin:0!important;padding:0!important;border:1px solid #d4d4d4!important;border-radius:14px!important;box-shadow:0 5px 17px rgba(82,82,82,.04)!important;overflow:hidden;background:#fff}
html body #app #view-transfers .lf-loan-history-toolbar-v639{padding:15px 17px;display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;border-bottom:1px solid #ececec}
html body #app #view-transfers .lf-loan-history-toolbar-v639>div:first-child{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
html body #app #view-transfers .lf-loan-history-toolbar-v639 strong{font-size:13px;color:#404040}
html body #app #view-transfers .lf-loan-history-toolbar-v639 .muted{font-size:11px}
html body #app #view-transfers .lf-loan-filters-v639{display:flex;gap:4px;background:#f4f4f4;padding:4px;border-radius:9px;flex-wrap:wrap}
html body #app #view-transfers .lf-loan-filters-v639 button{padding:7px 11px;min-height:30px;border:0;background:transparent;border-radius:7px;color:#404040;font-size:11px;font-weight:750;cursor:pointer}
html body #app #view-transfers .lf-loan-filters-v639 button.active{background:#fff;color:#404040;box-shadow:0 2px 7px rgba(82,82,82,.1)}
html body #app #view-transfers .lf-loan-rows-v639{display:grid;gap:0}
html body #app #view-transfers .lf-loan-record-v639{padding:15px 17px;border-bottom:1px solid #f1f1f1;display:grid;gap:10px;min-width:0}
html body #app #view-transfers .lf-loan-record-v639:last-child{border-bottom:0}
html body #app #view-transfers .lf-loan-record-top-v639{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
html body #app #view-transfers .lf-loan-person-v639{font-size:13px;font-weight:800;color:#404040;overflow-wrap:anywhere}
html body #app #view-transfers .lf-loan-subline-v639{font-size:11px;color:#404040;margin-top:4px;overflow-wrap:anywhere}
html body #app #view-transfers .lf-loan-status-v639{display:inline-block;padding:5px 9px;font-size:10px;font-weight:800;background:#fff4e4;border:1px solid #f1dfb8;color:#92661d;border-radius:999px}
html body #app #view-transfers .lf-loan-status-v639.is-returned{background:#eaf7f0;border-color:#c9ead8;color:#258052}
html body #app #view-transfers .lf-loan-figures-v639{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
html body #app #view-transfers .lf-loan-figure-v639{background:#fafafa;padding:10px 11px;border-radius:9px;min-width:0;display:grid;gap:5px}
html body #app #view-transfers .lf-loan-figure-v639 span{font-size:10px;color:#404040;font-weight:700}
html body #app #view-transfers .lf-loan-figure-v639 strong{font-size:14px;font-weight:800;color:#404040;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html body #app #view-transfers .lf-loan-figure-v639.is-outstanding strong{color:#404040}
html body #app #view-transfers .lf-loan-record-bottom-v639{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
html body #app #view-transfers .lf-loan-repayment-history-v639{font-size:11px;color:#404040;max-width:100%;flex:1 1 auto}
html body #app #view-transfers .lf-loan-repayment-history-v639 summary{cursor:pointer;font-weight:750;white-space:nowrap}
html body #app #view-transfers .lf-loan-repayment-history-v639 ul{list-style:none;margin:9px 0 0;padding:0;display:grid;gap:5px}
html body #app #view-transfers .lf-loan-repayment-history-v639 li{display:flex;gap:9px;flex-wrap:wrap;background:#f8f8f8;padding:7px 9px;border-radius:6px}
html body #app #view-transfers .lf-loan-return-action-v639{white-space:nowrap;min-height:34px;padding:0 13px;border:1px solid #d4d4d4;background:#f3f3f3;color:#404040;border-radius:9px;font-size:11px;font-weight:800;cursor:pointer}
html body #app #view-transfers .lf-loan-return-action-v639:hover{background:#e5e5e5;transform:translateY(-1px)}
html body #app #view-transfers .lf-loan-empty-v639{text-align:center;padding:29px 16px;font-size:12px;color:#404040}
html body #app #view-transfers .lf-loan-return-v639{border-color:#d4d4d4}
@media(max-width:760px){
 html body #app #view-transfers .lf-loan-summary-v639{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body #app #view-transfers .lf-loan-summary-v639>.lf-loan-stat-v639:first-child{grid-column:1/-1}
 html body #app #view-transfers .lf-loan-form-v639{grid-template-columns:minmax(0,1fr)}
 html body #app #view-transfers .lf-loan-figures-v639{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:420px){
 html body #app #view-transfers .lf-loan-main-action-v639{width:100%;justify-content:center}
 html body #app #view-transfers .lf-loan-figures-v639{grid-template-columns:minmax(0,1fr)}
 html body #app #view-transfers .lf-loan-history-toolbar-v639{align-items:flex-start}
}


/* V641: one Add action and one Transfer Type editor; histories stay individually readable. */
html body #app #view-transfers .lf-unified-add-actions-v641{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto}
html body #app #view-transfers .lf-lending-history-section-v640{display:grid;gap:0;min-width:0;margin-top:25px;width:100%}
html body #app #view-transfers .lf-lending-history-section-v640 .lf-loan-module-v639{margin:14px auto 18px;width:100%;min-width:0}
html body #app #view-transfers .lf-lending-history-section-v640 .lf-loan-history-v639{margin-top:10px!important}
html body #app #view-transfers-add #trLendPersonFieldV641[hidden]{display:none!important}
html body #app #view-transfers-add #trLendPersonFieldV641:not([hidden]){display:flex!important;flex-direction:column!important;min-width:0}
html body #app #view-transfers-add #trForm[data-transfer-mode-v549="LEND_OUT"] .transfer-to-balance-field-v522,
html body #app #view-transfers-add #trForm[data-transfer-mode-v549="LEND_OUT"] .transfer-rate-field-v521,
html body #app #view-transfers-add #trForm[data-transfer-mode-v549="LEND_OUT"] #trToFieldV334{display:none!important}
html body #app #view-transfers-add #trForm[data-transfer-mode-v549="LEND_OUT"] .transfer-currency-field-v521 select{cursor:not-allowed;opacity:.76}
html body #app #view-transfers-add #trForm[data-transfer-mode-v549="LEND_OUT"] #trSubmitV641{background:#e5e5e5!important;color:#fff!important}


/* V642: compact table-style lending records without touching summary cards or transfer history. */
html body #app #view-transfers .lf-loan-history-v639 .lf-loan-history-toolbar-v639{padding:9px 14px;min-height:40px;gap:8px}
html body #app #view-transfers .lf-loan-history-v639 .lf-loan-filters-v639{padding:3px;gap:2px}
html body #app #view-transfers .lf-loan-history-v639 .lf-loan-filters-v639 button{padding:5px 9px;min-height:26px}
html body #app #view-transfers .lf-loan-history-v639 .lf-loan-record-compact-v642{display:grid;grid-template-columns:minmax(170px,1.1fr) minmax(360px,2fr) minmax(118px,.58fr);gap:12px;align-items:center;padding:9px 14px;min-height:62px}
html body #app #view-transfers .lf-loan-record-compact-v642 .lf-loan-record-top-v639{display:block;min-width:0}
html body #app #view-transfers .lf-loan-record-compact-v642 .lf-loan-person-v639{font-size:12px;line-height:1.25}
html body #app #view-transfers .lf-loan-record-compact-v642 .lf-loan-subline-v639{font-size:10px;margin-top:3px;line-height:1.3}
html body #app #view-transfers .lf-loan-record-compact-v642 .lf-loan-figures-v639{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;min-width:0}
html body #app #view-transfers .lf-loan-record-compact-v642 .lf-loan-figure-v639{background:transparent;border-left:1px solid #ececec;border-radius:0;padding:2px 9px;gap:3px;min-width:0}
html body #app #view-transfers .lf-loan-record-compact-v642 .lf-loan-figure-v639>span{font-size:10px;line-height:1.25}
html body #app #view-transfers .lf-loan-record-compact-v642 .lf-loan-figure-v639>strong{font-size:12px;line-height:1.3}
html body #app #view-transfers .lf-loan-record-compact-v642 .lf-loan-record-bottom-v639{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:5px;min-width:0}
html body #app #view-transfers .lf-loan-record-compact-v642 .lf-loan-status-v639{font-size:9px;padding:3px 7px;line-height:1.3;white-space:nowrap}
html body #app #view-transfers .lf-loan-record-compact-v642 .lf-loan-return-action-v639{min-height:27px;padding:0 9px;font-size:10px;border-radius:7px}
html body #app #view-transfers .lf-loan-record-compact-v642 .lf-loan-record-history-v642{grid-column:1/-1;border-top:1px solid #eeeeee;padding-top:6px;min-width:0}
html body #app #view-transfers .lf-loan-record-compact-v642 .lf-loan-repayment-history-v639{display:block;font-size:10px}
html body #app #view-transfers .lf-loan-history-v639 .lf-loan-empty-v639{padding:16px 12px}
@media(max-width:950px){
 html body #app #view-transfers .lf-loan-history-v639 .lf-loan-record-compact-v642{grid-template-columns:minmax(0,1fr) minmax(0,1.8fr);gap:7px 10px}
 html body #app #view-transfers .lf-loan-record-compact-v642 .lf-loan-record-bottom-v639{grid-column:1/-1;flex-direction:row;justify-content:flex-end;align-items:center}
}
@media(max-width:620px){
 html body #app #view-transfers .lf-loan-history-v639 .lf-loan-record-compact-v642{grid-template-columns:minmax(0,1fr);padding:10px 11px}
 html body #app #view-transfers .lf-loan-record-compact-v642 .lf-loan-figures-v639{grid-column:1}
 html body #app #view-transfers .lf-loan-record-compact-v642 .lf-loan-record-bottom-v639{grid-column:1}
 html body #app #view-transfers .lf-loan-record-compact-v642 .lf-loan-figure-v639{padding-left:7px;padding-right:5px}
 html body #app #view-transfers .lf-loan-history-v639 .lf-loan-history-toolbar-v639{align-items:center;flex-wrap:wrap}
}


/* Keep the repayment form operational without showing an empty summary-sized spacer. */
html body #app #view-transfers #loanModuleV639{margin:0!important;gap:0!important}
html body #app #view-transfers #loanPageMessageV639:empty{display:none!important}
html body #app #view-transfers #loanReturnPanelV639:not([hidden]){margin:10px 0}


html body #app #businessSettingsDeliveryPageV228 #businessDeliveryRefreshStatusV645{grid-column:1/-1;min-width:0;margin:0;padding:7px 10px;border-radius:7px;background:#f4f4f4;color:#404040;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
html body #app #businessSettingsDeliveryPageV228 #businessDeliveryRefreshStatusV645[hidden]{display:none!important}
html body #app #businessSettingsDeliveryPageV228 #businessDeliveryRefreshStatusV645[data-state="success"]{background:#edf8f1;color:#276341}
html body #app #businessSettingsDeliveryPageV228 #businessDeliveryRefreshStatusV645[data-state="error"]{background:#fff1f1;color:#9b3333}
html body #app #businessSettingsDeliveryPageV228 #businessDeliveryRefreshV228{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important}
html body #app #businessSettingsDeliveryPageV228 #businessDeliveryRefreshV228[aria-busy="true"]{cursor:wait!important;opacity:.8}
html body #app #businessSettingsDeliveryPageV228 #businessDeliveryRefreshV228[aria-busy="true"]::before{content:"";width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:businessDeliverySpinV645 .7s linear infinite;flex-shrink:0}
@keyframes businessDeliverySpinV645{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){html body #app #businessSettingsDeliveryPageV228 #businessDeliveryRefreshV228[aria-busy="true"]::before{animation:none}}


/* V325.654 — retain V646 structural button behaviour without recolouring module buttons.
   Use the existing action layer so legacy !important rules cannot flatten them.
   Option lists, date/month cells and switch tracks keep their compact selection design. */
@media screen {
@layer lfActionColoursV628 {
html:not(#lm-unused-button-v646):not(#lm-unused-button-v646) body :where(button,input[type="button"],input[type="submit"],input[type="reset"],a.btn,summary.btn,[role="button"]):not(.lf-select-trigger-v510):not(.lf-month-display-v618):not(.lf-dmy-date-display-v152):not(.lf-dmy-date-calendar-v152):not(.lf-select-option-v510):not([role="option"]):not(.lf-calendar-day-v530):not(.lf-month-item-v618):not([role="switch"]):not([inert]):not([inert] *){
  border-style:solid!important;
  border-width:1px!important;

  font-weight:700!important;
  cursor:pointer!important;
  -webkit-tap-highlight-color:transparent;
}
@media(hover:hover) and (pointer:fine){
html:not(#lm-unused-button-v646):not(#lm-unused-button-v646) body :where(button,input[type="button"],input[type="submit"],input[type="reset"],a.btn,summary.btn,[role="button"]):not(.lf-select-trigger-v510):not(.lf-month-display-v618):not(.lf-dmy-date-display-v152):not(.lf-dmy-date-calendar-v152):not(.lf-select-option-v510):not([role="option"]):not(.lf-calendar-day-v530):not(.lf-month-item-v618):not([role="switch"]):not([inert]):not([inert] *):not(:disabled):not([disabled]):not([aria-disabled="true"]):not([aria-disabled="true"] *):hover{
}
}
html:not(#lm-unused-button-v646):not(#lm-unused-button-v646) body :where(button,input[type="button"],input[type="submit"],input[type="reset"],a.btn,summary.btn,[role="button"]):not(.lf-select-trigger-v510):not(.lf-month-display-v618):not(.lf-dmy-date-display-v152):not(.lf-dmy-date-calendar-v152):not(.lf-select-option-v510):not([role="option"]):not(.lf-calendar-day-v530):not(.lf-month-item-v618):not([role="switch"]):not([inert]):not([inert] *):not(:disabled):not([disabled]):not([aria-disabled="true"]):not([aria-disabled="true"] *):active{
}
html:not(#lm-unused-button-v646):not(#lm-unused-button-v646) body :where(button,input[type="button"],input[type="submit"],input[type="reset"],a.btn,summary.btn,[role="button"]):not(.lf-select-trigger-v510):not(.lf-month-display-v618):not(.lf-dmy-date-display-v152):not(.lf-dmy-date-calendar-v152):not(.lf-select-option-v510):not([role="option"]):not(.lf-calendar-day-v530):not(.lf-month-item-v618):not([role="switch"]):not([inert]):not([inert] *):focus-visible{
  outline-offset:3px!important;
}
html:not(#lm-unused-button-v646):not(#lm-unused-button-v646) body :where(button,input[type="button"],input[type="submit"],input[type="reset"],a.btn,summary.btn,[role="button"]):not(.lf-select-trigger-v510):not(.lf-month-display-v618):not(.lf-dmy-date-display-v152):not(.lf-dmy-date-calendar-v152):not(.lf-select-option-v510):not([role="option"]):not(.lf-calendar-day-v530):not(.lf-month-item-v618):not([role="switch"]):not([inert]):not([inert] *):is(:disabled,[disabled],[aria-disabled="true"],[aria-disabled="true"] *){
  opacity:.55!important;
  cursor:not-allowed!important;
}
html:not(#lm-unused-button-v646):not(#lm-unused-button-v646) body :where(button,input[type="button"],input[type="submit"],input[type="reset"],a.btn,summary.btn,[role="button"]):not(.lf-select-trigger-v510):not(.lf-month-display-v618):not(.lf-dmy-date-display-v152):not(.lf-dmy-date-calendar-v152):not(.lf-select-option-v510):not([role="option"]):not(.lf-calendar-day-v530):not(.lf-month-item-v618):not([role="switch"]):not([inert]):not([inert] *)[aria-busy="true"]{
  cursor:wait!important;
}
}
}


/* V325.647 — one equal-width Audit Log filter row with a shared 44px height. */
html body #app #view-business .business-panel-v325[data-business-panel="audit"] .business-audit-filter-v140{
  --control-h:44px;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:end!important;
  gap:14px!important;
  width:100%!important;
}
html body #app #view-business .business-panel-v325[data-business-panel="audit"] .business-audit-filter-v140 > .field{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:18px 44px!important;
  grid-column:auto!important;
  align-items:stretch!important;
  gap:8px!important;
  min-width:0!important;
  margin:0!important;
}
html body #app #view-business .business-panel-v325[data-business-panel="audit"] .business-audit-filter-v140 > .field > label{
  height:18px!important;
  margin:0!important;
  line-height:18px!important;
}
html body #app #view-business .business-panel-v325[data-business-panel="audit"] .business-audit-filter-v140 :is(input:not(.lf-dmy-date-native-v152),.lf-dmy-date-wrap-v152){
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  margin:0!important;
}
html body #app #view-business .business-panel-v325[data-business-panel="audit"] .business-audit-filter-v140 .lf-dmy-date-wrap-v152{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 44px!important;
  grid-template-rows:44px!important;
  align-items:stretch!important;
  gap:0!important;
}
html body #app #view-business .business-panel-v325[data-business-panel="audit"] .business-audit-filter-v140 .lf-dmy-date-calendar-v152{
  box-sizing:border-box!important;
  width:44px!important;
  min-width:44px!important;
  max-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  padding:0!important;
  margin:0!important;
  align-self:stretch!important;
}
html body #app #view-business .business-panel-v325[data-business-panel="audit"] .business-audit-filter-v140 input.lf-dmy-date-native-v152{
  width:1px!important;min-width:1px!important;max-width:1px!important;
  height:1px!important;min-height:1px!important;max-height:1px!important;
}
html body #app #view-business .business-panel-v325[data-business-panel="audit"] #businessAuditSearchBtnV140{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  padding:0 16px!important;
  margin:0!important;
  align-self:end!important;
  justify-self:stretch!important;
}
@media(max-width:800px){
html body #app #view-business .business-panel-v325[data-business-panel="audit"] .business-audit-filter-v140{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:460px){
html body #app #view-business .business-panel-v325[data-business-panel="audit"] .business-audit-filter-v140{grid-template-columns:minmax(0,1fr)!important}
}


/* V325.951 — consistent, accessible enterprise sidebar navigation */
@layer lmInteractionV905 {
  html body #app #mainSidebarV649 .nav.nav-categorized-v368:not(.sidebar-collapsed-v336) .main-nav-category-items-v368 {
    display:grid!important;gap:3px!important;margin:4px 0 0!important;padding:0!important;
  }
  html body #app #mainSidebarV649 .nav.nav-categorized-v368:not(.sidebar-collapsed-v336) .main-nav-category-items-v368 > button[data-view] {
    display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;
    box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:40px!important;
    margin:0!important;padding:8px 11px!important;border:1px solid transparent!important;border-radius:8px!important;
    background:transparent!important;color:#344054!important;box-shadow:none!important;
    font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;font-size:13px!important;
    font-weight:500!important;line-height:1.35!important;letter-spacing:0!important;text-align:left!important;
    text-decoration:none!important;cursor:pointer!important;transition:background-color 140ms ease,color 140ms ease,border-color 140ms ease!important;
  }
  html body #app #mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view] > span {
    display:block!important;flex:1 1 auto!important;min-width:0!important;max-width:none!important;overflow:hidden!important;
    color:inherit!important;opacity:1!important;white-space:nowrap!important;text-overflow:ellipsis!important;
    font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important;
  }
  html body #app #mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view] .nav-icon {
    display:block!important;flex:0 0 18px!important;width:18px!important;min-width:18px!important;height:18px!important;
    margin:0!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
    stroke-linecap:round!important;stroke-linejoin:round!important;opacity:1!important;color:#667085!important;
  }
  html body #app #mainSidebarV649 .nav.nav-categorized-v368:not(.sidebar-collapsed-v336) .main-nav-category-items-v368 > button[data-view]:hover:not(.active) {
    background:#f1f5f9!important;border-color:#e7edf3!important;color:#082e56!important;
  }
  html body #app #mainSidebarV649 .nav.nav-categorized-v368:not(.sidebar-collapsed-v336) .main-nav-category-items-v368 > button[data-view].active,
  html body #app #mainSidebarV649 .nav.nav-categorized-v368:not(.sidebar-collapsed-v336) .main-nav-category-items-v368 > button[data-view][aria-current="page"] {
    background:#082e56!important;border-color:#082e56!important;color:#fff!important;
    box-shadow:0 1px 2px rgba(16,36,56,.12)!important;font-weight:600!important;
  }
  html body #app #mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view].active .nav-icon,
  html body #app #mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view][aria-current="page"] .nav-icon {
    color:#fff!important;opacity:1!important;
  }
  html body #app #mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view]:focus-visible,
  html body #app #mainSidebarV649 .main-nav-category-toggle-v368:focus-visible {
    outline:3px solid #93c5fd!important;outline-offset:2px!important;
  }
  html body #app #mainSidebarV649 .main-nav-category-v368 {
    margin:0 0 9px!important;padding:0!important;border:0!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important;
  }
  html body #app #mainSidebarV649 .main-nav-category-v368:not(.sidebar-collapsed-v336) > .main-nav-category-toggle-v368 {
    display:flex!important;align-items:center!important;gap:9px!important;box-sizing:border-box!important;
    width:100%!important;min-height:36px!important;margin:0 0 3px!important;padding:6px 10px!important;
    border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;
    color:#667085!important;box-shadow:none!important;cursor:pointer!important;
    font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;font-size:12px!important;
    font-weight:650!important;line-height:1.35!important;letter-spacing:.01em!important;text-align:left!important;
  }
  html body #app #mainSidebarV649 .main-nav-category-v368:not(.sidebar-collapsed-v336) > .main-nav-category-toggle-v368:hover {
    background:#f5f7fa!important;color:#344054!important;
  }
  html body #app #mainSidebarV649 .main-nav-category-toggle-v368 > span {
    order:2!important;display:block!important;flex:1 1 auto!important;min-width:0!important;max-width:none!important;
    color:inherit!important;opacity:1!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;
    font-size:inherit!important;font-weight:inherit!important;letter-spacing:inherit!important;
  }
  html body #app #mainSidebarV649 .main-nav-category-toggle-v368 > .nav-category-icon-v794 {
    order:1!important;display:block!important;flex:0 0 17px!important;width:17px!important;min-width:17px!important;height:17px!important;
    margin:0!important;transform:none!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
    stroke-linecap:round!important;stroke-linejoin:round!important;color:#738196!important;
  }
  html body #app #mainSidebarV649 .main-nav-category-toggle-v368 > svg:last-child {
    order:3!important;display:block!important;flex:0 0 14px!important;width:14px!important;height:14px!important;
    margin:0 0 0 auto!important;transform:none!important;fill:none!important;stroke:currentColor!important;
    stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important;color:#98a2b3!important;
    transition:transform 150ms ease!important;
  }
  html body #app #mainSidebarV649 .main-nav-category-v368[open] > .main-nav-category-toggle-v368 > svg:last-child {
    transform:rotate(180deg)!important;
  }
  html body #app #sidebarToggleV335 {
    display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 34px!important;
    width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;margin:0!important;
    padding:7px!important;border:1px solid #e4e7ec!important;border-radius:8px!important;background:#fff!important;
    color:#475467!important;box-shadow:0 1px 2px rgba(16,24,40,.04)!important;cursor:pointer!important;
  }
  html body #app #sidebarToggleV335:hover {background:#f8fafc!important;border-color:#cfd7e1!important;color:#082e56!important;}
  html body #app #sidebarToggleV335 .sidebar-toggle-icon-v335 {
    display:block!important;width:18px!important;height:18px!important;min-width:18px!important;fill:none!important;
    stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;
  }
  @media (prefers-reduced-motion:reduce) {
    html body #app #mainSidebarV649 .nav button[data-view],html body #app #sidebarToggleV335,
    html body #app #mainSidebarV649 .main-nav-category-toggle-v368 > svg:last-child {transition:none!important;}
  }
}


/* V325.952 — stronger section-label contrast and clearer menu scanning */
@layer lmInteractionV905 {
  html body #app #mainSidebarV649 .main-nav-category-v368 > .main-nav-category-toggle-v368 {
    color:#344054!important;font-size:13px!important;font-weight:700!important;letter-spacing:.015em!important;
    min-height:38px!important;
  }
  html body #app #mainSidebarV649 .main-nav-category-v368 > .main-nav-category-toggle-v368 > span {
    color:#344054!important;opacity:1!important;font-size:13px!important;font-weight:700!important;
  }
  html body #app #mainSidebarV649 .main-nav-category-v368 > .main-nav-category-toggle-v368 > .nav-category-icon-v794 {
    color:#667085!important;opacity:1!important;
  }
  html body #app #mainSidebarV649 .main-nav-category-v368 > .main-nav-category-toggle-v368 > svg:last-child {
    color:#667085!important;opacity:1!important;
  }
  html body #app #mainSidebarV649 .nav.nav-categorized-v368:not(.sidebar-collapsed-v336) .main-nav-category-items-v368 > button[data-view] {
    min-height:42px!important;font-size:13.5px!important;font-weight:500!important;
  }
  html body #app #mainSidebarV649 .nav.nav-categorized-v368:not(.sidebar-collapsed-v336) .main-nav-category-items-v368 > button[data-view].active,
  html body #app #mainSidebarV649 .nav.nav-categorized-v368:not(.sidebar-collapsed-v336) .main-nav-category-items-v368 > button[data-view][aria-current="page"] {
    font-weight:650!important;
  }
  html body #app #mainSidebarV649 .main-nav-category-v368 {
    padding-bottom:7px!important;border-bottom:1px solid #e4e7ec!important;margin-bottom:8px!important;
  }
  html body #app #mainSidebarV649 .main-nav-category-v368:last-of-type {
    padding-bottom:0!important;border-bottom:0!important;
  }
  html body #app #mainSidebarV649 .side-brand-sub {
    color:#667085!important;opacity:1!important;
  }
}


/* V325.953 — clear action icons for authentication and a consistent destination icon family */
@layer lmInteractionV905 {
  html body #app #loginBtn.login-submit-v325,html body #app #logout.btn {
    display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  }
  html body #app #loginBtn.login-submit-v325 .auth-action-icon-v953,
  html body #app #logout.btn .auth-action-icon-v953 {
    display:block!important;flex:0 0 16px!important;width:16px!important;min-width:16px!important;height:16px!important;
    margin:0!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
    stroke-linecap:round!important;stroke-linejoin:round!important;opacity:1!important;
  }
  html body #app #logout.btn > span {display:inline!important;opacity:1!important;}
  html body #app #loginBtn.login-submit-v325 > span {display:inline!important;opacity:1!important;}
}


/* V325.954 — readable, steady sidebar hover and keyboard-focus states */
@layer lmInteractionV905 {
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view]:hover:not(.active):not([aria-current="page"]),
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view]:focus-visible:not(.active):not([aria-current="page"]) {
    background:#eff0f3!important;background-image:none!important;color:#193b5a!important;
    -webkit-text-fill-color:#193b5a!important;opacity:1!important;filter:none!important;
    transform:none!important;scale:none!important;translate:none!important;text-shadow:none!important;
    transition:background-color 120ms ease,color 120ms ease,border-color 120ms ease!important;
  }
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view]:hover:not(.active):not([aria-current="page"]) > span,
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view]:focus-visible:not(.active):not([aria-current="page"]) > span {
    color:#193b5a!important;-webkit-text-fill-color:#193b5a!important;opacity:1!important;
    transform:none!important;filter:none!important;text-shadow:none!important;
  }
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view]:hover:not(.active):not([aria-current="page"]) .nav-icon,
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view]:focus-visible:not(.active):not([aria-current="page"]) .nav-icon {
    color:#355d80!important;stroke:#355d80!important;opacity:1!important;filter:none!important;transform:none!important;
  }
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .main-nav-category-toggle-v368:hover,
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .main-nav-category-toggle-v368:focus-visible {
    color:#344054!important;-webkit-text-fill-color:#344054!important;background:#f1f5f9!important;
    opacity:1!important;filter:none!important;transform:none!important;scale:none!important;translate:none!important;
  }
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .main-nav-category-toggle-v368:hover > span,
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .main-nav-category-toggle-v368:focus-visible > span {
    color:#344054!important;-webkit-text-fill-color:#344054!important;opacity:1!important;transform:none!important;
  }
}


/* V325.955 — three-color finance palette sampled from the owner's reference */
@layer lmInteractionV905 {
  :root {
    --bg:#eff0f3!important;--bg-accent:#eff0f3!important;
    --surface:#ffffff!important;--surface-2:#eff0f3!important;
    --field:#ffffff!important;--field-focus:#ffffff!important;
    --line:#d6d9de!important;--line-strong:#c4c8ce!important;
    --ink:#22242a!important;--ink-2:#343a43!important;--muted:#626b76!important;
    --brand:#082e56!important;--brand-2:#082e56!important;--brand-dark:#082e56!important;
    --brand-soft:#eff0f3!important;--brand-soft-2:#eff0f3!important;
    --primary:#082e56!important;--primary-hover:#082e56!important;--primary-dark:#082e56!important;
    --accent:#c8a044!important;--accent-2:#c8a044!important;
    --nav:#eff0f3!important;--nav-hover:#eff0f3!important;--nav-active:#082e56!important;
    --lm-button-focus-v646:#c8a044!important;
  }
  html body,html body #app,html body #app .layout,html body #app .main {
    background:#eff0f3!important;background-color:#eff0f3!important;
  }
  html body #app > .header,html body #app .header {
    background:#eff0f3!important;background-color:#eff0f3!important;
    border-color:#d6d9de!important;color:#22242a!important;
  }
  html body #app #mainSidebarV649,html body #app #mainSidebarV649 .side-panel,
  html body #app #mainSidebarV649 .sidebar-header-v492 {
    background:#eff0f3!important;background-color:#eff0f3!important;border-color:#d6d9de!important;
  }
  html body #app #mainSidebarV649 .side-brand-mark {
    background:#082e56!important;border-color:#082e56!important;color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;box-shadow:inset 0 -3px 0 #c8a044!important;
  }
  html body #app #mainSidebarV649 .side-brand-title {color:#082e56!important;-webkit-text-fill-color:#082e56!important;}
  html body #app #mainSidebarV649 .side-brand-sub {color:#626b76!important;-webkit-text-fill-color:#626b76!important;}
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view].active,
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view][aria-current="page"] {
    background:#082e56!important;background-image:none!important;color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;border-color:#082e56!important;
    box-shadow:inset 3px 0 0 #c8a044!important;transform:none!important;filter:none!important;
  }
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view].active > span,
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view][aria-current="page"] > span {
    color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;
  }
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view].active .nav-icon,
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view][aria-current="page"] .nav-icon {
    color:#c8a044!important;stroke:#c8a044!important;opacity:1!important;
  }
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view]:hover:not(.active):not([aria-current="page"]),
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view]:focus-visible:not(.active):not([aria-current="page"]) {
    background:#eff0f3!important;color:#082e56!important;-webkit-text-fill-color:#082e56!important;
    transform:none!important;scale:none!important;translate:none!important;filter:none!important;
  }
  html body #app #mainSidebarV649 .main-nav-category-v368 > .main-nav-category-toggle-v368 {
    color:#082e56!important;-webkit-text-fill-color:#082e56!important;
  }
  html body #app #mainSidebarV649 .main-nav-category-toggle-v368:hover,
  html body #app #mainSidebarV649 .main-nav-category-toggle-v368:focus-visible {
    background:#eff0f3!important;color:#082e56!important;-webkit-text-fill-color:#082e56!important;
    transform:none!important;filter:none!important;
  }
  html body #app .main .card,html body #app .main .panel {
    background:#ffffff!important;border-color:#d6d9de!important;
  }
  html body #app .dashboard-summary-heading-v864,
  html body #app .main .card.section > .head {
    background:#eff0f3!important;background-color:#eff0f3!important;color:#082e56!important;
    border-color:#d6d9de!important;border-left:3px solid #c8a044!important;
  }
  html body #app #dashboardSummaryTitleV864 {background:transparent!important;border-left:0!important;color:#082e56!important;}
  html body #app #dashboardExpensesV928#dashboardExpensesV928#dashboardExpensesV928 .expenses-heading-v928 {
    background:#eff0f3!important;background-color:#eff0f3!important;color:#082e56!important;
    border-color:#d6d9de!important;border-left:3px solid #c8a044!important;
  }
  html body #app #dashboardMetricsV864 .dashboard-metric-icon-v864 {
    background:#c8a044!important;color:#082e56!important;border-color:#c8a044!important;
  }
  html body #app #dashboardMetricsV864 .dashboard-metric-icon-v864 svg {
    color:#082e56!important;stroke:#082e56!important;fill:none!important;
  }
  html body #app .main :is(input,select,textarea):focus-visible {
    border-color:#082e56!important;outline:2px solid #c8a044!important;outline-offset:1px!important;
    box-shadow:0 0 0 3px rgba(200,160,68,.28)!important;
  }
  html body #app .main :is(button.primary,.btn-primary,.primary-btn,.primary-action),
  html body #login button#loginBtn.primary.login-submit-v325 {
    background:#082e56!important;background-image:none!important;border-color:#082e56!important;
    color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;
    box-shadow:inset 0 -2px 0 #c8a044!important;
  }
  html body #app .main :is(button.primary,.btn-primary,.primary-btn,.primary-action):hover,
  html body #app .main :is(button.primary,.btn-primary,.primary-btn,.primary-action):focus-visible,
  html body #login button#loginBtn.primary.login-submit-v325:hover,
  html body #login button#loginBtn.primary.login-submit-v325:focus-visible {
    background:#c8a044!important;background-image:none!important;border-color:#c8a044!important;
    color:#082e56!important;-webkit-text-fill-color:#082e56!important;
  }
  html body #app .main :is(a:not(.btn),.link) {color:#082e56!important;}
  html body #app .main :is(a:not(.btn),.link):hover {color:#082e56!important;text-decoration-color:#c8a044!important;text-decoration-thickness:2px!important;}
}


/* V325.957 — muted-gold brand with clean white work surfaces */
@layer lmInteractionV905 {
  :root {
    --bg:#eff0f3!important;--bg-accent:#eff0f3!important;
    --surface:#ffffff!important;--surface-2:#ffffff!important;
    --field:#ffffff!important;--field-focus:#ffffff!important;
    --line:#d6d9de!important;--line-strong:#c4c8ce!important;
    --ink:#22242a!important;--ink-2:#343a43!important;--muted:#626b76!important;
    --brand:#082e56!important;--brand-2:#082e56!important;--brand-dark:#082e56!important;
    --brand-soft:#eff0f3!important;--brand-soft-2:#eff0f3!important;
    --primary:#c8a044!important;--primary-hover:#082e56!important;--primary-dark:#082e56!important;
    --accent:#c8a044!important;--accent-2:#c8a044!important;
    --nav:#ffffff!important;--nav-hover:#eff0f3!important;--nav-active:#c8a044!important;
    --lm-button-focus-v646:#c8a044!important;
  }
  html body,html body #app,html body #app .layout,html body #app .main {
    background:#eff0f3!important;background-color:#eff0f3!important;
  }
  html body #app > .header,html body #app .header {
    background:#c8a044!important;background-color:#c8a044!important;
    border-color:#082e56!important;border-bottom:2px solid #082e56!important;
    color:#082e56!important;-webkit-text-fill-color:#082e56!important;
  }
  html body #app > .header :is(h1,h2,h3,p,span,small,strong,div) {
    color:#082e56!important;-webkit-text-fill-color:#082e56!important;
  }
  html body #app #mainSidebarV649,html body #app #mainSidebarV649 .side-panel,
  html body #app #mainSidebarV649 .sidebar-header-v492 {
    background:#ffffff!important;background-color:#ffffff!important;border-color:#d6d9de!important;
  }
  html body #app #mainSidebarV649 .side-brand-mark {
    background:#082e56!important;border-color:#082e56!important;color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;box-shadow:inset 0 -3px 0 #c8a044!important;
  }
  html body #app #mainSidebarV649 .side-brand-title {color:#082e56!important;-webkit-text-fill-color:#082e56!important;}
  html body #app #mainSidebarV649 .side-brand-sub {color:#626b76!important;-webkit-text-fill-color:#626b76!important;}
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view].active,
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view][aria-current="page"] {
    background:#c8a044!important;background-image:none!important;color:#082e56!important;
    -webkit-text-fill-color:#082e56!important;border-color:#c8a044!important;
    box-shadow:inset 3px 0 0 #082e56!important;transform:none!important;filter:none!important;
  }
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view].active > span,
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view][aria-current="page"] > span {
    color:#082e56!important;-webkit-text-fill-color:#082e56!important;
  }
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view].active .nav-icon,
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view][aria-current="page"] .nav-icon {
    color:#082e56!important;stroke:#082e56!important;opacity:1!important;
  }
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view]:hover:not(.active):not([aria-current="page"]),
  html body #app #mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649#mainSidebarV649 .nav.nav-categorized-v368 .main-nav-category-items-v368 > button[data-view]:focus-visible:not(.active):not([aria-current="page"]) {
    background:#eff0f3!important;color:#082e56!important;-webkit-text-fill-color:#082e56!important;
    transform:none!important;scale:none!important;translate:none!important;filter:none!important;
  }
  html body #app #mainSidebarV649 .main-nav-category-v368 > .main-nav-category-toggle-v368 {
    color:#082e56!important;-webkit-text-fill-color:#082e56!important;
  }
  html body #app #mainSidebarV649 .main-nav-category-toggle-v368:hover,
  html body #app #mainSidebarV649 .main-nav-category-toggle-v368:focus-visible {
    background:#eff0f3!important;color:#082e56!important;-webkit-text-fill-color:#082e56!important;
    transform:none!important;filter:none!important;
  }
  html body #app .main .card,html body #app .main .panel {
    background:#ffffff!important;border-color:#d6d9de!important;
  }
  html body #app .dashboard-summary-heading-v864,
  html body #app #dashboardExpensesV928#dashboardExpensesV928#dashboardExpensesV928 .expenses-heading-v928 {
    background:#c8a044!important;background-color:#c8a044!important;color:#082e56!important;
    border-color:#c8a044!important;border-left:0!important;
  }
  html body #app .dashboard-summary-heading-v864 :is(h2,svg),
  html body #app #dashboardExpensesV928 .expenses-heading-v928 :is(h2,svg,strong) {
    color:#082e56!important;-webkit-text-fill-color:#082e56!important;stroke:#082e56!important;
  }
  html body #app #dashboardSummaryTitleV864 {background:transparent!important;border-left:0!important;color:#082e56!important;}
  html body #app .main .card.section > .head {
    background:#ffffff!important;background-color:#ffffff!important;color:#082e56!important;
    border-color:#d6d9de!important;border-left:3px solid #c8a044!important;
  }
  html body #app #dashboardMetricsV864 .dashboard-metric-icon-v864 {
    background:#c8a044!important;color:#082e56!important;border-color:#c8a044!important;
  }
  html body #app #dashboardMetricsV864 .dashboard-metric-icon-v864 svg {
    color:#082e56!important;stroke:#082e56!important;fill:none!important;
  }
  html body #app .main :is(input,select,textarea):focus-visible {
    border-color:#082e56!important;outline:2px solid #082e56!important;outline-offset:1px!important;
    box-shadow:0 0 0 3px rgba(200,160,68,.45)!important;
  }
  html body #app .main :is(button.primary,.btn-primary,.primary-btn,.primary-action),
  html body #login button#loginBtn.primary.login-submit-v325,
  html body #app #view-accounts #addAccount {
    background:#c8a044!important;background-image:none!important;border-color:#082e56!important;
    color:#082e56!important;-webkit-text-fill-color:#082e56!important;
    box-shadow:inset 0 -2px 0 #082e56!important;
  }
  html body #app .main :is(button.primary,.btn-primary,.primary-btn,.primary-action):hover,
  html body #app .main :is(button.primary,.btn-primary,.primary-btn,.primary-action):focus-visible,
  html body #login button#loginBtn.primary.login-submit-v325:hover,
  html body #login button#loginBtn.primary.login-submit-v325:focus-visible,
  html body #app #view-accounts #addAccount:hover,
  html body #app #view-accounts #addAccount:focus-visible {
    background:#082e56!important;background-image:none!important;border-color:#082e56!important;
    color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;
    box-shadow:inset 0 -2px 0 #c8a044!important;
  }
  html body #app .main :is(a:not(.btn),.link) {color:#082e56!important;}
  html body #app .main :is(a:not(.btn),.link):hover {color:#082e56!important;text-decoration-color:#c8a044!important;text-decoration-thickness:2px!important;}
}
