:root {
  --bg: #eef5fb;
  --surface: #ffffff;
  --surface-2: #f1f6fb;
  --ink: #101828;
  --muted: #64748b;
  --line: #d8e3ef;
  --blue: #0D47A1;
  --blue-ink: #082f6f;
  --orange: #FF7A00;
  --green: #13a66b;
  --amber: #FF7A00;
  --red: #d92d20;
  --cyan: #0891b2;
  --shadow: 0 14px 36px rgba(16, 24, 40, 0.11);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 52%, #f6f9fc 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.desktop-only {
  display: none !important;
}

.app-shell {
  min-height: 100vh;
}

.screen {
  min-height: 100vh;
  padding: 18px 16px 94px;
}

.super-admin-screen {
  min-height: 100vh;
  padding: 18px 16px 34px;
}

.super-admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.super-admin-header span {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.super-admin-header h1 {
  margin: 0;
  color: #071434;
  font-size: 1.78rem;
  line-height: 1.03;
}

.super-admin-header p {
  max-width: 620px;
  margin: 5px 0 0;
  color: #526176;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.35;
}

.super-admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.super-admin-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 9px;
  margin-bottom: 10px;
}

.super-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.super-stat {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid #d8e3ef;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.super-stat span {
  display: grid;
  width: 30px;
  height: 30px;
  margin: 0 auto 2px;
  place-items: center;
  border-radius: 999px;
}

.super-stat.green span { background: #dcfce7; color: #138a58; }
.super-stat.blue span { background: #dbeafe; color: var(--blue); }
.super-stat.amber span { background: #fef3c7; color: #b56d05; }
.super-stat.red span { background: #fee2e2; color: #c92a20; }

.super-stat b {
  color: #071434;
  font-size: 1.18rem;
  font-weight: 1000;
}

.super-stat small {
  overflow: visible;
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 900;
  text-overflow: clip;
  white-space: normal;
}

.super-settings-strip {
  display: flex;
  gap: 7px;
  margin-bottom: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.super-settings-strip.support {
  margin-bottom: 0;
}

.mini-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #d8e3ef;
  border-radius: 999px;
  background: #fff;
  color: #526176;
  font-size: 0.68rem;
  font-weight: 950;
}

.mini-toggle.on {
  border-color: #a7f3d0;
  background: #ecfdf3;
  color: #138a58;
}

.mini-toggle .svg-icon {
  width: 15px;
  height: 15px;
}

.super-search {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.05);
}

.super-search .svg-icon {
  width: 18px;
  height: 18px;
}

.super-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #071434;
  font-size: 0.82rem;
  font-weight: 850;
}

.super-create-card,
.super-support-card,
.super-support-empty,
.super-business-card {
  border: 1px solid #d8e3ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.super-create-card {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
  padding: 12px;
}

.super-create-form {
  display: grid;
  gap: 9px;
}

.super-pin-form {
  display: grid;
  gap: 9px;
}

.super-admin-grid {
  display: grid;
  gap: 10px;
}

.super-business-list {
  display: grid;
  gap: 8px;
  align-content: start;
}

.super-business-card {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.super-business-card.active {
  border-color: #93c5fd;
  background: linear-gradient(135deg, #ffffff, #eef6ff);
}

.super-business-main {
  display: grid;
  width: 100%;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.super-business-main strong,
.super-business-main small {
  display: block;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.super-business-main strong {
  color: #071434;
  font-size: 0.92rem;
  font-weight: 1000;
}

.super-business-main small {
  margin-top: 2px;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
}

.super-business-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.super-business-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.super-business-actions .button {
  min-height: 38px;
  justify-content: center;
}

.super-business-metrics span,
.super-support-summary div {
  display: grid;
  gap: 2px;
  padding: 7px;
  border-radius: 8px;
  background: #f4f8fc;
  color: #526176;
  font-size: 0.66rem;
  font-weight: 850;
  text-align: center;
}

.super-support-panel {
  min-width: 0;
}

.super-support-empty {
  display: grid;
  min-height: 210px;
  place-items: center;
  padding: 24px 18px;
  color: #526176;
  text-align: center;
}

.super-support-empty span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 999px;
  background: #e0f2fe;
  color: var(--blue);
}

.super-support-empty strong {
  color: #071434;
  font-size: 1rem;
  font-weight: 1000;
}

.super-support-empty p {
  max-width: 320px;
  margin: 4px 0 0;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.super-support-card {
  display: grid;
  gap: 11px;
  padding: 12px;
}

.super-support-details,
.super-support-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.super-support-details div {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px;
  border: 1px solid #e3edf7;
  border-radius: 8px;
  background: #f8fbff;
}

.super-support-details span,
.super-support-summary span {
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 950;
  text-transform: uppercase;
}

.super-support-details b,
.super-support-summary strong {
  overflow: visible;
  color: #071434;
  font-size: 0.78rem;
  font-weight: 1000;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.super-support-summary strong {
  font-size: 1.08rem;
}

.super-support-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.super-support-actions .button {
  min-width: 0;
  padding: 9px 8px;
  font-size: 0.78rem;
}

.subscription-control-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #d8e3ef;
  border-radius: 8px;
  background: #f8fbff;
}

.subscription-status-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.subscription-pill {
  display: grid;
  min-width: 0;
  min-height: 34px;
  place-items: center;
  border: 1px solid #d8e3ef;
  border-radius: 999px;
  background: #fff;
  color: #526176;
  font-size: 0.66rem;
  font-weight: 1000;
  text-align: center;
}

.subscription-pill input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.subscription-pill.selected,
.subscription-pill:has(input:checked) {
  border-color: #93c5fd;
  background: #eaf4ff;
  color: var(--blue);
}

.subscription-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.subscription-fields label,
.subscription-note {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.subscription-fields span,
.subscription-note span {
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 950;
  text-transform: uppercase;
}

.subscription-fields input,
.subscription-note input {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  border: 1px solid #d8e3ef;
  border-radius: 8px;
  padding: 0 9px;
  background: #fff;
  color: #071434;
  font-size: 0.78rem;
  font-weight: 850;
}

.super-context-list {
  display: grid;
  gap: 6px;
}

.super-context-list h3 {
  margin: 7px 0 0;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.super-context-list p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto auto;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 8px;
  border-radius: 8px;
  background: #f4f8fc;
}

.text-action {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 950;
  white-space: nowrap;
}

.super-inline-form,
.business-register-form {
  display: grid;
  gap: 8px;
}

.super-inline-form {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  padding: 8px;
  border: 1px solid #e3edf7;
  border-radius: 8px;
  background: #f8fbff;
}

.super-inline-form input {
  min-width: 0;
  height: 38px;
  border: 1px solid #d8e3ef;
  border-radius: 8px;
  padding: 0 10px;
  outline: 0;
  color: #071434;
  font-size: 0.78rem;
  font-weight: 850;
}

.business-register-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e3edf7;
}

.business-register-form label {
  display: grid;
  gap: 5px;
}

.business-register-form span {
  color: #526176;
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.business-register-form input {
  height: 40px;
  border: 1px solid #d8e3ef;
  border-radius: 8px;
  padding: 0 10px;
  outline: 0;
  color: #071434;
  font-size: 0.84rem;
  font-weight: 850;
}

.full-width {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

.super-context-list b,
.super-context-list span {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.super-context-list b {
  color: #071434;
  font-size: 0.76rem;
  font-weight: 950;
}

.super-context-list span {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
}

@media (min-width: 880px) {
  .super-admin-screen {
    max-width: 1440px;
    margin: 0 auto;
    padding: 28px 24px 42px;
  }

  .super-admin-header h1 {
    font-size: 2.15rem;
  }

  .super-create-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
  }

  .super-pin-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
  }

  .super-admin-grid {
    grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
  }

  .super-support-details {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .super-support-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .business-register-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1240px) {
  .super-business-list {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  }

  .super-support-card {
    gap: 14px;
  }

  .super-context-list p {
    grid-template-columns: minmax(160px, 0.9fr) minmax(180px, 1.1fr) auto auto;
  }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.eyebrow {
  margin: 0 0 3px;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 4px;
  font-size: 2.35rem;
  font-weight: 950;
  line-height: 0.98;
}

h2 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 950;
}

h3 {
  margin-bottom: 6px;
  font-size: 1.04rem;
  font-weight: 950;
}

.subtle {
  color: var(--muted);
}

.avatar {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: #dbeafe;
  color: var(--blue-ink);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.16);
  font-weight: 900;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}

.status-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #1d4ed8;
  font-size: 0.76rem;
  font-weight: 850;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.summary-card {
  position: relative;
  min-height: 128px;
  overflow: hidden;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: left;
}

.summary-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
}

.summary-card.blue {
  background: #eef5ff;
  border-color: #bfdbfe;
}

.summary-card.blue::before {
  background: var(--blue);
}

.summary-card.green {
  background: #edfdf5;
  border-color: #bbf7d0;
}

.summary-card.green::before {
  background: var(--green);
}

.summary-card.amber {
  background: #fff8e7;
  border-color: #fde68a;
}

.summary-card.amber::before {
  background: var(--amber);
}

.summary-card.red {
  background: #fff1f0;
  border-color: #fecaca;
}

.summary-card.red::before {
  background: var(--red);
}

.summary-icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 13px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  color: currentColor;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.08);
}

.summary-card.blue .summary-icon,
.summary-card.blue strong {
  color: var(--blue-ink);
}

.summary-card.green .summary-icon,
.summary-card.green strong {
  color: #08704a;
}

.summary-card.amber .summary-icon,
.summary-card.amber strong {
  color: #9a5b00;
}

.summary-card.red .summary-icon,
.summary-card.red strong {
  color: #a31b15;
}

.summary-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.72rem;
  font-weight: 1000;
  line-height: 1;
}

.summary-card .summary-label {
  display: block;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 950;
}

.summary-card small {
  display: block;
  margin-top: 12px;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 650;
}

.panel {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.invoice-reading-section .section-title {
  justify-content: flex-start;
  gap: 8px;
}

.list {
  display: grid;
  gap: 12px;
}

.row-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
}

.route-focus-card {
  border-color: #8bbcf7;
  background: #f4f9ff;
  box-shadow: 0 8px 22px rgba(13, 99, 206, 0.12);
}

.asset-move-shell {
  display: grid;
  gap: 10px;
}

.asset-move-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.asset-move-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  padding: 6px 5px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #ffffff;
  color: #526176;
  text-align: center;
}

.asset-move-tabs button.active {
  border-color: #9ec5ff;
  background: #eef6ff;
  color: var(--blue);
}

.asset-move-tabs .svg-icon {
  width: 15px;
  height: 15px;
}

.asset-move-tabs b {
  font-size: 0.68rem;
  font-weight: 950;
}

.asset-move-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #ffffff;
}

.asset-move-card-head,
.asset-move-section-title,
.asset-move-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.asset-move-card-head span,
.asset-move-static span,
.asset-move-section-title h2 {
  margin: 0;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 850;
}

.asset-move-card-head strong,
.asset-move-static strong {
  display: block;
  color: #071434;
  font-size: 0.9rem;
  font-weight: 1000;
}

.asset-move-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.asset-move-form-grid.single {
  grid-template-columns: minmax(0, 1fr);
}

.asset-move-form-grid > label,
.asset-location-selector,
.asset-move-static {
  display: grid;
  gap: 5px;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.asset-location-selector {
  position: relative;
  z-index: 3;
}

.asset-location-selector.open {
  z-index: 20;
}

.asset-move-form-grid label span,
.asset-location-selector > span {
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 900;
}

.asset-move-form-grid select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #071434;
  font-size: 0.78rem;
  font-weight: 900;
}

.asset-location-search {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #ffffff;
  color: var(--blue);
}

.asset-location-search .svg-icon {
  width: 14px;
  height: 14px;
}

.asset-location-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #071434;
  font-size: 0.74rem;
  font-weight: 850;
}

.asset-location-selected {
  position: relative;
  display: grid;
  width: 100%;
  gap: 1px;
  padding: 6px 8px;
  padding-right: 28px;
  border: 0;
  border-radius: 8px;
  background: #eef6ff;
  cursor: pointer;
  text-align: left;
}

.asset-location-selected i {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--blue);
  transform: translateY(-50%) rotate(90deg);
}

.asset-location-selector.open .asset-location-selected i {
  transform: translateY(-50%) rotate(-90deg);
}

.asset-location-selected i .svg-icon {
  width: 14px;
  height: 14px;
}

.asset-location-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid #d8e2ee;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

.asset-location-selected b,
.asset-location-selected small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-location-selected b {
  color: #071434;
  font-size: 0.74rem;
  font-weight: 1000;
}

.asset-location-selected small {
  color: #526176;
  font-size: 0.62rem;
  font-weight: 800;
}

.asset-location-results {
  display: grid;
  gap: 4px;
  max-height: 126px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.asset-location-results button {
  display: grid;
  gap: 1px;
  padding: 6px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  text-align: left;
}

.asset-location-results button.active {
  border-color: #9ec5ff;
  background: #eef6ff;
}

.asset-location-results b,
.asset-location-results small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-location-results b {
  color: #071434;
  font-size: 0.7rem;
  font-weight: 950;
}

.asset-location-results small {
  color: #64748b;
  font-size: 0.6rem;
  font-weight: 800;
}

.asset-move-asset-list,
.asset-move-bulk-list,
.asset-move-approval-list,
.move-reading-panel {
  display: grid;
  gap: 8px;
}

.asset-selected-tray,
.asset-search-results {
  display: grid;
  gap: 7px;
}

.asset-move-section-title.compact h2 {
  font-size: 0.66rem;
}

.selected-asset-chip-list {
  display: grid;
  gap: 6px;
  max-height: 150px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.selected-asset-chip {
  display: grid;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eef6ff;
  color: var(--blue);
  text-align: left;
}

.selected-asset-main {
  display: grid;
  grid-template-columns: 26px minmax(72px, 0.9fr) minmax(0, 1fr) 22px;
  gap: 7px;
  align-items: center;
}

.selected-asset-main > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
}

.selected-asset-main b,
.selected-asset-main small {
  display: block;
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.selected-asset-main b {
  color: #071434;
  font-size: 0.72rem;
  font-weight: 1000;
}

.selected-asset-main small {
  color: #526176;
  font-size: 0.62rem;
  font-weight: 800;
}

.selected-asset-main button {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #64748b;
}

.selected-asset-chip .svg-icon,
.selected-asset-main button .svg-icon {
  width: 15px;
  height: 15px;
}

.inline-move-reading {
  display: grid;
  grid-template-columns: 82px 82px minmax(0, 1fr);
  gap: 7px;
  padding-top: 7px;
  border-top: 1px solid #cfe3ff;
}

.inline-move-reading label {
  display: grid;
  gap: 4px;
}

.inline-move-reading label span,
.inline-move-reading label small {
  color: #526176;
  font-size: 0.6rem;
  font-weight: 850;
}

.inline-move-reading input {
  width: 100%;
  height: 41px;
  box-sizing: border-box;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #ffffff;
  color: #071434;
  font-size: 0.76rem;
  font-weight: 900;
}

.move-file-field {
  cursor: pointer;
}

.move-file-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.move-upload-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 41px;
  box-sizing: border-box;
  width: 100%;
  margin-top: 15px;
  transform: translateY(1px);
  padding: 0 10px;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #ffffff;
  color: #071434;
  font-size: 0.76rem;
  font-weight: 900;
}

.inline-move-reading label .move-upload-pill {
  color: #071434;
  font-size: 0.76rem;
  font-weight: 900;
}

.move-upload-pill .svg-icon {
  width: 15px;
  height: 15px;
  color: var(--blue);
}

.move-file-field small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-move-asset-list.compact-results {
  max-height: 280px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.asset-move-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #f8fbff;
  color: var(--blue);
}

.asset-move-search .svg-icon {
  width: 17px;
  height: 17px;
}

.asset-move-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #071434;
  font-size: 0.78rem;
  font-weight: 850;
}

.asset-move-option {
  display: grid;
  grid-template-columns: auto 30px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 9px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #fbfdff;
}

.asset-move-option.selected {
  border-color: #9ec5ff;
  background: #eef6ff;
}

.asset-move-option input {
  width: 18px;
  height: 18px;
}

.asset-move-option b,
.asset-move-option small {
  display: block;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.asset-move-option b {
  color: #071434;
  font-size: 0.76rem;
  font-weight: 950;
}

.asset-move-option small {
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 800;
}

.asset-move-bulk-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 76px;
  gap: 8px;
  align-items: center;
  padding: 9px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.asset-move-bulk-row b,
.asset-move-bulk-row small {
  display: block;
}

.asset-move-bulk-row b {
  color: #071434;
  font-size: 0.76rem;
  font-weight: 950;
}

.asset-move-bulk-row small {
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 800;
}

.asset-move-bulk-row input {
  width: 100%;
  min-height: 34px;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #f8fafc;
  color: #071434;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 950;
}

.move-reading-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px 82px minmax(92px, 1fr);
  gap: 7px;
  align-items: end;
  padding: 9px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: #fffbeb;
}

.move-reading-card.optional {
  grid-template-columns: minmax(0, 1fr);
  border-color: #e2e8f0;
  background: #f8fafc;
}

.move-reading-card strong,
.move-reading-card small,
.move-reading-card label span {
  display: block;
}

.move-reading-card strong {
  color: #071434;
  font-size: 0.78rem;
  font-weight: 1000;
}

.move-reading-card small,
.move-reading-card label span {
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 850;
}

.move-reading-card input {
  width: 100%;
  min-height: 34px;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #ffffff;
  color: #071434;
  font-size: 0.78rem;
  font-weight: 900;
}

.asset-move-approval-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  padding: 9px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #fbfdff;
}

.asset-move-approval-card strong,
.asset-move-approval-card small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.asset-move-approval-card strong {
  color: #071434;
  font-size: 0.78rem;
  font-weight: 950;
}

.asset-move-approval-card small {
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 800;
}

.location-change-list {
  display: grid;
  gap: 4px;
  margin-top: 6px;
}

.location-change-list div {
  display: grid;
  gap: 2px;
  padding: 6px;
  border-radius: 7px;
  background: #f1f6fb;
}

.location-change-list span {
  color: var(--blue);
  font-size: 0.6rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.approval-action-stack {
  display: grid;
  gap: 5px;
}

.row-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.meta {
  padding: 11px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f4f8fc, #edf3f8);
}

.meta span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.meta strong {
  display: block;
  margin-top: 4px;
  font-weight: 950;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.collection-due-hero {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  margin: 0 0 10px;
  padding: 12px;
  border: 1px solid #c9dcf5;
  border-radius: 8px;
  background: linear-gradient(135deg, #f7fbff, #eef7ff 48%, #f0fbf5);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.collection-hero-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
}

.collection-hero-icon .svg-icon {
  width: 25px;
  height: 25px;
}

.collection-hero-copy {
  min-width: 0;
}

.collection-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(38px, 1fr));
  gap: 5px;
}

.collection-hero-stats div {
  display: grid;
  min-width: 38px;
  gap: 1px;
  padding: 6px;
  border: 1px solid #d9e8f7;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  text-align: center;
}

.collection-hero-stats b {
  color: #071434;
  font-size: 0.9rem;
  font-weight: 1000;
}

.back-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
}

.back-link .svg-icon {
  width: 15px;
  height: 15px;
  transform: rotate(180deg);
}

.collection-due-hero span,
.collection-due-hero p {
  display: block;
  margin: 0;
  color: #43516a;
  font-size: 0.68rem;
  font-weight: 850;
}

.collection-due-hero strong {
  display: block;
  overflow: hidden;
  margin: 2px 0;
  color: #15803d;
  font-size: 1.55rem;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collection-list {
  display: grid;
  gap: 10px;
}

.collection-search {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
}

.collection-search .svg-icon {
  width: 18px;
  height: 18px;
}

.collection-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #071434;
  font-size: 0.82rem;
  font-weight: 850;
}

.collection-search input::placeholder {
  color: #94a3b8;
}

.collection-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  padding: 12px 10px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.collection-card.compact {
  display: block;
  padding: 0;
  overflow: hidden;
}

.collection-row-summary {
  display: grid;
  width: 100%;
  grid-template-columns: 34px minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 9px;
  padding: 11px;
  border: 0;
  background: white;
  text-align: left;
}

.collection-row-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.collection-row-copy strong {
  overflow: hidden;
  color: #071434;
  font-size: 0.9rem;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collection-row-copy small,
.collection-row-money small {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
}

.collection-row-money {
  display: grid;
  justify-items: end;
  min-width: 82px;
  gap: 2px;
}

.collection-row-money b {
  color: #071434;
  font-size: 0.94rem;
  font-weight: 1000;
}

.collection-row-money b.green {
  color: #15803d;
}

.collection-row-money b.amber {
  color: #c36b00;
}

.collection-row-chevron {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--blue);
  transition: transform 0.18s ease;
}

.collection-card.expanded .collection-row-chevron {
  transform: rotate(90deg);
}

.expanded-detail {
  padding: 0 11px 11px 54px;
}

.collection-history-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding: 8px 10px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #f8fbff;
}

.collection-history-strip strong {
  min-width: 0;
  overflow: hidden;
  color: #071434;
  font-size: 0.86rem;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collection-rank {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: #dcecff;
  color: #0f5fc8;
  font-size: 0.95rem;
  font-weight: 950;
}

.collection-card-main {
  display: grid;
  min-width: 0;
  gap: 9px;
}

.collection-card-head,
.collection-amount-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.collection-card h2 {
  margin: 0 0 3px;
  color: #071434;
  font-size: 0.98rem;
  font-weight: 1000;
}

.collection-card p {
  margin: 0;
  color: #526176;
  font-size: 0.72rem;
}

.collection-chip {
  display: inline-flex;
  min-width: 72px;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 900;
  white-space: nowrap;
}

.collection-chip.green {
  background: #dff4e6;
  color: #14763c;
}

.collection-chip.amber {
  background: #ffeacf;
  color: #b76000;
}

.collection-chip.red {
  background: #fde1e4;
  color: #d92d20;
}

.collection-amount-row {
  align-items: center;
  padding: 9px 10px;
  border-radius: 8px;
  background: #f8fafc;
}

.collection-amount-row span {
  color: #526176;
  font-size: 0.72rem;
  font-weight: 850;
}

.collection-amount-row strong {
  font-size: 1.28rem;
  font-weight: 1000;
}

.collection-amount-row .green {
  color: #15803d;
}

.collection-amount-row .amber {
  color: #c36b00;
}

.collection-amount-row .red {
  color: #d92d20;
}

.collection-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.collection-meta-grid div {
  display: grid;
  gap: 2px;
  padding: 8px;
  border-radius: 8px;
  background: #f4f8fc;
}

.collection-meta-grid span {
  color: #667085;
  font-size: 0.62rem;
  font-weight: 850;
  text-transform: uppercase;
}

.collection-meta-grid b {
  color: #071434;
  font-size: 0.78rem;
  line-height: 1.15;
}

.collection-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.collection-actions .button {
  min-height: 38px;
  justify-content: center;
  padding: 8px 6px;
  font-size: 0.75rem;
}

.select-collection {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 6px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 950;
}

.select-collection.disabled {
  border-color: #e5e7eb;
  background: #f8fafc;
  color: #94a3b8;
}

.users-shell {
  display: grid;
  gap: 11px;
}

.users-toolbar-card,
.user-editor-card,
.users-list-card {
  display: grid;
  gap: 11px;
  padding: 12px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.users-toolbar-card {
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  padding: 9px;
}

.users-search {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #f8fbff;
  color: var(--blue);
}

.users-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #071434;
  font-size: 0.82rem;
  font-weight: 850;
}

.users-add-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
}

.users-add-button .svg-icon {
  width: 23px;
  height: 23px;
}

.user-editor-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 30px;
  gap: 5px;
  align-items: stretch;
}

.user-editor-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.user-editor-heading span,
.user-editor-heading strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-editor-heading span {
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 900;
}

.user-editor-heading strong {
  color: #071434;
  font-size: 1rem;
  font-weight: 1000;
}

.user-control-pill,
.user-editor-close {
  min-width: 0;
  border: 1px solid #d9e1ec;
  border-radius: 999px;
  background: #f8fbff;
  color: #071434;
}

.user-control-pill {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 13px;
  min-width: 0;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 5px 8px;
  text-align: left;
}

.user-control-pill.permission {
  border-color: var(--blue);
  background: #eff6ff;
}

.user-control-pill > span,
.selected-permission-detail > span,
.permission-option-list button > span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: #dbeafe;
  color: var(--blue);
}

.user-control-pill > span .svg-icon {
  width: 13px;
  height: 13px;
}

.user-control-pill b,
.user-control-pill small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-control-pill b {
  font-size: 0.68rem;
  font-weight: 1000;
}

.user-control-pill small {
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 850;
}

.user-control-pill > .svg-icon:last-child {
  width: 13px;
  height: 13px;
  color: #64748b;
  transform: rotate(90deg);
}

.user-editor-close {
  display: grid;
  width: 30px;
  min-height: 34px;
  place-items: center;
  color: #526176;
}

.user-editor-close .svg-icon {
  width: 15px;
  height: 15px;
}

.permission-option-list {
  display: grid;
  gap: 5px;
  padding: 6px;
  border-radius: 8px;
  background: #f8fbff;
}

.permission-option-list button {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  padding: 6px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  text-align: left;
}

.permission-option-list button.active {
  border-color: var(--blue);
  background: #eff6ff;
}

.permission-option-list b,
.permission-option-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.permission-option-list b {
  color: #071434;
  font-size: 0.72rem;
  font-weight: 1000;
}

.permission-option-list small {
  color: #64748b;
  font-size: 0.6rem;
  font-weight: 820;
}

.selected-permission-detail {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 9px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eff6ff, #f8fbff);
}

.selected-permission-detail strong,
.selected-permission-detail p {
  display: block;
  margin: 0;
}

.selected-permission-detail strong {
  color: #071434;
  font-size: 0.84rem;
  font-weight: 1000;
}

.selected-permission-detail p {
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 820;
  line-height: 1.25;
}

.user-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 9px;
}

.user-form-grid .field input,
.user-form-grid .field select,
.user-form-grid .document-upload-button {
  box-sizing: border-box;
  min-height: 40px;
  height: 40px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.form-grid textarea,
.user-form-grid textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 82px;
  padding: 9px;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #ffffff;
  color: #071434;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 850;
  resize: vertical;
}

.location-edit-card {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #ffffff;
}

.location-edit-grid {
  gap: 8px;
}

.user-form-grid .full {
  grid-column: 1 / -1;
}

.zipcode-field small {
  color: var(--blue);
  font-size: 0.64rem;
  font-weight: 850;
}

.profile-shell {
  display: grid;
  gap: 11px;
}

.profile-card {
  display: grid;
  gap: 11px;
  padding: 12px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.profile-card-head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.profile-card-head span,
.profile-card-head strong,
.profile-card-head small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-card-head > div > span,
.profile-card-head small {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 850;
}

.profile-card-head small {
  white-space: normal;
}

.profile-card-head strong {
  color: #071434;
  font-size: 1.05rem;
  font-weight: 1000;
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.profile-detail-grid div {
  min-width: 0;
  padding: 8px;
  border-radius: 8px;
  background: #f8fbff;
}

.profile-detail-grid span,
.profile-detail-grid b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-detail-grid span {
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 850;
  text-transform: uppercase;
}

.profile-detail-grid b {
  color: #071434;
  font-size: 0.76rem;
  font-weight: 950;
  overflow-wrap: anywhere;
  white-space: normal;
}

.document-upload-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #f8fbff;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 950;
}

.document-upload-button .svg-icon {
  width: 16px;
  height: 16px;
}

.file-hidden {
  display: none !important;
}

.location-access-panel {
  display: grid;
  gap: 6px;
  padding: 6px;
  border-radius: 8px;
  background: #f8fbff;
}

.location-access-search {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 8px;
  border: 1px solid #d9e1ec;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
}

.location-access-search .svg-icon {
  width: 14px;
  height: 14px;
}

.location-access-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #071434;
  font-size: 0.72rem;
  font-weight: 850;
}

.section-title.compact h2 {
  font-size: 0.9rem;
}

.location-access-list {
  display: grid;
  gap: 5px;
  max-height: 170px;
  overflow-y: auto;
}

.location-access-list label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.location-access-list b,
.location-access-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-access-list b {
  color: #071434;
  font-size: 0.72rem;
  font-weight: 950;
}

.location-access-list small {
  color: #64748b;
  font-size: 0.6rem;
  font-weight: 820;
}

.users-list {
  display: grid;
  gap: 7px;
}

.user-approval-queue {
  border-color: #f4d58d;
  background: #fffdf7;
}

.user-approval-card {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.user-approval-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin-top: 7px;
}

.user-approval-detail-grid div {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 6px;
  border-radius: 7px;
  background: #ffffff;
}

.user-approval-detail-grid span,
.user-approval-detail-grid b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-approval-detail-grid span {
  color: #64748b;
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.user-approval-detail-grid b {
  color: #071434;
  font-size: 0.68rem;
  font-weight: 950;
}

.inactive-user-divider {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.user-row-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto 16px;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background: #f8fbff;
  cursor: pointer;
}

.user-row-card.inactive {
  background: #f8fafc;
  opacity: 0.72;
}

.user-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: #dbeafe;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 1000;
}

.user-row-main {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.user-row-card strong,
.user-row-card small,
.user-row-metrics span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-row-card strong {
  color: #071434;
  font-size: 0.82rem;
  font-weight: 1000;
}

.user-row-card small {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 830;
}

.user-row-metrics {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 5px;
}

.user-row-metrics span {
  max-width: 100%;
  padding: 3px 6px;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--blue);
  font-size: 0.62rem;
  font-weight: 900;
}

.user-row-metrics .pending-user-chip {
  background: #fff7ed;
  color: #b45309;
}

.user-row-actions {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.user-status-button {
  min-height: 26px;
  padding: 4px 7px;
  border: 1px solid #d9e1ec;
  border-radius: 999px;
  background: #fff;
  color: #526176;
  font-size: 0.62rem;
  font-weight: 950;
}

.user-row-chevron {
  color: #64748b;
}

.user-row-chevron .svg-icon {
  width: 16px;
  height: 16px;
}

.inline-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  text-align: left;
  text-decoration: underline;
}

.settlement-panel,
.settlement-history {
  display: grid;
  gap: 11px;
  margin: 12px 0 0;
  padding: 14px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.settlement-panel.review-mode {
  border-color: #bfdbfe;
  background: #f8fbff;
}

.settlement-mode-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.settlement-mode-head div {
  display: grid;
  justify-items: end;
  gap: 2px;
  text-align: right;
}

.settlement-mode-head span {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 950;
}

.settlement-mode-head strong {
  color: #071434;
  font-size: 1rem;
  font-weight: 1000;
}

.denomination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.denomination-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.denomination-head strong {
  color: #071434;
  font-size: 0.9rem;
  font-weight: 1000;
}

.denomination-head span {
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 800;
  text-align: right;
}

.denomination-grid label {
  display: grid;
  gap: 4px;
  padding: 8px;
  border-radius: 8px;
  background: #f4f8fc;
}

.denomination-grid span {
  color: #526176;
  font-size: 0.68rem;
  font-weight: 900;
}

.denomination-grid input,
.mixed-cash-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #071434;
  font-size: 1rem;
  font-weight: 950;
}

.denomination-grid small {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 900;
}

.mixed-cash-field {
  display: grid;
  gap: 5px;
  padding: 10px;
  border-radius: 8px;
  background: #f8fafc;
}

.mixed-cash-field span {
  color: #526176;
  font-size: 0.72rem;
  font-weight: 900;
}

.settlement-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 8px;
  background: #ecfdf3;
  color: #14763c;
}

.settlement-total-row.difference {
  background: #fff7ed;
  color: #b45309;
}

.settlement-total-row.balanced {
  background: #ecfdf3;
  color: #14763c;
}

.settlement-total-row span,
.settlement-note {
  color: #526176;
  font-size: 0.72rem;
  font-weight: 800;
}

.settlement-total-row strong {
  font-size: 1.18rem;
  font-weight: 1000;
}

.settlement-submit {
  justify-content: center;
}

.settlement-list {
  display: grid;
  gap: 9px;
}

.settlement-approval-card {
  overflow: hidden;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: white;
}

.settlement-row-summary {
  display: grid;
  width: 100%;
  grid-template-columns: 34px minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 9px;
  padding: 11px;
  border: 0;
  background: white;
  text-align: left;
}

.settlement-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: #eaf7ee;
  color: #15803d;
}

.settlement-icon .svg-icon {
  width: 18px;
  height: 18px;
}

.settlement-row-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.settlement-row-copy strong {
  overflow: hidden;
  color: #071434;
  font-size: 0.9rem;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settlement-row-copy small,
.settlement-row-money small {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
}

.settlement-row-money {
  display: grid;
  justify-items: end;
  min-width: 82px;
  gap: 2px;
}

.settlement-row-money b {
  color: #15803d;
  font-size: 0.94rem;
  font-weight: 1000;
}

.settlement-approval-card.expanded .collection-row-chevron {
  transform: rotate(90deg);
}

.settlement-expanded-detail {
  display: grid;
  gap: 9px;
  padding: 0 11px 11px 54px;
}

.settlement-detail-card {
  display: grid;
  gap: 10px;
  padding: 11px;
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  background: #f8fbff;
}

.settlement-detail-card.review {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.settlement-review-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.settlement-review-title span {
  display: block;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 1000;
}

.settlement-review-title strong {
  display: block;
  color: #071434;
  font-size: 0.95rem;
  font-weight: 1000;
}

.settlement-review-title b {
  padding: 5px 8px;
  border-radius: 999px;
  background: white;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 1000;
  white-space: nowrap;
}

.invoice-detail-panel {
  display: grid;
  gap: 12px;
}

.invoice-workspace,
.invoice-create-shell,
.location-screen,
.location-detail {
  display: grid;
  gap: 11px;
}

.invoice-workspace-head,
.location-screen-head {
  display: grid;
  align-items: center;
  gap: 7px;
  padding: 8px;
  border: 1px solid #c9dcf5;
  border-radius: 8px;
  background: linear-gradient(135deg, #eff6ff, #ecfdf3);
}

.invoice-workspace-head {
  grid-template-columns: 54px minmax(0, 1fr);
}

.location-screen-head {
  grid-template-columns: 58px minmax(0, 1fr) auto;
}

.invoice-workspace-head span,
.location-screen-head span {
  display: block;
  color: #526176;
  font-size: 0.68rem;
  font-weight: 900;
}

.invoice-workspace-head strong,
.location-screen-head strong {
  display: block;
  color: var(--blue);
  font-size: 1.32rem;
  font-weight: 1000;
}

.invoice-workspace-head .button {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.82rem;
}

.invoice-create-card {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #ffffff;
}

.invoice-create-card.compact {
  padding: 9px;
}

.invoice-create-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.invoice-create-head span,
.invoice-create-grid span,
.invoice-create-summary span,
.invoice-create-reading-grid span {
  display: block;
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 900;
}

.invoice-create-head strong {
  display: block;
  overflow: hidden;
  color: #071434;
  font-size: 0.96rem;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invoice-create-head .button {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
}

.invoice-create-head .button:disabled {
  opacity: 0.45;
}

.atm-create-card {
  border-color: #cfe0f4;
  background: #fbfdff;
}

.atm-create-card.open {
  background: #ffffff;
}

.atm-create-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.atm-create-head span,
.atm-create-grid span,
.atm-create-note {
  display: block;
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 900;
}

.atm-create-head strong {
  display: block;
  color: #071434;
  font-size: 0.92rem;
  font-weight: 1000;
}

.atm-create-head small {
  display: block;
  overflow: visible;
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: clip;
  white-space: normal;
}

.atm-create-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.atm-create-grid.dispense-line {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.atm-create-grid.cash-line {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.atm-create-grid label {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.atm-create-grid input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 7px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  color: #071434;
  font-size: 0.82rem;
  font-weight: 1000;
}

.atm-create-result {
  margin-top: 1px;
}

.atm-start-row,
.atm-create-equation,
.atm-create-compact {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.atm-start-row {
  grid-template-columns: minmax(0, 1fr);
}

.atm-create-equation {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}

.atm-create-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
}

.atm-create-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.atm-start-row div,
.atm-create-equation div,
.atm-create-compact div,
.atm-create-flow div {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 7px 6px;
  border-radius: 7px;
  background: #f8fbff;
}

.atm-create-equation i {
  color: #64748b;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 1000;
}

.atm-start-row span,
.atm-create-equation span,
.atm-create-compact span,
.atm-create-flow span {
  overflow: hidden;
  color: #64748b;
  font-size: 0.58rem;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.atm-start-row strong,
.atm-create-equation strong,
.atm-create-compact strong,
.atm-create-flow strong {
  overflow: hidden;
  color: #071434;
  font-size: 0.78rem;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atm-start-row small {
  overflow: hidden;
  color: #64748b;
  font-size: 0.58rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atm-create-note {
  margin: 0;
  line-height: 1.3;
}

.atm-create-note.matched {
  color: #14763c;
}

.atm-create-note.flagged {
  color: #b45309;
}

.invoice-location-picker {
  overflow: visible;
}

.invoice-location-picker.open {
  gap: 6px;
}

.invoice-location-search-field {
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
}

.invoice-location-search-field .svg-icon {
  width: 14px;
  height: 14px;
  color: var(--blue);
}

.invoice-location-search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #071434;
  font-size: 0.78rem;
  font-weight: 900;
}

.invoice-location-inline-results {
  position: static;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.invoice-location-inline-results .asset-location-results {
  gap: 3px;
  max-height: 132px;
  padding-top: 2px;
}

.invoice-location-inline-results .asset-location-results button {
  border-color: #e2e8f0;
  background: #ffffff;
  box-shadow: none;
}

.invoice-create-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.invoice-create-grid label,
.invoice-create-grid > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.invoice-create-grid input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 0 9px;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #f8fafc;
  color: #071434;
  font-size: 0.78rem;
  font-weight: 900;
}

.invoice-create-grid strong {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #f8fafc;
  color: #071434;
  font-size: 0.78rem;
  font-weight: 950;
}

.payment-radio-group.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.payment-radio-group.compact label {
  min-height: 38px;
  justify-content: center;
}

.invoice-create-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.invoice-create-summary > div {
  display: grid;
  gap: 2px;
  min-width: 0;
  min-height: 58px;
  padding: 8px 5px;
  border-radius: 8px;
  background: #f8fafc;
  text-align: center;
}

.invoice-create-summary strong {
  overflow: hidden;
  color: #071434;
  font-size: 0.92rem;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invoice-create-terminal-list {
  display: grid;
  gap: 7px;
}

.invoice-create-terminal {
  display: grid;
  gap: 8px;
  padding: 9px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fbfdff;
}

.invoice-create-terminal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}

.invoice-create-terminal-head strong {
  display: block;
  overflow: hidden;
  color: #071434;
  font-size: 0.84rem;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invoice-create-terminal-head strong span {
  display: inline;
  color: #64748b;
  font-size: 0.64rem;
}

.invoice-create-terminal-head small {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 800;
}

.invoice-create-terminal-head b {
  color: #14843b;
  font-size: 0.9rem;
  font-weight: 1000;
}

.invoice-create-terminal-head b.negative {
  color: #dc2626;
}

.invoice-create-reading-grid {
  display: grid;
  gap: 6px;
}

.invoice-create-reading-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}

.invoice-create-reading-grid.expanded {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.invoice-create-reading-grid label {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.invoice-create-reading-grid strong,
.invoice-create-reading-grid input {
  min-height: 34px;
  padding: 0 7px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #071434;
  font-size: 0.76rem;
  font-weight: 950;
}

.invoice-create-reading-grid strong {
  display: flex;
  align-items: center;
}

.invoice-create-reading-grid input {
  width: 100%;
  outline: 0;
}

.invoice-create-net-live {
  display: grid;
  gap: 4px;
  min-width: 0;
  min-height: 34px;
  align-content: center;
  padding: 0 7px;
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  background: #f8fbff;
}

.invoice-create-net-live span {
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 900;
}

.invoice-create-net-live b {
  overflow: hidden;
  color: #14843b;
  font-size: 0.82rem;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invoice-create-net-live.negative b {
  color: #dc2626;
}

.invoice-create-calc {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 7px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.invoice-create-calc strong {
  overflow: hidden;
  min-height: auto;
  padding: 0;
  border: 0;
  color: #526176;
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invoice-create-calc b {
  color: #071434;
  font-size: 0.82rem;
  font-weight: 1000;
}

.invoice-create-calc.net.actual {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
}

.invoice-create-calc.net b,
.invoice-create-calc.positive b {
  color: #14843b;
}

.invoice-create-calc.net.negative b,
.invoice-create-calc.negative b {
  color: #dc2626;
}

.invoice-create-net-profit-detail {
  display: grid;
  grid-column: 1 / -1;
  gap: 6px;
  padding: 8px;
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  background: #ffffff;
}

.invoice-create-net-profit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.invoice-create-net-profit-head span {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.invoice-create-net-profit-head strong {
  min-height: auto;
  padding: 0;
  border: 0;
  color: #14843b;
  font-size: 0.88rem;
  font-weight: 1000;
}

.invoice-create-net-profit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.location-attention-pill {
  display: grid;
  min-height: 42px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.location-search {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  min-height: 42px;
  padding: 0 8px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: white;
  color: var(--blue);
}

.location-search .svg-icon {
  width: 18px;
  height: 18px;
}

.location-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #071434;
  font-size: 0.82rem;
  font-weight: 850;
}

.location-search input::placeholder {
  color: #94a3b8;
}

.add-location-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-size: 0.78rem;
  font-weight: 1000;
}

.add-location-button .svg-icon {
  width: 16px;
  height: 16px;
}

.invoice-row-list,
.location-list {
  display: grid;
  gap: 9px;
}

.invoice-row-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 8px;
  padding: 11px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: white;
}

.invoice-row-card strong,
.invoice-row-card b {
  color: #071434;
  font-weight: 1000;
}

.invoice-row-card span {
  display: block;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
}

.invoice-row-card small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.25;
}

.invoice-row-card b {
  min-width: 76px;
  text-align: right;
}

.invoice-row-card b span {
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 850;
  text-transform: uppercase;
}

.invoice-row-card button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--blue);
}

.invoice-row-card.invoice-tile {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  padding: 10px;
  border-color: #d9e1ec;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
}

.invoice-tile-main {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.invoice-tile-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.invoice-tile-id-location {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
  align-items: start;
  gap: 9px;
}

.invoice-tile-title strong {
  display: block;
  color: #071434;
  font-size: 0.88rem;
  font-weight: 1000;
  white-space: nowrap;
}

.invoice-tile-id-location b {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #071434;
  font-size: 0.78rem;
  font-weight: 1000;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invoice-tile-title span {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #526176;
  font-size: 0.64rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invoice-tile-title em {
  padding: 4px 7px;
  border-radius: 999px;
  background: #eaf7ee;
  color: #15803d;
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 1000;
  white-space: nowrap;
}

.zero-invoice-pill,
.zero-invoice-inline {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--blue);
  font-size: 0.58rem;
  font-weight: 950;
}

.zero-invoice-inline {
  margin-left: 5px;
  vertical-align: middle;
}

.zero-invoice-note {
  margin: 7px 0 0;
  padding: 7px 8px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #f4f9ff;
  color: #21415f;
  font-size: 0.68rem;
  font-weight: 800;
}

.invoice-tile-period {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 7px;
  padding-top: 6px;
  border-top: 1px solid #e7eef7;
  border-radius: 0;
  background: transparent;
}

.invoice-tile-period span {
  display: block;
  color: #64748b;
  font-size: 0.54rem;
  font-weight: 900;
  text-transform: uppercase;
}

.invoice-tile-period strong {
  display: block;
  margin-top: 2px;
  color: #071434;
  font-size: 0.66rem;
  font-weight: 1000;
  line-height: 1.12;
}

.invoice-tile-money {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.invoice-tile-money div {
  display: grid;
  align-content: center;
  gap: 2px;
  min-height: 0;
  padding: 8px 7px;
  border-radius: 7px;
  border: 0;
  background: #f8fbff;
}

.invoice-tile-money span {
  color: #64748b;
  font-size: 0.54rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.invoice-tile-money b {
  min-width: 0;
  color: #15803d;
  font-size: 0.9rem;
  font-weight: 1000;
  line-height: 1;
  text-align: left;
}

.invoice-tile-money .business b {
  color: #071434;
}

.invoice-tile-money .admin b {
  color: #071434;
}

.invoice-detail-hero,
.invoice-collect-card {
  display: grid;
  gap: 9px;
}

.invoice-detail-hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.invoice-collect-card {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  padding: 12px;
  border: 1px solid #cfe0f3;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #eef6ff);
}

.invoice-location-card,
.invoice-info-card {
  display: grid;
  gap: 5px;
  padding: 4px 2px 7px;
  border: 0;
  border-bottom: 1px solid #e7eef7;
  border-radius: 0;
  background: transparent;
}

.invoice-location-card {
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
}

.invoice-location-card .location-icon {
  width: 30px;
  height: 30px;
}

.invoice-location-card h2 {
  margin: 0 0 1px;
  font-size: 0.82rem;
}

.invoice-location-card p {
  margin: 0;
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invoice-info-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

.invoice-id-author {
  display: grid;
  grid-template-columns: minmax(76px, auto) minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

.invoice-info-top span,
.invoice-info-grid span {
  display: block;
  color: #64748b;
  font-size: 0.54rem;
  font-weight: 900;
  text-transform: uppercase;
}

.invoice-info-top strong {
  display: block;
  margin-top: 1px;
  color: #071434;
  font-size: 0.82rem;
  font-weight: 1000;
}

.invoice-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(74px, 0.7fr);
  gap: 7px;
}

.invoice-info-grid div {
  padding: 3px 0;
  border-radius: 0;
  background: transparent;
}

.invoice-info-grid strong {
  display: block;
  margin-top: 2px;
  color: #071434;
  font-size: 0.66rem;
  font-weight: 1000;
  line-height: 1.12;
}

.invoice-info-grid div:last-child strong {
  color: #15803d;
  font-size: 0.76rem;
}

.invoice-detail-hero div {
  padding: 13px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eff6ff, #ecfdf3);
}

.invoice-detail-hero div:first-child {
  background: linear-gradient(135deg, #eaf7ee, #f8fbff);
}

.invoice-detail-hero span {
  display: block;
  color: #526176;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.invoice-collect-card span {
  display: block;
  color: #526176;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.invoice-detail-hero strong,
.invoice-detail-hero b,
.invoice-collect-card strong,
.invoice-collect-card b {
  display: block;
  margin-top: 4px;
  color: #071434;
  font-size: 1.65rem;
  font-weight: 1000;
}

.invoice-detail-hero strong {
  color: #15803d;
}

.invoice-collect-card strong {
  color: #15803d;
  font-size: 1.72rem;
}

.invoice-detail-hero b {
  font-size: 0.95rem;
}

.invoice-hero-period small,
.invoice-collect-card small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 850;
}

.invoice-collect-meta {
  align-self: center;
}

.invoice-calc-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.invoice-calc-strip div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #dbe7f3;
  background: #f8fbff;
}

.invoice-calc-strip span,
.invoice-mini-info span {
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.invoice-calc-strip strong {
  color: #071434;
  font-size: 1.02rem;
  font-weight: 1000;
}

.invoice-mini-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.invoice-mini-info span {
  padding: 6px 8px;
  border-radius: 999px;
  background: #f1f6fb;
  text-transform: none;
}

.invoice-reading-section,
.invoice-reading-card {
  display: grid;
  gap: 10px;
}

.invoice-reading-card {
  padding: 11px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #fff;
}

.invoice-reading-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.invoice-reading-head h3 {
  margin: 0 0 3px;
  font-size: 0.95rem;
}

.invoice-reading-head strong {
  color: #15803d;
  font-size: 1.1rem;
  font-weight: 1000;
}

.machine-math-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.machine-math-grid div {
  display: grid;
  gap: 3px;
  padding: 8px;
  border-radius: 8px;
  background: #f4f8fc;
}

.machine-math-grid .net {
  background: #eaf7ee;
}

.machine-math-grid span {
  color: #64748b;
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
}

.machine-math-grid b {
  color: #526176;
  font-size: 0.68rem;
  font-weight: 850;
}

.machine-math-grid strong {
  color: #071434;
  font-size: 0.86rem;
  font-weight: 1000;
}

.machine-math-grid .net strong {
  color: #15803d;
}

.invoice-machine-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  background: #071434;
  color: white;
}

.invoice-machine-total span {
  color: #dbeafe;
  font-size: 0.7rem;
  font-weight: 900;
}

.invoice-machine-total strong {
  font-size: 1rem;
  font-weight: 1000;
}

.atm-reconciliation-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  background: #ffffff;
}

.atm-reconciliation-card.flagged {
  border-color: #fed7aa;
  background: #fffaf3;
}

.atm-reconciliation-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}

.atm-reconciliation-head span,
.atm-reconciliation-grid span,
.atm-match-row span {
  display: block;
  color: #64748b;
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.atm-reconciliation-head strong {
  display: block;
  color: #071434;
  font-size: 0.9rem;
  font-weight: 1000;
}

.atm-reconciliation-head small {
  display: block;
  overflow: visible;
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 800;
  text-overflow: clip;
  white-space: normal;
}

.atm-reconciliation-grid,
.atm-match-row {
  display: grid;
  gap: 5px;
}

.atm-reconciliation-grid {
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
}

.atm-match-row {
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
}

.atm-reconciliation-grid div,
.atm-match-row div {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 7px 6px;
  border-radius: 7px;
  background: #f8fbff;
}

.atm-reconciliation-grid strong,
.atm-match-row strong {
  overflow: hidden;
  color: #071434;
  font-size: 0.78rem;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atm-reconciliation-card p {
  margin: 0;
  color: #526176;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.35;
}

.invoice-split-detail {
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.invoice-split-detail summary {
  cursor: pointer;
  list-style: none;
}

.invoice-split-detail summary::-webkit-details-marker {
  display: none;
}

.invoice-split-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 7px;
  background: transparent;
}

.invoice-split-card div {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 7px 6px;
  border-radius: 7px;
  background: #f8fbff;
}

.invoice-split-card span {
  color: #64748b;
  font-size: 0.54rem;
  font-weight: 900;
  text-transform: uppercase;
}

.invoice-split-card strong {
  color: #071434;
  font-size: 0.86rem;
  font-weight: 1000;
  line-height: 1.1;
  white-space: nowrap;
}

.invoice-split-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 0 7px 7px;
}

.split-breakdown-column {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 7px;
  border-radius: 7px;
  background: #f8fbff;
}

.split-breakdown-column h3 {
  margin: 0 0 2px;
  color: #071434;
  font-size: 0.68rem;
  font-weight: 1000;
}

.split-breakdown-column div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 3px;
  border-top: 1px solid #e7eef7;
}

.split-breakdown-column div:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.split-breakdown-column span {
  color: #64748b;
  font-size: 0.58rem;
  font-weight: 850;
}

.split-breakdown-column strong {
  color: #071434;
  font-size: 0.7rem;
  font-weight: 1000;
  white-space: nowrap;
}

.split-breakdown-column .total span,
.split-breakdown-column .total strong {
  color: #15803d;
}

.machine-ledger-list {
  display: grid;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.machine-section-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.machine-icon-action {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #cfe0f3;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--blue);
  cursor: pointer;
}

.machine-icon-action.add {
  background: #eaf7ee;
  color: #15803d;
}

.machine-icon-action .svg-icon {
  width: 15px;
  height: 15px;
}

.machine-detail-toggle {
  padding: 5px 8px;
  border: 1px solid #cfe0f3;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--blue);
  font-size: 0.62rem;
  font-weight: 1000;
  cursor: pointer;
  white-space: nowrap;
}

.machine-row-card {
  display: grid;
  gap: 6px;
  padding: 8px;
  border-bottom: 1px solid #e7eef7;
  background: transparent;
}

.machine-row-card:last-child {
  border-bottom: 0;
}

.machine-row-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}

.machine-row-main h3 {
  margin: 0 0 1px;
  font-size: 0.82rem;
}

.machine-row-main h3 span {
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 850;
}

.machine-meter-detail {
  display: grid;
  justify-items: stretch;
}

.machine-meter-detail .machine-meter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  width: 100%;
  min-width: 0;
  margin-top: 5px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  align-items: center;
}

.machine-meter-detail .machine-meter-grid div {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 6px 5px;
  border-radius: 7px;
  background: #f8fbff;
}

.machine-meter-detail span {
  color: #64748b;
  font-size: 0.56rem;
  font-weight: 900;
  text-transform: uppercase;
}

.machine-meter-detail b {
  color: #526176;
  font-size: 0.6rem;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.machine-meter-detail strong {
  color: #071434;
  font-size: 0.72rem;
  font-weight: 1000;
}

.machine-meter-detail .positive strong {
  color: #15803d;
}

.machine-meter-detail .negative strong {
  color: #d92d20;
}

.machine-net-equation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1fr) 10px minmax(0, 1fr);
  align-items: stretch;
  gap: 4px;
}

.machine-net-equation div {
  display: grid;
  gap: 2px;
  padding: 6px 5px;
  border-radius: 7px;
  background: #f8fbff;
}

.machine-net-equation i {
  display: grid;
  place-items: center;
  color: #64748b;
  font-style: normal;
  font-weight: 1000;
}

.machine-net-equation span {
  color: #64748b;
  font-size: 0.54rem;
  font-weight: 900;
  text-transform: uppercase;
}

.machine-net-equation strong {
  color: #071434;
  font-size: 0.76rem;
  font-weight: 1000;
  white-space: nowrap;
}

.machine-net-equation .positive strong {
  color: #15803d;
}

.machine-net-equation .negative strong {
  color: #d92d20;
}

.employee-collection-entry {
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #fff;
}

.employee-collection-entry summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 1000;
  cursor: pointer;
  list-style: none;
}

.employee-collection-entry summary::-webkit-details-marker {
  display: none;
}

.collection-summary-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: #eaf3ff;
  color: var(--blue);
}

.collection-entry-card {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 0;
  border-top: 1px solid #e5edf6;
  border-radius: 0 0 8px 8px;
  background: #fff;
}

.collection-entry-card > div,
.ach-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: #eaf7ee;
}

.collection-entry-card span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.collection-entry-card strong {
  color: #15803d;
  font-size: 1.25rem;
  font-weight: 1000;
}

.collection-entry-card label,
.collection-field {
  display: grid;
  gap: 5px;
  padding: 9px;
  border-radius: 8px;
  background: #f8fbff;
}

.collection-entry-card input,
.collection-entry-card select {
  width: 100%;
  border: 0;
  background: transparent;
  color: #071434;
  font-size: 0.95rem;
  font-weight: 900;
}

.collection-entry-card select {
  appearance: none;
}

.payment-radio-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.payment-radio-group label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 8px 6px;
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  background: #fff;
  color: #526176;
  font-size: 0.78rem;
  font-weight: 1000;
}

.payment-radio-group label.active {
  border-color: var(--blue);
  background: #eaf3ff;
  color: var(--blue);
}

.payment-radio-group input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-radio-group span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-transform: none;
}

.ach-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  background: #eff6ff;
}

.ach-note small {
  grid-column: 1 / -1;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
}

.invoice-small-details {
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #fff;
}

.invoice-small-details summary {
  padding: 10px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 1000;
  cursor: pointer;
}

.invoice-small-details .meta-grid {
  padding: 0 10px 10px;
}

.location-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #d7e3f2;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(239, 246, 255, 0.82), rgba(255, 255, 255, 0.96) 42%),
    white;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.location-card-top {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.location-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #dbeafe, #dcfce7);
  color: var(--blue);
  box-shadow: 0 8px 18px rgba(13, 99, 206, 0.12);
}

.location-icon.large {
  width: 42px;
  height: 42px;
}

.location-card-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.location-title-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.location-title-line h3 {
  margin: 0;
  overflow: hidden;
  color: #071434;
  font-size: 0.98rem;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-address {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  margin: 0;
  padding: 6px 6px 6px 9px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}

.location-address span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-contact-line a {
  color: var(--blue);
  font-weight: 1000;
  text-decoration: none;
}

.location-address i {
  display: grid;
  width: 34px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: #dbeafe;
  color: var(--blue);
  font-style: normal;
}

.location-contact-line,
.location-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 850;
}

.location-state {
  flex: 0 0 auto;
  font-size: 0.66rem;
  font-weight: 1000;
}

.location-state.red {
  color: #d92d20;
}

.location-state.green {
  color: #14763c;
}

.inventory-control {
  display: grid;
  gap: 11px;
}

.inventory-hero,
.inventory-zone {
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #fff;
}

.inventory-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(135deg, #eff6ff, #ecfdf3);
}

.inventory-hero span,
.inventory-hero p {
  display: block;
  margin: 0;
  color: #526176;
  font-size: 0.68rem;
  font-weight: 900;
}

.inventory-hero strong {
  display: block;
  margin: 2px 0;
  color: #071434;
  font-size: 1rem;
  font-weight: 1000;
}

.inventory-zone {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.inventory-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 1px 4px;
  -webkit-overflow-scrolling: touch;
}

.inventory-tabs button {
  display: grid;
  flex: 0 0 auto;
  min-width: 76px;
  gap: 2px;
  padding: 8px 7px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #fff;
  color: #526176;
  text-align: left;
}

.inventory-tabs button.active {
  border-color: var(--blue);
  background: #eff6ff;
  color: var(--blue);
}

.inventory-tabs span {
  font-size: 0.62rem;
  font-weight: 1000;
  white-space: normal;
}

.inventory-tabs b {
  color: #071434;
  font-size: 0.95rem;
  font-weight: 1000;
}

.inventory-tab-panel {
  gap: 10px;
}

.inventory-tab-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}

.inventory-tab-head h2 {
  margin: 0;
  color: #071434;
  font-size: 1rem;
}

.inventory-tab-head p {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 850;
}

.inventory-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.inventory-detail-list {
  padding-top: 2px;
}

.inventory-action-queue-list {
  display: grid;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.inventory-action-queue {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 8px;
  border: 1px solid #dce5f0;
  border-radius: 8px;
  background: #fbfdff;
  overflow: hidden;
}

.inventory-action-queue.amber {
  border-color: #f8d78a;
  background: #fffdf7;
}

.inventory-action-queue.red {
  border-color: #f4b4b8;
  background: #fff8f8;
}

.inventory-action-queue-head {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.inventory-action-queue-head h3 {
  overflow: hidden;
  margin: 0;
  color: #071434;
  font-size: 0.82rem;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cabinet-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.part-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.cabinet-stage {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px 7px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f8fbff;
}

.cabinet-stage-button {
  width: 100%;
  appearance: none;
  text-align: left;
  cursor: pointer;
}

.cabinet-stage-button.active {
  border-color: #9bc2f5;
  background: #edf6ff;
  box-shadow: 0 0 0 2px rgba(13, 99, 206, 0.1);
}

.cabinet-stage span,
.cabinet-stage small,
.part-card small,
.supply-row small,
.inventory-alert-row small {
  overflow: visible;
  color: #64748b;
  font-size: 0.58rem;
  font-weight: 850;
  text-overflow: clip;
  white-space: normal;
}

.cabinet-stage span {
  font-weight: 1000;
  text-transform: uppercase;
}

.cabinet-stage strong {
  color: #071434;
  font-size: 1.08rem;
  font-weight: 1000;
}

.cabinet-stage.green strong,
.part-card.green b,
.supply-row .green {
  color: #15803d;
}

.cabinet-stage.blue strong {
  color: var(--blue);
}

.cabinet-stage.amber strong,
.part-card.amber b {
  color: #c77700;
}

.cabinet-stage.red strong,
.part-card.red b {
  color: #d92d20;
}

.cabinet-primary-card,
.inventory-alert-row,
.supply-row,
.part-card {
  display: grid;
  min-width: 0;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: #f8fbff;
}

.cabinet-primary-card {
  grid-template-columns: 34px minmax(0, 1fr) auto;
  padding: 8px;
}

.cabinet-primary-card.has-detail {
  align-items: flex-start;
}

.cabinet-detail-block {
  grid-column: 1 / -1;
}

.cabinet-primary-card strong,
.part-card strong,
.supply-row strong,
.inventory-alert-row strong {
  display: block;
  overflow: visible;
  color: #071434;
  font-size: 0.78rem;
  font-weight: 1000;
  text-overflow: clip;
  white-space: normal;
}

.cabinet-primary-card > div {
  min-width: 0;
}

.part-card {
  grid-template-columns: 30px minmax(0, 1fr) auto;
  padding: 8px;
  position: relative;
}

.part-card em {
  grid-column: 1 / -1;
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff;
  color: #526176;
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 1000;
}

.part-card b {
  color: #071434;
  font-size: 1rem;
  font-weight: 1000;
}

.inventory-alert-list,
.supply-list,
.asset-preview-list {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.inventory-alert-row {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  min-width: 0;
  padding: 8px;
  overflow: hidden;
}

.inventory-alert-row > div {
  min-width: 0;
  overflow: hidden;
}

.inventory-alert-row em {
  padding: 4px 7px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c77700;
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 1000;
}

.inventory-alert-row em.red {
  background: #fff1f2;
  color: #d92d20;
}

.supply-row {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 8px;
}

.inventory-search-bar {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
}

.inventory-search-bar .svg-icon {
  width: 18px;
  height: 18px;
}

.inventory-search-bar input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #071434;
  font-size: 0.82rem;
  font-weight: 850;
}

.location-contact-line {
  min-height: 30px;
  padding: 0 2px;
}

.location-contact-line a {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #14763c;
}

.location-contact-line span,
.location-card-footer span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 1000;
}

.location-detail-hero {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d7e3f2;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(239, 246, 255, 0.9), rgba(255, 255, 255, 0.96) 46%),
    white;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.location-detail-title {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.location-detail-name-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}

.location-detail-hero-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.location-detail-hero h2 {
  margin: 0;
  overflow: hidden;
  color: #071434;
  font-size: 1.08rem;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-detail-hero p {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.edit-location-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-size: 0.72rem;
  font-weight: 1000;
}

.edit-location-chip .svg-icon {
  width: 14px;
  height: 14px;
}

.location-detail-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.location-detail-actions a,
.location-detail-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 1000;
  text-decoration: none;
}

.route-complete-panel {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid #bfd7f5;
  border-radius: 8px;
  background: #f8fbff;
}

.route-complete-note {
  display: grid;
  gap: 5px;
}

.route-complete-note span {
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 900;
}

.route-complete-note textarea {
  width: 100%;
  min-height: 72px;
  resize: vertical;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  padding: 8px;
  color: #071434;
  font-size: 0.76rem;
  font-weight: 800;
}

.location-info-list {
  display: grid;
  overflow: hidden;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: white;
}

.location-info-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 10px;
}

.location-info-row + .location-info-row {
  border-top: 1px solid #edf2f7;
}

.location-info-row span {
  display: block;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 900;
}

.location-info-row strong {
  display: block;
  overflow: hidden;
  color: #071434;
  font-size: 0.82rem;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-approval-card strong,
.location-approval-card small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.approval-note {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: #fffbeb;
  color: #92400e;
  font-size: 0.74rem;
  font-weight: 850;
}

.location-assets-panel {
  display: grid;
  gap: 9px;
}

.section-actions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.asset-add-button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 7px 15px rgba(13, 99, 206, 0.18);
}

.asset-add-button .svg-icon {
  width: 17px;
  height: 17px;
}

.location-asset-picker {
  display: grid;
  gap: 8px;
  padding: 9px;
  border: 1px solid #d9e7f7;
  border-radius: 8px;
  background: #f8fbff;
}

.location-asset-search {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #ffffff;
  color: var(--blue);
}

.location-asset-search .svg-icon {
  width: 16px;
  height: 16px;
}

.location-asset-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #071434;
  font-size: 0.76rem;
  font-weight: 800;
}

.location-cabinet-picker-list {
  display: grid;
  gap: 7px;
  max-height: 340px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.location-cabinet-option {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto auto;
  gap: 7px;
  align-items: center;
  padding: 8px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #ffffff;
}

.location-cabinet-option.ready {
  border-color: #bfdbfe;
}

.location-cabinet-option.build {
  border-color: #fde68a;
  background: #fffbeb;
}

.location-cabinet-option.repair {
  border-color: #fecaca;
  background: #fff5f5;
}

.location-cabinet-copy {
  min-width: 0;
}

.location-cabinet-copy strong,
.location-cabinet-copy small,
.location-cabinet-copy em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-cabinet-copy strong {
  color: #071434;
  font-size: 0.72rem;
  font-weight: 950;
}

.location-cabinet-copy small,
.location-cabinet-copy em {
  color: #64748b;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
}

.location-cabinet-copy em {
  color: #9a3412;
}

@media (max-width: 430px) {
  .asset-move-form-grid,
  .move-reading-card,
  .asset-move-approval-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .asset-move-tabs {
    gap: 5px;
  }

  .inline-move-reading {
    grid-template-columns: minmax(0, 1fr);
  }

  .atm-reconciliation-grid,
  .atm-match-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atm-create-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atm-create-grid.dispense-line,
  .atm-create-grid.cash-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atm-create-equation,
  .atm-create-compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .atm-create-equation i {
    display: none;
  }

  .atm-create-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .invoice-create-reading-grid.compact,
  .invoice-create-reading-grid.expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .invoice-create-net-live,
  .invoice-create-calc.net.actual {
    grid-column: 1 / -1;
  }

  .invoice-create-net-profit-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .location-cabinet-option {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }

  .location-cabinet-option .scan-asset-button {
    grid-column: 2 / -1;
    justify-self: end;
  }

  .inventory-tabs button {
    min-width: 82px;
  }

  .cabinet-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cabinet-primary-card {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .cabinet-primary-card > .location-state,
  .cabinet-primary-card > .chip,
  .cabinet-primary-card > button {
    grid-column: 2;
    justify-self: start;
  }

  .cabinet-primary-card strong {
    white-space: normal;
  }
}

.location-asset-list {
  display: grid;
  gap: 8px;
}

.location-asset-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  padding: 9px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: white;
}

.location-asset-row.needs-scan {
  border-color: #fed7aa;
  background: #fff7ed;
}

.asset-row-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--blue);
}

.location-asset-row strong,
.location-asset-row small {
  display: block;
}

.location-asset-row strong {
  color: #071434;
  font-size: 0.76rem;
  font-weight: 1000;
}

.location-asset-row small {
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 850;
}

.location-asset-row em {
  color: #14763c;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 1000;
}

.scan-asset-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 30px;
  padding: 4px 8px;
  border: 1px solid #f59e0b;
  border-radius: 999px;
  background: #fffbeb;
  color: #b45309;
  font-size: 0.68rem;
  font-weight: 1000;
}

.scan-asset-button.muted {
  border-color: #d7e1ed;
  background: #ffffff;
  color: #526176;
}

.scan-asset-button .svg-icon {
  width: 14px;
  height: 14px;
}

.cabinet-build-detail,
.cabinet-repair-note {
  display: grid;
  gap: 7px;
  padding: 8px;
  border: 1px solid #e6eef8;
  border-radius: 8px;
  background: #ffffff;
}

.cabinet-detail-title,
.missing-part-row,
.cabinet-repair-note {
  display: grid;
  align-items: center;
}

.cabinet-detail-title {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.cabinet-detail-title strong,
.cabinet-repair-note strong {
  color: #071434;
  font-size: 0.72rem;
  font-weight: 1000;
}

.cabinet-detail-title small,
.cabinet-repair-note small {
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 850;
}

.missing-part-list {
  display: grid;
  gap: 6px;
}

.missing-part-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 6px;
  min-width: 0;
  padding: 6px;
  border-radius: 8px;
  background: #f8fbff;
}

.missing-part-row span {
  overflow: hidden;
  color: #071434;
  font-size: 0.72rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.approval-note.small {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  align-items: center;
  padding: 7px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
  color: #9a4b00;
  font-size: 0.64rem;
  font-weight: 850;
}

.approval-note.small span {
  grid-column: 1 / -1;
  color: #7c4a03;
  line-height: 1.3;
}

.cabinet-repair-note {
  grid-template-columns: 28px minmax(0, 1fr) auto;
}

.cabinet-repair-note > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: #fee2e2;
  color: #d92d20;
}

.cabinet-repair-note .svg-icon {
  width: 15px;
  height: 15px;
}

.admin-collection-hero {
  display: grid;
  gap: 11px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid #c9dcf5;
  border-radius: 8px;
  background: linear-gradient(135deg, #eff6ff, #fff7ed);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.admin-collection-hero span,
.admin-collection-hero p {
  margin: 0;
  color: #43516a;
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-collection-hero strong {
  display: block;
  color: var(--blue);
  font-size: 2rem;
  font-weight: 1000;
}

.admin-total-grid,
.admin-denomination-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-total-grid div,
.admin-denomination-list div {
  display: grid;
  gap: 2px;
  padding: 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.admin-total-grid b,
.admin-denomination-list b {
  color: #071434;
  font-size: 0.95rem;
  font-weight: 1000;
}

.admin-collection-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
  padding: 4px;
  border-radius: 8px;
  background: #edf3f8;
}

.admin-collection-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #526176;
  font-size: 0.78rem;
  font-weight: 950;
}

.admin-collection-tabs button.active {
  background: white;
  color: var(--blue);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.admin-collection-list {
  display: grid;
  gap: 10px;
}

.admin-collection-card,
.admin-settlement-card {
  display: grid;
  gap: 11px;
  padding: 13px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.admin-settlement-card.settlement-approval-card {
  display: block;
  gap: 0;
  padding: 0;
}

.admin-card-amount {
  color: #15803d;
  font-size: 1.1rem;
  font-weight: 1000;
}

.settlement-review-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 8px;
  background: #ecfdf3;
}

.settlement-review-total span {
  color: #526176;
  font-size: 0.72rem;
  font-weight: 850;
}

.settlement-review-total strong {
  color: #15803d;
  font-size: 1.34rem;
  font-weight: 1000;
}

.admin-invoice-list {
  display: grid;
  gap: 7px;
}

.admin-invoice-list > span {
  color: #526176;
  font-size: 0.72rem;
  font-weight: 900;
}

.admin-invoice-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  padding: 8px;
  border-radius: 8px;
  background: #f4f8fc;
}

.admin-invoice-list small {
  color: #667085;
  font-size: 0.68rem;
  font-weight: 800;
}

.admin-invoice-list strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: #071434;
}

.admin-denomination-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-denomination-list span,
.admin-denomination-list small {
  color: #526176;
  font-size: 0.68rem;
  font-weight: 850;
}

.approve-button {
  justify-content: center;
}

.route-report-list {
  display: grid;
  gap: 12px;
}

.route-report-shell {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(219, 234, 254, 0.95), rgba(240, 253, 244, 0.88)),
    #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.route-report-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.route-report-toolbar .back-link {
  flex: 0 0 auto;
  min-height: 30px;
}

.employee-picker-wrap {
  position: relative;
  min-width: 0;
  flex: 1 1 auto;
}

.employee-picker {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #0f356f;
  font-size: 0.76rem;
  font-weight: 1000;
}

.employee-picker .svg-icon {
  width: 13px;
  height: 13px;
  transform: rotate(90deg);
}

.employee-menu {
  position: absolute;
  z-index: 8;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  display: grid;
  gap: 3px;
  padding: 5px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

.employee-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 30px;
  padding: 5px 7px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 900;
}

.employee-menu button.active {
  background: #eff6ff;
  color: var(--blue);
}

.employee-menu strong {
  color: #64748b;
  font-size: 0.68rem;
}

.info-dot {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 1000;
}

.route-report-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.route-kpi {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 8px 7px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.route-kpi > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
}

.route-kpi.green > span {
  background: #dcfce7;
  color: #14763c;
}

.route-kpi.blue > span {
  background: #dbeafe;
  color: var(--blue);
}

.route-kpi.amber > span {
  background: #ffedd5;
  color: #c36b00;
}

.route-kpi.red > span {
  background: #fee4e2;
  color: #d92d20;
}

.route-kpi small,
.route-kpi p {
  display: block;
  margin: 0;
  color: #64748b;
  font-size: 0.58rem;
  font-weight: 850;
  line-height: 1.2;
}

.route-kpi strong {
  display: block;
  color: #071434;
  font-size: 1rem;
  font-weight: 1000;
}

.route-report-card {
  display: grid;
  gap: 10px;
  padding: 10px 0 0;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.route-report-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 2px;
  position: relative;
}

.route-report-subhead strong {
  color: #071434;
  font-size: 0.86rem;
  font-weight: 1000;
}

.range-picker-wrap {
  position: relative;
  flex: 0 0 auto;
}

.range-picker {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 1000;
}

.range-picker .svg-icon {
  width: 12px;
  height: 12px;
  transform: rotate(90deg);
}

.range-menu {
  position: absolute;
  z-index: 8;
  top: calc(100% + 4px);
  right: 0;
  display: grid;
  width: 112px;
  gap: 3px;
  padding: 5px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

.range-menu button {
  min-height: 28px;
  padding: 5px 7px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 900;
  text-align: left;
}

.range-menu button.active {
  background: #eff6ff;
  color: var(--blue);
}

.route-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.route-category-card {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  min-width: 0;
  min-height: 52px;
  padding: 8px 6px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #f8fbff;
  color: #071434;
  text-align: left;
}

.route-category-card.active {
  border-color: var(--blue);
  background: #eff6ff;
  box-shadow: 0 8px 22px rgba(13, 99, 206, 0.12);
}

.route-category-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--blue);
}

.route-category-icon .svg-icon {
  width: 15px;
  height: 15px;
}

.route-category-card.green .route-category-icon {
  background: #dcfce7;
  color: #14763c;
}

.route-category-card.amber .route-category-icon {
  background: #ffedd5;
  color: #c36b00;
}

.route-category-card.red .route-category-icon {
  background: #fee4e2;
  color: #d92d20;
}

.route-category-card small,
.route-category-card p {
  display: block;
  margin: 0;
  color: #64748b;
  font-size: 0.56rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}

.route-category-card strong {
  display: block;
  color: #071434;
  font-size: 1.12rem;
  font-weight: 1000;
  text-align: center;
}

.route-employee-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
}

.route-employee-head span,
.route-employee-head p {
  display: block;
  margin: 0;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
}

.route-employee-head h3 {
  margin: 2px 0 3px;
  color: #071434;
  font-size: 0.98rem;
  font-weight: 1000;
}

.route-employee-head > strong {
  padding: 6px 8px;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 0.95rem;
  font-weight: 1000;
  white-space: nowrap;
}

.danger-text {
  color: #d92d20 !important;
}

.success-text {
  color: #14763c !important;
}

.route-progress-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 0 10px;
}

.route-progress-row div {
  padding: 8px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #f8fbff;
}

.route-progress-row span,
.route-task-metrics small {
  display: block;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
}

.route-progress-row strong {
  color: #071434;
  font-size: 0.85rem;
  font-weight: 1000;
}

.route-progress-track {
  height: 8px;
  margin: 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.route-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #14763c;
}

.route-task-cards {
  display: grid;
  gap: 7px;
  padding: 0 10px 10px;
}

.empty-category {
  margin: 0;
  padding: 14px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.route-task-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  padding: 11px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #fbfdff;
}

.route-task-card.flagged {
  border-color: #fed7aa;
  background: #fff7ed;
}

.route-task-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--blue);
}

.route-task-card.flagged .route-task-icon {
  background: #fee4e2;
  color: #d92d20;
}

.route-task-main {
  min-width: 0;
}

.route-task-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.route-task-topline h4 {
  margin: 0;
  overflow: hidden;
  color: #071434;
  font-size: 0.95rem;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-task-topline p,
.route-task-note {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 750;
}

.route-task-topline > span {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  background: #dcfce7;
  color: #14763c;
  font-size: 0.66rem;
  font-weight: 1000;
}

.route-task-card.flagged .route-task-topline > span {
  background: #fee4e2;
  color: #d92d20;
}

.route-task-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 9px;
}

.route-task-metrics div {
  min-width: 0;
  padding: 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
}

.route-task-metrics strong {
  display: block;
  color: #071434;
  font-size: 0.78rem;
  font-weight: 1000;
}

@media (min-width: 760px) {
  .route-report-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
}

.chip.green {
  background: #dcfce7;
  color: #166534;
}

.chip.amber {
  background: #fef3c7;
  color: #92400e;
}

.chip.red {
  background: #fee4e2;
  color: #991b1b;
}

.chip.blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.action-button {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 950;
  text-align: left;
  box-shadow: 0 5px 18px rgba(16, 24, 40, 0.06);
}

.action-button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.action-button.money {
  border-color: #bbf7d0;
  background: #ecfdf5;
  color: #065f46;
}

.action-button.repair {
  border-color: #fecaca;
  background: #fff1f0;
  color: #991b1b;
}

.action-button.scan {
  border-color: #bae6fd;
  background: #ecfeff;
  color: #155e75;
}

.action-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: currentColor;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content.home-content.active {
  display: grid;
  height: calc(100svh - 253px);
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 3px;
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 8px 10px 12px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 -8px 26px rgba(16, 24, 40, 0.08);
}

.nav-button {
  display: grid;
  min-height: 54px;
  place-items: center;
  gap: 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
}

.nav-button.active {
  background: #dbeafe;
  color: var(--blue-ink);
}

.nav-icon {
  display: grid;
  place-items: center;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: #344054;
  font-size: 0.82rem;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.field textarea {
  min-height: 86px;
  resize: vertical;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 950;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.05);
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.route-settings-panel {
  display: grid;
  gap: 14px;
}

.route-setting-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: center;
  gap: 12px;
}

.route-setting-row strong {
  display: block;
  margin-bottom: 3px;
  color: #071434;
  font-size: 0.95rem;
}

.switch {
  position: relative;
  width: 52px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.18);
}

.switch span {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: white;
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.24);
  transition: transform 160ms ease;
}

.switch.on {
  background: #1267d8;
}

.switch.on span {
  transform: translateX(22px);
}

.route-estimate-strip {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 8px;
}

.route-estimate-strip div {
  min-width: 0;
  padding: 10px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #f8fbff;
}

.route-estimate-strip span {
  display: block;
  margin-bottom: 3px;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
}

.route-estimate-strip strong {
  display: block;
  overflow: hidden;
  color: #071434;
  font-size: 0.82rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.button.danger {
  border-color: var(--red);
  color: var(--red);
}

.notice {
  padding: 11px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 0.9rem;
  font-weight: 700;
}

.support-session-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0 10px;
  padding: 9px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #0f3f88;
  font-size: 0.76rem;
  font-weight: 900;
}

.support-session-banner span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.support-session-banner .button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.72rem;
}

.resolution-summary {
  display: grid;
  gap: 10px;
}

.maintenance-queue-card {
  display: grid;
  gap: 9px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.maintenance-ticket-list {
  display: grid;
  gap: 10px;
}

.maintenance-ticket-list .row-card > p,
.maintenance-ticket-list .row-card h3,
.maintenance-ticket-list .row-card .subtle,
.maintenance-queue-card .asset-move-approval-card strong,
.maintenance-queue-card .asset-move-approval-card small {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.resolution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.resolution-grid div {
  display: grid;
  gap: 3px;
  padding: 9px;
  border-radius: 8px;
  background: white;
}

.resolution-grid span,
.resolution-grid small {
  color: #526176;
  font-size: 0.68rem;
  font-weight: 800;
}

.resolution-grid b {
  color: #071434;
  font-size: 0.8rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.svg-icon {
  width: 1.12em;
  height: 1.12em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.summary-icon .svg-icon,
.action-icon .svg-icon,
.nav-icon .svg-icon {
  width: 21px;
  height: 21px;
}

.title-icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  vertical-align: middle;
  place-items: center;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--blue-ink);
}

.title-icon .svg-icon {
  width: 16px;
  height: 16px;
}

.loading-state {
  display: grid;
  min-height: 80vh;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: var(--muted);
}

.spinner {
  width: 34px;
  height: 34px;
  border: 4px solid #dbeafe;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 760px) {
  .screen {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 24px 96px;
  }

  .summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .dashboard-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px;
    align-items: start;
  }

  .bottom-nav {
    right: 50%;
    left: 50%;
    width: min(720px, calc(100% - 28px));
    transform: translateX(-50%);
    border: 1px solid var(--line);
    border-radius: 8px 8px 0 0;
    box-shadow: var(--shadow);
  }
}

@media (min-width: 1000px) {
  .screen {
    padding-left: 104px;
  }

  .bottom-nav {
    top: 118px;
    right: auto;
    bottom: auto;
    left: 18px;
    width: 74px;
    grid-template-columns: 1fr;
    border-radius: 8px;
    transform: none;
  }

  .nav-button {
    min-height: 66px;
  }
}

/* Reference employee dashboard layout */
.screen {
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 18px 14px 118px;
  background: #fbfdff;
  box-shadow: 0 0 0 1px rgba(218, 226, 237, 0.5);
}

.ios-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 18px;
  color: #020617;
  font-size: 1.02rem;
  font-weight: 900;
}

.ios-status.compact {
  height: 22px;
  padding: 0 12px;
  font-size: 0.76rem;
}

.ios-status.compact .status-icons {
  gap: 4px;
}

.ios-status.compact .status-icons .svg-icon {
  width: 16px;
  height: 16px;
}

.status-icons {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.status-icons .svg-icon {
  width: 22px;
  height: 22px;
  stroke-width: 3;
}

.topbar {
  align-items: flex-start;
  margin: 8px 4px 16px;
}

.compact-topbar {
  align-items: center;
  margin: 2px 4px 9px;
  padding-bottom: 7px;
  border-bottom: 1px solid #e2e8f0;
}

.compact-topbar h1 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.05;
}

.compact-topbar .employee-name {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
}

.topbar h1 {
  margin: 0 0 7px;
  color: #071434;
  font-size: 2.48rem;
  font-weight: 1000;
  letter-spacing: 0;
}

.employee-name {
  margin: 0 0 8px;
  color: #0b1535;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
}

.route-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #43516a;
  font-size: 0.78rem;
}

.route-status strong {
  color: #14763c;
  font-weight: 850;
}

.route-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #16a34a;
}

.route-status i {
  display: block;
  width: 1px;
  height: 20px;
  background: #d8e0ea;
}

.profile-photo {
  display: grid;
  width: 58px;
  height: 58px;
  margin-top: 20px;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 34%, #f3b18d 0 18%, transparent 19%),
    radial-gradient(circle at 50% 88%, #1f3a5f 0 38%, transparent 39%),
    linear-gradient(135deg, #e5e7eb, #cbd5e1);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.profile-photo.static {
  width: 50px;
  height: 50px;
  margin-top: 0;
}

.profile-photo.static span {
  margin-top: 32px;
  font-size: 0.68rem;
}

.profile-photo.compact {
  width: 30px;
  height: 30px;
  margin-top: 0;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.1);
}

.profile-photo.compact span {
  margin-top: 18px;
  font-size: 0.46rem;
}

.profile-photo span {
  margin-top: 38px;
  color: white;
  font-size: 0.72rem;
  font-weight: 950;
}

.compact-topbar {
  min-height: 34px;
  align-items: center;
  margin: 0 4px 8px;
  padding-bottom: 6px;
}

.compact-title-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.header-back {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--blue);
  transform: rotate(180deg);
}

.header-back .svg-icon {
  width: 17px;
  height: 17px;
}

.compact-topbar h1 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1;
}

.compact-topbar .employee-name {
  margin: 2px 0 0;
  font-size: 0.72rem;
  line-height: 1;
}

.profile-photo.compact {
  width: 28px;
  height: 28px;
}

.profile-photo.compact span {
  margin-top: 17px;
  font-size: 0.44rem;
}

.status-strip,
.avatar {
  display: none;
}

.summary-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 0;
}

.summary-card {
  min-height: 96px;
  padding: 7px 6px 6px;
  border-color: #d9e1ec;
  background: white;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.05);
  text-align: center;
}

.summary-card::before {
  display: none;
}

.summary-card .summary-icon {
  width: 33px;
  height: 33px;
  margin: 0 auto 6px;
  border-radius: 999px;
  box-shadow: none;
}

.summary-card.green .summary-icon {
  background: #dff4e6;
}

.summary-card.amber .summary-icon {
  background: #ffecd4;
}

.summary-card.blue .summary-icon {
  background: #e2efff;
}

.summary-card.red .summary-icon {
  background: #fde2e2;
}

.summary-icon .svg-icon {
  width: 20px;
  height: 20px;
}

.summary-card strong {
  margin: 3px 0 2px;
  font-size: 1rem;
  font-weight: 1000;
  white-space: nowrap;
}

.summary-card .summary-label {
  min-height: 0;
  color: #344054;
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.12;
}

.summary-card small {
  margin-top: 1px;
  color: #526176;
  font-size: 0.68rem;
}

.route-panel {
  display: grid;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  margin: 0;
  padding: 7px 12px 6px;
  overflow: hidden;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.route-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
}

.route-panel-title h2 {
  margin: 0;
  color: #071434;
  font-size: 1.12rem;
  font-weight: 1000;
}

.route-panel-title p {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 750;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
}

.route-list {
  position: relative;
  min-height: 0;
  align-content: start;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #ffffff;
}

.route-stop {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  min-height: 82px;
}

.route-stop:not(:last-child)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 48px;
  height: 1px;
  background: #dde5ef;
  content: "";
}

.stop-marker {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 11px;
}

.stop-marker::after {
  position: absolute;
  top: 40px;
  bottom: -20px;
  left: 50%;
  border-left: 2px dashed #d6e1ed;
  content: "";
}

.route-stop:last-child .stop-marker::after {
  display: none;
}

.stop-marker span {
  z-index: 1;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: #dcecff;
  color: #0f5fc8;
  font-size: 0.95rem;
  font-weight: 950;
}

.stop-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 8px;
  padding: 10px 8px 9px 0;
}

.route-stop-grouped {
  min-height: 96px;
}

.stop-main-grouped {
  grid-template-columns: minmax(0, 1fr) 26px;
  column-gap: 6px;
  padding: 10px 5px 10px 0;
}

.stop-main-grouped .stop-info {
  grid-column: 1 / -1;
  padding-right: 28px;
}

.stop-info h3 {
  margin: 0 0 3px;
  color: #071434;
  font-size: 0.9rem;
  font-weight: 950;
}

.stop-info p {
  margin: 0 0 3px;
  color: #4f5d73;
  font-size: 0.68rem;
}

.route-task-stack {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  padding: 3px 29px 0 0;
}

.route-task-row {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 39px;
  padding: 6px;
  border: 1px solid #dce7f5;
  border-radius: 8px;
  background: #f8fbff;
}

.route-task-row.completed {
  border-color: #cdebd8;
  background: #f0fbf4;
}

.route-task-row.pending {
  border-color: #f5ddb8;
  background: #fff8ec;
}

.route-task-row.urgent {
  border-color: #f6c9ce;
  background: #fff1f2;
}

.route-task-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--blue);
}

.route-task-row.completed .route-task-icon {
  background: #ddf5e6;
  color: #14763c;
}

.route-task-row.pending .route-task-icon {
  background: #ffeacf;
  color: #b76000;
}

.route-task-row.urgent .route-task-icon {
  background: #fde1e4;
  color: #d92d20;
}

.route-task-icon svg {
  width: 16px;
  height: 16px;
}

.route-task-copy {
  min-width: 0;
}

.route-task-copy strong,
.route-task-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-task-copy strong {
  color: #071434;
  font-size: 0.73rem;
  font-weight: 950;
}

.route-task-copy span {
  margin-top: 1px;
  color: #516074;
  font-size: 0.62rem;
  font-weight: 750;
}

.route-task-actions {
  display: flex;
  gap: 5px;
}

.route-task-actions button {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue);
  box-shadow: inset 0 0 0 1px #d7e2ef;
}

.route-task-actions svg {
  width: 15px;
  height: 15px;
}

.route-chip {
  position: absolute;
  top: 9px;
  right: 108px;
  min-width: 70px;
  padding: 5px 8px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 850;
}

.route-chip.completed {
  background: #dff4e6;
  color: #14763c;
}

.route-chip.pending {
  background: #ffeacf;
  color: #b76000;
}

.route-chip.urgent {
  background: #fde1e4;
  color: #d92d20;
}

.route-chip.pending {
  background: #ffeacf;
  color: #b76000;
}

.amount-block {
  position: absolute;
  top: 19px;
  right: 42px;
  bottom: auto;
  text-align: left;
}

.amount-block span {
  display: block;
  color: #526176;
  font-size: 0.54rem;
}

.amount-block strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 1000;
}

.amount-block .completed {
  color: #15803d;
}

.amount-block .pending {
  color: #c36b00;
}

.amount-block .urgent {
  color: #d92d20;
}

.stop-actions {
  position: absolute;
  right: 41px;
  bottom: 5px;
  display: flex;
  gap: 8px;
}

.stop-actions button {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--blue);
}

.stop-actions button:nth-child(2) {
  background: #e3f6e9;
  color: #14763c;
}

.stop-chevron {
  position: absolute;
  top: 48%;
  right: 4px;
  display: grid;
  width: 26px;
  height: 34px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #475569;
}

.stop-main-grouped .stop-chevron {
  top: 8px;
  right: 1px;
}

.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 10px 0 8px;
}

.quick-action {
  display: grid;
  grid-template-columns: 48px 1fr 16px;
  align-items: center;
  min-height: 60px;
  padding: 9px 10px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: white;
  color: #071434;
  text-align: left;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.quick-action strong {
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.12;
}

.quick-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--blue);
}

.quick-icon .svg-icon {
  width: 33px;
  height: 33px;
  stroke-width: 2;
}

.quick-icon.collect .svg-icon {
  width: 37px;
  height: 37px;
}

.quick-icon.maintenance .svg-icon {
  width: 35px;
  height: 35px;
}

.quick-action .chevron {
  color: #475569;
}

.maintenance-alert-stack {
  display: grid;
  gap: 6px;
  margin-top: 0;
}

.maintenance-alert {
  display: grid;
  grid-template-columns: 42px 1fr auto 15px;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff3f2;
}

.alert-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: #fde2e2;
  color: #d92d20;
}

.alert-icon .svg-icon {
  width: 24px;
  height: 24px;
}

.maintenance-alert h3,
.maintenance-alert p {
  margin: 0;
}

.maintenance-alert h3 {
  font-size: 0.78rem;
  font-weight: 950;
}

.maintenance-alert strong {
  display: block;
  margin: 1px 0;
  font-size: 0.8rem;
}

.maintenance-alert p {
  color: #667085;
  font-size: 0.68rem;
}

.alert-badge {
  padding: 5px 8px;
  border-radius: 8px;
  background: #d92d20;
  color: white;
  font-size: 0.68rem;
  font-weight: 950;
}

.alert-chevron {
  color: #475569;
}

.bottom-nav {
  right: 50%;
  left: 50%;
  width: min(100%, 430px);
  height: 82px;
  transform: translateX(-50%);
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  padding: 8px 10px 10px;
  border-top: 1px solid #dbe3ee;
  background: rgba(255, 255, 255, 0.98);
}

.nav-button {
  min-height: 60px;
  color: #526176;
  font-size: 0.78rem;
}

.nav-button.active {
  background: transparent;
  color: var(--blue);
}

.nav-icon .svg-icon {
  width: 27px;
  height: 27px;
  stroke-width: 2.15;
}

.nav-logo {
  display: block;
  width: 29px;
  height: 29px;
}

.nav-button.scan-primary {
  color: var(--blue);
}

.nav-button.scan-primary .nav-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: #1f6fe5;
  color: white;
  box-shadow: 0 6px 14px rgba(31, 111, 229, 0.22);
}

.nav-button.scan-primary .nav-icon .svg-icon {
  width: 22px;
  height: 22px;
}

.nav-button.scan-primary span:last-child {
  margin-top: -2px;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 122, 0, 0.10), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(13, 71, 161, 0.12), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.login-panel {
  width: min(100%, 430px);
  display: grid;
  gap: 18px;
  padding: 26px 22px;
  border: 1px solid #dce5f0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

.login-brand-lockup {
  display: block;
  width: min(100%, 330px);
  height: auto;
}

.login-heading span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.login-heading h1 {
  margin: 4px 0;
  color: #071434;
  font-size: 2rem;
  letter-spacing: 0;
}

.login-heading p,
.login-hint {
  margin: 0;
  color: #526176;
  font-size: 0.9rem;
}

.login-form {
  display: grid;
  gap: 12px;
}

.login-form label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 900;
}

.login-form input {
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #d7e0ec;
  border-radius: 8px;
  background: #fbfdff;
  color: #071434;
  font-size: 1rem;
}

.login-form input:focus {
  outline: 2px solid rgba(13, 99, 206, 0.18);
  border-color: var(--blue);
}

.login-business-list {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.login-business-list > span {
  color: #526176;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.login-business-choice {
  display: grid;
  gap: 3px;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #d7e0ec;
  border-radius: 8px;
  background: #fbfdff;
  text-align: left;
}

.login-business-choice.active,
.login-business-choice:focus {
  outline: 2px solid rgba(13, 99, 206, 0.16);
  border-color: var(--blue);
  background: #f1f7ff;
}

.login-business-choice b,
.login-business-choice small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.login-business-choice b {
  color: #071434;
  font-size: 0.9rem;
  font-weight: 950;
}

.login-business-choice small {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 750;
}

.logout-button {
  margin-top: 12px;
}

@media (min-width: 760px) {
  .screen {
    max-width: 430px;
    padding: 18px 14px 118px;
  }

  .summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .dashboard-layout {
    display: block;
  }
}

@media (min-width: 1000px) {
  .screen {
    padding-left: 14px;
  }

  .bottom-nav {
    top: auto;
    right: 50%;
    bottom: 0;
    left: 50%;
    width: min(100%, 430px);
    grid-template-columns: repeat(5, 1fr);
    border-radius: 0;
    transform: translateX(-50%);
  }

  .nav-button {
    min-height: 60px;
  }
}

/* Wide-screen application shell.
   Mobile remains the source experience; these rules only activate when a
   browser has enough room for side-by-side work. */
@media (min-width: 760px) {
  .desktop-only {
    display: initial !important;
  }

  body {
    background: linear-gradient(180deg, #f6f9fc 0%, #eaf1f8 100%);
  }

  .app-shell {
    min-height: 100vh;
  }

  .screen {
    width: auto !important;
    max-width: none !important;
    min-height: 100vh;
    margin: 0 !important;
    padding: 28px 32px 42px 126px !important;
    background: transparent;
    box-shadow: none;
  }

  .ios-status {
    display: none;
  }

  .topbar {
    max-width: 1480px;
    margin: 0 auto 18px;
    padding: 0 0 16px;
    align-items: center;
    border-bottom: 1px solid #dbe5ef;
  }

  .compact-topbar {
    min-height: 54px;
    margin: 0 auto 18px;
    padding-bottom: 14px;
  }

  .topbar h1 {
    margin-bottom: 4px;
    font-size: 1.9rem;
    line-height: 1;
  }

  .compact-topbar h1 {
    font-size: 1.45rem;
  }

  .employee-name,
  .compact-topbar .employee-name {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 850;
  }

  .route-status {
    margin-top: 8px;
    font-size: 0.82rem;
  }

  .profile-photo {
    width: 46px;
    height: 46px;
    margin-top: 0;
  }

  .profile-photo span {
    margin-top: 29px;
    font-size: 0.58rem;
  }

  .profile-photo.compact {
    width: 38px;
    height: 38px;
  }

  .profile-photo.compact span {
    margin-top: 24px;
  }

  .tab-content.active {
    max-width: 1480px;
    margin: 0 auto;
  }

  .tab-content.home-content.active {
    height: auto;
    min-height: calc(100vh - 128px);
    grid-template-columns: minmax(560px, 1.45fr) minmax(330px, 0.9fr);
    grid-template-rows: auto minmax(360px, auto);
    grid-template-areas:
      "summary summary"
      "route alerts";
    gap: 14px;
    align-items: stretch;
  }

  .summary-grid.compact {
    grid-area: summary;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 12px;
  }

  .summary-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-areas:
      "icon label"
      "icon value"
      "icon detail"
      "meta meta";
    align-items: center;
    min-height: 156px;
    padding: 15px;
    text-align: left;
  }

  .summary-card .summary-icon {
    grid-area: icon;
    margin: 0;
  }

  .summary-card strong {
    grid-area: value;
    font-size: 1.34rem;
  }

  .summary-card .summary-label {
    grid-area: label;
  }

  .summary-card small {
    grid-area: detail;
  }

  .summary-card .summary-label,
  .summary-card small {
    font-size: 0.78rem;
  }

  .desktop-card-meta {
    grid-area: meta;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e3ebf5;
  }

  .desktop-card-meta > span,
  .desktop-detail-grid > div {
    display: grid;
    min-width: 0;
    gap: 2px;
    padding: 7px;
    border-radius: 8px;
    background: #f6f9fd;
    color: #64748b;
  }

  .desktop-card-meta b,
  .desktop-detail-grid span {
    overflow: hidden;
    color: #64748b;
    font-size: 0.62rem;
    font-weight: 950;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .desktop-card-meta em,
  .desktop-detail-grid b {
    overflow: hidden;
    color: #071434;
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 1000;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .desktop-card-meta b,
  .desktop-card-meta em {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .desktop-detail-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin-top: 9px;
  }

  .route-panel {
    grid-area: route;
    min-height: 360px;
    max-height: min(45vh, 460px);
    padding: 14px;
  }

  .route-panel-title {
    margin-bottom: 10px;
  }

  .route-panel-title h2 {
    font-size: 1.18rem;
  }

  .route-list {
    min-height: 0;
  }

  .quick-action-grid {
    grid-area: actions;
    align-self: start;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0;
  }

  .quick-action {
    min-height: 76px;
    padding: 13px 14px;
  }

  .maintenance-alert-stack {
    grid-area: alerts;
    align-self: start;
  }

  .bottom-nav {
    position: fixed !important;
    top: 24px !important;
    right: auto !important;
    bottom: auto !important;
    left: 24px !important;
    width: 78px !important;
    height: auto !important;
    grid-template-columns: 1fr !important;
    gap: 8px;
    padding: 10px 8px;
    border: 1px solid #d7e2ef;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
    transform: none !important;
  }

  .nav-button {
    min-height: 68px !important;
    border-radius: 9px;
    font-size: 0.66rem;
  }

  .nav-button.active {
    background: #dbeafe;
  }

  .nav-button.scan-primary .nav-icon {
    width: auto;
    height: auto;
    background: transparent;
    color: currentColor;
    box-shadow: none;
  }

  .nav-button.scan-primary .nav-icon .svg-icon,
  .nav-icon .svg-icon,
  .nav-logo {
    width: 25px;
    height: 25px;
  }

  .collection-list,
  .invoice-row-list,
  .list,
  .users-list,
  .asset-move-asset-list,
  .asset-move-bulk-list,
  .asset-move-approval-list,
  .inventory-detail-list,
  .inventory-action-queue-list,
  .invoice-create-terminal-list,
  .admin-invoice-list,
  .route-report-list,
  .location-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
  }

  .invoice-row-list {
    grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
  }

  .collection-list {
    grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
  }

  .location-list {
    grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
  }

  .users-shell,
  .asset-move-shell,
  .invoice-create-shell,
  .inventory-control,
  .profile-shell,
  .route-report-shell,
  .location-screen,
  .location-detail,
  .invoice-detail-panel {
    max-width: none;
  }

  .users-shell,
  .asset-move-shell,
  .inventory-control,
  .invoice-workspace,
  .location-screen {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .users-toolbar-card,
  .users-list-card,
  .user-editor-card,
  .asset-move-card,
  .asset-move-tabs,
  .inventory-hero,
  .inventory-zone,
  .invoice-workspace-head,
  .location-screen-head,
  .collection-due-hero,
  .invoice-detail-hero,
  .location-detail-hero,
  .collection-search,
  .invoice-search {
    width: 100%;
    max-width: none;
  }

  .invoice-create-summary {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .invoice-create-reading-grid.compact,
  .invoice-create-reading-grid.expanded,
  .invoice-create-net-profit-grid,
  .location-detail-actions,
  .route-report-kpis {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }

  .invoice-detail-hero,
  .location-detail-hero,
  .collection-due-hero,
  .inventory-hero {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .location-info-list {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    overflow: visible;
  }

  .location-info-row {
    border-top: 0;
    border-bottom: 1px solid #edf2f7;
  }

  .location-info-row:nth-child(odd) {
    border-right: 1px solid #edf2f7;
  }

  .location-info-row strong {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .location-asset-list,
  .location-cabinet-picker-list,
  .asset-move-approval-list:has(.location-approval-card) {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    align-items: start;
  }

  .inventory-detail-list,
  .inventory-action-queue-list {
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  }

  .inventory-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }

  .inventory-tabs button {
    min-width: 0;
  }

  .inventory-summary-strip,
  .cabinet-flow {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .cabinet-primary-card {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    padding: 12px;
  }

  .part-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .asset-selected-tray,
  .asset-search-results,
  .move-reading-panel {
    min-width: 0;
  }

  .selected-asset-chip-list {
    max-height: 320px;
  }

  .asset-move-asset-list,
  .asset-move-bulk-list,
  .asset-move-approval-list {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    align-items: start;
  }

  .maintenance-ticket-list {
    grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
    align-items: start;
  }

  .maintenance-ticket-list .row-card .resolve-ticket-form {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .maintenance-ticket-list .row-card .resolve-ticket-form .field.full,
  .maintenance-ticket-list .row-card .resolve-ticket-form .approval-note.full,
  .maintenance-ticket-list .row-card .resolve-ticket-form .button.primary {
    grid-column: 1 / -1;
  }

  .maintenance-ticket-list .desktop-detail-grid b {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .asset-move-card:has(.asset-selected-tray) {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    align-items: start;
  }

  .asset-move-card:has(.asset-selected-tray) > .asset-move-card-head,
  .asset-move-card:has(.asset-selected-tray) > .asset-move-form-grid,
  .asset-move-card:has(.asset-selected-tray) > .asset-move-section-title,
  .asset-move-card:has(.asset-selected-tray) > .asset-move-search,
  .asset-move-card:has(.asset-selected-tray) > .asset-move-submit-row {
    grid-column: 1 / -1;
  }

  .asset-move-card:has(.asset-selected-tray) > .asset-selected-tray {
    grid-column: 1;
  }

  .asset-move-card:has(.asset-selected-tray) > .asset-search-results,
  .asset-move-card:has(.asset-selected-tray) > .asset-move-section-title:nth-of-type(2),
  .asset-move-card:has(.asset-selected-tray) > .asset-move-bulk-list {
    grid-column: 2;
  }

  .move-reading-card {
    grid-template-columns: minmax(180px, 1fr) 110px 110px minmax(150px, 0.9fr);
  }

  .inline-move-reading {
    grid-template-columns: 110px 110px minmax(150px, 1fr);
  }

  .location-approval-card.asset-move-approval-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .location-approval-card .approval-action-stack {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .invoice-row-card.invoice-tile,
  .location-card,
  .user-row-card,
  .row-card,
  .part-card {
    padding: 14px;
  }

  .invoice-tile-main,
  .location-card-main,
  .user-row-main {
    gap: 9px;
  }

  .part-card {
    grid-template-columns: 42px minmax(0, 1fr) auto auto;
  }

  .part-card .desktop-detail-grid {
    grid-column: 1 / -1;
  }

  .user-row-card {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
  }

  .user-row-chevron {
    display: none;
  }

  .location-desktop-meta,
  .user-desktop-meta {
    margin-top: 5px;
  }

  .invoice-row-card.invoice-tile {
    padding: 14px;
  }

  .invoice-tile-main {
    gap: 9px;
  }

  .invoice-tile-period {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .invoice-tile-money {
    gap: 8px;
  }

  .invoice-tile-money div {
    padding: 9px 10px;
  }

  .invoice-tile-money b,
  .invoice-row-card.invoice-tile .desktop-detail-grid b,
  .location-card .desktop-detail-grid b {
    min-width: 0;
    overflow: visible;
    text-align: left;
    text-overflow: clip;
    white-space: normal;
  }

  .invoice-row-card.invoice-tile .desktop-detail-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .settlement-panel:not(.review-mode) {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
  }

  .settlement-panel:not(.review-mode) > .section-title,
  .settlement-panel:not(.review-mode) > .subtle,
  .settlement-panel:not(.review-mode) > .settlement-note {
    grid-column: 1 / -1;
  }

  .settlement-panel:not(.review-mode) > .field,
  .settlement-panel:not(.review-mode) > .mixed-cash-field,
  .settlement-panel:not(.review-mode) > .settlement-total-row,
  .settlement-panel:not(.review-mode) > .settlement-submit {
    grid-column: 1;
  }

  .settlement-panel:not(.review-mode) > .denomination-head,
  .settlement-panel:not(.review-mode) > .denomination-grid {
    grid-column: 2;
  }

  .settlement-panel:not(.review-mode) > .denomination-head {
    align-self: end;
  }

  .settlement-panel:not(.review-mode) > .denomination-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .users-list {
    grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
  }

  .inactive-user-divider {
    grid-column: 1 / -1;
  }

  .user-row-card {
    padding: 16px;
  }

  .user-row-main {
    gap: 7px;
  }

  .user-row-card strong {
    font-size: 0.92rem;
  }

  .user-row-card small {
    font-size: 0.76rem;
  }

  .user-row-metrics span {
    font-size: 0.68rem;
  }

  .user-desktop-meta.desktop-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 9px;
  }

  .user-desktop-meta.desktop-detail-grid > div {
    padding: 8px 9px;
  }

  .user-desktop-meta.desktop-detail-grid span,
  .user-desktop-meta.desktop-detail-grid b {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .user-desktop-meta.desktop-detail-grid b {
    word-break: break-word;
    line-height: 1.2;
  }

  .user-row-actions {
    min-width: 74px;
  }
}

@media (min-width: 1280px) {
  .screen {
    padding-left: 144px !important;
    padding-right: 44px !important;
  }

  .bottom-nav {
    left: 34px !important;
    width: 88px !important;
  }

  .tab-content.home-content.active {
    grid-template-columns: minmax(680px, 1.55fr) minmax(380px, 0.85fr);
  }

  .collection-list,
  .invoice-row-list,
  .list,
  .users-list,
  .asset-move-asset-list,
  .asset-move-bulk-list,
  .asset-move-approval-list,
  .inventory-detail-list,
  .inventory-action-queue-list,
  .invoice-create-terminal-list,
  .admin-invoice-list,
  .route-report-list,
  .location-list {
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  }

  .users-list {
    grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
  }

  .invoice-row-list {
    grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
  }

  .collection-list {
    grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
  }

  .location-list {
    grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
  }

  .inventory-detail-list,
  .inventory-action-queue-list {
    grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  }

  .asset-move-asset-list,
  .asset-move-bulk-list,
  .asset-move-approval-list {
    grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  }

  .maintenance-ticket-list {
    grid-template-columns: repeat(auto-fit, minmax(560px, 1fr));
  }
}

@media (min-width: 760px) and (max-width: 1120px) {
  .tab-content.home-content.active {
    grid-template-columns: 1fr;
    grid-template-areas:
      "summary"
      "route"
      "alerts";
  }

  .quick-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
