/*
 * Mantivo admin Tabler layer.
 * Tabler v1.5.0 is vendored locally in tabler.min.css/tabler.min.js.
 * This file only contains Mantivo product decisions on top of Tabler.
 */

:root,
[data-bs-theme="light"],
[data-theme="light"] {
  --mantivo-admin-primary: #0b5ed7;
  --mantivo-admin-primary-hover: #0848a6;
  --mantivo-admin-primary-contrast: #ffffff;
  --mantivo-admin-focus: #f59f00;
  --mantivo-admin-ink: #0f172a;
  --mantivo-admin-muted: #475569;
  --mantivo-admin-border: #cbd5e1;
  --mantivo-admin-surface: #ffffff;
  --mantivo-admin-subtle: #f8fafc;
  --mantivo-admin-page: #f4f6f8;
  --mantivo-admin-radius: 1rem;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard #dashboard-sector-performance {
  scroll-margin-top: 7rem !important;
  padding: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard #dashboard-sector-performance:target {
  outline: 2px solid var(--mantivo-admin-primary) !important;
  outline-offset: .25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard #dashboard-sector-performance .dashboard-sector-table-wrap {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .table-wrap[tabindex]:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

/* Client account request: keep examples and status inside one clear panel. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account #client-review-request .account-request-examples {
  grid-template-columns: minmax(10rem, .28fr) minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 1rem !important;
  margin: 1rem 0 !important;
  padding: 0 0 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account #client-review-request .account-request-examples ul {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account #client-review-request .account-request-examples li {
  padding: 0 0 0 .7rem !important;
  border: 0 !important;
  border-left: 2px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--mantivo-admin-muted) !important;
  font-weight: 500 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account #client-review-request .account-client-request-summary {
  padding: .2rem 0 .2rem 1rem !important;
  border: 0 !important;
  border-left: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 780px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account #client-review-request .account-request-examples {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account #client-review-request .account-request-examples ul {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .35rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account #client-review-request .account-client-request-summary {
    padding: 1rem 0 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--mantivo-admin-border) !important;
  }
}

html body.admin-shell.mantivo-tabler-work-orders #work-order-form:has(.work-order-fields-disclosure:not([open])) .work-client-scope,
html body.admin-shell.mantivo-tabler-work-orders .work-order-fields-disclosure:not([open]) > :not(summary) {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-fields-summary {
  display: block !important;
  position: relative !important;
  padding: .8rem 2.25rem .8rem 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
  list-style: none !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-fields-summary:focus-visible {
  outline: 2px solid var(--mantivo-admin-primary) !important;
  outline-offset: 2px !important;
}

html body.admin-shell.mantivo-tabler-work-orders .work-order-fields-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.mantivo-tabler-work-orders .work-order-fields-summary::after {
  content: '+' !important;
  position: absolute !important;
  right: .9rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--mantivo-admin-primary) !important;
}

html body.admin-shell.mantivo-tabler-work-orders .work-order-fields-disclosure[open] .work-order-fields-summary::after {
  content: '\2212' !important;
}

/* Text assist Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist {
  --text-assist-page: var(--mantivo-admin-page);
  --text-assist-surface: var(--mantivo-admin-surface);
  --text-assist-subtle: var(--mantivo-admin-subtle);
  --text-assist-border: var(--mantivo-admin-border);
  --text-assist-ink: var(--mantivo-admin-ink);
  --text-assist-muted: var(--mantivo-admin-muted);
  --text-assist-primary: var(--mantivo-admin-primary);
  background: var(--text-assist-page) !important;
  color: var(--text-assist-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .admin-main {
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .text-assist-page {
  width: min(100%, 86rem) !important;
  margin-inline: auto !important;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 4rem !important;
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .text-assist-page > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .ai-intake-hero {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: 1.25rem 1.35rem !important;
  border: 1px solid var(--text-assist-border) !important;
  border-inline-start: .3rem solid var(--text-assist-primary) !important;
  border-radius: .75rem !important;
  background: var(--text-assist-surface) !important;
  color: var(--text-assist-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .ai-intake-hero h2 {
  max-width: 32ch !important;
  margin: 0 !important;
  color: var(--text-assist-ink) !important;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem) !important;
  line-height: 1.12 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .ai-intake-mode {
  display: grid !important;
  gap: .2rem !important;
  flex: 0 0 auto !important;
  min-width: 14rem !important;
  padding: .85rem 1rem !important;
  border: 1px solid var(--text-assist-border) !important;
  border-radius: .625rem !important;
  background: var(--text-assist-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .ai-text-shortcuts {
  display: grid !important;
  grid-template-columns: minmax(12rem, .7fr) minmax(0, 2fr) !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1.15rem 1.25rem !important;
  border: 1px solid var(--text-assist-border) !important;
  border-radius: .75rem !important;
  background: var(--text-assist-surface) !important;
  color: var(--text-assist-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .ai-text-shortcut-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .ai-text-shortcut-card {
  min-width: 0 !important;
  min-height: 7rem !important;
  padding: 1rem !important;
  border: 1px solid var(--text-assist-border) !important;
  border-radius: .625rem !important;
  background: var(--text-assist-subtle) !important;
  color: var(--text-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .ai-text-shortcut-card:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .ai-text-shortcut-card:focus-visible {
  border-color: var(--text-assist-primary) !important;
  background: var(--text-assist-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .communication-ai {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr) !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist :where(.ai-intake-source, .communication-ai-proposal) {
  min-width: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid var(--text-assist-border) !important;
  border-radius: .75rem !important;
  background: var(--text-assist-surface) !important;
  color: var(--text-assist-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .ai-intake-source,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .communication-ai-proposal {
  border-block-start: .25rem solid var(--text-assist-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .ai-intake-checks {
  display: grid !important;
  gap: .65rem !important;
  align-content: start !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .ai-intake-checks article,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .quote-ai-proposal-grid article {
  display: grid !important;
  gap: .25rem !important;
  min-width: 0 !important;
  padding: .85rem !important;
  border: 1px solid var(--text-assist-border) !important;
  border-radius: .625rem !important;
  background: var(--text-assist-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .quote-ai-proposal-grid {
  display: grid !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .communication-ai-proposal > .admin-section-heading {
  display: flex !important;
  align-items: start !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding-bottom: .85rem !important;
  border-bottom: 1px solid var(--text-assist-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist :where(h3, h4, strong, label) {
  color: var(--text-assist-ink) !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .text-assist-page :where(p, small, li, span:not(.status-badge), .form-help) {
  color: var(--text-assist-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist :where(input, select, textarea) {
  min-height: 2.75rem !important;
  border-color: var(--text-assist-border) !important;
  background: var(--text-assist-surface) !important;
  color: var(--text-assist-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist textarea {
  min-height: 13rem !important;
  resize: vertical !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .ai-intake-source > small {
  display: block !important;
  margin-top: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .form-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .communication-ai-proposal > .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .communication-ai-proposal > .form-actions > .text-related-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .text-related-actions {
  position: relative !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .text-related-actions-panel {
  display: grid !important;
  gap: .5rem !important;
  margin-top: .5rem !important;
  padding: .75rem !important;
  border: 1px solid var(--text-assist-border) !important;
  border-radius: .625rem !important;
  background: var(--text-assist-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist :where(a, button, summary, input, select, textarea):focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist {
  --text-assist-page: var(--mantivo-admin-page);
  --text-assist-surface: var(--mantivo-admin-surface);
  --text-assist-subtle: var(--mantivo-admin-subtle);
  --text-assist-border: var(--mantivo-admin-border);
  --text-assist-ink: var(--mantivo-admin-ink);
  --text-assist-muted: var(--mantivo-admin-muted);
  --text-assist-primary: var(--mantivo-admin-primary);
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .ai-text-shortcuts,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .communication-ai {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 1100px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .ai-text-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .ai-intake-hero,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .communication-ai-proposal > .admin-section-heading {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .ai-text-shortcut-grid {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .ai-text-shortcut-card {
    display: grid !important;
    grid-template-columns: 1.5rem auto minmax(0, 1fr) !important;
    align-items: baseline !important;
    gap: .4rem !important;
    min-height: 0 !important;
    padding: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist .ai-intake-mode {
    min-width: 0 !important;
  }
}

/* The team dashboard uses only the Tabler layer; its mobile comparison needs real cell labels. */
html body.admin-shell.mantivo-tabler-dashboard .dashboard-sector-cell-label {
  display: none !important;
}

@media (max-width: 760px) {
  html body.admin-shell.mantivo-tabler-dashboard .dashboard-sector-table-wrap {
    overflow: visible !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html body.admin-shell.mantivo-tabler-dashboard .dashboard-sector-table,
  html body.admin-shell.mantivo-tabler-dashboard .dashboard-sector-table tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.mantivo-tabler-dashboard .dashboard-sector-table thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  html body.admin-shell.mantivo-tabler-dashboard .dashboard-sector-target-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .2rem .8rem !important;
    padding: .75rem 0 !important;
    border-top: 1px solid var(--mantivo-admin-border) !important;
  }

  html body.admin-shell.mantivo-tabler-dashboard .dashboard-sector-target-row td {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .15rem !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: .3rem 0 !important;
    border: 0 !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.mantivo-tabler-dashboard .dashboard-sector-target-row td.dashboard-sector-zero {
    display: none !important;
  }

  html body.admin-shell.mantivo-tabler-dashboard .dashboard-sector-target-row td:first-child {
    display: block !important;
    grid-column: 1 / -1 !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-sector-table-wrap .dashboard-sector-cell-label {
    display: block !important;
    color: var(--mantivo-admin-muted) !important;
    font-size: .8rem !important;
    font-weight: 700 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-sector-target-row td:first-child .dashboard-sector-cell-label {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-sector-table-wrap .dashboard-sector-target-row td.dashboard-row-actions-cell {
    display: block !important;
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
    margin-top: .3rem !important;
    padding-top: .8rem !important;
    border-top: 1px solid var(--mantivo-admin-border) !important;
    border-inline-start: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-sector-table-wrap .dashboard-sector-target-row td.dashboard-row-actions-cell .dashboard-row-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .4rem !important;
    min-width: 0 !important;
    margin-top: .5rem !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-sector-table-wrap .dashboard-sector-target-row td.dashboard-row-actions-cell .dashboard-row-actions .btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    justify-content: center !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-table-panel .table-wrap {
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-table-panel .table {
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-table-panel .table thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-table-panel .table tbody {
    display: block !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-table-panel .table tbody tr {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .75rem 1rem !important;
    padding: .875rem .25rem !important;
    border-bottom: 1px solid var(--subscription-border) !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-table-panel .table tbody tr:last-child {
    border-bottom: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-table-panel .table tbody td {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-table-panel .table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: .2rem;
    color: var(--subscription-muted);
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-table-panel .table tbody td:not(:nth-child(5)):not(:nth-child(6)) {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-table-panel .table tbody td:first-child {
    font-weight: 700 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-table-panel .table tbody td:last-child :is(.btn, button) {
    padding-inline: .5rem !important;
    font-size: .875rem !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-table-panel {
    padding-inline: 8px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-table-panel .table tbody tr {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-text-assist *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* Evidence assist Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist {
  --evidence-assist-page: var(--mantivo-admin-page);
  --evidence-assist-surface: var(--mantivo-admin-surface);
  --evidence-assist-subtle: var(--mantivo-admin-subtle);
  --evidence-assist-border: var(--mantivo-admin-border);
  --evidence-assist-ink: var(--mantivo-admin-ink);
  --evidence-assist-muted: var(--mantivo-admin-muted);
  --evidence-assist-primary: var(--mantivo-admin-primary);
  background: var(--evidence-assist-page) !important;
  color: var(--evidence-assist-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .admin-main {
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-assist-page {
  width: min(100%, 86rem) !important;
  margin-inline: auto !important;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 4rem !important;
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-assist-page > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-intake-hero {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: .25rem 0 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--evidence-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--evidence-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-intake-hero h2 {
  max-width: 32ch !important;
  margin: 0 !important;
  color: var(--evidence-assist-ink) !important;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem) !important;
  line-height: 1.12 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-intake-mode {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  padding: .25rem 0 .25rem .75rem !important;
  border: 0 !important;
  border-inline-start: 2px solid var(--evidence-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-evidence-shortcuts {
  display: block !important;
  padding: .75rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--evidence-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--evidence-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-evidence-shortcut-disclosure > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  min-height: 3rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-evidence-shortcut-disclosure > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-evidence-shortcut-disclosure > summary span {
  display: grid !important;
  gap: .2rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-evidence-shortcut-disclosure > summary::after {
  content: '+' !important;
  font-size: 1.4rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-evidence-shortcut-disclosure[open] > summary::after {
  content: '\2212' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-evidence-shortcut-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-evidence-shortcut-disclosure[open] .ai-evidence-shortcut-grid {
  padding-block: 1rem .75rem !important;
  border-top: 1px solid var(--evidence-assist-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-evidence-shortcut-card {
  min-width: 0 !important;
  min-height: 0 !important;
  padding: .65rem !important;
  border: 0 !important;
  border-inline-start: 2px solid var(--evidence-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--evidence-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-evidence-shortcut-card:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-evidence-shortcut-card:focus-visible {
  border-inline-start-color: var(--evidence-assist-primary) !important;
  background: var(--evidence-assist-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-evidence-shortcut-card[aria-disabled="true"] {
  opacity: .6 !important;
  pointer-events: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-ai {
  display: block !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist :where(.ai-intake-source, .evidence-ai-proposal) {
  min-width: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid var(--evidence-assist-border) !important;
  border-radius: .75rem !important;
  background: var(--evidence-assist-surface) !important;
  color: var(--evidence-assist-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-intake-source,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-ai-proposal {
  border-block-start: .25rem solid var(--evidence-assist-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-intake-source {
  width: min(100%, 44rem) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-intake-source > button {
  margin-top: .8rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-intake-source > small {
  display: block !important;
  margin-top: .55rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-preview-state {
  max-width: 44rem !important;
  padding: 1.25rem 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-preview-state h3 {
  margin: 0 0 .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-preview-state p {
  max-width: 58ch !important;
  margin-bottom: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .quote-ai-proposal-grid article {
  min-width: 0 !important;
  padding: .55rem 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--evidence-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .quote-ai-proposal-grid article > p {
  margin: .35rem 0 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .quote-ai-proposal-grid article:last-child {
  border-bottom: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .quote-ai-proposal-grid {
  display: grid !important;
  gap: .5rem !important;
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .quote-ai-proposal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 2rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .quote-ai-proposal-grid article:last-child {
    border-bottom: 1px solid var(--evidence-assist-border) !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-ai-proposal > .admin-section-heading {
  display: flex !important;
  align-items: start !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding-bottom: .85rem !important;
  border-bottom: 1px solid var(--evidence-assist-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-ai-proposal > .evidence-ai-status {
  display: block !important;
  width: 100% !important;
  margin: .9rem 0 !important;
  color: var(--evidence-assist-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-ai-proposal .quote-ai-copy-block textarea {
  font-weight: 400 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-copy-disclosure {
  margin-top: .75rem !important;
  border-top: 1px solid var(--evidence-assist-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-copy-disclosure > summary {
  display: block !important;
  position: relative !important;
  padding: .85rem 2rem .85rem 0 !important;
  color: var(--evidence-assist-primary) !important;
  cursor: pointer !important;
  list-style: none !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-copy-disclosure > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-copy-disclosure > summary::after {
  content: '+' !important;
  position: absolute !important;
  right: .4rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-copy-disclosure[open] > summary::after {
  content: '\2212' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-copy-disclosure:not([open]) > :not(summary) {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-copy-disclosure .quote-ai-copy-block {
  display: grid !important;
  gap: .5rem !important;
  min-width: 0 !important;
  margin-top: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-copy-disclosure .quote-ai-copy-block textarea {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-copy-disclosure .quote-ai-copy-block textarea[data-auto-sized="true"] {
  overflow-y: hidden !important;
  resize: none !important;
}

/* Evidence confidence badge alignment 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-confidence-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-width: 8.5rem !important;
  white-space: nowrap !important;
}

/* Evidence confidence badge surface 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-confidence-badge {
  min-height: 2rem !important;
  padding: .35rem .65rem !important;
  border: 1px solid #67e8f9 !important;
  border-radius: 999px !important;
  background: #ecfeff !important;
  color: #155e75 !important;
  line-height: 1.2 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3) !important;
}

/* Evidence confidence badge dark surface 2026-10-21. */
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-confidence-badge {
  border-color: #67e8f9 !important;
  background: #ecfeff !important;
  color: #155e75 !important;
}

/* Evidence assist input fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-input-fieldset {
  display: grid !important;
  gap: .75rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-input-fieldset > legend {
  width: auto !important;
  margin: 0 !important;
  padding: 0 .4rem !important;
  color: var(--evidence-assist-ink) !important;
  font-size: .86rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-input-fieldset > label {
  display: grid !important;
  gap: .4rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist :where(h3, h4, strong, label) {
  color: var(--evidence-assist-ink) !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-assist-page :where(p, small, li, span, .form-help) {
  color: var(--evidence-assist-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist :where(input, select, textarea) {
  min-height: 2.75rem !important;
  border-color: var(--evidence-assist-border) !important;
  background: var(--evidence-assist-surface) !important;
  color: var(--evidence-assist-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist textarea {
  min-height: 13rem !important;
  resize: vertical !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist #evidence-ai-form textarea[name="description"] {
  min-height: 9rem !important;
  font-weight: 400 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-file-name-preview {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-file-name-preview.is-overflowing:not(:empty) {
  display: block !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
  margin-top: .35rem !important;
  color: var(--evidence-assist-ink) !important;
  font-size: .875rem !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .form-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-ai-proposal > .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist :where(a, button, summary, input, select, textarea):focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist {
  --evidence-assist-page: var(--mantivo-admin-page);
  --evidence-assist-surface: var(--mantivo-admin-surface);
  --evidence-assist-subtle: var(--mantivo-admin-subtle);
  --evidence-assist-border: var(--mantivo-admin-border);
  --evidence-assist-ink: var(--mantivo-admin-ink);
  --evidence-assist-muted: var(--mantivo-admin-muted);
  --evidence-assist-primary: var(--mantivo-admin-primary);
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-evidence-shortcuts,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-ai {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1100px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-evidence-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-intake-hero,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-ai-proposal > .admin-section-heading {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-confidence-badge {
    align-self: flex-start !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-evidence-shortcut-grid {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-intake-mode {
    display: grid !important;
    gap: .15rem !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-intake-source > button[type="submit"] {
    width: 100% !important;
    min-height: 2.75rem !important;
  }
}

/* Evidence assist proposal actions touch layout 2026-10-21. */
@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-ai-proposal > .form-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-ai-proposal > .form-actions > :where(.btn, button, a, details) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-ai-proposal > .form-actions > :is(button, a) {
    min-height: 44px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-ai-proposal > .form-actions > details {
    display: grid !important;
    gap: .45rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-ai-proposal > .form-actions > details :where(summary, .btn) {
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* Quote assist Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist {
  --quote-assist-page: var(--mantivo-admin-page);
  --quote-assist-surface: var(--mantivo-admin-surface);
  --quote-assist-subtle: var(--mantivo-admin-subtle);
  --quote-assist-border: var(--mantivo-admin-border);
  --quote-assist-ink: var(--mantivo-admin-ink);
  --quote-assist-muted: var(--mantivo-admin-muted);
  --quote-assist-primary: var(--mantivo-admin-primary);
  background: var(--quote-assist-page) !important;
  color: var(--quote-assist-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .admin-main {
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-assist-page {
  width: min(100%, 86rem) !important;
  margin-inline: auto !important;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 4rem !important;
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-assist-page > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-intake-hero {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: .25rem 0 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--quote-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--quote-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-intake-hero h2 {
  max-width: 32ch !important;
  margin: 0 !important;
  color: var(--quote-assist-ink) !important;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem) !important;
  line-height: 1.12 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-intake-mode {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  padding: .25rem 0 .25rem .75rem !important;
  border: 0 !important;
  border-inline-start: 2px solid var(--quote-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-quote-shortcuts {
  display: block !important;
  padding: .75rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--quote-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--quote-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-quote-shortcut-disclosure > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  min-height: 3rem !important;
  color: var(--quote-assist-ink) !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-quote-shortcut-disclosure > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-quote-shortcut-disclosure > summary span {
  display: grid !important;
  gap: .2rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-quote-shortcut-disclosure > summary small {
  color: var(--quote-assist-muted) !important;
  font-size: .86rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-quote-shortcut-disclosure > summary::after {
  content: '+' !important;
  font-size: 1.4rem !important;
  line-height: 1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-quote-shortcut-disclosure[open] > summary::after {
  content: '\2212' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-quote-shortcut-disclosure[open] .ai-quote-shortcut-grid {
  padding-top: 1rem !important;
  border-top: 1px solid var(--quote-assist-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-quote-shortcut-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-quote-shortcut-card {
  min-width: 0 !important;
  min-height: 0 !important;
  padding: .6rem .35rem !important;
  border: 0 !important;
  border-top: 1px solid var(--quote-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--quote-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-quote-shortcut-card:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-quote-shortcut-card:focus-visible {
  color: var(--quote-assist-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-assist {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr) !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-assist {
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-source {
  width: min(100%, 44rem) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist :where(.ai-intake-source, .quote-ai-proposal) {
  min-width: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid var(--quote-assist-border) !important;
  border-radius: .75rem !important;
  background: var(--quote-assist-surface) !important;
  color: var(--quote-assist-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-intake-source,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal {
  border-block-start: .25rem solid var(--quote-assist-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal-grid article {
  min-width: 0 !important;
  padding: .55rem 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--quote-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal-grid article > :is(p, ul) {
  margin: .35rem 0 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal-grid {
  display: grid !important;
  gap: 0 !important;
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 2rem !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal > .admin-section-heading {
  display: flex !important;
  align-items: start !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding-bottom: .85rem !important;
  border-bottom: 1px solid var(--quote-assist-border) !important;
}

/* Quote confidence badge alignment 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-confidence-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-width: 8.5rem !important;
  white-space: nowrap !important;
}

/* Quote confidence badge surface 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-confidence-badge {
  min-height: 2rem !important;
  padding: .35rem .65rem !important;
  border: 1px solid #67e8f9 !important;
  border-radius: 999px !important;
  background: #ecfeff !important;
  color: #155e75 !important;
  line-height: 1.2 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3) !important;
}

/* Quote confidence badge dark surface 2026-10-21. */
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-confidence-badge,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-confidence-badge {
  border-color: #67e8f9 !important;
  background: #ecfeff !important;
  color: #155e75 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist :where(h3, h4, strong, label) {
  color: var(--quote-assist-ink) !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-assist-page :where(p, small, li, span, .form-help) {
  color: var(--quote-assist-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist :where(input, select, textarea) {
  min-height: 2.75rem !important;
  border-color: var(--quote-assist-border) !important;
  background: var(--quote-assist-surface) !important;
  color: var(--quote-assist-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist textarea {
  min-height: 13rem !important;
  resize: vertical !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist textarea[name="quote_description"] {
  min-height: 9rem !important;
  font-weight: 400 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .form-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal > .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal > .form-actions > .quote-related-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-related-actions {
  position: relative !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-related-actions-panel {
  display: grid !important;
  gap: .5rem !important;
  margin-top: .5rem !important;
  padding: .75rem !important;
  border: 1px solid var(--quote-assist-border) !important;
  border-radius: .625rem !important;
  background: var(--quote-assist-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist :where(a, button, summary, input, select, textarea):focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist {
  --quote-assist-page: var(--mantivo-admin-page);
  --quote-assist-surface: var(--mantivo-admin-surface);
  --quote-assist-subtle: var(--mantivo-admin-subtle);
  --quote-assist-border: var(--mantivo-admin-border);
  --quote-assist-ink: var(--mantivo-admin-ink);
  --quote-assist-muted: var(--mantivo-admin-muted);
  --quote-assist-primary: var(--mantivo-admin-primary);
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-source,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal-item {
  min-width: 0 !important;
  overflow-wrap: break-word !important;
}

/* Quote assist input fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-input-fieldset {
  display: grid !important;
  gap: .75rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-preview-state {
  max-width: 44rem !important;
  padding: 1.25rem 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-preview-state h3 {
  margin: 0 0 .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-preview-state p {
  max-width: 58ch !important;
  margin-bottom: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-preview-state > .btn {
  max-width: 100% !important;
  white-space: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-input-fieldset > legend {
  width: auto !important;
  margin: 0 !important;
  padding: 0 .4rem !important;
  color: var(--quote-assist-ink) !important;
  font-size: .86rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-input-fieldset > label {
  display: grid !important;
  gap: .35rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-source > button[type="submit"] {
  margin-top: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-fixed-activity {
  display: block !important;
  min-width: 0 !important;
  padding: .25rem 0 .5rem !important;
  border-bottom: 1px solid var(--quote-assist-border) !important;
  overflow-wrap: anywhere !important;
  color: var(--quote-assist-ink) !important;
  font-weight: 600 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-copy-block {
  display: grid !important;
  gap: .5rem !important;
  margin-top: 1.25rem !important;
  color: var(--quote-assist-ink) !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-copy-disclosure textarea {
  font-weight: 400 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-copy-disclosure textarea[data-auto-sized="true"] {
  overflow-y: hidden !important;
  resize: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-copy-disclosure {
  margin-top: .75rem !important;
  border-top: 1px solid var(--quote-assist-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-copy-disclosure > summary {
  display: block !important;
  position: relative !important;
  padding: .85rem 2rem .85rem 0 !important;
  color: var(--quote-assist-primary) !important;
  cursor: pointer !important;
  list-style: none !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-copy-disclosure > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-copy-disclosure > summary::after {
  content: '+' !important;
  position: absolute !important;
  right: .4rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-copy-disclosure[open] > summary::after {
  content: '\2212' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-copy-disclosure:not([open]) > :not(summary) {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal > .form-help {
  display: block !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin: .9rem 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
  color: var(--quote-assist-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-intake-source > button[type="submit"] {
  width: 100% !important;
  min-height: 2.9rem !important;
  text-align: center !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal > .form-actions :where(.btn, button) {
  min-height: 2.9rem !important;
  white-space: normal !important;
  text-align: center !important;
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-quote-shortcuts,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-assist {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1100px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-quote-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-intake-hero,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal > .admin-section-heading {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-quote-shortcut-grid {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-confidence-badge {
    align-self: flex-start !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .ai-intake-mode {
    min-width: 0 !important;
  }
}

/* Quote assist proposal actions touch layout 2026-10-21. */
@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal > .form-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal > .form-actions > :where(.btn, button, a) {
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* Message intake Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake {
  --message-intake-page: var(--mantivo-admin-page);
  --message-intake-surface: var(--mantivo-admin-surface);
  --message-intake-subtle: var(--mantivo-admin-subtle);
  --message-intake-border: var(--mantivo-admin-border);
  --message-intake-ink: var(--mantivo-admin-ink);
  --message-intake-muted: var(--mantivo-admin-muted);
  --message-intake-primary: var(--mantivo-admin-primary);
  background: var(--message-intake-page) !important;
  color: var(--message-intake-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .admin-main {
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-page {
  width: min(100%, 86rem) !important;
  margin-inline: auto !important;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 4rem !important;
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-page > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .ai-intake-hero {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: .25rem 0 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--message-intake-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--message-intake-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .ai-intake-hero h2 {
  max-width: 32ch !important;
  margin: 0 !important;
  color: var(--message-intake-ink) !important;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem) !important;
  line-height: 1.12 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .ai-intake-mode {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  padding: .25rem 0 .25rem .75rem !important;
  border: 0 !important;
  border-inline-start: 2px solid var(--message-intake-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .ai-intake-grid {
  display: block !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-source,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake #ai-intake-proposal {
  min-width: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid var(--message-intake-border) !important;
  border-block-start: .25rem solid var(--message-intake-primary) !important;
  border-radius: .75rem !important;
  background: var(--message-intake-surface) !important;
  color: var(--message-intake-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-source {
  display: grid !important;
  align-content: start !important;
  gap: .85rem !important;
  width: min(100%, 44rem) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-preview-state {
  max-width: 44rem !important;
  padding: 1.25rem 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-preview-state p {
  max-width: 58ch !important;
  margin: 0 0 1rem !important;
  color: var(--message-intake-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake #ai-intake-proposal {
  display: block !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake #ai-intake-proposal > .form-help {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: .9rem 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .admin-section-heading {
  display: flex !important;
  align-items: start !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding-bottom: .85rem !important;
  border-bottom: 1px solid var(--message-intake-border) !important;
}

/* Message intake confidence tone 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-confidence {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-width: 8.5rem !important;
  white-space: nowrap !important;
  border: 1px solid var(--message-intake-border) !important;
  background: var(--message-intake-surface) !important;
  color: var(--message-intake-ink) !important;
}

/* Message intake confidence badge alignment 2026-10-21. */

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-confidence-high {
  border-color: #86efac !important;
  background: #ecfdf3 !important;
  color: #166534 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-confidence-medium {
  border-color: #f1c27d !important;
  background: #fff7ed !important;
  color: #92400e !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-confidence-low {
  border-color: #fda4af !important;
  background: #fff1f2 !important;
  color: #9f1239 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-confidence-high {
  border-color: #86efac !important;
  background: #ecfdf3 !important;
  color: #166534 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-confidence-medium {
  border-color: #f1c27d !important;
  background: #fff7ed !important;
  color: #92400e !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-confidence-low {
  border-color: #fda4af !important;
  background: #fff1f2 !important;
  color: #9f1239 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}

/* Message intake proposal grouping 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-fieldset {
  display: grid !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 0 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--message-intake-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-fieldset > legend {
  float: none !important;
  width: auto !important;
  margin: 0 0 .65rem !important;
  padding: 0 !important;
  color: var(--message-intake-ink) !important;
  font-size: .86rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-fieldset > .full-span {
  grid-column: 1 / -1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .full-span {
  grid-column: 1 / -1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake :where(label) {
  display: grid !important;
  gap: .4rem !important;
  margin: 0 !important;
  color: var(--message-intake-ink) !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake :where(input, select, textarea) {
  width: 100% !important;
  min-height: 2.75rem !important;
  min-width: 0 !important;
  border-color: var(--message-intake-border) !important;
  background: var(--message-intake-surface) !important;
  color: var(--message-intake-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake textarea {
  min-height: 12rem !important;
  resize: vertical !important;
  font-weight: 400 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake #ai-intake-proposal textarea:is([name="address"], [name="route_zone"]) {
  min-height: 4rem !important;
  field-sizing: content !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake #ai-intake-proposal textarea[name="description"] {
  min-height: 8rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake #ai-intake-proposal textarea[name="observations"] {
  min-height: 6rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .form-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake #ai-intake-proposal .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .ai-intake-source > .btn-primary,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .form-actions :where(.btn, button) {
  min-height: 2.9rem !important;
  white-space: normal !important;
  text-align: center !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .ai-intake-source > .btn-primary {
  width: 100% !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-page :where(p, small, span, .form-help) {
  color: var(--message-intake-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake :where(a, button, input, select, textarea):focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake {
  --message-intake-page: var(--mantivo-admin-page);
  --message-intake-surface: var(--mantivo-admin-surface);
  --message-intake-subtle: var(--mantivo-admin-subtle);
  --message-intake-border: var(--mantivo-admin-border);
  --message-intake-ink: var(--mantivo-admin-ink);
  --message-intake-muted: var(--mantivo-admin-muted);
  --message-intake-primary: var(--mantivo-admin-primary);
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .ai-intake-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .form-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-fieldset {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  /* Message intake action bands touch layout 2026-10-21. */
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .ai-intake-hero,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .admin-section-heading {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .ai-intake-mode {
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-confidence {
    align-self: flex-start !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake #ai-intake-proposal .form-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake #ai-intake-proposal .form-actions > :where(.btn, button, a) {
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Email intake Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake {
  --email-intake-page: var(--mantivo-admin-page);
  --email-intake-surface: var(--mantivo-admin-surface);
  --email-intake-subtle: var(--mantivo-admin-subtle);
  --email-intake-border: var(--mantivo-admin-border);
  --email-intake-ink: var(--mantivo-admin-ink);
  --email-intake-muted: var(--mantivo-admin-muted);
  --email-intake-primary: var(--mantivo-admin-primary);
  background: var(--email-intake-page) !important;
  color: var(--email-intake-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .admin-main {
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-page {
  width: min(100%, 86rem) !important;
  margin-inline: auto !important;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 4rem !important;
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-page > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .admin-heading {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: .25rem 0 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--email-intake-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--email-intake-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .admin-heading h2 {
  max-width: 32ch !important;
  margin: 0 !important;
  color: var(--email-intake-ink) !important;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem) !important;
  line-height: 1.12 !important;
}

/* Email plan status tones 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-plan-status-badge {
  min-width: 8.5rem !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake :where(.email-plan-upgrade-panel, .email-connection-readiness, .ai-intake-grid) {
  min-width: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid var(--email-intake-border) !important;
  border-radius: .75rem !important;
  background: var(--email-intake-surface) !important;
  color: var(--email-intake-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-plan-upgrade-panel {
  border-block-start: .25rem solid var(--email-intake-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-connection-readiness {
  display: block !important;
  padding: .75rem 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--email-intake-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-connection-disclosure > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  min-height: 3rem !important;
  scroll-margin-top: 12rem !important;
  color: var(--email-intake-ink) !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-connection-disclosure > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-connection-disclosure > summary span:first-child {
  display: grid !important;
  gap: .2rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-connection-disclosure > summary small {
  color: var(--email-intake-muted) !important;
  font-size: .86rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-connection-disclosure__action::after {
  content: '+' !important;
  font-size: 1.4rem !important;
  line-height: 1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-connection-disclosure[open] .email-connection-disclosure__action::after {
  content: '\2212' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-connection-disclosure__body {
  display: grid !important;
  grid-template-columns: minmax(0, .9fr) minmax(18rem, 1.1fr) !important;
  gap: 1rem !important;
  align-items: stretch !important;
  padding: 1rem 0 .35rem !important;
  border-top: 1px solid var(--email-intake-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-connection-disclosure__body > div:first-child {
  display: grid !important;
  align-content: start !important;
  gap: .5rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-connection-steps {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .65rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake :where(.email-connection-step, .email-intake-check) {
  display: grid !important;
  gap: .3rem !important;
  min-width: 0 !important;
  padding: .9rem !important;
  border: 1px solid var(--email-intake-border) !important;
  border-radius: .625rem !important;
  background: var(--email-intake-subtle) !important;
  color: var(--email-intake-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-connection-step {
  padding: .6rem 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--email-intake-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-check {
  padding: .6rem 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--email-intake-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .ai-intake-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 1rem !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-source {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  min-width: 0 !important;
  width: min(100%, 70rem) !important;
  padding: 1.25rem !important;
  border: 1px solid var(--email-intake-border) !important;
  border-block-start: .25rem solid var(--email-intake-primary) !important;
  border-radius: .75rem !important;
  background: var(--email-intake-surface) !important;
  color: var(--email-intake-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .ai-intake-checks {
  width: min(100%, 70rem) !important;
}

/* Email intake form grouping 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-fieldset {
  display: grid !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 0 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--email-intake-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-fieldset--context {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-selected-customer-name {
  display: none !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-selected-customer-name:not([hidden]) {
    display: block !important;
    margin-top: .35rem !important;
    color: var(--email-intake-muted) !important;
    font-size: .8rem !important;
    font-weight: 400 !important;
    overflow-wrap: anywhere !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake [data-email-work-order-field][hidden] {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-fieldset > legend {
  float: none !important;
  width: auto !important;
  margin: 0 0 .65rem !important;
  padding: 0 !important;
  color: var(--email-intake-ink) !important;
  font-size: .86rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-fieldset > .full-span {
  grid-column: 1 / -1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-fixed-customer {
  display: grid !important;
  align-content: start !important;
  gap: .35rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-fixed-customer > span {
  color: var(--email-intake-ink) !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-fixed-customer > strong {
  display: flex !important;
  align-items: center !important;
  min-height: 2.75rem !important;
  padding: .5rem .75rem !important;
  border-bottom: 1px solid var(--email-intake-border) !important;
  color: var(--email-intake-ink) !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .form-intro,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .full-span {
  grid-column: 1 / -1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-check-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .admin-disclosure-summary {
  color: var(--email-intake-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .ai-intake-checks {
  padding: .75rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--email-intake-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .ai-intake-checks > .admin-disclosure-summary {
  padding: .75rem 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .ai-intake-checks .email-intake-checks__toggle {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 2.75rem !important;
  color: var(--email-intake-primary) !important;
  font-size: .9rem !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .ai-intake-checks .email-intake-checks__toggle > span {
  color: inherit !important;
  font: inherit !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .admin-disclosure-body {
  padding: 1rem !important;
  border-top: 1px solid var(--email-intake-border) !important;
}

/* Email intake disclosure state 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-checks__toggle-hide {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .ai-intake-checks[open] .email-intake-checks__toggle-show {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .ai-intake-checks[open] .email-intake-checks__toggle-hide {
  display: inline !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake :where(label) {
  display: grid !important;
  gap: .4rem !important;
  margin: 0 !important;
  color: var(--email-intake-ink) !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake :where(input, select, textarea) {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 2.75rem !important;
  border-color: var(--email-intake-border) !important;
  background: var(--email-intake-surface) !important;
  color: var(--email-intake-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake textarea {
  min-height: 11rem !important;
  resize: vertical !important;
  font-weight: 400 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .form-actions :where(.btn, button) {
  min-height: 2.9rem !important;
  white-space: normal !important;
  text-align: center !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-page :where(p, small, span, .form-help) {
  color: var(--email-intake-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake :where(a, button, summary, input, select, textarea):focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake {
  --email-intake-page: var(--mantivo-admin-page);
  --email-intake-surface: var(--mantivo-admin-surface);
  --email-intake-subtle: var(--mantivo-admin-subtle);
  --email-intake-border: var(--mantivo-admin-border);
  --email-intake-ink: var(--mantivo-admin-ink);
  --email-intake-muted: var(--mantivo-admin-muted);
  --email-intake-primary: var(--mantivo-admin-primary);
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-connection-disclosure__body,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .ai-intake-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-source,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-fieldset {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .admin-heading {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-plan-status-badge {
    align-self: flex-start !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-connection-steps {
    grid-template-columns: 1fr !important;
  }

  /* Email intake action bands touch layout 2026-10-21. */
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .form-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .form-actions > :where(.btn, button, a) {
    width: 100% !important;
  }
}

@media (max-width: 400px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .ai-intake-checks > .admin-disclosure-summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: .45rem .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .ai-intake-checks > .admin-disclosure-summary > span:first-child {
    display: grid !important;
    gap: .2rem !important;
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .ai-intake-checks > .admin-disclosure-summary .email-intake-checks__toggle {
    grid-column: 1 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* WhatsApp intake Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake {
  --whatsapp-intake-page: var(--mantivo-admin-page);
  --whatsapp-intake-surface: var(--mantivo-admin-surface);
  --whatsapp-intake-subtle: var(--mantivo-admin-subtle);
  --whatsapp-intake-border: var(--mantivo-admin-border);
  --whatsapp-intake-ink: var(--mantivo-admin-ink);
  --whatsapp-intake-muted: var(--mantivo-admin-muted);
  --whatsapp-intake-primary: var(--mantivo-admin-primary);
  background: var(--whatsapp-intake-page) !important;
  color: var(--whatsapp-intake-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .admin-main {
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .whatsapp-intake-page {
  width: min(100%, 86rem) !important;
  margin-inline: auto !important;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 4rem !important;
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .whatsapp-intake-page > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .admin-heading {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: 1.25rem 1.35rem !important;
  border: 1px solid var(--whatsapp-intake-border) !important;
  border-inline-start: .3rem solid var(--whatsapp-intake-primary) !important;
  border-radius: .75rem !important;
  background: var(--whatsapp-intake-surface) !important;
  color: var(--whatsapp-intake-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .admin-heading h2 {
  max-width: 32ch !important;
  margin: 0 !important;
  color: var(--whatsapp-intake-ink) !important;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem) !important;
  line-height: 1.12 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake :where(.whatsapp-plan-upgrade-panel, .whatsapp-connection-readiness, .ai-intake-grid) {
  min-width: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid var(--whatsapp-intake-border) !important;
  border-radius: .75rem !important;
  background: var(--whatsapp-intake-surface) !important;
  color: var(--whatsapp-intake-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .whatsapp-plan-upgrade-panel {
  border-block-start: .25rem solid var(--whatsapp-intake-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .whatsapp-connection-body {
  display: grid !important;
  grid-template-columns: minmax(0, .9fr) minmax(18rem, 1.1fr) !important;
  gap: 1rem !important;
  align-items: stretch !important;
  margin-top: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .whatsapp-connection-readiness {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .whatsapp-intake-page .admin-disclosure-summary > span {
  display: grid !important;
  gap: .15rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .whatsapp-connection-body > div:first-child {
  display: grid !important;
  align-content: center !important;
  gap: .5rem !important;
  min-width: 0 !important;
  padding: 1rem !important;
  border: 1px solid var(--whatsapp-intake-border) !important;
  border-radius: .625rem !important;
  background: var(--whatsapp-intake-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .whatsapp-connection-steps {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .65rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake :where(.whatsapp-connection-step, .whatsapp-intake-check) {
  display: grid !important;
  gap: .3rem !important;
  min-width: 0 !important;
  padding: .9rem !important;
  border: 1px solid var(--whatsapp-intake-border) !important;
  border-radius: .625rem !important;
  background: var(--whatsapp-intake-subtle) !important;
  color: var(--whatsapp-intake-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .ai-intake-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr) !important;
  gap: 1rem !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .whatsapp-intake-source {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  min-width: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid var(--whatsapp-intake-border) !important;
  border-block-start: .25rem solid var(--whatsapp-intake-primary) !important;
  border-radius: .75rem !important;
  background: var(--whatsapp-intake-surface) !important;
  color: var(--whatsapp-intake-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake :where(.form-intro, .full-span) {
  grid-column: 1 / -1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .whatsapp-intake-check-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .admin-disclosure-summary {
  color: var(--whatsapp-intake-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .admin-disclosure-body {
  padding: 1rem !important;
  border-top: 1px solid var(--whatsapp-intake-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake :where(label) {
  display: grid !important;
  gap: .4rem !important;
  margin: 0 !important;
  color: var(--whatsapp-intake-ink) !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake :where(input, select, textarea) {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 2.75rem !important;
  border-color: var(--whatsapp-intake-border) !important;
  background: var(--whatsapp-intake-surface) !important;
  color: var(--whatsapp-intake-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake textarea {
  min-height: 11rem !important;
  resize: vertical !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .form-actions :where(.btn, button) {
  min-height: 2.9rem !important;
  white-space: normal !important;
  text-align: center !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .whatsapp-intake-page :where(p, small, span:not(.status-badge), .form-help) {
  color: var(--whatsapp-intake-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake :where(a, button, summary, input, select, textarea):focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake {
  --whatsapp-intake-page: var(--mantivo-admin-page);
  --whatsapp-intake-surface: var(--mantivo-admin-surface);
  --whatsapp-intake-subtle: var(--mantivo-admin-subtle);
  --whatsapp-intake-border: var(--mantivo-admin-border);
  --whatsapp-intake-ink: var(--mantivo-admin-ink);
  --whatsapp-intake-muted: var(--mantivo-admin-muted);
  --whatsapp-intake-primary: var(--mantivo-admin-primary);
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .whatsapp-connection-body,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .ai-intake-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .whatsapp-intake-source {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .admin-heading {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .whatsapp-connection-steps {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 420px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .whatsapp-intake-page .admin-disclosure-summary {
    gap: .35rem !important;
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .whatsapp-intake-page .admin-disclosure-summary > span {
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .whatsapp-intake-page {
    padding-inline: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .admin-heading {
    padding: .65rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake :where(.whatsapp-connection-readiness, .whatsapp-intake-source) {
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake .whatsapp-connection-body > div:first-child {
    padding: .65rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-whatsapp-intake *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Dashboard light workspace contract 2026-10-11. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-main,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-content {
  background: transparent !important;
  color: var(--mantivo-admin-ink) !important;
}

/* Keep populated dashboard tables inside their scroll containers on narrow screens. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-content {
  grid-template-columns: minmax(0, 1fr) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-content > * {
  min-width: 0 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .table-wrap {
  overflow-x: auto !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-topbar,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.admin-heading, .admin-command-strip, .admin-panel, .metric-row article, .dashboard-next-action-panel, .autonomy-monitor-panel, .first-quote-guide, .activation-funnel-panel, .client-account-panel, .client-next-panel, .client-work-route-panel, .table-wrap, .admin-empty-state) {
  background: var(--mantivo-admin-surface) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.admin-heading h2, .admin-panel h3, .admin-command-strip h3, .dashboard-next-action-panel h3, .autonomy-monitor-panel h3, .first-quote-guide h3, .activation-funnel-panel h3, .client-account-panel h3, .client-next-panel h3, .client-work-route-panel h3, .metric-row strong, .metric-row dd) {
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.admin-heading p, .admin-panel p, .admin-command-strip p, .dashboard-next-action-panel p, .autonomy-monitor-panel p, .first-quote-guide p, .activation-funnel-panel p, .client-account-panel p, .client-next-panel p, .client-work-route-panel p, .metric-row span, .metric-row small, .table-wrap td) {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.admin-command-card, .autonomy-monitor-card, .activation-funnel-card, .admin-priority-card, .client-next-card, .client-work-route-card, .first-quote-steps article) {
  background: var(--mantivo-admin-subtle) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.admin-command-card, .autonomy-monitor-card, .activation-funnel-card, .admin-priority-card, .client-next-card, .client-work-route-card, .first-quote-steps article):hover,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.admin-command-card, .autonomy-monitor-card, .activation-funnel-card, .admin-priority-card, .client-next-card, .client-work-route-card, .first-quote-steps article):focus-visible {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-page) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.btn-outline, .btn-outline-primary) {
  color: var(--mantivo-admin-primary) !important;
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-surface) !important;
}

/* Dashboard decision label and monitor status alignment 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-command-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: start !important;
  min-width: 7.5rem !important;
  min-height: 1.8rem !important;
  padding: .3rem .65rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-monitor-status {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-width: 8.5rem !important;
  white-space: nowrap !important;
}

/* Dashboard decision label tones 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-card.command-level-high .dashboard-command-label {
  border-color: #fecaca !important;
  background: #fee2e2 !important;
  color: #991b1b !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-card.command-level-medium .dashboard-command-label {
  border-color: #fde68a !important;
  background: #fef3c7 !important;
  color: #92400e !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-card.command-level-ok .dashboard-command-label {
  border-color: #86efac !important;
  background: #dcfce7 !important;
  color: #166534 !important;
}

/* Dashboard account context fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-account-filter-fieldset {
  display: grid !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .8rem 1rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: .95rem 1rem 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-account-filter-fieldset > legend {
  float: none !important;
  width: auto !important;
  margin: 0 0 .1rem !important;
  padding: 0 .35rem !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .86rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-account-filter-fieldset > label {
  display: grid !important;
  gap: .35rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-account-filter-actions {
  display: flex !important;
  grid-column: 1 / -1 !important;
  justify-content: flex-end !important;
  gap: .5rem !important;
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-account-filter-fieldset {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-account-filter-actions {
    justify-content: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-account-filter-actions .btn {
    width: 100% !important;
  }
}

/* Dashboard global superadmin workspace 2026-10-17: one heading, then decisions. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-dashboard {
  display: grid;
  gap: 1rem;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-kpi-card {
  display: grid;
  gap: .35rem;
  min-width: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--mantivo-admin-border);
  border-radius: .75rem;
  background: var(--mantivo-admin-surface);
  color: var(--mantivo-admin-ink);
  text-decoration: none;
  box-shadow: 0 .25rem .8rem rgba(30, 58, 95, .05);
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-kpi-card:hover,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-kpi-card:focus-visible {
  border-color: var(--mantivo-admin-primary);
  background: var(--mantivo-admin-page);
  color: var(--mantivo-admin-ink);
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-kpi-card span,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-kpi-card small {
  color: var(--mantivo-admin-muted);
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-kpi-card span {
  font-size: .78rem;
  font-weight: 700;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-kpi-card strong {
  color: var(--mantivo-admin-ink);
  font-size: 1.55rem;
  line-height: 1.1;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-workspace-grid.is-clear {
  grid-template-columns: minmax(0, 1fr);
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-panel,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-actions-panel {
  min-width: 0;
  padding: .25rem 0 0;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.superadmin-attention-panel, .superadmin-actions-panel) > .section-heading-row {
  margin-bottom: .75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-panel > .section-heading-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: end !important;
  gap: .75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-log-link {
  color: var(--mantivo-admin-primary);
  font-weight: 700;
  white-space: nowrap;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-clear {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin: 0;
  color: var(--mantivo-admin-muted);
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-actions-panel > .section-heading-row {
  display: flex !important;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-card {
  display: grid;
  gap: .28rem;
  min-width: 0;
  padding: .85rem .9rem;
  border: 1px solid var(--mantivo-admin-border);
  border-left: .25rem solid var(--mantivo-admin-primary);
  border-radius: .6rem;
  background: var(--mantivo-admin-subtle);
  color: var(--mantivo-admin-ink);
  text-decoration: none;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-card.level-high {
  border-left-color: #b42318;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-card.level-medium {
  border-left-color: #a15c00;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-card:hover,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-card:focus-visible {
  border-color: var(--mantivo-admin-primary);
  background: var(--mantivo-admin-page);
  color: var(--mantivo-admin-ink);
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-card span {
  color: var(--mantivo-admin-primary);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-card strong,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-card small {
  min-width: 0;
  overflow-wrap: anywhere;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-card small {
  color: var(--mantivo-admin-muted);
  line-height: 1.4;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-card em {
  color: var(--mantivo-admin-primary);
  font-size: .8rem;
  font-style: normal;
  font-weight: 700;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-actions-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-actions-disclosure > summary {
  display: none;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-actions-list a {
  display: grid;
  gap: .2rem;
  padding: .8rem .9rem;
  border: 1px solid var(--mantivo-admin-border);
  border-radius: .6rem;
  background: var(--mantivo-admin-subtle);
  color: var(--mantivo-admin-ink);
  text-decoration: none;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-actions-list a:hover,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-actions-list a:focus-visible {
  border-color: var(--mantivo-admin-primary);
  background: var(--mantivo-admin-page);
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-actions-list small {
  color: var(--mantivo-admin-muted);
  line-height: 1.4;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-actions-list span {
  color: var(--mantivo-admin-primary);
  font-size: .8rem;
  font-weight: 700;
}

@media (max-width: 960px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-kpi-grid > .superadmin-kpi-card:only-child {
    grid-column: 1 / -1;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-workspace-grid {
    grid-template-columns: 1fr;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-actions-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.superadmin-attention-panel, .superadmin-actions-panel) > .section-heading-row {
    padding-inline: 1rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-actions-list {
    grid-template-columns: 1fr;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-actions-disclosure > summary {
    display: list-item;
    margin-bottom: .75rem;
    padding: .7rem .85rem;
    border: 1px solid var(--mantivo-admin-border);
    border-radius: .4rem;
    background: var(--mantivo-admin-subtle);
    color: var(--mantivo-admin-primary);
    cursor: pointer;
    font-weight: 700;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-actions-disclosure > summary:focus-visible {
    outline: .2rem solid var(--mantivo-admin-focus);
    outline-offset: .15rem;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-actions-disclosure:not([open]) > summary {
    margin-bottom: 0;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-kpi-grid,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-content {
    padding-inline: .75rem !important;
  }
}

[data-bs-theme="dark"],
[data-theme="dark"] {
  --mantivo-admin-primary: #6ea8fe;
  --mantivo-admin-primary-hover: #9ec5fe;
  --mantivo-admin-primary-contrast: #0f172a;
  --mantivo-admin-focus: #ffd43b;
  --mantivo-admin-ink: #f8fafc;
  --mantivo-admin-muted: #cbd5e1;
  --mantivo-admin-border: #334155;
  --mantivo-admin-surface: #111827;
  --mantivo-admin-subtle: #0f172a;
  --mantivo-admin-page: #07111f;
}

.sr-only,
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1080;
  transform: translateY(-150%);
  border-radius: .75rem;
  background: var(--mantivo-admin-ink);
  color: var(--mantivo-admin-surface);
  padding: .75rem 1rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: .2rem solid var(--mantivo-admin-focus);
  outline-offset: .15rem;
}

/* Admin mode separation 2026-10-11. */
html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner,
html body.admin-shell.mantivo-tabler-admin .admin-impersonation-banner {
  width: min(100% - 2rem, 96rem) !important;
  margin: .75rem auto 0 !important;
  padding: .85rem 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  border: 1px solid #b9cbe2 !important;
  border-radius: .75rem !important;
  background: #ffffff !important;
  color: #132238 !important;
  box-shadow: 0 .25rem 1rem rgba(15, 39, 72, .05) !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner > div {
  min-width: 0 !important;
  display: grid !important;
  gap: .2rem !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner__eyebrow,
html body.admin-shell.mantivo-tabler-admin .admin-impersonation-banner__eyebrow {
  color: #174a9c !important;
  font-size: .72rem !important;
  font-weight: 800 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner strong:not(.admin-operations-mode-banner__eyebrow),
html body.admin-shell.mantivo-tabler-admin .admin-impersonation-banner > span {
  color: #132238 !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner p {
  margin: 0 !important;
  color: #334b68 !important;
  line-height: 1.45 !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner.is-client-preview {
  border-color: #d6b46b !important;
  background: #fffaf0 !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner.is-global {
  margin-top: .5rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner.is-global > div {
  display: block !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner.is-global :where(strong, p) {
  display: none !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner.is-client-preview .admin-operations-mode-banner__eyebrow {
  color: #8a5600 !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-impersonation-banner {
  border-color: #b45309 !important;
  background: #fff7ed !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-impersonation-banner__eyebrow {
  display: block !important;
  margin-bottom: .2rem !important;
  color: #9a3412 !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner :where(.btn, a),
html body.admin-shell.mantivo-tabler-admin .admin-impersonation-banner :where(.btn, button) {
  min-height: 2.75rem !important;
  flex: 0 0 auto !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner__action-compact {
  display: none !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner {
  border-color: #49617f !important;
  background: #ffffff !important;
  color: #132238 !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner.is-global {
  background: transparent !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner.is-client-preview,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner.is-client-preview {
  border-color: #d6b46b !important;
  background: #fffaf0 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-impersonation-banner,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-impersonation-banner {
  border-color: #b45309 !important;
  background: #fff7ed !important;
}

@media (max-width: 720px) {
  html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner,
  html body.admin-shell.mantivo-tabler-admin .admin-impersonation-banner {
    width: min(100% - 1.5rem, 96rem) !important;
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner :where(.btn, a),
  html body.admin-shell.mantivo-tabler-admin .admin-impersonation-banner :where(.btn, button) {
    width: 100% !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner.is-global {
    align-items: center !important;
    flex-direction: row !important;
    gap: .5rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner.is-global .admin-operations-mode-banner__action-full {
    display: none !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner.is-global .admin-operations-mode-banner__action-compact {
    display: inline !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner.is-global > a {
    width: auto !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner.is-client-preview {
    padding: .65rem .75rem !important;
    gap: .5rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner.is-client-preview p {
    display: none !important;
  }
}

.mantivo-tabler-admin .context-inline-help {
  display: inline-flex !important;
  width: max(44px, 1.85rem) !important;
  height: max(44px, 1.85rem) !important;
  min-width: max(44px, 1.85rem) !important;
  min-height: max(44px, 1.85rem) !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: .35rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 50% !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-primary) !important;
  font-size: .9rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  vertical-align: .12em !important;
}

.mantivo-tabler-admin .context-inline-help:hover,
.mantivo-tabler-admin .context-inline-help:focus-visible {
  border-color: var(--mantivo-admin-primary) !important;
  background: #eaf2ff !important;
  color: var(--mantivo-admin-primary-hover) !important;
}

.mantivo-tabler-admin .context-inline-help:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

.mantivo-tabler-admin .theme-switch--icon {
  width: 2.75rem !important;
  height: 2.75rem !important;
  min-width: 2.75rem !important;
  min-height: 2.75rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .9rem !important;
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: none !important;
}

.mantivo-tabler-admin .theme-switch--icon:hover,
.mantivo-tabler-admin .theme-switch--icon:focus-visible {
  border-color: #0b47b7 !important;
  background: #eaf1ff !important;
  color: #0b47b7 !important;
}

.mantivo-tabler-admin .theme-switch__icon,
.mantivo-tabler-admin .theme-switch__icon svg {
  width: 1.1rem !important;
  height: 1.1rem !important;
  display: block !important;
}

.mantivo-tabler-auth {
  min-height: 100vh;
  --mantivo-auth-hero: #0b47b7;
  --mantivo-auth-hero-ink: #ffffff;
  background: var(--mantivo-admin-page);
  color: var(--mantivo-admin-ink);
  font-family: Manrope, var(--tblr-font-sans-serif);
}

html[data-theme="dark"] .mantivo-tabler-auth {
  --mantivo-auth-hero: #37658f;
  --mantivo-auth-hero-ink: #ffffff;
  --mantivo-admin-primary: #a9d0ff;
  --mantivo-admin-primary-hover: #d0e6ff;
  --mantivo-admin-focus: #ffd166;
  --mantivo-admin-ink: #f8fbff;
  --mantivo-admin-muted: #edf4fb;
  --mantivo-admin-border: #a1b4c7;
  --mantivo-admin-surface: #385169;
  --mantivo-admin-subtle: #46617a;
  --mantivo-admin-page: #24364a;
  background: var(--mantivo-admin-page);
  color: var(--mantivo-admin-ink);
}

.mantivo-tabler-auth :focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus);
  outline-offset: .2rem;
}

.mantivo-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}

.mantivo-auth-shell {
  width: min(100%, 78rem);
  margin: 0 auto;
}

.mantivo-auth-locale {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.mantivo-auth-locale .locale-switch {
  display: inline-flex;
  gap: .25rem;
  padding: .25rem;
  border: 1px solid var(--mantivo-admin-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, .08);
}

.mantivo-auth-locale a {
  min-width: 2.5rem;
  min-height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--mantivo-admin-muted);
  font-weight: 800;
  text-decoration: none;
}

.mantivo-auth-locale a:hover,
.mantivo-auth-locale a:focus-visible,
.mantivo-auth-locale a.is-active {
  background: var(--mantivo-admin-primary);
  color: #fff;
}

.mantivo-auth-card {
  overflow: hidden;
  border: 1px solid #c8d4e2;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 1.25rem 2.75rem rgba(15, 39, 72, .12);
}

.mantivo-auth-hero {
  position: relative;
  isolation: isolate;
  min-height: 100%;
  min-height: 38rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  background: #e8f0fb;
  color: #102033;
}

.mantivo-auth-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(232, 240, 251, .9);
}

/* Auth hero keeps a solid readable overlay 2026-10-14. */

.mantivo-auth-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  opacity: .22;
}

.mantivo-auth-brand {
  display: flex;
  align-items: center;
  gap: .875rem;
}

.mantivo-auth-brand img {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: #fff;
  padding: .35rem;
}

.mantivo-auth-brand h1 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.1;
  color: #102033;
}

.mantivo-auth-brand p,
.mantivo-auth-copy p {
  margin: 0;
  color: #334e6f;
}

.mantivo-auth-copy .badge {
  margin-bottom: 1rem;
  border-color: #7b9bc2;
  background: rgba(255, 255, 255, .72);
  color: #123f7a;
}

.mantivo-auth-copy h2 {
  max-width: 16ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: 0;
  color: #102033;
}

.mantivo-auth-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 2rem;
}

.mantivo-auth-proof span {
  min-height: 4.5rem;
  display: flex;
  align-items: end;
  border: 1px solid #a8bdd4;
  border-radius: 1rem;
  background: rgba(255, 255, 255, .78);
  padding: .875rem;
  font-size: .82rem;
  font-weight: 800;
  color: #173a63;
}

.mantivo-auth-protection-note {
  margin: 2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #a8bdd4;
  color: #334e6f;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.5;
}

.mantivo-auth-form-side {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: #fff;
}

.mantivo-auth-form-side .text-secondary {
  color: var(--mantivo-admin-muted) !important;
}

.mantivo-auth-form-side h2,
.mantivo-auth-form-side .card-title {
  color: var(--mantivo-admin-ink);
}

.mantivo-auth-entry {
  border-color: #d2dce8;
  border-radius: var(--mantivo-admin-radius);
  background: #f7f9fc;
}

.mantivo-auth-entry .form-label {
  color: var(--mantivo-admin-ink);
  font-weight: 800;
}

.mantivo-auth-entry .form-control {
  min-height: 3.125rem;
  border-color: #aebed0;
  border-radius: .85rem;
  color: #102033;
  background: #fff;
}

.mantivo-auth-entry .form-control:focus {
  border-color: var(--mantivo-admin-primary);
  box-shadow: 0 0 0 .2rem rgba(11, 94, 215, .18);
}

.mantivo-auth-submit {
  min-height: 3.125rem;
  border-radius: .85rem;
  background: #0b5ed7;
  border-color: #0b5ed7;
  font-weight: 800;
}

.mantivo-auth-submit:hover,
.mantivo-auth-submit:focus-visible {
  background: var(--mantivo-admin-primary-hover);
  border-color: var(--mantivo-admin-primary-hover);
}

.mantivo-auth-state {
  border-radius: var(--mantivo-admin-radius);
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-state {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: .25rem !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-form-side .mantivo-auth-state h2 {
  margin: 0 !important;
  font-size: 1.1rem !important;
  line-height: 1.3 !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-state p {
  margin: 0 !important;
}

.mantivo-auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.mantivo-auth-links a,
.mantivo-auth-inline-link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .85rem;
  color: var(--mantivo-admin-primary);
  font-weight: 800;
  text-decoration: none;
}

.mantivo-auth-links a {
  border: 1px solid var(--mantivo-admin-border);
  background: var(--mantivo-admin-surface);
  padding: .625rem .875rem;
}

.mantivo-auth-links a:hover,
.mantivo-auth-links a:focus-visible,
.mantivo-auth-inline-link:hover,
.mantivo-auth-inline-link:focus-visible {
  color: var(--mantivo-admin-primary-hover);
  text-decoration: underline;
}

.mantivo-auth-password-toggle {
  min-width: 2.5rem;
  min-height: 2.5rem;
  border: 1px solid var(--mantivo-admin-border);
  border-radius: .85rem;
  background: var(--mantivo-admin-surface);
  color: var(--mantivo-admin-primary);
}

.mantivo-auth-password-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

html[data-theme="dark"] .mantivo-auth-card,
html[data-theme="dark"] .mantivo-auth-entry,
html[data-theme="dark"] .mantivo-auth-locale .locale-switch,
html[data-theme="dark"] .mantivo-auth-links a,
html[data-theme="dark"] .mantivo-auth-password-toggle {
  background: #fff;
  border-color: #c8d4e2;
}

html[data-theme="dark"] .mantivo-tabler-auth .form-control {
  background: #fff;
  border-color: #aebed0;
  color: #102033;
}

html[data-theme="dark"] .mantivo-tabler-auth .mantivo-auth-form-side h2,
html[data-theme="dark"] .mantivo-tabler-auth .mantivo-auth-form-side .card-title,
html[data-theme="dark"] .mantivo-tabler-auth .mantivo-auth-entry .form-label,
html[data-theme="dark"] .mantivo-tabler-auth .mantivo-auth-brand h1,
html[data-theme="dark"] .mantivo-tabler-auth .mantivo-auth-copy h2 {
  color: #102033;
}

html[data-theme="dark"] .mantivo-tabler-auth .mantivo-auth-form-side .text-secondary,
html[data-theme="dark"] .mantivo-tabler-auth .mantivo-auth-brand p,
html[data-theme="dark"] .mantivo-tabler-auth .mantivo-auth-copy p {
  color: #334e6f !important;
}

@media (max-width: 767.98px) {
  .mantivo-auth-page {
    align-items: stretch;
    padding: .75rem;
  }

  .mantivo-auth-locale {
    justify-content: center;
  }

  .mantivo-auth-hero,
  .mantivo-auth-form-side {
    padding: 1.25rem;
  }

  .mantivo-auth-hero {
    min-height: 25rem;
  }

  .mantivo-auth-copy h2 {
    max-width: 100%;
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .mantivo-auth-proof {
    grid-template-columns: 1fr;
  }
}

/* Dashboard secondary action hierarchy 2026-10-13. */
/* Dashboard secondary actions stay in the heading flow 2026-10-14. */
/* Dashboard frequent actions disclosure 2026-10-14. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-frequent-actions {
  display: block !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-frequent-actions-summary {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: .75rem !important;
  align-items: center !important;
  cursor: pointer !important;
  list-style: none !important;
  padding: .15rem !important;
  min-height: 2.75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-frequent-actions-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-frequent-actions-summary::after {
  content: '+' !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: grid !important;
  place-items: center !important;
  width: 2rem !important;
  height: 2rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 50% !important;
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-primary) !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-frequent-actions[open] .dashboard-frequent-actions-summary::after {
  content: '−' !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-frequent-actions-summary:focus-visible {
  outline: 3px solid var(--mantivo-admin-focus) !important;
  outline-offset: 3px !important;
  border-radius: .5rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-frequent-actions-heading {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-frequent-actions > .admin-actions {
  margin-top: 1rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
}

@media (max-width: 600px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-frequent-actions-summary {
    grid-template-columns: minmax(0, 1fr) 2rem !important;
  }
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-actions {
  position: relative !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-actions > summary {
  list-style: none !important;
  cursor: pointer !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-actions > summary::-webkit-details-marker {
  display: none !important;
}

/* Dashboard secondary action disclosure state 2026-10-21. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-actions__toggle-hide {
  display: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-actions[open] .dashboard-secondary-actions__toggle-show {
  display: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-actions[open] .dashboard-secondary-actions__toggle-hide {
  display: inline !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-actions[open] > summary {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-primary-hover) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-actions-panel {
  position: static !important;
  display: grid !important;
  gap: .35rem !important;
  min-width: 0 !important;
  margin-top: .4rem !important;
  padding: .5rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 .5rem 1.25rem rgba(15, 23, 42, .12) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-actions-panel .btn {
  width: 100% !important;
  justify-content: flex-start !important;
}

/* Users sensitive action hierarchy 2026-10-13. */
/* Users sensitive actions stay inside each table row 2026-10-14. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-sensitive-actions {
  position: relative !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-sensitive-actions > summary {
  list-style: none !important;
  cursor: pointer !important;
  min-height: 2.75rem !important;
  padding: .55rem .75rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .6rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: .875rem !important;
  font-weight: 700 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-sensitive-actions > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-sensitive-actions > summary:hover,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-sensitive-actions > summary:focus-visible,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-sensitive-actions[open] > summary {
  border-color: var(--mantivo-admin-primary) !important;
  color: var(--mantivo-admin-primary-hover) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-sensitive-actions-panel {
  position: static !important;
  display: grid !important;
  gap: .35rem !important;
  min-width: 0 !important;
  margin-top: .35rem !important;
  padding: .5rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 .5rem 1.25rem rgba(15, 23, 42, .12) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-sensitive-actions-panel form,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-sensitive-actions-panel button {
  width: 100% !important;
}

@media (max-width: 900px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-sensitive-actions-panel {
    min-width: 0 !important;
  }
}

@media (max-width: 680px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-actions,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-actions-panel {
    width: 100% !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-actions-panel {
    min-width: 0 !important;
  }
}

/* Auth login surface refinement 2026-10-15. */
html body.mantivo-tabler-auth #auth-main .mantivo-auth-card {
  border-color: var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 1rem 2.25rem rgba(15, 39, 72, .1) !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-hero {
  background: var(--mantivo-auth-hero) !important;
  color: var(--mantivo-auth-hero-ink) !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-hero::before {
  background: rgba(7, 17, 31, .36) !important;
}

html body.mantivo-tabler-auth #auth-main :where(.mantivo-auth-brand h1, .mantivo-auth-brand p, .mantivo-auth-copy h2, .mantivo-auth-copy p:not(.badge), .mantivo-auth-proof span, .mantivo-auth-protection-note) {
  color: var(--mantivo-auth-hero-ink) !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-form-side {
  background: var(--mantivo-admin-surface) !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-entry {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-entry-form.p-4 {
  padding: 0 !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-entry .card-body {
  padding: clamp(1.15rem, 2.5vw, 1.6rem) !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-entry .form-control {
  border-color: var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
}

html:not([data-theme="dark"]) body.mantivo-tabler-auth #auth-main .mantivo-auth-entry .form-control::placeholder {
  color: #52647a !important;
  opacity: 1 !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-links {
  border-top-color: var(--mantivo-admin-border) !important;
}

/* Auth login composition: one final Tabler contract, without stacked overrides. */
html body.mantivo-tabler-auth #auth-main .mantivo-auth-page {
  padding: clamp(1rem, 3vw, 2.5rem) !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-shell {
  width: min(100%, 72rem) !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-locale {
  margin-bottom: .75rem !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-card {
  overflow: hidden !important;
  border-radius: 1rem !important;
  box-shadow: 0 1rem 2.25rem rgba(15, 39, 72, .1) !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-hero {
  min-height: 31rem !important;
  padding: clamp(1.5rem, 3.5vw, 3rem) !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-copy h2 {
  max-width: 17ch !important;
  margin-bottom: .9rem !important;
  font-size: clamp(2rem, 3vw, 2.75rem) !important;
  line-height: 1.08 !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-copy p:not(.badge),
html body.mantivo-tabler-auth #auth-main .mantivo-auth-brand p {
  max-width: 38rem !important;
  line-height: 1.55 !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-proof {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .625rem !important;
  margin-top: 1.5rem !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-proof span {
  flex: 1 1 0 !important;
  min-width: max-content !important;
  min-height: 4rem !important;
  border-radius: .75rem !important;
  border-color: rgba(255, 255, 255, .55) !important;
  background: rgba(7, 17, 31, .78) !important;
  padding: .75rem !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-form-side {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: clamp(1.5rem, 3.5vw, 3rem) !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-form-side > * {
  width: min(100%, 30rem) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-form-side > .mb-4 {
  margin-bottom: 1.5rem !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-login-fieldset {
  display: grid !important;
  gap: .65rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-login-fieldset .form-control.mt-2 {
  margin-top: 0 !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-recovery-fieldset {
  display: grid !important;
  gap: .65rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-recovery-fieldset .form-label {
  margin-bottom: 0 !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-form-side h2 {
  margin-bottom: .5rem !important;
  font-size: clamp(1.65rem, 2.2vw, 2.15rem) !important;
  line-height: 1.15 !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-entry .card-body {
  padding: clamp(1.15rem, 2.5vw, 1.6rem) !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-entry .form-control,
html body.mantivo-tabler-auth #auth-main .mantivo-auth-submit {
  min-height: 3rem !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-entry .form-control,
html body.mantivo-tabler-auth #auth-main .mantivo-auth-submit,
html body.mantivo-tabler-auth #auth-main .mantivo-auth-links a {
  border-radius: .65rem !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-inline-link,
html body.mantivo-tabler-auth #auth-main .mantivo-auth-links a,
html body.mantivo-tabler-auth #auth-main .mantivo-auth-password-toggle,
html body.mantivo-tabler-auth #auth-main .mantivo-auth-locale a:not(.is-active) {
  color: var(--mantivo-admin-primary) !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-inline-link:hover,
html body.mantivo-tabler-auth #auth-main .mantivo-auth-inline-link:focus-visible,
html body.mantivo-tabler-auth #auth-main .mantivo-auth-links a:hover,
html body.mantivo-tabler-auth #auth-main .mantivo-auth-links a:focus-visible {
  color: var(--mantivo-admin-primary-hover) !important;
}

html body.mantivo-tabler-auth #auth-main .mantivo-auth-locale a.is-active,
html body.mantivo-tabler-auth #auth-main .mantivo-auth-locale a:focus-visible {
  background: var(--mantivo-admin-primary) !important;
  color: #ffffff !important;
}

@media (max-width: 767.98px) {
  html body.mantivo-tabler-auth #auth-main .mantivo-auth-page {
    padding: .75rem !important;
  }

  html body.mantivo-tabler-auth #auth-main .mantivo-auth-hero {
    min-height: 22rem !important;
  }

  html body.mantivo-tabler-auth #auth-main .mantivo-auth-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  html body.mantivo-tabler-auth #auth-main .mantivo-auth-proof {
    grid-template-columns: 1fr !important;
  }
}

html[data-theme="dark"] body.mantivo-tabler-auth #auth-main .mantivo-auth-card,
html[data-theme="dark"] body.mantivo-tabler-auth #auth-main .mantivo-auth-form-side,
html[data-theme="dark"] body.mantivo-tabler-auth #auth-main .mantivo-auth-entry {
  background: var(--mantivo-admin-surface) !important;
  border-color: var(--mantivo-admin-border) !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth #auth-main .mantivo-auth-entry .form-control {
  background: var(--mantivo-admin-subtle) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

/* Keep the login form within the first mobile viewport. */
@media (max-width: 767.98px) {
  html body.mantivo-tabler-auth #auth-main .mantivo-auth-hero {
    min-height: 13rem !important;
    gap: 1.25rem !important;
    padding: 1.25rem !important;
  }

  html body.mantivo-tabler-auth #auth-main .mantivo-auth-copy h2 {
    max-width: 24ch !important;
    margin-bottom: .4rem !important;
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
  }

  html body.mantivo-tabler-auth #auth-main .mantivo-auth-copy p:not(.badge) {
    font-size: .875rem !important;
  }

  html body.mantivo-tabler-auth #auth-main .mantivo-auth-proof {
    display: none !important;
  }

  html body.mantivo-tabler-auth #auth-main .mantivo-auth-entry {
    border: 0 !important;
    background: transparent !important;
  }

  html body.mantivo-tabler-auth #auth-main .mantivo-auth-entry-form.p-4 {
    padding: 0 !important;
  }
}

@media (max-width: 480px) {
  html body.mantivo-tabler-auth #auth-main .mantivo-auth-hero {
    min-height: 0 !important;
    gap: 0 !important;
    padding: 1rem 1.25rem !important;
  }

  html body.mantivo-tabler-auth #auth-main .mantivo-auth-copy {
    display: none !important;
  }
}

@media (max-width: 480px) {
  html body.mantivo-tabler-auth #auth-main .mantivo-auth-page {
    padding: 12px !important;
  }

  html body.mantivo-tabler-auth #auth-main .mantivo-auth-hero,
  html body.mantivo-tabler-auth #auth-main .mantivo-auth-form-side {
    padding: 16px !important;
  }

  html body.mantivo-tabler-auth #auth-main .mantivo-auth-form-side {
    padding-inline: 12px !important;
  }

  html body.mantivo-tabler-auth #auth-main .mantivo-auth-brand {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  html body.mantivo-tabler-auth #auth-main .mantivo-auth-brand img {
    flex: none !important;
    width: 48px !important;
    height: 48px !important;
  }

  html body.mantivo-tabler-auth #auth-main .mantivo-auth-brand > div {
    flex: 0 0 auto !important;
    max-width: 100% !important;
  }

  html body.mantivo-tabler-auth #auth-main .mantivo-auth-login-fieldset {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.mantivo-tabler-auth #auth-main .mantivo-auth-login-fieldset > .d-flex {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px !important;
    align-items: center !important;
    gap: 8px !important;
  }

  html body.mantivo-tabler-auth #auth-main .mantivo-auth-login-fieldset .mantivo-auth-password-toggle {
    width: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  html body.mantivo-tabler-auth #auth-main .mantivo-auth-login-fieldset .mantivo-auth-password-toggle svg {
    width: 24px !important;
    height: 24px !important;
  }

  html body.mantivo-tabler-auth #auth-main #password-help > .p-4,
  html body.mantivo-tabler-auth #auth-main #password-help > .mantivo-auth-entry-form.px-4 {
    padding-inline: 12px !important;
  }

  html body.mantivo-tabler-auth #auth-main #password-help .mantivo-auth-submit {
    white-space: normal !important;
  }

  html body.mantivo-tabler-auth #auth-main #auth-login-title,
  html body.mantivo-tabler-auth #auth-main #password-help-title {
    font-size: min(1.65rem, 38px) !important;
  }
}

/* Password reset Tabler surface refinement 2026-10-15. */
html body.mantivo-tabler-auth #reset-main .mantivo-auth-form-side {
  background: var(--mantivo-admin-surface) !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-entry {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-entry-form.p-4 {
  padding: 0 !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-entry .card-body {
  display: grid !important;
  gap: .65rem !important;
  padding: clamp(1.15rem, 2.5vw, 1.6rem) !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-entry .form-control {
  border-color: var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-entry .form-control:focus {
  border-color: var(--mantivo-admin-primary) !important;
  box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--mantivo-admin-primary) 24%, transparent) !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-state {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: .45rem !important;
  margin-bottom: 1rem !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-state h2 {
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1.3 !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-state.alert-success :is(p, .small) {
  color: #146a2c !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-state.alert-danger :is(p, .small) {
  color: #a21d2b !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-state.alert-danger a {
  color: #075aa6 !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-state.alert-success .mantivo-auth-success-cta,
html body.mantivo-tabler-auth #reset-main .mantivo-auth-state.alert-danger .mantivo-auth-expired-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 3rem !important;
  margin-top: .35rem !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth #reset-main {
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth #reset-main .mantivo-auth-form-side {
  background: var(--mantivo-admin-surface) !important;
  border-color: var(--mantivo-admin-border) !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth #reset-main .mantivo-auth-entry .form-control {
  background: var(--mantivo-admin-subtle) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

/* Password reset composition: same compact Tabler contract as login. */
html body.mantivo-tabler-auth #reset-main {
  padding: clamp(1rem, 3vw, 2.5rem) !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-shell {
  width: min(100%, 72rem) !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-card {
  overflow: hidden !important;
  border-radius: 1rem !important;
  box-shadow: 0 1rem 2.25rem rgba(15, 39, 72, .1) !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-hero {
  min-height: 31rem !important;
  padding: clamp(1.5rem, 3.5vw, 3rem) !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-form-side {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: clamp(1.5rem, 3.5vw, 3rem) !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-form-side > * {
  width: min(100%, 30rem) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

/* Password reset fieldset 2026-10-21. */
html body.mantivo-tabler-auth #reset-main .mantivo-auth-password-fieldset {
  display: grid !important;
  gap: .75rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-password-fieldset .form-control {
  margin-top: 0 !important;
}

@media (max-width: 767.98px) {
  html body.mantivo-tabler-auth #reset-main {
    padding: .75rem !important;
  }

  html body.mantivo-tabler-auth #reset-main .mantivo-auth-hero {
    min-height: 22rem !important;
  }
}

/* Password reset shares the readable login hero. */
html body.mantivo-tabler-auth :where(#auth-main, #reset-main) .mantivo-auth-copy .badge {
  border-color: rgba(255, 255, 255, .55) !important;
  background: rgba(7, 17, 31, .65) !important;
  color: #ffffff !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-hero {
  background: var(--mantivo-auth-hero) !important;
  color: var(--mantivo-auth-hero-ink) !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-hero::before {
  background: rgba(7, 17, 31, .36) !important;
}

html body.mantivo-tabler-auth #reset-main :where(.mantivo-auth-brand h1, .mantivo-auth-brand p, .mantivo-auth-copy h2, .mantivo-auth-copy p:not(.badge), .mantivo-auth-protection-note) {
  color: var(--mantivo-auth-hero-ink) !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-protection-note {
  border-top-color: rgba(255, 255, 255, .45) !important;
}

@media (max-width: 767.98px) {
  html body.mantivo-tabler-auth #reset-main {
    justify-content: flex-start !important;
  }

  html body.mantivo-tabler-auth #reset-main .mantivo-auth-hero {
    min-height: 15rem !important;
    gap: .75rem !important;
    padding: 1.25rem !important;
  }

  html body.mantivo-tabler-auth #reset-main .mantivo-auth-copy h2 {
    max-width: 24ch !important;
    margin-bottom: .4rem !important;
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
  }

  html body.mantivo-tabler-auth #reset-main .mantivo-auth-copy p:not(.badge) {
    font-size: .875rem !important;
  }

  html body.mantivo-tabler-auth #reset-main .mantivo-auth-protection-note {
    margin: 0 !important;
    padding-top: .5rem !important;
  }
}

@media (max-width: 480px) {
  html body.mantivo-tabler-auth #reset-main .mantivo-auth-hero {
    min-height: 0 !important;
    gap: .5rem !important;
    padding: 1rem 1.25rem !important;
  }

  html body.mantivo-tabler-auth #reset-main .mantivo-auth-copy {
    display: none !important;
  }
}

@media (max-width: 480px) {
  html body.mantivo-tabler-auth #reset-main {
    padding: 12px !important;
  }

  html body.mantivo-tabler-auth #reset-main .mantivo-auth-hero,
  html body.mantivo-tabler-auth #reset-main .mantivo-auth-form-side {
    padding: 16px !important;
  }

  html body.mantivo-tabler-auth #reset-main .mantivo-auth-brand {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  html body.mantivo-tabler-auth #reset-main .mantivo-auth-brand img {
    flex: none !important;
    width: 48px !important;
    height: 48px !important;
  }

  html body.mantivo-tabler-auth #reset-main .mantivo-auth-brand > div {
    flex: 0 0 auto !important;
    max-width: 100% !important;
  }

  html body.mantivo-tabler-auth #reset-main .mantivo-auth-password-fieldset {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.mantivo-tabler-auth #reset-main .mantivo-auth-password-fieldset > .d-flex {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px !important;
    align-items: center !important;
    gap: 8px !important;
  }

  html body.mantivo-tabler-auth #reset-main .mantivo-auth-password-fieldset .mantivo-auth-password-toggle {
    width: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  html body.mantivo-tabler-auth #reset-main .mantivo-auth-password-fieldset .mantivo-auth-password-toggle svg {
    width: 24px !important;
    height: 24px !important;
  }

  html body.mantivo-tabler-auth #reset-main .mantivo-auth-submit {
    white-space: normal !important;
  }
}

@media (min-width: 481px) and (max-width: 991.98px) {
  html body.mantivo-tabler-auth :is(#auth-main, #reset-main) {
    align-items: stretch !important;
    padding: 1rem !important;
  }

  html body.mantivo-tabler-auth :is(#auth-main, #reset-main) .mantivo-auth-hero {
    min-height: 0 !important;
    gap: .5rem !important;
    padding: 1.25rem 1.5rem !important;
  }

  html body.mantivo-tabler-auth :is(#auth-main, #reset-main) .mantivo-auth-copy,
  html body.mantivo-tabler-auth #auth-main .mantivo-auth-proof {
    display: none !important;
  }

  html body.mantivo-tabler-auth :is(#auth-main, #reset-main) .mantivo-auth-form-side {
    padding: 1.25rem 1.5rem !important;
  }

  html body.mantivo-tabler-auth #reset-main .mantivo-auth-protection-note {
    margin: 0 !important;
    padding: .5rem 0 0 !important;
  }
}

html[data-theme="dark"] body.mantivo-tabler-auth :is(#auth-main, #reset-main) .mantivo-auth-form-side :is(h2, .form-label, legend) {
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth :is(#auth-main, #reset-main) .mantivo-auth-form-side :is(.text-secondary, .auth-field-hint) {
  color: var(--mantivo-admin-muted) !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth :is(#auth-main, #reset-main) .mantivo-auth-form-side .text-primary {
  color: #d0e6ff !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth :is(#auth-main, #reset-main) .mantivo-auth-entry .form-control::placeholder {
  color: #d0e6ff !important;
  opacity: 1 !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth #auth-main .mantivo-auth-proof span {
  background: rgba(7, 17, 31, .7) !important;
  border-color: rgba(255, 255, 255, .55) !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth :is(#auth-main, #reset-main) .mantivo-auth-locale .locale-switch,
html[data-theme="dark"] body.mantivo-tabler-auth :is(#auth-main, #reset-main) :is(.mantivo-auth-links a, .mantivo-auth-password-toggle) {
  background: var(--mantivo-admin-surface) !important;
  border-color: var(--mantivo-admin-border) !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth :is(#auth-main, #reset-main) .mantivo-auth-locale a:not(.is-active) {
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth :is(#auth-main, #reset-main) .mantivo-auth-locale a.is-active,
html[data-theme="dark"] body.mantivo-tabler-auth :is(#auth-main, #reset-main) .mantivo-auth-locale a:focus-visible {
  background: #0b47b7 !important;
  color: #ffffff !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth :is(#auth-main, #reset-main) .mantivo-auth-state.alert-danger {
  background: #513a43 !important;
  border-color: #b97c89 !important;
  color: #ffd0d6 !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth :is(#auth-main, #reset-main) .mantivo-auth-state.alert-danger :is(p, .small) {
  color: #ffd0d6 !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth #reset-main .mantivo-auth-state.alert-danger a {
  color: #cde6ff !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth :is(#auth-main, #reset-main) .mantivo-auth-state.alert-success {
  background: #284d44 !important;
  border-color: #80c4a0 !important;
  color: #dcffec !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth :is(#auth-main, #reset-main) .mantivo-auth-state.alert-success :is(p, .small) {
  color: #dcffec !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth #reset-main .mantivo-auth-state.alert-success a {
  color: #cde6ff !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth #reset-main .mantivo-auth-state.alert-success .mantivo-auth-success-cta,
html[data-theme="dark"] body.mantivo-tabler-auth #reset-main .mantivo-auth-state.alert-danger .mantivo-auth-expired-cta {
  color: #ffffff !important;
}

html body.mantivo-tabler-auth #reset-main .mantivo-auth-state.alert-danger.mantivo-auth-expired-state {
  padding: .5rem 0 .5rem .75rem !important;
  border: 0 !important;
  border-left: 3px solid #a21d2b !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth #reset-main .mantivo-auth-state.alert-danger.mantivo-auth-expired-state {
  border-left-color: #b97c89 !important;
  background: var(--mantivo-admin-surface) !important;
}

html[data-theme="dark"] body.mantivo-tabler-auth :is(#auth-main, #reset-main) .mantivo-auth-submit:is(:hover, :focus-visible) {
  background: #0b47b7 !important;
  border-color: #0b47b7 !important;
  color: #ffffff !important;
}

/* Dashboard/admin Tabler migration block 2026-10-08. */
.mantivo-tabler-admin {
  --mantivo-admin-primary: #155eef;
  --mantivo-admin-primary-hover: #0f49bc;
  --mantivo-admin-navy: #0f2748;
  --mantivo-admin-ink: #102033;
  --mantivo-admin-muted: #52657a;
  --mantivo-admin-border: #d5e1ef;
  --mantivo-admin-surface: #ffffff;
  --mantivo-admin-page: #f4f6f8;
  min-height: 100vh;
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
  font-family: Manrope, var(--tblr-font-sans-serif);
}

.mantivo-tabler-admin .admin-topbar {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1040 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: .9rem 1.25rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 .75rem 2rem rgba(15, 39, 72, .08) !important;
  backdrop-filter: blur(16px);
}

.mantivo-tabler-admin .brand-mini {
  display: inline-flex !important;
  align-items: center !important;
  gap: .7rem !important;
  min-width: 16rem !important;
  color: var(--mantivo-admin-ink) !important;
}

.mantivo-tabler-admin .brand-mark {
  flex: 0 0 auto !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  max-width: 2.5rem !important;
  max-height: 2.5rem !important;
  object-fit: contain !important;
  border-radius: .75rem !important;
  background: #ffffff !important;
  box-shadow: inset 0 0 0 1px var(--mantivo-admin-border) !important;
}

.mantivo-tabler-admin svg[aria-hidden="true"],
.mantivo-tabler-admin svg[focusable="false"] {
  width: 1.1em !important;
  height: 1.1em !important;
  max-width: 1.1em !important;
  max-height: 1.1em !important;
  flex: 0 0 auto !important;
  display: inline-block !important;
  vertical-align: -.18em !important;
  stroke: currentColor !important;
  fill: none;
}

.mantivo-tabler-admin .brand-mini h1,
.mantivo-tabler-admin .brand-mini p {
  color: var(--mantivo-admin-ink) !important;
}

.mantivo-tabler-admin .brand-mini p {
  color: var(--mantivo-admin-muted) !important;
}

.mantivo-tabler-admin .admin-mega-nav {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: .5rem !important;
  padding: .25rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 1rem !important;
  background: #f8fbff !important;
}

.mantivo-tabler-admin .admin-mega-nav__button {
  display: inline-flex !important;
  align-items: center !important;
  gap: .45rem !important;
  min-height: 2.75rem !important;
  border: 0 !important;
  border-radius: .85rem !important;
  background: transparent !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 800 !important;
}

.mantivo-tabler-admin .admin-mega-nav__button:hover,
.mantivo-tabler-admin .admin-mega-nav__button:focus-visible,
.mantivo-tabler-admin .admin-mega-nav__item[open] .admin-mega-nav__button,
.mantivo-tabler-admin .admin-mega-nav__item.is-open .admin-mega-nav__button,
.mantivo-tabler-admin .admin-mega-nav__item.is-active .admin-mega-nav__button {
  background: var(--mantivo-admin-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 .65rem 1.25rem rgba(21, 94, 239, .22) !important;
}

.mantivo-tabler-admin .admin-mega-nav__button-icon,
.mantivo-tabler-admin .admin-mega-nav__section-icon,
.mantivo-tabler-admin .admin-mega-nav__item-icon {
  color: currentColor !important;
}

.mantivo-tabler-admin .admin-mega-nav__panel {
  position: fixed !important;
  top: 6.5rem !important;
  right: 1rem !important;
  left: 1rem !important;
  width: auto !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  padding: .9rem !important;
  max-height: min(72vh, 46rem) !important;
  overflow: auto !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 1.25rem !important;
  background: #ffffff !important;
  box-shadow: 0 1.5rem 4rem rgba(15, 39, 72, .16) !important;
}

.mantivo-tabler-admin .admin-mega-nav__panel > section {
  min-width: 0 !important;
  display: grid !important;
  align-content: start !important;
  gap: .3rem !important;
  padding: .75rem !important;
}

.mantivo-tabler-admin .admin-mega-nav__panel a {
  width: 100% !important;
  margin-left: 0 !important;
  overflow-wrap: anywhere !important;
}

.mantivo-tabler-admin .admin-mega-nav__panel > section {
  border-color: var(--mantivo-admin-border) !important;
  border-radius: 1rem !important;
  background: #f8fbff !important;
}

.mantivo-tabler-admin .admin-mega-nav__panel h2,
.mantivo-tabler-admin .admin-mega-nav__panel a {
  color: var(--mantivo-admin-ink) !important;
}

.mantivo-tabler-admin .admin-mega-nav__panel a {
  min-height: 2.75rem !important;
  border-color: transparent !important;
  border-radius: .85rem !important;
  background: #ffffff !important;
  font-weight: 750 !important;
}

.mantivo-tabler-admin .admin-mega-nav__panel a:hover,
.mantivo-tabler-admin .admin-mega-nav__panel a:focus-visible,
.mantivo-tabler-admin .admin-mega-nav__panel a.active,
.mantivo-tabler-admin .admin-mega-nav__panel a[aria-current="page"] {
  border-color: rgba(21, 94, 239, .28) !important;
  background: #eaf2ff !important;
  color: #0b47b7 !important;
}

.mantivo-tabler-admin .admin-help-trigger,
.mantivo-tabler-admin .admin-user-menu__summary {
  display: inline-flex !important;
  align-items: center !important;
  gap: .55rem !important;
  min-height: 2.875rem !important;
  padding: 0 .9rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .9rem !important;
  background: #ffffff !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
  font-weight: 800 !important;
}

.mantivo-tabler-admin .user-meta {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: .65rem !important;
  min-width: 0 !important;
}

.mantivo-tabler-admin :where(.alert, .notice, .flash, .flash-message, .form-error, .error, [role="alert"]) {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: .85rem 1rem !important;
  border: 1px solid #bfd7ff !important;
  border-radius: .85rem !important;
  background: #eff6ff !important;
  color: #123f91 !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere !important;
}

.mantivo-tabler-admin :where(.success, .alert.success, .notice.success, .flash-success) {
  border-color: #86efac !important;
  background: #dcfce7 !important;
  color: #166534 !important;
}

.mantivo-tabler-admin :where(.error, .alert.danger, .notice.danger, .flash-error, .form-error, [role="alert"]) {
  border-color: #fecaca !important;
  background: #fee2e2 !important;
  color: #991b1b !important;
}

.mantivo-tabler-admin :where(input, select, textarea)[aria-invalid="true"],
.mantivo-tabler-admin :where(input, select, textarea).is-invalid {
  border-color: #b42318 !important;
  background: #fff7f7 !important;
  box-shadow: 0 0 0 .2rem rgba(180, 35, 24, .14) !important;
}

.mantivo-tabler-admin :where(.field-error, .input-error, .validation-error, [id$="-error"], [id$="_error"]) {
  margin-top: .35rem !important;
  color: #991b1b !important;
  font-size: .88rem !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
}

/* Disabled and readonly Tabler clarity 2026-10-08. */
.mantivo-tabler-admin :where(button, .btn, input[type="submit"]):disabled,
.mantivo-tabler-admin :where(button, .btn)[aria-disabled="true"],
.mantivo-tabler-admin :where(.is-disabled, .btn-disabled) {
  cursor: not-allowed !important;
  opacity: .72 !important;
  border-color: #94a3b8 !important;
  background: #e2e8f0 !important;
  color: #475569 !important;
  box-shadow: none !important;
  filter: saturate(.86) !important;
}

.mantivo-tabler-admin :where(input:not([type="submit"]), select, textarea):disabled {
  cursor: not-allowed !important;
  border-color: #94a3b8 !important;
  background: #e2e8f0 !important;
  color: #475569 !important;
  opacity: .82 !important;
}

.mantivo-tabler-admin :where(input:not([type="submit"]), textarea)[readonly] {
  cursor: default !important;
  border-color: #94a3b8 !important;
  border-style: dashed !important;
  background: #f8fafc !important;
  color: #475569 !important;
}

.mantivo-tabler-admin :where(input:not([type="submit"]), textarea)[readonly]:focus-visible {
  outline: .2rem solid #64748b !important;
  outline-offset: .15rem !important;
}

/* Admin Tabler focus ring coverage 2026-10-21. */
.mantivo-tabler-admin :where(a, button, summary, input, select, textarea):focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

/* Status badge contrast Tabler 2026-10-08. */
.mantivo-tabler-admin :where(.badge, .status-badge, .status-pill, .tag) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 1.75rem !important;
  max-width: 100% !important;
  padding: .28rem .65rem !important;
  border: 1px solid #bfd7ff !important;
  border-radius: 999px !important;
  background: #eff6ff !important;
  color: #123f91 !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  white-space: normal !important;
}

.mantivo-tabler-admin :where(.status-active, .status-paid, .status-accepted, .status-completed, .status-success) {
  border-color: #86efac !important;
  background: #dcfce7 !important;
  color: #166534 !important;
}

.mantivo-tabler-admin :where(.status-draft, .status-pending, .status-sent, .status-issued, .status-progress) {
  border-color: #bfdbfe !important;
  background: #eff6ff !important;
  color: #1e3a8a !important;
}

.mantivo-tabler-admin :where(.status-inactive, .status-overdue, .status-rejected, .status-cancelled, .status-void, .status-error) {
  border-color: #fecaca !important;
  background: #fee2e2 !important;
  color: #991b1b !important;
}

.mantivo-tabler-admin :where(.status-warning, .status-blocked) {
  border-color: #fde68a !important;
  background: #fef3c7 !important;
  color: #92400e !important;
}

.mantivo-tabler-admin .admin-impersonation-banner,
.mantivo-tabler-admin .suspended-account-banner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  width: min(100%, 116rem) !important;
  margin: 0 auto 1rem !important;
  padding: .85rem 1rem !important;
  border: 1px solid #d97706 !important;
  border-radius: .85rem !important;
  background: #fffbeb !important;
  color: #7c2d12 !important;
  box-shadow: 0 .75rem 1.5rem rgba(146, 64, 14, .08) !important;
}

.mantivo-tabler-admin .admin-impersonation-banner strong,
.mantivo-tabler-admin .suspended-account-banner strong {
  color: #431407 !important;
}

.mantivo-tabler-admin .admin-impersonation-banner form {
  margin: 0 !important;
}

.mantivo-tabler-admin .admin-impersonation-banner button,
.mantivo-tabler-admin .suspended-account-banner a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.75rem !important;
  padding: .65rem 1rem !important;
  border: 1px solid #92400e !important;
  border-radius: .7rem !important;
  background: #ffffff !important;
  color: #7c2d12 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.mantivo-tabler-admin .admin-impersonation-banner button:hover,
.mantivo-tabler-admin .admin-impersonation-banner button:focus-visible,
.mantivo-tabler-admin .suspended-account-banner a:hover,
.mantivo-tabler-admin .suspended-account-banner a:focus-visible {
  border-color: #7c2d12 !important;
  background: #7c2d12 !important;
  color: #ffffff !important;
}

.mantivo-tabler-admin :where([aria-busy="true"], .is-loading, .loading, .is-submitting, form[data-loading="true"]) {
  cursor: progress !important;
}

.mantivo-tabler-admin :where(button[aria-busy="true"], .btn[aria-busy="true"], button.is-loading, .btn.is-loading, button.loading, .btn.loading, button.is-submitting, .btn.is-submitting) {
  position: relative !important;
  opacity: .82 !important;
  pointer-events: none !important;
  cursor: progress !important;
}

.mantivo-tabler-admin :where(button[aria-busy="true"], .btn[aria-busy="true"], button.is-loading, .btn.is-loading, button.loading, .btn.loading, button.is-submitting, .btn.is-submitting)::after {
  content: "" !important;
  display: inline-block !important;
  width: .8rem !important;
  height: .8rem !important;
  margin-left: .45rem !important;
  border: 2px solid currentColor !important;
  border-right-color: transparent !important;
  border-radius: 999px !important;
  vertical-align: -.1em !important;
}

.mantivo-tabler-admin :where([aria-busy="true"] input, [aria-busy="true"] select, [aria-busy="true"] textarea, form[data-loading="true"] input, form[data-loading="true"] select, form[data-loading="true"] textarea) {
  opacity: .88 !important;
  cursor: progress !important;
}

@media (prefers-reduced-motion: no-preference) {
  .mantivo-tabler-admin :where(button[aria-busy="true"], .btn[aria-busy="true"], button.is-loading, .btn.is-loading, button.loading, .btn.loading, button.is-submitting, .btn.is-submitting)::after {
    animation: mantivo-tabler-busy-spin .8s linear infinite !important;
  }
}

@keyframes mantivo-tabler-busy-spin {
  to { transform: rotate(360deg); }
}

@media (forced-colors: active) {
  .mantivo-tabler-admin :where(button[aria-busy="true"], .btn[aria-busy="true"], button.is-loading, .btn.is-loading, button.loading, .btn.loading, button.is-submitting, .btn.is-submitting) {
    opacity: 1 !important;
    border: 2px solid Highlight !important;
  }
}

.mantivo-tabler-admin .admin-offline-status {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 2.75rem !important;
  max-width: min(26rem, 38vw) !important;
  padding: .55rem .8rem !important;
  border: 1px solid #d97706 !important;
  border-radius: .8rem !important;
  background: #fffbeb !important;
  color: #7c2d12 !important;
  font-size: .85rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere !important;
}

.mantivo-tabler-admin .admin-offline-status[hidden] {
  display: none !important;
}

.mantivo-tabler-admin .admin-help-trigger {
  max-width: clamp(13rem, 24vw, 22rem) !important;
}

.mantivo-tabler-admin .admin-help-trigger > span:last-child {
  min-width: 0 !important;
}

.mantivo-tabler-admin .admin-help-popover {
  position: absolute !important;
  top: calc(100% + .55rem) !important;
  right: 0 !important;
  z-index: 1050 !important;
  width: min(24rem, calc(100vw - 2rem)) !important;
  display: grid !important;
  gap: .2rem !important;
  padding: .8rem .9rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .9rem !important;
  background: #ffffff !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: 0 1.5rem 3.5rem rgba(15, 39, 72, .16) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-.25rem) !important;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease !important;
}

.mantivo-tabler-admin .admin-help-trigger:hover .admin-help-popover,
.mantivo-tabler-admin .admin-help-trigger:focus-visible .admin-help-popover,
.mantivo-tabler-admin .admin-help-trigger:focus-within .admin-help-popover {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.mantivo-tabler-admin .admin-help-popover strong {
  color: var(--mantivo-admin-ink) !important;
  font-weight: 800 !important;
}

.mantivo-tabler-admin .admin-help-popover span {
  color: var(--mantivo-admin-muted) !important;
  font-size: .85rem !important;
  line-height: 1.4 !important;
}

.mantivo-tabler-admin .admin-help-trigger small,
.mantivo-tabler-admin .admin-user-menu__summary small {
  display: block !important;
  color: var(--mantivo-admin-muted) !important;
  font-weight: 700 !important;
}

.mantivo-tabler-admin .admin-help-trigger small {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.mantivo-tabler-admin .admin-user-menu {
  position: relative !important;
}

.mantivo-tabler-admin .admin-user-menu__panel {
  position: absolute !important;
  top: calc(100% + .55rem) !important;
  right: 0 !important;
  z-index: 1050 !important;
  width: min(23rem, calc(100vw - 1rem)) !important;
  display: grid !important;
  gap: .75rem !important;
  padding: .85rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 1rem !important;
  background: #ffffff !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: 0 1.5rem 3.5rem rgba(15, 39, 72, .16) !important;
}

.mantivo-tabler-admin .admin-user-menu__actions,
.mantivo-tabler-admin .admin-user-menu__session-actions {
  display: grid !important;
  gap: .5rem !important;
}

.mantivo-tabler-admin .admin-user-menu__identity {
  overflow-wrap: anywhere !important;
  color: var(--mantivo-admin-ink) !important;
}

.mantivo-tabler-admin .admin-user-menu__panel :where(a, button, select) {
  min-height: 2.75rem !important;
  max-width: 100% !important;
}

.mantivo-tabler-admin .admin-user-menu__panel :where(a, button) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  border-radius: .8rem !important;
  font-weight: 800 !important;
  overflow-wrap: anywhere !important;
}

.mantivo-tabler-admin .admin-user-menu__panel .admin-locale-switch {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .4rem !important;
  align-items: center !important;
}

.mantivo-tabler-admin .admin-user-menu__panel .admin-locale-switch a {
  width: auto !important;
  min-width: 2.75rem !important;
  padding: .45rem .7rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  background: #f8fbff !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
}

.mantivo-tabler-admin .admin-user-menu__panel .admin-locale-switch a:hover,
.mantivo-tabler-admin .admin-user-menu__panel .admin-locale-switch a:focus-visible,
.mantivo-tabler-admin .admin-user-menu__panel .admin-locale-switch a.is-active,
.mantivo-tabler-admin .admin-user-menu__panel .admin-locale-switch a.active {
  border-color: var(--mantivo-admin-primary) !important;
  background: #eaf2ff !important;
  color: var(--mantivo-admin-primary-hover) !important;
}

.mantivo-tabler-admin .admin-user-menu__summary {
  cursor: pointer !important;
}

.mantivo-tabler-admin .admin-user-menu__summary:hover,
.mantivo-tabler-admin .admin-user-menu__summary:focus-visible,
.mantivo-tabler-admin .admin-help-trigger:hover,
.mantivo-tabler-admin .admin-help-trigger:focus-visible {
  border-color: rgba(21, 94, 239, .36) !important;
  background: #eaf2ff !important;
}

.mantivo-tabler-admin .admin-layout {
  display: block !important;
  width: min(100%, 116rem) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 1.25rem clamp(1rem, 2.5vw, 2.5rem) 2.5rem !important;
}

.mantivo-tabler-admin .admin-mobile-action-dock {
  display: flex !important;
  grid-column: auto !important;
  grid-row: auto !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: .65rem !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
}

.mantivo-tabler-admin .admin-mobile-action-dock a {
  display: inline-flex !important;
  align-items: center !important;
  gap: .35rem !important;
  min-height: 2.45rem !important;
  padding: 0 .75rem !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  color: var(--mantivo-admin-primary) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.mantivo-tabler-admin .admin-mobile-action-dock a:hover,
.mantivo-tabler-admin .admin-mobile-action-dock a:focus-visible {
  background: #ffffff !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-primary) !important;
}

@media (max-width: 720px) {
  .mantivo-tabler-admin .admin-mobile-action-dock {
    flex-wrap: nowrap !important;
    gap: .2rem !important;
  }

  .mantivo-tabler-admin .admin-mobile-action-dock a {
    flex: 1 1 0 !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: .1rem !important;
    min-width: 0 !important;
    min-height: 3rem !important;
    padding: .35rem .1rem !important;
    border-radius: .4rem !important;
    text-align: center !important;
  }

  .mantivo-tabler-admin .admin-mobile-action-dock a strong {
    font-size: .75rem !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }
}

.mantivo-tabler-admin .admin-content {
  grid-column: auto !important;
  grid-row: auto !important;
  display: grid !important;
  gap: 1.25rem !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* Admin Tabler form controls 2026-10-08. */
.mantivo-tabler-admin :where(label, legend) {
  color: var(--mantivo-admin-ink) !important;
  font-size: .9rem !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
}

.mantivo-tabler-admin :where(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]), select, textarea) {
  width: 100% !important;
  min-height: 2.95rem !important;
  padding: .65rem .8rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .7rem !important;
  background: #ffffff !important;
  color: var(--mantivo-admin-ink) !important;
  font: inherit !important;
  line-height: 1.35 !important;
}

.mantivo-tabler-admin textarea {
  min-height: 8rem !important;
  resize: vertical !important;
}

.mantivo-tabler-admin :where(input, select, textarea):focus {
  border-color: var(--mantivo-admin-primary) !important;
  box-shadow: 0 0 0 .2rem rgba(21, 94, 239, .14) !important;
}

.mantivo-tabler-admin .admin-command-strip {
  display: grid !important;
  gap: 1rem !important;
  padding: clamp(1.25rem, 2vw, 1.65rem) !important;
}

.mantivo-tabler-admin .section-heading-row {
  display: grid !important;
  gap: .4rem !important;
}

.mantivo-tabler-admin .section-heading-row :where(p, h2, h3) {
  margin: 0 !important;
}

.mantivo-tabler-admin .admin-command-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)) !important;
  gap: .9rem !important;
}

.mantivo-tabler-admin .admin-command-card {
  min-height: 8rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: .55rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 1rem !important;
  background: #f8fbff !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.mantivo-tabler-admin .admin-command-card:hover,
.mantivo-tabler-admin .admin-command-card:focus-visible {
  border-color: rgba(21, 94, 239, .34) !important;
  background: #eaf2ff !important;
  transform: translateY(-1px);
}

.mantivo-tabler-admin .admin-command-card :where(strong, span, small, p) {
  color: currentColor !important;
}

.mantivo-tabler-admin .metric-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)) !important;
  gap: .9rem !important;
}

.mantivo-tabler-admin .metric-row :where(article, .card) {
  min-height: 6.75rem !important;
  display: grid !important;
  align-content: start !important;
  gap: .4rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 1rem !important;
  background: #ffffff !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: 0 1rem 2.25rem rgba(15, 39, 72, .06) !important;
}

.mantivo-tabler-admin .metric-row :where(article, .card) :where(strong, span, small) {
  color: currentColor !important;
}

.mantivo-tabler-admin .admin-heading,
.mantivo-tabler-admin .dashboard-command-strip,
.mantivo-tabler-admin .dashboard-next-action-panel,
.mantivo-tabler-admin .dashboard-quick-start,
.mantivo-tabler-admin .dashboard-day-semaphore,
.mantivo-tabler-admin .dashboard-demo-flow-panel,
.mantivo-tabler-admin .autonomy-monitor-panel,
.mantivo-tabler-admin .admin-panel,
.mantivo-tabler-admin .metric-row article {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 1.25rem !important;
  background: #ffffff !important;
  box-shadow: 0 1rem 2.25rem rgba(15, 39, 72, .07) !important;
  color: var(--mantivo-admin-ink) !important;
}

.mantivo-tabler-admin .admin-heading {
  display: grid !important;
  grid-template-columns: minmax(16rem, .9fr) minmax(0, 2fr) !important;
  align-items: center !important;
  gap: 1.5rem !important;
  min-height: auto !important;
  padding: clamp(1.25rem, 2.4vw, 2rem) !important;
}

.mantivo-tabler-admin .admin-heading > :first-child {
  min-width: 0 !important;
}

.mantivo-tabler-admin .admin-heading :where(.admin-actions, .actions, .compact-actions) {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: .65rem !important;
  min-width: 0 !important;
}

.mantivo-tabler-admin .admin-heading :where(h1, h2),
.mantivo-tabler-admin .dashboard-command-strip :where(h2, h3, strong),
.mantivo-tabler-admin .dashboard-next-action-panel :where(h2, h3, strong, dd),
.mantivo-tabler-admin .admin-panel :where(h2, h3, h4, strong) {
  color: var(--mantivo-admin-ink) !important;
}

.mantivo-tabler-admin .admin-heading :where(p, small, .small, .form-help),
.mantivo-tabler-admin .dashboard-command-strip :where(p, small),
.mantivo-tabler-admin .dashboard-next-action-panel :where(p, small, dt),
.mantivo-tabler-admin .admin-panel :where(p, small, .hint) {
  color: var(--mantivo-admin-muted) !important;
}

.mantivo-tabler-admin .btn,
.mantivo-tabler-admin button {
  border-radius: .85rem !important;
  font-weight: 800 !important;
}

.mantivo-tabler-admin .btn-primary,
.mantivo-tabler-admin .admin-heading .btn-primary,
.mantivo-tabler-admin .dashboard-command-strip > :where(a, button).is-primary {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-primary) !important;
  color: #ffffff !important;
}

.mantivo-tabler-admin .btn-primary:hover,
.mantivo-tabler-admin .btn-primary:focus-visible {
  border-color: var(--mantivo-admin-primary-hover) !important;
  background: var(--mantivo-admin-primary-hover) !important;
  color: #ffffff !important;
}

.mantivo-tabler-admin .btn-outline-primary,
.mantivo-tabler-admin .btn-outline {
  border-color: #9bb9f6 !important;
  background: #ffffff !important;
  color: #0b47b7 !important;
}

.mantivo-tabler-admin .dashboard-command-strip {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)) !important;
  gap: .9rem !important;
  padding: 1rem !important;
}

.mantivo-tabler-admin .dashboard-command-strip > :where(a, button) {
  min-height: 6rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 1rem !important;
  background: #f8fbff !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

.mantivo-tabler-admin .dashboard-command-strip > :where(a, button):hover,
.mantivo-tabler-admin .dashboard-command-strip > :where(a, button):focus-visible {
  border-color: rgba(21, 94, 239, .32) !important;
  background: #eaf2ff !important;
  transform: translateY(-1px);
}

.mantivo-tabler-admin :focus-visible {
  outline: .2rem solid #f59f00 !important;
  outline-offset: .2rem !important;
}

@media (max-width: 1024px) {
  .mantivo-tabler-admin .admin-layout {
    padding: .9rem !important;
  }

  .mantivo-tabler-admin .brand-mini {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .mantivo-tabler-admin .admin-mobile-action-dock,
  .mantivo-tabler-admin .admin-content {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .mantivo-tabler-admin .admin-heading {
    grid-template-columns: 1fr !important;
  }

  .mantivo-tabler-admin .admin-heading :where(.admin-actions, .actions, .compact-actions) {
    justify-content: flex-start !important;
  }

  .mantivo-tabler-admin .admin-mega-nav__panel {
    top: 5.5rem !important;
    right: .75rem !important;
    left: .75rem !important;
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767.98px) {
  .mantivo-tabler-admin .admin-topbar {
    flex-wrap: wrap !important;
    gap: .7rem !important;
    padding: .75rem 1rem !important;
  }

  .mantivo-tabler-admin .brand-mini p {
    max-width: 12rem !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .mantivo-tabler-admin .user-meta {
    flex: 1 1 100% !important;
    flex-wrap: wrap !important;
    justify-content: stretch !important;
    margin-left: 0 !important;
  }

  .mantivo-tabler-admin .admin-offline-status {
    flex: 1 1 100% !important;
    max-width: none !important;
  }

  .mantivo-tabler-admin .admin-impersonation-banner,
  .mantivo-tabler-admin .suspended-account-banner {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .mantivo-tabler-admin .admin-impersonation-banner button,
  .mantivo-tabler-admin .suspended-account-banner a {
    width: 100% !important;
  }

  .mantivo-tabler-admin .admin-help-trigger {
    min-width: 0 !important;
    max-width: none !important;
    flex: 1 1 auto !important;
  }

  .mantivo-tabler-admin .admin-mega-nav__panel {
    top: 8.25rem !important;
    max-height: calc(100vh - 8.75rem) !important;
  }
}

/* Line item Tabler migration block 2026-10-08. */
/* Line item work surface cleanup 2026-10-15. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items :where(.line-item-use-panel, .line-item-form-panel, .line-items-table-panel) {
  border-radius: .7rem !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-form-panel {
  width: 100% !important;
  max-width: 64rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-items-table-panel[data-empty="true"] {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-items-table-panel[data-empty="true"] > .quote-line-item-empty-state {
  padding: .875rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.mantivo-tabler-line-items .admin-content {
  gap: 1.5rem !important;
}

.mantivo-tabler-line-items .admin-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1.25rem !important;
}

.mantivo-tabler-line-items .actions,
.mantivo-tabler-line-items .compact-actions,
.mantivo-tabler-line-items .admin-empty-state-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
}

.mantivo-tabler-line-items .line-item-use-panel,
.mantivo-tabler-line-items #line-item-form,
.mantivo-tabler-line-items #line-items-table {
  padding: clamp(1.1rem, 2vw, 1.6rem) !important;
}

.mantivo-tabler-line-items .line-item-use-grid,
.mantivo-tabler-line-items .metric-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)) !important;
  gap: .9rem !important;
}

.mantivo-tabler-line-items .line-item-use-grid > *,
.mantivo-tabler-line-items .metric-row article,
.mantivo-tabler-line-items .admin-empty-state {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 1rem !important;
  background: var(--mantivo-admin-subtle) !important;
  padding: 1rem !important;
  color: var(--mantivo-admin-ink) !important;
}

.mantivo-tabler-line-items .line-item-use-grid > a {
  display: grid !important;
  align-content: start !important;
  gap: .2rem !important;
}

.mantivo-tabler-line-items .quote-line-item-form,
.mantivo-tabler-line-items .filter-form {
  display: grid !important;
  grid-template-columns: minmax(11rem, .55fr) minmax(0, 1fr) !important;
  gap: .8rem 1rem !important;
  align-items: center !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-form :is(input:not([type="checkbox"]), select, textarea) {
  font-weight: 500 !important;
}

/* Line item form grouping 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-form .line-item-fieldset {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .8rem 1rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-form .line-item-fieldset--identity {
  margin-top: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-fieldset > legend {
  grid-column: 1 / -1 !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .9rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-fieldset > .full-width {
  grid-column: 1 / -1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-form > label.full-width {
  grid-column: 1 / -1 !important;
  max-width: 50rem !important;
}

.mantivo-tabler-line-items .form-actions {
  grid-column: 1 / -1 !important;
}

.mantivo-tabler-line-items :where(.form-actions, .quote-line-item-form, .filter-form, .admin-empty-state-actions, .quote-line-item-row) :where(.btn, button) {
  min-height: 2.5rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .45rem !important;
  border: 1px solid #9bb9f6 !important;
  border-radius: .85rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: #0b47b7 !important;
  padding: .55rem .9rem !important;
  font: inherit !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.mantivo-tabler-line-items :where(.form-actions, .quote-line-item-form, .filter-form, .admin-empty-state-actions, .quote-line-item-row) :where(.btn, button):hover,
.mantivo-tabler-line-items :where(.form-actions, .quote-line-item-form, .filter-form, .admin-empty-state-actions, .quote-line-item-row) :where(.btn, button):focus-visible {
  border-color: var(--mantivo-admin-primary) !important;
  background: #eaf2ff !important;
  color: #073b96 !important;
}

.mantivo-tabler-line-items :where(label) {
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 800 !important;
}

.mantivo-tabler-line-items :where(input, select, textarea) {
  width: 100% !important;
  min-height: 2.95rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .85rem !important;
  background: var(--mantivo-admin-surface) !important;
  padding: .75rem .9rem !important;
  color: var(--mantivo-admin-ink) !important;
  font: inherit !important;
}

.mantivo-tabler-line-items .line-item-selected-module {
  display: none !important;
}

.mantivo-tabler-line-items .line-item-account-value {
  display: block !important;
  min-height: 2.95rem !important;
  padding: .75rem .9rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .85rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 900px) {
  .mantivo-tabler-line-items .line-item-selected-module:not(:empty) {
    display: block !important;
    margin-top: .35rem !important;
    color: #52647b !important;
    font-size: .875rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

.mantivo-tabler-line-items input[type="checkbox"] {
  width: 1.15rem !important;
  height: 1.15rem !important;
  min-height: 1.15rem !important;
  padding: 0 !important;
  border-radius: .3rem !important;
  accent-color: var(--mantivo-admin-primary) !important;
}

.mantivo-tabler-line-items .quote-line-item-form .checkbox-row {
  display: flex !important;
  align-items: center !important;
  gap: .5rem !important;
}

.mantivo-tabler-line-items .quote-line-item-form .checkbox-row input[type="checkbox"] {
  flex: none !important;
  margin: 0 !important;
}

.mantivo-tabler-line-items textarea {
  min-height: 7rem !important;
  resize: vertical !important;
  font-weight: 600 !important;
}

.mantivo-tabler-line-items :where(input, select, textarea):focus {
  border-color: var(--mantivo-admin-primary) !important;
  box-shadow: 0 0 0 .2rem rgba(245, 159, 0, .24) !important;
}

.mantivo-tabler-line-items .table-wrap {
  overflow: auto !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 1rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .table-wrap:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-items-page {
  grid-template-columns: minmax(0, 1fr) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .table-wrap {
  min-width: 0 !important;
  max-width: 100% !important;
}

.mantivo-tabler-line-items .table {
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
}

@media (min-width: 721px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .table {
    min-width: 64rem !important;
  }
}

.mantivo-tabler-line-items .table th {
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .82rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
}

.mantivo-tabler-line-items .table td,
.mantivo-tabler-line-items .table th {
  padding: .85rem !important;
  vertical-align: top !important;
}

.mantivo-tabler-line-items .quote-line-item-row .btn {
  min-height: 2.35rem !important;
  padding: .45rem .65rem !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-grid > *,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .metric-row article,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .admin-empty-state,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .table-wrap {
  background: var(--mantivo-admin-surface) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items :where(input, select, textarea),
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .table {
  background: var(--mantivo-admin-surface) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .table th {
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
}

@media (max-width: 900px) {
  .mantivo-tabler-line-items .admin-heading,
  .mantivo-tabler-line-items .quote-line-item-form,
  .mantivo-tabler-line-items .filter-form {
    grid-template-columns: 1fr !important;
  }
}

/* Line items visual hierarchy 2026-10-11. Line item workflow refinement 2026-10-11. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .admin-content {
  gap: 1.25rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .admin-heading {
  padding: 1.15rem 1.35rem !important;
  border-radius: .85rem !important;
  box-shadow: 0 .25rem 1rem rgba(15, 39, 72, .06) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-panel {
  display: grid !important;
  grid-template-columns: minmax(11rem, .7fr) minmax(0, 2.3fr) !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1rem 1.1rem !important;
  border-radius: .85rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  background: #ffffff !important;
  box-shadow: 0 .5rem 1.25rem rgba(15, 39, 72, .05) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .65rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-grid > * {
  min-height: 5.5rem !important;
  padding: .75rem !important;
  border-radius: .7rem !important;
  background: #ffffff !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .metric-row {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .65rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .metric-row article {
  min-height: 6.5rem !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  gap: .25rem .75rem !important;
  padding: 1rem 1.1rem !important;
  border-radius: .8rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .metric-row article > span,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .metric-row article > small {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .metric-row article > strong {
  color: var(--mantivo-admin-ink) !important;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem) !important;
  line-height: 1.1 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .metric-row article small {
  grid-column: 1 / -1 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items #line-item-form,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table {
  padding: 1.1rem !important;
  border-radius: .85rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items #line-item-form .quote-line-item-form,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .filter-form {
  gap: .85rem 1rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items #line-item-form h3,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table h3 {
  margin-bottom: .45rem !important;
  color: var(--mantivo-admin-ink) !important;
  letter-spacing: 0 !important;
}

/* Line item heading spacing 2026-10-21. */

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-row .btn {
  max-width: 12rem !important;
  white-space: normal !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-panel {
  background: #ffffff !important;
}

/* Line item table action clarity 2026-10-14. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-row > td:last-child {
  min-width: 14rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-row > td:last-child .btn {
  display: inline-flex !important;
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
}

@media (max-width: 650px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-row > td:last-child {
    min-width: 12rem !important;
  }
}

/* Line items light workspace refinement 2026-10-11. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-grid,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .metric-row {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-grid > *,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .metric-row > article,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-row {
  min-width: 0 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-row .btn {
  max-width: 100% !important;
  min-height: 2.6rem !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items :where(.line-item-use-panel, .line-item-use-grid > *, .metric-row > article, #line-item-form, #line-items-table, .table-wrap),
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items :where(.line-item-use-panel, .line-item-use-grid > *, .metric-row > article, #line-item-form, #line-items-table, .table-wrap) {
  background: var(--mantivo-admin-surface) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

@media (max-width: 1000px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-panel {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-grid,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .metric-row {
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)) !important;
  }
}

@media (max-width: 650px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-grid,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .metric-row {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-row .btn {
    max-width: none !important;
  }
}

/* Line items editing workspace refinement 2026-10-11. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-items-page {
  width: min(100%, 96rem) !important;
  gap: 1.5rem !important;
  padding-bottom: 2rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-panel,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items #line-item-form,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table {
  box-shadow: 0 .35rem 1rem rgba(15, 23, 42, .06) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-panel {
  border-color: #cbd5e1 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-form,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table {
  border-color: #cbd5e1 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-row .inline-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .45rem !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-form,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table {
  border-color: #49617f !important;
}

/* Project cost Tabler migration block 2026-10-08. */
.mantivo-tabler-project-costs .admin-content {
  gap: 1.5rem !important;
}

.mantivo-tabler-project-costs .admin-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1.25rem !important;
}

.mantivo-tabler-project-costs .actions,
.mantivo-tabler-project-costs .compact-actions,
.mantivo-tabler-project-costs .project-cost-next-action-actions,
.mantivo-tabler-project-costs .project-cost-decision-actions,
.mantivo-tabler-project-costs .inline-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
}

.mantivo-tabler-project-costs .metric-row,
.mantivo-tabler-project-costs .project-cost-shortcut-grid,
.mantivo-tabler-project-costs .project-cost-decision-list,
.mantivo-tabler-project-costs .project-cost-module-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)) !important;
  gap: .9rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-card:only-child {
  max-width: min(100%, 36rem) !important;
}

.mantivo-tabler-project-costs .project-cost-shortcuts,
.mantivo-tabler-project-costs .project-cost-decision-panel,
.mantivo-tabler-project-costs #project-cost-form,
.mantivo-tabler-project-costs #project-cost-table {
  padding: clamp(1.1rem, 2vw, 1.6rem) !important;
}

.mantivo-tabler-project-costs .project-cost-shortcut-card,
.mantivo-tabler-project-costs .project-cost-decision-card,
.mantivo-tabler-project-costs .project-cost-module-grid > *,
.mantivo-tabler-project-costs .project-cost-empty-state,
.mantivo-tabler-project-costs .project-cost-decision-empty,
.mantivo-tabler-project-costs .metric-row article {
  min-height: 7.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: .45rem !important;
  justify-content: space-between !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 1rem !important;
  background: #f8fbff !important;
  padding: 1rem !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.mantivo-tabler-project-costs .project-cost-shortcut-card:hover,
.mantivo-tabler-project-costs .project-cost-shortcut-card:focus-visible {
  border-color: rgba(21, 94, 239, .34) !important;
  background: #eaf2ff !important;
  transform: translateY(-1px);
}

.mantivo-tabler-project-costs .project-cost-next-action-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(12rem, auto) !important;
  align-items: center !important;
  gap: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 1rem !important;
  background: #f8fbff !important;
  padding: 1rem !important;
}

.mantivo-tabler-project-costs .project-cost-next-action-meta,
.mantivo-tabler-project-costs .project-cost-decision-total,
.mantivo-tabler-project-costs .project-cost-decision-badge {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  gap: .35rem !important;
  align-items: center !important;
  width: fit-content !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 999px !important;
  background: #eaf2ff !important;
  padding: .45rem .75rem !important;
  color: #0b47b7 !important;
  font-weight: 800 !important;
}

.mantivo-tabler-project-costs #project-cost-form form,
.mantivo-tabler-project-costs .filter-form,
.mantivo-tabler-project-costs .inline-actions {
  display: grid !important;
  grid-template-columns: minmax(11rem, .55fr) minmax(0, 1fr) !important;
  gap: .8rem 1rem !important;
  align-items: center !important;
}

/* Project cost form grouping 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-form .project-cost-fieldset {
  display: grid !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .8rem 1rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: .95rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-form .project-cost-fieldset:first-of-type {
  padding-top: .25rem !important;
  border-top: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-form .project-cost-fieldset > legend {
  float: none !important;
  width: auto !important;
  margin: 0 0 .1rem !important;
  padding: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .86rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-form .project-cost-fieldset > label {
  display: grid !important;
  gap: .35rem !important;
  min-width: 0 !important;
}

.mantivo-tabler-project-costs .form-actions {
  grid-column: 1 / -1 !important;
}

.mantivo-tabler-project-costs :where(button, .btn) {
  min-height: 2.85rem !important;
  border: 1px solid var(--mantivo-admin-primary) !important;
  border-radius: .85rem !important;
  background: var(--mantivo-admin-primary) !important;
  color: #ffffff !important;
  padding: .65rem 1rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}

.mantivo-tabler-project-costs :where(button, .btn):hover,
.mantivo-tabler-project-costs :where(button, .btn):focus-visible {
  background: var(--mantivo-admin-primary-hover) !important;
  border-color: var(--mantivo-admin-primary-hover) !important;
  color: #ffffff !important;
}

.mantivo-tabler-project-costs :where(.btn-outline, .btn-outline-primary) {
  background: #ffffff !important;
  color: #0b47b7 !important;
  border-color: #9bbcff !important;
}

.mantivo-tabler-project-costs :where(.btn-outline, .btn-outline-primary):hover,
.mantivo-tabler-project-costs :where(.btn-outline, .btn-outline-primary):focus-visible {
  background: #eaf2ff !important;
  color: #0b47b7 !important;
  border-color: #6ea0ff !important;
}

.mantivo-tabler-project-costs .btn-outline-danger {
  background: #ffffff !important;
  color: #a61b13 !important;
  border-color: #b42318 !important;
}

.mantivo-tabler-project-costs .btn-outline-danger:hover,
.mantivo-tabler-project-costs .btn-outline-danger:focus-visible {
  background: #fff1f0 !important;
  color: #8f1d14 !important;
  border-color: #8f1d14 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-actions button.btn-outline {
  background: #ffffff !important;
  color: #0b47b7 !important;
  border-color: #9bbcff !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-actions button.btn-outline:hover,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-actions button.btn-outline:focus-visible {
  background: #eaf2ff !important;
  color: #0b47b7 !important;
  border-color: #6ea0ff !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-actions button.btn-outline-danger {
  background: #ffffff !important;
  color: #a61b13 !important;
  border-color: #b42318 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-actions button.btn-outline-danger:hover,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-actions button.btn-outline-danger:focus-visible {
  background: #fff1f0 !important;
  color: #8f1d14 !important;
  border-color: #8f1d14 !important;
}

.mantivo-tabler-project-costs button.danger {
  background: #b42318 !important;
  border-color: #b42318 !important;
  color: #ffffff !important;
}

.mantivo-tabler-project-costs button.danger:hover,
.mantivo-tabler-project-costs button.danger:focus-visible {
  background: #8f1d14 !important;
  border-color: #8f1d14 !important;
}

.mantivo-tabler-project-costs :where(label) {
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 800 !important;
}

.mantivo-tabler-project-costs :where(input, select, textarea) {
  width: 100% !important;
  min-height: 2.95rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .85rem !important;
  background: #ffffff !important;
  padding: .75rem .9rem !important;
  color: var(--mantivo-admin-ink) !important;
  font: inherit !important;
}

.mantivo-tabler-project-costs textarea {
  min-height: 7rem !important;
  resize: vertical !important;
}

.mantivo-tabler-project-costs :where(input, select, textarea):focus {
  border-color: var(--mantivo-admin-primary) !important;
  box-shadow: 0 0 0 .2rem rgba(245, 159, 0, .24) !important;
}

.mantivo-tabler-project-costs .table-wrap {
  overflow: auto !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 1rem !important;
  background: #ffffff !important;
}

.mantivo-tabler-project-costs .table {
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
}

.mantivo-tabler-project-costs .table th {
  background: #eef4fb !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .82rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
}

.mantivo-tabler-project-costs .table td,
.mantivo-tabler-project-costs .table th {
  padding: .85rem !important;
  vertical-align: top !important;
}

.mantivo-tabler-project-costs .project-cost-target-row :where(.btn, button, select) {
  min-height: 2.35rem !important;
  padding: .45rem .65rem !important;
}

/* Project cost row decision band 2026-10-21. */
.mantivo-tabler-project-costs .project-cost-row-actions-cell {
  min-width: 18rem !important;
  border-inline-start: 1px solid var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-subtle) !important;
}

.mantivo-tabler-project-costs .project-cost-row-actions {
  display: grid !important;
  grid-template-columns: minmax(10rem, 1fr) minmax(11rem, 1.2fr) !important;
  gap: .55rem !important;
  margin-top: .75rem !important;
  padding: .65rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
}

.mantivo-tabler-project-costs .project-cost-row-actions > :where(select, .btn, button) {
  width: 100% !important;
}

/* Project cost status tones 2026-10-21. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-status-badge {
  min-width: 7.5rem !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-status-badge.status-pending {
  border-color: #fde68a !important;
  background: #fef3c7 !important;
  color: #92400e !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-status-badge.status-approved {
  border-color: #93c5fd !important;
  background: #dbeafe !important;
  color: #1e40af !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-status-badge.status-pending,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-status-badge.status-pending {
  border-color: rgba(253, 230, 138, .58) !important;
  background: rgba(120, 53, 15, .52) !important;
  color: #fde68a !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-status-badge.status-approved,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-status-badge.status-approved {
  border-color: rgba(147, 197, 253, .6) !important;
  background: rgba(30, 64, 175, .62) !important;
  color: #dbeafe !important;
}

/* Project cost decision badges 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-badge {
  justify-content: center !important;
  min-width: 10rem !important;
  min-height: 2rem !important;
  padding: .35rem .65rem !important;
  line-height: 1.2 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-high .project-cost-decision-badge {
  border-color: #f3b4bd !important;
  background: #fff1f2 !important;
  color: #b42318 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-medium .project-cost-decision-badge {
  border-color: #efd48a !important;
  background: #fff8e1 !important;
  color: #8a5a00 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-low .project-cost-decision-badge {
  border-color: #a9d7ef !important;
  background: #eaf6ff !important;
  color: #075985 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-done .project-cost-decision-badge {
  border-color: #b7e0c6 !important;
  background: #ecfdf3 !important;
  color: #166534 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcut-card,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-card,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-module-grid > *,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-empty-state,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-empty,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .metric-row article,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-panel,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .table-wrap {
  background: #ffffff !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs :where(input, select, textarea),
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .table {
  background: #ffffff !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .table th {
  background: #eef4fb !important;
  color: var(--mantivo-admin-ink) !important;
}

@media (max-width: 900px) {
  .mantivo-tabler-project-costs .admin-heading,
  .mantivo-tabler-project-costs .project-cost-next-action-panel,
  .mantivo-tabler-project-costs #project-cost-form form,
  .mantivo-tabler-project-costs #project-cost-form .project-cost-fieldset,
  .mantivo-tabler-project-costs .filter-form,
  .mantivo-tabler-project-costs .inline-actions {
    grid-template-columns: 1fr !important;
  }

  .mantivo-tabler-project-costs .project-cost-row-actions {
    grid-template-columns: 1fr !important;
  }
}

/* Project costs visual hierarchy 2026-10-11. Project cost workflow refinement 2026-10-11. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-content {
  gap: 1.25rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-heading {
  padding: 1.15rem 1.35rem !important;
  border-radius: .85rem !important;
  box-shadow: 0 .25rem 1rem rgba(15, 39, 72, .06) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .metric-row {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .65rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .metric-row article {
  min-height: 6.5rem !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  gap: .25rem .75rem !important;
  padding: 1rem 1.1rem !important;
  border-radius: .8rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .metric-row article > span,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .metric-row article > small {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .metric-row article > strong {
  color: var(--mantivo-admin-ink) !important;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem) !important;
  line-height: 1.1 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .metric-row article small {
  grid-column: 1 / -1 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcuts {
  display: grid !important;
  grid-template-columns: minmax(13rem, .75fr) minmax(0, 2fr) !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1rem 1.1rem !important;
  border-radius: .85rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  background: #ffffff !important;
  box-shadow: 0 .5rem 1.25rem rgba(15, 39, 72, .05) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcut-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .65rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcut-card {
  min-height: 5.5rem !important;
  padding: .75rem !important;
  border-radius: .7rem !important;
  background: #ffffff !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-panel,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-panel,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-form,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table {
  padding: 1.1rem !important;
  border-radius: .85rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1.4fr) minmax(12rem, .7fr) auto !important;
  align-items: center !important;
  gap: 1rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-panel h3,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-panel h3,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-form h3,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table h3 {
  margin-bottom: .45rem !important;
  color: var(--mantivo-admin-ink) !important;
  letter-spacing: 0 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-amount {
  display: block !important;
  margin-top: .35rem !important;
  font-size: 1rem !important;
  font-variant-numeric: tabular-nums !important;
}

/* Project cost heading spacing 2026-10-21. */

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-panel p,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-panel .small {
  max-width: 68ch !important;
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-list,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-module-grid {
  gap: .65rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-card,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-module-grid > * {
  min-height: 5.5rem !important;
  padding: .8rem !important;
  border-radius: .75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-target-row :where(.btn, button, select) {
  min-height: 2.25rem !important;
  padding: .4rem .6rem !important;
  font-size: .875rem !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcuts {
  background: var(--mantivo-admin-surface) !important;
}

@media (max-width: 1100px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .metric-row,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcuts {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-panel {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 650px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .metric-row,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcut-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Project cost decision workspace refinement 2026-10-11. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-content {
  width: min(100%, 96rem) !important;
  margin-inline: auto !important;
  padding: 1rem clamp(1rem, 2.5vw, 2rem) 2.5rem !important;
  gap: 1rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-heading {
  min-height: 7rem !important;
  padding: 1.35rem 1.5rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .9rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 .35rem 1.1rem rgba(15, 39, 72, .07) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .metric-row {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .metric-row article {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .8rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcuts,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-panel,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-panel,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-form,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .9rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 .25rem 1rem rgba(15, 39, 72, .05) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcuts {
  padding: 1.25rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcut-grid {
  gap: .75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcut-card {
  min-height: 6rem !important;
  border-color: var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-panel {
  border-left: .3rem solid var(--mantivo-admin-primary) !important;
  padding: 1.1rem 1.25rem !important;
  box-shadow: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-panel,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-form,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table {
  padding: 1.25rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-card,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-module-grid > * {
  border-color: var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs :where(input, select, textarea) {
  border-color: var(--mantivo-admin-border) !important;
  border-radius: .6rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .table-wrap {
  margin-top: 1rem !important;
  border-color: var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .table th {
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .78rem !important;
  letter-spacing: .02em !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs :where(input, select, textarea):focus-visible,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs :where(a, button):focus-visible {
  outline: .2rem solid rgba(21, 94, 239, .35) !important;
  outline-offset: .15rem !important;
}

@media (max-width: 1100px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .metric-row,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 650px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-content {
    padding-inline: .75rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .metric-row,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcut-grid {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcuts,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-panel,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-form,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table {
    padding: 1rem !important;
  }
}

/* Project costs light workspace refinement 2026-10-11. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .metric-row,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcut-grid,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-module-grid {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-module-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)) !important;
}

@media (min-width: 651px) and (max-width: 1100px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-summary > article:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
  }
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.metric-row > article, .project-cost-shortcut-card, .project-cost-decision-card, .project-cost-module-grid > *) {
  min-width: 0 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-panel {
  grid-template-columns: minmax(0, 1.5fr) minmax(9rem, .7fr) auto !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .5rem !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.project-cost-shortcuts, .project-cost-shortcut-card, .project-cost-next-action-panel, .project-cost-decision-panel, .project-cost-decision-card, .project-cost-module-grid > *, #project-cost-form, #project-cost-table, .table-wrap),
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.project-cost-shortcuts, .project-cost-shortcut-card, .project-cost-next-action-panel, .project-cost-decision-panel, .project-cost-decision-card, .project-cost-module-grid > *, #project-cost-form, #project-cost-table, .table-wrap) {
  background: var(--mantivo-admin-surface) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

@media (max-width: 900px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-panel {
    grid-template-columns: 1fr !important;
  }
}

/* Referral Tabler migration block 2026-10-08. */
/* Referral surfaces use shared theme tokens 2026-10-15. */
.mantivo-tabler-referrals .admin-content {
  gap: 1.5rem !important;
}

.mantivo-tabler-referrals .admin-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1.25rem !important;
}

.mantivo-tabler-referrals .admin-actions,
.mantivo-tabler-referrals .compact-actions,
.mantivo-tabler-referrals .referral-next-action-actions,
.mantivo-tabler-referrals .inline-actions,
.mantivo-tabler-referrals .admin-empty-state-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
}

.mantivo-tabler-referrals .referral-metrics,
.mantivo-tabler-referrals .referral-decision-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)) !important;
  gap: .9rem !important;
}

.mantivo-tabler-referrals .referral-metrics article,
.mantivo-tabler-referrals .referral-decision-card,
.mantivo-tabler-referrals .referral-empty-state {
  min-height: 7rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: .45rem !important;
  justify-content: space-between !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 1rem !important;
  background: var(--mantivo-admin-subtle) !important;
  padding: 1rem !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

.mantivo-tabler-referrals .referral-next-action-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, auto) minmax(12rem, auto) !important;
  align-items: center !important;
  gap: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 1rem !important;
  background: var(--mantivo-admin-subtle) !important;
  padding: clamp(1.1rem, 2vw, 1.6rem) !important;
}

.mantivo-tabler-referrals .referral-decision-panel,
.mantivo-tabler-referrals .referral-data-panel {
  padding: clamp(1.1rem, 2vw, 1.6rem) !important;
}

.mantivo-tabler-referrals .section-heading-row {
  display: flex !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  align-items: flex-start !important;
  margin-bottom: 1rem !important;
}

.mantivo-tabler-referrals .referral-next-action-meta {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: .35rem .75rem !important;
  margin: 0 !important;
}

.mantivo-tabler-referrals .referral-next-action-meta dt,
.mantivo-tabler-referrals .referral-decision-badge,
.mantivo-tabler-referrals .referral-decision-total {
  color: var(--mantivo-admin-primary) !important;
  font-size: .78rem !important;
  font-weight: 850 !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
}

.mantivo-tabler-referrals .referral-next-action-meta dd {
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 750 !important;
}

.mantivo-tabler-referrals .referral-decision-badge,
.mantivo-tabler-referrals .referral-decision-total {
  display: inline-flex !important;
  width: fit-content !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 999px !important;
  background: var(--mantivo-admin-page) !important;
  padding: .4rem .7rem !important;
}

.mantivo-tabler-referrals .filter-form {
  display: grid !important;
  grid-template-columns: minmax(8rem, .35fr) minmax(12rem, 1fr) auto auto !important;
  gap: .75rem !important;
  align-items: end !important;
}

.mantivo-tabler-referrals :where(label) {
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 800 !important;
}

.mantivo-tabler-referrals :where(select, input, textarea) {
  width: 100% !important;
  min-height: 2.9rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .85rem !important;
  background: var(--mantivo-admin-surface) !important;
  padding: .7rem .85rem !important;
  color: var(--mantivo-admin-ink) !important;
  font: inherit !important;
}

.mantivo-tabler-referrals :where(select, input, textarea):focus {
  border-color: var(--mantivo-admin-primary) !important;
  box-shadow: 0 0 0 .2rem rgba(245, 159, 0, .24) !important;
}

.mantivo-tabler-referrals :where(.admin-actions, .compact-actions, .referral-next-action-actions, .inline-actions, .admin-empty-state-actions, .filter-form, .table-wrap) :where(.btn, button) {
  min-height: 2.5rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .45rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .85rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-primary) !important;
  padding: .55rem .9rem !important;
  font: inherit !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.mantivo-tabler-referrals :where(.admin-actions, .compact-actions, .referral-next-action-actions, .inline-actions, .admin-empty-state-actions, .filter-form, .table-wrap) :where(.btn, button):hover,
.mantivo-tabler-referrals :where(.admin-actions, .compact-actions, .referral-next-action-actions, .inline-actions, .admin-empty-state-actions, .filter-form, .table-wrap) :where(.btn, button):focus-visible {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-primary-hover) !important;
}

.mantivo-tabler-referrals :where(.admin-actions, .compact-actions, .referral-next-action-actions, .admin-empty-state-actions) .btn-primary {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-primary) !important;
  color: #ffffff !important;
}

.mantivo-tabler-referrals button.btn-outline-danger {
  border-color: #b42318 !important;
  background: #ffffff !important;
  color: #a61b13 !important;
}

.mantivo-tabler-referrals button.btn-outline-danger:hover,
.mantivo-tabler-referrals button.btn-outline-danger:focus-visible {
  border-color: #8f1d14 !important;
  background: #fff1f0 !important;
  color: #8f1d14 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals button.btn-outline-danger {
  border-color: #b42318 !important;
  background: #ffffff !important;
  color: #a61b13 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals button.btn-outline-danger:hover,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals button.btn-outline-danger:focus-visible {
  border-color: #8f1d14 !important;
  background: #fff1f0 !important;
  color: #8f1d14 !important;
}

.mantivo-tabler-referrals .table-wrap {
  overflow: auto !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 1rem !important;
  background: var(--mantivo-admin-surface) !important;
}

.mantivo-tabler-referrals .table-wrap table {
  width: 100% !important;
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
}

.mantivo-tabler-referrals .table-wrap th {
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .82rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
}

.mantivo-tabler-referrals .table-wrap td,
.mantivo-tabler-referrals .table-wrap th {
  padding: .85rem !important;
  vertical-align: top !important;
}

.mantivo-tabler-referrals .referral-code-target-row a {
  overflow-wrap: anywhere !important;
}

.mantivo-tabler-referrals .referral-reward-target-row .inline-actions button {
  min-height: 2.35rem !important;
  padding: .45rem .65rem !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics article,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-card,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-empty-state,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-panel,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .table-wrap {
  background: var(--mantivo-admin-surface) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .admin-content :where(h2, h3, h4, strong, label, th) {
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .admin-content :where(p, small, li, span, .form-help) {
  color: var(--mantivo-admin-muted) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals :where(select, input, textarea),
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .table-wrap table {
  background: var(--mantivo-admin-surface) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .table-wrap th {
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
}

@media (max-width: 900px) {
  .mantivo-tabler-referrals .admin-heading,
  .mantivo-tabler-referrals .referral-next-action-panel,
  .mantivo-tabler-referrals .filter-form {
    grid-template-columns: 1fr !important;
  }

  .mantivo-tabler-referrals .section-heading-row {
    display: grid !important;
  }
}

/* Referrals visual hierarchy 2026-10-11. Referral workflow refinement 2026-10-11. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .admin-content {
  gap: 1.25rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .admin-heading {
  padding: 1.15rem 1.35rem !important;
  border-radius: .85rem !important;
  box-shadow: 0 .25rem 1rem rgba(15, 39, 72, .06) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: .65rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics article {
  min-height: 6.5rem !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  gap: .25rem .75rem !important;
  padding: 1rem 1.1rem !important;
  border-radius: .8rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics article > span,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics article > small {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics article > strong {
  color: var(--mantivo-admin-ink) !important;
  font-size: clamp(1.2rem, 1.7vw, 1.65rem) !important;
  line-height: 1.1 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics article small {
  grid-column: 1 / -1 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-panel,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-panel,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-data-panel {
  padding: 1.1rem !important;
  border-radius: .85rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1.4fr) minmax(12rem, .7fr) auto !important;
  align-items: center !important;
  gap: .85rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 .5rem 1.25rem rgba(15, 39, 72, .05) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-list {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .65rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-card {
  min-height: 7rem !important;
  padding: 1rem !important;
  border-radius: .75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-panel h3,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-panel h3,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-data-panel h3 {
  margin-bottom: .45rem !important;
  color: var(--mantivo-admin-ink) !important;
  letter-spacing: 0 !important;
}

/* Referral heading spacing 2026-10-21. */

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-panel p,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-panel .small {
  max-width: 68ch !important;
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row .inline-actions {
  max-width: 18rem !important;
  gap: .3rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row .inline-actions :where(.btn, button, select) {
  min-height: 2.25rem !important;
  padding: .4rem .6rem !important;
  font-size: .875rem !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-panel {
  background: var(--mantivo-admin-surface) !important;
}

@media (max-width: 1100px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 650px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-list,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row .inline-actions {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-panel {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row .inline-actions {
    max-width: none !important;
  }

  /* Referral decision actions touch layout 2026-10-21. */
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-actions > :where(a, form) {
    width: 100% !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-actions > form {
    display: grid !important;
    margin: 0 !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-actions :where(.btn, button) {
    width: 100% !important;
  }
}

/* Referral operations workspace refinement 2026-10-11. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .admin-content {
  width: min(100%, 96rem) !important;
  margin-inline: auto !important;
  padding: 1rem clamp(1rem, 2.5vw, 2rem) 2.5rem !important;
  gap: 1rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .admin-heading {
  min-height: 7rem !important;
  padding: 1.35rem 1.5rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .9rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 .35rem 1.1rem rgba(15, 39, 72, .07) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics article {
  min-height: 6.5rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .8rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-panel,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-panel,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-data-panel {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .9rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 .25rem 1rem rgba(15, 39, 72, .05) !important;
  padding: 1.25rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-panel {
  border-left: .3rem solid var(--mantivo-admin-primary) !important;
  box-shadow: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-list {
  gap: .75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-card,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-empty-state {
  border-color: var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-subtle) !important;
  box-shadow: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .filter-form {
  display: grid !important;
  grid-template-columns: minmax(12rem, 1fr) minmax(12rem, 1fr) auto !important;
  gap: .75rem !important;
  align-items: end !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals :where(select, input, textarea) {
  border-color: var(--mantivo-admin-border) !important;
  border-radius: .6rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .table-wrap {
  margin-top: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-codes-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: .5rem !important;
  min-height: 2.75rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-codes-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-codes-summary h3 {
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-codes-summary__state {
  color: var(--mantivo-admin-primary) !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-codes-summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .table-wrap th {
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .78rem !important;
  letter-spacing: .02em !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-code-target-row,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row {
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row .inline-actions {
  max-width: 20rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals :where(select, input, textarea):focus-visible,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals :where(a, button):focus-visible {
  outline: .2rem solid rgba(21, 94, 239, .35) !important;
  outline-offset: .15rem !important;
}

@media (max-width: 1100px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .filter-form {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 650px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .admin-content {
    padding-inline: .75rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .filter-form {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-panel,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-panel,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-data-panel {
    padding: 1rem !important;
  }
}

/* Referrals decision workspace refinement 2026-10-11. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics article {
  min-width: 0 !important;
  min-height: 6.75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-panel {
  grid-template-columns: minmax(0, 1.25fr) minmax(15rem, .85fr) minmax(14rem, auto) !important;
  border-left-width: .35rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-actions,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .filter-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: .5rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .filter-form {
  display: block !important;
}

/* Keep the filter grouped without adding a second visual panel. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-filter-fieldset {
  display: grid !important;
  grid-template-columns: minmax(14rem, 1fr) auto !important;
  gap: .75rem !important;
  align-items: end !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-filter-fieldset .filter-field {
  display: grid !important;
  gap: .4rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-filter-fieldset .filter-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: end !important;
  gap: .5rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .filter-field {
  display: grid !important;
  gap: .4rem !important;
  min-width: 0 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .filter-actions :where(.btn, button) {
  min-width: 8.75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-card {
  align-content: start !important;
  gap: .6rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-identity {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: .2rem .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-code {
  overflow-wrap: anywhere !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: .875rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-credit {
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.05rem !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row .inline-actions {
  /* Referral reward actions keep their labels readable in the table 2026-10-14. */
  display: flex !important;
  flex-wrap: wrap !important;
  max-width: none !important;
  min-width: 22rem !important;
  align-items: stretch !important;
  gap: .65rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row .inline-actions :where(.btn, button) {
  flex: 1 1 10rem !important;
  min-width: 10rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row > td:last-child {
  min-width: 25rem !important;
}

@media (max-width: 900px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row > td:last-child {
    min-width: 19rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row .inline-actions {
    min-width: 0 !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row .inline-actions :where(.btn, button) {
    flex-basis: 100% !important;
  }
}

/* Referral table row actions touch layout 2026-10-21. */
@media (max-width: 720px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row > td:last-child:has(.inline-actions) {
    min-width: 18rem !important;
    padding: .9rem !important;
    background: var(--mantivo-admin-subtle) !important;
    border-inline-start: .25rem solid var(--mantivo-admin-primary) !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row .inline-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: .5rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row .inline-actions :where(.btn, button) {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 2.75rem !important;
  }
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals :where(.btn-primary, .btn-success) {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-primary) !important;
  color: #ffffff !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .btn-success {
  border-color: #087443 !important;
  background: #087443 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals :where(.btn-primary, .btn-success):hover,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals :where(.btn-primary, .btn-success):focus-visible {
  filter: brightness(.9) !important;
}

@media (max-width: 900px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-panel,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .filter-form {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-filter-fieldset {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-filter-fieldset .filter-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-actions,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .filter-actions {
    justify-content: flex-start !important;
  }
}

/* Referral workspace hierarchy refinement 2026-10-15. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .admin-heading {
  min-height: 0 !important;
  padding: 1.15rem 1.35rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 1px 2px rgba(19, 39, 72, .05) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .admin-heading h2 {
  max-width: 32ch !important;
  font-size: clamp(1.6rem, 2.4vw, 2.35rem) !important;
  line-height: 1.12 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals :where(.referral-next-action-panel, .referral-decision-panel, .referral-data-panel, .table-wrap) {
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals :where(.referral-metrics article, .referral-decision-card, .referral-empty-state) {
  border-radius: .65rem !important;
}

/* Referral action surface refinement 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .admin-heading {
  padding: 0 0 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .admin-heading .admin-actions {
  align-self: end !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-panel {
  border-left: .3rem solid var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-subtle) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-actions {
  align-self: end !important;
}

/* Referral decision strip refinement 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-panel {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-panel .section-heading-row {
  margin-bottom: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-card {
  min-height: 8rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-actions {
  display: grid !important;
  gap: .65rem !important;
  margin-top: auto !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-actions .inline-actions {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)) !important;
  gap: .5rem !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-actions .btn {
  min-width: 0 !important;
  width: 100% !important;
  white-space: normal !important;
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .admin-heading {
    grid-template-columns: minmax(0, 1fr) !important;
    padding-bottom: .85rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .admin-heading > div {
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .admin-heading .compact-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: .35rem !important;
    overflow: visible !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .admin-heading .compact-actions > a {
    flex: 1 1 max-content !important;
    min-width: 0 !important;
    width: 100% !important;
    white-space: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-panel {
    border-left-width: .25rem !important;
  }
}

/* Trade request Tabler migration block 2026-10-08. */
/* Trade request work surface cleanup 2026-10-15. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.module-request-next-action-panel, .module-request-demand-panel, .module-request-candidate-panel, .module-request-sla-panel, .module-request-priority-panel) {
  border-radius: .7rem !important;
  box-shadow: none !important;
}

.mantivo-tabler-trade-requests .admin-content {
  gap: 1.5rem !important;
}

.mantivo-tabler-trade-requests .admin-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1.25rem !important;
  padding: clamp(1.1rem, 2vw, 1.6rem) !important;
}

.mantivo-tabler-trade-requests .admin-actions,
.mantivo-tabler-trade-requests .compact-actions,
.mantivo-tabler-trade-requests .module-request-next-action-actions,
.mantivo-tabler-trade-requests .module-request-empty-actions,
.mantivo-tabler-trade-requests .module-request-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
}

.mantivo-tabler-trade-requests .module-request-metrics,
.mantivo-tabler-trade-requests .module-request-demand-grid,
.mantivo-tabler-trade-requests .module-request-candidate-grid,
.mantivo-tabler-trade-requests .module-request-sla-list,
.mantivo-tabler-trade-requests .module-request-priority-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)) !important;
  gap: .9rem !important;
}

.mantivo-tabler-trade-requests .module-request-candidate-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)) !important;
}

.mantivo-tabler-trade-requests .module-request-metrics article,
.mantivo-tabler-trade-requests .module-request-demand-card,
.mantivo-tabler-trade-requests .module-request-candidate-card,
.mantivo-tabler-trade-requests .module-request-sla-card,
.mantivo-tabler-trade-requests .module-request-priority-card,
.mantivo-tabler-trade-requests .module-request-sla-empty {
  min-height: 7.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: .5rem !important;
  justify-content: space-between !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 1rem !important;
  background: var(--mantivo-admin-subtle) !important;
  padding: 1rem !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

.mantivo-tabler-trade-requests .module-request-next-action-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, auto) minmax(13rem, auto) !important;
  align-items: center !important;
  gap: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 1rem !important;
  background: var(--mantivo-admin-subtle) !important;
  padding: clamp(1.1rem, 2vw, 1.6rem) !important;
}

.mantivo-tabler-trade-requests .admin-panel.card {
  padding: clamp(1.1rem, 2vw, 1.6rem) !important;
}

.mantivo-tabler-trade-requests .section-heading-row {
  display: flex !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  align-items: flex-start !important;
  margin-bottom: 1rem !important;
}

.mantivo-tabler-trade-requests .module-request-next-action-meta {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: .35rem .75rem !important;
  margin: 0 !important;
}

.mantivo-tabler-trade-requests .module-request-next-action-meta dt,
.mantivo-tabler-trade-requests .module-request-demand-total,
.mantivo-tabler-trade-requests .module-request-sla-total,
.mantivo-tabler-trade-requests .module-request-priority-label,
.mantivo-tabler-trade-requests .module-request-sla-badge,
.mantivo-tabler-trade-requests .module-request-status {
  color: var(--mantivo-admin-primary) !important;
  font-size: .78rem !important;
  font-weight: 850 !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
}

.mantivo-tabler-trade-requests .module-request-next-action-meta dd {
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 750 !important;
}

.mantivo-tabler-trade-requests .module-request-demand-total,
.mantivo-tabler-trade-requests .module-request-sla-total,
.mantivo-tabler-trade-requests .module-request-priority-label,
.mantivo-tabler-trade-requests .module-request-sla-badge,
.mantivo-tabler-trade-requests .module-request-status {
  display: inline-flex !important;
  width: fit-content !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 999px !important;
  background: var(--mantivo-admin-page) !important;
  padding: .35rem .65rem !important;
}

/* Trade request status tones 2026-10-21. */
.mantivo-tabler-trade-requests .module-request-status-new {
  border-color: #93b7ff !important;
  color: #1e40af !important;
}

.mantivo-tabler-trade-requests .module-request-status-reviewing {
  border-color: #f1c27d !important;
  color: #92400e !important;
}

.mantivo-tabler-trade-requests .module-request-status-planned {
  border-color: #67e8f9 !important;
  color: #155e75 !important;
}

.mantivo-tabler-trade-requests .module-request-status-contacted {
  border-color: #86efac !important;
  color: #166534 !important;
}

.mantivo-tabler-trade-requests .module-request-status-dismissed {
  border-color: #cbd5e1 !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
}

/* Trade request status surfaces 2026-10-21. */
.mantivo-tabler-trade-requests .module-request-status-new {
  background: #eaf2ff !important;
}

.mantivo-tabler-trade-requests .module-request-status-reviewing {
  background: #fff8e1 !important;
}

.mantivo-tabler-trade-requests .module-request-status-planned {
  background: #ecfeff !important;
}

.mantivo-tabler-trade-requests .module-request-status-contacted {
  background: #ecfdf3 !important;
}

/* Trade request dark status surfaces 2026-10-21. */
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-new,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-new {
  border-color: #93b7ff !important;
  background: #eaf2ff !important;
  color: #1e40af !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-reviewing,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-reviewing {
  border-color: #f1c27d !important;
  background: #fff8e1 !important;
  color: #92400e !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-planned,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-planned {
  border-color: #67e8f9 !important;
  background: #ecfeff !important;
  color: #155e75 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-contacted,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-contacted {
  border-color: #86efac !important;
  background: #ecfdf3 !important;
  color: #166534 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-dismissed,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-dismissed {
  border-color: #cbd5e1 !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
}

/* Trade request status alignment 2026-10-21. */
.mantivo-tabler-trade-requests .module-request-status-badge {
  min-width: 8rem !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

.mantivo-tabler-trade-requests :where(.module-request-demand-decision, .module-request-candidate-shortlist, .module-request-candidate-validation, .module-request-candidate-plan, .module-request-candidate-blueprint, .module-request-candidate-prepublication, .module-request-candidate-assets, .module-request-candidate-visual-brief) {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .9rem !important;
  background: var(--mantivo-admin-surface) !important;
  padding: .85rem !important;
}

.mantivo-tabler-trade-requests .filter-form {
  display: block !important;
}

/* Trade request filter fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-fieldset {
  display: grid !important;
  grid-template-columns: minmax(12rem, 1fr) auto !important;
  gap: .75rem !important;
  align-items: end !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-fieldset .filter-field {
  display: grid !important;
  gap: .35rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-fieldset .filter-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .5rem !important;
  align-items: end !important;
}

.mantivo-tabler-trade-requests :where(label) {
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 800 !important;
}

.mantivo-tabler-trade-requests :where(select, input, textarea) {
  width: 100% !important;
  min-height: 2.9rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .85rem !important;
  background: var(--mantivo-admin-surface) !important;
  padding: .7rem .85rem !important;
  color: var(--mantivo-admin-ink) !important;
  font: inherit !important;
}

.mantivo-tabler-trade-requests :where(select, input, textarea):focus {
  border-color: var(--mantivo-admin-primary) !important;
  box-shadow: 0 0 0 .2rem rgba(245, 159, 0, .24) !important;
}

.mantivo-tabler-trade-requests :where(.admin-actions, .compact-actions, .module-request-next-action-actions, .module-request-empty-actions, .module-request-actions, .filter-form, .table-wrap) :where(.btn, button) {
  min-height: 2.5rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .45rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .85rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-primary) !important;
  padding: .55rem .9rem !important;
  font: inherit !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.mantivo-tabler-trade-requests :where(.admin-actions, .compact-actions, .module-request-next-action-actions, .module-request-empty-actions, .module-request-actions, .filter-form, .table-wrap) :where(.btn, button):hover,
.mantivo-tabler-trade-requests :where(.admin-actions, .compact-actions, .module-request-next-action-actions, .module-request-empty-actions, .module-request-actions, .filter-form, .table-wrap) :where(.btn, button):focus-visible {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-primary-hover) !important;
}

.mantivo-tabler-trade-requests .module-request-actions button.btn-outline-danger,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-actions button.btn-outline-danger {
  border-color: #b42318 !important;
  background: #fff !important;
  color: #a61b13 !important;
}

.mantivo-tabler-trade-requests .module-request-actions button.btn-outline-danger:hover,
.mantivo-tabler-trade-requests .module-request-actions button.btn-outline-danger:focus-visible,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-actions button.btn-outline-danger:hover,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-actions button.btn-outline-danger:focus-visible {
  border-color: #8f1d14 !important;
  background: #fff1f0 !important;
  color: #8f1d14 !important;
}

.mantivo-tabler-trade-requests :where(.admin-actions, .compact-actions, .module-request-next-action-actions, .module-request-empty-actions) .btn-primary {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-primary) !important;
  color: #ffffff !important;
}

.mantivo-tabler-trade-requests .table-wrap {
  overflow: auto !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 1rem !important;
  background: var(--mantivo-admin-surface) !important;
}

/* Trade request filter result context 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-summary {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: .35rem .75rem !important;
  margin: .9rem 0 0 !important;
  padding-top: .85rem !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.45 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-summary > span {
  color: var(--mantivo-admin-primary) !important;
  font-size: .78rem !important;
  font-weight: 850 !important;
  text-transform: uppercase !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-summary > strong {
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-summary > small {
  color: var(--mantivo-admin-muted) !important;
}

/* Referral data surface cleanup 2026-10-17. */
/* Referral global heading surface 2026-10-17. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .admin-heading.is-global-operations {
  padding-inline: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-data-panel {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-data-panel > h3 {
  margin: 0 0 .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-filter-panel {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-filter-disclosure {
  border-top: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-filter-disclosure > summary {
  min-height: 44px !important;
  padding: .65rem .25rem !important;
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-filter-disclosure > summary small {
  margin-inline-start: .5rem !important;
  color: var(--mantivo-admin-muted) !important;
  font-weight: 500 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-filter-disclosure > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-filter-disclosure > .filter-form {
  padding: .25rem 0 .75rem !important;
}

/* Referral filter result context 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-filter-summary {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: .35rem .75rem !important;
  margin: 0 !important;
  padding-top: .65rem !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
  background: transparent !important;
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.45 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-filter-summary > span {
  color: var(--mantivo-admin-primary) !important;
  font-size: .78rem !important;
  font-weight: 850 !important;
  text-transform: uppercase !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-filter-summary > strong {
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-filter-summary > small {
  color: var(--mantivo-admin-muted) !important;
}

/* Referral summary metrics without generic cards 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-summary-metric {
  min-width: 0 !important;
  min-height: 6.5rem !important;
  display: grid !important;
  align-content: start !important;
  gap: .35rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .8rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-summary-metric :where(span, small) {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-summary-metric strong {
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.45rem !important;
  line-height: 1.1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-code-actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: .5rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-code-actions .referral-copy-status:not(:empty) {
  flex-basis: 100% !important;
  color: var(--mantivo-admin-muted) !important;
}

/* Referral row actions follow the current reward state 2026-10-19. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-row-closed {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 2.35rem !important;
  padding: .45rem .65rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .6rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: .9rem !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
}

/* Referral reward status tones 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-status-badge {
  min-width: 9rem !important;
  justify-content: center !important;
  white-space: nowrap !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-status-pending {
  border-color: #f1c27d !important;
  color: #92400e !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-status-approved {
  border-color: #93b7ff !important;
  color: #1e40af !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-status-redeemed {
  border-color: #86efac !important;
  color: #166534 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-status-void {
  border-color: #cbd5e1 !important;
  color: #475569 !important;
}

/* Referral reward dark status surfaces 2026-10-21. */
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-status-pending {
  border-color: #f59e0b !important;
  background: rgba(120, 53, 15, .52) !important;
  color: #fde68a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-status-approved {
  border-color: #60a5fa !important;
  background: rgba(30, 64, 175, .62) !important;
  color: #dbeafe !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-status-redeemed {
  border-color: #4ade80 !important;
  background: rgba(20, 83, 45, .55) !important;
  color: #bbf7d0 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-status-void {
  border-color: #64748b !important;
  background: #334155 !important;
  color: #e2e8f0 !important;
}

/* Referral decision badges 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-width: 10rem !important;
  min-height: 2rem !important;
  padding: .35rem .65rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 999px !important;
  background: var(--mantivo-admin-page) !important;
  text-align: center !important;
  white-space: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-badge-high {
  border-color: #f3b4bd !important;
  background: #fff1f2 !important;
  color: #b42318 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-badge-medium {
  border-color: #efd48a !important;
  background: #fff8e1 !important;
  color: #8a5a00 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-badge-low {
  border-color: #a9d7ef !important;
  background: #eaf6ff !important;
  color: #075985 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-badge-ok {
  border-color: #b7e0c6 !important;
  background: #ecfdf3 !important;
  color: #166534 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals :where(.referral-codes-panel, .referral-rewards-panel) .table-wrap {
  margin-top: 0 !important;
}

.mantivo-tabler-trade-requests .table-wrap table {
  width: 100% !important;
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
}

.mantivo-tabler-trade-requests .table-wrap th {
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .82rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
}

.mantivo-tabler-trade-requests .table-wrap td,
.mantivo-tabler-trade-requests .table-wrap th {
  padding: .85rem !important;
  vertical-align: top !important;
}

.mantivo-tabler-trade-requests .trade-request-target-row small,
.mantivo-tabler-trade-requests .module-request-candidate-card small,
.mantivo-tabler-trade-requests .module-request-demand-card small {
  display: block !important;
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.45 !important;
}

.mantivo-tabler-trade-requests .module-request-candidate-card {
  max-height: 32rem !important;
  justify-content: flex-start !important;
  overflow: auto !important;
}

.mantivo-tabler-trade-requests .module-request-candidate-card > :where(p, small) {
  max-width: 70ch !important;
}

.mantivo-tabler-trade-requests .module-request-candidate-card :where(.module-request-candidate-plan, .module-request-candidate-blueprint, .module-request-candidate-prepublication, .module-request-candidate-assets, .module-request-candidate-visual-brief) {
  max-height: 12rem !important;
  overflow: auto !important;
}

.mantivo-tabler-trade-requests .module-request-actions button {
  min-height: 2.35rem !important;
  padding: .45rem .65rem !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics article,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-demand-card,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-card,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-sla-card,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-priority-card,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-sla-empty,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-panel,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.module-request-demand-decision, .module-request-candidate-shortlist, .module-request-candidate-validation, .module-request-candidate-plan, .module-request-candidate-blueprint, .module-request-candidate-prepublication, .module-request-candidate-assets, .module-request-candidate-visual-brief),
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .table-wrap {
  background: var(--mantivo-admin-surface) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

/* Module request candidate disclosure 2026-10-14. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-card {
  max-height: none !important;
  overflow: visible !important;
  justify-content: flex-start !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-summary {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: .35rem .75rem !important;
  align-items: start !important;
  cursor: pointer !important;
  list-style: none !important;
  margin: -.15rem !important;
  padding: .15rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-summary::after {
  content: '+' !important;
  grid-column: 2 !important;
  grid-row: 1 / span 4 !important;
  align-self: center !important;
  display: grid !important;
  place-items: center !important;
  width: 2rem !important;
  height: 2rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 50% !important;
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-primary) !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-card[open] .module-request-candidate-summary::after {
  content: '−' !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-summary:focus-visible {
  outline: 3px solid var(--mantivo-admin-focus) !important;
  outline-offset: 3px !important;
  border-radius: .5rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-summary > :where(span, strong, small) {
  min-width: 0 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-summary > span:first-child {
  color: var(--mantivo-admin-primary) !important;
  font-size: .78rem !important;
  font-weight: 850 !important;
  text-transform: uppercase !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-summary > strong {
  font-size: 1.08rem !important;
  line-height: 1.25 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-summary > span:nth-child(3),
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-summary > small {
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.45 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-content {
  display: grid !important;
  gap: .75rem !important;
  margin-top: .9rem !important;
  padding-top: .9rem !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
}

@media (max-width: 600px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-summary {
    grid-template-columns: minmax(0, 1fr) 2rem !important;
  }
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-content :where(h2, h3, h4, strong, label, dt, th) {
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-content :where(p, small, li, span, dd, .form-help) {
  color: var(--mantivo-admin-muted) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(select, input, textarea),
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .table-wrap table {
  background: var(--mantivo-admin-surface) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .table-wrap th {
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
}

@media (max-width: 900px) {
  .mantivo-tabler-trade-requests .admin-heading,
  .mantivo-tabler-trade-requests .module-request-next-action-panel,
  .mantivo-tabler-trade-requests .filter-form {
    grid-template-columns: 1fr !important;
  }

  .mantivo-tabler-trade-requests .section-heading-row {
    display: grid !important;
  }
}

/* Trade requests visual hierarchy 2026-10-11. Trade request workflow refinement 2026-10-11. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-content {
  gap: 1rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-heading,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-panel.card {
  border-radius: .75rem !important;
  padding: 1rem !important;
  box-shadow: 0 1px 2px rgba(19, 39, 72, .06) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-heading {
  align-items: start !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-heading h2 {
  max-width: 42rem !important;
  margin: 0 !important;
  font-size: clamp(1.35rem, 2vw, 1.8rem) !important;
  line-height: 1.15 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics article {
  min-height: 7rem !important;
  padding: 1rem !important;
  border-radius: .75rem !important;
  gap: .35rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics article :where(span, small) {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics article strong {
  font-size: 1.45rem !important;
  line-height: 1.05 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-panel {
  grid-template-columns: minmax(0, 1.4fr) minmax(12rem, .7fr) auto !important;
  gap: .85rem !important;
  padding: 1rem !important;
  border-radius: .75rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 .5rem 1.25rem rgba(15, 39, 72, .05) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-meta {
  grid-template-columns: max-content minmax(0, 1fr) !important;
  gap: .25rem .65rem !important;
}

@media (max-width: 420px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-meta {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-demand-grid,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-grid,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-sla-list,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-priority-grid {
  gap: .75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.module-request-demand-card, .module-request-candidate-card, .module-request-sla-card, .module-request-priority-card, .module-request-sla-empty) {
  min-height: 0 !important;
  border-radius: .75rem !important;
  padding: .85rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-card,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-card :where(.module-request-candidate-plan, .module-request-candidate-blueprint, .module-request-candidate-prepublication, .module-request-candidate-assets, .module-request-candidate-visual-brief) {
  max-height: none !important;
  overflow: visible !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.module-request-demand-decision, .module-request-candidate-shortlist, .module-request-candidate-validation, .module-request-candidate-plan, .module-request-candidate-blueprint, .module-request-candidate-prepublication, .module-request-candidate-assets, .module-request-candidate-visual-brief) {
  padding: .7rem !important;
  border-radius: .6rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .section-heading-row {
  align-items: center !important;
  margin-bottom: .75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .section-heading-row h3 {
  margin: 0 !important;
  font-size: 1.05rem !important;
  line-height: 1.25 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-panel.card h3 {
  letter-spacing: 0 !important;
}

/* Trade request heading spacing 2026-10-21. */

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-panel p,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .section-heading-row .small {
  max-width: 68ch !important;
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .filter-form {
  grid-template-columns: minmax(14rem, 1fr) auto auto !important;
  gap: .6rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .table-wrap {
  border-radius: .75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .table-wrap tbody tr:hover {
  background: var(--mantivo-admin-page) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-actions {
  min-width: 12rem !important;
  align-items: flex-start !important;
}

/* Trade request action hierarchy refinement 2026-10-13. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-actions {
  position: relative !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-actions > summary {
  list-style: none !important;
  cursor: pointer !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-actions-summary {
  display: grid !important;
  justify-items: start !important;
  gap: .12rem !important;
  min-width: 11rem !important;
  text-align: start !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-actions-summary small {
  color: var(--mantivo-admin-muted) !important;
  font-size: .72rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-actions > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-actions[open] > summary {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-primary-hover) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-actions[open] > summary small {
  color: var(--mantivo-admin-primary-hover) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-actions-panel {
  display: grid !important;
  gap: .35rem !important;
  min-width: 12rem !important;
  margin-top: .4rem !important;
  padding: .5rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 .5rem 1.25rem rgba(15, 23, 42, .12) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-actions-panel form,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-actions-panel button {
  width: 100% !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-panel,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .table-wrap tbody tr:hover {
  background: var(--mantivo-admin-surface) !important;
}

@media (max-width: 1080px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-panel,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .filter-form {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-fieldset {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-fieldset .filter-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-actions {
    min-width: 0 !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-status-actions-panel {
    min-width: 0 !important;
  }

  /* Trade request action bands touch layout 2026-10-21. */
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.module-request-next-action-actions, .module-request-actions, .module-request-empty-actions) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-actions .btn {
    min-height: 44px !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.module-request-next-action-actions, .module-request-actions, .module-request-empty-actions) > :where(a, form, details) {
    width: 100% !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.module-request-next-action-actions, .module-request-actions, .module-request-empty-actions) > form {
    display: grid !important;
    margin: 0 !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-actions > .module-request-status-actions,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-actions > .module-request-status-actions > summary,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.module-request-next-action-actions, .module-request-actions, .module-request-empty-actions) :where(.btn, button) {
    width: 100% !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-empty-actions > .btn {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

/* Trade request operations workspace refinement 2026-10-11. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-content {
  width: min(100%, 96rem) !important;
  margin-inline: auto !important;
  padding: 1rem clamp(1rem, 2.5vw, 2rem) 2.5rem !important;
  gap: 1rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-heading {
  min-height: 7rem !important;
  padding: 1.35rem 1.5rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .9rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 .35rem 1.1rem rgba(15, 39, 72, .07) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics article {
  min-height: 6.5rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .8rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-panel.card,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-panel {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .9rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 .25rem 1rem rgba(15, 39, 72, .05) !important;
  padding: 1.25rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-panel {
  border-left: .3rem solid var(--mantivo-admin-primary) !important;
  box-shadow: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.module-request-demand-card, .module-request-candidate-card, .module-request-sla-card, .module-request-priority-card, .module-request-sla-empty) {
  border-color: var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-subtle) !important;
  box-shadow: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.module-request-demand-decision, .module-request-candidate-shortlist, .module-request-candidate-validation, .module-request-candidate-plan, .module-request-candidate-blueprint, .module-request-candidate-prepublication, .module-request-candidate-assets, .module-request-candidate-visual-brief) {
  border-color: var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-demand-decision {
  padding: .75rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .filter-form {
  grid-template-columns: minmax(14rem, 1fr) auto auto !important;
  gap: .75rem !important;
  align-items: end !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(select, input, textarea) {
  border-color: var(--mantivo-admin-border) !important;
  border-radius: .6rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .table-wrap {
  margin-top: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .table-wrap th {
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .78rem !important;
  letter-spacing: .02em !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .trade-request-target-row {
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-actions {
  min-width: 13rem !important;
  gap: .4rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(select, input, textarea):focus-visible,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(a, button):focus-visible {
  outline: .2rem solid rgba(21, 94, 239, .35) !important;
  outline-offset: .15rem !important;
}

@media (max-width: 1080px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-content {
    padding-inline: .75rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .filter-form {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-panel.card,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-panel {
    padding: 1rem !important;
  }
}

/* Trade request decision workspace refinement 2026-10-11. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics article {
  min-width: 0 !important;
  min-height: 6.75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-demand-grid,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-grid,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-sla-list,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-priority-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-panel {
  grid-template-columns: minmax(0, 1.2fr) minmax(15rem, .8fr) minmax(14rem, auto) !important;
  border-left-width: .35rem !important;
}

/* Trade request heading surface refinement 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-heading {
  padding-inline: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .filter-form {
  grid-template-columns: minmax(14rem, 1fr) auto !important;
  align-items: end !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .filter-field {
  display: grid !important;
  gap: .4rem !important;
  min-width: 0 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .filter-actions,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: .5rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .filter-actions :where(.btn, button) {
  min-width: 8.75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  max-width: 24rem !important;
  gap: .4rem !important;
}

/* Trade request row decision band 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-actions-cell {
  min-width: 15rem !important;
  border-inline-start: 1px solid var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-actions-cell .module-request-actions {
  padding: .65rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-actions form {
  flex: 1 1 8.5rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-actions :where(.btn, button) {
  width: 100% !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .table-wrap table {
  min-width: 68rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .trade-request-target-row td {
  line-height: 1.45 !important;
}

@media (max-width: 900px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-panel,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .filter-form {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .filter-actions,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-actions {
    justify-content: flex-start !important;
  }
}

/* Trade request workspace hierarchy refinement 2026-10-15. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-heading {
  min-height: 0 !important;
  padding: 1.15rem 1.35rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 1px 2px rgba(19, 39, 72, .05) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-heading h2 {
  max-width: 32ch !important;
  font-size: clamp(1.6rem, 2.4vw, 2.35rem) !important;
  line-height: 1.12 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.admin-panel.card, .module-request-next-action-panel, .table-wrap) {
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics article {
  min-height: 5.75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.module-request-demand-card, .module-request-candidate-card, .module-request-sla-card, .module-request-priority-card, .module-request-sla-empty) {
  border-radius: .65rem !important;
}

/* Trade request signal workspace refinement 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.module-request-demand-panel, .module-request-candidate-panel, .module-request-sla-panel, .module-request-priority-panel) {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Trade request summary metrics without generic cards 2026-10-15. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-summary-metric {
  min-width: 0 !important;
  min-height: 6.5rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .8rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-summary-metric :where(span, small) {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-summary-metric strong {
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-metric {
  padding: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-metric a {
  display: flex !important;
  flex: 1 !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: .35rem !important;
  min-width: 0 !important;
  width: 100% !important;
  padding: 1rem !important;
  border-radius: inherit !important;
  color: inherit !important;
  text-decoration: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-metric a span {
  text-decoration: underline !important;
  text-underline-offset: .18rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-metric:is(:hover, :focus-within, .is-active) {
  border-color: var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-metric a:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.module-request-demand-panel, .module-request-candidate-panel, .module-request-sla-panel, .module-request-priority-panel) > .section-heading-row,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-priority-panel > h3 {
  margin: 0 0 .85rem !important;
  padding-bottom: .75rem !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-stats {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .5rem 1rem !important;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-stats li {
  display: flex !important;
  align-items: baseline !important;
  gap: .35rem !important;
  min-width: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .875rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-stats strong {
  color: var(--mantivo-admin-primary) !important;
  font-weight: 800 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-stats li,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-stats li span,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-stats li,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-stats li span {
  color: #52657a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-stats strong,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-stats strong {
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-panel > .section-heading-row :is(h3, p),
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-panel > .section-heading-row :is(h3, p) {
  color: #102033 !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-candidate-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.module-request-demand-card, .module-request-candidate-card, .module-request-sla-card, .module-request-priority-card, .module-request-sla-empty) {
  display: grid !important;
  align-content: start !important;
  gap: .45rem !important;
  min-height: 8rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.module-request-demand-card, .module-request-candidate-card, .module-request-sla-card, .module-request-priority-card):hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.module-request-demand-card, .module-request-candidate-card, .module-request-sla-card, .module-request-priority-card):focus-within {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-page) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-priority-card__meta {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: .4rem .6rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-priority-card__status {
  color: var(--mantivo-admin-ink) !important;
  font-size: .8rem !important;
  font-weight: 700 !important;
}

@media (max-width: 680px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.module-request-demand-panel, .module-request-candidate-panel, .module-request-sla-panel, .module-request-priority-panel) {
    padding: 0 !important;
  }
}

/* Trade requests mobile decision identity refinement 2026-10-15. */
@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-table {
    table-layout: fixed !important;
    min-width: 88rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-table :where(th, td):nth-child(1) {
    width: 10rem !important;
    min-width: 10rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-table :where(th, td):nth-child(2) {
    width: 11rem !important;
    min-width: 11rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-table :where(th, td):nth-child(3) {
    width: 15rem !important;
    min-width: 15rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-table :where(th, td):nth-child(4) {
    width: 18rem !important;
    min-width: 18rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-table :where(th, td):nth-child(-n + 4) {
    position: sticky !important;
    background: var(--mantivo-admin-surface) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-table :where(th, td):nth-child(1) {
    inset-inline-start: 0 !important;
    z-index: 4 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-table :where(th, td):nth-child(2) {
    inset-inline-start: 10rem !important;
    z-index: 3 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-table :where(th, td):nth-child(3) {
    inset-inline-start: 21rem !important;
    z-index: 2 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-table :where(th, td):nth-child(4) {
    inset-inline-start: 36rem !important;
    z-index: 1 !important;
    box-shadow: .4rem 0 .65rem -.6rem rgba(19, 34, 56, .55) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-table thead :where(th:nth-child(1), th:nth-child(2), th:nth-child(3), th:nth-child(4)) {
    background: var(--mantivo-admin-subtle) !important;
    z-index: 5 !important;
  }
}

/* Trade request data surface cleanup 2026-10-17. */
/* Trade request global heading surface 2026-10-17. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-heading.is-global-operations {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-panel,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-queue-panel {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.module-request-filter-panel, .module-request-queue-panel) > h3 {
  margin: 0 0 .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-panel {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-disclosure > summary {
  min-height: 44px !important;
  padding: .65rem 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-disclosure > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-disclosure[open] > .filter-form {
  margin-top: .5rem !important;
}

/* Modules Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .admin-main,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .admin-content {
  min-width: 0 !important;
  background: transparent !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .modules-page {
  width: min(100%, 96rem) !important;
  display: grid !important;
  gap: 1rem !important;
  margin-inline: auto !important;
  padding-block: .5rem 2rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules :where(.admin-heading, .module-priority-panel, .module-catalog-card) {
  min-width: 0 !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: 0 .25rem .8rem rgba(30, 58, 95, .05) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .admin-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1.15rem 1.25rem !important;
  border-inline-start: .3rem solid var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .admin-heading.is-global-operations {
  border-inline-start-color: var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .admin-heading h2 {
  max-width: 38ch !important;
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: clamp(1.5rem, 2.3vw, 2.15rem) !important;
  line-height: 1.12 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .admin-heading p {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .metric-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)) !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-summary-metric {
  display: grid !important;
  align-content: start !important;
  gap: .3rem !important;
  min-width: 0 !important;
  min-height: 6.25rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-summary-metric :where(span, small) {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-summary-metric strong {
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.5rem !important;
  line-height: 1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics-summary,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .admin-disclosure-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .75rem !important;
  min-height: 2.9rem !important;
  padding: .75rem 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
  list-style: none !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics-summary::-webkit-details-marker,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .admin-disclosure-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules :where(.module-secondary-metrics-summary, .admin-disclosure-summary):is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-page) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)) !important;
  gap: .75rem !important;
  padding-top: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics-grid .module-summary-metric {
  min-height: 5.5rem !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-decision-shortcuts {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-decision-shortcuts__toggle {
  margin-left: auto !important;
}

/* Module shortcuts disclosure state 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-decision-shortcuts__toggle-hide {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-decision-shortcuts[open] .module-decision-shortcuts__toggle-show {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-decision-shortcuts[open] .module-decision-shortcuts__toggle-hide {
  display: inline !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-decision-shortcuts__body {
  padding-top: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-decision-shortcut-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-decision-shortcut-card {
  display: grid !important;
  align-content: start !important;
  gap: .35rem !important;
  min-width: 0 !important;
  min-height: 6.5rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-decision-shortcut-card:is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-page) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-panel {
  display: grid !important;
  gap: .9rem !important;
  padding: 1.15rem 1.25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-summary {
  display: block !important;
  position: relative !important;
  padding-right: 2rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-summary::after {
  content: '+' !important;
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--mantivo-admin-primary) !important;
  font-size: 1.25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-panel[open] .module-priority-summary::after {
  content: '−' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-summary h3 {
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-panel:not([open]) > .module-priority-strip {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-strip {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-strip article {
  display: grid !important;
  grid-template-columns: 5rem minmax(0, 1fr) !important;
  align-items: center !important;
  gap: .75rem !important;
  min-width: 0 !important;
  padding: .7rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .6rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-visual {
  width: 5rem !important;
  height: 4rem !important;
  object-fit: cover !important;
  border-radius: .45rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-strip article :where(strong, span) {
  display: block !important;
  color: inherit !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-strip article span {
  margin-top: .2rem !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: .9rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr)) !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

@media (min-width: 721px) and (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-card {
  display: grid !important;
  align-content: start !important;
  gap: 1rem !important;
  min-width: 0 !important;
  padding: 1.15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-card > header {
  min-width: 0 !important;
  padding-bottom: .85rem !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-card-meta-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-card-meta-row .eyebrow {
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-card > header > h3 {
  min-width: 0 !important;
  margin: .6rem 0 .45rem !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.35rem !important;
  line-height: 1.15 !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-badge {
  display: inline-flex !important;
  align-items: center !important;
  min-width: 6.5rem !important;
  min-height: 1.9rem !important;
  justify-content: center !important;
  padding: .3rem .65rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 999px !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .875rem !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
  flex: 0 1 auto !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}

/* Module priority badges 2026-10-21. */
/* Module priority badge alignment 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-high {
  border-color: #fda4af !important;
  background: #fff1f2 !important;
  color: #9f1239 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-medium {
  border-color: #f1c27d !important;
  background: #fffaf0 !important;
  color: #92400e !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-low {
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--mantivo-admin-muted) !important;
  font-weight: 600 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-high {
  border-color: #fb7185 !important;
  background: #fff1f2 !important;
  color: #9f1239 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-medium {
  border-color: #d6a54a !important;
  background: #fff7e6 !important;
  color: #92400e !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-low {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-client-preview-strip {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: .75rem !important;
  min-width: 0 !important;
  padding: .9rem !important;
  border: 1px solid rgba(11, 94, 215, .35) !important;
  border-radius: .6rem !important;
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-client-preview-strip strong {
  display: block !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-client-preview-strip span {
  display: block !important;
  margin-top: .2rem !important;
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-client-preview-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-card-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-actions-panel {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-signal-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .5rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-signal-grid > span {
  min-width: 0 !important;
  padding: .65rem .7rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: .88rem !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-signal-grid strong {
  display: block !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.05rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules :where(.module-readiness-panel, .module-origin-panel, .module-sales-copy, .module-catalog-detail) {
  min-width: 0 !important;
  padding: .9rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .6rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules :where(.module-readiness-panel, .module-origin-panel, .module-sales-copy, .module-catalog-detail) h4 {
  margin: 0 0 .65rem !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: 1rem !important;
  line-height: 1.2 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-readiness-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .6rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-readiness-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .4rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-readiness-list > span {
  padding: .35rem .55rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .45rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: .82rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-readiness-list > .is-ready {
  border-color: #138a5b !important;
  background: #ecfdf3 !important;
  color: #087443 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-readiness-list > .is-pending {
  border-color: #a15c00 !important;
  background: #fff8e1 !important;
  color: #7a4300 !important;
}

/* Module readiness state surfaces 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-readiness-list > :where(.is-ready, .is-pending) {
  min-height: 2rem !important;
}

/* Module readiness state labels 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-readiness-list > span {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: .35rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-readiness-state {
  font-size: .68rem !important;
  font-weight: 850 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-origin-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-sales-copy-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-columns {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .65rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-origin-grid a {
  display: grid !important;
  gap: .2rem !important;
  min-width: 0 !important;
  padding: .65rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-origin-grid a:is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-page) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-origin-grid a strong {
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-origin-grid a span,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-sales-copy-grid :where(span, p) {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-origin-empty {
  margin: 0 !important;
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-origin-empty a {
  color: var(--mantivo-admin-primary) !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-sales-copy-grid article {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-sales-copy-grid article strong {
  display: block !important;
  color: var(--mantivo-admin-ink) !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-detail ul {
  margin: 0 !important;
  padding-inline-start: 1.1rem !important;
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-card-actions {
  padding-top: .85rem !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-actions {
  position: relative !important;
  min-width: 0 !important;
}

/* Module card action disclosure state 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-actions__toggle-hide {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-actions[open] .module-secondary-actions__toggle-show {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-actions[open] .module-secondary-actions__toggle-hide {
  display: inline !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-actions-panel {
  position: absolute !important;
  z-index: 5 !important;
  right: 0 !important;
  bottom: calc(100% + .4rem) !important;
  min-width: min(24rem, calc(100vw - 2rem)) !important;
  padding: .65rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .6rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 .75rem 1.5rem rgba(15, 23, 42, .18) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-actions-panel .btn {
  flex: 1 1 10rem !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules :where(.admin-heading, .module-summary-metric, .module-decision-shortcut-card, .module-priority-panel, .module-catalog-card, .module-client-preview-strip, .module-origin-grid a, .module-secondary-actions-panel) :where(a, button, summary):focus-visible {
  outline: 3px solid var(--mantivo-admin-focus) !important;
  outline-offset: 2px !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules :where(.admin-heading, .module-priority-panel, .module-catalog-card, .module-summary-metric, .module-decision-shortcut-card, .module-client-preview-strip, .module-secondary-metrics-summary, .module-secondary-actions-panel, .module-origin-grid a) {
  border-color: var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules :where(.module-signal-grid > span, .module-readiness-panel, .module-origin-panel, .module-sales-copy, .module-catalog-detail, .module-secondary-metrics-grid .module-summary-metric, .module-priority-strip article) {
  border-color: var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
}

@media (max-width: 1100px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .admin-heading {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-client-preview-strip {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-columns {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .metric-row,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-decision-shortcut-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-priority-strip,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-signal-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-origin-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-sales-copy-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-grid {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .modules-page {
    gap: .75rem !important;
    padding-block-end: 1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules :where(.admin-heading, .module-priority-panel, .module-catalog-card) {
    padding: 1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-actions-panel {
    left: auto !important;
    right: 0 !important;
    bottom: auto !important;
    top: calc(100% + .4rem) !important;
    min-width: 0 !important;
    width: min(24rem, calc(100vw - 3.5rem)) !important;
  }

  /* Modules action bands touch layout 2026-10-21. */
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules :where(.module-client-preview-actions, .module-card-actions) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules :where(.module-client-preview-actions, .module-card-actions) > :where(.btn, a, details) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-card-actions > .module-secondary-actions,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-card-actions > .module-secondary-actions > summary {
    width: 100% !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-card-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-card-actions > :where(.btn, a, details),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-card-actions > .module-secondary-actions {
    min-width: 0 !important;
    width: auto !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-card-actions > .btn,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-actions > summary {
    min-height: 44px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* The catalogue cards carry the visual grouping; keep the page heading unframed. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .admin-heading {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-card > header > h3 {
    margin: .45rem 0 .35rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-card-actions {
    padding-top: .55rem !important;
  }
}

/* Work assist Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist {
  --work-assist-page: var(--mantivo-admin-page);
  --work-assist-surface: var(--mantivo-admin-surface);
  --work-assist-subtle: var(--mantivo-admin-subtle);
  --work-assist-border: var(--mantivo-admin-border);
  --work-assist-ink: var(--mantivo-admin-ink);
  --work-assist-muted: var(--mantivo-admin-muted);
  --work-assist-primary: var(--mantivo-admin-primary);
  background: var(--work-assist-page) !important;
  color: var(--work-assist-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .admin-main {
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-assist-page {
  width: min(100%, 86rem) !important;
  margin-inline: auto !important;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 4rem !important;
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-assist-page > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-intake-hero {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: .35rem 0 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--work-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--work-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-intake-hero h2 {
  max-width: 32ch !important;
  margin: 0 !important;
  color: var(--work-assist-ink) !important;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem) !important;
  line-height: 1.12 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-intake-mode {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  padding: .25rem 0 .25rem .75rem !important;
  border: 0 !important;
  border-inline-start: 2px solid var(--work-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-preview-notice {
  width: min(100%, 44rem) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--work-assist-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-preview-notice :where(h3, p) {
  margin: 0 0 .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-work-shortcuts {
  display: block !important;
  padding: .75rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--work-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--work-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-work-shortcut-disclosure > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  min-height: 3rem !important;
  color: var(--work-assist-ink) !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-work-shortcut-disclosure > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-work-shortcut-disclosure > summary span {
  display: grid !important;
  gap: .2rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-work-shortcut-disclosure > summary small {
  color: var(--work-assist-muted) !important;
  font-size: .86rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-work-shortcut-disclosure > summary::after {
  content: '+' !important;
  font-size: 1.4rem !important;
  line-height: 1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-work-shortcut-disclosure[open] > summary::after {
  content: '\2212' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-work-shortcut-disclosure[open] .ai-work-shortcut-grid {
  padding-top: 1rem !important;
  border-top: 1px solid var(--work-assist-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-work-shortcut-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-work-shortcut-card {
  min-width: 0 !important;
  min-height: 0 !important;
  padding: .6rem .35rem !important;
  border: 0 !important;
  border-top: 1px solid var(--work-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--work-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-work-shortcut-card:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-work-shortcut-card:focus-visible {
  color: var(--work-assist-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai-assist {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr) !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai-assist {
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai-assist > .ai-intake-source {
  width: min(100%, 44rem) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist :where(.ai-intake-source, .work-ai-proposal) {
  min-width: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid var(--work-assist-border) !important;
  border-radius: .75rem !important;
  background: var(--work-assist-surface) !important;
  color: var(--work-assist-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-intake-source {
  border-block-start: .25rem solid var(--work-assist-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai-proposal {
  border-block-start: .25rem solid var(--work-assist-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .quote-ai-proposal-grid article {
  min-width: 0 !important;
  padding: .55rem 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--work-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .quote-ai-proposal-grid article > p {
  margin: .35rem 0 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai-proposal-item {
  min-width: 0 !important;
  overflow-wrap: break-word !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .quote-ai-proposal-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .quote-ai-proposal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 2rem !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai-proposal > .admin-section-heading {
  display: flex !important;
  align-items: start !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding-bottom: .85rem !important;
  border-bottom: 1px solid var(--work-assist-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-copy-disclosure {
  margin-top: 1rem !important;
  padding-top: .75rem !important;
  border-top: 1px solid var(--work-assist-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-copy-disclosure > summary {
  display: flex !important;
  min-height: 2.75rem !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  color: var(--work-assist-primary) !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-copy-disclosure > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-copy-disclosure > summary::after {
  content: '+';
  font-size: 1.25rem;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-copy-disclosure[open] > summary::after {
  content: '\2212';
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-copy-disclosure:not([open]) > :not(summary) {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-copy-disclosure .quote-ai-copy-block {
  display: grid !important;
  gap: .5rem !important;
  min-width: 0 !important;
  margin-top: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-copy-disclosure .quote-ai-copy-block textarea {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  font-weight: 400 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-copy-disclosure .quote-ai-copy-block textarea[data-auto-sized="true"] {
  overflow-y: hidden !important;
  resize: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai-proposal > .form-help {
  display: block !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin: .9rem 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
  color: var(--work-assist-muted) !important;
}

/* Work confidence badge alignment 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-confidence-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-width: 8.5rem !important;
  white-space: nowrap !important;
}

/* Work confidence badge surface 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-confidence-badge {
  min-height: 2rem !important;
  padding: .35rem .65rem !important;
  border: 1px solid #67e8f9 !important;
  border-radius: 999px !important;
  background: #ecfeff !important;
  color: #155e75 !important;
  line-height: 1.2 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3) !important;
}

/* Work confidence badge dark surface 2026-10-21. */
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-confidence-badge,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-confidence-badge {
  border-color: #67e8f9 !important;
  background: #ecfeff !important;
  color: #155e75 !important;
}

/* Work assist input fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-input-fieldset {
  display: grid !important;
  gap: .75rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-input-fieldset > legend {
  width: auto !important;
  margin: 0 !important;
  padding: 0 .4rem !important;
  color: var(--work-assist-ink) !important;
  font-size: .86rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-input-fieldset > label {
  display: grid !important;
  gap: .4rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai-fixed-activity {
  display: block !important;
  min-width: 0 !important;
  padding: .25rem 0 .5rem !important;
  border-bottom: 1px solid var(--work-assist-border) !important;
  overflow-wrap: anywhere !important;
  color: var(--work-assist-ink) !important;
  font-weight: 600 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist :where(h3, h4, strong, label) {
  color: var(--work-assist-ink) !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-assist-page :where(p, small, li, span, .form-help) {
  color: var(--work-assist-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist :where(input, select, textarea) {
  min-height: 2.75rem !important;
  border-color: var(--work-assist-border) !important;
  background: var(--work-assist-surface) !important;
  color: var(--work-assist-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist textarea {
  min-height: 13rem !important;
  resize: vertical !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist textarea[name="completion_note"] {
  font-weight: 400 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai-proposal > .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai-proposal > .form-actions > .work-related-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-related-actions {
  position: relative !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-related-actions-panel {
  display: grid !important;
  gap: .5rem !important;
  margin-top: .5rem !important;
  padding: .75rem !important;
  border: 1px solid var(--work-assist-border) !important;
  border-radius: .625rem !important;
  background: var(--work-assist-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist :where(a, button, summary, input, select, textarea):focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist {
  --work-assist-page: var(--mantivo-admin-page);
  --work-assist-surface: var(--mantivo-admin-surface);
  --work-assist-subtle: var(--mantivo-admin-subtle);
  --work-assist-border: var(--mantivo-admin-border);
  --work-assist-ink: var(--mantivo-admin-ink);
  --work-assist-muted: var(--mantivo-admin-muted);
  --work-assist-primary: var(--mantivo-admin-primary);
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-work-shortcuts,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai-assist {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1100px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-work-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-intake-hero,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai-proposal > .admin-section-heading {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-work-shortcut-grid {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-confidence-badge {
    align-self: flex-start !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-intake-mode {
    min-width: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .ai-intake-source > button[type="submit"] {
  width: 100% !important;
  min-height: 2.9rem !important;
  margin-top: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai-proposal > .form-actions :where(.btn, button) {
  min-height: 2.9rem !important;
  white-space: normal !important;
  text-align: center !important;
}

/* Work assist proposal actions touch layout 2026-10-21. */
@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai-proposal > .form-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai-proposal > .form-actions > :where(.btn, button, a) {
    width: 100% !important;
  }
}

/* History assist Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist {
  --history-assist-page: var(--mantivo-admin-page);
  --history-assist-surface: var(--mantivo-admin-surface);
  --history-assist-subtle: var(--mantivo-admin-subtle);
  --history-assist-border: var(--mantivo-admin-border);
  --history-assist-ink: var(--mantivo-admin-ink);
  --history-assist-muted: var(--mantivo-admin-muted);
  --history-assist-primary: var(--mantivo-admin-primary);
  background: var(--history-assist-page) !important;
  color: var(--history-assist-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .admin-main {
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-assist-page,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-assist-page {
  width: min(100%, 86rem) !important;
  margin-inline: auto !important;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 4rem !important;
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-assist-page > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-intake-hero {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: .25rem 0 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--history-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--history-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-intake-hero h2 {
  max-width: 32ch !important;
  margin: 0 !important;
  color: var(--history-assist-ink) !important;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem) !important;
  line-height: 1.12 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-intake-mode {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  padding: .25rem 0 .25rem .75rem !important;
  border: 0 !important;
  border-inline-start: 2px solid var(--history-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-history-shortcuts {
  padding: .75rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--history-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--history-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-history-shortcut-disclosure > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  min-height: 3rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-history-shortcut-disclosure > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-history-shortcut-disclosure > summary span {
  display: grid !important;
  gap: .2rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-history-shortcut-disclosure > summary::after {
  content: '+' !important;
  font-size: 1.4rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-history-shortcut-disclosure[open] > summary::after {
  content: '\2212' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-history-shortcut-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-history-shortcut-disclosure[open] .ai-history-shortcut-grid {
  padding-block: 1rem .75rem !important;
  border-top: 1px solid var(--history-assist-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-history-shortcut-card {
  min-width: 0 !important;
  min-height: 0 !important;
  padding: .65rem !important;
  border: 0 !important;
  border-inline-start: 2px solid var(--history-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--history-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-history-shortcut-card:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-history-shortcut-card:focus-visible {
  border-inline-start-color: var(--history-assist-primary) !important;
  background: var(--history-assist-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-history-shortcut-card[aria-disabled="true"] {
  opacity: .6 !important;
  pointer-events: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai {
  display: block !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-preview-state {
  max-width: 44rem !important;
  padding: 1.25rem 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-preview-state h3 {
  margin: 0 0 .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-preview-state p {
  max-width: 58ch !important;
  margin-bottom: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist :where(.ai-intake-source, .customer-history-ai-proposal) {
  min-width: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid var(--history-assist-border) !important;
  border-radius: .75rem !important;
  background: var(--history-assist-surface) !important;
  color: var(--history-assist-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-intake-source {
  width: min(100%, 44rem) !important;
  border-block-start: .25rem solid var(--history-assist-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-intake-source > button {
  margin-top: .8rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-intake-source > small {
  display: block !important;
  margin-top: .55rem !important;
}

/* History assist input fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-input-fieldset {
  display: grid !important;
  gap: .45rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-input-fieldset > legend {
  width: auto !important;
  margin: 0 !important;
  padding: 0 .35rem !important;
  color: var(--history-assist-ink) !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-selected-customer {
  display: none !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-selected-customer.is-clipped:not(:empty) {
    display: block !important;
    color: var(--history-assist-muted) !important;
    font-size: .82rem !important;
    line-height: 1.4 !important;
    overflow-wrap: anywhere !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai-proposal {
  width: min(100%, 44rem) !important;
  border-block-start: .25rem solid var(--history-assist-primary) !important;
}

@media (min-width: 1024px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-assist-page:has(> .customer-history-ai):has(> .customer-history-ai-proposal) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: start !important;
    column-gap: 1.25rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-assist-page > :where(.admin-heading, .alert, .ai-history-shortcuts) {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-assist-page > .customer-history-ai {
    grid-column: 1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-assist-page > .customer-history-ai-proposal {
    grid-column: 2 !important;
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai .ai-intake-source {
    width: 100% !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .quote-ai-proposal-grid article {
  min-width: 0 !important;
  padding: .75rem 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--history-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .quote-ai-proposal-grid article:last-child {
  border-bottom: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai-proposal-item {
  min-width: 0 !important;
  overflow-wrap: break-word !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai-proposal-item :where(p, li),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-empty-result p {
  font-size: .875rem !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-empty-result {
  padding: .9rem 0 .1rem !important;
  color: var(--history-assist-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-empty-result > :last-child {
  margin-bottom: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .quote-ai-proposal-grid {
  display: grid !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai-proposal > .admin-section-heading {
  display: flex !important;
  align-items: start !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding-bottom: .85rem !important;
  border-bottom: 1px solid var(--history-assist-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-copy-disclosure {
  margin-top: 1rem !important;
  padding-top: .75rem !important;
  border-top: 1px solid var(--history-assist-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-copy-disclosure > summary {
  display: flex !important;
  min-height: 2.75rem !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  color: var(--history-assist-primary) !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-copy-disclosure > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-copy-disclosure > summary::after {
  content: '+';
  font-size: 1.25rem;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-copy-disclosure[open] > summary::after {
  content: '\2212';
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-copy-disclosure:not([open]) > :not(summary) {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-copy-disclosure .quote-ai-copy-block {
  display: grid !important;
  gap: .5rem !important;
  min-width: 0 !important;
  margin-top: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-copy-disclosure .quote-ai-copy-block textarea {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  font-weight: 400 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-copy-disclosure .quote-ai-copy-block textarea[data-auto-sized="true"] {
  overflow-y: hidden !important;
  resize: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai-proposal > .form-help {
  display: block !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin: .9rem 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
  color: var(--history-assist-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai-proposal > .form-help:empty {
  display: none !important;
}

/* History confidence badge alignment 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-confidence-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-width: 8.5rem !important;
  white-space: nowrap !important;
}

/* History confidence badge surface 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-confidence-badge {
  min-height: 2rem !important;
  padding: .35rem .65rem !important;
  border: 1px solid #67e8f9 !important;
  border-radius: 999px !important;
  background: #ecfeff !important;
  color: #155e75 !important;
  line-height: 1.2 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3) !important;
}

/* History confidence badge dark surface 2026-10-21. */
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-confidence-badge {
  border-color: #67e8f9 !important;
  background: #ecfeff !important;
  color: #155e75 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist :where(h3, h4, strong, label) {
  color: var(--history-assist-ink) !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist :is(.history-assist-page, .customer-history-assist-page) :where(p, small, li, span, .form-help) {
  color: var(--history-assist-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist :where(input, select, textarea) {
  min-height: 2.75rem !important;
  border-color: var(--history-assist-border) !important;
  background: var(--history-assist-surface) !important;
  color: var(--history-assist-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist textarea {
  min-height: 13rem !important;
  resize: vertical !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai-proposal > .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai-proposal > .form-actions > .history-related-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-related-actions {
  position: relative !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-related-actions-panel {
  display: grid !important;
  gap: .5rem !important;
  margin-top: .5rem !important;
  padding: .75rem !important;
  border: 1px solid var(--history-assist-border) !important;
  border-radius: .625rem !important;
  background: var(--history-assist-subtle) !important;
}

/* History assist action disclosure state 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-related-actions__toggle-hide {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-related-actions[open] .history-related-actions__toggle-show {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-related-actions[open] .history-related-actions__toggle-hide {
  display: inline !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist :where(a, button, summary, input, select, textarea):focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist {
  --history-assist-page: var(--mantivo-admin-page);
  --history-assist-surface: var(--mantivo-admin-surface);
  --history-assist-subtle: var(--mantivo-admin-subtle);
  --history-assist-border: var(--mantivo-admin-border);
  --history-assist-ink: var(--mantivo-admin-ink);
  --history-assist-muted: var(--mantivo-admin-muted);
  --history-assist-primary: var(--mantivo-admin-primary);
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-history-shortcuts {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1100px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-history-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-intake-hero,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai-proposal > .admin-section-heading {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-history-shortcut-grid {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-confidence-badge {
    align-self: flex-start !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .ai-intake-mode {
    min-width: 0 !important;
  }
}

/* History assist proposal actions touch layout 2026-10-21. */
@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist #customer-history-ai-form > button[type="submit"],
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai-proposal > .form-actions > button,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-related-actions > summary {
    min-height: 44px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai-proposal > .form-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai-proposal > .form-actions > :where(.btn, button, a, details) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai-proposal > .form-actions > details {
    display: grid !important;
    gap: .45rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai-proposal > .form-actions > details :where(summary, .btn) {
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Recurrence assist Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist {
  --recurrence-assist-page: var(--mantivo-admin-page);
  --recurrence-assist-surface: var(--mantivo-admin-surface);
  --recurrence-assist-subtle: var(--mantivo-admin-subtle);
  --recurrence-assist-border: var(--mantivo-admin-border);
  --recurrence-assist-ink: var(--mantivo-admin-ink);
  --recurrence-assist-muted: var(--mantivo-admin-muted);
  --recurrence-assist-primary: var(--mantivo-admin-primary);
  background: var(--recurrence-assist-page) !important;
  color: var(--recurrence-assist-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .admin-main {
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-assist-page {
  width: min(100%, 86rem) !important;
  margin-inline: auto !important;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 4rem !important;
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-assist-page > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-intake-hero {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: .25rem 0 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--recurrence-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--recurrence-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-intake-hero h2 {
  max-width: 32ch !important;
  margin: 0 !important;
  color: var(--recurrence-assist-ink) !important;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem) !important;
  line-height: 1.12 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-intake-mode {
  display: grid !important;
  gap: .2rem !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  padding: .25rem 0 .25rem .75rem !important;
  border: 0 !important;
  border-inline-start: 2px solid var(--recurrence-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-intake-mode :where(strong, span) {
  display: block !important;
  font-size: .875rem !important;
  line-height: 1.35 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-intake-mode span {
  color: var(--recurrence-assist-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-recurrence-shortcuts {
  padding: .75rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--recurrence-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--recurrence-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-recurrence-shortcut-disclosure > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  min-height: 3rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-recurrence-shortcut-disclosure > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-recurrence-shortcut-disclosure > summary span {
  display: grid !important;
  gap: .2rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-recurrence-shortcut-disclosure > summary::after {
  content: '+' !important;
  font-size: 1.4rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-recurrence-shortcut-disclosure[open] > summary::after {
  content: '\2212' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-recurrence-shortcut-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-recurrence-shortcut-disclosure[open] .ai-recurrence-shortcut-grid {
  padding-block: 1rem .75rem !important;
  border-top: 1px solid var(--recurrence-assist-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-recurrence-shortcut-card {
  min-width: 0 !important;
  min-height: 0 !important;
  padding: .65rem !important;
  border: 0 !important;
  border-inline-start: 2px solid var(--recurrence-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--recurrence-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-recurrence-shortcut-card:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-recurrence-shortcut-card:focus-visible {
  border-inline-start-color: var(--recurrence-assist-primary) !important;
  background: var(--recurrence-assist-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-recurrence-shortcut-card[aria-disabled="true"] {
  opacity: .6 !important;
  pointer-events: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai {
  display: block !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-preview-state {
  max-width: 44rem !important;
  padding: 1.25rem 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-preview-state h3 {
  margin: 0 0 .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-preview-state p {
  max-width: 58ch !important;
  margin-bottom: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist :where(.ai-intake-source, .recurrence-ai-proposal) {
  min-width: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid var(--recurrence-assist-border) !important;
  border-radius: .75rem !important;
  background: var(--recurrence-assist-surface) !important;
  color: var(--recurrence-assist-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-intake-source {
  width: min(100%, 44rem) !important;
  border-block-start: .25rem solid var(--recurrence-assist-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-intake-source > button {
  margin-top: .8rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-intake-source > small {
  display: block !important;
  margin-top: .55rem !important;
}

/* Recurrence assist input fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-input-fieldset {
  display: grid !important;
  gap: .45rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-input-fieldset > legend {
  width: auto !important;
  margin: 0 !important;
  padding: 0 .35rem !important;
  color: var(--recurrence-assist-ink) !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-selected-customer {
  display: none !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-selected-customer.is-clipped:not(:empty) {
    display: block !important;
    color: var(--recurrence-assist-muted) !important;
    font-size: .82rem !important;
    line-height: 1.4 !important;
    overflow-wrap: anywhere !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai-proposal {
  display: block !important;
  width: min(100%, 44rem) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (min-width: 1024px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-assist-page:has(> .recurrence-ai):has(> .recurrence-ai-proposal) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: start !important;
    column-gap: 1.25rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-assist-page > :where(.admin-heading, .alert, .ai-recurrence-shortcuts) {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-assist-page > .recurrence-ai {
    grid-column: 1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-assist-page > .recurrence-ai-proposal {
    grid-column: 2 !important;
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai .ai-intake-source {
    width: 100% !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .quote-ai-proposal-grid article {
  min-width: 0 !important;
  padding: .85rem !important;
  border: 1px solid var(--recurrence-assist-border) !important;
  border-radius: .625rem !important;
  background: var(--recurrence-assist-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai-proposal-item {
  min-width: 0 !important;
  overflow-wrap: break-word !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .quote-ai-proposal-grid {
  display: grid !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai-proposal > .admin-section-heading {
  display: flex !important;
  align-items: start !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding-bottom: .85rem !important;
  border-bottom: 1px solid var(--recurrence-assist-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-copy-disclosure {
  margin-top: 1rem !important;
  padding-top: .75rem !important;
  border-top: 1px solid var(--recurrence-assist-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-copy-disclosure > summary {
  display: flex !important;
  min-height: 2.75rem !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  color: var(--recurrence-assist-primary) !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-copy-disclosure > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-copy-disclosure > summary::after {
  content: '+';
  font-size: 1.25rem;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-copy-disclosure[open] > summary::after {
  content: '\2212';
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-copy-disclosure:not([open]) > :not(summary) {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-copy-disclosure .quote-ai-copy-block {
  display: grid !important;
  gap: .5rem !important;
  min-width: 0 !important;
  margin-top: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-copy-disclosure .quote-ai-copy-block textarea {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  font-weight: 400 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-copy-disclosure .quote-ai-copy-block textarea[data-auto-sized="true"] {
  overflow-y: hidden !important;
  resize: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai-proposal > .form-help {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
  color: var(--recurrence-assist-muted) !important;
  font-size: .875rem !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai-proposal > .form-help:empty {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-empty-next {
  font-size: .875rem !important;
  line-height: 1.5 !important;
}

/* Recurrence confidence badge alignment 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-confidence-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-width: 8.5rem !important;
  min-height: 2rem !important;
  padding: .35rem .65rem !important;
  border: 1px solid #67e8f9 !important;
  border-radius: 999px !important;
  background: #ecfeff !important;
  color: #155e75 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

/* Recurrence confidence badge surface 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-confidence-badge {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3) !important;
}

/* Recurrence confidence badge dark surface 2026-10-21. */
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-confidence-badge {
  border-color: #67e8f9 !important;
  background: #ecfeff !important;
  color: #155e75 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist :where(h3, h4, strong, label) {
  color: var(--recurrence-assist-ink) !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-assist-page :where(p, small, li, span, .form-help) {
  color: var(--recurrence-assist-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist :where(input, select, textarea) {
  min-height: 2.75rem !important;
  border-color: var(--recurrence-assist-border) !important;
  background: var(--recurrence-assist-surface) !important;
  color: var(--recurrence-assist-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist textarea {
  min-height: 13rem !important;
  resize: vertical !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai-proposal > .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai-proposal > .form-actions > .recurrence-related-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-related-actions {
  position: relative !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-related-actions-panel {
  display: grid !important;
  gap: .5rem !important;
  margin-top: .5rem !important;
  padding: .75rem !important;
  border: 1px solid var(--recurrence-assist-border) !important;
  border-radius: .625rem !important;
  background: var(--recurrence-assist-subtle) !important;
}

/* Recurrence assist action disclosure state 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-related-actions__toggle-hide {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-related-actions[open] .recurrence-related-actions__toggle-show {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-related-actions[open] .recurrence-related-actions__toggle-hide {
  display: inline !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist :where(a, button, summary, input, select, textarea):focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist {
  --recurrence-assist-page: var(--mantivo-admin-page);
  --recurrence-assist-surface: var(--mantivo-admin-surface);
  --recurrence-assist-subtle: var(--mantivo-admin-subtle);
  --recurrence-assist-border: var(--mantivo-admin-border);
  --recurrence-assist-ink: var(--mantivo-admin-ink);
  --recurrence-assist-muted: var(--mantivo-admin-muted);
  --recurrence-assist-primary: var(--mantivo-admin-primary);
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-recurrence-shortcuts,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1100px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-recurrence-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-intake-hero,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai-proposal > .admin-section-heading {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-recurrence-shortcut-grid {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .ai-intake-mode {
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-confidence-badge {
    align-self: flex-start !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: calc(100% - 1rem) !important;
    white-space: normal !important;
    text-align: center !important;
  }

  /* Recurrence assist proposal actions touch layout 2026-10-21. */
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist #recurrence-ai-form > button,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai-proposal > .form-actions > button,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-related-actions > summary {
    min-height: 44px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai-proposal > .form-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai-proposal > .form-actions > :where(.btn, button, a, details) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai-proposal > .form-actions > details {
    display: grid !important;
    gap: .45rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai-proposal > .form-actions > details :where(summary, .btn) {
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Material assist visual hierarchy 2026-10-11. */
/* Material assist hero and proposal surface cleanup 2026-10-15. */
.mantivo-tabler-material-assist .ai-intake-hero,
.mantivo-tabler-material-assist .material-ai-proposal {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .7rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: none !important;
}

.mantivo-tabler-material-assist .material-assist-page {
  margin-inline: auto !important;
  gap: 1.5rem !important;
}

.mantivo-tabler-material-assist .ai-intake-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1.5rem !important;
  padding: clamp(1.25rem, 2.5vw, 2rem) !important;
  border-radius: .75rem !important;
  box-shadow: 0 .35rem 1rem rgba(15, 23, 42, .06) !important;
}

.mantivo-tabler-material-assist .ai-intake-hero h2 {
  margin: .2rem 0 .45rem !important;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem) !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

/* Material assist hero readability 2026-10-21. */

.mantivo-tabler-material-assist .ai-intake-hero p:not(.eyebrow):not(.hint) {
  max-width: 58rem !important;
  margin: 0 !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}

.mantivo-tabler-material-assist .ai-intake-mode,
.mantivo-tabler-material-assist .ai-material-shortcuts,
.mantivo-tabler-material-assist .material-ai,
.mantivo-tabler-material-assist .material-ai-proposal,
.mantivo-tabler-material-assist .ai-intake-source,
.mantivo-tabler-material-assist .ai-intake-checks article,
.mantivo-tabler-material-assist .ai-material-shortcut-card,
.mantivo-tabler-material-assist .quote-ai-proposal-grid article {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  padding: 1.1rem !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

.mantivo-tabler-material-assist .ai-material-shortcut-grid,
.mantivo-tabler-material-assist .quote-ai-proposal-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)) !important;
  gap: 1rem !important;
}

.mantivo-tabler-material-assist .material-ai {
  display: grid !important;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, .7fr) !important;
  gap: 1.25rem !important;
  align-items: stretch !important;
  padding: 1.25rem !important;
  border-radius: .75rem !important;
  box-shadow: 0 .35rem 1rem rgba(15, 23, 42, .06) !important;
}

.mantivo-tabler-material-assist .ai-intake-source,
.mantivo-tabler-material-assist .ai-intake-checks,
.mantivo-tabler-material-assist .ai-intake-mode,
.mantivo-tabler-material-assist .ai-intake-checks article,
.mantivo-tabler-material-assist .ai-material-shortcut-card,
.mantivo-tabler-material-assist .quote-ai-proposal-grid article {
  display: flex !important;
  flex-direction: column !important;
  gap: .45rem !important;
}

.mantivo-tabler-material-assist .ai-material-shortcut-card {
  text-decoration: none !important;
}

.mantivo-tabler-material-assist .ai-material-shortcut-card:hover,
.mantivo-tabler-material-assist .ai-material-shortcut-card:focus-visible {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-subtle) !important;
  outline: .2rem solid color-mix(in srgb, var(--mantivo-admin-focus) 38%, transparent) !important;
  outline-offset: .12rem !important;
}

.mantivo-tabler-material-assist .ai-material-shortcut-card span {
  display: inline-flex !important;
  width: fit-content !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 999px !important;
  background: var(--mantivo-admin-subtle) !important;
  padding: .35rem .65rem !important;
  color: #0b47b7 !important;
  font-size: .78rem !important;
  font-weight: 850 !important;
}

.mantivo-tabler-material-assist .admin-section-heading,
.mantivo-tabler-material-assist .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .75rem !important;
}

.mantivo-tabler-material-assist .quote-ai-copy-block,
.mantivo-tabler-material-assist :where(label) {
  display: grid !important;
  gap: .4rem !important;
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 800 !important;
}

.mantivo-tabler-material-assist .quote-ai-copy-block {
  margin-top: 1.25rem !important;
}

/* Material assist input fieldset 2026-10-21. */
.mantivo-tabler-material-assist .material-input-fieldset {
  display: grid !important;
  gap: .75rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: .95rem 1rem 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .7rem !important;
  background: var(--mantivo-admin-subtle) !important;
}

.mantivo-tabler-material-assist .material-input-fieldset > legend {
  width: auto !important;
  margin: 0 !important;
  padding: 0 .4rem !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .86rem !important;
  font-weight: 800 !important;
}

.mantivo-tabler-material-assist .material-input-fieldset > label {
  display: grid !important;
  gap: .4rem !important;
  min-width: 0 !important;
}

.mantivo-tabler-material-assist .material-fixed-activity {
  display: block !important;
  min-width: 0 !important;
  padding: .25rem 0 .5rem !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
  overflow-wrap: anywhere !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 600 !important;
}

.mantivo-tabler-material-assist :where(input, select, textarea) {
  width: 100% !important;
  min-height: 2.95rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
  padding: .75rem .9rem !important;
  color: var(--mantivo-admin-ink) !important;
  font: inherit !important;
}

.mantivo-tabler-material-assist textarea {
  min-height: 14rem !important;
  resize: vertical !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
}

.mantivo-tabler-material-assist :where(input, select, textarea):focus {
  border-color: var(--mantivo-admin-primary) !important;
  box-shadow: 0 0 0 .2rem rgba(245, 159, 0, .24) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-intake-mode,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-material-shortcuts,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-material-assist .material-ai,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-material-assist .material-ai-proposal,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-intake-source,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-material-assist .material-input-fieldset,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-intake-checks article,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-material-shortcut-card,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-material-assist .quote-ai-proposal-grid article {
  background: var(--mantivo-admin-surface) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-material-assist :where(h2, h3, h4, strong, label) {
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-material-assist .material-assist-page :where(p, small, li, span, .form-help) {
  color: var(--mantivo-admin-muted) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-material-assist :where(input, select, textarea) {
  background: var(--mantivo-admin-subtle) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

@media (max-width: 900px) {
  .mantivo-tabler-material-assist .ai-intake-hero,
  .mantivo-tabler-material-assist .material-ai {
    grid-template-columns: 1fr !important;
  }

  .mantivo-tabler-material-assist .admin-section-heading {
    display: grid !important;
  }

  .mantivo-tabler-material-assist .ai-intake-hero,
  .mantivo-tabler-material-assist .material-ai {
    padding: 1rem !important;
  }
}

/* PDF assist visual hierarchy 2026-10-11. */
.mantivo-tabler-pdf-assist .pdf-assist-page {
  margin-inline: auto !important;
  gap: 1.5rem !important;
}

.mantivo-tabler-pdf-assist .ai-intake-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1.5rem !important;
  padding: clamp(1.25rem, 2.5vw, 2rem) !important;
  border-radius: .75rem !important;
  box-shadow: 0 .35rem 1rem rgba(15, 23, 42, .06) !important;
}

.mantivo-tabler-pdf-assist .ai-intake-hero h2 {
  margin: .2rem 0 .45rem !important;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem) !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

/* PDF assist hero readability 2026-10-21. */

.mantivo-tabler-pdf-assist .ai-intake-hero p:not(.eyebrow):not(.hint) {
  max-width: 58rem !important;
  margin: 0 !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}

.mantivo-tabler-pdf-assist .ai-intake-mode,
.mantivo-tabler-pdf-assist .ai-pdf-shortcuts,
.mantivo-tabler-pdf-assist .pdf-ai,
.mantivo-tabler-pdf-assist .pdf-ai-proposal,
.mantivo-tabler-pdf-assist .ai-intake-source,
.mantivo-tabler-pdf-assist .ai-intake-checks article,
.mantivo-tabler-pdf-assist .ai-pdf-shortcut-card,
.mantivo-tabler-pdf-assist .quote-ai-proposal-grid article {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  padding: 1.1rem !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

.mantivo-tabler-pdf-assist .ai-pdf-shortcut-grid,
.mantivo-tabler-pdf-assist .quote-ai-proposal-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)) !important;
  gap: 1rem !important;
}

.mantivo-tabler-pdf-assist .pdf-ai {
  display: grid !important;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, .7fr) !important;
  gap: 1.25rem !important;
  align-items: stretch !important;
  padding: 1.25rem !important;
  border-radius: .75rem !important;
  box-shadow: 0 .35rem 1rem rgba(15, 23, 42, .06) !important;
}

.mantivo-tabler-pdf-assist .ai-intake-source,
.mantivo-tabler-pdf-assist .ai-intake-checks,
.mantivo-tabler-pdf-assist .ai-intake-mode,
.mantivo-tabler-pdf-assist .ai-intake-checks article,
.mantivo-tabler-pdf-assist .ai-pdf-shortcut-card,
.mantivo-tabler-pdf-assist .quote-ai-proposal-grid article {
  display: flex !important;
  flex-direction: column !important;
  gap: .45rem !important;
}

.mantivo-tabler-pdf-assist .ai-pdf-shortcut-card {
  text-decoration: none !important;
}

.mantivo-tabler-pdf-assist .ai-pdf-shortcut-card:hover,
.mantivo-tabler-pdf-assist .ai-pdf-shortcut-card:focus-visible {
  border-color: var(--mantivo-admin-primary) !important;
  background: #eef5ff !important;
  outline: .2rem solid color-mix(in srgb, var(--mantivo-admin-focus) 38%, transparent) !important;
  outline-offset: .12rem !important;
}

.mantivo-tabler-pdf-assist .ai-pdf-shortcut-card span {
  display: inline-flex !important;
  width: fit-content !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 999px !important;
  background: #eaf2ff !important;
  padding: .35rem .65rem !important;
  color: #0b47b7 !important;
  font-size: .78rem !important;
  font-weight: 850 !important;
}

.mantivo-tabler-pdf-assist .admin-section-heading,
.mantivo-tabler-pdf-assist .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .75rem !important;
}

.mantivo-tabler-pdf-assist .quote-ai-copy-block,
.mantivo-tabler-pdf-assist :where(label) {
  display: grid !important;
  gap: .4rem !important;
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 800 !important;
}

.mantivo-tabler-pdf-assist .quote-ai-copy-block {
  margin-top: 1.25rem !important;
}

.mantivo-tabler-pdf-assist :where(input, select, textarea) {
  width: 100% !important;
  min-height: 2.95rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
  padding: .75rem .9rem !important;
  color: var(--mantivo-admin-ink) !important;
  font: inherit !important;
}

.mantivo-tabler-pdf-assist textarea {
  min-height: 14rem !important;
  resize: vertical !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
}

.mantivo-tabler-pdf-assist :where(input, select, textarea):focus {
  border-color: var(--mantivo-admin-primary) !important;
  box-shadow: 0 0 0 .2rem rgba(245, 159, 0, .24) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-intake-mode,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-pdf-shortcuts,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-proposal,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-intake-source,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-intake-checks article,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-pdf-shortcut-card,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-pdf-assist .quote-ai-proposal-grid article {
  background: var(--mantivo-admin-surface) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-pdf-assist :where(h2, h3, h4, strong, label) {
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-assist-page :where(p, small, li, span, .form-help) {
  color: var(--mantivo-admin-muted) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-pdf-assist :where(input, select, textarea) {
  background: var(--mantivo-admin-subtle) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

@media (max-width: 900px) {
  .mantivo-tabler-pdf-assist .ai-intake-hero,
  .mantivo-tabler-pdf-assist .pdf-ai {
    grid-template-columns: 1fr !important;
  }

  .mantivo-tabler-pdf-assist .admin-section-heading {
    display: grid !important;
  }

  .mantivo-tabler-pdf-assist .ai-intake-hero,
  .mantivo-tabler-pdf-assist .pdf-ai {
    padding: 1rem !important;
  }
}

/* PDF assist actions keep copying primary and documents secondary 2026-10-15. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai > .ai-intake-source > button[type="submit"] {
  width: 100% !important;
  min-height: 2.9rem !important;
  text-align: center !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-proposal > .form-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  justify-content: initial !important;
  align-items: stretch !important;
  gap: .75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-proposal > .form-actions > :where(.btn, button),
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-proposal > .form-actions > a {
  min-height: 2.9rem !important;
  white-space: normal !important;
  text-align: center !important;
}

@media (max-width: 900px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-proposal > .form-actions {
    grid-template-columns: 1fr !important;
  }
}

/* Users Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .users-page {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: min(100%, 96rem) !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  gap: 1.25rem !important;
  padding-bottom: 2rem !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .users-page > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.admin-heading, .user-access-mode-guide, .access-next-action-panel, .access-health-panel, .client-access-panel, .users-create-panel, .account-password-panel, .users-table-panel, .admin-empty-state) {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .7rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .admin-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1.25rem !important;
  padding: 1.25rem 1.35rem !important;
  border-inline-start: .35rem solid var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .admin-heading h2 {
  margin: .2rem 0 .45rem !important;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem) !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .admin-heading-note {
  max-width: 60rem !important;
  margin: 0 !important;
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.55 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .admin-heading .admin-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.form-actions, .inline-actions, .client-link-form, .admin-empty-state-actions) {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .6rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-guide {
  display: grid !important;
  grid-template-columns: minmax(14rem, .8fr) minmax(0, 1.2fr) !important;
  gap: 1.25rem !important;
  padding: 1.25rem !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-guide__intro h3 {
  margin: .25rem 0 .45rem !important;
  font-size: 1.3rem !important;
  line-height: 1.25 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-guide__intro p:not(.eyebrow) {
  margin: 0 !important;
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .access-review-shortcut-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .access-health-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-grid article,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.access-review-shortcut-card, .access-health-card) {
  display: grid !important;
  align-content: start !important;
  gap: .4rem !important;
  min-width: 0 !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .6rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.access-review-shortcut-card, .access-health-card):is(:hover, :focus-within) {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-command-strip {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-command-card {
  display: grid !important;
  align-content: start !important;
  gap: .35rem !important;
  min-height: 6.5rem !important;
  min-width: 0 !important;
  padding: 1rem 1.05rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .6rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-command-card.is-primary {
  border-block-start: .25rem solid var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-command-card :where(span, strong, small) {
  color: var(--mantivo-admin-ink) !important;
  line-height: 1.35 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-command-card span,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-badge {
  color: var(--mantivo-admin-primary) !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-command-card small,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.access-review-shortcut-card, .access-health-card) p {
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.user-command-card, .access-review-shortcut-card, .access-health-card):is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-primary) !important;
  outline: .2rem solid color-mix(in srgb, var(--mantivo-admin-focus) 38%, transparent) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .metric-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-summary-metric {
  display: grid !important;
  gap: .35rem !important;
  min-width: 0 !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .6rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-summary-metric :where(span, small) {
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.4 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-summary-metric strong {
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.45rem !important;
  line-height: 1.1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.access-review-shortcuts, .access-health-panel, .client-access-panel, .users-create-panel, .account-password-panel, .users-table-panel, .access-next-action-panel) {
  padding: clamp(1.1rem, 2.2vw, 1.6rem) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .access-review-shortcuts {
  padding: 0 !important;
  overflow: hidden !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .access-review-shortcuts__summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  min-height: 3.2rem !important;
  padding: .9rem 1.1rem !important;
  cursor: pointer !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .access-review-shortcuts__summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .access-review-shortcuts__summary:focus-visible,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-sensitive-actions > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: -.2rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .access-review-shortcuts__body {
  display: grid !important;
  gap: 1rem !important;
  padding: 1.1rem !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .access-next-action-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1rem !important;
  border-inline-start: .35rem solid var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .access-next-action-panel h3 {
  margin: 0 !important;
  font-size: 1.25rem !important;
  line-height: 1.25 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .section-heading-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: .8rem 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(h2, h3, h4, strong) {
  color: var(--mantivo-admin-ink) !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(p, small, li, dd) {
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .table-wrap {
  width: 100% !important;
  overflow-x: auto !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .6rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users table {
  width: 100% !important;
  min-width: 58rem !important;
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(th, td) {
  padding: .85rem .9rem !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
  vertical-align: top !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users th {
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: .76rem !important;
  letter-spacing: .03em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.user-access-target-row, .client-user-target-row) td:last-child {
  min-width: 13rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.user-access-target-row, .client-user-target-row) .inline-actions {
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-sensitive-actions {
  position: relative !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-sensitive-actions > summary {
  cursor: pointer !important;
  color: var(--mantivo-admin-primary) !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-sensitive-actions-panel {
  display: grid !important;
  gap: .45rem !important;
  min-width: 13rem !important;
  margin-top: .45rem !important;
  padding: .65rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .6rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-impersonation-action {
  border-color: #c0841a !important;
  color: #8a5a00 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.grid-two-form, .account-password-form) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem 1.25rem !important;
  align-items: start !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.grid-two-form, .account-password-form) > :where(.form-actions, .full) {
  grid-column: 1 / -1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(label) {
  display: grid !important;
  gap: .4rem !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(input, select) {
  width: 100% !important;
  min-height: 2.8rem !important;
  padding: .65rem .85rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.admin-heading, .user-access-mode-guide, .access-next-action-panel, .access-health-panel, .client-access-panel, .users-create-panel, .account-password-panel, .users-table-panel, .admin-empty-state, .user-command-card, .user-summary-metric, .access-review-shortcuts, .access-review-shortcut-card, .access-health-card, .user-sensitive-actions-panel) {
  border-color: var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.user-access-mode-guide, .access-next-action-panel, .user-command-card.is-primary, .access-review-shortcuts__body) {
  background: var(--mantivo-admin-subtle) !important;
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .admin-heading,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-guide,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .access-next-action-panel {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-command-strip {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.admin-heading .admin-actions, .access-next-action-panel .admin-actions) {
    justify-content: flex-start !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.grid-two-form, .account-password-form) {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(#users-table, .client-access-panel) .table-wrap :where(th, td):first-child {
    position: sticky !important;
    inset-inline-start: 0 !important;
    z-index: 2 !important;
    background: var(--mantivo-admin-surface) !important;
    box-shadow: .35rem 0 .65rem rgba(15, 23, 42, .08) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(#users-table, .client-access-panel) .table-wrap th:first-child {
    z-index: 3 !important;
    background: var(--mantivo-admin-subtle) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.user-command-card, .access-review-shortcut-card, .access-health-card) {
    transition: none !important;
  }
}
/* Dashboard operations workspace refinement 2026-10-11. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-content {
  width: min(100%, 96rem) !important;
  margin-inline: auto !important;
  padding: 1.25rem clamp(1rem, 2vw, 2rem) 3rem !important;
  gap: 1.25rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .9fr) !important;
  gap: 1.5rem !important;
  align-items: center !important;
  padding: clamp(1.25rem, 2.5vw, 2rem) !important;
  background: var(--mantivo-admin-surface) !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  box-shadow: 0 1px 2px rgba(19, 39, 72, .05) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading h2 {
  max-width: 24ch !important;
  margin: 0 !important;
  font-size: clamp(1.75rem, 3vw, 2.65rem) !important;
  line-height: 1.08 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading > div:first-child > p:last-child {
  max-width: 48rem !important;
  margin: .65rem 0 0 !important;
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading .admin-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: .5rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading .admin-actions > * {
  flex: 0 1 auto !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-strip,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-panel {
  background: var(--mantivo-admin-surface) !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  box-shadow: 0 1px 2px rgba(19, 39, 72, .05) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-strip {
  padding: 1.25rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-grid {
  grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-card {
  min-height: 8rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-subtle) !important;
  box-shadow: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-card:hover,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-card:focus-visible {
  border-color: var(--mantivo-admin-primary) !important;
  box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .14) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  gap: 1rem !important;
  align-items: center !important;
  padding: 1.25rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel dl {
  min-width: 12rem !important;
  margin: 0 !important;
  padding: .75rem 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .metric-row :where(article, .card) {
  min-width: 0 !important;
  padding: 1rem !important;
  background: var(--mantivo-admin-surface) !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  box-shadow: none !important;
}

@media (max-width: 1024px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading .admin-actions {
    justify-content: flex-start !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel {
    grid-template-columns: 1fr auto !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel > a {
    grid-column: 1 / -1 !important;
    justify-self: start !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-content {
    padding-inline: .75rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading .admin-actions,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading .admin-actions > *,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel dl {
    width: 100% !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel > a {
    grid-column: auto !important;
  }
}

/* Users access mode guide 2026-10-11. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-guide {
  display: grid !important;
  grid-template-columns: minmax(15rem, .8fr) minmax(0, 1.2fr) !important;
  gap: 1rem !important;
  align-items: stretch !important;
  padding: 1rem 1.15rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .85rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: 0 .25rem 1rem rgba(15, 39, 72, .05) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-guide__intro {
  display: grid !important;
  align-content: center !important;
  gap: .25rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-guide__intro h3,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-guide__intro p {
  margin: 0 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-guide__intro > p:last-child {
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.45 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-grid article {
  display: grid !important;
  align-content: start !important;
  gap: .35rem !important;
  min-width: 0 !important;
  padding: .85rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .7rem !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-grid p {
  margin: 0 !important;
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.4 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-badge {
  width: fit-content !important;
  padding: .25rem .5rem !important;
  border-radius: 999px !important;
  font-size: .72rem !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-badge.is-global {
  background: #e7f0ff !important;
  color: #174a9c !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-badge.is-impersonation {
  background: #fff4df !important;
  color: #8a5600 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-guide,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-guide {
  background: var(--mantivo-admin-surface) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

@media (max-width: 900px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-guide {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-users .user-access-mode-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Security events Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .admin-main,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .admin-content {
  min-width: 0 !important;
  background: transparent !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-events-page {
  width: min(100%, 96rem) !important;
  display: grid !important;
  gap: 1rem !important;
  margin-inline: auto !important;
  padding-block: .5rem 2rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events :where(.admin-heading, .security-next-action-panel, .security-focus-panel, .security-events-table-panel) {
  min-width: 0 !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: 0 .25rem .8rem rgba(30, 58, 95, .05) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .admin-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1.15rem 1.25rem !important;
  border-inline-start: .3rem solid var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .admin-heading.is-global-operations {
  border-inline-start-color: var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .admin-heading h2 {
  max-width: 36ch !important;
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: clamp(1.5rem, 2.3vw, 2.15rem) !important;
  line-height: 1.12 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .admin-heading p {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-command-strip {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-command-card,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-review-shortcut-card,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-focus-card {
  min-width: 0 !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-command-card {
  display: grid !important;
  align-content: start !important;
  gap: .3rem !important;
  min-height: 6.4rem !important;
  padding: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-command-card:is(:hover, :focus-visible),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-review-shortcut-card:is(:hover, :focus-visible),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-focus-card:is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-command-card :where(span, strong, small),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-review-shortcut-card :where(span, strong, small),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-focus-card :where(span, strong, small) {
  color: inherit !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-command-card span,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-review-shortcut-card span {
  color: var(--mantivo-admin-primary) !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-command-card small,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-review-shortcut-card small {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .metric-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)) !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-summary-metric {
  display: grid !important;
  align-content: start !important;
  gap: .3rem !important;
  min-width: 0 !important;
  min-height: 6.25rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-summary-metric :where(span, small) {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-summary-metric strong {
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.55rem !important;
  line-height: 1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-review-shortcuts {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-review-shortcuts__summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .75rem !important;
  min-height: 2.9rem !important;
  padding: .75rem 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
  list-style: none !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-review-shortcuts__summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-review-shortcuts__summary:is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-page) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-review-shortcuts__body {
  padding-top: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-review-shortcut-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-review-shortcut-card {
  display: grid !important;
  align-content: start !important;
  gap: .35rem !important;
  min-height: 7rem !important;
  padding: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-next-action-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 1rem !important;
  padding: 1.15rem 1.25rem !important;
  border-inline-start: .3rem solid var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-next-action-panel h3 {
  max-width: 58ch !important;
  margin: 0 0 .45rem !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem) !important;
  line-height: 1.2 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-next-action-meta,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-next-action-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-focus-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-next-action-actions {
  align-self: center !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-focus-panel,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-events-table-panel {
  padding: 1.15rem 1.25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-focus-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-focus-card {
  display: grid !important;
  align-content: start !important;
  gap: .45rem !important;
  min-width: 0 !important;
  padding: 1rem !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-focus-badge {
  justify-self: start !important;
  max-width: 100% !important;
  white-space: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .table-wrap {
  overflow-x: auto !important;
  margin-top: .75rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-events-range {
  margin: .35rem 0 0 !important;
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-events-pagination {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
  margin-top: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-events-pagination > span {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-event-mobile-list {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events table {
  width: 100% !important;
  min-width: 56rem !important;
  border-collapse: collapse !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events :where(th, td) {
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
  padding: .8rem !important;
  vertical-align: top !important;
  color: var(--mantivo-admin-ink) !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events th {
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .78rem !important;
  text-transform: uppercase !important;
  letter-spacing: .02em !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-event-target-row > td:last-child {
  min-width: 18rem !important;
  border-inline-start: 1px solid var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-detail-disclosure summary {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 2.5rem !important;
  padding: .55rem .8rem !important;
  border: 1px solid var(--mantivo-admin-primary) !important;
  border-radius: .55rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-primary-hover) !important;
  cursor: pointer !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-detail-disclosure summary:is(:hover, :focus-visible) {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-primary-hover) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-detail-disclosure code {
  display: block !important;
  max-width: 100% !important;
  margin-top: .6rem !important;
  overflow-wrap: anywhere !important;
  white-space: pre-wrap !important;
  padding: .65rem .75rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events :where(.admin-heading, .security-command-card, .security-review-shortcuts__summary, .security-next-action-panel, .security-focus-card, .security-events-table-panel, .security-detail-disclosure) :where(a, button, summary):focus-visible {
  outline: 3px solid var(--mantivo-admin-focus) !important;
  outline-offset: 2px !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events :where(.admin-heading, .security-next-action-panel, .security-focus-panel, .security-events-table-panel, .security-command-card, .security-summary-metric, .security-review-shortcuts__summary, .security-review-shortcut-card, .security-focus-card, .table-wrap) {
  border-color: var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-focus-panel p,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-focus-panel p {
  color: var(--mantivo-admin-muted) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events :where(.security-event-target-row > td:last-child, th, td, .security-detail-disclosure code) {
  border-color: var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .admin-heading,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-next-action-panel {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-next-action-actions {
    align-self: start !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-focus-list {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-event-target-row > td:last-child {
    min-width: 0 !important;
    border-inline-start: 0 !important;
    border-top: 1px solid var(--mantivo-admin-border) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-events-table-panel .table-wrap {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-event-mobile-list {
    display: grid !important;
    gap: 0 !important;
    margin: .5rem 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-event-mobile-item {
    display: grid !important;
    gap: .35rem !important;
    min-width: 0 !important;
    padding: .75rem .2rem !important;
    border-bottom: 1px solid var(--mantivo-admin-border) !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-event-mobile-item :where(time, p) {
    margin: 0 !important;
    color: var(--mantivo-admin-muted) !important;
    font-size: .85rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-command-strip,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-review-shortcut-grid {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .metric-row {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-summary-metric {
    padding: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-events-page {
    gap: .75rem !important;
    padding-block-end: 1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events :where(.admin-heading, .security-next-action-panel, .security-focus-panel, .security-events-table-panel) {
    padding: 1rem !important;
  }
}

@media (max-width: 420px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-events-page {
    padding-inline: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .admin-heading {
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .admin-heading h2 {
    font-size: 1.35rem !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events :where(.admin-heading, .security-next-action-panel, .security-focus-panel) {
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .admin-heading .btn {
    max-width: 100% !important;
    white-space: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-review-shortcuts__summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .3rem !important;
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-review-shortcuts__toggle {
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events :where(.security-next-action-panel, .security-focus-panel, .security-events-table-panel) {
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events .security-focus-card {
    padding: .5rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-security-events *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Trace Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .admin-main,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .admin-content {
  min-width: 0 !important;
  background: transparent !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-page {
  width: min(100%, 96rem) !important;
  display: grid !important;
  gap: 1rem !important;
  margin-inline: auto !important;
  padding-block: .5rem 2rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace :where(.admin-heading, .trace-next-action-panel, .audit-review-panel, .trace-filters-panel, .trace-events-panel) {
  min-width: 0 !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: 0 .25rem .8rem rgba(30, 58, 95, .05) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .admin-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1.15rem 1.25rem !important;
  border-inline-start: .3rem solid var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .admin-heading.is-global-operations {
  border-inline-start-color: var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .admin-heading h2 {
  max-width: 36ch !important;
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem) !important;
  line-height: 1.12 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .admin-heading p {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-related-actions {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-related-actions > summary {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 2.75rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-related-actions > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-related-actions-panel {
  display: grid !important;
  gap: .5rem !important;
  min-width: 0 !important;
  margin-top: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-related-actions-panel .btn {
  min-height: 2.75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-command-strip {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-command-card,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-summary-metric,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-shortcut-card,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .audit-review-card {
  min-width: 0 !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-command-card {
  display: grid !important;
  align-content: start !important;
  gap: .3rem !important;
  min-height: 6.4rem !important;
  padding: 1rem !important;
  text-decoration: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace :where(.trace-command-card, .trace-shortcut-card, .audit-review-card):is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-command-card :where(span, strong, small),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-shortcut-card :where(span, strong, small),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .audit-review-card :where(strong, p, small) {
  color: inherit !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-command-card span,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-shortcut-card span {
  color: var(--mantivo-admin-primary) !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-command-card small,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-shortcut-card small,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .audit-review-card small {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .metric-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)) !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-summary-metric {
  display: grid !important;
  align-content: start !important;
  gap: .3rem !important;
  min-height: 6.25rem !important;
  padding: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-summary-metric :where(span, small) {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-summary-metric strong {
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.55rem !important;
  line-height: 1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .admin-disclosure-panel {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .admin-disclosure-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .75rem !important;
  min-height: 2.9rem !important;
  padding: .75rem 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
  font-weight: 800 !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .admin-disclosure-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .admin-disclosure-summary:is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-page) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .admin-disclosure-body {
  padding: 1rem 0 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-shortcut-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-shortcut-card {
  display: grid !important;
  align-content: start !important;
  gap: .3rem !important;
  min-height: 6.7rem !important;
  padding: 1rem !important;
  text-decoration: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-next-action-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 1rem !important;
  padding: 1.15rem 1.25rem !important;
  border-inline-start: .3rem solid var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-next-action-panel h3 {
  max-width: 58ch !important;
  margin: 0 0 .45rem !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem) !important;
  line-height: 1.2 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-next-action-meta,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-next-action-buttons,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-next-action-buttons {
  align-self: center !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .audit-review-panel,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-filters-panel,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel {
  padding: 1.15rem 1.25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .audit-review-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .audit-review-card {
  display: grid !important;
  align-content: start !important;
  gap: .45rem !important;
  padding: 1rem !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .audit-review-badge {
  justify-self: start !important;
  max-width: 100% !important;
  white-space: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .filter-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .85rem 1rem !important;
  align-items: end !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .filter-form label {
  display: grid !important;
  gap: .35rem !important;
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .filter-form :where(select) {
  width: 100% !important;
  min-height: 2.8rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .55rem !important;
  background: var(--mantivo-admin-surface) !important;
  padding: .65rem .8rem !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .filter-form :where(select):is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .table-wrap {
  overflow-x: auto !important;
  margin-top: .75rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-range {
  margin: .35rem 0 0 !important;
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel > p.small {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-pagination {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
  margin-top: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-pagination > span {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-mobile-disclosure {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-event-context {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace table {
  width: 100% !important;
  min-width: 58rem !important;
  border-collapse: collapse !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace :where(th, td) {
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
  padding: .8rem !important;
  vertical-align: top !important;
  color: var(--mantivo-admin-ink) !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace th {
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .78rem !important;
  text-transform: uppercase !important;
  letter-spacing: .02em !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-target-row > td:last-child {
  min-width: 18rem !important;
  border-inline-start: 1px solid var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-detail-disclosure summary {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 2.5rem !important;
  padding: .55rem .8rem !important;
  border: 1px solid var(--mantivo-admin-primary) !important;
  border-radius: .55rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-primary-hover) !important;
  cursor: pointer !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-detail-disclosure summary:is(:hover, :focus-visible) {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-primary-hover) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-detail-disclosure code {
  display: block !important;
  max-width: 100% !important;
  margin-top: .6rem !important;
  overflow-wrap: anywhere !important;
  white-space: pre-wrap !important;
  padding: .65rem .75rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace :where(.admin-heading, .trace-next-action-panel, .audit-review-panel, .trace-filters-panel, .trace-events-panel, .trace-command-card, .trace-summary-metric, .trace-shortcut-card, .audit-review-card, .admin-disclosure-summary, .table-wrap) :where(a, button, select, summary):focus-visible {
  outline: 3px solid var(--mantivo-admin-focus) !important;
  outline-offset: 2px !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace :where(.admin-heading, .trace-next-action-panel, .audit-review-panel, .trace-filters-panel, .trace-events-panel, .trace-command-card, .trace-summary-metric, .trace-shortcut-card, .audit-review-card, .admin-disclosure-summary, .table-wrap) {
  border-color: var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace :where(th, td, select) {
  border-color: var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .admin-heading,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-next-action-panel {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-next-action-buttons {
    align-self: start !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .audit-review-list {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-target-row > td:last-child {
    min-width: 0 !important;
    border-inline-start: 0 !important;
    border-top: 1px solid var(--mantivo-admin-border) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel .table-wrap {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel table,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel tbody {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel thead {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel caption {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel .trace-target-row {
    display: grid !important;
    min-width: 0 !important;
    padding: .45rem .15rem !important;
    border: 0 !important;
    border-top: 1px solid var(--mantivo-admin-border) !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel .trace-target-row:first-child {
    border-top: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel .trace-target-row > td {
    display: block !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel .trace-target-row > td:not(:first-child),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-desktop-date {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel .trace-mobile-disclosure {
    display: block !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel .trace-mobile-disclosure summary {
    display: grid !important;
    grid-template-columns: 1.25rem minmax(0, 1fr) !important;
    align-items: baseline !important;
    column-gap: .3rem !important;
    padding: .2rem !important;
    color: var(--mantivo-admin-ink) !important;
    cursor: pointer !important;
    overflow-wrap: anywhere !important;
    list-style: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel .trace-mobile-disclosure summary::-webkit-details-marker {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel .trace-mobile-disclosure summary::before {
    content: '+' !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    color: var(--mantivo-admin-primary) !important;
    font-weight: 800 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel .trace-mobile-disclosure[open] summary::before {
    content: '-' !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel .trace-mobile-disclosure summary strong {
    display: block !important;
    grid-column: 2 !important;
    margin: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel .trace-mobile-disclosure summary :where(span, time) {
    display: block !important;
    grid-column: 2 !important;
    margin-top: .2rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel .trace-mobile-disclosure summary :where(span, time) {
    color: var(--mantivo-admin-muted) !important;
    font-size: .85rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel .trace-mobile-disclosure[open] {
    padding-bottom: .3rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel .trace-event-context {
    display: grid !important;
    gap: .35rem !important;
    margin: .55rem 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel .trace-event-context :where(dt, dd) {
    margin: 0 !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel .trace-event-context dt {
    color: var(--mantivo-admin-muted) !important;
    font-size: .78rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-panel .trace-mobile-disclosure code {
    display: block !important;
    max-width: 100% !important;
    padding: .55rem !important;
    border: 1px solid var(--mantivo-admin-border) !important;
    border-radius: .5rem !important;
    background: var(--mantivo-admin-subtle) !important;
    color: var(--mantivo-admin-ink) !important;
    white-space: pre-wrap !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .filter-form :where(select, button, a),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-events-pagination :where(a, span) {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace :where(.admin-disclosure-summary, .trace-next-action-panel, .trace-events-panel, .trace-filters-panel, .audit-review-panel) {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .admin-disclosure-summary,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-next-action-buttons {
    flex-wrap: wrap !important;
    white-space: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-next-action-panel > * {
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-command-strip,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .metric-row,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-shortcut-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .filter-form {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace .trace-page {
    gap: .75rem !important;
    padding-block-end: 1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace :where(.admin-heading, .trace-next-action-panel, .audit-review-panel, .trace-filters-panel, .trace-events-panel) {
    padding: 1rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trace *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Support Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .admin-main,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .admin-content {
  min-width: 0 !important;
  background: transparent !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-desk-page {
  width: min(100%, 96rem) !important;
  display: grid !important;
  gap: 1rem !important;
  margin-inline: auto !important;
  padding-block: .5rem 2rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support :where(.admin-heading, .support-context-strip, .support-automation-panel, .support-knowledge-health-panel, .support-knowledge-review-panel, .support-knowledge-gap-panel, .support-next-action-panel, .support-warranty-panel, .support-focus-panel, .support-followup-panel, .support-new-request-panel, .support-filter-panel, #support-ticket-list) {
  min-width: 0 !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: 0 .25rem .8rem rgba(30, 58, 95, .05) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .admin-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1.15rem 1.25rem !important;
  border-inline-start: .3rem solid var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .admin-heading.is-global-operations {
  border-inline-start-color: var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .admin-heading h2 {
  max-width: 34ch !important;
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: clamp(1.5rem, 2.3vw, 2.15rem) !important;
  line-height: 1.12 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .admin-heading :where(p, .hint) {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-command-strip {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-command-card {
  display: grid !important;
  align-content: start !important;
  gap: .3rem !important;
  min-width: 0 !important;
  min-height: 6.5rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-command-card.is-primary {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-primary) !important;
  color: var(--mantivo-admin-primary-contrast) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-command-card :where(span, strong, small) {
  color: inherit !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-command-card span {
  font-size: .78rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-command-card small {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-command-card.is-primary small {
  color: #ffffff !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-command-card:is(:hover, :focus-visible):not(.is-primary) {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-page) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-context-strip {
  display: grid !important;
  gap: .8rem !important;
  padding: 1rem 1.25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-context-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)) !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-context-list > * {
  min-width: 0 !important;
  padding: .75rem .85rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .55rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support :where(.support-automation-panel, .support-knowledge-health-panel, .support-knowledge-review-panel, .support-knowledge-gap-panel, .support-warranty-panel, .support-focus-panel, .support-followup-panel, .support-new-request-panel, .support-filter-panel, #support-ticket-list) {
  padding: 1.15rem 1.25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-automation-panel {
  display: grid !important;
  gap: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-automation-metrics,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-automation-core-metrics,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-automation-secondary-metrics {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-automation-secondary-metrics {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-automation-metric,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-summary-metric {
  display: grid !important;
  align-content: start !important;
  gap: .3rem !important;
  min-width: 0 !important;
  min-height: 6.25rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support :where(.support-automation-metric, .support-summary-metric) :where(span, small) {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support :where(.support-automation-metric, .support-summary-metric) strong {
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.5rem !important;
  line-height: 1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-knowledge-health-panel {
  border-inline-start: .3rem solid #138a5b !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support :where(.support-knowledge-review-list, .support-knowledge-gap-list, .support-warranty-grid, .support-focus-list, .support-followup-grid, .support-request-example-grid) {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)) !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support :where(.support-knowledge-review-card, .support-knowledge-gap-card, .support-warranty-card, .support-focus-card, .support-followup-card, .support-request-example) {
  display: grid !important;
  align-content: start !important;
  gap: .45rem !important;
  min-width: 0 !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support :where(.support-knowledge-review-card, .support-knowledge-gap-card, .support-warranty-card, .support-focus-card, .support-followup-card, .support-request-example) :where(p, small, dt, dd) {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-intake-shortcuts {
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-intake-shortcuts-summary {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .75rem !important;
  min-height: 2.9rem !important;
  padding: .75rem 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
  list-style: none !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-intake-shortcuts-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-intake-shortcuts-summary:is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-page) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-intake-shortcuts__body {
  display: grid !important;
  gap: .9rem !important;
  padding-top: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-intake-shortcut-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-intake-shortcut-card {
  display: grid !important;
  align-content: start !important;
  gap: .4rem !important;
  min-width: 0 !important;
  min-height: 7rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-metrics {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-next-action-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 1rem !important;
  padding: 1.15rem 1.25rem !important;
  border-inline-start: .3rem solid var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-next-action-panel h3 {
  max-width: 58ch !important;
  margin: 0 0 .45rem !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem) !important;
  line-height: 1.2 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-next-action-meta,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-next-action-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-knowledge-review-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-next-action-actions {
  align-self: center !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-admin-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr) !important;
  gap: 1rem !important;
  align-items: start !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-form,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-filter-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .85rem 1rem !important;
  align-items: end !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-form :where(label, .full),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-filter-form :where(label, .full) {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support :where(.support-ticket-form, .support-filter-form) label {
  display: grid !important;
  gap: .35rem !important;
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support :where(.support-ticket-form, .support-filter-form) :where(input, select, textarea) {
  width: 100% !important;
  min-height: 2.8rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .55rem !important;
  background: var(--mantivo-admin-surface) !important;
  padding: .65rem .8rem !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support :where(.support-ticket-form, .support-filter-form) :where(input, select, textarea):is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-form textarea {
  min-height: 8rem !important;
  resize: vertical !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-form .full,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-filter-form .full,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-filter-form .support-response-note {
  grid-column: 1 / -1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-list {
  display: grid !important;
  gap: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, .42fr) !important;
  gap: 1rem !important;
  min-width: 0 !important;
  padding: 1.15rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .7rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-main {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-meta {
  display: grid !important;
  align-content: start !important;
  gap: .45rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: .9rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .6rem !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-meta :where(dt, dd) {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-meta dt {
  color: var(--mantivo-admin-muted) !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-meta dd {
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-actions {
  grid-column: 1 / -1 !important;
  align-items: flex-start !important;
  padding-top: .85rem !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-status-actions {
  position: relative !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-status-actions > summary {
  min-height: 2.7rem !important;
  cursor: pointer !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-status-actions > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-status-actions-panel {
  position: absolute !important;
  z-index: 5 !important;
  top: calc(100% + .4rem) !important;
  left: 0 !important;
  display: grid !important;
  gap: .4rem !important;
  min-width: 15rem !important;
  padding: .65rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .6rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 .75rem 1.5rem rgba(15, 23, 42, .18) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-status-actions-panel :where(form, button) {
  width: 100% !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-status-actions-panel button {
  justify-content: flex-start !important;
  text-align: left !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-admin-answer-form {
  display: grid !important;
  flex: 1 1 24rem !important;
  min-width: min(100%, 24rem) !important;
  gap: .55rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-admin-answer-form textarea {
  min-height: 6rem !important;
  width: 100% !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .55rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  padding: .65rem .8rem !important;
  resize: vertical !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-request-example {
  width: 100% !important;
  text-align: left !important;
  cursor: pointer !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support :where(.admin-heading, .support-command-card, .support-intake-shortcuts-summary, .support-next-action-panel, .support-ticket-card, .support-ticket-status-actions-panel, .support-automation-metric, .support-summary-metric, .support-knowledge-review-card, .support-knowledge-gap-card, .support-warranty-card, .support-focus-card, .support-followup-card, .support-request-example, .support-context-list > *) :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--mantivo-admin-focus) !important;
  outline-offset: 2px !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support :where(.admin-heading, .support-context-strip, .support-automation-panel, .support-knowledge-health-panel, .support-knowledge-review-panel, .support-knowledge-gap-panel, .support-next-action-panel, .support-warranty-panel, .support-focus-panel, .support-followup-panel, .support-new-request-panel, .support-filter-panel, #support-ticket-list, .support-command-card, .support-intake-shortcuts-summary, .support-ticket-card, .support-ticket-status-actions-panel) {
  border-color: var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support :where(.support-context-list > *, .support-automation-metric, .support-summary-metric, .support-knowledge-review-card, .support-knowledge-gap-card, .support-warranty-card, .support-focus-card, .support-followup-card, .support-intake-shortcut-card, .support-request-example, .support-ticket-meta) {
  border-color: var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support :where(input, select, textarea) {
  border-color: var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .admin-heading,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-next-action-panel,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-card {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-next-action-actions {
    align-self: start !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-admin-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-actions {
    grid-column: auto !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-desk-page :where(.btn, summary.btn) {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support :where(.admin-heading, .section-heading-row, .support-ticket-card, .support-ticket-main, .support-ticket-actions, .support-ticket-status-actions, .support-admin-answer-form) > * {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-card {
    padding: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-status-actions-panel {
    position: static !important;
    min-width: 0 !important;
    width: 100% !important;
    margin-top: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-admin-answer-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-admin-answer-form textarea {
    min-width: 0 !important;
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support :where(.support-knowledge-health-panel, .support-next-action-panel, .support-focus-panel, .support-followup-panel, .support-new-request-panel, .support-filter-panel, .support-intake-shortcuts-summary) > * {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support :where(.support-knowledge-health-panel, .support-next-action-actions, .support-new-request-panel, .support-filter-panel) :where(a.btn, button.btn) {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-next-action-actions {
    white-space: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-command-strip,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-automation-metrics,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-automation-core-metrics,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-automation-secondary-metrics,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-metrics,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-filter-form {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-desk-page {
    gap: .75rem !important;
    padding-block-end: 1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support :where(.admin-heading, .support-context-strip, .support-automation-panel, .support-knowledge-health-panel, .support-knowledge-review-panel, .support-knowledge-gap-panel, .support-next-action-panel, .support-warranty-panel, .support-focus-panel, .support-followup-panel, .support-new-request-panel, .support-filter-panel, #support-ticket-list) {
    padding: 1rem !important;
  }
}

@media (max-width: 420px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support #support-ticket-list,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-card {
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-status-actions-panel {
    padding: .4rem !important;
    width: calc(100% + 1rem) !important;
    max-width: none !important;
    margin-left: -.5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-meta {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-status-actions > summary,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-ticket-status-actions-panel button,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .support-admin-answer-form button {
    font-size: .875rem !important;
    padding-inline: .3rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .admin-heading {
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .admin-heading h2 {
    font-size: 1.1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support .admin-heading .btn {
    width: 100% !important;
    font-size: .875rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-support *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Help Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-page {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: min(100%, 96rem) !important;
  margin-inline: auto !important;
  gap: 1.25rem !important;
  padding-bottom: 2rem !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-page > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help :where(.admin-heading, .help-primary-next-step, .admin-help-nav, .admin-help-content) {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: 0 .2rem .65rem rgba(15, 23, 42, .06) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1.25rem 1.35rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-heading h2 {
  margin: 0 !important;
  font-size: clamp(1.35rem, 2vw, 1.8rem) !important;
  line-height: 1.15 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help :where(.help-command-strip, .help-primary-proof, .admin-help-feature-list) {
  display: grid !important;
  gap: .85rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-command-strip {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)) !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-layout {
  display: grid !important;
  grid-template-columns: minmax(15rem, 18rem) minmax(0, 1fr) !important;
  gap: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-command-card,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-primary-proof span,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-feature-list article {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .7rem !important;
  background: var(--mantivo-admin-surface) !important;
  padding: .95rem !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-command-card {
  display: grid !important;
  align-content: start !important;
  gap: .35rem !important;
  min-height: 7rem !important;
  border-block-start: .2rem solid var(--mantivo-admin-primary) !important;
  transition: border-color .15s ease, background-color .15s ease !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-command-card:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-command-card:focus-visible {
  border-color: var(--mantivo-admin-primary-hover) !important;
  background: var(--mantivo-admin-subtle) !important;
}

/* Help primary command surface 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-command-card.is-primary {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-primary) !important;
  color: var(--mantivo-admin-primary-contrast) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-command-card.is-primary :where(span, strong, small) {
  color: inherit !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-command-card.is-primary:is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-primary-hover) !important;
  background: var(--mantivo-admin-primary-hover) !important;
  color: #ffffff !important;
}

/* Help proof chips 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-primary-proof span {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 2rem !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-primary-proof {
  display: flex !important;
  flex-wrap: wrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-feature-list {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-feature-list article {
  display: grid !important;
  gap: .35rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-primary-next-step {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1.25rem 1.35rem !important;
  background: var(--mantivo-admin-subtle) !important;
  border-inline-start: .3rem solid var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-primary-next-step h3 {
  margin: 0 !important;
  font-size: clamp(1.25rem, 2vw, 1.6rem) !important;
  line-height: 1.2 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-content {
  padding: 1.25rem 1.35rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav {
  align-self: start !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav > h2 {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav-count {
  color: var(--mantivo-admin-muted) !important;
  font-size: .75rem !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav nav {
  display: grid !important;
  gap: .45rem !important;
  margin-top: .75rem !important;
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-topic-summary {
    display: none !important;
  }
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav > h2 {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-topic-summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: .2rem !important;
    padding: .85rem 1rem !important;
    border: 1px solid var(--mantivo-admin-border) !important;
    border-radius: .5rem !important;
    background: var(--mantivo-admin-surface) !important;
    color: var(--mantivo-admin-ink) !important;
    cursor: pointer !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-topic-summary::-webkit-details-marker {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-topic-summary::after {
    content: '+' !important;
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    color: var(--mantivo-admin-primary) !important;
    font-size: 1.25rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-topic-picker[open] .admin-help-topic-summary::after {
    content: '−' !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-topic-summary small {
    grid-column: 1 !important;
    color: var(--mantivo-admin-muted) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-topic-summary:focus-visible {
    outline: .2rem solid var(--mantivo-admin-focus) !important;
    outline-offset: .15rem !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav nav a {
  display: grid !important;
  gap: .3rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  padding: .65rem .75rem !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav nav a.is-active {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-subtle) !important;
}

/* Help active topic state 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav nav a[aria-current="page"] {
  border-inline-start: .3rem solid var(--mantivo-admin-primary) !important;
  padding-inline-start: .85rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 .2rem .6rem rgba(36, 99, 235, .08) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav nav a span {
  color: var(--mantivo-admin-muted) !important;
  font-size: .85rem !important;
  line-height: 1.35 !important;
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav nav {
    gap: .15rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav nav a {
    display: flex !important;
    align-items: center !important;
    min-height: 2.5rem !important;
    margin: 0 !important;
    padding: .4rem .7rem !important;
    border-color: transparent !important;
    border-radius: .25rem !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav nav a[aria-current="page"] {
    border-inline-start-color: var(--mantivo-admin-primary) !important;
    background: var(--mantivo-admin-surface) !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav nav a:hover,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav nav a:focus-visible {
    background: var(--mantivo-admin-surface) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav nav a:focus-visible {
    outline: .2rem solid var(--mantivo-admin-focus) !important;
    outline-offset: -.2rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav nav a span {
    display: none !important;
  }
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav nav {
    gap: 0 !important;
    border-top: 1px solid var(--mantivo-admin-border) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav nav a {
    display: flex !important;
    align-items: center !important;
    min-height: 2.75rem !important;
    padding: .55rem .35rem !important;
    border: 0 !important;
    border-bottom: 1px solid var(--mantivo-admin-border) !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav nav a[aria-current="page"] {
    padding-inline-start: .75rem !important;
    border-inline-start: .2rem solid var(--mantivo-admin-primary) !important;
    background: var(--mantivo-admin-surface) !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav nav a span {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav nav a:focus-visible {
    outline: .2rem solid var(--mantivo-admin-focus) !important;
    outline-offset: -.2rem !important;
  }
}

/* Help search fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-search-fieldset {
  min-width: 0 !important;
  margin: 0 !important;
  padding: .8rem .85rem .95rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .7rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-search-fieldset > legend {
  width: auto !important;
  margin: 0 !important;
  padding: 0 .4rem !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .85rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-search {
  display: grid !important;
  gap: .7rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-search > div {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: stretch !important;
  gap: .5rem !important;
}

@media (min-width: 1024px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-search-fieldset {
    max-width: 40rem !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-search-fieldset > legend {
    padding: 0 !important;
  }
}

/* Help search result status 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-search-status {
  margin: 0 !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: .82rem !important;
  line-height: 1.4 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-search button {
  min-height: 2.8rem !important;
  border: 1px solid var(--mantivo-admin-primary) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-primary) !important;
  padding: .65rem 1rem !important;
  color: #fff !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-search button:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-search button:focus-visible {
  border-color: var(--mantivo-admin-primary-hover) !important;
  background: var(--mantivo-admin-primary-hover) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help :where(input) {
  width: 100% !important;
  min-height: 2.8rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  padding: .65rem .85rem !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-content {
  min-width: 0 !important;
  align-self: start !important;
  scroll-margin-top: 6rem !important;
  font-size: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-content > h3 {
  margin: .25rem 0 .5rem !important;
  font-size: 1.5rem !important;
  line-height: 1.12 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-section {
  margin-top: 1.35rem !important;
  padding-top: 1.15rem !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-content .admin-help-section > :is(h4, summary) {
  font-size: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-content details.admin-help-section > summary {
  min-height: 2.75rem !important;
  padding-block: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-secondary > summary {
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-secondary > summary h4 {
  display: inline !important;
  margin: 0 !important;
  font-size: inherit !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-secondary > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-secondary > .compact-list {
  margin-top: .85rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-sector-examples > summary {
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-sector-examples > summary:focus-visible {
  outline: 3px solid var(--mantivo-admin-primary) !important;
  outline-offset: 3px !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-sector-examples .admin-help-feature-list {
  margin-top: .85rem !important;
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav {
    position: sticky !important;
    top: 6rem !important;
    max-height: calc(100vh - 7rem) !important;
    overflow: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: var(--mantivo-admin-muted) transparent !important;
  }
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help :where(.admin-heading, .help-primary-next-step, .admin-help-nav, .admin-help-content, .help-command-card, .help-primary-proof span, .admin-help-feature-list article, .admin-help-search-fieldset, input) {
  border-color: var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
}

/* Help primary command dark surface 2026-10-21. */
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-command-card.is-primary {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-primary) !important;
  color: var(--mantivo-admin-primary-contrast) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-command-card.is-primary :where(span, strong, small) {
  color: inherit !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-command-card.is-primary:is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-primary-hover) !important;
  background: var(--mantivo-admin-primary-hover) !important;
  color: #ffffff !important;
}

@media (max-width: 1100px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-command-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-heading,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-layout,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-primary-next-step {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-heading {
    gap: .65rem !important;
    padding: .9rem 1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-heading .admin-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-command-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-command-card {
    min-height: 0 !important;
    padding: .65rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-command-card small {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-primary-proof {
    gap: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-primary-proof span {
    padding: .4rem .55rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-search-fieldset {
    background: var(--mantivo-admin-surface) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-search > div {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-search button {
    width: 100% !important;
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav,
  html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-nav {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

/* Help role-aware actions 2026-10-20. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-primary-actions {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)) !important;
  gap: .6rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-primary-actions .btn {
  width: 100% !important;
  min-height: 2.75rem !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-primary-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-command-card {
    transition: none !important;
  }
}

/* The search and topic shortcuts already provide the framed controls. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-heading {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-search > div {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-search button {
    width: auto !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-content .admin-help-section > .admin-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-content .admin-help-section > .admin-actions > a {
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-command-card {
    min-height: 3rem !important;
    align-content: center !important;
    gap: 0 !important;
    padding: .55rem .7rem !important;
    border-block-start-width: 1px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .help-command-card span {
    display: none !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-heading .admin-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-heading .admin-actions .btn {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    align-self: stretch !important;
    min-height: 44px !important;
    padding-inline: .45rem !important;
    white-space: normal !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-heading .admin-actions .btn:only-child {
    grid-column: 1 / -1 !important;
  }
}

/* Tutorial Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-guide-page {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: min(100%, 96rem) !important;
  margin-inline: auto !important;
  gap: 1.25rem !important;
  padding-bottom: 2rem !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial :where(.admin-heading, .tutorial-guide-summary, .tutorial-editor, .tutorial-guide-next) {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: 0 .2rem .65rem rgba(15, 23, 42, .06) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .admin-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1.25rem 1.35rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .admin-heading h2 {
  margin: 0 !important;
  font-size: clamp(1.35rem, 2vw, 1.8rem) !important;
  line-height: 1.15 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial :where(.tutorial-guide-summary, .tutorial-guide-next) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem) !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1.25rem 1.35rem !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .admin-kpi-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-guide-steps,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .form-grid.two-columns {
  display: grid !important;
  gap: .85rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .admin-kpi-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-self: stretch !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-guide-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-guide-steps-panel {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-guide-steps-panel > .section-heading {
  margin-bottom: .85rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial :where(.tutorial-guide-step, .admin-kpi-grid > div) {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .7rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .admin-kpi-grid > div {
  display: grid !important;
  min-width: 0 !important;
  align-content: center !important;
  min-height: 5.25rem !important;
  padding: .85rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-guide-step {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: start !important;
  min-width: 0 !important;
  gap: .85rem !important;
  padding: 1rem !important;
  transition: border-color .15s ease, box-shadow .15s ease !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-guide-step:hover {
  border-color: var(--mantivo-admin-primary) !important;
  box-shadow: 0 .25rem .8rem rgba(37, 99, 235, .1) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-guide-step > div {
  display: flex !important;
  min-width: 0 !important;
  flex-direction: column !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-guide-step > div > .admin-actions {
  margin-top: auto !important;
  padding-top: .85rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-guide-step__number {
  display: inline-flex !important;
  min-width: 2.35rem !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: var(--mantivo-admin-primary) !important;
  padding: .35rem .65rem !important;
  color: #fff !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial :where(label) {
  display: grid !important;
  gap: .4rem !important;
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial :where(input, textarea) {
  width: 100% !important;
  min-height: 2.8rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  padding: .65rem .85rem !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial textarea {
  resize: vertical !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial :where(.form-actions, .admin-actions, .inline-form) {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-editor {
  border-inline-start: .3rem solid var(--mantivo-admin-primary) !important;
  padding: 1.25rem 1.35rem !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-editor-form + .tutorial-editor-form {
  margin-top: 1.25rem !important;
  padding-top: 1.25rem !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial :where(.admin-heading, .tutorial-guide-summary, .tutorial-editor, .tutorial-guide-next, .tutorial-guide-step, .admin-kpi-grid > div, input, textarea) {
  border-color: var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-guide-page {
  background: var(--mantivo-admin-page) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-guide-steps-panel > .section-heading h3 {
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-guide-steps-panel > .section-heading .eyebrow {
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .admin-heading :is(.eyebrow, p:not(.eyebrow)) {
  color: #52657a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial :is(.tutorial-guide-summary, .tutorial-guide-step, .tutorial-editor, .tutorial-guide-next) :is(.eyebrow, p:not(.eyebrow)) {
  color: #52657a !important;
}

@media (max-width: 1100px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-guide-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial :where(.tutorial-guide-summary, .tutorial-guide-next) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .admin-heading {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .admin-kpi-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .admin-kpi-grid > div {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    min-height: 0 !important;
    gap: .25rem .75rem !important;
    border: 0 !important;
    border-top: 1px solid var(--mantivo-admin-border) !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: .55rem 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .form-grid.two-columns {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-guide-steps {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-guide-page :where(.admin-heading, .tutorial-guide-summary, .tutorial-guide-next, .tutorial-editor, .tutorial-guide-step) {
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-guide-step {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial :where(.admin-heading, .tutorial-guide-step, .tutorial-guide-next) .admin-actions :where(.btn, .inline-form) {
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial :where(.admin-heading, .tutorial-guide-step, .tutorial-guide-next) .admin-actions .btn {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .admin-kpi-grid :where(dt, dd) {
    min-width: 0 !important;
    margin: 0 !important;
    font-size: .875rem !important;
    overflow-wrap: normal !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-tutorial .tutorial-guide-step {
    transition: none !important;
  }
}

/* Account Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-page {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: min(100%, 96rem) !important;
  margin-inline: auto !important;
  gap: 1.25rem !important;
  padding-bottom: 2rem !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-page > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account :where(.admin-heading, .account-primary-next-action, .account-client-overview-panel, .account-complete-channels-panel, .account-action-log-panel, .account-client-activity-panel, .account-client-request-panel, .account-password-panel, .account-profile-card, .admin-empty-state) {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .7rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .admin-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1.25rem !important;
  padding: 1.25rem 1.35rem !important;
  border-inline-start: .35rem solid var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .admin-heading h2 {
  margin: .2rem 0 .45rem !important;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem) !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .admin-heading p:not(.eyebrow):not(.hint) {
  max-width: 58rem !important;
  margin: 0 !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .admin-heading .admin-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-primary-next-meta,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-action-row,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: .6rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-strip {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-card,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-overview-card,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-complete-channel-card,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-activity-card,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-action-card,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-request-examples,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-request-summary {
  display: grid !important;
  align-content: start !important;
  gap: .4rem !important;
  min-width: 0 !important;
  padding: 1rem 1.05rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .6rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-card {
  min-height: 6.5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-card.is-primary {
  border-block-start: .25rem solid var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account :where(.account-command-card, .account-client-overview-card, .account-complete-channel-card, .account-client-activity-card, .account-action-card) :where(span, em) {
  color: var(--mantivo-admin-primary) !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-complete-channel-card > em {
  font-size: .875rem !important;
  font-style: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-complete-channel-card > small {
  font-size: .875rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-overview-card > em {
  font-size: .875rem !important;
  font-style: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account :where(.account-command-card, .account-client-overview-card, .account-complete-channel-card, .account-client-activity-card, .account-action-card) :where(strong, h3) {
  color: var(--mantivo-admin-ink) !important;
  line-height: 1.25 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account :where(.account-command-card, .account-client-overview-card, .account-complete-channel-card, .account-client-activity-card, .account-action-card) :where(small, p, dd) {
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account :where(.account-command-card, .account-client-overview-card, .account-complete-channel-card, .account-action-card):is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-subtle) !important;
  outline: .2rem solid color-mix(in srgb, var(--mantivo-admin-focus) 38%, transparent) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account :where(.account-client-overview-grid, .account-complete-channels-grid, .account-client-activity-grid, .metric-row, .account-profile-grid, .account-client-request-grid, .account-action-grid) {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)) !important;
  gap: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-grid {
  align-items: start !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-activity-disclosure {
  margin-top: 1rem !important;
  border-block: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-activity-disclosure > summary {
  min-height: 44px !important;
  padding: .65rem .25rem !important;
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-activity-disclosure > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-activity-disclosure > .account-client-activity-grid {
  margin-top: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account :where(.account-primary-next-action, .account-client-overview-panel, .account-complete-channels-panel, .account-action-log-panel, .account-client-activity-panel, .account-client-request-panel, .account-password-panel) {
  padding: clamp(1.1rem, 2.2vw, 1.6rem) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-panel {
  width: min(100%, 50rem) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-review-disclosure > summary {
  display: none;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-review-disclosure__hide {
  display: none;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-review-disclosure[open] .account-client-review-disclosure__show {
  display: none;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-review-disclosure[open] .account-client-review-disclosure__hide {
  display: inline;
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-review-disclosure > summary {
    display: list-item;
    min-height: 44px;
    padding: .75rem 0;
    border-top: 1px solid var(--mantivo-admin-border);
    color: var(--mantivo-admin-primary);
    cursor: pointer;
    font-weight: 700;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-review-disclosure > summary:focus-visible {
    outline: .2rem solid var(--mantivo-admin-focus);
    outline-offset: .15rem;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-disclosure > summary {
  display: none;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-disclosure[open] > .account-password-form {
  margin-top: .75rem;
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-disclosure > summary {
    display: list-item;
    margin-top: .9rem;
    padding: .75rem 0;
    border-top: 1px solid var(--mantivo-admin-border);
    color: var(--mantivo-admin-primary);
    cursor: pointer;
    font-weight: 700;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-disclosure > summary:focus-visible {
    outline: .2rem solid var(--mantivo-admin-focus);
    outline-offset: .15rem;
  }
}

/* Account activity disclosure state 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-action-log__toggle-hide {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-action-log-panel[open] .account-action-log__toggle-show {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-action-log-panel[open] .account-action-log__toggle-hide {
  display: inline !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-primary-next-action {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1.25rem !important;
  border-inline-start: .35rem solid var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-primary-next-action h3 {
  margin: 0 !important;
  font-size: clamp(1.2rem, 2vw, 1.6rem) !important;
  line-height: 1.2 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-primary-next-meta {
  justify-content: flex-start !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-primary-next-meta > strong {
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account :where(.account-client-request-form, .account-password-form) {
  display: grid !important;
  grid-template-columns: minmax(13rem, .38fr) minmax(0, 1fr) !important;
  gap: 1rem 1.25rem !important;
  align-items: start !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-form {
  width: min(100%, 42rem) !important;
  grid-template-columns: minmax(0, 1fr) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account :where(.account-client-request-form, .account-password-form) :where(.hint, button, .form-actions) {
  grid-column: 1 / -1 !important;
}

/* Account password fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-form .account-password-fieldset {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: .45rem !important;
  width: min(100%, 42rem) !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-fieldset > label:not(:first-of-type) {
  margin-top: .55rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-label-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-label-row:not(:first-of-type) {
  margin-top: .55rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-label-row > label {
  min-width: 0 !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-input-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 2.75rem !important;
  gap: .5rem !important;
  align-items: center !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-input-row > input {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-input-row > button {
  grid-column: 2 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-toggle {
  display: inline-grid !important;
  place-items: center !important;
  flex: none !important;
  width: 2.75rem !important;
  height: 2.75rem !important;
  padding: 0 !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-primary) !important;
  cursor: pointer !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-toggle svg {
  width: 1.25rem !important;
  height: 1.25rem !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-toggle:focus-visible {
  outline: 3px solid var(--mantivo-admin-primary) !important;
  outline-offset: 2px !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-fieldset > legend {
  width: auto !important;
  margin: 0 0 .5rem !important;
  padding: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .9rem !important;
  font-weight: 800 !important;
}

/* Account review fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-request-form .account-review-fieldset {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: .55rem !important;
  width: min(100%, 42rem) !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-review-fieldset > legend {
  width: auto !important;
  margin: 0 0 .65rem !important;
  padding: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .86rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-review-fieldset > label {
  align-self: center !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-review-fieldset > .hint {
  grid-column: 1 / -1 !important;
  margin: 0 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account #client-review-request :where(p:not(.error):not(.success), small, .hint) {
  color: #52657a !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account :where(label) {
  display: grid !important;
  gap: .4rem !important;
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account :where(input, select, textarea) {
  width: 100% !important;
  min-height: 2.8rem !important;
  padding: .65rem .85rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account textarea {
  resize: vertical !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-action-log-list {
  display: grid !important;
  gap: .65rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-action-log-list li {
  display: grid !important;
  grid-template-columns: minmax(8rem, auto) minmax(0, 1fr) auto !important;
  gap: .75rem !important;
  align-items: center !important;
  padding: .8rem 0 !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-action-log-list li:last-child {
  border-bottom: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-action-log-list :where(span, small) {
  color: var(--mantivo-admin-muted) !important;
  font-size: .85rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-action-log-list strong {
  color: var(--mantivo-admin-ink) !important;
  font-size: .95rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account :where(.admin-disclosure-summary, .admin-disclosure-body) {
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account :where(.admin-heading, .account-primary-next-action, .account-client-overview-panel, .account-complete-channels-panel, .account-action-log-panel, .account-client-activity-panel, .account-client-request-panel, .account-password-panel, .account-profile-card, .admin-empty-state, .account-command-card, .account-client-overview-card, .account-complete-channel-card, .account-client-activity-card, .account-action-card) {
  border-color: var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-action-log-panel,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-action-log-panel {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-card.is-primary,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-primary-next-action {
  background: var(--mantivo-admin-subtle) !important;
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .admin-heading,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-primary-next-action,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-request-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-form {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-form .account-password-fieldset {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-request-form .account-review-fieldset {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .admin-heading .admin-actions {
    justify-content: flex-start !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-action-log-list li {
    grid-template-columns: 1fr !important;
    gap: .25rem !important;
  }
}

@media (max-width: 560px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-card {
    min-height: 0 !important;
    padding: .7rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-card small {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account :where(.admin-heading, .account-primary-next-action, .account-client-overview-panel, .account-complete-channels-panel, .account-action-log-panel, .account-client-activity-panel, .account-client-request-panel, .account-password-panel) {
    padding: 1rem !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-request-panel {
    padding-inline: .625rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account #request_topic {
    padding-inline: .3rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account :where(.account-command-card, .account-client-overview-card, .account-complete-channel-card, .account-client-activity-card, .account-action-card) {
    transition: none !important;
  }
}

@media (max-width: 380px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-action-log__summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: .5rem .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-action-log__summary > span:first-child {
    display: grid !important;
    gap: .2rem !important;
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-action-log__toggle {
    grid-column: 1 !important;
  }
}
/* Import surface tokens 2026-10-16. */
/* Import visual hierarchy 2026-10-11. */
/* Import work surface cleanup 2026-10-15. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import :where(.import-scope-panel, .import-preflight-panel, .import-column-map-panel, .import-upload-panel) {
  border-radius: .7rem !important;
  box-shadow: none !important;
}

.mantivo-tabler-import .import-admin-page {
  width: min(100%, 96rem) !important;
  margin-inline: auto !important;
  display: grid !important;
  gap: 1.5rem !important;
  color: var(--mantivo-admin-ink) !important;
}

.mantivo-tabler-import .import-check-disclosure > summary,
.mantivo-tabler-import .import-final-guard-detail > summary {
  cursor: pointer !important;
  padding: .85rem 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 700 !important;
}

.mantivo-tabler-import .import-check-disclosure > summary:focus-visible,
.mantivo-tabler-import .import-final-guard-detail > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

.mantivo-tabler-import .import-check-disclosure > .admin-panel,
.mantivo-tabler-import .import-final-guard-detail > .import-final-guard-grid {
  margin-top: .6rem !important;
}

.mantivo-tabler-import .admin-heading,
.mantivo-tabler-import .admin-panel,
.mantivo-tabler-import .metric-row article,
.mantivo-tabler-import .import-scope-card,
.mantivo-tabler-import .import-template-shortcuts-grid > article,
.mantivo-tabler-import .import-preflight-card,
.mantivo-tabler-import .import-column-map-grid > article,
.mantivo-tabler-import .import-result-guide,
.mantivo-tabler-import .import-guided-next-step,
.mantivo-tabler-import .import-preview-issues,
.mantivo-tabler-import .import-final-guard-card {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(15, 23, 42, .06) !important;
}

.mantivo-tabler-import .admin-heading,
.mantivo-tabler-import .section-heading-row,
.mantivo-tabler-import .import-technical-summary,
.mantivo-tabler-import .import-guided-next-step {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1.25rem !important;
}

.mantivo-tabler-import .admin-heading h2 {
  margin: .2rem 0 .45rem !important;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem) !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

/* Import heading readability 2026-10-21. */

.mantivo-tabler-import .admin-heading p {
  max-width: 58rem !important;
  margin: 0 !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}

.mantivo-tabler-import .admin-heading,
.mantivo-tabler-import .admin-panel,
.mantivo-tabler-import .import-guided-next-step,
.mantivo-tabler-import .import-preview-issues {
  padding: clamp(1.1rem, 2vw, 1.65rem) !important;
}

.mantivo-tabler-import .import-scope-grid,
.mantivo-tabler-import .metric-row,
.mantivo-tabler-import .import-template-shortcuts-grid,
.mantivo-tabler-import .import-preflight-grid,
.mantivo-tabler-import .import-column-map-grid,
.mantivo-tabler-import .import-final-guard-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)) !important;
  gap: 1rem !important;
}

.mantivo-tabler-import .import-scope-card,
.mantivo-tabler-import .metric-row article,
.mantivo-tabler-import .import-template-shortcuts-grid > article,
.mantivo-tabler-import .import-preflight-card,
.mantivo-tabler-import .import-column-map-grid > article,
.mantivo-tabler-import .import-final-guard-card {
  display: grid !important;
  align-content: start !important;
  gap: .45rem !important;
  padding: 1.1rem !important;
}

/* Import preflight overflow hardening 2026-10-14. */
.mantivo-tabler-import .import-preflight-card {
  min-width: 0 !important;
}

.mantivo-tabler-import .import-preflight-card p {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-panel[aria-labelledby="import-type-title"] .import-preflight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-panel[aria-labelledby="import-type-title"] .import-preflight-ready {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-panel[aria-labelledby="import-type-title"] .import-preflight-pending {
    grid-column: 2 !important;
  }
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-panel[aria-labelledby="import-type-title"] .import-preflight-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-panel[aria-labelledby="import-type-title"] .import-preflight-pending {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: .2rem .5rem !important;
  min-height: 0 !important;
  padding: .6rem .7rem !important;
  border-radius: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-panel[aria-labelledby="import-type-title"] .import-preflight-pending > span {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-panel[aria-labelledby="import-type-title"] .import-preflight-pending > strong {
  grid-column: 1 !important;
  grid-row: 2 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-panel[aria-labelledby="import-type-title"] .import-preflight-pending > .admin-empty-state-actions {
  grid-column: 2 !important;
  grid-row: 1 / 3 !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-panel[aria-labelledby="import-type-title"] .import-preflight-pending > .admin-empty-state-actions > a {
  min-height: 2.75rem !important;
  width: auto !important;
  padding-inline: .4rem !important;
  white-space: nowrap !important;
}

.mantivo-tabler-import :where(.eyebrow, .import-scope-card span, .metric-row span, .import-template-shortcuts-grid span, .import-preflight-card span, .import-column-map-grid span, .import-final-guard-card span) {
  color: var(--mantivo-admin-primary) !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
}

.mantivo-tabler-import :where(h2, h3, h4, strong) {
  color: var(--mantivo-admin-ink) !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.mantivo-tabler-import :where(p, small, li, dd) {
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.55 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import p.small {
  font-size: .875rem !important;
}

.mantivo-tabler-import .import-template-shortcuts-grid > article.is-selected,
.mantivo-tabler-import .import-preflight-ready,
.mantivo-tabler-import .import-guided-next-step {
  border-color: #93b7ff !important;
  background: var(--mantivo-admin-subtle) !important;
}

/* Import readiness state labels 2026-10-21. */
.mantivo-tabler-import .import-template-shortcuts-grid > article.is-selected strong,
.mantivo-tabler-import .import-preflight-ready strong {
  color: #166534 !important;
}

.mantivo-tabler-import .import-preflight-pending strong {
  color: #92400e !important;
}

.mantivo-tabler-import .import-preflight-total,
.mantivo-tabler-import .import-column-map-count {
  display: inline-flex !important;
  min-height: 2.4rem !important;
  align-items: center !important;
  border-radius: 999px !important;
  border: 1px solid #bfd4ff !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-primary-hover) !important;
  font-weight: 800 !important;
  padding: .4rem .8rem !important;
}

.mantivo-tabler-import .import-preflight-actions,
.mantivo-tabler-import .admin-empty-state-actions,
.mantivo-tabler-import .import-mode-actions,
.mantivo-tabler-import .actions,
.mantivo-tabler-import .admin-mode-toolbar {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .65rem !important;
  align-items: center !important;
}

.mantivo-tabler-import .stacked-form {
  display: grid !important;
  gap: .85rem !important;
  margin-top: 1rem !important;
}

.mantivo-tabler-import .stacked-form label {
  font-weight: 800 !important;
  color: var(--mantivo-admin-ink) !important;
}

.mantivo-tabler-import .stacked-form button,
.mantivo-tabler-import .import-technical-detail > summary {
  min-height: 2.75rem !important;
  border: 1px solid var(--mantivo-admin-primary) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  padding: .65rem 1rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}

.mantivo-tabler-import .stacked-form button:hover,
.mantivo-tabler-import .stacked-form button:focus-visible,
.mantivo-tabler-import .import-technical-detail > summary:hover,
.mantivo-tabler-import .import-technical-detail > summary:focus-visible {
  background: var(--mantivo-admin-page) !important;
  border-color: var(--mantivo-admin-primary-hover) !important;
}

.mantivo-tabler-import .import-technical-detail > summary span {
  color: var(--mantivo-admin-muted) !important;
}

.mantivo-tabler-import .stacked-form button[value="dry_run"] {
  background: var(--mantivo-admin-primary) !important;
  color: #ffffff !important;
}

.mantivo-tabler-import .stacked-form button[value="dry_run"]:hover,
.mantivo-tabler-import .stacked-form button[value="dry_run"]:focus-visible {
  background: var(--mantivo-admin-primary-hover) !important;
  color: #ffffff !important;
}

.mantivo-tabler-import .stacked-form button[value="import"] {
  background: var(--mantivo-admin-surface) !important;
  border-color: #0f766e !important;
  color: #0f766e !important;
}

.mantivo-tabler-import .stacked-form button[value="import"]:hover,
.mantivo-tabler-import .stacked-form button[value="import"]:focus-visible {
  background: #e6f4f1 !important;
  border-color: #0f766e !important;
  color: #115e59 !important;
}

html[data-theme="dark"] .mantivo-tabler-import .stacked-form button[value="import"] {
  background: #e6f4f1 !important;
  color: #115e59 !important;
}

.mantivo-tabler-import .stacked-form button[value="import"]:disabled,
html[data-theme="dark"] .mantivo-tabler-import .stacked-form button[value="import"]:disabled {
  background: #e2e8f0 !important;
  border-color: #94a3b8 !important;
  color: #334155 !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}

.mantivo-tabler-import .import-technical-detail > summary {
  cursor: pointer !important;
  list-style: none !important;
}

.mantivo-tabler-import .import-technical-detail > summary::-webkit-details-marker {
  display: none !important;
}

.mantivo-tabler-import .stacked-form input[type="file"] {
  min-height: 3.25rem !important;
  border: 1px solid #bfd4ff !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  padding: .75rem !important;
}

.mantivo-tabler-import .stacked-form input[type="file"]::file-selector-button {
  min-height: 2.25rem !important;
  margin-right: .75rem !important;
  border: 1px solid var(--mantivo-admin-primary) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-primary) !important;
  color: #ffffff !important;
  padding: .45rem .75rem !important;
  font: inherit !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

.mantivo-tabler-import .stacked-form input[type="file"]:hover::file-selector-button,
.mantivo-tabler-import .stacked-form input[type="file"]:focus-visible::file-selector-button {
  background: var(--mantivo-admin-primary-hover) !important;
  border-color: var(--mantivo-admin-primary-hover) !important;
}

.mantivo-tabler-import .stacked-form input[type="file"]:focus-visible,
.mantivo-tabler-import :where(a, button, summary):focus-visible {
  outline: 3px solid rgba(21, 94, 239, .28) !important;
  outline-offset: 3px !important;
}

/* Import submission fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-submit-fieldset {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: .75rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-submit-fieldset > legend {
  width: auto !important;
  margin: 0 !important;
  padding: 0 .45rem !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .9rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-submit-fieldset > #csv-file-help {
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-submit-fieldset > .import-header-detail > summary {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border: 0 !important;
  border-block: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--mantivo-admin-primary) !important;
  padding: .7rem 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-submit-fieldset > .import-header-detail > summary::after {
  content: '+';
  font-size: 1.25rem;
  line-height: 1;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-submit-fieldset > .import-header-detail[open] > summary::after {
  content: '-';
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-submit-fieldset > .import-header-detail > summary:is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-border) !important;
  background: transparent !important;
  color: var(--mantivo-admin-primary-hover) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-submit-fieldset > .import-header-detail > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-upload-panel > .import-load-format-detail {
  margin-top: 1rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-upload-panel > .import-load-format-detail > summary {
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: .25rem 1rem !important;
  padding: .7rem .25rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-upload-panel > .import-load-format-detail > summary > span {
  grid-column: 1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-upload-panel > .import-load-format-detail > summary::after {
  content: '+';
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 1.25rem;
  line-height: 1;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-upload-panel > .import-load-format-detail[open] > summary::after {
  content: '-';
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-upload-panel > .import-load-format-detail > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: -.2rem !important;
}

/* Import final decision band 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-final-guard-panel {
  display: grid !important;
  gap: 1rem !important;
  margin-top: 1.25rem !important;
  padding: 1rem !important;
  border: 1px solid #f1c27d !important;
  border-inline-start: .35rem solid #b45309 !important;
  border-radius: .75rem !important;
  background: #fffaf0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-final-guard-panel .section-heading-row {
  align-items: start !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-final-guard-panel h3 {
  margin: .2rem 0 .35rem !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-final-guard-panel[data-guard-clear="true"] {
    gap: .5rem !important;
    padding: .7rem .8rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-final-guard-panel[data-guard-clear="true"] .section-heading-row :where(.eyebrow, .small),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-final-guard-panel[data-guard-clear="true"] .section-heading-row > a {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-final-guard-panel[data-guard-clear="true"] h3 {
    margin: 0 !important;
    font-size: .95rem !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-final-guard-card {
  border-color: #f1c27d !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-final-guard-card:last-child {
  border-color: #e6a23c !important;
  background: #fffaf0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-final-guard-card a {
  width: fit-content !important;
  color: var(--mantivo-admin-primary-hover) !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-submit-fieldset {
  border-color: #93b7ff !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-submit-fieldset > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-submit-fieldset input[type="file"] {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-file-picker > span {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-file-picker.is-enhanced {
  position: relative !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .5rem .75rem !important;
  min-height: 3.25rem !important;
  padding: .5rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-file-picker.is-enhanced:focus-within {
  outline: 3px solid var(--mantivo-admin-focus) !important;
  outline-offset: 2px !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-file-picker.is-enhanced .import-file-picker__action {
  display: inline-flex !important;
  padding: .45rem .75rem !important;
  border-radius: .4rem !important;
  background: var(--mantivo-admin-primary) !important;
  color: #fff !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-file-picker.is-enhanced:is(:hover, :focus-within) .import-file-picker__action {
  background: var(--mantivo-admin-primary-hover) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-file-picker.is-enhanced .import-file-picker__name {
  display: block !important;
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-file-picker.is-enhanced #csv_file {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  cursor: pointer !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-header-detail code {
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-mode-actions {
  justify-content: flex-end !important;
  padding-top: .85rem !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-final-guard-panel {
  border-color: #b7791f !important;
  border-inline-start-color: #d97706 !important;
  background: #fff7e6 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-final-guard-card,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-final-guard-card:last-child {
  border-color: #d6a54a !important;
  background: #ffffff !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-final-guard-grid > .import-final-guard-card,
  html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-final-guard-grid > .import-final-guard-card {
    min-width: 0 !important;
    padding: .65rem .1rem !important;
    border: 0 !important;
    border-bottom: 1px solid #d6a54a !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-final-guard-grid > .import-final-guard-card:last-child {
    border-bottom: 0 !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-related-actions {
  position: relative !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-related-actions > summary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.75rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-related-actions > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-related-actions-panel {
  display: grid !important;
  gap: .5rem !important;
  min-width: min(100%, 18rem) !important;
  margin-top: .5rem !important;
  padding: .65rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-related-actions-panel .btn {
  width: 100% !important;
  justify-content: flex-start !important;
}

/* Import mode controls responsive 2026-10-20. */
@media (max-width: 720px) {
  /* Import heading actions touch layout 2026-10-21. */
  .mantivo-tabler-import .admin-heading .compact-actions,
  .mantivo-tabler-import .import-scope-panel .section-heading-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  .mantivo-tabler-import .admin-heading .compact-actions > :where(.btn, button, a),
  .mantivo-tabler-import .import-scope-panel .section-heading-row > :where(.btn, button, a) {
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
  }

  .mantivo-tabler-import :where(.import-mode-actions, .import-preflight-actions) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  .mantivo-tabler-import :where(.import-mode-actions, .import-preflight-actions) .btn {
    width: 100% !important;
    min-height: 2.85rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-panel[aria-labelledby="import-type-title"] .admin-empty-state-actions > a {
    min-height: 44px !important;
  }
}

@media (max-width: 560px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .55rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-metric-row article {
    min-height: 0 !important;
    padding: .7rem !important;
  }
}

.mantivo-tabler-import .import-template-shortcuts-grid > article,
.mantivo-tabler-import .import-preflight-card,
.mantivo-tabler-import .import-final-guard-card {
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease !important;
}

.mantivo-tabler-import .import-template-shortcuts-grid > article:hover,
.mantivo-tabler-import .import-template-shortcuts-grid > article:focus-within,
.mantivo-tabler-import .import-preflight-card:hover,
.mantivo-tabler-import .import-final-guard-card:hover {
  border-color: var(--mantivo-admin-primary) !important;
  box-shadow: 0 .45rem 1.2rem rgba(36, 99, 235, .1) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-client-guard {
  display: block !important;
  margin: .45rem 0 1rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.mantivo-tabler-import .import-client-guard > summary {
  display: grid !important;
  grid-template-columns: 1rem minmax(0, 1fr);
  column-gap: .45rem;
  padding: .55rem .2rem !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
  cursor: pointer !important;
}

.mantivo-tabler-import .import-client-guard > summary::-webkit-details-marker {
  display: none;
}

.mantivo-tabler-import .import-client-guard > summary::before {
  content: "\25b8";
  grid-row: 1 / span 2;
  color: var(--mantivo-admin-ink);
}

.mantivo-tabler-import .import-client-guard[open] > summary::before {
  content: "\25be";
}

.mantivo-tabler-import .import-client-guard > summary :where(.eyebrow, strong) {
  display: block !important;
  grid-column: 2;
  margin: 0 !important;
}

.mantivo-tabler-import .import-client-guard > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

.mantivo-tabler-import .import-client-guard-body {
  padding: .55rem .2rem .75rem !important;
}

.mantivo-tabler-import .import-result-guide > summary {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .2rem .75rem !important;
  cursor: pointer !important;
}

.mantivo-tabler-import .import-result-guide > summary .eyebrow {
  flex-basis: 100% !important;
  margin: 0 !important;
}

.mantivo-tabler-import .import-result-guide > summary strong {
  flex: 1 1 12rem !important;
  min-width: 0 !important;
}

.mantivo-tabler-import .import-result-guide > summary::after {
  content: "+" !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 1.8rem !important;
  width: 1.8rem !important;
  height: 1.8rem !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .35rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-primary) !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
}

.mantivo-tabler-import .import-result-guide[open] > summary::after {
  content: "-" !important;
}

.mantivo-tabler-import .import-preview-issues ul,
.mantivo-tabler-import .import-result-guide ol,
.mantivo-tabler-import .import-client-guard ul {
  display: grid !important;
  gap: .55rem !important;
  margin: .85rem 0 0 !important;
  padding-left: 1.25rem !important;
}

.mantivo-tabler-import .import-column-aliases {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .45rem !important;
}

.mantivo-tabler-import code {
  border-radius: .45rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-primary-hover) !important;
  padding: .12rem .35rem !important;
}

.mantivo-tabler-import .success,
.mantivo-tabler-import .error,
.mantivo-tabler-import .hint {
  border-radius: .85rem !important;
  padding: .85rem 1rem !important;
}

.mantivo-tabler-import .success {
  border: 1px solid #86efac !important;
  background: #f0fdf4 !important;
  color: #166534 !important;
}

.mantivo-tabler-import .error {
  border: 1px solid #fecaca !important;
  background: #fef2f2 !important;
  color: #991b1b !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-import .admin-heading,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-import .admin-panel,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-import .metric-row article,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-import .import-scope-card,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-import .import-template-shortcuts-grid > article,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-card,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-import .import-column-map-grid > article,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-import .import-result-guide,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-import .import-guided-next-step,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-import .import-preview-issues,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-import .import-final-guard-card {
  background: var(--mantivo-admin-surface) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

.mantivo-tabler-import .import-scope-panel .import-scope-grid {
  gap: .4rem 1.25rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-import .import-scope-panel .import-scope-card,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-import .import-scope-panel .import-scope-card {
  padding: .75rem 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-import :where(h2, h3, h4, strong, .stacked-form label) {
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-import :where(p, small, li, dd) {
  color: var(--mantivo-admin-muted) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-import code,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-import .stacked-form input[type="file"] {
  background: var(--mantivo-admin-subtle) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

@media (max-width: 900px) {
  .mantivo-tabler-import .admin-heading,
  .mantivo-tabler-import .section-heading-row,
  .mantivo-tabler-import .import-technical-summary,
  .mantivo-tabler-import .import-guided-next-step,
  .mantivo-tabler-import .import-result-guide > summary {
    grid-template-columns: 1fr !important;
  }

  .mantivo-tabler-import .admin-heading,
  .mantivo-tabler-import .admin-panel,
  .mantivo-tabler-import .import-guided-next-step,
  .mantivo-tabler-import .import-preview-issues {
    padding: 1rem !important;
  }
}

/* Import heading surface refinement 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .admin-heading {
  padding-inline: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Import template shortcut surface cleanup 2026-10-15. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-template-shortcuts {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Keep the type cards, file controls and safety notice as the framed elements. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import :where(.import-preflight-panel, .import-column-map-panel, .import-upload-panel),
html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import :where(.import-preflight-panel, .import-column-map-panel, .import-upload-panel) {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-panel > .section-heading-row,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-upload-panel > h3 {
  margin-bottom: .875rem !important;
  padding-inline: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-upload-panel .import-result-guide > summary {
  padding-inline: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-upload-panel > .stacked-form {
  max-width: 52rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-column-map-panel > summary {
  border-color: var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-column-map-panel > summary::after {
  content: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-column-map-toggle {
  display: grid !important;
  place-items: center !important;
  width: 2rem !important;
  height: 2rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .375rem !important;
  color: var(--mantivo-admin-primary) !important;
  font-size: 1.2rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-column-map-panel[open] .import-column-map-toggle {
  transform: rotate(45deg);
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-column-map-panel > .import-column-map-count {
  margin: .875rem 1rem 0 !important;
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-column-map-panel > summary {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-column-map-panel > summary:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-column-map-panel > summary:focus-visible {
  border-color: var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-template-shortcuts > .admin-disclosure-summary > span {
  display: grid !important;
  gap: .2rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-template-shortcuts > .admin-disclosure-summary small {
  color: var(--mantivo-admin-muted) !important;
  font-size: .9rem !important;
  font-weight: 600 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-template-shortcuts > .admin-disclosure-body > .section-heading-row {
  margin-bottom: .75rem !important;
}

/* Final light-admin visual baseline 2026-10-08.
   The administration must stay clear and professional even when the browser
   or saved preference reports dark mode. Page-specific blocks above can add
   structure, but they must not return the whole private UI to a dark shell. */
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin {
  --mantivo-admin-primary: #0b5ed7 !important;
  --mantivo-admin-primary-hover: #0848a6 !important;
  --mantivo-admin-focus: #b45309 !important;
  --mantivo-admin-ink: #102033 !important;
  --mantivo-admin-muted: #52657a !important;
  --mantivo-admin-border: #d5e1ef !important;
  --mantivo-admin-surface: #ffffff !important;
  --mantivo-admin-subtle: #f8fbff !important;
  --mantivo-admin-page: #eef4fb !important;
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.admin-topbar, .admin-mega-nav__panel, .admin-user-menu__panel, .admin-help-popover, .admin-heading, .admin-panel, .metric-row article, .dashboard-command-strip, .dashboard-next-action-panel, .dashboard-quick-start, .dashboard-day-semaphore, .dashboard-demo-flow-panel, .autonomy-monitor-panel, .table-wrap, .admin-empty-state, .card) {
  background: #ffffff !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.admin-mega-nav, .admin-mega-nav__panel > section, .admin-mega-nav__panel a, .dashboard-command-strip > :where(a, button), input, select, textarea, code, th, td) {
  background: #f8fbff !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(h1, h2, h3, h4, strong, label, th) {
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(p, small, li, td, dt, dd, .small, .hint, .form-help) {
  color: var(--mantivo-admin-muted) !important;
}

/* Final dark-preference surface normalization 2026-10-09. */
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where([class*="-card"], [class*="-panel"], [class*="-strip"], [class*="-preview"], [class*="-empty-state"], [class*="-summary"], [class*="-shell"], .table-wrap, .table-wrapper, .admin-table-wrapper, .table-responsive) {
  background: #ffffff !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where([class*="-card"], [class*="-panel"], [class*="-strip"], [class*="-preview"], [class*="-empty-state"], [class*="-summary"], [class*="-shell"], .table-wrap, .table-wrapper, .admin-table-wrapper, .table-responsive) :where(h1, h2, h3, h4, strong, p, small, li, dt, dd, label, th, td, .small, .hint, .form-help) {
  color: var(--mantivo-admin-ink) !important;
}

/* Admin shell contract 2026-10-10.
   One shared light shell keeps every private route readable and prevents
   legacy page rules from changing the navigation geometry. */
html body.admin-shell.mantivo-tabler-admin {
  --mantivo-admin-primary: #0b5ed7 !important;
  --mantivo-admin-primary-hover: #0848a6 !important;
  --mantivo-admin-focus: #b45309 !important;
  --mantivo-admin-ink: #102033 !important;
  --mantivo-admin-muted: #52657a !important;
  --mantivo-admin-border: #d5e1ef !important;
  --mantivo-admin-surface: #ffffff !important;
  --mantivo-admin-subtle: #f8fbff !important;
  --mantivo-admin-page: #f4f6f8 !important;
  min-height: 100vh !important;
  overflow-x: hidden !important;
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
  font-family: Manrope, var(--tblr-font-sans-serif) !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-topbar {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1rem !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1040 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 4.5rem !important;
  margin: 0 !important;
  padding: .75rem clamp(1rem, 2.5vw, 2.5rem) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 .35rem 1.25rem rgba(15, 39, 72, .08) !important;
  backdrop-filter: blur(12px) !important;
}

html body.admin-shell.mantivo-tabler-admin .brand-mini {
  display: inline-flex !important;
  align-items: center !important;
  min-width: 0 !important;
  max-width: 16rem !important;
  gap: .65rem !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
}

html body.admin-shell.mantivo-tabler-admin .brand-mini h1 {
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: 1rem !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
}

html body.admin-shell.mantivo-tabler-admin .brand-mini p {
  max-width: 12rem !important;
  margin: .15rem 0 0 !important;
  overflow: hidden !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: .75rem !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav {
  display: flex !important;
  align-items: center !important;
  justify-self: start !important;
  min-width: 0 !important;
  gap: .35rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__item {
  position: relative !important;
  min-width: 0 !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__button {
  min-height: 2.75rem !important;
  padding: 0 .85rem !important;
  border: 1px solid transparent !important;
  border-radius: .7rem !important;
  background: transparent !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .9rem !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__button:hover,
html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__button:focus-visible,
html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__item[open] .admin-mega-nav__button,
html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__item.is-open .admin-mega-nav__button,
html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__item.is-active .admin-mega-nav__button {
  border-color: #b9d2f7 !important;
  background: #eaf2ff !important;
  color: #0b47b7 !important;
  box-shadow: none !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel {
  position: fixed !important;
  top: clamp(5.25rem, 10vh, 7rem) !important;
  right: auto !important;
  left: max(1rem, calc(50vw - 32rem)) !important;
  width: min(64rem, calc(100vw - 2rem)) !important;
  max-height: min(70vh, 42rem) !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  overflow: auto !important;
  padding: .8rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 1rem !important;
  background: #ffffff !important;
  box-shadow: 0 1rem 2.5rem rgba(15, 39, 72, .16) !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__item:nth-child(2) .admin-mega-nav__panel,
html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__item:nth-child(3) .admin-mega-nav__panel {
  left: max(1rem, calc(50vw - 16rem)) !important;
  width: min(32rem, calc(100vw - 2rem)) !important;
  grid-template-columns: 1fr !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel > section {
  min-width: 0 !important;
  gap: .35rem !important;
  padding: .65rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .8rem !important;
  background: #f8fbff !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel h2 {
  margin: 0 0 .2rem !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: .72rem !important;
  font-weight: 850 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a {
  min-height: 2.6rem !important;
  margin: 0 !important;
  padding: .55rem .6rem !important;
  border: 1px solid transparent !important;
  border-radius: .65rem !important;
  background: #ffffff !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .86rem !important;
  font-weight: 750 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  white-space: normal !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a:hover,
html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a:focus-visible,
html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a.active,
html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a[aria-current="page"] {
  border-color: #b9d2f7 !important;
  background: #eaf2ff !important;
  color: #0b47b7 !important;
}

html body.admin-shell.mantivo-tabler-admin .user-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-width: 0 !important;
  gap: .55rem !important;
  margin-left: auto !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-help-trigger,
html body.admin-shell.mantivo-tabler-admin .admin-user-menu__summary {
  min-height: 2.75rem !important;
  border-color: var(--mantivo-admin-border) !important;
  border-radius: .7rem !important;
  background: #ffffff !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-layout {
  box-sizing: border-box !important;
  width: min(100%, 120rem) !important;
  max-width: 120rem !important;
  margin: 0 auto !important;
  padding: 1.5rem clamp(1rem, 2.5vw, 2.5rem) 3rem !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-content {
  display: grid !important;
  gap: 1.25rem !important;
  width: 100% !important;
  min-width: 0 !important;
}

html body.admin-shell.mantivo-tabler-admin :where(.admin-heading, .admin-panel, .dashboard-command-strip, .dashboard-next-action-panel, .dashboard-quick-start, .dashboard-day-semaphore, .dashboard-demo-flow-panel, .autonomy-monitor-panel, .metric-row article, .table-wrap, .admin-empty-state) {
  border-color: var(--mantivo-admin-border) !important;
  border-radius: .9rem !important;
  background: #ffffff !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: 0 .5rem 1.25rem rgba(15, 39, 72, .06) !important;
}

html body.admin-shell.mantivo-tabler-admin :where(h1, h2, h3, h4, strong, label, th) {
  color: var(--mantivo-admin-ink) !important;
  letter-spacing: 0 !important;
}

html body.admin-shell.mantivo-tabler-admin :where(p, small, li, td, dt, dd, .small, .hint, .form-help) {
  color: var(--mantivo-admin-muted) !important;
}

@media (max-width: 980px) {
  html body.admin-shell.mantivo-tabler-admin .admin-topbar {
    grid-template-columns: minmax(10rem, 1fr) auto !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-self: stretch !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__button {
    flex: 1 1 0 !important;
    justify-content: center !important;
  }
}

@media (max-width: 680px) {
  html body.admin-shell.mantivo-tabler-admin .admin-topbar {
    grid-template-columns: 1fr auto !important;
    gap: .65rem !important;
    padding: .7rem 1rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin .brand-mini p {
    display: none !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .35rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__button {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel {
    position: fixed !important;
    top: 8.75rem !important;
    right: .75rem !important;
    bottom: .75rem !important;
    left: .75rem !important;
    width: auto !important;
    max-height: none !important;
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.mantivo-tabler-admin .user-meta {
    gap: .35rem !important;
  }
}

/* Dashboard Tabler contract 2026-10-10.
   This final route-level layer neutralizes legacy dashboard decorations while
   keeping the existing cards, links and server-rendered actions intact. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-content {
  gap: 1.5rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading {
  grid-template-columns: minmax(0, 1.2fr) minmax(22rem, 2fr) !important;
  gap: 2rem !important;
  padding: clamp(1.5rem, 3vw, 2.5rem) !important;
  border-left: .35rem solid var(--mantivo-admin-primary) !important;
  box-shadow: 0 .75rem 1.75rem rgba(15, 39, 72, .08) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading h2 {
  max-width: 22ch !important;
  margin: .2rem 0 .6rem !important;
  font-size: clamp(1.75rem, 3vw, 2.7rem) !important;
  line-height: 1.08 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading > div:first-child > p:last-child {
  max-width: 48rem !important;
  margin-bottom: 0 !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading .admin-actions {
  align-content: center !important;
  justify-content: flex-end !important;
  gap: .6rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-strip {
  padding: 1.35rem !important;
  background: #f8fbff !important;
  box-shadow: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-grid {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)) !important;
  gap: .8rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-card {
  min-height: 7.4rem !important;
  padding: 1rem !important;
  border-top: .2rem solid var(--mantivo-admin-primary) !important;
  border-radius: .75rem !important;
  background: #ffffff !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel {
  grid-template-columns: minmax(0, 1fr) minmax(14rem, auto) auto !important;
  gap: 1.25rem !important;
  padding: 1.35rem !important;
  background: #ffffff !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel dl {
  min-width: 13rem !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  margin: 0 !important;
  border-color: var(--mantivo-admin-border) !important;
  background: #f8fbff !important;
}

/* Dashboard recommended action stats readability 2026-10-20. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-stat {
  display: grid !important;
  align-content: start !important;
  gap: .2rem !important;
  min-width: 0 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-stat dt {
  color: var(--mantivo-admin-muted) !important;
  font-size: .72rem !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-stat dd {
  min-width: 0 !important;
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .95rem !important;
  font-weight: 800 !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .autonomy-monitor-panel,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .first-quote-guide,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-quick-start,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-demo-flow-panel,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-day-semaphore {
  padding: 1.35rem !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .autonomy-monitor-grid,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-quick-start-grid,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-demo-sequence-grid {
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.autonomy-monitor-card, .dashboard-quick-start-grid a, .dashboard-demo-sequence-grid a, .first-quote-steps article) {
  min-height: 7.5rem !important;
  border-color: var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: #f8fbff !important;
  box-shadow: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.autonomy-monitor-card, .dashboard-quick-start-grid a, .dashboard-demo-sequence-grid a, .first-quote-steps article):hover,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.autonomy-monitor-card, .dashboard-quick-start-grid a, .dashboard-demo-sequence-grid a, .first-quote-steps article):focus-visible {
  border-color: #7aa7e8 !important;
  background: #eef5ff !important;
  box-shadow: 0 .35rem .9rem rgba(15, 39, 72, .08) !important;
}

@media (max-width: 980px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading .admin-actions {
    justify-content: flex-start !important;
  }
}

@media (max-width: 680px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-strip,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .autonomy-monitor-panel,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .first-quote-guide,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-quick-start,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-demo-flow-panel,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-day-semaphore {
    padding: 1rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel dl {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading .admin-actions > *,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading .admin-mode-toolbar {
    width: 100% !important;
  }
}

/* Dashboard work surfaces that were still relying on the legacy app stylesheet. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.dashboard-quick-start, .dashboard-day-semaphore) {
  display: grid !important;
  gap: .9rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.dashboard-quick-start-head, .dashboard-day-semaphore-head) {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.dashboard-quick-start-actions, .dashboard-empty-actions) {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-command-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .6rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-command-card {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  grid-template-areas: "step title" "step detail" !important;
  align-content: center !important;
  column-gap: .6rem !important;
  min-width: 0 !important;
  min-height: 5rem !important;
  padding: .75rem !important;
  border-radius: .5rem !important;
  text-decoration: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-command-card span { grid-area: step !important; align-self: center !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-command-card strong { grid-area: title !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-command-card small { grid-area: detail !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-command-card.is-primary :where(span, strong, small) { color: var(--mantivo-admin-primary-contrast) !important; }

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-quick-start-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-quick-start-grid a {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-content: center !important;
  gap: .1rem .45rem !important;
  min-width: 0 !important;
  min-height: 4rem !important;
  padding: .55rem !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-quick-start-grid :where(strong, small) { grid-column: 2 !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-quick-start-grid em { font-style: normal !important; font-size: .75rem !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-quick-start-grid small { color: var(--mantivo-admin-muted) !important; }

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :is(.dashboard-quick-start-more, .dashboard-route-disclosure) > summary {
  min-height: 2.75rem !important;
  padding: .75rem 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-quick-start-disclosure > summary {
  min-height: 2.75rem !important;
  padding: .75rem 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-quick-start-disclosure:not([open]) > .dashboard-quick-start {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-quick-start-disclosure > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-quick-start-disclosure[open] > summary {
  margin-bottom: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :is(.dashboard-quick-start-more, .dashboard-route-disclosure)[open] > summary { margin-bottom: .7rem !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-route-disclosure { margin-block: 1rem !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-route-disclosure > summary small { display: block !important; margin-top: .15rem !important; color: var(--mantivo-admin-muted) !important; font-weight: 500 !important; }

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-day-focus {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: .75rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-inline-start: .25rem solid #218267 !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-day-focus.is-orange { border-inline-start-color: #b86709 !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-day-focus.is-red { border-inline-start-color: #bc4255 !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-day-focus > div { display: grid !important; gap: .15rem !important; min-width: 0 !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-day-focus :where(p, small) { margin: 0 !important; color: var(--mantivo-admin-muted) !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-day-focus strong { color: var(--mantivo-admin-ink) !important; font-size: 1.08rem !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-day-focus-priority { color: #9c4700 !important; font-weight: 800 !important; }

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.dashboard-day-shortcuts, .dashboard-day-semaphore-grid) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.dashboard-day-shortcuts a, .dashboard-day-semaphore-card) {
  display: grid !important;
  align-content: center !important;
  gap: .2rem !important;
  min-width: 0 !important;
  padding: .75rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.dashboard-day-shortcuts a, .dashboard-day-semaphore-card) small { color: var(--mantivo-admin-muted) !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-day-semaphore-card strong { font-size: 1.4rem !important; }

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-grid > .admin-panel { min-width: 0 !important; margin: 0 !important; padding: 1rem !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-grid > .dashboard-frequent-actions { grid-column: 1 / -1 !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-grid .admin-empty-state { padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .operator-route-panel { display: grid !important; gap: .75rem !important; padding: 1.25rem !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .operator-route-panel :where(h3, h4, p) { margin-block: 0 !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-cycle-progress { display: grid !important; gap: .75rem !important; padding-block: .75rem !important; border-block: 1px solid var(--mantivo-admin-border) !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-cycle-progress-head { display: flex !important; flex-wrap: wrap !important; justify-content: space-between !important; gap: .75rem !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-guided-next-step { display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; align-items: center !important; gap: .75rem !important; padding: .85rem !important; border-inline-start: .2rem solid #b86709 !important; background: var(--mantivo-admin-subtle) !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-guided-next-step > div { display: grid !important; gap: .25rem !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-cycle-progress-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: .55rem !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-cycle-progress-card { display: grid !important; gap: .2rem !important; min-width: 0 !important; padding: .65rem !important; border-block-start: 1px solid var(--mantivo-admin-border) !important; color: var(--mantivo-admin-ink) !important; text-decoration: none !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-cycle-progress-card :where(p, em) { color: var(--mantivo-admin-muted) !important; font-size: .82rem !important; font-style: normal !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-cycle-progress-card.is-ready em { color: #11684b !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .operator-route-steps { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: .55rem !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .operator-route-step { display: grid !important; grid-template-columns: auto minmax(0, 1fr) !important; align-content: start !important; gap: .1rem .55rem !important; min-width: 0 !important; padding: .65rem !important; border: 1px solid var(--mantivo-admin-border) !important; border-radius: .5rem !important; color: var(--mantivo-admin-ink) !important; text-decoration: none !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .operator-route-step span { grid-row: span 2 !important; display: grid !important; place-items: center !important; width: 1.65rem !important; height: 1.65rem !important; border-radius: 50% !important; background: var(--mantivo-admin-primary) !important; color: var(--mantivo-admin-primary-contrast) !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .operator-route-step small { grid-column: 2 !important; color: var(--mantivo-admin-muted) !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .operator-route-panel .admin-feature-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: .6rem !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .operator-route-panel .admin-feature-grid article { display: grid !important; align-content: start !important; gap: .35rem !important; padding-block: .7rem !important; border-block-start: 1px solid var(--mantivo-admin-border) !important; }

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :is(.dashboard-command-strip, .dashboard-quick-start-grid, .dashboard-day-shortcuts, .dashboard-day-semaphore-grid, .dashboard-cycle-progress-grid, .operator-route-steps, .operator-route-panel .admin-feature-grid, .admin-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :is(.dashboard-day-shortcuts, .operator-route-steps, .operator-route-panel .admin-feature-grid, .admin-grid) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-day-semaphore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-day-semaphore-card:first-child {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :is(.dashboard-day-focus, .dashboard-guided-next-step) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-command-card { min-height: 5.5rem !important; }
}

@media (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-day-focus > a {
    box-sizing: border-box !important;
    min-width: 0 !important;
    width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-day-semaphore .dashboard-day-semaphore-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-quick-start :is(.dashboard-command-strip, .dashboard-quick-start-grid) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-command-card {
    min-height: 3.5rem !important;
    padding: .5rem .75rem !important;
  }
}

/* Admin shell visual repair 2026-10-11.
   Anchor the mega menu to its trigger so it remains compact, legible and
   usable without covering the whole page on desktop. */
html body.admin-shell.mantivo-tabler-admin .admin-topbar {
  overflow: visible !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav {
  position: relative !important;
  overflow: visible !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel {
  position: absolute !important;
  top: calc(100% + .55rem) !important;
  right: auto !important;
  left: 0 !important;
  width: min(52rem, calc(100vw - 2rem)) !important;
  max-height: min(65vh, 38rem) !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  padding: .7rem !important;
  border-radius: .9rem !important;
  box-shadow: 0 .9rem 2.25rem rgba(15, 39, 72, .14) !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__item:nth-child(2) .admin-mega-nav__panel,
html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__item:nth-child(3) .admin-mega-nav__panel {
  left: 0 !important;
  width: min(30rem, calc(100vw - 2rem)) !important;
  grid-template-columns: 1fr !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel > section {
  padding: .55rem !important;
  border-radius: .7rem !important;
  background: #f8fbff !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a {
  min-height: 2.45rem !important;
  padding: .45rem .55rem !important;
  border-radius: .55rem !important;
  font-size: .84rem !important;
}

@media (max-width: 980px) {
  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel,
  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__item:nth-child(2) .admin-mega-nav__panel,
  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__item:nth-child(3) .admin-mega-nav__panel {
    top: calc(100% + .45rem) !important;
    right: 0 !important;
    left: auto !important;
    width: min(38rem, calc(100vw - 1.5rem)) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel,
  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__item:nth-child(2) .admin-mega-nav__panel,
  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__item:nth-child(3) .admin-mega-nav__panel {
    position: fixed !important;
    top: 8.75rem !important;
    right: .75rem !important;
    bottom: .75rem !important;
    left: .75rem !important;
    width: auto !important;
    max-height: none !important;
    grid-template-columns: 1fr !important;
  }
}

/* Admin shell visual refinement 2026-10-11.
   Keep the shared navigation compact so page content remains the primary view. */
html body.admin-shell.mantivo-tabler-admin .admin-topbar {
  min-height: 4rem !important;
  padding: .6rem clamp(1rem, 2.5vw, 2.5rem) !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel {
  max-height: min(60vh, 34rem) !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  padding: .7rem !important;
  gap: .65rem !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel > section {
  gap: .25rem !important;
  padding: .55rem !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a {
  min-height: 2.4rem !important;
  padding: .45rem .55rem !important;
}

/* Dashboard final workspace refinement 2026-10-11.
   Give the decision a clear reading order and keep actions compact without
   changing the existing server-rendered links. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  min-height: 9rem !important;
  align-items: center !important;
  padding: 1.5rem 1.75rem !important;
  border-inline-start: .35rem solid var(--mantivo-admin-primary) !important;
  background: #ffffff !important;
  box-shadow: 0 .65rem 1.5rem rgba(15, 39, 72, .07) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading > div:first-child {
  display: grid !important;
  align-content: center !important;
  gap: .25rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading .admin-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  max-width: none !important;
  align-content: center !important;
  justify-content: flex-end !important;
  gap: .6rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading .admin-actions > * {
  min-height: 2.75rem !important;
}

@media (max-width: 680px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-heading.is-global-operations .admin-actions:has(> a[href="/clientes.php"]) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-heading.is-global-operations .admin-actions > a[href="/clientes.php"],
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-heading.is-global-operations .dashboard-secondary-actions[open] {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-heading.is-global-operations .admin-actions > a,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-heading.is-global-operations .dashboard-secondary-actions > summary {
    min-width: 0 !important;
    width: 100% !important;
    white-space: normal !important;
  }
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-strip {
  display: grid !important;
  gap: .85rem !important;
  padding: 1.25rem !important;
  border-top: .25rem solid var(--mantivo-admin-primary) !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .9rem !important;
  background: #f8fbff !important;
  box-shadow: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-grid {
  grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr)) !important;
  gap: .65rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-card {
  display: grid !important;
  grid-template-rows: auto auto 1fr auto !important;
  min-height: 8rem !important;
  gap: .35rem !important;
  padding: 1rem !important;
  border: 1px solid #c8d5e5 !important;
  border-radius: .7rem !important;
  background: #ffffff !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .metric-row :where(article, .card) {
  min-height: 5.75rem !important;
  padding: .85rem 1rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-team-metrics > .dashboard-summary-metric:only-child {
  width: min(100%, 24rem) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-card.command-level-high {
  border-inline-start: .3rem solid #b42318 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-card.command-level-medium {
  border-inline-start: .3rem solid #b7791f !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-card.command-level-ok {
  border-inline-start: .3rem solid #087f5b !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-card em {
  color: var(--mantivo-admin-primary) !important;
  font-style: normal !important;
  font-weight: 800 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel {
  border-inline-start: .35rem solid #b7791f !important;
  background: #fffaf0 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-card small {
  max-width: 34ch !important;
  line-height: 1.4 !important;
}

@media (max-width: 980px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading .admin-actions {
    max-width: none !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 680px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-strip {
    padding: 1rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Dashboard command hierarchy refinement 2026-10-14.
   Keep the first decision prominent and remove the extra container around
   secondary shortcuts without changing their links or server-side order. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading {
  grid-template-columns: minmax(0, 1fr) auto !important;
  min-height: 0 !important;
  padding: 1.25rem 1.5rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading h2 {
  max-width: 32ch !important;
  font-size: clamp(1.6rem, 2.4vw, 2.35rem) !important;
  line-height: 1.12 !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading .admin-actions {
  max-width: 42rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-strip {
  padding: 0 !important;
  border: 0 !important;
  border-top: .25rem solid var(--mantivo-admin-primary) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-card {
  min-height: 6.5rem !important;
  border-radius: .55rem !important;
  background: #ffffff !important;
}

@media (max-width: 980px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading {
    grid-template-columns: 1fr !important;
  }
}

/* Shared Tabler secondary action surface 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-secondary-actions {
  position: relative !important;
  min-width: 0 !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .7rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 1px 2px rgba(19, 39, 72, .05) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-secondary-actions-summary {
  position: relative !important;
  min-height: 6rem !important;
  display: grid !important;
  align-content: center !important;
  gap: .3rem !important;
  padding: 1rem 3rem 1rem 1rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-secondary-actions-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-secondary-actions-summary::after {
  content: '+' !important;
  position: absolute !important;
  top: 50% !important;
  right: 1rem !important;
  display: grid !important;
  width: 1.8rem !important;
  height: 1.8rem !important;
  place-items: center !important;
  transform: translateY(-50%) !important;
  border-radius: 50% !important;
  background: var(--mantivo-admin-primary) !important;
  color: var(--mantivo-admin-primary-contrast) !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-secondary-actions[open] .admin-secondary-actions-summary::after {
  content: '−' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-secondary-actions-summary:focus-visible {
  outline: 3px solid var(--mantivo-admin-focus) !important;
  outline-offset: 3px !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-secondary-actions-panel {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .65rem !important;
  padding: 0 1rem 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-secondary-actions-panel > :where(.card, a) {
  min-height: 5.5rem !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-secondary-actions--compact .admin-secondary-actions-summary {
  align-content: start !important;
  padding: .9rem 3rem .9rem .9rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-secondary-actions--compact .admin-secondary-actions-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  padding: 0 .65rem .65rem !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-secondary-actions-panel {
    grid-template-columns: 1fr !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quick-quote-panel, .quote-next-action-panel, .quote-followup-panel, #quote-form, #quotes-table) {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 1px 2px rgba(19, 39, 72, .05) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quick-quote-panel, .quote-next-action-panel, .quote-followup-panel, #quote-form, #quotes-table) .section-heading-row {
  padding-bottom: .85rem !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-command-strip {
    grid-template-columns: 1fr !important;
  }
}

/* Global operations workspace cue 2026-10-11. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading.is-global-operations,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .admin-heading.is-global-operations,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-heading.is-global-operations {
  border-inline-start: .35rem solid var(--mantivo-admin-primary) !important;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading.is-global-operations .eyebrow,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .admin-heading.is-global-operations .eyebrow,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-heading.is-global-operations .eyebrow {
  color: var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading.is-global-operations .admin-heading-note,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .admin-heading.is-global-operations .admin-heading-note,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-heading.is-global-operations .admin-heading-note {
  max-width: 62ch !important;
  color: var(--mantivo-admin-muted) !important;
}

/* Project cost workspace hierarchy refinement 2026-10-15. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-heading {
  min-height: 0 !important;
  padding: 1.15rem 1.35rem !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(19, 39, 72, .05) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-heading h2 {
  max-width: 32ch !important;
  font-size: clamp(1.6rem, 2.4vw, 2.35rem) !important;
  line-height: 1.12 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.project-cost-shortcuts, .project-cost-next-action-panel, .project-cost-decision-panel, #project-cost-form, #project-cost-table, .table-wrap) {
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.metric-row > article, .project-cost-shortcut-card, .project-cost-decision-card, .project-cost-module-grid > *) {
  border-radius: .65rem !important;
}

/* Project cost decision hierarchy 2026-10-16. */
/* Project cost work surface cleanup 2026-10-15. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.project-cost-shortcuts, .project-cost-next-action-panel, .project-cost-decision-panel, #project-cost-form) {
  background: var(--mantivo-admin-surface) !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .7rem !important;
  box-shadow: none !important;
}

/* Project cost records surface cleanup 2026-10-15. */
.mantivo-tabler-project-costs .project-cost-records-panel {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .7rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .5rem !important;
  padding-top: .7rem !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-actions form {
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-actions :where(.btn, button),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-actions .btn {
  min-height: 2.75rem !important;
  min-width: 8.5rem !important;
}

/* Project costs global heading surface refinement 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-heading.is-global-operations {
  padding: 0 0 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
  border-inline-start: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-target-row > td {
  padding-block: .95rem !important;
  vertical-align: top !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-target-row > td:last-child {
  min-width: 18rem !important;
  padding-inline-start: 1rem !important;
  border-inline-start: 1px solid var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-target-row > td:last-child .inline-actions {
  display: grid !important;
  grid-template-columns: minmax(8rem, 1fr) minmax(10rem, 1.3fr) !important;
  gap: .5rem !important;
  align-items: stretch !important;
  margin-top: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-target-row > td:last-child .inline-actions .btn {
  min-height: 2.75rem !important;
  white-space: normal !important;
}

@media (max-width: 700px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-target-row > td:last-child .inline-actions {
    grid-template-columns: 1fr !important;
  }
}

/* Project cost decision actions responsive 2026-10-20. */
@media (max-width: 700px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.project-cost-next-action-actions, .project-cost-decision-actions) {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)) !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.project-cost-next-action-actions, .project-cost-decision-actions) > :where(form, .btn),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.project-cost-next-action-actions, .project-cost-decision-actions) > form .btn {
    width: 100% !important;
  }
}

/* Project cost action bands touch layout 2026-10-21. */
@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.admin-heading .compact-actions, .admin-empty-state-actions, .form-actions) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-heading .compact-actions:has(> a:nth-child(3)) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-heading .compact-actions > a:first-child:nth-last-child(3) {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-heading .compact-actions > a {
    min-width: 0 !important;
    white-space: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.admin-heading .compact-actions, .admin-empty-state-actions, .form-actions) > :where(form, details, .btn, button, a) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.admin-empty-state-actions, .form-actions) > form {
    display: grid !important;
    gap: .45rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.admin-empty-state-actions, .form-actions) > form :where(select, .btn, button, a) {
    width: 100% !important;
  }
}

/* Project cost signal workspace refinement 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.project-cost-shortcuts, .project-cost-decision-panel) {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.project-cost-shortcuts, .project-cost-decision-panel) > .section-heading-row {
  margin: 0 0 .85rem !important;
  padding-bottom: .75rem !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-records-panel > .project-cost-empty-state {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.project-cost-shortcut-card, .project-cost-decision-card, .project-cost-decision-empty, .project-cost-module-grid > *) {
  min-height: 7rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-amount {
  display: block !important;
  margin-top: .2rem !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.project-cost-shortcut-card, .project-cost-decision-card):hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.project-cost-shortcut-card, .project-cost-decision-card):focus-visible,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.project-cost-shortcut-card, .project-cost-decision-card):focus-within {
  border-color: #7aa7e8 !important;
  background: #f8fbff !important;
}

/* Project cost summary metrics without generic cards 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-summary-metric {
  min-width: 0 !important;
  min-height: 6.5rem !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-content: start !important;
  gap: .35rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .8rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-summary-metric :where(span, small) {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-summary-metric strong {
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.45rem !important;
  line-height: 1.1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-meta {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: baseline !important;
  width: 100% !important;
  padding: .75rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-weight: 400 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-meta dd {
  min-width: 0 !important;
  margin: 0 !important;
  font-weight: 700 !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 420px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-meta :is(dt, dd):nth-of-type(2) {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-meta {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: .3rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-meta dd {
    margin-bottom: .6rem !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-actions {
  grid-column: 1 / -1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-costs-page {
  grid-template-columns: minmax(0, 1fr) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table {
  min-width: 0 !important;
  max-width: 100% !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-records-disclosure > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .75rem !important;
  min-height: 2.75rem !important;
  color: var(--mantivo-admin-primary) !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-records-disclosure > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-records-disclosure > summary::after {
  content: '+';
  margin-left: auto !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-records-disclosure[open] > summary::after {
  content: '\2212';
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-records-disclosure:not([open]) .project-cost-records-disclosure__hide,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-records-disclosure[open] .project-cost-records-disclosure__show {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-records-disclosure[open] > summary {
  margin-bottom: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-x: auto !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap th:nth-child(1) { width: 8% !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap th:nth-child(2) { width: 17% !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap th:nth-child(3) { width: 13% !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap th:nth-child(4) { width: 9% !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap th:nth-child(5) { width: 14% !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap th:nth-child(6) { width: 10% !important; }
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap th:nth-child(7) { width: 29% !important; }

@media (min-width: 651px) and (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap table {
    min-width: 62rem !important;
  }
}

/* Project costs mobile identity refinement 2026-10-15. */
@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap {
    overflow-x: auto !important;
    scroll-padding-inline: 1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap table {
    table-layout: fixed !important;
    min-width: 62rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap :where(th, td):nth-child(1) {
    width: 10rem !important;
    min-width: 10rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap :where(th, td):nth-child(2) {
    width: 18rem !important;
    min-width: 18rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap :where(th, td):nth-child(-n + 2) {
    position: sticky !important;
    background: #ffffff !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap :where(th, td):nth-child(1) {
    inset-inline-start: 0 !important;
    z-index: 2 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap :where(th, td):nth-child(2) {
    inset-inline-start: 10rem !important;
    z-index: 1 !important;
    box-shadow: .4rem 0 .65rem -.6rem rgba(19, 34, 56, .55) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap thead :where(th:nth-child(1), th:nth-child(2)) {
    background: #eef4fb !important;
    z-index: 4 !important;
  }
}

/* Keep the cost summary scannable and the entry fields usable on narrow screens. */
@media (max-width: 650px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-panel {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-costs-page {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 1023px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table {
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: auto !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap table {
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table tbody {
    display: grid !important;
    gap: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .project-cost-target-row {
    display: grid !important;
    min-width: 0 !important;
    padding: .8rem !important;
    border: 1px solid var(--mantivo-admin-border) !important;
    border-radius: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap .project-cost-target-row > td {
    position: static !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: .55rem 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--mantivo-admin-border) !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap .project-cost-target-row > td:last-child {
    border-bottom: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .project-cost-target-row > td::before {
    display: block;
    margin-bottom: .25rem;
    color: var(--mantivo-admin-muted);
    font-size: .75rem;
    font-weight: 700;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .project-cost-target-row > td:nth-child(1)::before { content: "Fecha"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .project-cost-target-row > td:nth-child(2)::before { content: "Concepto"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .project-cost-target-row > td:nth-child(3)::before { content: "Gremio"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .project-cost-target-row > td:nth-child(4)::before { content: "Importe"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .project-cost-target-row > td:nth-child(5)::before { content: "Reparto"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .project-cost-target-row > td:nth-child(6)::before { content: "Estado"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .project-cost-target-row > td:nth-child(7)::before { content: "Decisión"; }
}

@media (min-width: 721px) and (max-width: 1023px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .project-cost-target-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .35rem .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap .project-cost-target-row > td {
    box-sizing: border-box !important;
    max-width: 100% !important;
    padding: .35rem 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .table-wrap .project-cost-target-row > .project-cost-row-actions-cell {
    grid-column: 1 / -1 !important;
    padding-top: .75rem !important;
    border-top: 1px solid var(--mantivo-admin-border) !important;
  }
}

@media (max-width: 650px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-summary-metric:first-child {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-summary-metric:last-child:nth-child(even) {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-summary-metric {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 0 !important;
    padding: .8rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-summary-metric strong {
    font-size: 1.15rem !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-summary-metric:is(:nth-child(2), :nth-child(3)) strong {
    font-size: 1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-form .project-cost-fieldset {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: .8rem 0 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-form .project-cost-fieldset :where(input, select, textarea) {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* Keep project cost records ahead of the optional creation form. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-form > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .75rem !important;
  min-height: 2.75rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-form > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-form > summary h3 {
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-form > summary::after {
  content: "+" !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 1.8rem !important;
  width: 1.8rem !important;
  height: 1.8rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .35rem !important;
  color: var(--mantivo-admin-primary) !important;
  font-size: 1.1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-form[open] > summary::after {
  content: "-" !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-form > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .2rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-form > form {
  margin-top: 1rem !important;
}

/* PDF assist Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist {
  --pdf-assist-page: var(--mantivo-admin-page);
  --pdf-assist-surface: var(--mantivo-admin-surface);
  --pdf-assist-subtle: var(--mantivo-admin-subtle);
  --pdf-assist-border: var(--mantivo-admin-border);
  --pdf-assist-ink: var(--mantivo-admin-ink);
  --pdf-assist-muted: var(--mantivo-admin-muted);
  --pdf-assist-primary: var(--mantivo-admin-primary);
  background: var(--pdf-assist-page) !important;
  color: var(--pdf-assist-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .admin-main {
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-assist-page {
  width: min(100%, 86rem) !important;
  margin-inline: auto !important;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 4rem !important;
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-assist-page > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-intake-hero {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: .25rem 0 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--pdf-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--pdf-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-intake-hero h2 {
  max-width: 32ch !important;
  margin: 0 !important;
  color: var(--pdf-assist-ink) !important;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem) !important;
  line-height: 1.12 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-intake-mode {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  padding: .25rem 0 .25rem .75rem !important;
  border: 0 !important;
  border-inline-start: 2px solid var(--pdf-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-pdf-shortcuts {
  display: block !important;
  padding: .75rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--pdf-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--pdf-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-pdf-shortcut-disclosure > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  min-height: 3rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-pdf-shortcut-disclosure > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-pdf-shortcut-disclosure > summary span {
  display: grid !important;
  gap: .2rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-pdf-shortcut-disclosure > summary::after {
  content: '+' !important;
  font-size: 1.4rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-pdf-shortcut-disclosure[open] > summary::after {
  content: '\2212' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-pdf-shortcut-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-pdf-shortcut-disclosure[open] .ai-pdf-shortcut-grid {
  padding-block: 1rem .75rem !important;
  border-top: 1px solid var(--pdf-assist-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-pdf-shortcut-card {
  min-width: 0 !important;
  min-height: 0 !important;
  padding: .65rem !important;
  border: 0 !important;
  border-inline-start: 2px solid var(--pdf-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--pdf-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-pdf-shortcut-card:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-pdf-shortcut-card:focus-visible {
  border-inline-start-color: var(--pdf-assist-primary) !important;
  background: var(--pdf-assist-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-pdf-shortcut-card[aria-disabled="true"] {
  opacity: .6 !important;
  pointer-events: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai {
  display: block !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist :where(.ai-intake-source, .pdf-ai-proposal) {
  min-width: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid var(--pdf-assist-border) !important;
  border-radius: .75rem !important;
  background: var(--pdf-assist-surface) !important;
  color: var(--pdf-assist-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-intake-source {
  width: min(100%, 44rem) !important;
  border-block-start: .25rem solid var(--pdf-assist-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-intake-source > button {
  margin-top: .45rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-intake-source > small {
  display: block !important;
  margin-top: .55rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-preview-state {
  max-width: 44rem !important;
  padding: 1.25rem 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-preview-state h3 {
  margin: 0 0 .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-preview-state p {
  max-width: 58ch !important;
  margin-bottom: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-preview-state > .btn {
  max-width: 100% !important;
  white-space: normal !important;
}

/* PDF assist input fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-input-fieldset {
  display: grid !important;
  gap: .65rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-input-fieldset > legend {
  width: auto !important;
  margin: 0 !important;
  padding: 0 .35rem !important;
  color: var(--pdf-assist-ink) !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-proposal {
  border-block-start: .25rem solid var(--pdf-assist-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-proposal > .pdf-ai-status {
  display: block !important;
  width: 100% !important;
  margin: .9rem 0 !important;
  color: var(--pdf-assist-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-proposal .quote-ai-copy-block textarea {
  font-weight: 400 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-copy-disclosure textarea[data-auto-sized="true"] {
  overflow-y: hidden !important;
  resize: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-copy-disclosure {
  margin-top: .75rem !important;
  border-top: 1px solid var(--pdf-assist-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-copy-disclosure > summary {
  display: block !important;
  position: relative !important;
  padding: .85rem 2rem .85rem 0 !important;
  color: var(--pdf-assist-primary) !important;
  cursor: pointer !important;
  list-style: none !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-copy-disclosure > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-copy-disclosure > summary::after {
  content: '+' !important;
  position: absolute !important;
  right: .4rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-copy-disclosure[open] > summary::after {
  content: '\2212' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-copy-disclosure:not([open]) > :not(summary) {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .quote-ai-proposal-grid article {
  min-width: 0 !important;
  padding: .75rem 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--pdf-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-item-list {
  margin: .45rem 0 0 !important;
  padding-inline-start: 1.25rem !important;
  color: var(--pdf-assist-muted) !important;
  font-size: .875rem !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-item-list li + li {
  margin-top: .4rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .quote-ai-proposal-grid article:last-child {
  border-bottom: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .quote-ai-proposal-grid {
  display: grid !important;
  gap: .75rem !important;
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .quote-ai-proposal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 2rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .quote-ai-proposal-grid article:last-child {
    border-bottom: 1px solid var(--pdf-assist-border) !important;
  }
}

@media (max-width: 480px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .quote-ai-proposal-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-proposal > .admin-section-heading {
  display: flex !important;
  align-items: start !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding-bottom: .85rem !important;
  border-bottom: 1px solid var(--pdf-assist-border) !important;
}

/* PDF confidence badge alignment 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-confidence-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-width: 8.5rem !important;
  min-height: 2rem !important;
  padding: .35rem .65rem !important;
  border: 1px solid #67e8f9 !important;
  border-radius: 999px !important;
  background: #ecfeff !important;
  color: #155e75 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

/* PDF confidence badge surface 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-confidence-badge {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist :where(h3, h4, strong, label) {
  color: var(--pdf-assist-ink) !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-assist-page :where(p, small, li, span, .form-help) {
  color: var(--pdf-assist-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist :where(input, select, textarea) {
  min-height: 2.75rem !important;
  border-color: var(--pdf-assist-border) !important;
  background: var(--pdf-assist-surface) !important;
  color: var(--pdf-assist-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist textarea {
  min-height: 13rem !important;
  resize: vertical !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist textarea[name="source_text"] {
  min-height: 6rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist :where(a, button, summary, input, select, textarea):focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist {
  --pdf-assist-page: var(--mantivo-admin-page);
  --pdf-assist-surface: var(--mantivo-admin-surface);
  --pdf-assist-subtle: var(--mantivo-admin-subtle);
  --pdf-assist-border: var(--mantivo-admin-border);
  --pdf-assist-ink: var(--mantivo-admin-ink);
  --pdf-assist-muted: var(--mantivo-admin-muted);
  --pdf-assist-primary: var(--mantivo-admin-primary);
}

@media (max-width: 1100px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-pdf-shortcuts,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-pdf-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-intake-hero,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-proposal > .admin-section-heading {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-confidence-badge {
    align-self: flex-start !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-pdf-shortcut-grid {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-intake-mode {
    min-width: 0 !important;
  }

  /* PDF assist proposal actions touch layout 2026-10-21. */
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-proposal > .form-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-proposal > .form-actions > :where(.btn, button, a, details) {
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Material assist Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist {
  --material-assist-page: var(--mantivo-admin-page);
  --material-assist-surface: var(--mantivo-admin-surface);
  --material-assist-subtle: var(--mantivo-admin-subtle);
  --material-assist-border: var(--mantivo-admin-border);
  --material-assist-ink: var(--mantivo-admin-ink);
  --material-assist-muted: var(--mantivo-admin-muted);
  --material-assist-primary: var(--mantivo-admin-primary);
  background: var(--material-assist-page) !important;
  color: var(--material-assist-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .admin-main {
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-assist-page {
  width: min(100%, 86rem) !important;
  margin-inline: auto !important;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 4rem !important;
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-assist-page > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-intake-hero {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: .25rem 0 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--material-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--material-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-intake-hero h2 {
  max-width: 32ch !important;
  margin: 0 !important;
  color: var(--material-assist-ink) !important;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem) !important;
  line-height: 1.12 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-intake-mode {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  padding: .25rem 0 .25rem .75rem !important;
  border: 0 !important;
  border-inline-start: 2px solid var(--material-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-material-shortcuts {
  display: block !important;
  padding: .75rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--material-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--material-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-material-shortcut-disclosure > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  min-height: 3rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-material-shortcut-disclosure > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-material-shortcut-disclosure > summary span {
  display: grid !important;
  gap: .2rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-material-shortcut-disclosure > summary::after {
  content: '+' !important;
  font-size: 1.4rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-material-shortcut-disclosure[open] > summary::after {
  content: '\2212' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-material-shortcut-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-material-shortcut-disclosure[open] .ai-material-shortcut-grid {
  padding-block: 1rem .75rem !important;
  border-top: 1px solid var(--material-assist-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-material-shortcut-card {
  min-width: 0 !important;
  min-height: 0 !important;
  padding: .65rem !important;
  border: 0 !important;
  border-inline-start: 2px solid var(--material-assist-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--material-assist-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-material-shortcut-card:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-material-shortcut-card:focus-visible {
  border-inline-start-color: var(--material-assist-primary) !important;
  background: var(--material-assist-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-material-shortcut-card[aria-disabled="true"] {
  opacity: .6 !important;
  pointer-events: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-ai {
  display: block !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist :where(.ai-intake-source, .material-ai-proposal) {
  min-width: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid var(--material-assist-border) !important;
  border-radius: .75rem !important;
  background: var(--material-assist-surface) !important;
  color: var(--material-assist-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-intake-source {
  width: min(100%, 44rem) !important;
  border-block-start: .25rem solid var(--material-assist-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-intake-source > button {
  margin-top: .8rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-intake-source > small {
  display: block !important;
  margin-top: .55rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-preview-state {
  max-width: 44rem !important;
  padding: 1.25rem 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-preview-state h3 {
  margin: 0 0 .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-preview-state p {
  max-width: 58ch !important;
  margin-bottom: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-input-fieldset {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-ai-proposal {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (min-width: 1024px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-assist-page:has(> .material-ai):has(> .material-ai-proposal .material-proposal-item:only-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: start !important;
    column-gap: 1.25rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-assist-page:has(> .material-ai-proposal .material-proposal-item:only-child) > :where(.admin-heading, .alert, .ai-material-shortcuts) {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-assist-page:has(> .material-ai-proposal .material-proposal-item:only-child) > .material-ai {
    grid-column: 1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-assist-page:has(> .material-ai-proposal .material-proposal-item:only-child) > .material-ai-proposal {
    grid-column: 2 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-assist-page:has(> .material-ai-proposal .material-proposal-item:only-child) .material-ai .ai-intake-source {
    width: 100% !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-ai-proposal > :where(.material-ai-summary, .material-ai-status) {
  display: block !important;
  width: 100% !important;
  margin: .9rem 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
  color: var(--material-assist-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-ai-proposal .quote-ai-copy-block textarea {
  font-weight: 400 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-copy-disclosure {
  margin-top: .75rem !important;
  border-top: 1px solid var(--material-assist-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-copy-disclosure > summary {
  display: block !important;
  position: relative !important;
  padding: .85rem 2rem .85rem 0 !important;
  color: var(--material-assist-primary) !important;
  cursor: pointer !important;
  list-style: none !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-copy-disclosure > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-copy-disclosure > summary::after {
  content: '+' !important;
  position: absolute !important;
  right: .4rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-copy-disclosure[open] > summary::after {
  content: '\2212' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-copy-disclosure:not([open]) > :not(summary) {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .quote-ai-proposal-grid article {
  min-width: 0 !important;
  padding: .85rem !important;
  border: 1px solid var(--material-assist-border) !important;
  border-radius: .625rem !important;
  background: var(--material-assist-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-proposal-item {
  overflow-wrap: break-word !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-proposal-item > p {
  margin: .4rem 0 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .quote-ai-proposal-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), min(100%, 34rem))) !important;
  gap: .75rem !important;
}

@media (max-width: 480px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .quote-ai-proposal-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-ai-proposal > .admin-section-heading {
  display: flex !important;
  align-items: start !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding-bottom: .85rem !important;
  border-bottom: 1px solid var(--material-assist-border) !important;
}

/* Material confidence badge alignment 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-confidence-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-width: 8.5rem !important;
  white-space: nowrap !important;
}

/* Material confidence badge surface 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-confidence-badge {
  min-height: 2rem !important;
  padding: .35rem .65rem !important;
  border: 1px solid #67e8f9 !important;
  border-radius: 999px !important;
  background: #ecfeff !important;
  color: #155e75 !important;
  line-height: 1.2 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .status-badge.assist-confidence-low,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .status-badge.assist-confidence-low,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .status-badge.assist-confidence-low {
  border-color: #fda4af !important;
  background: #fff1f2 !important;
  color: #9f1239 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .status-badge.assist-confidence-medium,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .status-badge.assist-confidence-medium,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .status-badge.assist-confidence-medium {
  border-color: #f1c27d !important;
  background: #fff7ed !important;
  color: #92400e !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .status-badge.assist-confidence-high,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .status-badge.assist-confidence-high,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .status-badge.assist-confidence-high {
  border-color: #86efac !important;
  background: #ecfdf3 !important;
  color: #166534 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist :where(h3, h4, strong, label) {
  color: var(--material-assist-ink) !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-assist-page :where(p, small, li, span, .form-help) {
  color: var(--material-assist-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist :where(input, select, textarea) {
  min-height: 2.75rem !important;
  border-color: var(--material-assist-border) !important;
  background: var(--material-assist-surface) !important;
  color: var(--material-assist-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist textarea {
  min-height: 13rem !important;
  resize: vertical !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist #material-ai-form textarea[name="description"] {
  min-height: 9rem !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

@media (min-width: 768px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-copy-disclosure textarea {
    min-height: 9rem !important;
    height: 9rem !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-ai-proposal > .form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist :where(a, button, summary, input, select, textarea):focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist {
  --material-assist-page: var(--mantivo-admin-page);
  --material-assist-surface: var(--mantivo-admin-surface);
  --material-assist-subtle: var(--mantivo-admin-subtle);
  --material-assist-border: var(--mantivo-admin-border);
  --material-assist-ink: var(--mantivo-admin-ink);
  --material-assist-muted: var(--mantivo-admin-muted);
  --material-assist-primary: var(--mantivo-admin-primary);
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-material-shortcuts,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-ai {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1100px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-material-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-intake-hero,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-ai-proposal > .admin-section-heading {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-confidence-badge {
    align-self: flex-start !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-material-shortcut-grid {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-intake-mode {
    min-width: 0 !important;
  }

  /* Material assist proposal actions touch layout 2026-10-21. */
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist #material-ai-form > button,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-ai-proposal > .form-actions > :is(button, a) {
    min-height: 44px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist #material-ai-form > button {
    margin-top: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-ai-proposal > .form-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-ai-proposal > .form-actions > :where(.btn, button, a, details) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-ai-proposal > .form-actions > details {
    display: grid !important;
    gap: .45rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-ai-proposal > .form-actions > details :where(summary, .btn) {
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Admin navigation workspace contract 2026-10-11. */
html body.admin-shell.mantivo-tabler-admin .admin-topbar {
  grid-template-columns: minmax(11rem, 16rem) minmax(0, 1fr) auto !important;
  gap: .85rem !important;
  background: #ffffff !important;
  border-color: #cbd8e8 !important;
  color: #132238 !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav {
  justify-content: center !important;
  gap: .45rem !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__button {
  min-height: 2.75rem !important;
  padding-inline: .9rem !important;
  border-color: #b9cbe1 !important;
  background: #f8fbff !important;
  color: #17345d !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__button:hover,
html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__button:focus-visible,
html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__item[open] .admin-mega-nav__button,
html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__item.is-active .admin-mega-nav__button {
  border-color: #2563eb !important;
  background: #eaf2ff !important;
  color: #0b47b7 !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel {
  position: fixed !important;
  top: clamp(5.75rem, 12vh, 8rem) !important;
  right: auto !important;
  left: max(1rem, calc(50vw - 32rem)) !important;
  width: min(64rem, calc(100vw - 2rem)) !important;
  max-height: min(70vh, 42rem) !important;
  overflow: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  background: #ffffff !important;
  border-color: #b9cbe1 !important;
  box-shadow: 0 1rem 2.5rem rgba(30, 58, 95, .18) !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel > section {
  background: #f8fbff !important;
  border-color: #d8e3f0 !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a {
  min-height: 2.75rem !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  color: #17345d !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a:hover,
html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a:focus-visible,
html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a.active,
html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a[aria-current="page"] {
  background: #eaf2ff !important;
  border-color: #a9c7f4 !important;
  color: #0b47b7 !important;
}

@media (max-width: 980px) {
  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel {
    left: max(.75rem, calc(50vw - 19rem)) !important;
    width: min(38rem, calc(100vw - 1.5rem)) !important;
  }
}

@media (max-width: 680px) {
  html body.admin-shell.mantivo-tabler-admin .admin-topbar {
    grid-template-columns: minmax(8rem, 1fr) auto !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav {
    grid-column: 1 / -1 !important;
    justify-content: stretch !important;
    overflow-x: auto !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel {
    top: clamp(9rem, 24vh, 12rem) !important;
    right: .75rem !important;
    bottom: .75rem !important;
    left: .75rem !important;
    width: auto !important;
    max-height: none !important;
  }
}

/* Consolidated below with the invoice decision workspace rules. */

/* Client account light workspace contract 2026-10-11. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-account {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-account :where(.admin-heading, .account-command-strip, .account-primary-next-action, .account-client-overview-panel, .account-complete-channels-panel, .account-action-log-panel, .account-client-activity-panel, .account-profile-card, .account-client-request-panel, .account-password-panel, .admin-empty-state, .metric-row > .card) {
  background: var(--mantivo-admin-surface) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-page > .admin-heading {
  padding: .25rem 0 1rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-overview-panel {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-complete-channels-panel {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-complete-channel-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px !important;
  height: 32px !important;
  border-radius: 6px !important;
  background: color-mix(in srgb, var(--mantivo-admin-primary) 12%, transparent) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-complete-channel-icon svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-overview-panel > .section-heading-row {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: .75rem !important;
  margin-bottom: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-overview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-overview-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)) !important;
  }
}

@media (max-width: 600px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-overview-grid {
    gap: .55rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-overview-card {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: .2rem .65rem !important;
    align-items: center !important;
    padding: .7rem .8rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-overview-card > :is(span, strong) {
    grid-column: 1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-overview-card > small {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-overview-card > em {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    justify-self: end !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 600px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-overview-panel > .section-heading-row > .btn {
    width: 100% !important;
  }
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-account :where(h2, h3, h4, strong, dt, dd) {
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-account :where(p, small, li, td, th, .hint, .form-help) {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-account :where(.account-command-card, .account-client-overview-card, .account-complete-channel-card, .account-client-activity-card, .account-action-card, .account-request-examples, .account-client-request-summary) {
  background: var(--mantivo-admin-subtle) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-account :where(.account-command-card, .account-client-overview-card, .account-complete-channel-card, .account-action-card):hover,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-account :where(.account-command-card, .account-client-overview-card, .account-complete-channel-card, .account-action-card):focus-visible {
  background: var(--mantivo-admin-subtle) !important;
  border-color: var(--mantivo-admin-primary) !important;
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-strip {
    gap: 0 !important;
    border-bottom: 1px solid var(--mantivo-admin-border) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-card {
    display: flex !important;
    align-items: center !important;
    min-height: 3rem !important;
    padding: .65rem .8rem !important;
    border: 0 !important;
    border-bottom: .2rem solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-card.is-primary {
    border-top: 0 !important;
    border-bottom-color: var(--mantivo-admin-primary) !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-card:is(:hover, :focus-visible) {
    border-bottom-color: var(--mantivo-admin-primary) !important;
    background: var(--mantivo-admin-subtle) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-card :where(span, small) {
    display: none !important;
  }
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-account :where(input, select, textarea) {
  background: var(--mantivo-admin-surface) !important;
  border-color: var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-account :where(.btn-outline, .btn-outline-primary) {
  background: var(--mantivo-admin-surface) !important;
  border-color: var(--mantivo-admin-primary) !important;
  color: var(--mantivo-admin-primary-hover) !important;
}

@media (max-width: 680px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-account .account-profile-page {
    padding-inline: .75rem !important;
  }
}

/* Account decision surface hierarchy 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-primary-next-meta {
  display: grid !important;
  grid-template-columns: auto minmax(8rem, 1fr) auto !important;
  align-items: center !important;
  gap: .65rem !important;
  min-width: min(100%, 25rem) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-primary-next-meta :where(span, strong) {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-primary-next-meta span {
  color: var(--mantivo-admin-muted) !important;
  font-size: .75rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-primary-next-meta strong {
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-primary-next-meta .btn {
  min-width: 10rem !important;
  min-height: 2.75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-card > .account-action-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 1.5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-card .account-action-card {
  display: flex !important;
  flex-direction: column !important;
  gap: .2rem !important;
  min-height: 0 !important;
  padding: .8rem 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-card .account-action-card:is(:hover, :focus-visible) {
  background: transparent !important;
  border-bottom-color: var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-activity-disclosure > .account-client-activity-grid {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-activity-panel .account-client-activity-card {
  display: grid !important;
  gap: .7rem !important;
  padding: 1rem 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-activity-panel > .section-heading-row {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-activity-card dl {
  display: grid !important;
  grid-template-columns: minmax(7rem, .35fr) minmax(0, 1fr) !important;
  gap: .3rem .75rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: .75rem !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-activity-card :is(dt, dd) {
  min-width: 0 !important;
  margin: 0 !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-card > .account-action-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Account detail card rhythm refinement 2026-10-16. */
/* Account profile surfaces without generic cards 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-grid > .account-profile-card {
  display: grid !important;
  align-content: start !important;
  gap: .85rem !important;
  padding: 1.15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-page > .account-profile-card {
  padding: 1.15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-page > .account-profile-card > .section-heading-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-card > .section-heading-row {
  min-width: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .6rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-card .section-heading-row > div,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-list,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-list dd {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

/* Account profile card accents 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-grid > .account-profile-card {
  border-block-start: .25rem solid var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-grid > .account-profile-card--security {
  border-block-start-color: #b7791f !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-grid > .account-profile-card--access {
  border-block-start-color: #287d8e !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-grid > .account-profile-card--billing {
  border-block-start-color: #2f855a !important;
}

@media (min-width: 721px) and (max-width: 1023px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-grid--global {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-grid--global > :is(.account-profile-card--access, .account-profile-card--billing) {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-grid--global .account-profile-card--billing .account-profile-list {
    display: grid !important;
    grid-template-columns: minmax(9rem, .4fr) minmax(0, 1fr) !important;
    gap: .45rem 1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-grid--global .account-profile-card--billing .account-profile-list :is(dt, dd) {
    margin: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-grid--global .account-profile-card--billing > .account-action-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-grid--global {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-grid--global > .account-profile-card--billing {
    grid-column: 1 / -1 !important;
    grid-template-columns: minmax(0, 1fr) 13rem !important;
    column-gap: 1.5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-grid--global .account-profile-card--billing > .section-heading-row {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-grid--global .account-profile-card--billing .account-profile-list {
    display: grid !important;
    grid-template-columns: 11rem minmax(0, 1fr) !important;
    gap: .45rem 1rem !important;
    margin: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-grid--global .account-profile-card--billing .account-profile-list :is(dt, dd) {
    margin: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-grid--global .account-profile-card--billing > .account-action-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-column: 2 !important;
    align-self: end !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-card > .account-action-row {
  margin-top: auto !important;
  padding-top: .5rem !important;
}

/* Account semantic status tones 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-card .status-badge,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-request-panel .status-badge,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-panel .status-badge {
  align-self: start !important;
  justify-self: end !important;
}

/* Account status badge alignment 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-status-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 8.5rem !important;
  white-space: nowrap !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-status-badge.status-active,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-status-badge.status-active {
  border-color: #86efac !important;
  background: #dcfce7 !important;
  color: #166534 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-status-badge.status-draft,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-status-badge.status-draft {
  border-color: #bfdbfe !important;
  background: #eff6ff !important;
  color: #1e3a8a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-status-badge.status-warning,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-status-badge.status-warning {
  border-color: #fde68a !important;
  background: #fef3c7 !important;
  color: #92400e !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-status-badge.status-inactive,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-status-badge.status-inactive {
  border-color: #fecaca !important;
  background: #fee2e2 !important;
  color: #991b1b !important;
}

@media (max-width: 700px) {
  /* Account primary action mobile grid 2026-10-21. */
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-primary-next-meta {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    gap: .6rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-primary-next-meta .btn {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
}

/* Account mobile action rhythm 2026-10-20. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account :where(.account-profile-card > .account-action-row, .account-client-activity-card .inline-actions) {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)) !important;
  align-items: stretch !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account :where(.account-profile-card > .account-action-row, .account-client-activity-card .inline-actions) .btn {
  width: 100% !important;
  min-height: 2.75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-activity-card .inline-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-activity-card .inline-actions .btn {
  width: auto !important;
}

@media (max-width: 600px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-activity-panel > .section-heading-row > .btn,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-activity-card .inline-actions .btn {
    width: 100% !important;
  }
}

/* Account heading actions touch layout 2026-10-21. */
@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .admin-heading .admin-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .admin-heading .admin-actions > :where(.btn, a, button) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-card > .section-heading-row > .btn {
    width: 100% !important;
  }
}

/* Account theme surfaces refinement 2026-10-16. */

/* Admin light workspace contract 2026-10-11. */
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin {
  color-scheme: light !important;
  --mantivo-admin-primary: #155eef !important;
  --mantivo-admin-primary-hover: #0f49bc !important;
  --mantivo-admin-focus: #b45309 !important;
  --mantivo-admin-ink: #102033 !important;
  --mantivo-admin-muted: #52657a !important;
  --mantivo-admin-border: #c8d7e8 !important;
  --mantivo-admin-surface: #ffffff !important;
  --mantivo-admin-subtle: #f6f9fd !important;
  --mantivo-admin-page: #edf3fa !important;
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-main,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-content,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-main,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-content {
  background: transparent !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-topbar,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-topbar {
  background: #ffffff !important;
  border-bottom-color: var(--mantivo-admin-border) !important;
  box-shadow: 0 .65rem 1.5rem rgba(32, 65, 104, .1) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mega-nav,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mega-nav,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel {
  border-color: var(--mantivo-admin-border) !important;
  background: #ffffff !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel > section,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel > section {
  border-color: var(--mantivo-admin-border) !important;
  background: #f6f9fd !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-help-trigger,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-user-menu__summary,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-help-trigger,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-user-menu__summary {
  border-color: var(--mantivo-admin-border) !important;
  background: #ffffff !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a:hover,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a:focus-visible,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a:hover,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a:focus-visible {
  border-color: #7ea6de !important;
  background: #eaf2ff !important;
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.admin-heading, .admin-panel, .table-wrap, .admin-empty-state),
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.admin-heading, .admin-panel, .table-wrap, .admin-empty-state) {
  border-color: var(--mantivo-admin-border) !important;
  background: #ffffff !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(32, 65, 104, .07) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.admin-heading, .admin-panel, .table-wrap, .admin-empty-state) :where(h1, h2, h3, h4, p, span, small, label, th, td),
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.admin-heading, .admin-panel, .table-wrap, .admin-empty-state) :where(h1, h2, h3, h4, p, span, small, label, th, td) {
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(input, select, textarea),
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(input, select, textarea) {
  border-color: #9eb4cf !important;
  background: #ffffff !important;
  color: var(--mantivo-admin-ink) !important;
}

/* Admin shell visual consolidation 2026-10-11. */
html body.admin-shell.mantivo-tabler-admin .admin-topbar {
  min-height: 4.25rem !important;
  gap: .8rem !important;
  padding: .65rem clamp(1rem, 2vw, 1.75rem) !important;
  box-shadow: 0 .45rem 1.5rem rgba(15, 23, 42, .07) !important;
}

html body.admin-shell.mantivo-tabler-admin .brand-mini {
  min-width: 13rem !important;
  gap: .6rem !important;
}

html body.admin-shell.mantivo-tabler-admin .brand-mark {
  width: 2.25rem !important;
  height: 2.25rem !important;
  max-width: 2.25rem !important;
  max-height: 2.25rem !important;
  border-radius: .65rem !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav {
  gap: .35rem !important;
  padding: .2rem !important;
  border-radius: .8rem !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__button {
  min-height: 2.5rem !important;
  padding-inline: .75rem !important;
  border-radius: .65rem !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel {
  position: fixed !important;
  top: clamp(5.75rem, 12vh, 8rem) !important;
  right: max(1rem, calc(50vw - 32rem)) !important;
  left: max(1rem, calc(50vw - 32rem)) !important;
  width: min(64rem, calc(100vw - 2rem)) !important;
  max-height: min(60vh, 34rem) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  border-radius: 1rem !important;
  padding: .75rem !important;
}

@media (max-width: 980px) {
  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel {
    top: 5.5rem !important;
    right: .75rem !important;
    left: .75rem !important;
    width: auto !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel {
    top: clamp(9rem, 24vh, 12rem) !important;
    right: .75rem !important;
    bottom: .75rem !important;
    left: .75rem !important;
    width: auto !important;
    max-height: none !important;
    grid-template-columns: 1fr !important;
  }
}

html body.admin-shell.mantivo-tabler-admin .admin-layout {
  width: min(100%, 96rem) !important;
  padding-inline: clamp(1rem, 2vw, 2rem) !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-user-menu__summary,
html body.admin-shell.mantivo-tabler-admin .admin-help-trigger {
  min-height: 2.5rem !important;
  border-radius: .7rem !important;
}

@media (max-width: 767.98px) {
  html body.admin-shell.mantivo-tabler-admin .admin-topbar {
    padding-inline: .85rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-layout {
    padding-inline: .85rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel {
    top: 10rem !important;
    right: .75rem !important;
    left: .75rem !important;
    grid-template-columns: 1fr !important;
  }
}

/* Dashboard desktop summary table readability 2026-10-14. */
@media (min-width: 761px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .table-wrap:has(.dashboard-sector-target-row),
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .table-wrap:has(.dashboard-plan-customer-target-row) {
    overflow-x: auto !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .table-wrap:has(.dashboard-sector-target-row) table {
    min-width: 72rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .table-wrap:has(.dashboard-plan-customer-target-row) table {
    min-width: 42rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .table-wrap:has(.dashboard-sector-target-row) th,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .table-wrap:has(.dashboard-plan-customer-target-row) th {
    min-width: 5.5rem !important;
    padding: .8rem .85rem !important;
    line-height: 1.3 !important;
    white-space: normal !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .table-wrap:has(.dashboard-sector-target-row) td,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .table-wrap:has(.dashboard-plan-customer-target-row) td {
    padding: .8rem .85rem !important;
    vertical-align: top !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .table-wrap:has(.dashboard-sector-target-row) td:last-child {
    min-width: 20rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .table-wrap:has(.dashboard-sector-target-row) td:last-child .inline-actions,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .table-wrap:has(.dashboard-plan-customer-target-row) td:last-child .inline-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: .4rem !important;
    min-width: 18rem !important;
  }
}

/* Dashboard source links need their own layout; the inbox styles are scoped to Messages. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .lead-source-panel {
  padding: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .lead-source-toggle {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 2rem !important;
  gap: .25rem .75rem !important;
  align-items: center !important;
  list-style: none !important;
  cursor: pointer !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .lead-source-toggle::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .lead-source-heading {
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .lead-source-toggle > small {
  grid-column: 1 !important;
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.4 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .lead-source-toggle::after {
  content: "+" !important;
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
  justify-self: center !important;
  color: var(--mantivo-admin-primary) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .lead-source-panel[open] .lead-source-toggle::after {
  content: "-" !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .lead-source-toggle:focus-visible {
  outline: 2px solid var(--mantivo-admin-focus) !important;
  outline-offset: 3px !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .lead-source-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .25rem 1rem !important;
  margin-top: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .lead-source-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: .25rem .75rem !important;
  min-width: 0 !important;
  padding: .75rem .25rem !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .lead-source-card > span {
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .lead-source-card > strong {
  color: var(--mantivo-admin-primary) !important;
  font-variant-numeric: tabular-nums !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .lead-source-card > small {
  grid-column: 1 / -1 !important;
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.4 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .lead-source-card:is(:hover, :focus-visible) {
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .lead-source-card:focus-visible {
  outline: 2px solid var(--mantivo-admin-focus) !important;
  outline-offset: 2px !important;
}

@media (max-width: 760px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .lead-source-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Dashboard row action bands 2026-10-21. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .table-wrap:has(.dashboard-sector-target-row) td.dashboard-row-actions-cell,
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .table-wrap:has(.dashboard-plan-customer-target-row) td.dashboard-row-actions-cell {
  min-width: 20rem !important;
  border-inline-start: 1px solid var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-row-actions {
  align-items: stretch !important;
  padding: .65rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-sector-table-wrap .dashboard-row-actions {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* Dashboard table actions touch layout 2026-10-21. */
@media (max-width: 720px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .table-wrap:has(.dashboard-sector-target-row) td:last-child .inline-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
    min-width: 14rem !important;
    width: 100% !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-row-actions-cell {
    min-width: 14rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .table-wrap:has(.dashboard-sector-target-row) td:last-child .inline-actions > .btn,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .table-wrap:has(.dashboard-plan-customer-target-row) td:last-child > .btn {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .table-wrap:has(.dashboard-plan-customer-target-row) td:last-child {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
    gap: .4rem !important;
    min-width: 14rem !important;
  }
}

/* Admin dark palette refinement 2026-10-15. */
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin {
  --mantivo-admin-primary: #a9d0ff;
  --mantivo-admin-primary-hover: #d0e6ff;
  --mantivo-admin-focus: #ffd166;
  --mantivo-admin-ink: #f8fbff;
  --mantivo-admin-muted: #edf4fb;
  --mantivo-admin-border: #a1b4c7;
  --mantivo-admin-surface: #385169;
  --mantivo-admin-subtle: #46617a;
  --mantivo-admin-page: #24364a;
  background: #24364a !important;
  color: #f8fbff !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.admin-main, .admin-content) {
  background: #24364a !important;
  color: #f8fbff !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.admin-topbar, .admin-heading, .admin-panel, .admin-command-strip, .dashboard-command-strip, .dashboard-next-action-panel, .autonomy-monitor-panel, .admin-command-card, .autonomy-monitor-card, .metric-row article, .admin-grid .admin-panel, .admin-mega-nav__panel, .admin-user-menu__panel) {
  background: #385169 !important;
  border-color: #a1b4c7 !important;
  color: #f8fbff !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.table-wrap, .table-wrapper, .admin-table-wrapper, .business-table-wrapper, .table-responsive) {
  background: #46617a !important;
  border-color: #a1b4c7 !important;
  color: #f8fbff !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(input, select, textarea) {
  background: #304a62 !important;
  border-color: #b1c2d2 !important;
  color: #f8fbff !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.admin-heading p, .admin-panel p, .admin-command-strip p, .dashboard-command-strip p, .dashboard-next-action-panel p, .metric-row span, .metric-row small, .hint, .form-help, .text-secondary) {
  color: #edf4fb !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mega-nav__button,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-user-menu__summary {
  border-color: #b1c2d2 !important;
  background: #46617a !important;
  color: #f8fbff !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mega-nav__button:hover,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mega-nav__button:focus-visible,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mega-nav__item[open] .admin-mega-nav__button,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mega-nav__item.is-active .admin-mega-nav__button,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-user-menu__summary:hover,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-user-menu__summary:focus-visible {
  border-color: #d0e6ff !important;
  background: #1d4ed8 !important;
  color: #ffffff !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.btn-primary, input[type="submit"], button[type="submit"]) {
  border-color: #2563eb !important;
  background: #2563eb !important;
  color: #ffffff !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.btn-primary, input[type="submit"], button[type="submit"]):hover,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.btn-primary, input[type="submit"], button[type="submit"]):focus-visible {
  border-color: #1d4ed8 !important;
  background: #1d4ed8 !important;
  color: #ffffff !important;
}

/* Admin Tabler dark status tones 2026-10-21. */
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.badge, .status-badge, .status-pill, .tag) {
  border-color: rgba(147, 197, 253, .5) !important;
  background: rgba(30, 58, 138, .45) !important;
  color: #dbeafe !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.status-active, .status-paid, .status-accepted, .status-completed, .status-success) {
  border-color: rgba(134, 239, 172, .55) !important;
  background: rgba(20, 83, 45, .55) !important;
  color: #bbf7d0 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.status-draft, .status-pending, .status-sent, .status-issued, .status-progress) {
  border-color: rgba(147, 197, 253, .55) !important;
  background: rgba(30, 64, 175, .5) !important;
  color: #dbeafe !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.status-inactive, .status-overdue, .status-rejected, .status-cancelled, .status-void, .status-error) {
  border-color: rgba(252, 165, 165, .55) !important;
  background: rgba(127, 29, 29, .55) !important;
  color: #fecaca !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.status-warning, .status-blocked) {
  border-color: rgba(253, 230, 138, .58) !important;
  background: rgba(120, 53, 15, .52) !important;
  color: #fde68a !important;
}

/* Admin navigation compact Tabler contract 2026-10-16. */
html body.admin-shell.mantivo-tabler-admin .admin-topbar {
  min-height: 4rem !important;
  overflow: visible !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav {
  overflow: visible !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel {
  position: fixed !important;
  top: clamp(4.75rem, 8vh, 5.75rem) !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  width: min(60rem, calc(100vw - 2rem)) !important;
  max-width: calc(100vw - 2rem) !important;
  max-height: min(60vh, 32rem) !important;
  min-height: 0 !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  transform: translateX(-50%) !important;
  padding: .9rem !important;
  border-radius: 1rem !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel > section {
  min-width: 0 !important;
  padding: .35rem .4rem !important;
  border-color: transparent !important;
  background: transparent !important;
}

html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a {
  min-height: 2.5rem !important;
  padding: .45rem .55rem !important;
  border-color: transparent !important;
  background: var(--mantivo-admin-subtle) !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel > section {
  border-color: transparent !important;
  background: transparent !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel a {
  border-color: #a1b4c7 !important;
  background: #46617a !important;
  color: #f8fbff !important;
}

@media (max-width: 980px) {
  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel {
    left: 50% !important;
    width: min(48rem, calc(100vw - 1.5rem)) !important;
    max-width: calc(100vw - 1.5rem) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel {
    position: fixed !important;
    top: clamp(7rem, 18vh, 9rem) !important;
    right: .75rem !important;
    bottom: auto !important;
    left: .75rem !important;
    width: auto !important;
    max-height: calc(100dvh - clamp(7rem, 18vh, 9rem) - .75rem) !important;
    max-width: none !important;
    transform: none !important;
    grid-template-columns: 1fr !important;
  }
}

/* Dashboard global operations hierarchy 2026-10-15. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading.is-global-operations {
  gap: 1.5rem !important;
  padding: 1.5rem 1.75rem !important;
  border-left: .35rem solid var(--mantivo-admin-primary) !important;
  border-radius: .75rem !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading.is-global-operations h2 {
  max-width: 28ch !important;
  font-size: clamp(1.6rem, 2.2vw, 2.25rem) !important;
  line-height: 1.12 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.admin-command-strip, .autonomy-monitor-panel) {
  padding: 1.25rem 1.5rem !important;
  border-radius: .75rem !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-command-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.admin-command-card, .autonomy-monitor-card) {
  min-height: 7rem !important;
  border-radius: .65rem !important;
  box-shadow: none !important;
}

/* Dashboard global heading surface refinement 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading.is-global-operations {
  padding: 0 0 .75rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Dashboard heading surface naming cleanup 2026-10-15. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-heading:not(.is-global-operations) {
  padding: 0 0 .75rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 680px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-heading .admin-mode-toolbar {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-heading .admin-mode-toolbar > a {
    min-width: 0 !important;
    width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }
}

/* Module decision shortcut strip flattening 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-decision-shortcuts {
  padding: 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-decision-shortcuts__summary {
  padding: .75rem 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-decision-shortcuts > div:first-child {
  margin-bottom: .75rem !important;
}

/* Module heading surface refinement 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .admin-heading {
  padding-inline: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Module global heading surface 2026-10-17. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .admin-heading.is-global-operations {
  border-inline-start: 0 !important;
  padding-inline-start: 0 !important;
}

/* Module catalogue reading density refinement 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .metric-row {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-summary-metric {
  min-height: 5.75rem !important;
  padding: .9rem 1rem !important;
  border-radius: .65rem !important;
}

/* Module summary metrics without generic cards 2026-10-15. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-summary-metric {
  min-width: 0 !important;
  min-height: 6.5rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .8rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-summary-metric :where(span, small) {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-summary-metric strong {
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-card {
  gap: 1.25rem !important;
  padding: 1.25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-card > header {
  padding-bottom: .75rem !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-card {
    gap: .7rem !important;
    padding: .9rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-card > header {
    padding-bottom: .55rem !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-card .module-signal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .65rem !important;
}

/* Module signal cards readability 2026-10-20. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-card .module-signal-grid > span {
  display: grid !important;
  align-content: start !important;
  gap: .18rem !important;
  min-height: 3.8rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-card .module-signal-grid > span > strong {
  line-height: 1.15 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-card .module-signal-grid > span > small {
  display: block !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: .76rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-card :where(.module-catalog-detail, .module-sales-copy-grid > article, .module-readiness-panel, .module-origin-panel, .module-sales-copy) {
  border: 0 !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  padding: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-card :where(.module-readiness-panel, .module-origin-panel, .module-sales-copy) > h4 {
  margin-bottom: .75rem !important;
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .metric-row > .module-summary-metric:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .metric-row > .module-summary-metric {
    min-height: 0 !important;
    padding: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .metric-row > .module-summary-metric strong {
    overflow-wrap: anywhere !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 600px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-card .module-signal-grid {
    grid-template-columns: 1fr !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .metric-row {
  gap: 0 !important;
  padding-block: .45rem !important;
  border-block: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .metric-row > .module-summary-metric {
  min-height: 0 !important;
  padding: .35rem .85rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .metric-row > .module-summary-metric + .module-summary-metric {
  border-inline-start: 1px solid var(--mantivo-admin-border) !important;
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .metric-row > .module-summary-metric:nth-child(3) {
    border-inline-start: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .metric-row > .module-summary-metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--mantivo-admin-border) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .metric-row > .module-summary-metric small {
    display: none !important;
  }
}

/* Module summary secondary metrics disclosure 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics {
  min-width: 0 !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .8rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics-summary {
  position: relative !important;
  display: grid !important;
  min-height: 4.5rem !important;
  align-content: center !important;
  gap: .2rem !important;
  padding: .8rem 3rem .8rem 1rem !important;
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics-summary::after {
  content: '+' !important;
  position: absolute !important;
  top: 50% !important;
  right: 1rem !important;
  display: grid !important;
  width: 1.75rem !important;
  height: 1.75rem !important;
  place-items: center !important;
  transform: translateY(-50%) !important;
  border-radius: 50% !important;
  background: var(--mantivo-admin-primary) !important;
  color: var(--mantivo-admin-primary-contrast) !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics[open] .module-secondary-metrics-summary::after {
  content: '−' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics-summary:focus-visible {
  outline: 3px solid var(--mantivo-admin-focus) !important;
  outline-offset: 3px !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics-summary strong {
  display: block !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics-summary small {
  display: block !important;
  margin-top: .2rem !important;
  color: var(--mantivo-admin-muted) !important;
}

@media (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics-summary {
    grid-template-columns: minmax(0, 1fr) 40px !important;
    gap: .3rem .5rem !important;
    padding: 16px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics-summary > span {
    display: contents !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics-summary strong {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics-summary small {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics-summary::after {
    position: static !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    width: 40px !important;
    height: 40px !important;
    transform: none !important;
  }
}

@media (max-width: 359px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-decision-shortcuts__toggle {
    display: none !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  padding: 0 1rem 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics-grid .module-summary-metric {
  min-height: 5.75rem !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-metrics-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Line item row decision hierarchy 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .section-heading-row {
  align-items: end !important;
  gap: 1rem !important;
  margin-bottom: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .compact-filter-form {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(9rem, 1fr)) auto !important;
  gap: .5rem !important;
  align-items: end !important;
  width: min(100%, 52rem) !important;
}

/* Line item filter fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-filter-disclosure {
  flex: 1 1 36rem !important;
  min-width: min(100%, 30rem) !important;
  border-block: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-filter-disclosure > summary {
  min-height: 44px !important;
  padding: .65rem .25rem !important;
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-filter-disclosure > summary small {
  margin-inline-start: .5rem !important;
  color: var(--mantivo-admin-muted) !important;
  font-weight: 500 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-filter-disclosure > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-filter-fieldset {
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: .25rem 0 .75rem !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-filter-fieldset > legend {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-filter-fieldset > .compact-filter-form {
  flex: 1 1 auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .compact-filter-form .btn {
  min-height: 2.75rem !important;
  white-space: nowrap !important;
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .compact-filter-form .btn {
    justify-self: start !important;
    width: auto !important;
    padding-inline: 1.25rem !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-row > td {
  padding-block: .95rem !important;
  vertical-align: middle !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-row > td:first-child {
  min-width: 16rem !important;
}

/* Line item status tones 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-status-badge {
  min-width: 5rem !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

/* Line item status surfaces 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-status-badge.status-active {
  border-color: #b7e0c6 !important;
  background: #ecfdf3 !important;
  color: #166534 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-status-badge.status-warning {
  border-color: #efd48a !important;
  background: #fff8e1 !important;
  color: #8a5a00 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-row > td:last-child {
  min-width: 12rem !important;
  padding-inline-start: 1rem !important;
  border-inline-start: 1px solid var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-row > td:last-child .btn {
  width: 100% !important;
  min-height: 2.75rem !important;
  white-space: normal !important;
}

/* Line item filter and row action surfaces 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .compact-filter-form {
  padding: .65rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-panel,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 650px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-grid {
    gap: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-grid > a {
    min-height: 0 !important;
    grid-template-columns: 4rem minmax(0, 1fr) !important;
    column-gap: .65rem !important;
    padding: .7rem 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--mantivo-admin-border) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-grid > a > span {
    grid-row: 1 / span 2;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .line-item-filter-fieldset > .compact-filter-form {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-row > td:last-child {
  border-radius: .65rem !important;
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .section-heading-row {
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .compact-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-filter-fieldset {
    min-width: 0 !important;
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-filter-disclosure {
    min-width: 0 !important;
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-filter-fieldset > .compact-filter-form {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-form .line-item-fieldset {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .compact-filter-form {
    grid-template-columns: 1fr !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-cell-label {
  display: none !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .table-wrap {
    overflow: hidden !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table tbody,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .quote-line-item-row {
    display: grid !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .quote-line-item-row > td {
    display: grid !important;
    grid-template-columns: 4.5rem minmax(0, 1fr) !important;
    gap: .75rem !important;
    min-width: 0 !important;
    padding: .55rem .8rem !important;
    border-inline-start: 0 !important;
    border-radius: 0 !important;
    background: var(--mantivo-admin-surface) !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .quote-line-item-row > td:first-child,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .quote-line-item-row > .line-item-action-cell {
    display: block !important;
    width: 100% !important;
    padding-block: .85rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .quote-line-item-row > .line-item-action-cell .btn {
    max-width: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-cell-label {
    display: inline !important;
    color: var(--mantivo-admin-muted) !important;
    font-size: .78rem !important;
    font-weight: 700 !important;
  }
}

@media (min-width: 721px) and (max-width: 1000px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .table-wrap {
    overflow-x: hidden !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table tbody {
    display: grid !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .quote-line-item-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .quote-line-item-row > td {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .15rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: .5rem .75rem !important;
    border-inline-start: 0 !important;
    background: var(--mantivo-admin-surface) !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .quote-line-item-row > td:first-child {
    position: static !important;
    inset-inline-start: auto !important;
    min-width: 0 !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-cell-label {
    display: inline !important;
    color: var(--mantivo-admin-muted) !important;
    font-size: .78rem !important;
    font-weight: 700 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .quote-line-item-row > .line-item-action-cell {
    display: block !important;
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
    padding: .75rem !important;
    border-top: 1px solid var(--mantivo-admin-border) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-status-badge {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
  }
}

@media (max-width: 1000px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .quote-line-item-row .line-item-status-badge {
    justify-self: start !important;
    width: max-content !important;
    max-width: 100% !important;
  }
}

/* Line item action bands touch layout 2026-10-21. */
@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-form-disclosure-summary {
    display: none !important;
  }
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items:has(#line-item-form .line-item-form-disclosure[open]) .admin-heading a[href="#line-item-form"] {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-form-disclosure:not([open]) > :not(summary) {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-form-disclosure-summary {
    display: block !important;
    position: relative !important;
    margin-top: .75rem !important;
    padding: .75rem 2.25rem .75rem .9rem !important;
    border: 1px solid var(--mantivo-admin-border) !important;
    border-radius: .5rem !important;
    background: var(--mantivo-admin-subtle) !important;
    color: var(--mantivo-admin-ink) !important;
    cursor: pointer !important;
    list-style: none !important;
    font-weight: 700 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-form-disclosure-summary::-webkit-details-marker {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-form-disclosure-summary::after {
    content: '+' !important;
    position: absolute !important;
    right: .9rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--mantivo-admin-primary) !important;
    font-size: 1.25rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-form-disclosure[open] .line-item-form-disclosure-summary::after {
    content: '\2212' !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-form-disclosure__toggle-hide,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-form-disclosure[open] .line-item-form-disclosure__toggle-show {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-form-disclosure[open] .line-item-form-disclosure__toggle-hide {
    display: inline !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .admin-heading .compact-actions,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .form-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .admin-heading .compact-actions > :where(.btn, button, a),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .form-actions > :where(.btn, button, a) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-form .checkbox-row,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-form .form-actions > button {
    min-height: 44px !important;
  }
}

/* Line item mobile identity refinement 2026-10-16. */
@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table :where(th, td):first-child {
    position: sticky !important;
    inset-inline-start: 0 !important;
    z-index: 2 !important;
    background: var(--mantivo-admin-surface) !important;
    box-shadow: .35rem 0 .65rem rgba(15, 23, 42, .08) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table th:first-child {
    z-index: 3 !important;
    background: var(--mantivo-admin-subtle) !important;
  }
}

/* Line item surface tokens 2026-10-16. */

/* Line item use metrics without generic cards 2026-10-15. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-metric {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  gap: .25rem .75rem !important;
  min-width: 0 !important;
  min-height: 6.5rem !important;
  padding: 1rem 1.1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .8rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-metric > span,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-metric > small {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-metric > strong {
  color: var(--mantivo-admin-ink) !important;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem) !important;
  line-height: 1.1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-metric > small {
  grid-column: 1 / -1 !important;
}

@media (max-width: 650px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-use-metric {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .metric-row > .line-item-use-metric {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    padding: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .metric-row > .line-item-use-metric:last-child {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .metric-row > .line-item-use-metric strong {
    overflow-wrap: anywhere !important;
  }
}

/* Line item heading surface refinement 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .admin-heading {
  padding-inline: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Admin title scale unification 2026-10-15. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-heading h2 {
  max-width: 34ch !important;
  margin-block: 0 .5rem !important;
  font-size: clamp(1.45rem, 2vw, 2rem) !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  text-wrap: balance !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin :where(.admin-panel > h2, .admin-panel > h3, .section-heading-row h2, .section-heading-row h3, .ai-intake-hero h2, .document-header h2) {
  max-width: 42ch !important;
  margin-block: 0 .5rem !important;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem) !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-wrap: balance !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin :where(.admin-heading p, .admin-panel > h2 + p, .admin-panel > h3 + p, .section-heading-row p) {
  max-width: 68ch !important;
  line-height: 1.5 !important;
}

/* Dashboard secondary workspace disclosure 2026-10-16. */
/* Dashboard secondary panel surface cleanup 2026-10-15. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.first-quote-guide, .activation-funnel-panel) {
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-panel {
  overflow: hidden !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-panel__summary {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 1rem !important;
  align-items: center !important;
  cursor: pointer !important;
  list-style: none !important;
  padding: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-panel__summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-panel__summary > span:first-child {
  display: grid !important;
  gap: .2rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-panel__summary strong {
  color: var(--mantivo-admin-ink) !important;
  font-size: 1rem !important;
  line-height: 1.3 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-panel__summary small {
  max-width: 68ch !important;
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.45 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-panel__summary:focus-visible {
  outline: 3px solid var(--mantivo-admin-focus) !important;
  outline-offset: 4px !important;
  border-radius: .4rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-panel__toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: .45rem !important;
  min-height: 2.5rem !important;
  padding: .55rem .8rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .55rem !important;
  color: var(--mantivo-admin-primary-hover) !important;
  font-size: .875rem !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-panel__toggle::after {
  content: '+' !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-panel[open] .dashboard-secondary-panel__toggle::after {
  content: '−' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-panel__body {
  margin-top: 1rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-panel__body > .section-heading-row {
  margin-bottom: 1rem !important;
}

@media (max-width: 680px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-panel__summary {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-secondary-panel__toggle {
    justify-content: center !important;
    width: 100% !important;
  }
}

/* Dashboard activation panel grid 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .activation-funnel-panel {
  padding: 1.35rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .activation-funnel-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .activation-funnel-card {
  display: grid !important;
  min-height: 7.5rem !important;
  align-content: start !important;
  gap: .35rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-subtle) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .activation-funnel-card:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .activation-funnel-card:focus-visible {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: 0 .35rem .9rem rgba(15, 39, 72, .08) !important;
}

@media (max-width: 680px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .activation-funnel-panel {
    padding: 1rem !important;
  }
}

/* Dashboard decision workspace refinement 2026-10-16. */
/* Dashboard decision surfaces without generic cards 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.admin-command-strip, .autonomy-monitor-panel) {
  display: grid !important;
  gap: 1rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.admin-command-strip .section-heading-row, .autonomy-monitor-head) {
  margin: 0 !important;
  padding-bottom: .75rem !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.admin-command-grid, .autonomy-monitor-grid) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)) !important;
  gap: .75rem !important;
}

/* Shared Tabler disclosure surface 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-disclosure-panel {
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-disclosure-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  min-height: 4.5rem !important;
  padding: .85rem 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .7rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-disclosure-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-disclosure-summary::after {
  content: '+' !important;
  flex: 0 0 auto !important;
  color: var(--mantivo-admin-primary) !important;
  font-size: 1.25rem !important;
  line-height: 1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-disclosure-panel[open] .admin-disclosure-summary::after {
  content: '−' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-disclosure-summary:focus-visible {
  outline: .2rem solid #f59f00 !important;
  outline-offset: .2rem !important;
}

/* Project cost shortcut disclosure state 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcuts__toggle-hide {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcuts[open] .project-cost-shortcuts__toggle-show {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcuts[open] .project-cost-shortcuts__toggle-hide {
  display: inline !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-disclosure-body {
  padding-top: .9rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.admin-command-card, .autonomy-monitor-card) {
  display: grid !important;
  align-content: start !important;
  gap: .45rem !important;
  min-height: 8.5rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .7rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1.25rem 1.5rem !important;
  border-inline-start: .35rem solid var(--mantivo-admin-primary) !important;
  border-radius: .7rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: none !important;
}

/* Dashboard summary metrics without generic cards 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-summary-metric {
  min-width: 0 !important;
  min-height: 6.5rem !important;
  display: grid !important;
  align-content: start !important;
  gap: .35rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .8rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-summary-metric :where(span, small) {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-summary-metric strong {
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.45rem !important;
  line-height: 1.1 !important;
}

/* Dashboard metric roles 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-summary-metric {
  border-inline-start: .3rem solid var(--dashboard-metric-accent, var(--mantivo-admin-primary)) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-summary-metric--accounts {
  --dashboard-metric-accent: #206bc4;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-summary-metric--revenue,
html body.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-summary-metric--paid {
  --dashboard-metric-accent: #087f5b;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-summary-metric--pipeline {
  --dashboard-metric-accent: #7c3aed;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-summary-metric--pending {
  --dashboard-metric-accent: #b7791f;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-summary-metric--accounts {
  --dashboard-metric-accent: #7db5f2;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-summary-metric--revenue,
html[data-theme="dark"] body.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-summary-metric--paid {
  --dashboard-metric-accent: #5ed9b2;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-summary-metric--pipeline {
  --dashboard-metric-accent: #c4a7ff;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-summary-metric--pending {
  --dashboard-metric-accent: #f0c36a;
}

/* Show dashboard indicators together before the daily work on narrow screens. */
@media (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .metric-row.dashboard-team-metrics:has(> .dashboard-summary-metric) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-summary-metric--revenue strong {
    font-size: 1rem !important;
  }
}

@media (max-width: 650px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-kpi-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .metric-row:has(> .dashboard-summary-metric) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .6rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .metric-row > .dashboard-summary-metric:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.superadmin-kpi-card, .dashboard-summary-metric) {
    min-width: 0 !important;
    min-height: 0 !important;
    padding: .75rem !important;
    gap: .25rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :where(.superadmin-kpi-card, .dashboard-summary-metric) strong {
    font-size: 1.15rem !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere !important;
  }
}

/* Shared Tabler workflow step surface 2026-10-16. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-workflow-step-card {
  min-width: 0 !important;
  min-height: 6.5rem !important;
  display: grid !important;
  align-content: start !important;
  gap: .35rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .8rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin .admin-workflow-step-card span {
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel dl {
  display: grid !important;
  grid-template-columns: auto minmax(0, auto) !important;
  gap: .2rem .65rem !important;
  margin: 0 !important;
  padding: .7rem .85rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .6rem !important;
  background: var(--mantivo-admin-subtle) !important;
}

@media (max-width: 840px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel dl {
    grid-column: 1 / -1 !important;
    justify-self: start !important;
  }
}

@media (max-width: 560px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel {
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-next-action-panel .btn {
    width: 100% !important;
  }
}

/* Customers Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .admin-main,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .admin-content {
  min-width: 0 !important;
  background: transparent !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .admin-content {
  display: grid !important;
  width: min(100%, 96rem) !important;
  margin-inline: auto !important;
  gap: 1rem !important;
  padding-inline: clamp(.75rem, 2vw, 1.5rem) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .admin-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 1rem !important;
  padding: 0 0 .25rem !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .admin-heading h2 {
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: clamp(1.45rem, 2.2vw, 2rem) !important;
  line-height: 1.15 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .admin-heading p:not(.eyebrow) {
  max-width: 70ch !important;
  margin: .4rem 0 0 !important;
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .admin-heading.is-global-operations {
  border-inline-start: 0 !important;
  padding-inline-start: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :where(.customer-command-strip, .customer-global-metrics, .customer-readiness-grid, .customer-action-grid) {
  display: grid !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-strip {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)) !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-card {
  display: grid !important;
  align-content: start !important;
  gap: .35rem !important;
  min-width: 0 !important;
  min-height: 6.25rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
  box-shadow: 0 .25rem .8rem rgba(30, 58, 95, .05) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-card:is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-card.is-primary {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-primary) !important;
  color: var(--mantivo-admin-primary-contrast) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-card :where(span, strong, small) {
  color: inherit !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-secondary-actions {
  position: relative !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-secondary-actions-summary {
  display: grid !important;
  align-content: start !important;
  gap: .35rem !important;
  min-height: 6.25rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-secondary-actions-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-secondary-actions-summary:is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-page) !important;
}

@media (min-width: 721px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-strip--global > .customer-command-card,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-strip--global > .customer-secondary-actions > .customer-secondary-actions-summary {
    min-height: 4.5rem !important;
    padding: .65rem .85rem !important;
    border-radius: .375rem !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-strip--global :where(.customer-command-card, .customer-secondary-actions-summary) {
    gap: .15rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-strip--global .customer-command-label {
    display: none !important;
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-strip--global {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-strip--global .customer-secondary-actions-summary {
    padding-right: 3rem !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-secondary-actions-panel {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)) !important;
  gap: .75rem !important;
  margin-top: .75rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :where(.customer-form-preview, .customer-sector-preview, .customer-legal-activity-details, .customer-client-scope, .customer-admin-summary-panel, .customer-admin-preview-panel, .customer-readiness-panel, .customer-action-panel, .customer-next-action-panel, #customer-form, #customers-table) {
  min-width: 0 !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: 0 .25rem .8rem rgba(30, 58, 95, .05) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customer-form,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-admin-summary-panel,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-admin-preview-panel,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-readiness-panel,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-action-panel,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-next-action-panel,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table {
  padding: clamp(1rem, 2vw, 1.5rem) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :is(.customer-admin-summary-panel, .customer-readiness-panel, .customer-action-panel),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customer-form {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  max-width: 64rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-readiness-disclosure > summary {
  display: none;
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-readiness-disclosure > summary {
    display: list-item;
    min-height: 2.75rem;
    margin-top: .75rem;
    padding: .7rem .25rem;
    border-block: 1px solid var(--mantivo-admin-border);
    color: var(--mantivo-admin-primary);
    cursor: pointer;
    font-weight: 700;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-readiness-disclosure > summary:focus-visible {
    outline: .2rem solid var(--mantivo-admin-focus);
    outline-offset: .15rem;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-results-disclosure {
  min-width: 0 !important;
  width: 100% !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-results-disclosure > summary {
  margin: .75rem 0 !important;
  min-height: 2.75rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-results-disclosure > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-results-disclosure > summary {
    display: none !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-admin-preview-summary {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: .25rem .75rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-admin-preview-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-admin-preview-summary strong {
  flex: 1 1 12rem !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.05rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-admin-preview-summary::after {
  content: '+' !important;
  color: var(--mantivo-admin-primary) !important;
  font-size: 1.25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-admin-preview-panel[open] .customer-admin-preview-summary::after {
  content: '−' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-admin-preview-summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-admin-preview-body {
  padding-top: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-form-disclosure-summary {
  display: block !important;
  position: relative !important;
  margin-top: .75rem !important;
  min-height: 44px !important;
  padding: .75rem 2.25rem .75rem .9rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
  list-style: none !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-form-disclosure-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-form-disclosure-summary::after {
  content: '+' !important;
  position: absolute !important;
  right: .9rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--mantivo-admin-primary) !important;
  font-size: 1.25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-form-disclosure[open] .customer-form-disclosure-summary::after {
  content: '−' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-form-disclosure-summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-form-disclosure__toggle-hide,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-form-disclosure[open] .customer-form-disclosure__toggle-show {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-form-disclosure[open] .customer-form-disclosure__toggle-hide {
  display: inline !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :where(#customer-form, .customer-readiness-panel, .customer-action-panel, .customer-next-action-panel, #customers-table) > :where(h3, .section-heading-row, .table-heading) {
  margin-top: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-action-panel > .section-heading-row > .btn {
  max-width: 100% !important;
  min-width: 0 !important;
  padding-inline: .4rem !important;
  font-size: .875rem !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
}

@media (min-width: 721px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :is(.customer-readiness-panel, .customer-action-panel) > .section-heading-row {
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: end !important;
    column-gap: 1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :is(.customer-readiness-panel, .customer-action-panel) > .section-heading-row > .btn {
    width: max-content !important;
    max-width: 100% !important;
    justify-self: end !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :where(h3, h4, strong) {
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :where(p, small, li, dd, .hint) {
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.45 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-global-summary-head,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-client-scope {
  display: flex !important;
  align-items: start !important;
  justify-content: space-between !important;
  gap: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-global-summary-head h3,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-next-action-panel h3 {
  margin: 0 !important;
  font-size: 1.25rem !important;
  line-height: 1.25 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-global-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  margin-top: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-global-metrics--two {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-global-metrics--one {
  grid-template-columns: minmax(0, 20rem) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-overview-row {
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

@media (min-width: 1024px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-overview-row:has(.customer-global-metrics--one) {
    grid-template-columns: minmax(0, 20rem) minmax(0, 1fr) !important;
    align-items: start !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-overview-row:has(.customer-global-metrics--two) {
    grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr) !important;
    align-items: start !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-global-metrics > div {
  display: grid !important;
  gap: .35rem !important;
  min-width: 0 !important;
  padding: .9rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-global-metrics span {
  color: var(--mantivo-admin-muted) !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-global-metrics strong {
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.45rem !important;
  line-height: 1.1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-global-plan-breakdown dl,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-global-plan-breakdown dd {
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .grid-two-form.business-form,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .filter-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .8rem 1rem !important;
}

@media (min-width: 961px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .filter-form {
    grid-template-columns: 5rem minmax(0, 1fr) 5rem minmax(0, 1fr) !important;
    align-items: center !important;
  }

}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-filter-actions {
  grid-column: 1 / -1 !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-filter-actions > .btn {
  width: max-content !important;
  max-width: 100% !important;
}

@media (max-width: 960px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-filter-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-filter-actions > .btn {
    width: 100% !important;
  }
}

/* Customer identity fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-fieldset {
  display: grid !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .8rem 1rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: .95rem 1rem 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-fieldset > legend {
  float: none !important;
  width: auto !important;
  margin: 0 0 .1rem !important;
  padding: 0 .35rem !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .86rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-fieldset > label {
  display: grid !important;
  gap: .35rem !important;
  min-width: 0 !important;
}

/* Customer filter fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-filter-disclosure {
  margin-top: 1rem !important;
  border-block: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-filter-disclosure > summary {
  min-height: 44px !important;
  padding: .65rem .25rem !important;
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-filter-disclosure > summary small {
  margin-inline-start: .5rem !important;
  color: var(--mantivo-admin-muted) !important;
  font-weight: 500 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-filter-disclosure > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-filter-fieldset {
  margin: 0 !important;
  padding: .25rem 0 .75rem !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table {
  scroll-margin-top: 6rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-filter-fieldset > legend {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-filter-fieldset > .filter-form {
  margin-top: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .grid-two-form.business-form > :where(label, input, select, textarea),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .filter-form > :where(label, input, select, textarea, button) {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .grid-two-form.business-form label,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .filter-form label {
  color: var(--mantivo-admin-ink) !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .grid-two-form.business-form > label {
  display: grid !important;
  gap: .35rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :where(input, select, textarea) {
  width: 100% !important;
  min-height: 2.75rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :where(input, select, textarea):focus {
  border-color: var(--mantivo-admin-primary) !important;
  box-shadow: 0 0 0 .2rem rgba(11, 94, 215, .18) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :where(.full, .customer-sector-preview, .customer-legal-activity-details, .customer-special-suggestions, .form-actions) {
  grid-column: 1 / -1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-step-strip {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .5rem !important;
  grid-column: 1 / -1 !important;
  margin-bottom: .25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-step-strip span {
  padding: .4rem .65rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 999px !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: .8rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :where(.customer-sector-preview, .customer-form-preview, .customer-client-scope) {
  padding: 1rem !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-sector-preview-summary {
  cursor: pointer !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-sector-preview-name {
  display: block !important;
  margin-top: .2rem !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-sector-preview-content {
  margin-top: .75rem !important;
  padding-top: .75rem !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .sector-quote-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .legal-activity-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)) !important;
  gap: .75rem !important;
  margin-top: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .sector-quote-grid article,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .legal-activity-row {
  min-width: 0 !important;
  padding: .8rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .6rem !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .legal-activity-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .legal-activity-row > label {
  display: grid !important;
  gap: .35rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-special-suggestions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .45rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-special-suggestions button {
  min-height: 2.5rem !important;
  padding: .45rem .7rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-readiness-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-action-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)) !important;
  margin-top: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :where(.customer-readiness-card, .customer-action-card, .customer-readiness-empty, .customer-action-empty, .admin-empty-state) {
  display: grid !important;
  align-content: start !important;
  gap: .35rem !important;
  min-width: 0 !important;
  padding: .9rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-action-card.is-featured {
  border-inline-start: .3rem solid var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :where(.customer-readiness-card, .customer-action-card):is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-readiness-grid {
    gap: 0 !important;
    margin-top: .65rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-readiness-card {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas: "status action" "name action" "missing missing" !important;
    column-gap: .75rem !important;
    row-gap: .2rem !important;
    min-height: 0 !important;
    padding: .7rem .45rem !important;
    border: 0 !important;
    border-bottom: 1px solid var(--mantivo-admin-border) !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-readiness-card:last-child {
    border-bottom: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-readiness-card > span {
    grid-area: status !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-readiness-card > strong {
    grid-area: name !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-readiness-card > p {
    grid-area: missing !important;
    margin-top: .25rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-readiness-card > :is(a, em) {
    grid-area: action !important;
    align-self: center !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
    color: var(--mantivo-admin-primary) !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-next-action-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1rem !important;
  border-inline-start: .3rem solid var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .table-wrap {
  overflow-x: auto !important;
  padding: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table-wrap:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table {
  width: 100% !important;
  min-width: 78rem !important;
  margin: 0 !important;
  border-collapse: collapse !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table :where(th, td) {
  padding: .8rem !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
  vertical-align: top !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table th {
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: .75rem !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-row-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .4rem !important;
  max-width: 26rem !important;
}

/* Customer row decision band 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-actions-cell {
  min-width: 22rem !important;
  border-inline-start: 1px solid var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-row-action-menu > .customer-row-actions {
  padding: .65rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-row-action-menu > summary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.5rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

/* Customer status tones 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-status-badge {
  min-width: 5rem !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

/* Customer rows stay light in both themes; translucent dark badges lose contrast. */
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-status-badge.status-active,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-status-badge.status-active {
  border-color: #86efac !important;
  background: #dcfce7 !important;
  color: #166534 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-status-badge.status-warning,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-status-badge.status-warning {
  border-color: #fde68a !important;
  background: #fef3c7 !important;
  color: #92400e !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  align-self: start !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-card.is-primary .customer-command-label {
  color: var(--mantivo-admin-primary-contrast) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :where(.customer-row-actions, .customer-row-status-actions, .customer-row-secondary-actions) :where(.btn, button, select) {
  min-height: 2.5rem !important;
  white-space: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :where(.customer-contact-actions, .customer-workflow-actions) {
  position: relative !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :where(.customer-contact-actions, .customer-workflow-actions) > summary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.5rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :where(.customer-contact-actions, .customer-workflow-actions) > summary::-webkit-details-marker {
  display: none !important;
}

/* Customer row disclosure state 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :where(.customer-contact-actions__toggle-hide, .customer-workflow-actions__toggle-hide) {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-contact-actions[open] .customer-contact-actions__toggle-show,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-workflow-actions[open] .customer-workflow-actions__toggle-show {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-contact-actions[open] .customer-contact-actions__toggle-hide,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-workflow-actions[open] .customer-workflow-actions__toggle-hide {
  display: inline !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :where(.customer-contact-actions-panel, .customer-workflow-actions-panel) {
  position: static !important;
  display: grid !important;
  gap: .5rem !important;
  min-width: 0 !important;
  margin-top: .5rem !important;
  padding: .75rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :where(.customer-contact-actions-panel, .customer-workflow-actions-panel) :where(.btn, button) {
  width: 100% !important;
  justify-content: flex-start !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-legal-activity-summary {
  display: grid !important;
  gap: .35rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-legal-activity-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-legal-activity-content {
  margin-top: 1rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--mantivo-admin-focus) !important;
  outline-offset: 3px !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers {
  --mantivo-admin-page: #edf3fa;
  --mantivo-admin-surface: #ffffff;
  --mantivo-admin-subtle: #f6f9fd;
  --mantivo-admin-border: #c8d7e8;
  --mantivo-admin-ink: #102033;
  --mantivo-admin-muted: #52657a;
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-card.is-primary,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-card.is-primary {
  background: #2f72e8 !important;
  color: #ffffff !important;
}

@media (max-width: 960px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-global-metrics,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .grid-two-form.business-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-fieldset,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .filter-form {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-filter-fieldset {
    padding-inline: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .grid-two-form.business-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-fieldset {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  /* Customer table pinned identity 2026-10-20. */
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table :is(th:first-child, td:first-child) {
    position: sticky !important;
    left: 0 !important;
    z-index: 1 !important;
    box-shadow: .55rem 0 .8rem -.7rem rgba(15, 39, 72, .75) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table th:first-child {
    z-index: 2 !important;
    background: var(--mantivo-admin-subtle) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table td:first-child {
    background: var(--mantivo-admin-surface) !important;
  }
}

@media (min-width: 640px) and (max-width: 960px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-global-metrics--two {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customer-form .form-actions > :is(button, a) {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    padding-inline: .25rem !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-actions-cell {
    min-width: 22rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-row-action-menu > summary {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 2.5rem !important;
    min-width: 8rem !important;
    width: max-content !important;
    margin-inline-start: auto !important;
    cursor: pointer !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .admin-heading,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-global-summary-head,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-client-scope,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-next-action-panel {
    grid-template-columns: 1fr !important;
    display: grid !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-global-summary-head,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-client-scope {
    align-items: stretch !important;
  }
}

/* Customer row actions touch layout 2026-10-20. */
@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-row-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-row-actions > :where(form, details, .customer-row-secondary-actions, .btn, span) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-row-actions > .customer-row-secondary-actions {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .45rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-row-actions > .customer-row-status-form {
    display: grid !important;
    gap: .45rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-row-status-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: .45rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-row-actions > :where(form, details, .customer-row-secondary-actions) :where(select, .btn, button, summary) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table-wrap:has(.customer-target-row) {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table thead {
    position: absolute !important;
    display: block !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tr.customer-target-row {
    display: grid !important;
    gap: .55rem !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-bottom: .75rem !important;
    padding: .9rem !important;
    border: 1px solid var(--mantivo-admin-border) !important;
    border-radius: .5rem !important;
    background: var(--mantivo-admin-surface) !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tr.customer-target-row td {
    position: static !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tr.customer-target-row td::before {
    content: attr(data-label) !important;
    display: block !important;
    margin-bottom: .2rem !important;
    color: var(--mantivo-admin-muted) !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tr.customer-target-row td:not(:first-child):not(.customer-actions-cell) {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)) !important;
    align-items: start !important;
    column-gap: .6rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tr.customer-target-row td[data-label="Gremio"] {
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: manual !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tr.customer-target-row td:not(:first-child):not(.customer-actions-cell)::before {
    margin-bottom: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tr.customer-target-row td:not(:first-child):not(.customer-actions-cell):empty {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tr.customer-target-row .customer-status-badge {
    min-width: 0 !important;
    max-width: 100% !important;
    width: fit-content !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tr.customer-target-row td:empty {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tr.customer-target-row td.customer-actions-cell {
    padding-top: .7rem !important;
    border-top: 1px solid var(--mantivo-admin-border) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .customer-row-action-menu > summary {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tr.customer-target-row td[data-label="Gremio"] {
    hyphens: auto !important;
  }
}

@media (min-width: 721px) and (max-width: 1023px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table-wrap:has(.customer-target-row) {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tr.customer-target-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .55rem .75rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-bottom: .75rem !important;
    padding: .9rem !important;
    border: 1px solid var(--mantivo-admin-border) !important;
    border-radius: 4px !important;
    background: var(--mantivo-admin-surface) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tr.customer-target-row td {
    position: static !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tr.customer-target-row td::before {
    content: attr(data-label) !important;
    display: block !important;
    margin-bottom: .2rem !important;
    color: var(--mantivo-admin-muted) !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tr.customer-target-row td:empty {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tr.customer-target-row > :is(td:first-child, td.customer-actions-cell) {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tr.customer-target-row td.customer-actions-cell {
    padding-top: .7rem !important;
    border-top: 1px solid var(--mantivo-admin-border) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .table tr.customer-target-row td.customer-actions-cell::before {
    display: none !important;
  }
}

@media (max-width: 480px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .customer-row-actions,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .customer-row-actions > .customer-row-secondary-actions {
    grid-template-columns: 1fr !important;
    max-width: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Messages Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .admin-main,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .admin-content {
  min-width: 0 !important;
  background: transparent !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-desk-page {
  display: grid !important;
  width: min(100%, 96rem) !important;
  margin-inline: auto !important;
  gap: 1rem !important;
  padding-inline: clamp(.75rem, 2vw, 1.5rem) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .admin-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 1rem !important;
  padding: 0 0 .25rem !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .admin-heading h2 {
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: clamp(1.45rem, 2.2vw, 2rem) !important;
  line-height: 1.15 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .admin-heading p:not(.eyebrow) {
  max-width: 68ch !important;
  margin: .4rem 0 0 !important;
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-command-strip {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)) !important;
  gap: .75rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 359px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-desk-page .message-command-strip {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-command-card {
  display: grid !important;
  align-content: start !important;
  gap: .35rem !important;
  min-width: 0 !important;
  min-height: 6.25rem !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
  box-shadow: 0 .25rem .8rem rgba(30, 58, 95, .05) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-command-card:is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-command-card.is-primary {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-primary) !important;
  color: var(--mantivo-admin-primary-contrast) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-command-card :where(span, strong, small) {
  color: inherit !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.message-inbox-panel, .lead-next-action-panel, .lead-source-panel, .lead-priority-panel, .lead-response-panel, .lead-conversion-panel, .filter-form, .lead-empty-state) {
  min-width: 0 !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .75rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  box-shadow: 0 .25rem .8rem rgba(30, 58, 95, .05) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-inbox-panel {
  display: grid !important;
  gap: 1rem !important;
  padding: clamp(1rem, 2vw, 1.5rem) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-inbox-panel:not(.message-inbox-panel--empty) {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-inbox-panel--empty {
  width: min(100%, 52rem) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-inbox-panel--empty .lead-empty-state {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-inbox-panel--empty .admin-empty-state-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-inbox-panel:not(.message-inbox-panel--empty) .admin-empty-state-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .6rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-inbox-panel--empty .admin-empty-state-actions > .btn,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-inbox-panel:not(.message-inbox-panel--empty) .admin-empty-state-actions > .btn {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-inbox-panel--empty .admin-example-grid {
  display: block !important;
  margin-top: 1rem !important;
  padding-top: .85rem !important;
  border: 0 !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .admin-example-grid > summary {
  min-height: 2.75rem !important;
  padding-block: .75rem !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .admin-example-grid > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-inbox-panel > h2 {
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.25rem !important;
  line-height: 1.25 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.lead-source-panel, .lead-priority-panel, .lead-response-panel, .lead-conversion-panel) {
  display: block !important;
  padding: 1rem !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-source-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .75rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-source-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-source-summary > span {
  display: grid !important;
  gap: .2rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-source-summary strong {
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.05rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-source-summary::after {
  content: "+" !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 1.8rem !important;
  width: 1.8rem !important;
  height: 1.8rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .35rem !important;
  color: var(--mantivo-admin-primary) !important;
  font-size: 1.1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-source-panel[open] .lead-source-summary::after {
  content: "-" !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-source-summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .2rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-source-content {
  display: grid !important;
  gap: .75rem !important;
  padding-top: .85rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-source-content > .btn {
  justify-self: start !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-conversion-result-guide-folded {
  display: block !important;
  margin: .75rem 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-conversion-result-guide-folded > summary {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 1.8rem !important;
  align-items: center !important;
  gap: .2rem .75rem !important;
  min-height: 4.5rem !important;
  padding: .8rem 1rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-conversion-result-guide-folded > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-conversion-result-guide-folded > summary > :is(.eyebrow, strong, small) {
  grid-column: 1 !important;
  min-width: 0 !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-conversion-result-guide-folded > summary strong {
  color: var(--mantivo-admin-ink) !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-conversion-result-guide-folded > summary small {
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.35 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-conversion-result-guide-folded > summary::after {
  content: "+" !important;
  display: grid !important;
  grid-column: 2 !important;
  grid-row: 1 / span 3 !important;
  place-items: center !important;
  width: 1.8rem !important;
  height: 1.8rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .35rem !important;
  color: var(--mantivo-admin-primary) !important;
  font-size: 1.1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-conversion-result-guide-folded[open] > summary::after {
  content: "-" !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-conversion-result-guide-folded > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: -.2rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-conversion-result-guide-folded .lead-conversion-result-guide-body {
  padding: .25rem 1rem 0 !important;
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-conversion-result-guide-folded ol {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)) !important;
  gap: .75rem !important;
  margin: .75rem 1rem 1rem !important;
  padding: 0 !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-conversion-result-guide-folded li {
  display: grid !important;
  gap: .25rem !important;
  padding: .75rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .35rem !important;
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.4 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-conversion-result-guide-folded li strong {
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .section-heading-row {
  display: flex !important;
  align-items: start !important;
  justify-content: space-between !important;
  gap: .75rem !important;
  padding-bottom: .75rem !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.lead-source-panel, .lead-priority-panel, .lead-response-panel, .lead-conversion-panel) h3 {
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.05rem !important;
  line-height: 1.3 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.lead-source-panel, .lead-priority-panel, .lead-response-panel, .lead-conversion-panel) :where(p, small, li, dd) {
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.45 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-source-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-priority-list,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-response-list,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-conversion-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)) !important;
  gap: .75rem !important;
  margin-top: .9rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.lead-source-card, .lead-priority-card, .lead-response-card, .lead-conversion-card) {
  display: grid !important;
  align-content: start !important;
  gap: .35rem !important;
  min-width: 0 !important;
  min-height: 6rem !important;
  padding: .9rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.lead-source-card, .lead-priority-card, .lead-response-card, .lead-conversion-card):is(:hover, :focus-visible),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-source-card-active {
  border-color: var(--mantivo-admin-primary) !important;
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.lead-source-card, .lead-priority-card, .lead-response-card, .lead-conversion-card) > span {
  color: var(--mantivo-admin-primary) !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.lead-source-card, .lead-priority-card, .lead-response-card, .lead-conversion-card) > strong {
  color: var(--mantivo-admin-ink) !important;
  line-height: 1.25 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.lead-source-card, .lead-priority-card, .lead-response-card, .lead-conversion-card) :where(p, small) {
  margin: 0 !important;
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-section-summary {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: .35rem .75rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-section-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-section-summary::after {
  content: '+' !important;
  grid-column: 2 !important;
  grid-row: 1 / span 3 !important;
  display: grid !important;
  place-items: center !important;
  width: 2rem !important;
  height: 2rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 50% !important;
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-primary) !important;
  font-size: 1.2rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.lead-priority-panel, .lead-response-panel, .lead-conversion-panel)[open] .lead-section-summary::after {
  content: '−' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-section-summary:focus-visible,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(a, button, summary):focus-visible {
  outline: 3px solid var(--mantivo-admin-focus) !important;
  outline-offset: 3px !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-section-heading {
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-section-total {
  grid-column: 1 !important;
  width: fit-content !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 999px !important;
  background: var(--mantivo-admin-page) !important;
  padding: .25rem .55rem !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-section-content {
  display: grid !important;
  gap: .9rem !important;
  margin-top: 1rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1.1rem 1.25rem !important;
  border-left: .3rem solid var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-panel h3 {
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: 1.25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-meta {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: .25rem .75rem !important;
  min-width: 14rem !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-meta dt {
  color: var(--mantivo-admin-muted) !important;
  font-size: .875rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-meta dd {
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.filter-form, .lead-section-actions, .lead-empty-actions, .lead-next-action-actions, .lead-conversion-actions) {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: end !important;
  gap: .6rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-filter-disclosure {
  margin: 0 !important;
  padding-block: .2rem !important;
  border-block: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-filter-disclosure > summary {
  min-height: 44px !important;
  padding: .65rem .25rem !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-filter-disclosure > summary:focus-visible {
  outline: 2px solid var(--mantivo-admin-primary) !important;
  outline-offset: 2px !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-filter-disclosure > summary small {
  margin-inline-start: .5rem !important;
  color: var(--mantivo-admin-muted) !important;
  font-weight: 500 !important;
}

/* Keep message filters grouped without nesting framed panels. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-filter-fieldset {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-filter-fieldset > legend {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-filter-disclosure[open] .message-filter-fieldset {
  padding-block: .25rem .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .filter-form {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: end !important;
  gap: .75rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .filter-field,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .filter-form > div {
  display: grid !important;
  gap: .35rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .filter-form label {
  color: var(--mantivo-admin-ink) !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .filter-form select {
  width: 100% !important;
  min-height: 2.75rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .table-wrap {
  overflow-x: auto !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages #message-results:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-records-disclosure {
  min-width: 0 !important;
  width: 100% !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages table {
  width: 100% !important;
  min-width: 72rem !important;
  border-collapse: collapse !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(th, td) {
  padding: .8rem !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
  vertical-align: top !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages th {
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: .75rem !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
}

/* Message status tones 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.message-source-badge, .message-status-badge) {
  justify-content: center !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-source-badge {
  min-width: 7.5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-status-badge {
  min-width: 6.5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-status-badge.status-nuevo {
  border-color: #fde68a !important;
  background: #fef3c7 !important;
  color: #92400e !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-status-badge.status-respondido {
  border-color: #86efac !important;
  background: #ecfdf3 !important;
  color: #166534 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-status-badge.status-nuevo,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-status-badge.status-nuevo {
  border-color: rgba(253, 230, 138, .58) !important;
  background: rgba(120, 53, 15, .52) !important;
  color: #fde68a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-status-badge.status-respondido,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-status-badge.status-respondido {
  border-color: rgba(134, 239, 172, .55) !important;
  background: rgba(20, 83, 45, .55) !important;
  color: #bbf7d0 !important;
}

/* Message lead signal badges 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.lead-priority-card > span, .lead-score-badge, .lead-response-card > span, .lead-response-badge) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  min-width: 7rem !important;
  min-height: 1.9rem !important;
  max-width: 100% !important;
  padding: .3rem .6rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 999px !important;
  background: var(--mantivo-admin-subtle) !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: .75rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.lead-priority-high > span, .lead-score-high, .lead-response-high > span, .lead-response-badge-high) {
  border-color: #f3b4bd !important;
  background: #fff1f2 !important;
  color: #b42318 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.lead-priority-medium > span, .lead-score-medium, .lead-response-medium > span, .lead-response-badge-medium) {
  border-color: #efd48a !important;
  background: #fff8e1 !important;
  color: #8a5a00 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.lead-priority-low > span, .lead-score-low, .lead-response-low > span, .lead-response-badge-low) {
  border-color: #a9d7ef !important;
  background: #eaf6ff !important;
  color: #075985 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-response-badge-ok {
  border-color: #b7e0c6 !important;
  background: #ecfdf3 !important;
  color: #166534 !important;
}

/* Message inbox column rhythm 2026-10-20. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-target-row > td:first-child {
  min-width: 8rem !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-target-row > td[data-label="Nombre"] {
  min-width: 10rem !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-target-row > td[data-label="Mensaje"] {
  min-width: 16rem !important;
  max-width: 24rem !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 1.45 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-target-row > td[data-label="Email"] {
  min-width: 15rem !important;
  max-width: 17rem !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .4rem !important;
  max-width: 25rem !important;
}

/* Message row decision band 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-actions-cell {
  min-width: 21rem !important;
  border-inline-start: 1px solid var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-actions-cell .message-row-actions {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-more {
  flex: 1 1 100% !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-more > summary {
  width: 100% !important;
  cursor: pointer !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-more-panel {
  display: grid !important;
  gap: .4rem !important;
  margin-top: .45rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-more-panel > :where(details, button),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-more-panel .message-contact-actions > summary {
  width: 100% !important;
}

@media (min-width: 1024px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages #message-results table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages #message-results th:last-child,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages #message-results .message-row-actions-cell {
    position: sticky !important;
    right: 0 !important;
    z-index: 2 !important;
    min-width: 10.5rem !important;
    width: 10.5rem !important;
    box-shadow: -.4rem 0 .8rem rgba(15, 23, 42, .09) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages #message-results .message-source-badge {
    min-width: 0 !important;
    max-width: 6.5rem !important;
    white-space: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages #message-results th:last-child {
    z-index: 3 !important;
    background: var(--mantivo-admin-subtle) !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-actions :where(.btn, button) {
  min-height: 2.5rem !important;
  flex: 1 1 8rem !important;
  white-space: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-actions button.danger,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-actions button[value="delete"] {
  border-color: #b42318 !important;
  background: #fff5f4 !important;
  color: #8f1d16 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-actions button.danger:is(:hover, :focus-visible),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-actions button[value="delete"]:is(:hover, :focus-visible) {
  border-color: #7a1812 !important;
  background: #ffe4e1 !important;
  color: #63130f !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-related-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-contact-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-followup-actions {
  position: relative !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.message-related-actions, .message-contact-actions, .message-followup-actions) > summary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.5rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.message-related-actions, .message-contact-actions, .message-followup-actions) > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.message-related-actions-panel, .message-contact-actions-panel, .message-followup-actions-panel) {
  position: static !important;
  display: grid !important;
  gap: .5rem !important;
  min-width: 0 !important;
  margin-top: .5rem !important;
  padding: .75rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.message-related-actions-panel, .message-contact-actions-panel, .message-followup-actions-panel) :where(.btn, button) {
  width: 100% !important;
  justify-content: flex-start !important;
}

/* Message action disclosure state 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages :where(.message-related-actions__toggle-hide, .message-contact-actions__toggle-hide, .message-followup-actions__toggle-hide) {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-related-actions[open] .message-related-actions__toggle-show,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-contact-actions[open] .message-contact-actions__toggle-show,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-followup-actions[open] .message-followup-actions__toggle-show {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-related-actions[open] .message-related-actions__toggle-hide,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-contact-actions[open] .message-contact-actions__toggle-hide,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-followup-actions[open] .message-followup-actions__toggle-hide {
  display: inline !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages {
  --mantivo-admin-page: #142238;
  --mantivo-admin-surface: #1b2d47;
  --mantivo-admin-subtle: #203653;
  --mantivo-admin-border: #5d7697;
  --mantivo-admin-ink: #f8fbff;
  --mantivo-admin-muted: #d7e3f2;
  background: #0f1b2d !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-command-card.is-primary,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-command-card.is-primary {
  background: #2f72e8 !important;
  color: #ffffff !important;
}

@media (max-width: 1000px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-command-strip,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-actions {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .admin-heading,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-panel {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-command-strip,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .filter-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-command-card,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-source-card {
    padding: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-meta {
    min-width: 0 !important;
  }
}

/* Keep message filters readable on narrow screens. */
@media (max-width: 560px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .filter-form {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-related-actions > summary,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-actions .btn,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-records-disclosure > summary {
    min-height: 44px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-actions > :where(a, form),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-actions form > button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }
}

/* Message row actions touch layout 2026-10-21. */
@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-actions-cell {
    min-width: 15rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-actions > :where(details, .btn, button, small) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-actions > details {
    display: grid !important;
    gap: .45rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-actions > details :where(summary, .btn) {
    width: 100% !important;
  }
}

/* Keep each message and its decisions in one readable mobile record. */
@media (max-width: 650px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-desk-page {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 1023px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages #message-results {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: visible !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages #message-results table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages #message-results thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages #message-results tbody,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages #message-results .message-target-row {
    display: grid !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages #message-results .message-target-row {
    padding: .45rem .8rem !important;
    border-top: 1px solid var(--mantivo-admin-border) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages #message-results .message-target-row > td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: .5rem 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--mantivo-admin-border) !important;
    background: transparent !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages #message-results .message-target-row > td:last-child {
    border-bottom: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages #message-results .message-target-row > td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: .2rem;
    color: var(--mantivo-admin-muted);
    font-size: .75rem;
    font-weight: 700;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages #message-results .message-row-actions-cell {
    border-inline-start: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages #message-results .message-row-actions {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (min-width: 651px) and (max-width: 1023px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages #message-results .message-target-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages #message-results .message-target-row > :is(td[data-label="Mensaje"], td:last-child) {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-actions {
    display: grid !important;
    grid-template-columns: minmax(16rem, 1.2fr) repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-actions > :where(details, button) {
    min-width: 0 !important;
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-actions > details > summary {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-row-actions > .message-conversion-hint {
    grid-column: 1 / span 2 !important;
    align-self: center !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Invoices Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices {
  --invoices-page: #f4f7fb;
  --invoices-surface: #ffffff;
  --invoices-subtle: #f7f9fc;
  --invoices-border: #cbd7e6;
  --invoices-ink: #17243a;
  --invoices-muted: #52647b;
  --invoices-primary: #245fce;
  --invoices-primary-hover: #174aa8;
  --invoices-focus: #a86400;
  background: var(--invoices-page) !important;
  color: var(--invoices-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .admin-content {
  width: min(100%, 96rem) !important;
  margin-inline: auto !important;
  grid-template-columns: minmax(0, 1fr) !important;
  padding: 1.5rem clamp(1rem, 2.5vw, 2.5rem) 3.5rem !important;
  gap: 1.25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .admin-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 1.5rem !important;
  padding: 0 0 .25rem !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .admin-heading > div:first-child {
  min-width: 0 !important;
  max-width: 60rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .admin-heading h2 {
  max-width: 30ch !important;
  margin: 0 !important;
  color: var(--invoices-ink) !important;
  font-size: clamp(1.75rem, 3vw, 2.65rem) !important;
  line-height: 1.08 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .admin-heading p:not(.eyebrow) {
  max-width: 68ch !important;
  margin: .55rem 0 0 !important;
  color: var(--invoices-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.compact-actions, .inline-actions, .invoice-collection-actions, .invoice-next-action-actions, .admin-empty-state-actions, .form-actions) {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .6rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.btn, button, summary) {
  min-height: 2.75rem !important;
  border-radius: .55rem !important;
  font-weight: 750 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-page-feedback,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-next-action-panel,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-collection-panel,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .verifactu-inline-panel,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices #invoice-form,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-records-panel {
  padding: 1.25rem !important;
  border: 1px solid var(--invoices-border) !important;
  border-radius: .7rem !important;
  background: var(--invoices-surface) !important;
  box-shadow: 0 .2rem .7rem rgba(23, 36, 58, .05) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices #invoice-form {
  max-width: 64rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-start-shortcuts {
  display: grid !important;
  gap: 1rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-guidance-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .75rem !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-guidance-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-guidance-summary::after {
  content: '+' !important;
  flex: 0 0 auto !important;
  color: var(--invoices-primary) !important;
  font-size: 1.25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-guidance-disclosure[open] .invoice-guidance-summary::after {
  content: '−' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-guidance-summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-guidance-disclosure[open] .invoice-start-shortcut-grid {
  margin-top: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-start-shortcuts h3,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.invoice-collection-panel, .verifactu-inline-panel, #invoice-form, .invoice-records-panel) h3 {
  margin: 0 !important;
  color: var(--invoices-ink) !important;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem) !important;
  line-height: 1.2 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-start-shortcut-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-flow-shortcuts,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-collection-list,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .metric-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .metric-row {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-flow-shortcuts {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.invoice-command-card, .invoice-flow-shortcut, .invoice-collection-card, .invoice-summary-metric) {
  min-width: 0 !important;
  min-height: 7rem !important;
  display: grid !important;
  align-content: start !important;
  gap: .4rem !important;
  padding: 1rem !important;
  border: 1px solid var(--invoices-border) !important;
  border-radius: .65rem !important;
  background: var(--invoices-surface) !important;
  color: var(--invoices-ink) !important;
  text-decoration: none !important;
  box-shadow: 0 .15rem .45rem rgba(23, 36, 58, .06) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.invoice-command-card, .invoice-flow-shortcut, .invoice-collection-card):is(:hover, :focus-visible),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-flow-shortcut.is-active {
  border-color: var(--invoices-primary) !important;
  background: #eef4ff !important;
  box-shadow: 0 0 0 .2rem rgba(36, 95, 206, .14) !important;
}

/* Invoice command label alignment 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-command-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: start !important;
  min-width: 7.5rem !important;
  min-height: 1.8rem !important;
  padding: .3rem .65rem !important;
  border: 1px solid var(--invoices-border) !important;
  background: var(--invoices-subtle) !important;
  color: var(--invoices-ink) !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-command-card.is-primary {
  border-color: var(--invoices-primary) !important;
  background: var(--invoices-primary) !important;
  color: #ffffff !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-command-card.is-primary :where(strong, small, span, .badge) {
  color: #ffffff !important;
}

/* Invoice primary command label contrast 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-command-card.is-primary .invoice-command-label {
  border-color: rgba(255, 255, 255, .55) !important;
  background: rgba(255, 255, 255, .16) !important;
  color: #ffffff !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-summary-metric {
  min-height: 6.25rem !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-summary-metric span,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-summary-metric small,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.invoice-start-shortcuts, .invoice-collection-panel, .verifactu-inline-panel, #invoice-form, .invoice-records-panel) p {
  color: var(--invoices-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-summary-metric strong,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-collection-total {
  color: var(--invoices-primary-hover) !important;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem) !important;
  line-height: 1.1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-next-action-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  align-items: center !important;
  gap: 1rem !important;
  border-inline-start: .3rem solid var(--invoices-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-next-action-amount {
  display: inline-block !important;
  max-width: 100% !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-next-action-meta {
  display: grid !important;
  grid-template-columns: auto minmax(7rem, auto) !important;
  gap: .25rem .75rem !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-next-action-meta dt {
  color: var(--invoices-muted) !important;
  font-size: .75rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-next-action-meta dd {
  margin: 0 !important;
  color: var(--invoices-ink) !important;
  font-weight: 750 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-result-guide,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-context-strip,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-total-preview {
  padding: 1rem !important;
  border: 1px solid var(--invoices-border) !important;
  border-radius: .65rem !important;
  background: var(--invoices-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-result-guide-folded:not([open]) {
  padding: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-result-guide-folded[open] {
  display: block !important;
  padding: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-result-guide-folded[open] > summary {
  min-height: 2.75rem !important;
  margin: 0 !important;
  padding: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-result-steps {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-result-steps > article {
  display: grid !important;
  grid-template-columns: 1.5rem minmax(0, 1fr) !important;
  align-content: start !important;
  gap: .15rem .6rem !important;
  min-width: 0 !important;
  padding: .75rem !important;
  border: 0 !important;
  border-top: 1px solid var(--invoices-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-result-steps > article > span {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  width: 1.5rem !important;
  height: 1.5rem !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-result-steps > article > :is(strong, small) {
  grid-column: 2 !important;
  margin: 0 !important;
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-result-steps > article + article {
    border-left: 1px solid var(--invoices-border) !important;
  }
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-result-guide-folded[open] {
    padding: .35rem .75rem .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-result-steps {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-result-guide-folded[open] > summary,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-result-steps > article {
    padding-inline: 0 !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-client-scope {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  margin: .75rem 0 0 !important;
  padding: .75rem 0 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--invoices-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-client-scope > div {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-client-scope :is(strong, small) {
  display: block !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-client-scope > .btn {
  flex: 0 0 auto !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices #invoice-form form.business-form,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .filter-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: end !important;
  gap: 1rem !important;
  margin-top: 1rem !important;
}

/* Invoice filter fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-filter-disclosure {
  margin-top: 1rem !important;
  border-block: 1px solid var(--invoices-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-filter-disclosure > summary {
  min-height: 44px !important;
  padding: .65rem .25rem !important;
  color: var(--invoices-ink) !important;
  cursor: pointer !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-filter-disclosure > summary small {
  margin-inline-start: .5rem !important;
  color: var(--mantivo-admin-muted) !important;
  font-weight: 500 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-filter-disclosure > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-filter-fieldset {
  margin: 0 !important;
  padding: .25rem 0 .75rem !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-filter-fieldset > legend {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-filter-fieldset > .filter-form {
  margin-top: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-results-disclosure {
  min-width: 0 !important;
  width: 100% !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-results-disclosure > summary {
  min-height: 2.75rem !important;
  margin: .75rem 0 !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-results-disclosure > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-results-disclosure:not([open]) > .table-wrap {
  display: none !important;
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-results-disclosure > summary {
    display: none !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-records-panel > .admin-empty-state {
  margin-top: .75rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-records-panel[data-empty="true"] {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-records-panel[data-empty="true"] > .invoice-empty-state {
  padding: 1rem 0 0 !important;
  border-top: 1px solid var(--invoices-border) !important;
}

/* Invoice form fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-fieldset {
  display: grid !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-fieldset > legend {
  grid-column: 1 / -1 !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--invoices-ink) !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-field {
  display: grid !important;
  align-content: start !important;
  gap: .35rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-field > label {
  color: var(--invoices-ink) !important;
  font-weight: 750 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-selected-customer {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-selected-customer.is-clipped {
  display: block !important;
  color: var(--invoices-muted) !important;
  font-size: .8rem !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices #invoice-form form.business-form > label,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-fieldset > label,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .filter-form > label {
  display: grid !important;
  gap: .35rem !important;
  min-width: 0 !important;
  color: var(--invoices-ink) !important;
  font-weight: 750 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(input, select, textarea) {
  width: 100% !important;
  min-height: 2.85rem !important;
  border: 1px solid var(--invoices-border) !important;
  border-radius: .5rem !important;
  background: var(--invoices-surface) !important;
  color: var(--invoices-ink) !important;
  padding: .65rem .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(input, select, textarea):focus {
  border-color: var(--invoices-primary) !important;
  box-shadow: 0 0 0 .2rem rgba(168, 100, 0, .25) !important;
  outline: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-context-strip,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-total-preview,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .form-actions {
  grid-column: 1 / -1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-total-preview {
  display: grid !important;
  gap: .3rem !important;
  border-inline-start: .3rem solid var(--invoices-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-total-preview strong {
  color: var(--invoices-primary-hover) !important;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem) !important;
  line-height: 1.1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-collection-empty-disclosure {
  margin-top: 1rem !important;
  padding: .9rem 1rem !important;
  border: 1px dashed var(--invoices-border) !important;
  border-radius: .6rem !important;
  background: var(--invoices-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-collection-empty-disclosure summary {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  gap: .5rem 1rem !important;
  cursor: pointer !important;
  color: var(--invoices-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .table-wrap {
  overflow-x: auto !important;
  margin-top: 1rem !important;
  border: 1px solid var(--invoices-border) !important;
  border-radius: .65rem !important;
  background: var(--invoices-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .table-wrap:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .table-wrap table {
  width: 100% !important;
  min-width: 74rem !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .table-wrap :where(th, td) {
  padding: .8rem !important;
  border-bottom: 1px solid var(--invoices-border) !important;
  vertical-align: top !important;
  color: var(--invoices-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .table-wrap th {
  background: var(--invoices-subtle) !important;
  color: var(--invoices-muted) !important;
  font-size: .75rem !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

/* Invoice status tones 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.invoice-compliance-status-badge, .invoice-status-badge) {
  justify-content: center !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-compliance-status-badge {
  min-width: 6.5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-status-badge {
  min-width: 7.5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-row-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .45rem !important;
  min-width: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

/* Invoice row decision band 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-actions-cell {
  min-width: 15rem !important;
  border-inline-start: 1px solid var(--invoices-border) !important;
  background: var(--invoices-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-actions-cell > .invoice-row-actions {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-row-actions :where(.btn, button, summary) {
  min-height: 2.5rem !important;
  white-space: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-row-actions button.btn-outline-danger,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-row-actions button.btn-outline-danger {
  border-color: #b42318 !important;
  background: #fff !important;
  color: #a61b13 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-row-actions button.btn-outline-danger:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-row-actions button.btn-outline-danger:focus-visible,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-row-actions button.btn-outline-danger:hover,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-row-actions button.btn-outline-danger:focus-visible {
  border-color: #8f1d14 !important;
  background: #fff1f0 !important;
  color: #8f1d14 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-form button.btn-outline-primary {
  border-color: #9bbcff !important;
  background: #ffffff !important;
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-form button.btn-outline-primary:hover,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-form button.btn-outline-primary:focus-visible {
  border-color: #6ea0ff !important;
  background: #eaf2ff !important;
  color: #0b47b7 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.invoice-contact-actions, .invoice-document-actions) {
  position: relative !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-document-actions[open] {
  flex-basis: 100% !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.invoice-contact-actions, .invoice-document-actions) > summary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.invoice-contact-actions, .invoice-document-actions) > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.invoice-contact-actions-panel, .invoice-document-actions-panel) {
  position: static !important;
  display: grid !important;
  gap: .45rem !important;
  min-width: 0 !important;
  margin-top: .5rem !important;
  padding: .7rem !important;
  border: 1px solid var(--invoices-border) !important;
  border-radius: .55rem !important;
  background: var(--invoices-surface) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.invoice-contact-actions-panel, .invoice-document-actions-panel) :where(.btn, button) {
  width: 100% !important;
  justify-content: flex-start !important;
}

/* Invoice row disclosure state 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.invoice-contact-actions__toggle-hide, .invoice-document-actions__toggle-hide) {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-contact-actions[open] .invoice-contact-actions__toggle-show,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-document-actions[open] .invoice-document-actions__toggle-show {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-contact-actions[open] .invoice-contact-actions__toggle-hide,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-document-actions[open] .invoice-document-actions__toggle-hide {
  display: inline !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices {
  --invoices-page: #f4f7fb;
  --invoices-surface: #ffffff;
  --invoices-subtle: #f7f9fc;
  --invoices-border: #cbd7e6;
  --invoices-ink: #17243a;
  --invoices-muted: #52647b;
  --invoices-primary: #245fce;
  --invoices-primary-hover: #174aa8;
  background: var(--invoices-page) !important;
  color-scheme: light;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-guidance-summary,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-guidance-summary {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-guidance-summary :is(.eyebrow, h3),
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-guidance-summary :is(.eyebrow, h3),
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-next-action-panel h3,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-next-action-panel h3,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-flow-shortcut strong,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-flow-shortcut strong {
  color: var(--invoices-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-flow-shortcut small,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-flow-shortcut small,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-result-filter-text,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-result-filter-text {
  color: var(--invoices-muted) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-next-action-panel :is(.eyebrow, p),
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-next-action-panel :is(.eyebrow, p) {
  color: var(--invoices-muted) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-result-guide-folded > summary :is(span, strong),
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-result-guide-folded > summary :is(span, strong),
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-records-panel .result-count :is(strong, span),
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-records-panel .result-count :is(strong, span) {
  color: var(--invoices-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-result-guide-folded > summary small,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-paid-result-guide-folded > summary small {
  color: var(--invoices-muted) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row > td > :is(strong, span:not(.invoice-cell-label):not(.status-badge)),
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row .invoice-cell-content strong,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row > td > :is(strong, span:not(.invoice-cell-label):not(.status-badge)),
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row .invoice-cell-content strong {
  color: var(--invoices-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.invoice-command-card, .invoice-flow-shortcut, .invoice-collection-card):is(:hover, :focus-visible),
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.invoice-command-card, .invoice-flow-shortcut, .invoice-collection-card):is(:hover, :focus-visible) {
  background: #eef4ff !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-cell-label {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-cell-content > small {
  display: block !important;
  margin-top: .35rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-cell-content > .invoice-warranty-badge {
  margin-top: .35rem !important;
}

@media (max-width: 1000px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-records-panel.invoice-client-results {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-start-shortcut-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-flow-shortcuts,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-collection-list,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* Invoice table pinned identifier 2026-10-20. */
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row > :first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 1 !important;
    min-width: 8.5rem !important;
    background: var(--invoices-surface) !important;
    box-shadow: .55rem 0 .8rem -.7rem rgba(15, 39, 72, .75) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices thead tr > :first-child {
    z-index: 2 !important;
    background: var(--invoices-subtle) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-next-action-panel {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-next-action-meta {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-client-scope {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-client-scope > .btn {
    align-self: flex-start !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-records-panel .table-wrap {
    overflow-x: hidden !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-records-panel table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-records-panel thead {
    display: block !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-records-panel thead tr,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-records-panel thead th {
    display: block !important;
    width: 1px !important;
    min-width: 0 !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-records-panel tbody,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row {
    display: grid !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row > td {
    display: grid !important;
    grid-template-columns: 5.75rem minmax(0, 1fr) !important;
    gap: .65rem !important;
    min-width: 0 !important;
    padding: .55rem .8rem !important;
    border-inline-start: 0 !important;
    background: var(--invoices-surface) !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row > td:first-child {
    position: static !important;
    left: auto !important;
    width: 100% !important;
    max-width: none !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row > .invoice-actions-cell {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding-block: .85rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-actions-cell > .invoice-row-actions {
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-cell-label {
    display: inline !important;
    color: var(--invoices-muted) !important;
    font-size: .78rem !important;
    font-weight: 700 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row .status-badge {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .admin-content {
    padding-inline: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .admin-heading,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices #invoice-form form.business-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-fieldset,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .filter-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-start-shortcut-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-flow-shortcuts,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-collection-list,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .metric-row {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-next-action-panel {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .metric-row,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-flow-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .6rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.metric-row > .invoice-summary-metric, .invoice-flow-shortcuts > .invoice-flow-shortcut):only-child {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.invoice-summary-metric, .invoice-flow-shortcut) {
    min-height: 0 !important;
    padding: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.invoice-summary-metric, .invoice-flow-shortcut) strong {
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-next-action-meta {
    grid-column: auto !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.invoice-page-feedback, .invoice-next-action-panel, .invoice-collection-panel, .verifactu-inline-panel, #invoice-form, .invoice-records-panel) {
    padding: 1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-filter-fieldset {
    padding-inline: 0 !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row > :is(td:nth-child(2), td:nth-child(3), td:nth-child(4), td:nth-child(8)) {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .25rem !important;
  }
}

@media (min-width: 721px) and (max-width: 1000px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-client-results .table-wrap {
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-records-panel .table-wrap {
    overflow-x: hidden !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-records-panel table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-records-panel thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-records-panel tbody {
    display: grid !important;
    gap: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    min-width: 0 !important;
    border: 1px solid var(--invoices-border) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row > td {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .15rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: .5rem .75rem !important;
    border-inline-start: 0 !important;
    background: var(--invoices-surface) !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row > td:first-child {
    position: static !important;
    left: auto !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row > td:nth-child(9) {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row > td:nth-child(9) .status-badge {
    justify-self: start !important;
    width: auto !important;
    min-width: 9rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-cell-label {
    display: inline !important;
    color: var(--invoices-muted) !important;
    font-size: .78rem !important;
    font-weight: 700 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row > .invoice-actions-cell {
    display: block !important;
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
    padding: .75rem !important;
    border-top: 1px solid var(--invoices-border) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row .status-badge {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
  }
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-start-shortcuts:has(> .invoice-guidance-disclosure:not([open])) {
    gap: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--invoices-border) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-guidance-disclosure:not([open]) .invoice-guidance-summary {
    min-height: 2.75rem !important;
    padding: .55rem .25rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-guidance-disclosure:not([open]) .invoice-guidance-summary .eyebrow {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-guidance-disclosure:not([open]) .invoice-guidance-summary h3 {
    font-size: 1rem !important;
  }
}

@media (max-width: 560px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-actions-cell {
    min-width: 15rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-row-actions {
    min-width: 0 !important;
  }
}

/* Invoice action bands touch layout 2026-10-21. */
@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.admin-heading .compact-actions, .invoice-next-action-actions, .invoice-collection-actions, .admin-empty-state-actions, .form-actions) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.admin-heading .compact-actions, .invoice-next-action-actions, .invoice-collection-actions, .admin-empty-state-actions, .form-actions) > :where(form, details, .btn, button, a) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.invoice-next-action-actions, .invoice-collection-actions, .admin-empty-state-actions, .form-actions) > form {
    display: grid !important;
    gap: .45rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(.invoice-next-action-actions, .invoice-collection-actions, .admin-empty-state-actions, .form-actions) > form :where(select, .btn, button, a) {
    width: 100% !important;
  }
}

/* Invoice row actions touch layout 2026-10-20. */
@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-row-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-row-actions :where(.btn, button, summary) {
    min-height: max(2.5rem, 44px) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-row-actions > :where(form, details, .btn, span) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-row-actions > form {
    display: grid !important;
    gap: .45rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-row-actions > form :where(select, .btn, button) {
    width: 100% !important;
  }
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-disclosure-summary {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices:has(.invoice-empty-state:not(.admin-empty-state)) .admin-heading .actions {
    display: none !important;
  }
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .admin-content {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices:has(#invoice-form .invoice-form-disclosure[open]) .admin-heading .actions {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices #invoice-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-disclosure {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-disclosure:not([open]) > :not(summary) {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-disclosure-summary {
    display: block !important;
    position: relative !important;
    margin-top: .75rem !important;
    padding: .75rem 2.25rem .75rem .9rem !important;
    border: 1px solid var(--mantivo-admin-border) !important;
    border-radius: .5rem !important;
    background: var(--mantivo-admin-subtle) !important;
    color: var(--mantivo-admin-ink) !important;
    cursor: pointer !important;
    list-style: none !important;
    font-weight: 700 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-disclosure-summary::-webkit-details-marker {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-disclosure-summary::after {
    content: '+' !important;
    position: absolute !important;
    right: .9rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--mantivo-admin-primary) !important;
    font-size: 1.25rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-disclosure[open] .invoice-form-disclosure-summary::after {
    content: '-' !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-disclosure__toggle-hide,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-disclosure[open] .invoice-form-disclosure__toggle-show {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-disclosure[open] .invoice-form-disclosure__toggle-hide {
    display: inline !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-disclosure[data-read-only="true"] > summary {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--invoices-focus) !important;
  outline-offset: 3px !important;
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Quotes Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes {
  --quotes-page: #f4f7fb;
  --quotes-surface: #ffffff;
  --quotes-subtle: #f7f9fc;
  --quotes-border: #cbd7e6;
  --quotes-ink: #17243a;
  --quotes-muted: #52647b;
  --quotes-primary: #245fce;
  --quotes-primary-hover: #174aa8;
  --quotes-focus: #a86400;
  background: var(--quotes-page) !important;
  color: var(--quotes-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .admin-content {
  width: min(100%, 96rem) !important;
  margin-inline: auto !important;
  grid-template-columns: minmax(0, 1fr) !important;
  padding: 1.5rem clamp(1rem, 2.5vw, 2.5rem) 3.5rem !important;
  gap: 1.25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .admin-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 1.5rem !important;
  padding: 0 0 .25rem !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .admin-heading > div:first-child {
  min-width: 0 !important;
  max-width: 58rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .admin-heading h2 {
  max-width: 28ch !important;
  margin: 0 !important;
  color: var(--quotes-ink) !important;
  font-size: clamp(1.75rem, 3vw, 2.65rem) !important;
  line-height: 1.08 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .admin-heading p:not(.eyebrow) {
  max-width: 68ch !important;
  margin: .55rem 0 0 !important;
  color: var(--quotes-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .compact-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-followup-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .form-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .admin-empty-state-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .6rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.btn, button, summary) {
  min-height: 2.75rem !important;
  border-radius: .55rem !important;
  font-weight: 750 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-command-strip,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-flow-shortcuts,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-followup-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-command-strip {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-flow-shortcuts {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quote-command-card, .quote-flow-shortcut, .quote-followup-card) {
  min-width: 0 !important;
  min-height: 7rem !important;
  display: grid !important;
  align-content: start !important;
  gap: .4rem !important;
  padding: 1rem !important;
  border: 1px solid var(--quotes-border) !important;
  border-radius: .65rem !important;
  background: var(--quotes-surface) !important;
  color: var(--quotes-ink) !important;
  text-decoration: none !important;
  box-shadow: 0 .15rem .45rem rgba(23, 36, 58, .06) !important;
}

/* Keep step numbers inside quote shortcuts without a second framed control. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-command-label {
  display: block !important;
  align-self: start !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--quotes-muted) !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quote-command-card, .quote-flow-shortcut, .quote-followup-card):is(:hover, :focus-visible),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-flow-shortcut.is-active {
  border-color: var(--quotes-primary) !important;
  background: #eef4ff !important;
  box-shadow: 0 0 0 .2rem rgba(36, 95, 206, .14) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-command-card.is-primary {
  border-color: var(--quotes-primary) !important;
  background: var(--quotes-primary) !important;
  color: #ffffff !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-command-card.is-primary :where(strong, small, span),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-command-card.is-primary .badge {
  color: #ffffff !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-page-feedback,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quick-quote-panel, .quote-next-action-panel, .quote-followup-panel, #quote-form, #quotes-table) {
  padding: 1.25rem !important;
  border: 1px solid var(--quotes-border) !important;
  border-radius: .7rem !important;
  background: var(--quotes-surface) !important;
  box-shadow: 0 .2rem .7rem rgba(23, 36, 58, .05) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-followup-panel {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-followup-amount {
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-page-feedback {
  padding-block: .85rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-panel {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quick-quote-panel, #quote-form) {
  max-width: 64rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-panel .section-heading-row {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.section-heading-row, .quick-quote-panel > div:first-child, .quote-followup-panel > div:first-child) {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: start !important;
  justify-content: space-between !important;
  gap: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quick-quote-panel, .quote-followup-panel, #quote-form, #quotes-table) h3 {
  margin: 0 !important;
  color: var(--quotes-ink) !important;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem) !important;
  line-height: 1.2 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quick-quote-panel, .quote-followup-panel, #quote-form, #quotes-table) p {
  color: var(--quotes-muted) !important;
  line-height: 1.5 !important;
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes:has(#quick-quote .quick-quote-disclosure[open]) .admin-heading a[href="#quick-quote"] {
    display: none !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-disclosure-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 44px !important;
  margin-top: .75rem !important;
  padding: .65rem 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--quotes-border) !important;
  background: transparent !important;
  color: var(--quotes-ink) !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-disclosure-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-disclosure-summary::after {
  content: '+' !important;
  color: var(--quotes-primary) !important;
  font-size: 1.25rem !important;
  line-height: 1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-disclosure[open] .quick-quote-disclosure-summary::after {
  content: '\2212' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-disclosure__hide,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-disclosure[open] .quick-quote-disclosure__show {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-disclosure[open] .quick-quote-disclosure__hide {
  display: inline !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-disclosure-summary:focus-visible {
  outline: .2rem solid var(--quotes-primary) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-step-strip {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .55rem !important;
  margin: 1rem 0 !important;
  padding-bottom: 1rem !important;
  border-bottom: 1px solid var(--quotes-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-step-strip span {
  display: inline-flex !important;
  align-items: center !important;
  gap: .45rem !important;
  min-height: 2rem !important;
  padding: .2rem .3rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--quotes-ink) !important;
  font-weight: 750 !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-context-strip,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-total-box {
  margin-top: 1rem !important;
  padding: 1rem !important;
  border: 1px solid var(--quotes-border) !important;
  border-radius: .65rem !important;
  background: var(--quotes-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-client-scope {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  margin-top: 1rem !important;
  padding: .25rem 0 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--quotes-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-client-scope > div {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-client-scope :is(strong, small) {
  display: block !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-client-scope > .btn {
  flex: 0 0 auto !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-client-scope {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-client-scope > .btn {
    align-self: flex-start !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-form,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes #quote-form form.business-form,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .filter-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: end !important;
  gap: 1rem !important;
  margin-top: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes #quote-form form.business-form > label[for="customer_id"] {
  grid-column: 1 / -1 !important;
}

/* Quote filter fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-filter-disclosure {
  margin-top: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-filter-disclosure > summary {
  width: fit-content !important;
  min-height: 44px !important;
  padding: .6rem .85rem !important;
  border: 1px solid var(--quotes-border) !important;
  border-radius: .4rem !important;
  background: var(--quotes-subtle) !important;
  color: var(--quotes-ink) !important;
  cursor: pointer !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-filter-disclosure > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-filter-fieldset {
  margin: .75rem 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-filter-fieldset > .filter-form {
  margin-top: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-results-disclosure {
  min-width: 0 !important;
  width: 100% !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-results-disclosure > summary {
  min-height: 2.75rem !important;
  margin: .75rem 0 !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-results-disclosure > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-results-disclosure:not([open]) > .table-wrap {
  display: none !important;
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-results-disclosure > summary {
    display: none !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes #quotes-table > .admin-empty-state {
  margin-top: .75rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes #quotes-table[data-empty="true"] {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes #quotes-table[data-empty="true"] > .quote-empty-state {
  padding: 1rem 0 0 !important;
  border-top: 1px solid var(--quotes-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes #quote-form .admin-empty-state {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quick-quote-field, #quote-form form.business-form > label, .filter-form > label) {
  display: grid !important;
  gap: .35rem !important;
  min-width: 0 !important;
  color: var(--quotes-ink) !important;
  font-weight: 750 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-selected-customer {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-selected-customer.is-clipped {
  display: block !important;
  color: var(--quotes-muted) !important;
  font-size: .8rem !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-selected-module {
  display: none !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-selected-module:not([hidden]) {
    display: block !important;
    color: var(--quotes-muted) !important;
    font-size: .8rem !important;
    font-weight: 400 !important;
    overflow-wrap: anywhere !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(input, select, textarea) {
  width: 100% !important;
  min-height: 2.85rem !important;
  border: 1px solid var(--quotes-border) !important;
  border-radius: .5rem !important;
  background: var(--quotes-surface) !important;
  color: var(--quotes-ink) !important;
  padding: .65rem .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(input, select, textarea):focus {
  border-color: var(--quotes-primary) !important;
  box-shadow: 0 0 0 .2rem rgba(168, 100, 0, .25) !important;
  outline: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quick-quote-field-wide, .quick-quote-total-box, .quote-context-strip, .quote-lines-editor, .sector-fields-editor, .form-actions) {
  grid-column: 1 / -1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-total-box {
  display: grid !important;
  gap: .3rem !important;
  border-inline-start: .3rem solid var(--quotes-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-total-box strong,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-followup-total {
  color: var(--quotes-primary-hover) !important;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem) !important;
  line-height: 1.1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  align-items: center !important;
  gap: 1rem !important;
  border-inline-start: .3rem solid var(--quotes-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-number {
  margin: .25rem 0 !important;
  color: var(--quotes-muted) !important;
  font-size: .875rem !important;
  font-weight: 700 !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-meta {
  display: grid !important;
  grid-template-columns: auto minmax(7rem, auto) !important;
  gap: .25rem .75rem !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-meta dt {
  color: var(--quotes-muted) !important;
  font-size: .75rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-meta dd {
  margin: 0 !important;
  color: var(--quotes-ink) !important;
  font-weight: 750 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-lines-editor,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .sector-fields-editor {
  margin-top: 1rem !important;
  padding: 1rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--quotes-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-lines-grid {
  display: grid !important;
  grid-template-columns: minmax(13rem, 1.5fr) minmax(6rem, .6fr) minmax(8rem, .8fr) !important;
  gap: .75rem !important;
  margin-top: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-lines-grid label,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .sector-fields-group label {
  display: grid !important;
  gap: .35rem !important;
  min-width: 0 !important;
  color: var(--quotes-ink) !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .sector-fields-group {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  margin-top: 1rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .sector-fields-group[hidden] {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .sector-fields-group > strong {
  grid-column: 1 / -1 !important;
  color: var(--quotes-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap {
  overflow-x: auto !important;
  margin-top: 1rem !important;
  border: 1px solid var(--quotes-border) !important;
  border-radius: .65rem !important;
  background: var(--quotes-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap table {
  width: 100% !important;
  min-width: 72rem !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-number {
  color: var(--quotes-primary) !important;
  font-weight: 700 !important;
  background: transparent !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-number,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-number {
  color: var(--quotes-primary-hover) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-summary {
  display: none !important;
}

@media (max-width: 1023px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table table {
    display: block !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table {
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes #quotes-table.quote-client-results {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-client-results .quote-preview-table {
    overflow: hidden !important;
    border: 1px solid var(--quotes-border) !important;
    border-radius: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-client-results .quote-preview-table .quote-target-row:last-child,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-client-results .quote-preview-table .quote-target-row:last-child > td {
    border-bottom: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table .quote-target-row {
    margin: 0 !important;
    padding: .75rem 0 !important;
    border-bottom: 1px solid var(--quotes-border) !important;
    border-radius: 0 !important;
    background: var(--quotes-surface) !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table tbody,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table .quote-target-row {
    display: grid !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table .quote-target-row > :not(:first-child):not(:last-child) {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table .quote-target-row > :first-child {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    box-shadow: none !important;
    border-bottom: 0 !important;
    padding: .3rem 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table .quote-actions-cell {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding-top: 0 !important;
    border-inline-start: 0 !important;
    background: var(--quotes-surface) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table .quote-actions-cell > .quote-row-actions {
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table .quote-row-more > .quote-row-actions {
    min-width: 0 !important;
    padding: .5rem 0 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-summary {
    display: grid !important;
    gap: .45rem !important;
    margin-top: .65rem !important;
    overflow-wrap: anywhere !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-summary .quote-status-badge {
    width: max-content !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-summary > :not(.quote-status-badge) {
    color: var(--quotes-ink) !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap :where(th, td) {
  padding: .8rem !important;
  border-bottom: 1px solid var(--quotes-border) !important;
  vertical-align: top !important;
  color: var(--quotes-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) .quote-target-row > td {
  background: var(--quotes-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table .quote-target-row > td {
  background: var(--quotes-surface) !important;
}

/* Quote status tones 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-status-badge {
  min-width: 7.5rem !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap th {
  background: var(--quotes-subtle) !important;
  color: var(--quotes-muted) !important;
  font-size: .75rem !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-row-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .45rem !important;
  min-width: 18rem !important;
  padding-top: .5rem !important;
  border-top: 1px solid var(--quotes-border) !important;
}

/* Quote row decision band 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-actions-cell {
  min-width: 21rem !important;
  border-inline-start: 1px solid var(--quotes-border) !important;
  background: var(--quotes-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-actions-cell > .quote-row-actions {
  padding: .65rem !important;
  border: 1px solid var(--quotes-border) !important;
  border-radius: .65rem !important;
  background: var(--quotes-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-actions-cell > .quote-row-primary {
  margin-bottom: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-row-more > summary {
  display: list-item !important;
  padding: .55rem .75rem !important;
  border: 1px solid var(--quotes-border) !important;
  border-radius: .4rem !important;
  color: var(--quotes-primary) !important;
  cursor: pointer !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-row-more > summary:focus-visible {
  outline: 2px solid var(--quotes-primary) !important;
  outline-offset: 2px !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table .quote-row-more > summary {
  display: list-item !important;
  padding: .55rem .75rem !important;
  border: 1px solid var(--quotes-border) !important;
  border-radius: .4rem !important;
  color: var(--quotes-primary) !important;
  cursor: pointer !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table .quote-row-more > summary:focus-visible {
  outline: 2px solid var(--quotes-primary) !important;
  outline-offset: 2px !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-row-more > .quote-row-actions {
  min-width: 0 !important;
  padding: .5rem 0 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-row-actions :where(.btn, button, summary) {
  min-height: 2.5rem !important;
  white-space: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quote-related-actions, .quote-contact-actions, .quote-document-actions, .quote-linked-invoice-actions) {
  position: relative !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quote-related-actions, .quote-contact-actions, .quote-document-actions, .quote-linked-invoice-actions) > summary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quote-related-actions, .quote-contact-actions, .quote-document-actions, .quote-linked-invoice-actions) > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quote-related-actions-panel, .quote-contact-actions-panel, .quote-document-actions-panel, .quote-linked-invoice-actions-panel) {
  position: static !important;
  display: grid !important;
  gap: .45rem !important;
  min-width: 0 !important;
  margin-top: .5rem !important;
  padding: .7rem !important;
  border: 1px solid var(--quotes-border) !important;
  border-radius: .55rem !important;
  background: var(--quotes-surface) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quote-related-actions-panel, .quote-contact-actions-panel, .quote-document-actions-panel, .quote-linked-invoice-actions-panel) :where(.btn, button) {
  width: 100% !important;
  justify-content: flex-start !important;
}

/* Quote row disclosure state 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quote-related-actions__toggle-hide, .quote-contact-actions__toggle-hide, .quote-document-actions__toggle-hide, .quote-linked-invoice-actions__toggle-hide) {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-related-actions[open] .quote-related-actions__toggle-show,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-contact-actions[open] .quote-contact-actions__toggle-show,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-document-actions[open] .quote-document-actions__toggle-show,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-linked-invoice-actions[open] .quote-linked-invoice-actions__toggle-show {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-related-actions[open] .quote-related-actions__toggle-hide,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-contact-actions[open] .quote-contact-actions__toggle-hide,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-document-actions[open] .quote-document-actions__toggle-hide,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-linked-invoice-actions[open] .quote-linked-invoice-actions__toggle-hide {
  display: inline !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes {
  --quotes-page: #f4f7fb;
  --quotes-surface: #ffffff;
  --quotes-subtle: #f7f9fc;
  --quotes-border: #cbd7e6;
  --quotes-ink: #17243a;
  --quotes-muted: #52647b;
  --quotes-primary: #245fce;
  --quotes-primary-hover: #174aa8;
  background: var(--quotes-page) !important;
  color-scheme: light;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-flow-shortcut strong,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-flow-shortcut strong,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-panel h3,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-panel h3,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-followup-card :is(.quote-followup-badge, strong, small),
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-followup-card :is(.quote-followup-badge, strong, small) {
  color: var(--quotes-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-flow-shortcut small,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-flow-shortcut small {
  color: var(--quotes-muted) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-panel :is(.eyebrow, p),
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-panel :is(.eyebrow, p) {
  color: var(--quotes-muted) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) .quote-target-row > td:nth-child(6) strong,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) .quote-target-row > td:nth-child(6) strong {
  color: var(--quotes-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) table,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) table {
  --tblr-table-bg: var(--quotes-surface);
  background: var(--quotes-surface) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) .quote-target-row > td,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) .quote-target-row > td {
  background: var(--quotes-surface) !important;
  color: var(--quotes-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quote-command-card, .quote-flow-shortcut, .quote-followup-card):is(:hover, :focus-visible),
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quote-command-card, .quote-flow-shortcut, .quote-followup-card):is(:hover, :focus-visible) {
  background: #eef4ff !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.is-primary),
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin :where(.is-primary) {
  color: #ffffff !important;
}

@media (max-width: 1000px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-command-strip,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-flow-shortcuts,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-followup-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* Quote table pinned identifier 2026-10-20. */
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-target-row > :first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 1 !important;
    min-width: 8.5rem !important;
    background: var(--quotes-surface) !important;
    box-shadow: .55rem 0 .8rem -.7rem rgba(15, 39, 72, .75) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes thead tr > :first-child {
    z-index: 2 !important;
    background: var(--quotes-subtle) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-panel {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-meta {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .admin-content {
    padding-inline: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .admin-heading,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes #quote-form form.business-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .filter-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-command-strip,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-flow-shortcuts,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-followup-list,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .sector-fields-group {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes #quote-form form.business-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .sector-fields-group {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-lines-editor .compact-actions {
    min-width: 0 !important;
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-lines-editor .compact-actions .btn {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes #quote-form .form-actions > :is(button, a) {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-panel {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-flow-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .6rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-flow-shortcut {
    min-height: 0 !important;
    padding: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-flow-shortcut:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-flow-shortcut strong {
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-meta,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-actions {
    grid-column: auto !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quick-quote-panel, .quote-next-action-panel, .quote-followup-panel, #quote-form, #quotes-table) {
    padding: 1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-filter-fieldset {
    padding-inline: 0 !important;
  }
}

@media (max-width: 560px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-actions-cell {
    min-width: 15rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-lines-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-row-actions {
    min-width: 0 !important;
  }
}

/* Quote action bands touch layout 2026-10-21. */
@media (max-width: 1023px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) {
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) table,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) tbody,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) .quote-target-row {
    display: block !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) .quote-target-row {
    padding: .75rem 0 !important;
    border-bottom: 1px solid var(--quotes-border) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) .quote-target-row > td:not(.quote-actions-cell) {
    position: static !important;
    display: grid !important;
    grid-template-columns: 5.5rem minmax(0, 1fr) !important;
    gap: .5rem !important;
    min-width: 0 !important;
    padding: .3rem 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) .quote-target-row > td:nth-child(1)::before { content: 'Número'; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) .quote-target-row > td:nth-child(2)::before { content: 'Cliente'; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) .quote-target-row > td:nth-child(3)::before { content: 'Gremio'; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) .quote-target-row > td:nth-child(4)::before { content: 'Concepto'; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) .quote-target-row > td:nth-child(5)::before { content: 'Base'; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) .quote-target-row > td:nth-child(6)::before { content: 'Total'; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) .quote-target-row > td:nth-child(7)::before { content: 'Estado'; }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) .quote-target-row > td:not(.quote-actions-cell)::before {
    color: var(--quotes-muted) !important;
    font-size: .8rem !important;
    font-weight: 700 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) .quote-actions-cell {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: .65rem 0 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-actions-cell > .quote-row-primary {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-row-more > summary {
    display: list-item !important;
    padding: .55rem .75rem !important;
    border: 1px solid var(--quotes-border) !important;
    border-radius: .4rem !important;
    color: var(--quotes-primary) !important;
    cursor: pointer !important;
    font-weight: 700 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-row-more > summary:focus-visible {
    outline: 2px solid var(--quotes-primary) !important;
    outline-offset: 2px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-row-more[open] > .quote-row-actions {
    margin-top: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.admin-heading .compact-actions, .quote-next-action-actions, .quote-followup-actions, .admin-empty-state-actions, .form-actions) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.admin-heading .compact-actions, .quote-next-action-actions, .quote-followup-actions, .admin-empty-state-actions, .form-actions) > :where(form, details, .btn, button, a) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quote-next-action-actions, .quote-followup-actions, .admin-empty-state-actions, .form-actions) > form {
    display: grid !important;
    gap: .45rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quote-next-action-actions, .quote-followup-actions, .admin-empty-state-actions, .form-actions) > form :where(select, .btn, button, a) {
    width: 100% !important;
  }
}

@media (min-width: 721px) and (max-width: 1023px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) .quote-target-row,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table .quote-target-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .25rem 1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .table-wrap:not(.quote-preview-table) .quote-target-row > :is(td:nth-child(7), .quote-actions-cell),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table .quote-target-row > :is(td:first-child, .quote-actions-cell) {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table .quote-target-row > :is(td:nth-child(2), td:nth-child(3)):not(:first-child):not(:last-child) {
    display: grid !important;
    gap: .25rem !important;
    min-width: 0 !important;
    padding: .45rem 0 !important;
    border: 0 !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table .quote-target-row > :is(td:nth-child(2), td:nth-child(3))::before {
    color: var(--quotes-muted) !important;
    font-size: .8rem !important;
    font-weight: 700 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table .quote-target-row > td:nth-child(2)::before { content: 'Cliente'; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-preview-table .quote-target-row > td:nth-child(3)::before { content: 'Gremio'; }
}

/* Quote row actions touch layout 2026-10-20. */
@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-row-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-row-actions :where(.btn, button, summary) {
    min-height: max(2.5rem, 44px) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-row-actions > :where(form, details, .btn, span) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-row-actions > form {
    display: grid !important;
    gap: .45rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-row-actions > form :where(select, .btn, button) {
    width: 100% !important;
  }
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .admin-content {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes #quote-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-form-disclosure {
    min-width: 0 !important;
    max-width: 100% !important;
  }

}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-form-disclosure:not([open]) > :not(summary) {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-form-disclosure-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 44px !important;
  margin-top: .75rem !important;
  padding: .65rem 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--quotes-border) !important;
  background: transparent !important;
  color: var(--quotes-ink) !important;
  cursor: pointer !important;
  list-style: none !important;
  font-weight: 700 !important;
}

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-form-disclosure-summary::-webkit-details-marker {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-form-disclosure-summary::after {
    content: '+' !important;
    color: var(--quotes-primary) !important;
    font-size: 1.25rem !important;
    line-height: 1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-form-disclosure[open] .quote-form-disclosure-summary::after {
    content: '-' !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-form-disclosure__toggle-hide,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-form-disclosure[open] .quote-form-disclosure__toggle-show {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-form-disclosure[open] .quote-form-disclosure__toggle-hide {
    display: inline !important;
  }

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-form-disclosure-summary:focus-visible {
  outline: .2rem solid var(--quotes-primary) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-form-disclosure[data-read-only="true"] > summary {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--quotes-focus) !important;
  outline-offset: 3px !important;
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Work orders Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders {
  --work-page: #f4f7fb;
  --work-surface: #ffffff;
  --work-subtle: #f7f9fc;
  --work-border: #cbd7e6;
  --work-ink: #17243a;
  --work-muted: #52647b;
  --work-primary: #245fce;
  --work-primary-hover: #174aa8;
  --work-focus: #a86400;
  background: var(--work-page) !important;
  color: var(--work-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-complete-result-guide-folded {
  border-color: var(--work-border) !important;
  border-radius: .5rem !important;
  background: var(--work-subtle) !important;
  color: var(--work-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-complete-result-guide-folded:not([open]) {
  padding: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-complete-result-guide-folded[open] {
  display: block !important;
  padding: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-complete-result-guide-folded[open] > summary {
  min-height: 2.75rem !important;
  margin: 0 !important;
  padding: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-complete-result-steps {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-complete-result-steps > article {
  display: grid !important;
  grid-template-columns: 1.5rem minmax(0, 1fr) !important;
  align-content: start !important;
  gap: .15rem .6rem !important;
  min-width: 0 !important;
  padding: .75rem !important;
  border: 0 !important;
  border-top: 1px solid var(--work-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-complete-result-steps > article > span {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  width: 1.5rem !important;
  height: 1.5rem !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-complete-result-steps > article > :is(strong, small) {
  grid-column: 2 !important;
  margin: 0 !important;
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-complete-result-steps > article + article {
    border-left: 1px solid var(--work-border) !important;
  }
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-complete-result-guide-folded[open] {
    padding: .35rem .75rem .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-complete-result-steps {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-complete-result-guide-folded[open] > summary,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-complete-result-steps > article {
    padding-inline: 0 !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .admin-content {
  width: min(100%, 96rem) !important;
  margin-inline: auto !important;
  padding: 1.5rem clamp(1rem, 2.5vw, 2.5rem) 3.5rem !important;
  gap: 1.25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .admin-content > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .admin-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 1.5rem !important;
  padding: 0 0 .25rem !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .admin-heading h2 {
  max-width: 30ch !important;
  margin: 0 !important;
  color: var(--work-ink) !important;
  font-size: clamp(1.75rem, 3vw, 2.65rem) !important;
  line-height: 1.08 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .admin-heading p:not(.eyebrow) {
  max-width: 68ch !important;
  margin: .55rem 0 0 !important;
  color: var(--work-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.actions, .compact-actions, .work-quick-create-actions, .work-quick-create-presets, .work-execution-actions, .work-reminder-panel-actions, .pending-materials-actions, .work-next-action-actions, .work-order-next-actions, .form-actions, .admin-empty-state-actions) {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .6rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.btn, button, summary) {
  min-height: 2.75rem !important;
  border-radius: .55rem !important;
  font-weight: 750 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-command-strip,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-memory-strip-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-shortcuts,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-execution-list,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-reminder-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .pending-materials-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .metric-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .metric-row {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :is(.work-route-shortcut, .work-route-today-card) {
  display: grid !important;
  gap: .35rem !important;
  padding: .75rem .85rem !important;
  border: 1px solid var(--work-border) !important;
  border-radius: .55rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-today-panel {
  display: grid !important;
  gap: .75rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-today-grid {
  display: grid !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-order-command-card, .work-memory-strip-card, .work-route-card, .work-execution-card, .work-reminder-card, .pending-materials-card, .work-order-summary-metric) {
  min-width: 0 !important;
  min-height: 7rem !important;
  display: grid !important;
  align-content: start !important;
  gap: .4rem !important;
  padding: 1rem !important;
  border: 1px solid var(--work-border) !important;
  border-radius: .65rem !important;
  background: var(--work-surface) !important;
  color: var(--work-ink) !important;
  text-decoration: none !important;
  box-shadow: 0 .15rem .45rem rgba(23, 36, 58, .06) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-order-command-card, .work-memory-strip-card, .work-route-card):is(:hover, :focus-visible),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-command-card.is-primary {
  border-color: var(--work-primary) !important;
  background: var(--work-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 .2rem rgba(36, 95, 206, .14) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-command-card.is-primary :where(strong, small, span, .badge),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-order-command-card, .work-memory-strip-card, .work-route-card):is(:hover, :focus-visible) :where(strong, small, span) {
  color: #ffffff !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-quick-create-panel, .work-memory-strip, .work-execution-panel, #work-order-form, .work-next-action-panel, .work-reminder-panel, .pending-materials-panel, .work-order-records-panel) {
  padding: 1.25rem !important;
  border: 1px solid var(--work-border) !important;
  border-radius: .7rem !important;
  background: var(--work-surface) !important;
  box-shadow: 0 .2rem .7rem rgba(23, 36, 58, .05) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders #work-order-form.work-order-access-panel {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-quick-create-panel, #work-order-form:not(.work-order-access-panel)) {
  max-width: 64rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-quick-create-panel, .work-memory-strip, .work-execution-panel, #work-order-form, .work-next-action-panel, .work-reminder-panel, .pending-materials-panel, .work-order-records-panel) h3 {
  margin: 0 !important;
  color: var(--work-ink) !important;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem) !important;
  line-height: 1.2 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-execution-summary {
  cursor: pointer !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-execution-summary h3 {
  display: inline-flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: .35rem .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-execution-summary .work-execution-total {
  grid-column: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--work-muted) !important;
  font-size: .875rem !important;
  font-weight: 600 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-execution-panel > .small {
  margin: .75rem 0 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-quick-create-panel, .work-memory-strip, .work-execution-panel, #work-order-form, .work-next-action-panel, .work-reminder-panel, .pending-materials-panel, .work-order-records-panel) p,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-quick-create-panel, .work-memory-strip, .work-execution-panel, #work-order-form, .work-next-action-panel, .work-reminder-panel, .pending-materials-panel, .work-order-records-panel) small {
  color: var(--work-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-audio-intake-panel {
  display: block !important;
  margin-top: 1rem !important;
  padding: 1rem 0 0 !important;
  border-top: 1px solid var(--work-border) !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  scroll-margin-top: 7rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-audio-intake-panel:not([open]) > :not(summary) {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-audio-intake-summary {
  display: block !important;
  position: relative !important;
  padding: .75rem 2.25rem .75rem 0 !important;
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-audio-intake-summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-audio-intake-summary :is(.eyebrow, strong) {
  display: block !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-audio-intake-summary strong {
  font-size: 1rem !important;
  line-height: 1.35 !important;
  scroll-margin-top: 7rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-audio-intake-summary::after {
  content: '+' !important;
  position: absolute !important;
  right: .9rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-audio-intake-panel[open] .work-audio-intake-summary::after {
  content: '\2212' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-audio-intake-summary:focus-visible {
  outline: 2px solid var(--mantivo-admin-primary) !important;
  outline-offset: 2px !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-audio-intake-body {
  display: grid !important;
  gap: .65rem !important;
  padding-top: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-audio-intake-panel textarea {
  width: 100% !important;
  min-height: 6rem !important;
  font-size: 1rem !important;
  line-height: 1.45 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-audio-intake-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-audio-intake-actions > button {
  width: 100% !important;
  min-height: 2.75rem !important;
  white-space: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-audio-intake-panel [data-work-voice-status] {
  display: block !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-quick-create-form,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders #work-order-form form.business-form,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .filter-form,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .stacked-mini-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: end !important;
  gap: 1rem !important;
  margin-top: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-quick-create-form {
  grid-template-columns: minmax(13rem, 1fr) minmax(16rem, 1.45fr) minmax(10rem, 0.75fr) minmax(9rem, 0.72fr) auto auto !important;
}

/* Work order filter fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-filter-disclosure {
  margin-block: 1rem !important;
  border-block: 1px solid var(--work-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-filter-disclosure > summary {
  min-height: 44px !important;
  padding: .65rem .25rem !important;
  color: var(--work-ink) !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-filter-disclosure > summary:focus-visible {
  outline: 2px solid var(--mantivo-admin-primary) !important;
  outline-offset: 2px !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-filter-disclosure > summary small {
  margin-inline-start: .5rem !important;
  color: var(--mantivo-admin-muted) !important;
  font-weight: 500 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-register-disclosure > summary {
  display: none !important;
}

@media (max-width: 1023px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-register-disclosure > summary {
    display: list-item !important;
    min-height: 44px !important;
    padding: .65rem .25rem !important;
    border-block: 1px solid var(--work-border) !important;
    color: var(--work-ink) !important;
    font-weight: 700 !important;
    cursor: pointer !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-register-disclosure > summary:focus-visible {
    outline: 2px solid var(--mantivo-admin-primary) !important;
    outline-offset: 2px !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-filter-fieldset {
  margin: 0 !important;
  padding: .25rem 0 .75rem !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-filter-fieldset > legend {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-filter-fieldset > .filter-form {
  margin-top: .5rem !important;
}

@media (min-width: 1001px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-filter-fieldset > .filter-form {
    grid-template-columns: 7rem minmax(0, 1fr) 7rem minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-filter-fieldset > .filter-form > .btn-primary {
    grid-column: 4 !important;
    grid-row: 4 !important;
    justify-self: end !important;
    width: max-content !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-filter-fieldset > .filter-form > .btn-outline-primary {
    grid-column: 2 !important;
    grid-row: 4 !important;
    justify-self: end !important;
    width: max-content !important;
    max-width: 100% !important;
  }
}

/* Work order quick create fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-quick-create-fieldset {
  display: grid !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-quick-create-fieldset > legend {
  width: auto !important;
  margin: 0 0 .6rem !important;
  padding: 0 !important;
  color: var(--work-ink) !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(label, .work-quick-create-note) {
  display: grid !important;
  gap: .35rem !important;
  min-width: 0 !important;
  color: var(--work-ink) !important;
  font-weight: 750 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-selected-customer-control {
  display: grid !important;
  gap: .35rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-selected-customer {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-selected-customer.is-clipped {
  display: block !important;
  color: var(--work-muted) !important;
  font-size: .8rem !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(input, select, textarea) {
  width: 100% !important;
  min-height: 2.85rem !important;
  border: 1px solid var(--work-border) !important;
  border-radius: .5rem !important;
  background: var(--work-surface) !important;
  color: var(--work-ink) !important;
  padding: .65rem .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders #quick_scheduled_date {
  box-sizing: border-box !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(input, select, textarea):focus {
  border-color: var(--work-primary) !important;
  box-shadow: 0 0 0 .2rem rgba(168, 100, 0, .25) !important;
  outline: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-quick-create-note, .work-context-strip, .work-client-scope, .work-quick-create-presets, .work-context-list, .work-execution-total, .work-next-action-meta, .work-reminder-grid, .pending-materials-grid, .form-actions) {
  grid-column: 1 / -1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-context-strip, .work-client-scope, .work-quick-create-presets, .work-context-list, .work-execution-total, .work-next-action-meta) {
  padding: 1rem !important;
  border: 1px solid var(--work-border) !important;
  border-radius: .65rem !important;
  background: var(--work-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-quick-create-presets {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .45rem !important;
  max-width: 42rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-quick-create-presets button {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: .25rem .5rem !important;
  min-height: 2.75rem !important;
  padding: .5rem .75rem !important;
  border: 1px solid var(--work-border) !important;
  border-radius: .375rem !important;
  background: #fff !important;
  color: var(--work-ink) !important;
  text-align: left !important;
  cursor: pointer !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-quick-create-presets button span {
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-quick-create-presets button small {
  color: var(--work-muted) !important;
  font-size: .8rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-quick-create-presets button[aria-pressed="true"] {
  border-color: #3b82f6 !important;
  background: #eaf3ff !important;
  color: #0b47b7 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-quick-create-presets button:focus-visible {
  outline: 2px solid #2563eb !important;
  outline-offset: 2px !important;
}

@media (max-width: 420px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-quick-create-presets {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-quick-create-presets button {
    display: grid !important;
    align-content: center !important;
    gap: .15rem !important;
    min-height: 4rem !important;
    padding: .4rem .2rem !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-quick-create-presets button small {
    font-size: .75rem !important;
    line-height: 1.2 !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-memory-strip__summary,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .admin-disclosure-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  cursor: pointer !important;
  color: var(--work-ink) !important;
  font-weight: 750 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-memory-strip__summary > span:first-child {
  display: grid !important;
  gap: .1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-memory-strip-open-notes {
  display: block !important;
  margin-top: .2rem !important;
  color: var(--work-primary) !important;
  font-size: .875rem !important;
  font-weight: 750 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .admin-disclosure-body {
  margin-top: 1rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--work-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-next-action-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  width: min(100%, 62rem) !important;
  justify-self: start !important;
  align-items: center !important;
  gap: 1rem !important;
  border-inline-start: .3rem solid var(--work-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-next-action-meta {
  display: grid !important;
  grid-template-columns: auto minmax(7rem, auto) !important;
  gap: .25rem .75rem !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-next-action-meta dt {
  color: var(--work-muted) !important;
  font-size: .75rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-next-action-meta dd {
  margin: 0 !important;
  color: var(--work-ink) !important;
  font-weight: 750 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-execution-total, .work-memory-strip-count, .work-execution-badge) {
  color: var(--work-primary-hover) !important;
  font-weight: 800 !important;
}

/* Work execution badge alignment 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-execution-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  min-width: 9rem !important;
  min-height: 2rem !important;
  padding: .35rem .65rem !important;
  border: 1px solid var(--work-border) !important;
  border-radius: 999px !important;
  background: var(--work-subtle) !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-wrap {
  overflow-x: auto !important;
  margin-top: 1rem !important;
  border: 1px solid var(--work-border) !important;
  border-radius: .65rem !important;
  background: var(--work-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-wrap:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-wrap table {
  width: 100% !important;
  min-width: 78rem !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-wrap :where(th, td) {
  padding: .8rem !important;
  border-bottom: 1px solid var(--work-border) !important;
  vertical-align: top !important;
  color: var(--work-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-wrap th {
  background: var(--work-subtle) !important;
  color: var(--work-muted) !important;
  font-size: .75rem !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

/* Work order status tones 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-status-badge {
  min-width: 7.5rem !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-status-badge.status-planned {
  border-color: #bfdbfe !important;
  background: #eff6ff !important;
  color: #1e3a8a !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-status-badge.status-in_progress {
  border-color: #93c5fd !important;
  background: #dbeafe !important;
  color: #1e40af !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-status-badge.status-done {
  border-color: #86efac !important;
  background: #ecfdf3 !important;
  color: #166534 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-status-badge.status-planned,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-status-badge.status-planned {
  border-color: #bfdbfe !important;
  background: #eff6ff !important;
  color: #1e3a8a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-status-badge.status-in_progress,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-status-badge.status-in_progress {
  border-color: #93c5fd !important;
  background: #dbeafe !important;
  color: #1e40af !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-status-badge.status-done,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-status-badge.status-done {
  border-color: #86efac !important;
  background: #ecfdf3 !important;
  color: #166534 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-row-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .45rem !important;
  min-width: 20rem !important;
  padding-top: .5rem !important;
  border-top: 1px solid var(--work-border) !important;
}

/* Work order row decision band 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-actions-cell {
  min-width: 24rem !important;
  border-inline-start: 1px solid var(--mantivo-admin-border) !important;
  background: var(--mantivo-admin-subtle) !important;
  vertical-align: top !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-actions-cell[data-read-only="true"] {
  min-width: 11rem !important;
}

@media (min-width: 721px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table[data-read-only="true"] tbody td:nth-child(4) {
    min-width: 11rem !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-actions-cell > .work-order-row-actions {
  padding: .65rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .65rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table .work-complete-form button[type="submit"] {
  border-color: #15803d !important;
  background: #15803d !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table .work-complete-form button[type="submit"]:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table .work-complete-form button[type="submit"]:focus-visible {
  border-color: #166534 !important;
  background: #166534 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-row-actions :where(.btn, button, summary) {
  min-height: 2.5rem !important;
  white-space: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-order-contact-actions, .work-order-billing-actions) {
  position: relative !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-order-contact-actions, .work-order-billing-actions) > summary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-order-contact-actions, .work-order-billing-actions) > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-order-contact-actions-panel, .work-order-billing-actions-panel, .customer-message-library-panel) {
  position: static !important;
  display: grid !important;
  gap: .45rem !important;
  min-width: 0 !important;
  margin-top: .5rem !important;
  padding: .7rem !important;
  border: 1px solid var(--work-border) !important;
  border-radius: .55rem !important;
  background: var(--work-surface) !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-order-contact-actions-panel, .work-order-billing-actions-panel, .customer-message-library-panel) :where(.btn, button) {
  width: 100% !important;
  justify-content: flex-start !important;
}

/* Work order disclosure state 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-order-contact-actions__toggle-hide, .work-order-billing-actions__toggle-hide, .customer-message-library__toggle-hide, .work-order-execution__toggle-hide) {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-contact-actions[open] .work-order-contact-actions__toggle-show,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-billing-actions[open] .work-order-billing-actions__toggle-show,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .customer-message-library[open] .customer-message-library__toggle-show,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-execution[open] .work-order-execution__toggle-show {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-contact-actions[open] .work-order-contact-actions__toggle-hide,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-billing-actions[open] .work-order-billing-actions__toggle-hide,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .customer-message-library[open] .customer-message-library__toggle-hide,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-execution[open] .work-order-execution__toggle-hide {
  display: inline !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders {
  --work-page: #f4f7fb;
  --work-surface: #ffffff;
  --work-subtle: #f7f9fc;
  --work-border: #cbd7e6;
  --work-ink: #17243a;
  --work-muted: #52647b;
  --work-primary: #245fce;
  --work-primary-hover: #174aa8;
  background: var(--work-page) !important;
  color-scheme: light;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-shortcut,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-shortcut {
  border-color: var(--work-border) !important;
  background: var(--work-surface) !important;
  color: var(--work-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-shortcut:is(:hover, :focus-visible, .is-active),
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-shortcut:is(:hover, :focus-visible, .is-active) {
  border-color: var(--work-primary) !important;
  background: #eef4ff !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-shortcut strong,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-shortcut strong {
  color: var(--work-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-shortcut span,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-shortcut span {
  color: var(--work-muted) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-today-card,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-today-card {
  border-color: var(--work-border) !important;
  background: var(--work-subtle) !important;
  color: var(--work-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-today-card-main,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-today-card-main {
  display: grid !important;
  gap: .35rem !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--work-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-today-card-main strong,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-today-card-main strong {
  color: var(--work-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-today-card-main span,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-today-card-main span {
  justify-self: start !important;
  padding: .2rem .45rem !important;
  border-radius: .35rem !important;
  background: #dcfce7 !important;
  color: #166534 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-today-card-main .work-route-status.status-planned {
  background: #e8edf3 !important;
  color: #34465d !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-today-card-main .work-route-status.status-in_progress {
  background: #dbeafe !important;
  color: #1e40af !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-today-card-main .work-route-status.status-blocked {
  background: #fff0c2 !important;
  color: #7a4700 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-today-panel h4,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-today-panel h4 {
  color: var(--work-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-today-panel :is(p, small),
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-today-panel :is(p, small) {
  color: var(--work-muted) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-order-command-card, .work-memory-strip-card, .work-route-card):is(:hover, :focus-visible),
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-order-command-card, .work-memory-strip-card, .work-route-card):is(:hover, :focus-visible) {
  background: #eef4ff !important;
}

@media (max-width: 1000px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-command-strip,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-memory-strip-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-shortcuts,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-execution-list,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-reminder-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .pending-materials-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* Work order table pinned context 2026-10-20. */
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr > :first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 1 !important;
    width: 8.5rem !important;
    min-width: 8.5rem !important;
    background: var(--work-surface) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr > :nth-child(2) {
    position: sticky !important;
    left: 8.5rem !important;
    z-index: 1 !important;
    width: 14rem !important;
    min-width: 14rem !important;
    background: var(--work-surface) !important;
    box-shadow: .55rem 0 .8rem -.7rem rgba(15, 39, 72, .75) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table thead tr > :first-child,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table thead tr > :nth-child(2) {
    z-index: 2 !important;
    background: var(--work-subtle) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-next-action-panel {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-next-action-meta {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr > :is(:first-child, :nth-child(2)) {
    position: static !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .admin-content {
    padding-inline: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .admin-heading,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-quick-create-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-quick-create-fieldset,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders #work-order-form form.business-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .filter-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-command-strip,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-memory-strip-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-route-shortcuts,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-execution-list,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-reminder-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .pending-materials-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .metric-row {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-client-scope,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders #work-order-form form.business-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-selected-customer-control {
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders #work-order-form form.business-form > * {
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-client-scope > div {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-client-scope a.btn {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-records-panel .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-records-panel .work-order-summary-metric {
    min-height: 0 !important;
    padding: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-next-action-panel {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-next-action-meta {
    grid-column: auto !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-quick-create-panel, .work-memory-strip, .work-execution-panel, #work-order-form, .work-next-action-panel, .work-reminder-panel, .pending-materials-panel, .work-order-records-panel) {
    padding: 1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-filter-fieldset {
    padding-inline: 0 !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-records-panel {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (min-width: 375px) and (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-records-panel .metric-row:has(> .work-order-summary-metric:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-memory-strip {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Work order action bands touch layout 2026-10-21. */
@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.admin-heading .compact-actions, .work-quick-create-actions, .work-execution-actions, .work-reminder-panel-actions, .pending-materials-actions, .work-next-action-actions, .work-order-next-actions, .form-actions, .admin-empty-state-actions) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.admin-heading .compact-actions, .work-quick-create-actions, .work-execution-actions, .work-reminder-panel-actions, .pending-materials-actions, .work-next-action-actions, .work-order-next-actions, .form-actions, .admin-empty-state-actions) > :where(form, details, .btn, button, a) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-quick-create-actions, .work-execution-actions, .work-reminder-panel-actions, .pending-materials-actions, .work-next-action-actions, .work-order-next-actions, .form-actions, .admin-empty-state-actions) > form {
    display: grid !important;
    gap: .45rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(.work-quick-create-actions, .work-execution-actions, .work-reminder-panel-actions, .pending-materials-actions, .work-next-action-actions, .work-order-next-actions, .form-actions, .admin-empty-state-actions) > form :where(select, .btn, button, a) {
    width: 100% !important;
  }
}

@media (max-width: 560px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-row-actions {
    min-width: 0 !important;
  }
}

/* Work order row actions touch layout 2026-10-20. */
@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-row-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-row-actions > :where(form, details, .btn, span) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-row-actions > form {
    display: grid !important;
    gap: .45rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-row-actions > form :where(select, .btn, button) {
    width: 100% !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table .work-order-quick-notes {
  margin: .4rem 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table .work-order-quick-notes li {
  overflow-wrap: anywhere !important;
  line-height: 1.4 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table .work-order-quick-notes li + li {
  margin-top: .3rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-card-toggle {
  display: none !important;
}

@media (max-width: 1023px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-wrap {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-wrap table {
    display: block !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody {
    display: grid !important;
    gap: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr {
    display: grid !important;
    min-width: 0 !important;
    padding: .25rem .75rem !important;
    border: 1px solid var(--work-border) !important;
    border-radius: .5rem !important;
    background: var(--work-surface) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr:is(:hover, :focus-within) {
    background: var(--work-surface) !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr > td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    padding: .65rem 0 !important;
    background: var(--work-surface) !important;
    box-shadow: none !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr > :is(td:first-child, td:nth-child(2)) {
    position: static !important;
    left: auto !important;
    width: auto !important;
    min-width: 0 !important;
    background: var(--work-surface) !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr > td:last-child {
    border-bottom: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr > td::before {
    display: block;
    margin-bottom: .2rem;
    color: var(--work-muted);
    font-size: .75rem;
    font-weight: 700;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr > td:nth-child(1)::before { content: "Fecha"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr > td:nth-child(2)::before { content: "Cliente"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr > td:nth-child(3)::before { content: "Gremio"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr > td:nth-child(4)::before { content: "Trabajo"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr > td:nth-child(5)::before { content: "Planificación"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr > td:nth-child(6)::before { content: "Prioridad"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr > td:nth-child(7)::before { content: "Checklist"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr > td:nth-child(8)::before { content: "Evidencias"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr > td:nth-child(9)::before { content: "Estado"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr > td:nth-child(10)::before { content: "Acciones"; }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table[data-work-card-ready] tbody tr:not([data-work-card-expanded]) > td:is(:nth-child(5), :nth-child(6), :nth-child(7), :nth-child(8), :nth-child(10)) {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table[data-work-card-ready] tbody tr:not([data-work-card-expanded]) > td:nth-child(9) {
    border-bottom: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table[data-work-card-ready] .work-order-card-toggle {
    display: block !important;
    width: 100% !important;
    min-height: 44px !important;
    margin-top: .65rem !important;
    border: 1px solid var(--work-border) !important;
    border-radius: .35rem !important;
    background: var(--work-surface) !important;
    color: var(--work-ink) !important;
    font-weight: 700 !important;
    cursor: pointer !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-card-toggle .work-order-card-toggle-hide,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-card-toggle[aria-expanded="true"] .work-order-card-toggle-show {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-card-toggle[aria-expanded="true"] .work-order-card-toggle-hide {
    display: inline !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table .work-order-actions-cell {
    min-width: 0 !important;
    border-inline-start: 0 !important;
    background: var(--work-surface) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table .work-order-actions-cell > .work-order-row-actions {
    min-width: 0 !important;
    padding: .65rem 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table .work-order-actions-cell > form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table .work-order-actions-cell > form > button,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-row-actions > details > summary {
    width: 100% !important;
    min-height: 44px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table .work-order-actions-cell > form {
    margin-block-end: .55rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table :where(input, select, textarea, canvas, button, .btn) {
    max-width: 100% !important;
  }
}

@media (min-width: 1024px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-card-toggle {
    display: none !important;
  }
}

@media (min-width: 721px) and (max-width: 1023px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr > td:nth-child(9) {
    grid-column: 1 / -1 !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders :where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--work-focus) !important;
  outline-offset: 3px !important;
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Subscriptions Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions {
  --subscription-page: var(--mantivo-admin-page);
  --subscription-surface: var(--mantivo-admin-surface);
  --subscription-subtle: var(--mantivo-admin-subtle);
  --subscription-border: var(--mantivo-admin-border);
  --subscription-ink: var(--mantivo-admin-ink);
  --subscription-muted: var(--mantivo-admin-muted);
  --subscription-primary: var(--mantivo-admin-primary);
  --subscription-primary-hover: var(--mantivo-admin-primary-hover);
  background: var(--subscription-page) !important;
  color: var(--subscription-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .admin-main {
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .admin-content {
  width: min(100%, 86rem) !important;
  margin-inline: auto !important;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 4rem !important;
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .admin-content > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .admin-heading {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: .25rem 0 .5rem !important;
  background: transparent !important;
  border: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .admin-heading.is-global-operations {
  border-left: .3rem solid var(--subscription-primary) !important;
  padding-left: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .admin-heading h2 {
  margin: 0 !important;
  color: var(--subscription-ink) !important;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem) !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .admin-heading p,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-global-scope-note,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-result-filter-text {
  color: var(--subscription-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-command-strip {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  padding: .75rem !important;
  border: 1px solid var(--subscription-border) !important;
  border-radius: .75rem !important;
  background: var(--subscription-surface) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-command-card,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-review-shortcut-card,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .billing-reconciliation-card,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .activation-package-card,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-sector-card,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-client-fact {
  display: flex !important;
  flex-direction: column !important;
  gap: .5rem !important;
  min-width: 0 !important;
  padding: 1rem !important;
  border: 1px solid var(--subscription-border) !important;
  border-radius: .625rem !important;
  background: var(--subscription-subtle) !important;
  color: var(--subscription-ink) !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-command-card {
  justify-content: space-between !important;
  min-height: 6rem !important;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-command-card:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-command-card:focus-visible,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-review-shortcut-card:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-review-shortcut-card:focus-visible {
  border-color: var(--subscription-primary) !important;
  background: var(--subscription-page) !important;
  transform: translateY(-1px) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-command-card.is-primary {
  border-color: var(--subscription-primary) !important;
  background: var(--subscription-primary) !important;
  color: #fff !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-command-card :where(strong, small, span),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-review-shortcut-card :where(strong, small, span) {
  color: inherit !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-secondary-actions {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-secondary-actions-summary {
  min-height: 2.75rem !important;
  padding: .75rem 1rem !important;
  border: 1px solid var(--subscription-border) !important;
  border-radius: .5rem !important;
  background: var(--subscription-subtle) !important;
  color: var(--subscription-ink) !important;
  cursor: pointer !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-secondary-actions-panel {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  margin-top: .75rem !important;
  padding: .75rem !important;
  border: 1px solid var(--subscription-border) !important;
  border-radius: .625rem !important;
  background: var(--subscription-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions :where(.subscription-period-panel, .subscription-client-summary, .billing-reconciliation-panel, .admin-billing-panel, .activation-package-panel, .subscription-portfolio-panel, .subscription-sector-panel, .subscription-table-panel, .subscription-review-shortcuts) {
  min-width: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid var(--subscription-border) !important;
  border-radius: .75rem !important;
  background: var(--subscription-surface) !important;
  color: var(--subscription-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions :where(.subscription-period-panel, .subscription-client-summary, .billing-reconciliation-panel, .admin-billing-panel, .activation-package-panel, .subscription-portfolio-panel, .subscription-sector-panel, .subscription-table-panel) > :where(h3, .section-heading-row) {
  color: var(--subscription-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-review-shortcuts-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .75rem !important;
  color: var(--subscription-ink) !important;
  cursor: pointer !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-review-shortcuts-summary > span:first-child {
  display: grid !important;
  gap: .2rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-review-shortcuts__body {
  margin-top: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-review-shortcut-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-client-facts-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .billing-reconciliation-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .activation-package-summary,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .activation-package-distribution,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-sector-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-client-facts-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .billing-reconciliation-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .activation-package-summary,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .activation-package-distribution {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .billing-reconciliation-card,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-sector-card,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-client-fact,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .activation-package-metric {
  min-height: 6rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .activation-package-metric {
  padding: 1rem !important;
  border: 1px solid var(--subscription-border) !important;
  border-radius: .625rem !important;
  background: var(--subscription-subtle) !important;
  color: var(--subscription-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .activation-package-metric :where(span, small) {
  color: var(--subscription-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .activation-package-metric strong {
  display: block !important;
  margin-top: .25rem !important;
  color: var(--subscription-ink) !important;
  font-size: 1.35rem !important;
  line-height: 1.2 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .admin-billing-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr) !important;
  gap: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions :where(.billing-readiness-panel, .billing-price-review, .admin-billing-events, .admin-billing-missing, .admin-billing-catalog) {
  min-width: 0 !important;
  padding: 1rem !important;
  border: 1px solid var(--subscription-border) !important;
  border-radius: .625rem !important;
  background: var(--subscription-subtle) !important;
  color: var(--subscription-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions :where(.billing-readiness-panel, .billing-price-review, .admin-billing-events, .admin-billing-missing, .admin-billing-catalog) :where(p, small, span) {
  color: var(--subscription-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .billing-readiness-panel {
  padding: .75rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--subscription-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .billing-readiness-summary {
  color: var(--subscription-ink) !important;
  cursor: pointer !important;
  line-height: 1.4 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .billing-readiness-summary span {
  margin-left: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .billing-configuration-details {
  min-width: 0 !important;
  padding-top: .75rem !important;
  border-top: 1px solid var(--subscription-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .billing-configuration-summary {
  color: var(--subscription-ink) !important;
  cursor: pointer !important;
  line-height: 1.4 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .billing-configuration-summary span {
  margin-left: .5rem !important;
  color: var(--subscription-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .billing-readiness-list,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .billing-price-review-grid {
  display: grid !important;
  gap: .5rem !important;
  margin-top: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .billing-price-review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .billing-readiness-list > *,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .billing-price-review-grid > * {
  padding: .75rem !important;
  border: 1px solid var(--subscription-border) !important;
  border-radius: .5rem !important;
  background: var(--subscription-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-period-panel form.filter-form,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-period-panel .filter-form {
  display: grid !important;
  grid-template-columns: minmax(14rem, 1fr) auto !important;
  gap: 1rem !important;
  align-items: end !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions :where(label) {
  display: block !important;
  margin-bottom: .4rem !important;
  color: var(--subscription-ink) !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions :where(input, select, textarea) {
  width: 100% !important;
  min-height: 2.75rem !important;
  border: 1px solid var(--subscription-border) !important;
  border-radius: .5rem !important;
  background: var(--subscription-surface) !important;
  color: var(--subscription-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions :where(input, select, textarea):focus {
  border-color: var(--subscription-primary) !important;
  box-shadow: 0 0 0 .2rem rgba(11, 94, 215, .2) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .table-wrap {
  overflow-x: auto !important;
  border: 1px solid var(--subscription-border) !important;
  border-radius: .625rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .table {
  min-width: 66rem !important;
  margin: 0 !important;
  color: var(--subscription-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .table th {
  color: var(--subscription-muted) !important;
  font-size: .78rem !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .table td {
  vertical-align: middle !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-target-row :where(.inline-actions, .admin-actions, .subscription-billing-actions),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .activation-package-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .activation-package-state-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .5rem !important;
  align-items: center !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-primary-action {
  min-height: 2.5rem !important;
  padding: .625rem .9rem !important;
  border: 1px solid var(--subscription-primary) !important;
  border-radius: .5rem !important;
  background: var(--subscription-primary) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-primary-action:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-primary-action:focus-visible {
  background: var(--subscription-primary-hover) !important;
  border-color: var(--subscription-primary-hover) !important;
  color: #fff !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions {
  --subscription-page: var(--mantivo-admin-page);
  --subscription-surface: var(--mantivo-admin-surface);
  --subscription-subtle: var(--mantivo-admin-subtle);
  --subscription-border: var(--mantivo-admin-border);
  --subscription-ink: var(--mantivo-admin-ink);
  --subscription-muted: var(--mantivo-admin-muted);
  --subscription-primary: var(--mantivo-admin-primary);
  --subscription-primary-hover: var(--mantivo-admin-primary-hover);
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-command-card.is-primary,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-command-card.is-primary,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-primary-action,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-primary-action {
  background: var(--mantivo-admin-primary) !important;
  border-color: var(--mantivo-admin-focus) !important;
  color: #fff !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions :focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

@media (max-width: 1100px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-command-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .admin-billing-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .admin-heading,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-period-panel form.filter-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-period-panel .filter-form {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-command-strip,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-secondary-actions-panel,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-review-shortcut-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-client-facts-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .billing-reconciliation-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .activation-package-summary,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .activation-package-distribution,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-sector-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .billing-price-review-grid {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .admin-content {
    padding-inline: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .admin-heading .compact-actions {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .admin-heading .compact-actions .form-actions,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .admin-heading .compact-actions .btn {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions :where(.subscription-command-card, .subscription-secondary-actions-summary, .subscription-review-shortcuts-summary, .billing-reconciliation-card, .billing-readiness-list article) {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-review-shortcuts-summary,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .billing-reconciliation-card-head {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 420px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .admin-content {
    padding-inline: .375rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .admin-heading h2 {
    font-size: min(1.35rem, 28px) !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions :where(.subscription-period-panel, .subscription-client-summary, .billing-reconciliation-panel, .admin-billing-panel, .activation-package-panel, .subscription-portfolio-panel, .subscription-sector-panel, .subscription-table-panel, .subscription-review-shortcuts) {
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions :where(.billing-reconciliation-card, .activation-package-metric, .billing-readiness-list article, .subscription-sector-card) {
    padding: .5rem !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-sector-card :where(span, strong, h4, p, li) {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .subscription-sector-columns {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .activation-package-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .activation-package-card {
    padding: .5rem !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .activation-package-card :where(h4, p, span, small, dt, dd, li) {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .activation-package-meta {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .activation-package-meta dd {
    margin-left: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions .activation-step-list {
    min-width: 0 !important;
    padding-left: 1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions :where(.btn, button, .subscription-review-shortcuts-toggle) {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions :where(.admin-billing-panel, .activation-package-panel, .billing-next-action, .activation-package-metric, .billing-price-review-grid, .admin-billing-events) :where(strong, small, span, p) {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-subscriptions *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Suppliers Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers {
  --supplier-page: var(--mantivo-admin-page);
  --supplier-surface: var(--mantivo-admin-surface);
  --supplier-subtle: var(--mantivo-admin-subtle);
  --supplier-border: var(--mantivo-admin-border);
  --supplier-ink: var(--mantivo-admin-ink);
  --supplier-muted: var(--mantivo-admin-muted);
  --supplier-primary: var(--mantivo-admin-primary);
  background: var(--supplier-page) !important;
  color: var(--supplier-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .admin-main {
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .admin-content {
  width: min(100%, 82rem) !important;
  margin-inline: auto !important;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 4rem !important;
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .admin-content > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .admin-heading {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: .25rem 0 .5rem !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .admin-heading h2 {
  margin: 0 !important;
  color: var(--supplier-ink) !important;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem) !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .admin-heading p,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-result-filter-text {
  color: var(--supplier-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-command-strip {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-command-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: .4rem !important;
  min-width: 0 !important;
  min-height: 6rem !important;
  padding: 1rem !important;
  border: 1px solid var(--supplier-border) !important;
  border-radius: .625rem !important;
  background: var(--supplier-subtle) !important;
  color: var(--supplier-ink) !important;
  text-decoration: none !important;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-command-card:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-command-card:focus-visible {
  border-color: var(--supplier-primary) !important;
  background: var(--supplier-page) !important;
  transform: translateY(-1px) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-command-card.is-primary {
  border-color: var(--supplier-primary) !important;
  background: var(--supplier-primary) !important;
  color: #fff !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-command-card :where(strong, small, span) {
  color: inherit !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-next-action-panel,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .admin-panel,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-empty-state {
  min-width: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid var(--supplier-border) !important;
  border-radius: .75rem !important;
  background: var(--supplier-surface) !important;
  color: var(--supplier-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-next-action-panel h3,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .admin-panel h3 {
  margin: 0 !important;
  color: var(--supplier-ink) !important;
  font-size: 1.15rem !important;
  line-height: 1.25 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-directory-panel {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-directory-panel > .supplier-empty-state {
  padding: .5rem 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-directory-panel > .section-heading-row {
  margin-bottom: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-next-action-panel p,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-empty-state p {
  color: var(--supplier-muted) !important;
}

/* Supplier next action label 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-next-action-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  min-width: 8.5rem !important;
  min-height: 2.25rem !important;
  padding: .4rem .7rem !important;
  border: 1px solid var(--supplier-border) !important;
  border-radius: 999px !important;
  background: var(--supplier-subtle) !important;
  color: var(--supplier-ink) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-next-action-high .supplier-next-action-label {
  border-color: #f3b4bd !important;
  background: #fff1f2 !important;
  color: #b42318 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-next-action-normal .supplier-next-action-label {
  border-color: #b7e0c6 !important;
  background: #ecfdf3 !important;
  color: #166534 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .metric-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  margin: 1rem 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-summary-metric {
  min-width: 0 !important;
  padding: 1rem !important;
  border: 1px solid var(--supplier-border) !important;
  border-radius: .625rem !important;
  background: var(--supplier-subtle) !important;
  color: var(--supplier-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-summary-metric :where(span, small) {
  color: var(--supplier-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-summary-metric strong {
  display: block !important;
  margin-top: .25rem !important;
  color: var(--supplier-ink) !important;
  font-size: 1.35rem !important;
  line-height: 1.2 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .filter-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  align-items: end !important;
}

/* Supplier form grouping 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-fieldset {
  display: grid !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-fieldset--identity {
  margin-top: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-account-value {
  display: block !important;
  min-height: 2.95rem !important;
  padding: .75rem .9rem !important;
  border: 1px solid var(--supplier-border) !important;
  border-radius: .85rem !important;
  background: var(--supplier-subtle) !important;
  color: var(--supplier-ink) !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-contact-disclosure {
  grid-column: 1 / -1 !important;
  min-width: 0 !important;
  border-top: 1px solid var(--supplier-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-contact-disclosure > summary {
  min-height: 2.75rem !important;
  position: relative !important;
  margin-top: .5rem !important;
  padding: .75rem 2.25rem .75rem .9rem !important;
  border: 1px solid var(--supplier-border) !important;
  border-radius: .5rem !important;
  background: var(--supplier-subtle) !important;
  color: var(--supplier-ink) !important;
  font-weight: 750 !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-contact-disclosure > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-contact-disclosure > summary::after {
  content: '+' !important;
  position: absolute !important;
  right: .9rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--supplier-primary) !important;
  font-size: 1.25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-contact-disclosure[open] > summary::after {
  content: '\2212' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-contact-disclosure > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-contact-disclosure[open] > .supplier-fieldset {
  padding-top: .7rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-fieldset--contact > .full-width {
  grid-column: 1 / -1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers #supplier-form {
  width: 100% !important;
  max-width: 64rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers #supplier-form .supplier-form {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form :is(input:not([type="checkbox"]), select, textarea) {
  font-weight: 500 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-fieldset > legend {
  float: none !important;
  width: auto !important;
  margin: 0 0 .15rem !important;
  padding: 0 !important;
  color: var(--supplier-ink) !important;
  font-size: .9rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form > .checkbox-row {
  grid-column: 1 / -1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-self: start !important;
  min-height: 44px !important;
  gap: .55rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form > .checkbox-row > input[type="checkbox"] {
  flex: 0 0 auto !important;
  width: 1.125rem !important;
  height: 1.125rem !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .filter-form {
  grid-template-columns: minmax(12rem, 1fr) minmax(16rem, 1.5fr) auto !important;
}

/* Supplier filter fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-result-filter-text {
  margin: .5rem 0 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-filter-disclosure {
  flex: 1 1 32rem !important;
  min-width: min(100%, 26rem) !important;
  border-block: 1px solid var(--supplier-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-filter-disclosure > summary {
  min-height: 44px !important;
  padding: .65rem .25rem !important;
  color: var(--supplier-ink) !important;
  cursor: pointer !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-filter-disclosure > summary small {
  margin-inline-start: .5rem !important;
  color: var(--supplier-muted) !important;
  font-weight: 500 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-filter-disclosure > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-filter-fieldset {
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: .25rem 0 .75rem !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-filter-fieldset > legend {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-filter-fieldset > .filter-form {
  flex: 1 1 auto !important;
  margin: 0 !important;
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-filter-fieldset > .filter-form .btn {
    justify-self: start !important;
    width: auto !important;
    padding-inline: 1.25rem !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers :where(label) {
  display: block !important;
  margin-bottom: .4rem !important;
  color: var(--supplier-ink) !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers :where(input, select, textarea) {
  width: 100% !important;
  min-height: 2.75rem !important;
  border: 1px solid var(--supplier-border) !important;
  border-radius: .5rem !important;
  background: var(--supplier-surface) !important;
  color: var(--supplier-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers :where(input, select, textarea):focus {
  border-color: var(--supplier-primary) !important;
  box-shadow: 0 0 0 .2rem rgba(11, 94, 215, .2) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .form-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-row-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-contact-actions-panel {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .5rem !important;
  align-items: center !important;
}

/* Supplier row decision band 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-actions-cell {
  min-width: 17rem !important;
  border-inline-start: 1px solid var(--supplier-border) !important;
  background: var(--supplier-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-actions-cell > .supplier-row-actions {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .table-wrap {
  overflow-x: auto !important;
  border: 1px solid var(--supplier-border) !important;
  border-radius: .625rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .table {
  min-width: 58rem !important;
  margin: 0 !important;
  color: var(--supplier-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .table th {
  color: var(--supplier-muted) !important;
  font-size: .78rem !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .table td {
  vertical-align: middle !important;
}

/* Supplier status tones 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-status-badge {
  min-width: 5rem !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

/* Supplier rows stay light in both themes; opaque badges preserve readable states. */
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-status-badge.status-active,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-status-badge.status-active {
  border-color: #86efac !important;
  background: #dcfce7 !important;
  color: #166534 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-status-badge.status-warning,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-status-badge.status-warning {
  border-color: #fde68a !important;
  background: #fef3c7 !important;
  color: #92400e !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers {
  --supplier-page: var(--mantivo-admin-page);
  --supplier-surface: var(--mantivo-admin-surface);
  --supplier-subtle: var(--mantivo-admin-subtle);
  --supplier-border: var(--mantivo-admin-border);
  --supplier-ink: var(--mantivo-admin-ink);
  --supplier-muted: var(--mantivo-admin-muted);
  --supplier-primary: var(--mantivo-admin-primary);
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-command-card.is-primary,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-command-card.is-primary {
  background: var(--mantivo-admin-primary) !important;
  border-color: var(--mantivo-admin-focus) !important;
  color: #fff !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers :focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

/* Supplier row disclosure state 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-contact-actions__toggle-hide {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-contact-actions[open] .supplier-contact-actions__toggle-show {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-contact-actions[open] .supplier-contact-actions__toggle-hide {
  display: inline !important;
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-command-strip,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* Supplier table pinned context 2026-10-20. */
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-target-row > :first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 1 !important;
    width: 13rem !important;
    min-width: 13rem !important;
    background: var(--supplier-surface) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-target-row > :nth-child(2) {
    position: sticky !important;
    left: 13rem !important;
    z-index: 1 !important;
    width: 13rem !important;
    min-width: 13rem !important;
    background: var(--supplier-surface) !important;
    box-shadow: .55rem 0 .8rem -.7rem rgba(15, 39, 72, .75) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers thead tr > :first-child,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers thead tr > :nth-child(2) {
    z-index: 2 !important;
    background: var(--supplier-subtle) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .admin-heading,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .filter-form {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form .form-actions > :where(button, a) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form .form-actions > :where(button, a),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-empty-state .admin-empty-state-actions > a {
    min-height: 44px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-command-strip,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .metric-row {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-command-card {
    min-height: 0 !important;
    padding: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .metric-row > .supplier-summary-metric:last-child {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .metric-row > .supplier-summary-metric {
    min-height: 0 !important;
    padding: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .metric-row > .supplier-summary-metric strong {
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .admin-content {
    padding-inline: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-fieldset {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-filter-fieldset {
    min-width: 0 !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-filter-disclosure {
    min-width: 0 !important;
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-filter-fieldset > .filter-form {
    width: 100% !important;
  }
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form-disclosure-summary {
    display: none !important;
  }
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers:has(#supplier-form .supplier-form-disclosure[open]) .admin-heading .admin-actions {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form-disclosure:not([open]) > :not(summary) {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form-disclosure-summary {
    display: block !important;
    position: relative !important;
    margin-top: .75rem !important;
    padding: .75rem 2.25rem .75rem .9rem !important;
    border: 1px solid var(--mantivo-admin-border) !important;
    border-radius: .5rem !important;
    background: var(--mantivo-admin-subtle) !important;
    color: var(--mantivo-admin-ink) !important;
    cursor: pointer !important;
    list-style: none !important;
    font-weight: 700 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form-disclosure-summary::-webkit-details-marker {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form-disclosure-summary::after {
    content: '+' !important;
    position: absolute !important;
    right: .9rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--mantivo-admin-primary) !important;
    font-size: 1.25rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form-disclosure[open] .supplier-form-disclosure-summary::after {
    content: '\2212' !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form-disclosure__toggle-hide,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form-disclosure[open] .supplier-form-disclosure__toggle-show {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form-disclosure[open] .supplier-form-disclosure__toggle-hide {
    display: inline !important;
  }
}

/* Supplier row actions touch layout 2026-10-20. */
@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-actions-cell {
    min-width: 14rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-row-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-row-actions > :where(details, .btn, span) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-row-actions > details {
    display: grid !important;
    gap: .45rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-row-actions > details :where(summary, .btn) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-row-actions .supplier-contact-actions-panel {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-cell-label {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-contact-details > :where(span, small) {
  display: block !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .table-wrap {
    overflow-x: hidden !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers tbody,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-target-row {
    display: grid !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-target-row > td {
    display: grid !important;
    grid-template-columns: 5.25rem minmax(0, 1fr) !important;
    gap: .65rem !important;
    min-width: 0 !important;
    padding: .55rem .8rem !important;
    border-inline-start: 0 !important;
    border-radius: 0 !important;
    background: var(--supplier-surface) !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-target-row > td:first-child,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-target-row > .supplier-actions-cell {
    display: block !important;
    position: static !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    padding-block: .85rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-target-row > td:nth-child(2) {
    position: static !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-actions-cell > .supplier-row-actions {
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-cell-label {
    display: inline !important;
    color: var(--supplier-muted) !important;
    font-size: .78rem !important;
    font-weight: 700 !important;
  }
}

@media (min-width: 721px) and (max-width: 1000px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-directory-panel .table-wrap {
    overflow-x: hidden !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-directory-panel table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-directory-panel thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-directory-panel tbody {
    display: grid !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-target-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-target-row > td {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .15rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: .5rem .75rem !important;
    border-inline-start: 0 !important;
    background: var(--supplier-surface) !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-target-row > :is(td:first-child, td:nth-child(2)) {
    position: static !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-cell-label {
    display: inline !important;
    color: var(--supplier-muted) !important;
    font-size: .78rem !important;
    font-weight: 700 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-target-row > .supplier-actions-cell {
    display: block !important;
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
    padding: .75rem !important;
    border-top: 1px solid var(--supplier-border) !important;
    background: var(--supplier-subtle) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-contact-details {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 1000px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-target-row .supplier-status-badge {
    justify-self: start !important;
    width: max-content !important;
    max-width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Delivery notes Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes {
  --delivery-page: var(--mantivo-admin-page);
  --delivery-surface: var(--mantivo-admin-surface);
  --delivery-subtle: var(--mantivo-admin-subtle);
  --delivery-border: var(--mantivo-admin-border);
  --delivery-ink: var(--mantivo-admin-ink);
  --delivery-muted: var(--mantivo-admin-muted);
  --delivery-primary: var(--mantivo-admin-primary);
  --delivery-primary-hover: var(--mantivo-admin-primary-hover);
  background: var(--delivery-page) !important;
  color: var(--delivery-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .admin-main {
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .admin-content {
  width: min(100%, 82rem) !important;
  margin-inline: auto !important;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 4rem !important;
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .admin-content > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .admin-heading {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: .25rem 0 .5rem !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .admin-heading h2 {
  margin: 0 !important;
  color: var(--delivery-ink) !important;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem) !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .admin-heading p,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-result-count {
  color: var(--delivery-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-command-strip {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  padding: .75rem !important;
  border: 1px solid var(--delivery-border) !important;
  border-radius: .75rem !important;
  background: var(--delivery-surface) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-command-card,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-start-shortcut-grid a,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-flow-shortcut {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: .4rem !important;
  min-width: 0 !important;
  min-height: 6rem !important;
  padding: 1rem !important;
  border: 1px solid var(--delivery-border) !important;
  border-radius: .625rem !important;
  background: var(--delivery-subtle) !important;
  color: var(--delivery-ink) !important;
  text-decoration: none !important;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-command-card:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-command-card:focus-visible,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-start-shortcut-grid a:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-start-shortcut-grid a:focus-visible,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-flow-shortcut:hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-flow-shortcut:focus-visible {
  border-color: var(--delivery-primary) !important;
  background: var(--delivery-page) !important;
  transform: translateY(-1px) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-command-card.is-primary,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-flow-shortcut.is-active {
  border-color: var(--delivery-primary) !important;
  background: var(--delivery-primary) !important;
  color: #fff !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-command-card :where(strong, small, span),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-start-shortcut-grid a :where(strong, small, span),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-flow-shortcut :where(strong, small, span) {
  color: inherit !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-flow-shortcut strong {
  font-size: 1.65rem !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1 !important;
}

/* Delivery note command label alignment 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-command-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: start !important;
  min-width: 7.5rem !important;
  min-height: 1.8rem !important;
  padding: .3rem .65rem !important;
  border: 1px solid currentColor !important;
  border-radius: .45rem !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-start-shortcuts,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-next-action-panel,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes #delivery-note-form,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-list-panel {
  padding: 1.25rem !important;
  border: 1px solid var(--delivery-border) !important;
  border-radius: .75rem !important;
  background: var(--delivery-surface) !important;
  color: var(--delivery-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-start-shortcuts h3,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-next-action-panel h3,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes #delivery-note-form h3,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-list-panel h3 {
  margin: 0 !important;
  color: var(--delivery-ink) !important;
  font-size: 1.15rem !important;
  line-height: 1.25 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-list-panel {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-list-panel > .delivery-note-empty-state {
  padding: .875rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--delivery-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-disclosure > summary {
    display: none !important;
  }
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes:has(#delivery-note-form .delivery-note-form-disclosure[open]) .admin-heading .actions {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-disclosure > summary {
    position: relative;
    min-height: 2.75rem;
    margin-top: .75rem;
    padding: .75rem 2.25rem .75rem 0;
    border: 0;
    border-top: 1px solid var(--delivery-border);
    border-radius: 0;
    background: transparent;
    color: var(--delivery-ink);
    cursor: pointer;
    list-style: none;
    font-weight: 700;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-disclosure > summary > span {
    color: var(--delivery-primary) !important;
    text-decoration: underline !important;
    text-underline-offset: .18rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-disclosure > summary::-webkit-details-marker {
    display: none;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-disclosure__hide,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-disclosure[open] .delivery-note-form-disclosure__show {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-disclosure[open] .delivery-note-form-disclosure__hide {
    display: inline !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-disclosure[open] > summary {
    margin-bottom: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-disclosure > summary::after {
    content: '+';
    position: absolute;
    right: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--delivery-primary);
    font-size: 1.25rem;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-disclosure[open] > summary::after {
    content: '-';
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-disclosure > summary:focus-visible {
    outline: 3px solid var(--delivery-primary);
    outline-offset: 3px;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes :is(.delivery-note-command-strip, .delivery-note-start-shortcuts) {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-start-shortcut-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-flow-shortcuts {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  margin-top: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-flow-shortcuts {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)) !important;
}

@media (min-width: 721px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-flow-shortcuts {
    grid-template-columns: repeat(auto-fill, minmax(14rem, 16rem)) !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-next-action-panel p,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-start-shortcuts p {
  color: var(--delivery-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes #delivery-note-form form.form-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .inline-filters {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(10rem, 1fr)) auto !important;
  gap: 1rem !important;
  align-items: end !important;
}

/* Delivery note form fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-fieldset {
  display: grid !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: repeat(3, minmax(10rem, 1fr)) !important;
  gap: 1rem !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-fieldset > legend {
  grid-column: 1 / -1 !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--delivery-ink) !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-selected-customer {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-selected-customer.is-clipped {
  display: block !important;
  color: var(--delivery-muted) !important;
  font-size: .875rem !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-customer-return-link {
  font-size: .875rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-customer-return-link a {
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: .15em !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-fieldset > .delivery-note-customer-return-link,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-fieldset > .full {
  grid-column: 1 / -1 !important;
}

@media (min-width: 1001px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-fieldset > .delivery-note-customer-field {
    grid-column: span 2 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-fieldset > .delivery-note-customer-return-link {
    grid-column: 3 !important;
    align-self: end !important;
    margin-bottom: .25rem !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes #delivery-note-form form.form-grid > .full {
  grid-column: 1 / -1 !important;
}

/* Delivery note filter fieldset 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-filter-disclosure {
  flex: 1 1 44rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-filter-disclosure > summary {
  width: fit-content !important;
  min-height: 2.5rem !important;
  padding: .6rem .85rem !important;
  border: 1px solid var(--delivery-border) !important;
  border-radius: .4rem !important;
  background: var(--delivery-subtle) !important;
  color: var(--delivery-ink) !important;
  cursor: pointer !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-filter-disclosure > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-filter-disclosure .delivery-note-filter-fieldset {
  margin-top: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-filter-fieldset {
  flex: 1 1 44rem !important;
  min-width: min(100%, 32rem) !important;
  margin: 0 !important;
  padding: .8rem 1rem 1rem !important;
  border: 1px solid var(--delivery-border) !important;
  border-radius: .625rem !important;
  background: var(--delivery-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-filter-fieldset > legend {
  width: auto !important;
  margin: 0 !important;
  padding: 0 .4rem !important;
  color: var(--delivery-ink) !important;
  font-size: .85rem !important;
  font-weight: 800 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes :where(label) {
  display: block !important;
  margin-bottom: .4rem !important;
  color: var(--delivery-ink) !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes :where(input, select, textarea) {
  width: 100% !important;
  min-height: 2.75rem !important;
  border: 1px solid var(--delivery-border) !important;
  border-radius: .5rem !important;
  background: var(--delivery-surface) !important;
  color: var(--delivery-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes :where(input, select, textarea):focus {
  border-color: var(--delivery-primary) !important;
  box-shadow: 0 0 0 .2rem rgba(11, 94, 215, .2) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-preview {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: .25rem !important;
  padding: .875rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--delivery-border) !important;
  background: transparent !important;
  color: var(--delivery-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .table-wrap {
  overflow-x: auto !important;
  border: 1px solid var(--delivery-border) !important;
  border-radius: .625rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .table {
  min-width: 56rem !important;
  margin: 0 !important;
  color: var(--delivery-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .table th {
  color: var(--delivery-muted) !important;
  font-size: .78rem !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .table td {
  vertical-align: middle !important;
}

/* Delivery note status tones 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-status-badge {
  min-width: 7.5rem !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-status-badge.status-delivered,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-status-badge.status-invoiced {
  border-color: #86efac !important;
  background: #ecfdf3 !important;
  color: #166534 !important;
}

/* Delivery note rows stay light in both themes, so status tones must remain opaque. */
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-status-badge.status-draft,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-status-badge.status-draft {
  border-color: #bfdbfe !important;
  background: #eff6ff !important;
  color: #1e3a8a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-status-badge.status-delivered,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-status-badge.status-delivered,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-status-badge.status-invoiced,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-status-badge.status-invoiced {
  border-color: #86efac !important;
  background: #ecfdf3 !important;
  color: #166534 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-status-badge.status-void,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-status-badge.status-void {
  border-color: #fecaca !important;
  background: #fee2e2 !important;
  color: #991b1b !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-row-actions,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-contact-actions-panel {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .5rem !important;
  align-items: center !important;
}

/* Delivery note row decision band 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-row-actions-cell {
  min-width: 19rem !important;
  border-inline-start: 1px solid var(--delivery-border) !important;
  background: var(--delivery-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-row-actions {
  padding: .65rem !important;
  border: 1px solid var(--delivery-border) !important;
  border-radius: .65rem !important;
  background: var(--delivery-surface) !important;
}

/* Delivery note row disclosure state 2026-10-21. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-contact-actions__toggle-hide {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-contact-actions[open] .delivery-note-contact-actions__toggle-show {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-contact-actions[open] .delivery-note-contact-actions__toggle-hide {
  display: inline !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes {
  --delivery-page: var(--mantivo-admin-page);
  --delivery-surface: var(--mantivo-admin-surface);
  --delivery-subtle: var(--mantivo-admin-subtle);
  --delivery-border: var(--mantivo-admin-border);
  --delivery-ink: var(--mantivo-admin-ink);
  --delivery-muted: var(--mantivo-admin-muted);
  --delivery-primary: var(--mantivo-admin-primary);
  --delivery-primary-hover: var(--mantivo-admin-primary-hover);
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-command-card.is-primary,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-command-card.is-primary,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-flow-shortcut.is-active,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-flow-shortcut.is-active {
  background: var(--mantivo-admin-primary) !important;
  border-color: var(--mantivo-admin-focus) !important;
  color: #fff !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes :focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

@media (max-width: 1000px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-start-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* Delivery note table pinned context 2026-10-20. */
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-target-row > :first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 1 !important;
    width: 8.5rem !important;
    min-width: 8.5rem !important;
    background: var(--delivery-surface) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-target-row > :nth-child(2) {
    position: sticky !important;
    left: 8.5rem !important;
    z-index: 1 !important;
    width: 14rem !important;
    min-width: 14rem !important;
    background: var(--delivery-surface) !important;
    box-shadow: .55rem 0 .8rem -.7rem rgba(15, 39, 72, .75) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes thead tr > :first-child,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes thead tr > :nth-child(2) {
    z-index: 2 !important;
    background: var(--delivery-subtle) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .admin-heading,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes #delivery-note-form form.form-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-fieldset,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .inline-filters {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-filter-fieldset {
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-command-strip,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-start-shortcut-grid {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .admin-content {
    padding-inline: .75rem !important;
  }
}

/* Delivery note action bands touch layout 2026-10-21. */
@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes :where(.admin-heading .compact-actions, .delivery-note-next-action-form, .form-actions, .admin-empty-state-actions) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes #delivery-note-form .form-actions {
    row-gap: .55rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes #delivery-note-form .form-actions > :where(button, a) {
    min-height: 44px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes :where(.admin-heading .compact-actions, .delivery-note-next-action-form, .form-actions, .admin-empty-state-actions) > :where(form, details, .btn, button, a) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes :where(.form-actions, .admin-empty-state-actions) > form {
    display: grid !important;
    gap: .45rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes :where(.form-actions, .admin-empty-state-actions) > form :where(select, .btn, button, a) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-next-action-panel > :where(form, .btn, a) {
    width: 100% !important;
  }
}

/* Delivery note row actions touch layout 2026-10-20. */
@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-row-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-row-actions > :where(form, details, .btn, span) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-row-actions > form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-row-actions > details {
    display: grid !important;
    gap: .45rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-row-actions > :where(form, details) :where(select, .btn, button, summary) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-row-actions .delivery-note-contact-actions-panel {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-row-actions-cell {
    min-width: 19rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Document Tabler surface contract 2026-10-18. */
html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document {
  --document-page: var(--mantivo-admin-page);
  --document-surface: var(--mantivo-admin-surface);
  --document-subtle: var(--mantivo-admin-subtle);
  --document-border: var(--mantivo-admin-border);
  --document-ink: var(--mantivo-admin-ink);
  --document-muted: var(--mantivo-admin-muted);
  --document-primary: var(--mantivo-admin-primary);
  --document-primary-hover: var(--mantivo-admin-primary-hover);
  background: var(--document-page) !important;
  color: var(--document-ink) !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .admin-main {
  background: transparent !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-admin-page {
  width: min(100%, 86rem) !important;
  margin-inline: auto !important;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 4rem !important;
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
  color: var(--document-ink) !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-admin-page > * {
  min-width: 0 !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .admin-heading {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: .25rem 0 .5rem !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .admin-heading h2 {
  margin: 0 !important;
  color: var(--document-ink) !important;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem) !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .admin-heading p {
  max-width: 62rem !important;
  margin: .45rem 0 0 !important;
  color: var(--document-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .admin-heading .admin-actions,
html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: .5rem !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1rem !important;
  min-width: 0 !important;
  padding: 1.15rem 1.25rem !important;
  border: 1px solid var(--document-border) !important;
  border-inline-start: .3rem solid var(--document-primary) !important;
  border-radius: .75rem !important;
  background: var(--document-subtle) !important;
  color: var(--document-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-copy h3 {
  margin: 0 !important;
  color: var(--document-ink) !important;
  font-size: 1.25rem !important;
  line-height: 1.2 !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-context {
  margin-top: .4rem !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-context > summary {
  min-height: 2.75rem !important;
  padding-block: .75rem !important;
  cursor: pointer !important;
  color: var(--document-primary) !important;
  font-weight: 700 !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-context__hide,
html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-context[open] .document-next-action-context__show {
  display: none !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-context[open] .document-next-action-context__hide {
  display: inline !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-context > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-context[open] > .document-next-action-meta {
  margin-top: .7rem !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-meta,
html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-sector-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .65rem !important;
  color: var(--document-muted) !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-page {
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-state-panel {
  display: grid !important;
  justify-items: start !important;
  gap: .65rem !important;
  padding: 1.5rem !important;
  border: 1px solid var(--document-border) !important;
  border-inline-start: .3rem solid var(--document-primary) !important;
  border-radius: .75rem !important;
  background: var(--document-surface) !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-state-panel :where(h2, p) {
  margin: 0 !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-card.card {
  min-width: 0 !important;
  padding: clamp(1.25rem, 2.6vw, 2.25rem) !important;
  overflow-x: auto !important;
  border: 1px solid var(--document-border) !important;
  border-radius: .75rem !important;
  background: var(--document-surface) !important;
  color: var(--document-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1.5rem !important;
  padding-bottom: 1.5rem !important;
  border-bottom: 1px solid var(--document-border) !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-issuer-logo {
  display: inline-flex !important;
  width: 3.5rem !important;
  height: 3.5rem !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: .7rem !important;
  background: var(--document-primary) !important;
  color: #fff !important;
  font-weight: 800 !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-number {
  display: grid !important;
  justify-items: end !important;
  gap: .25rem !important;
  text-align: right !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-number strong {
  max-width: 100% !important;
  font-size: 1.35rem !important;
  overflow-wrap: anywhere !important;
}

/* Document status badge 2026-10-21. */
html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-number__status {
  display: inline-flex !important;
  min-width: 7.5rem !important;
  width: fit-content !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  min-height: 1.9rem !important;
  margin-top: .35rem !important;
  padding: .35rem .6rem !important;
  border: 1px solid var(--document-border) !important;
  border-radius: 999px !important;
  background: var(--document-subtle) !important;
  color: var(--document-primary) !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

/* Document status tone 2026-10-21. */
html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-status-positive {
  border-color: #86efac !important;
  background: #ecfdf3 !important;
  color: #166534 !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-status-attention {
  border-color: #fdba74 !important;
  background: #fff7ed !important;
  color: #9a3412 !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-status-neutral {
  border-color: #93b7ff !important;
  background: #eaf2ff !important;
  color: var(--document-primary-hover) !important;
}

/* Document status surfaces 2026-10-21. */
html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-number__status {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32) !important;
}

@media (max-width: 360px) {
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-number strong {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 900px) {
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-number {
    justify-items: start !important;
    text-align: left !important;
  }
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-parties {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 1.25rem !important;
  margin-top: 1.25rem !important;
  min-width: 0 !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-parties-three {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-parties > * {
  min-width: 0 !important;
  padding: .9rem 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--document-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-sector-block {
  margin-top: 1.25rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--document-border) !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-sector-block > span {
  color: var(--document-muted) !important;
  font-size: .75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-sector-block h3 {
  margin: .25rem 0 0 !important;
  font-size: 1rem !important;
  line-height: 1.4 !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-sector-block dl {
  display: grid !important;
  grid-template-columns: minmax(8rem, .35fr) minmax(0, 1fr) !important;
  gap: .5rem .9rem !important;
  margin: .9rem 0 0 !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-sector-block :where(dt, dd) {
  min-width: 0 !important;
  margin: 0 !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-sector-block dt {
  font-weight: 700 !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-sector-block dd {
  color: var(--document-ink) !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document :where(h2, h3, h4, strong, th, label) {
  color: var(--document-ink) !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document :where(p, small, li, td, dt, dd) {
  color: var(--document-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-table {
  width: 100% !important;
  min-width: 42rem !important;
  margin-top: 1.5rem !important;
  border-collapse: collapse !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-table :where(th, td) {
  padding: .85rem !important;
  border-bottom: 1px solid var(--document-border) !important;
  vertical-align: top !important;
  color: var(--document-ink) !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-table th {
  background: var(--document-subtle) !important;
  color: var(--document-muted) !important;
  font-size: .78rem !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-total {
  display: flex !important;
  align-items: baseline !important;
  justify-content: flex-end !important;
  gap: 1rem !important;
  margin-top: 1.25rem !important;
  padding: 1rem 0 0 !important;
  border: 0 !important;
  border-top: 2px solid var(--document-primary) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--document-ink) !important;
  font-size: 1.3rem !important;
  font-weight: 800 !important;
}

/* Document total emphasis 2026-10-20. */
html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-total strong {
  color: var(--document-ink) !important;
  white-space: nowrap !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-verifactu-block {
  margin-top: 1.5rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--document-border) !important;
  color: var(--document-ink) !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-verifactu-block > span {
  display: block !important;
  color: var(--document-muted) !important;
  font-size: .8rem !important;
  font-weight: 700 !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-verifactu-block h3 {
  margin: .35rem 0 .5rem !important;
  font-size: 1rem !important;
  line-height: 1.35 !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-verifactu-block p {
  margin: .4rem 0 0 !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-verifactu-block code {
  overflow-wrap: anywhere !important;
}

html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document :where(a, button, summary, input, select, textarea):focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html[data-theme="dark"] body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document {
  --document-page: var(--mantivo-admin-page);
  --document-surface: var(--mantivo-admin-surface);
  --document-subtle: var(--mantivo-admin-subtle);
  --document-border: var(--mantivo-admin-border);
  --document-ink: var(--mantivo-admin-ink);
  --document-muted: var(--mantivo-admin-muted);
  --document-primary: var(--mantivo-admin-primary);
  --document-primary-hover: var(--mantivo-admin-primary-hover);
}

@media (max-width: 900px) {
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .admin-heading,
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-panel,
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-header,
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-parties {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .admin-heading .admin-actions,
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-actions {
    justify-content: flex-start !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-table :where(th, td):first-child {
    position: sticky !important;
    inset-inline-start: 0 !important;
    z-index: 2 !important;
    background: var(--document-surface) !important;
    box-shadow: .35rem 0 .65rem rgba(30, 58, 95, .08) !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-table th:first-child {
    z-index: 3 !important;
    background: var(--document-subtle) !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-total {
    align-items: stretch !important;
    flex-direction: column !important;
    gap: .35rem !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-total strong {
    font-size: 1.2rem !important;
  }
}

/* Document next actions touch layout 2026-10-21. */
@media (max-width: 720px) {
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-state-panel {
    min-width: 0 !important;
    max-width: 100% !important;
    padding: .9rem !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-state-panel > .btn {
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-panel {
    gap: .55rem !important;
    padding: .8rem .9rem !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: .35rem !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-actions > :where(a, .btn, button) {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    white-space: normal !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-actions > :first-child {
    grid-column: 1 / -1 !important;
  }
}

@media screen and (max-width: 1000px) {
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-sector-block dl {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .2rem !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-sector-block dd {
    margin-bottom: .55rem !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-table {
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-table thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-table tbody {
    display: grid !important;
    gap: .85rem !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-table tbody tr {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .6rem .8rem !important;
    padding: .85rem 0 !important;
    border-bottom: 1px solid var(--document-border) !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-table tbody td {
    display: grid !important;
    gap: .15rem !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-table tbody td::before {
    content: attr(data-label) !important;
    color: var(--document-muted) !important;
    font-size: .72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-table tbody td:first-child,
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-table tbody td:last-child {
    grid-column: 1 / -1 !important;
    position: static !important;
    box-shadow: none !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-table tbody td:last-child {
    border-top: 1px solid var(--document-border) !important;
    padding-top: .65rem !important;
  }
}

@media screen and (min-width: 721px) and (max-width: 1000px) {
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-sector-block dl {
    grid-template-columns: minmax(8rem, .35fr) minmax(0, 1fr) !important;
    gap: .5rem .9rem !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-sector-block dd {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-parties-three {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document *,
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document *::before,
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document {
    --document-ink: #172332 !important;
    --document-muted: #4b5c70 !important;
    --document-surface: #ffffff !important;
    --document-subtle: #f5f7fa !important;
    --document-border: #cbd5e1 !important;
    background: #ffffff !important;
    color: var(--document-ink) !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document :is(.admin-topbar, .admin-operations-mode-banner, .admin-impersonation-banner, .admin-mobile-action-dock, .document-admin-page > .admin-heading, .document-next-action-panel, .skip-link) {
    display: none !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document :is(.admin-layout, .document-admin-page, .document-page) {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-card.card {
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: none !important;
    background: #ffffff !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-header {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-parties {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-parties-three {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-total {
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: space-between !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-table :where(th, td):first-child {
    position: static !important;
    box-shadow: none !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-table td:is([data-label="Precio"], [data-label="Base"], [data-label="Total"]) {
    white-space: nowrap !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-table tr {
    break-inside: avoid !important;
  }
}

/* VeriFactu Tabler surface contract 2026-10-18. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu {
  --verifactu-page: var(--mantivo-admin-page);
  --verifactu-surface: var(--mantivo-admin-surface);
  --verifactu-subtle: var(--mantivo-admin-subtle);
  --verifactu-border: var(--mantivo-admin-border);
  --verifactu-ink: var(--mantivo-admin-ink);
  --verifactu-muted: var(--mantivo-admin-muted);
  --verifactu-primary: var(--mantivo-admin-primary);
  --verifactu-primary-hover: var(--mantivo-admin-primary-hover);
  background: var(--verifactu-page) !important;
  color: var(--verifactu-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .admin-main {
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-admin-page {
  width: min(100%, 86rem) !important;
  margin-inline: auto !important;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 4rem !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 1rem !important;
  min-width: 0 !important;
  color: var(--verifactu-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-admin-page > * {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .admin-heading {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: .25rem 0 .5rem !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .admin-heading.is-global-operations {
  border-inline-start: .3rem solid var(--verifactu-primary) !important;
  padding-inline-start: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .admin-heading h2 {
  margin: 0 !important;
  color: var(--verifactu-ink) !important;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem) !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .admin-heading p,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-global-scope-note {
  max-width: 62rem !important;
  margin: .45rem 0 0 !important;
  color: var(--verifactu-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu :where(.verifactu-notice, .verifactu-warning, .verifactu-next-action-panel, .verifactu-readiness-panel, .verifactu-submissions-panel, .verifactu-records-panel) {
  min-width: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid var(--verifactu-border) !important;
  border-radius: .75rem !important;
  background: var(--verifactu-surface) !important;
  color: var(--verifactu-ink) !important;
  box-shadow: 0 .35rem 1rem rgba(30, 58, 95, .07) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-notice,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-warning {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr) !important;
  gap: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu :is(.verifactu-notice, .verifactu-warning) :is(h3, ul, li) {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-next-action-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  align-items: center !important;
  gap: 1rem !important;
  border-inline-start: .3rem solid var(--verifactu-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-next-action-panel > span {
  justify-self: start !important;
  color: var(--verifactu-muted) !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-metric-row,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-review-shortcut-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-readiness-list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu :where(.metric-row article, .verifactu-review-shortcut-card, .verifactu-readiness-card) {
  display: flex !important;
  flex-direction: column !important;
  gap: .5rem !important;
  min-width: 0 !important;
  padding: 1rem !important;
  border: 1px solid var(--verifactu-border) !important;
  border-radius: .625rem !important;
  background: var(--verifactu-subtle) !important;
  color: var(--verifactu-ink) !important;
  text-decoration: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu :where(.verifactu-review-shortcut-card, .verifactu-readiness-card):hover,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu :where(.verifactu-review-shortcut-card, .verifactu-readiness-card):focus-visible {
  border-color: var(--verifactu-primary) !important;
  background: var(--verifactu-page) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu :where(h2, h3, h4, strong, th, label) {
  color: var(--verifactu-ink) !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu :where(p, small, li, td, dt, dd) {
  color: var(--verifactu-muted) !important;
  line-height: 1.5 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-review-shortcuts {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-review-shortcuts > .admin-disclosure-summary {
  min-height: 2.75rem !important;
  padding: .75rem 1rem !important;
  border: 1px solid var(--verifactu-border) !important;
  border-radius: .625rem !important;
  background: var(--verifactu-surface) !important;
  color: var(--verifactu-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-review-shortcuts > .admin-disclosure-body {
  padding-top: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-review-shortcut-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-readiness-list {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu :where(.actions, .inline-actions) {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu :where(button, .btn) {
  min-height: 2.75rem !important;
  border-radius: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-submissions-panel .verifactu-submission-row > td:last-child {
  min-width: 18rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-submissions-panel .verifactu-submission-row .inline-actions {
  align-items: flex-start !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-submission-row details {
  min-width: 16rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-submission-row details > summary {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 2.75rem !important;
  padding: .65rem .9rem !important;
  border: 1px solid var(--verifactu-border) !important;
  border-radius: .5rem !important;
  background: var(--verifactu-surface) !important;
  color: var(--verifactu-primary-hover) !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-mobile-records {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-submission-row details > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-submission-row details > form {
  width: min(100%, 26rem) !important;
  margin-top: .65rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-submission-row details > form textarea {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 5.5rem !important;
  resize: vertical !important;
  border: 1px solid var(--verifactu-border) !important;
  border-radius: .5rem !important;
  background: var(--verifactu-surface) !important;
  color: var(--verifactu-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .table-wrap {
  overflow-x: auto !important;
  border: 1px solid var(--verifactu-border) !important;
  border-radius: .625rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu table {
  width: 100% !important;
  min-width: 58rem !important;
  margin: 0 !important;
  color: var(--verifactu-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu :where(th, td) {
  padding: .85rem !important;
  vertical-align: top !important;
  border-bottom: 1px solid var(--verifactu-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu th {
  background: var(--verifactu-subtle) !important;
  color: var(--verifactu-muted) !important;
  font-size: .78rem !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu :where(a, button, summary, textarea, select, input):focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu {
  --verifactu-page: var(--mantivo-admin-page);
  --verifactu-surface: var(--mantivo-admin-surface);
  --verifactu-subtle: var(--mantivo-admin-subtle);
  --verifactu-border: var(--mantivo-admin-border);
  --verifactu-ink: var(--mantivo-admin-ink);
  --verifactu-muted: var(--mantivo-admin-muted);
  --verifactu-primary: var(--mantivo-admin-primary);
  --verifactu-primary-hover: var(--mantivo-admin-primary-hover);
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-notice,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-warning,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-next-action-panel {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-metric-row,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-review-shortcut-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-readiness-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .admin-heading {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .admin-heading .compact-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .admin-heading .compact-actions > :is(form, a),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu #verifactu-prepare-action > button {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-readiness-panel,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-readiness-card {
    padding: 12px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu :where(.verifactu-notice, .verifactu-warning, .verifactu-next-action-panel, .verifactu-submissions-panel, .verifactu-records-panel) {
    padding: 12px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .section-heading-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-admin-page :where(h2, h3, h4, strong, p, a) {
    overflow-wrap: anywhere !important;
    hyphens: auto !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-readiness-badge {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .admin-heading.is-global-operations {
    border-inline-start: 0 !important;
    padding-inline-start: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .admin-heading h2 {
    font-size: 1.4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .admin-heading > div {
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .admin-heading .actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .admin-heading .actions :where(form, .btn) {
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .admin-heading .actions .btn {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-metric-row,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-review-shortcut-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-readiness-list {
    grid-template-columns: 1fr !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-metric-row {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.5rem), 1fr)) !important;
    gap: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-metric-row article {
    padding: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-metric-row article:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-admin-page {
    padding-inline: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu :where(.verifactu-notice, .verifactu-warning, .verifactu-next-action-panel, .verifactu-readiness-panel, .verifactu-submissions-panel, .verifactu-records-panel) {
    padding: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-next-action-panel > div {
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-next-action-panel h3 {
    font-size: 1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-next-action-panel .btn {
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-metric-row {
    gap: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-metric-row article {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: baseline !important;
    gap: .1rem .5rem !important;
    padding: .65rem 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--verifactu-border) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-metric-row article strong {
    min-width: 0 !important;
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-metric-row article small {
    grid-column: 1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-metric-row article:last-child strong {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-readiness-list {
    gap: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-readiness-card {
    min-width: 0 !important;
    padding: .85rem 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--verifactu-border) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-readiness-card :where(strong, p, a) {
    min-width: 0 !important;
    overflow-wrap: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-readiness-card p {
    font-size: .875rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu :where(.verifactu-readiness-panel, .verifactu-submissions-panel, .verifactu-records-panel) > .section-heading-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu :where(.verifactu-readiness-total, .verifactu-submissions-panel .badge, .verifactu-records-panel > .section-heading-row .badge) {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    text-align: center !important;
    line-height: 1.3 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-submissions-panel .admin-empty-state {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-records-panel .table-wrap {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-mobile-records {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-mobile-record {
    min-width: 0 !important;
    border-top: 1px solid var(--verifactu-border) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-mobile-record > summary {
    padding: .8rem .2rem !important;
    color: var(--verifactu-ink) !important;
    cursor: pointer !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-mobile-record > summary::marker {
    color: var(--verifactu-primary) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-mobile-record > summary > strong {
    display: inline !important;
    margin-inline-start: .4rem !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-mobile-record > summary > .status-badge {
    display: inline-flex !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline-start: .25rem !important;
    padding-inline: .35rem !important;
    font-size: .75rem !important;
    vertical-align: middle !important;
    white-space: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-mobile-record__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: .1rem .75rem !important;
    min-width: 0 !important;
    margin: .25rem 0 0 1rem !important;
    color: var(--verifactu-muted) !important;
    font-size: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-mobile-record__meta > * {
    display: inline !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-mobile-record__body {
    min-width: 0 !important;
    padding: .25rem .2rem 1rem 1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-mobile-record__body dl {
    display: grid !important;
    gap: .5rem !important;
    margin: 0 0 .85rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-mobile-record__body dl > div {
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-mobile-record__body dt {
    color: var(--verifactu-muted) !important;
    font-size: .875rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-mobile-record__body dd {
    min-width: 0 !important;
    margin: .15rem 0 0 !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-mobile-record__body .inline-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-mobile-record__body .btn {
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-submissions-panel .verifactu-submission-row > td:last-child,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu .verifactu-submission-row details {
    min-width: 13rem !important;
  }
}

@media (max-width: 350px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu :where(.verifactu-notice, .verifactu-warning, .verifactu-next-action-panel, .verifactu-readiness-panel, .verifactu-submissions-panel, .verifactu-records-panel) {
    padding: .5rem !important;
  }
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu :where(.verifactu-mobile-record .status-badge, .verifactu-records-panel > .section-heading-row .badge, .verifactu-submissions-panel .badge) {
  border-color: #93c5fd !important;
  background: #dbeafe !important;
  color: #12355b !important;
}

@media (prefers-reduced-motion: reduce) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu *::before,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-verifactu *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 680px) {
  html body.admin-shell.mantivo-tabler-admin .admin-topbar {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  html body.admin-shell.mantivo-tabler-admin .brand-mini {
    min-width: 0 !important;
  }

  html body.admin-shell.mantivo-tabler-admin .user-meta {
    flex-wrap: nowrap !important;
    justify-self: end !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-help-trigger {
    box-sizing: border-box !important;
    flex: 0 0 2.5rem !important;
    width: 2.5rem !important;
    min-width: 2.5rem !important;
    max-width: 2.5rem !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-user-menu__name {
    min-width: 0 !important;
    max-width: 8rem !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  @media (max-width: 360px) {
    html body.admin-shell.mantivo-tabler-admin .admin-user-menu__name {
      display: none !important;
    }

    html body.admin-shell.mantivo-tabler-admin .admin-user-menu__summary {
      box-sizing: border-box !important;
      width: 2.5rem !important;
      min-width: 2.5rem !important;
      justify-content: center !important;
      padding: 0 !important;
    }
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-card,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-secondary-actions-summary {
    display: flex !important;
    align-items: center !important;
    min-height: 3rem !important;
    padding: .65rem .75rem !important;
    border-radius: .5rem !important;
    font-size: .875rem !important;
    line-height: 1.25 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-strip :where(.customer-command-label, .customer-command-card small, .customer-secondary-actions-summary small) {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-secondary-actions {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-command-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-command-card {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 3rem !important;
    padding: .65rem .4rem !important;
    border-radius: .5rem !important;
    text-align: center !important;
    font-size: .825rem !important;
    line-height: 1.2 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-command-card :where(.quote-command-label, small) {
    display: none !important;
  }
}

/* Keep referral tables scrollable without widening the admin viewport. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referrals-page {
  grid-template-columns: minmax(0, 1fr) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals :where(.referrals-page, .referral-data-panel, .table-wrap) {
  min-width: 0 !important;
  max-width: 100% !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .table-wrap {
  overflow-x: auto !important;
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-next-action-actions {
    grid-column: 1 / -1 !important;
    justify-content: flex-start !important;
    padding-top: .7rem !important;
    border-top: 1px solid var(--mantivo-admin-border) !important;
  }
}

@media (min-width: 651px) and (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics article:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
  }
}

@media (min-width: 381px) and (max-width: 650px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics article:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics article {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics article strong {
    font-size: 1.25rem !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 380px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-cell-label {
  display: none !important;
}

/* Preserve the row context and reward actions without horizontal scrolling on phones. */
@media (max-width: 650px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-code-actions > :is(a, button) {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics article:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals :where(.referral-codes-panel, .referral-rewards-panel) .table-wrap {
    overflow-x: visible !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals :where(.referral-codes-panel, .referral-rewards-panel) .table-wrap :is(table, tbody) {
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals :where(.referral-codes-panel, .referral-rewards-panel) table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals :where(.referral-codes-panel, .referral-rewards-panel) thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals :where(.referral-codes-panel, .referral-rewards-panel) tbody {
    display: grid !important;
    gap: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals :where(.referral-code-target-row, .referral-reward-target-row) {
    display: grid !important;
    min-width: 0 !important;
    padding: .8rem !important;
    border: 1px solid var(--mantivo-admin-border) !important;
    border-radius: .5rem !important;
    background: var(--mantivo-admin-surface) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .table-wrap :where(.referral-code-target-row, .referral-reward-target-row) > td {
    position: static !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: .55rem 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--mantivo-admin-border) !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .table-wrap :where(.referral-code-target-row, .referral-reward-target-row) > td:last-child {
    border-bottom: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-rewards-panel .referral-reward-target-row > td:last-child:has(.inline-actions) {
    min-width: 0 !important;
    padding: .55rem 0 !important;
    border-inline-start: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .table-wrap :where(.referral-code-target-row, .referral-reward-target-row) > td::before {
    display: block;
    margin-bottom: .25rem;
    color: var(--mantivo-admin-muted);
    font-size: .875rem;
    line-height: 1.35;
    font-weight: 700;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-code-target-row > td:nth-child(1)::before { content: "Cliente"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-code-target-row > td:nth-child(2)::before { content: "Código"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-code-target-row > td:nth-child(3)::before { content: "Enlace recomendado"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-code-target-row > td:nth-child(4)::before { content: "Plan"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row > td:nth-child(1)::before { content: "Fecha"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row > td:nth-child(2)::before { content: "Código"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row > td:nth-child(3)::before { content: "Recomendador"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row > td:nth-child(4)::before { content: "Invitado"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row > td:nth-child(5)::before { content: "Crédito"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row > td:nth-child(6)::before { content: "Estado"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row > td:nth-child(7)::before { content: "Acciones"; }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-rewards-panel thead {
    display: block !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-rewards-panel thead :where(tr, th) {
    display: block !important;
    width: 1px !important;
    min-width: 0 !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row > td:not(:last-child) {
    display: grid !important;
    grid-template-columns: 6.7rem minmax(0, 1fr) !important;
    gap: .55rem !important;
    align-items: start !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row > td::before {
    content: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-cell-label {
    display: inline !important;
    color: var(--mantivo-admin-muted) !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row > td:last-child > .referral-reward-cell-label {
    display: block !important;
    margin-bottom: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-code-target-row a {
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-code-target-row {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, max(7rem, 45%)), 1fr)) !important;
    column-gap: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-code-target-row > td:first-child {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    padding: .2rem 0 .45rem !important;
    font-weight: 600 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-code-target-row > td:nth-child(2) {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-code-target-row > td:nth-child(3) {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    order: 2 !important;
    border-bottom: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-code-target-row > td:nth-child(4) {
    grid-column: auto !important;
    grid-row: auto !important;
    order: 1 !important;
    border-bottom: 1px solid var(--mantivo-admin-border) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-code-target-row > td:is(:first-child, :nth-child(3))::before {
    content: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-reward-target-row .inline-actions {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-code-actions > button {
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding-inline: 8px !important;
    white-space: normal !important;
  }
}

/* Let the trade-request queue scroll without expanding the whole page. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests :where(.trade-request-admin-page, .module-request-queue-panel, .table-wrap) {
  min-width: 0 !important;
  max-width: 100% !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .trade-request-admin-page {
  grid-template-columns: minmax(0, 1fr) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-insights > section + section {
  margin-top: 1rem !important;
}

@media (min-width: 901px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-insights-summary {
    display: none !important;
  }
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-insights-summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: .25rem !important;
    padding: .85rem 1rem !important;
    border: 1px solid var(--mantivo-admin-border) !important;
    border-radius: .5rem !important;
    background: var(--mantivo-admin-surface) !important;
    color: var(--mantivo-admin-ink) !important;
    cursor: pointer !important;
    list-style: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-insights-summary::-webkit-details-marker {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-insights-summary::after {
    content: '+' !important;
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    color: var(--mantivo-admin-primary) !important;
    font-size: 1.25rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-insights[open] .module-request-insights-summary::after {
    content: '−' !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-insights-summary small {
    grid-column: 1 !important;
    color: var(--mantivo-admin-muted) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-insights-summary:focus-visible {
    outline: .2rem solid var(--mantivo-admin-focus) !important;
    outline-offset: .15rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-insights[open] > summary {
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-insights-summary {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-insights-summary strong {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-insights-summary::after {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    min-width: 1.5rem !important;
    min-height: 1.5rem !important;
    display: grid !important;
    place-items: center !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-queue-disclosure > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .75rem !important;
  min-height: 44px !important;
  padding: .65rem .8rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-queue-disclosure > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-queue-disclosure > summary::after {
  content: '+' !important;
  color: var(--mantivo-admin-primary) !important;
  font-size: 1.25rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-queue-disclosure[open] > summary::after {
  content: '−' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-queue-disclosure > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-queue-disclosure > summary h3 {
  margin: 0 !important;
  color: var(--mantivo-admin-ink) !important;
  font-size: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-queue-disclosure > summary small {
  margin-inline-start: .25rem !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: .8rem !important;
  font-weight: 500 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-queue-disclosure[open] > summary {
  margin-bottom: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-queue-panel .table-wrap {
  overflow-x: auto !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-heading,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-heading > :where(div, p) {
  min-width: 0 !important;
  max-width: 100% !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-heading {
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-heading {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-table :where(th, td):nth-child(-n + 4) {
    position: static !important;
    box-shadow: none !important;
  }
}

@media (min-width: 651px) and (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics article:nth-child(odd) {
    border-inline-start: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics article:nth-child(odd):last-child {
    grid-column: 1 / -1 !important;
  }
}

@media (min-width: 381px) and (max-width: 650px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics article:nth-child(odd):last-child {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 380px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics article {
    min-height: 5.5rem !important;
    padding: .65rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-metric a {
    padding: .65rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics article:nth-child(odd):last-child {
    grid-column: 1 / -1 !important;
    min-height: 4.5rem !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics {
  gap: 0 !important;
  padding-block: .35rem !important;
  border-block: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics article {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics article + article {
  border-inline-start: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics .module-request-filter-metric a {
  min-height: 4.25rem !important;
  padding: .35rem .75rem !important;
  gap: .1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics article:not(.module-request-filter-metric) {
  padding: .35rem .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics .module-request-filter-metric.is-active {
  box-shadow: inset 0 -2px var(--mantivo-admin-primary) !important;
}

@media (max-width: 650px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics article:nth-child(odd) {
    border-inline-start: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--mantivo-admin-border) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics article small {
    display: none !important;
  }
}

@media (max-width: 650px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-heading > .admin-actions.compact-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: .5rem !important;
    align-items: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-heading > .admin-actions.compact-actions > .btn {
    min-width: 0 !important;
    width: 100% !important;
    min-height: 2.75rem !important;
    padding-inline: .4rem !important;
    white-space: normal !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-heading > .admin-actions.compact-actions > .btn:only-child {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-fieldset {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-fieldset .filter-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    justify-content: stretch !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-filter-fieldset .filter-actions :where(.btn, button) {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 760px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-queue-panel .table-wrap {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-table,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-table tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-table thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-table tr.trade-request-target-row {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: .65rem !important;
    margin-bottom: .75rem !important;
    padding: .9rem !important;
    border: 1px solid var(--mantivo-admin-border) !important;
    border-radius: .5rem !important;
    background: var(--mantivo-admin-surface) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-table tr.trade-request-target-row td {
    position: static !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-table tr.trade-request-target-row td::before {
    content: attr(data-label) !important;
    display: block !important;
    margin-bottom: .2rem !important;
    color: var(--mantivo-admin-muted) !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-table tr.trade-request-target-row td.module-request-actions-cell {
    display: block !important;
    padding-top: .75rem !important;
    border-top: 1px solid var(--mantivo-admin-border) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-actions-cell::before {
    display: block !important;
    margin-bottom: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-actions-cell .module-request-actions {
    display: grid !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
}

/* Keep the gremio catalogue scannable before opening a module's detail. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-summary {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .45rem 1rem !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: .875rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-summary strong {
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-summary-empty {
  color: var(--mantivo-admin-muted) !important;
  font-weight: 600 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-expander {
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-expander > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .75rem !important;
  min-height: 2.75rem !important;
  padding: .55rem 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-expander > summary::-webkit-details-marker {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-readiness-count {
  margin-inline-start: auto !important;
  color: var(--mantivo-admin-muted) !important;
  font-size: .875rem !important;
  white-space: nowrap !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-expander > summary::after {
  content: '+' !important;
  font-size: 1.25rem !important;
  line-height: 1 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-expander[open] > summary::after {
  content: '\2212' !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-expander__hide,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-expander[open] .module-catalog-expander__show {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-expander[open] .module-catalog-expander__hide {
  display: inline !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-expander__body {
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
  padding-top: 1rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-expander__body :where(.module-readiness-panel, .module-origin-panel, .module-sales-copy, .module-catalog-detail, .module-sales-copy-grid > article) {
  border: 0 !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-expander > summary:focus-visible {
  outline: .2rem solid var(--mantivo-admin-primary) !important;
  outline-offset: .15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-workspace {
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-toolbar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: .75rem 1.5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-toolbar h3 {
  margin: 0 !important;
  font-size: 1.15rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-toolbar p {
  margin: .2rem 0 0 !important;
  color: var(--mantivo-admin-muted) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-toolbar form {
  display: grid !important;
  grid-template-columns: minmax(12rem, 1fr) auto auto !important;
  align-items: end !important;
  gap: .4rem !important;
  width: min(100%, 36rem) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-toolbar form label {
  grid-column: 1 / -1 !important;
  color: var(--mantivo-admin-ink) !important;
  font-weight: 700 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-toolbar input {
  min-width: 0 !important;
  min-height: 2.75rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-pagination {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .6rem !important;
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-toolbar form {
    grid-template-columns: minmax(0, 1fr) auto !important;
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-toolbar form :is(button, a) {
    min-height: 44px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-toolbar form a {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-expander__body .module-signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-expander__body .module-signal-grid > span {
    min-height: 0 !important;
    padding: .55rem .15rem !important;
    border: 0 !important;
    border-bottom: 1px solid var(--mantivo-admin-border) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-expander__body .module-signal-grid > span:first-child {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-toolbar form {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-toolbar form :where(input, button, a) {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-cell-label {
  display: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-cell-content > small {
  display: block !important;
  margin-top: .3rem !important;
}

@media (max-width: 1023px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-list-panel .table-wrap {
    overflow-x: hidden !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-list-panel table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-list-panel thead {
    display: block !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-list-panel thead tr,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-list-panel thead th {
    display: block !important;
    width: 1px !important;
    min-width: 0 !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-list-panel tbody,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-target-row {
    display: grid !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-target-row > td {
    display: grid !important;
    grid-template-columns: 5.75rem minmax(0, 1fr) !important;
    gap: .65rem !important;
    min-width: 0 !important;
    padding: .55rem .8rem !important;
    background: var(--delivery-surface) !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-target-row > td:first-child {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .15rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-target-row > td:first-child > span:last-child {
    font-weight: 700 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-target-row .delivery-note-status-badge {
    justify-self: start !important;
    width: max-content !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-target-row > td:nth-child(-n+2) {
    position: static !important;
    left: auto !important;
    width: 100% !important;
    max-width: none !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-target-row > td::before {
    content: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-cell-label {
    display: inline !important;
    color: var(--delivery-muted) !important;
    font-size: .78rem !important;
    font-weight: 700 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-target-row > .delivery-note-row-actions-cell {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding-block: .85rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-row-actions-cell > .delivery-note-row-actions {
    min-width: 0 !important;
    margin-top: .5rem !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
}

@media (min-width: 721px) and (max-width: 1023px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-target-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-target-row > .delivery-note-row-actions-cell {
    grid-column: 1 / -1 !important;
  }
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mobile-action-dock a {
  color: #d0e6ff !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mobile-action-dock a strong {
  color: inherit !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin .admin-mobile-action-dock a:is(:hover, :focus-visible) {
  background: #385169 !important;
  color: #ffffff !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin:is(.mantivo-tabler-delivery-notes, .mantivo-tabler-suppliers, .mantivo-tabler-modules, .mantivo-tabler-email-intake, .mantivo-tabler-message-intake, .mantivo-tabler-whatsapp-intake, .mantivo-tabler-text-assist, .mantivo-tabler-quote-assist, .mantivo-tabler-work-assist, .mantivo-tabler-history-assist, .mantivo-tabler-recurrence-assist, .mantivo-tabler-material-assist, .mantivo-tabler-evidence-assist, .mantivo-tabler-pdf-assist, .mantivo-tabler-document, .mantivo-tabler-security-events, .mantivo-tabler-trace, .mantivo-tabler-support) .admin-mobile-action-dock a,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin:is(.mantivo-tabler-delivery-notes, .mantivo-tabler-suppliers, .mantivo-tabler-modules, .mantivo-tabler-email-intake, .mantivo-tabler-message-intake, .mantivo-tabler-whatsapp-intake, .mantivo-tabler-text-assist, .mantivo-tabler-quote-assist, .mantivo-tabler-work-assist, .mantivo-tabler-history-assist, .mantivo-tabler-recurrence-assist, .mantivo-tabler-material-assist, .mantivo-tabler-evidence-assist, .mantivo-tabler-pdf-assist, .mantivo-tabler-document, .mantivo-tabler-security-events, .mantivo-tabler-trace, .mantivo-tabler-support) .admin-mobile-action-dock a svg {
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin:is(.mantivo-tabler-delivery-notes, .mantivo-tabler-suppliers, .mantivo-tabler-modules, .mantivo-tabler-email-intake, .mantivo-tabler-message-intake, .mantivo-tabler-whatsapp-intake, .mantivo-tabler-text-assist, .mantivo-tabler-quote-assist, .mantivo-tabler-work-assist, .mantivo-tabler-history-assist, .mantivo-tabler-recurrence-assist, .mantivo-tabler-material-assist, .mantivo-tabler-evidence-assist, .mantivo-tabler-pdf-assist, .mantivo-tabler-document, .mantivo-tabler-security-events, .mantivo-tabler-trace, .mantivo-tabler-support) .admin-mobile-action-dock a:is(:hover, :focus-visible) {
  background: #dbeafe !important;
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-subscriptions .admin-mobile-action-dock a,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-subscriptions .admin-mobile-action-dock a svg {
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-verifactu .admin-mobile-action-dock a,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-verifactu .admin-mobile-action-dock a svg {
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-verifactu .admin-mobile-action-dock a:is(:hover, :focus-visible) {
  background: #dbeafe !important;
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-subscriptions .admin-mobile-action-dock a:is(:hover, :focus-visible) {
  background: #dbeafe !important;
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-email-intake .email-plan-status-badge.status-active {
  background: #dcfce7 !important;
  color: #166534 !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.mantivo-tabler-admin.mantivo-tabler-email-intake .email-plan-status-badge:is(.status-progress, .status-draft) {
  border-color: #93c5fd !important;
  background: #dbeafe !important;
  color: #1e3a8a !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-messages .admin-heading h2 {
  color: #102033 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-messages .admin-heading p:not(.eyebrow) {
  color: #52657a !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-messages .admin-heading .eyebrow {
  color: #52657a !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .admin-mobile-action-dock :is(a, a svg) {
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-panel p,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-panel p,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-result-summary,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-result-summary {
  color: #475569 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-inbox-panel:not(.message-inbox-panel--empty) > h2,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-inbox-panel:not(.message-inbox-panel--empty) > h2,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-filter-fieldset :is(legend, label),
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-filter-fieldset :is(legend, label),
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-filter-disclosure > summary,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-filter-disclosure > summary {
  color: #102033 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-inbox-panel:not(.message-inbox-panel--empty) .lead-result-summary,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-inbox-panel:not(.message-inbox-panel--empty) .lead-result-summary {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #52657a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-inbox-panel:not(.message-inbox-panel--empty) .lead-result-summary strong,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-inbox-panel:not(.message-inbox-panel--empty) .lead-result-summary strong {
  color: #102033 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-inbox-panel:not(.message-inbox-panel--empty) .message-result-filter-text,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-inbox-panel:not(.message-inbox-panel--empty) .message-result-filter-text {
  border: 0 !important;
  background: transparent !important;
  color: #52657a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-actions button.btn-outline-primary,
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-actions button.btn-outline-primary {
  border-color: #93b4f4 !important;
  background: #fff !important;
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-actions button.btn-outline-primary:is(:hover, :focus-visible),
html[data-bs-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-actions button.btn-outline-primary:is(:hover, :focus-visible) {
  background: #dbeafe !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-messages .lead-empty-state p {
  color: #52657a !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-card > header :is(.eyebrow, p:not(.eyebrow)) {
  color: #52657a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-toolbar :is(h3, p, label),
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-pagination span {
  color: #102033 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .admin-heading h2 {
  color: #102033 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .admin-heading p {
  color: #52657a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .admin-heading .module-preview-heading-note {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .admin-mobile-action-dock :is(a, a svg) {
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-empty-state p {
  color: #52657a !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .admin-heading h2 {
  color: #17243a !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .section-heading-row h3,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .section-heading-row h3 {
  color: #17243a !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .section-heading-row .eyebrow {
  color: #52647b !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-form-panel .section-heading-row .eyebrow {
  color: #52647b !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items {
  background: #f4f7fb !important;
  color: #17243a !important;
  color-scheme: light;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .admin-heading :is(.eyebrow, p:not(.eyebrow)) {
  color: #52647b !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .admin-mobile-action-dock :is(a, a svg) {
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-empty-state p {
  color: #52657a !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-empty-state {
  padding: 1.25rem !important;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-empty-state.is-unfiltered {
  padding: 1rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--work-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-empty-state h3 {
  color: #102033 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-empty-state p {
  color: #52657a !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .admin-heading .eyebrow {
  color: var(--work-muted) !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .admin-mobile-action-dock :is(a, a svg) {
  color: #0b47b7 !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .admin-heading :is(h2, p),
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-data-panel > h3 {
  color: #102033 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-panel .section-heading-row h3,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-filter-panel .filter-field label {
  color: #102033 !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-panel .section-heading-row p {
  color: #52657a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-filter-summary > span {
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-filter-summary > strong {
  color: #102033 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-filter-summary > small {
  color: #52657a !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .admin-mobile-action-dock :is(a, a svg) {
  color: #0b47b7 !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-heading :is(h2, p),
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-trade-requests :is(.module-request-filter-panel, .module-request-queue-panel) > h3 {
  color: #102033 !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-mobile-action-dock :is(a, a svg) {
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin:is(.mantivo-tabler-help, .mantivo-tabler-import) .admin-heading h2 {
  color: #f8fbff !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .admin-heading p {
  color: #edf4fb !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .admin-heading h2 {
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .admin-heading :is(.eyebrow, p) {
  color: var(--mantivo-admin-muted) !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .admin-mobile-action-dock :is(a, a svg) {
  color: #0b47b7 !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-heading h2 {
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-heading :is(.eyebrow, p) {
  color: var(--mantivo-admin-muted) !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-mobile-action-dock :is(a, a svg) {
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .admin-heading .eyebrow,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-card :is(p, small),
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-panel :is(p, small) {
  color: #52657a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-activity-panel > .section-heading-row p,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-activity-disclosure > p.hint {
  color: #52657a !important;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-account .admin-mobile-action-dock a svg {
  color: #d0e6ff !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .admin-heading p:not(.eyebrow) {
  color: var(--mantivo-admin-muted) !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .admin-mobile-action-dock :is(a, a svg) {
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .admin-heading.is-global-operations {
  background: #f4f8ff !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .admin-heading.is-global-operations h2 {
  color: #102033 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .admin-heading.is-global-operations .eyebrow {
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .admin-heading.is-global-operations p:not(.eyebrow) {
  color: #52657a !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-mobile-action-dock a,
html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-mobile-action-dock a svg {
  color: #0b47b7 !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-mobile-action-dock a:is(:hover, :focus-visible) {
  background: #dbeafe !important;
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading.is-global-operations .eyebrow {
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-heading.is-global-operations h2 {
  color: #102033 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-heading:not(.is-global-operations) .eyebrow,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-empty-action p {
  color: #52657a !important;
}

@media (max-width: 360px) {
  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__button {
    padding-inline: .5rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__button-icon {
    display: none !important;
  }
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :is(.dashboard-quick-start-head, .dashboard-day-semaphore-head) .eyebrow {
  color: #52657a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :is(.dashboard-quick-start-head, .dashboard-day-semaphore-head) h3 {
  color: #102033 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :is(.superadmin-attention-panel, .superadmin-actions-panel) {
  background: transparent !important;
}

@media (max-width: 680px) {
  html body.admin-shell.mantivo-tabler-admin .admin-topbar {
    min-height: 0 !important;
    gap: .35rem !important;
    padding-block: .4rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__button {
    min-height: 2.75rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-help-trigger {
    flex-basis: 2.75rem !important;
    width: 2.75rem !important;
    min-width: 2.75rem !important;
    max-width: 2.75rem !important;
    min-height: 2.75rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-user-menu__summary {
    min-height: 2.75rem !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.mantivo-tabler-admin .admin-user-menu__summary {
    width: 2.75rem !important;
    min-width: 2.75rem !important;
  }
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :is(.superadmin-attention-panel, .superadmin-actions-panel) > .section-heading-row h3 {
  color: #102033 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :is(.superadmin-attention-panel, .superadmin-actions-panel) > .section-heading-row .eyebrow {
  color: #52657a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-clear span {
  color: #52657a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :is(.superadmin-attention-log-link, .superadmin-attention-clear a) {
  color: #0b47b7 !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs {
  background: var(--mantivo-admin-page) !important;
  color: var(--mantivo-admin-ink) !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-mobile-action-dock :is(a, a svg) {
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-heading.is-global-operations .eyebrow {
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-heading.is-global-operations h2,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table > .project-cost-empty-state h3 {
  color: #102033 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-heading.is-global-operations p:not(.eyebrow) {
  color: #52657a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-panel > .section-heading-row h3,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table > h3 {
  color: #102033 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-panel > .section-heading-row p {
  color: #52657a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table > .project-cost-empty-state p {
  color: #52657a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-card strong,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .project-cost-target-row :is(td, td strong) {
  color: #102033 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-card :is(p, small),
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs #project-cost-table .project-cost-target-row td :is(p, .small) {
  color: #52657a !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :is(
  .admin-heading h2,
  .customer-readiness-panel > .section-heading-row h3,
  .customer-action-panel > .section-heading-row h3,
  #customers-table > h3
) {
  color: #102033 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers :is(
  .admin-heading p,
  .customer-readiness-panel > .section-heading-row p,
  .customer-action-panel > .section-heading-row p,
  #customers-table > p
) {
  color: #52657a !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .admin-mobile-action-dock :is(a, a svg) {
  color: #0b47b7 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers #customers-table .result-count :is(strong, span) {
  color: inherit !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-admin-summary-panel,
html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-admin-summary-panel .customer-global-summary-head {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-global-summary-head h3 {
  color: #102033 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :is(
  .quick-quote-field > span,
  .quick-quote-total-box > span,
  .quick-quote-total-box > small
) {
  color: var(--quotes-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-step-strip {
  background: transparent !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-step-strip strong {
  background: #1d4ed8 !important;
  color: #ffffff !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-field input::placeholder {
  color: var(--quotes-muted) !important;
  opacity: 1 !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes #quotes-table .result-count {
  color: var(--quotes-muted) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes #quotes-table .result-count :is(strong, .quote-result-filter-text) {
  color: var(--quotes-ink) !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .admin-heading .eyebrow {
  color: var(--quotes-muted) !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .admin-mobile-action-dock :is(a, a svg) {
  color: #0b47b7 !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-status-badge:is(.status-draft, .status-sent) {
  border-color: #bfdbfe !important;
  background: #eff6ff !important;
  color: #1e3a8a !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-status-badge.status-accepted {
  border-color: #86efac !important;
  background: #dcfce7 !important;
  color: #166534 !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-status-badge:is(.status-rejected, .status-cancelled) {
  border-color: #fecaca !important;
  background: #fee2e2 !important;
  color: #991b1b !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-total-preview > :is(span, small) {
  color: var(--invoices-ink) !important;
}

html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-field input[type="date"] {
  color-scheme: light !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .admin-heading .eyebrow {
  color: var(--invoices-muted) !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .admin-mobile-action-dock :is(a, a svg) {
  color: #0b47b7 !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :is(.invoice-status-badge, .invoice-compliance-status-badge):is(.status-draft, .status-issued) {
  border-color: #bfdbfe !important;
  background: #eff6ff !important;
  color: #1e3a8a !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :is(.invoice-status-badge, .invoice-compliance-status-badge).status-paid {
  border-color: #86efac !important;
  background: #dcfce7 !important;
  color: #166534 !important;
}

html:is([data-theme="dark"], [data-bs-theme="dark"]) body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices :is(.invoice-status-badge, .invoice-compliance-status-badge):is(.status-overdue, .status-void) {
  border-color: #fecaca !important;
  background: #fee2e2 !important;
  color: #991b1b !important;
}

/* Client dashboard sections use the active Tabler sheet, not legacy app.css. */
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :is(.client-account-panel, .client-next-panel, .client-work-route-panel) {
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-panel {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) !important;
  align-items: start !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-summary {
  display: grid !important;
  align-content: start !important;
  gap: .7rem !important;
  min-width: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .5rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-status-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-next-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-work-route-grid {
  display: grid !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-status-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (min-width: 801px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-status-grid:has(> article:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-next-grid,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-work-route-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-work-route-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-status-grid > article,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-next-card,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :is(.client-work-route-card, .client-work-route-empty) {
  display: grid !important;
  align-content: start !important;
  gap: .4rem !important;
  min-width: 0 !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-next-card {
  border-inline-start: .25rem solid var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-next-card :is(span, small),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-status-grid :is(span, p),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-work-route-empty p {
  margin: 0 !important;
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.4 !important;
}

@media (max-width: 800px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-panel {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-status-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)) !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-route-panel {
  display: grid !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-route-focus,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-next-action {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1rem !important;
  min-width: 0 !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-next-action {
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-route-focus > div,
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-next-action > div {
  display: grid !important;
  gap: .35rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-route-focus :is(p, small),
html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-next-action p {
  margin: 0 !important;
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.45 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-route-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)) !important;
  gap: .75rem !important;
  min-width: 0 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-route-grid > a {
  display: grid !important;
  align-content: start !important;
  gap: .35rem !important;
  min-width: 0 !important;
  padding: 1rem !important;
  border: 1px solid var(--mantivo-admin-border) !important;
  border-radius: .5rem !important;
  background: var(--mantivo-admin-surface) !important;
  color: var(--mantivo-admin-ink) !important;
  text-decoration: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-route-grid > a:is(:hover, :focus-visible) {
  border-color: var(--mantivo-admin-primary) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-route-grid small {
  color: var(--mantivo-admin-muted) !important;
  line-height: 1.4 !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :is(.client-next-panel, .client-work-route-panel) > .section-heading-row {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: .75rem !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-work-route-empty {
  justify-items: start !important;
  padding: 1rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-recent-document {
  color: var(--mantivo-admin-primary) !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: .15em !important;
  overflow-wrap: anywhere !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-recent-document:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: .15rem !important;
}

@media (max-width: 800px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-route-focus,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-account-next-action {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 600px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard :is(.client-next-panel, .client-work-route-panel) > .section-heading-row > .btn,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .client-work-route-empty > .btn {
    width: 100% !important;
  }
}

@media (max-width: 680px) {
  html body.admin-shell.mantivo-tabler-admin .admin-topbar {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  html body.admin-shell.mantivo-tabler-admin .brand-mini {
    order: 1 !important;
    flex: 0 1 8rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin .user-meta {
    order: 2 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin-left: auto !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    position: static !important;
    order: 3 !important;
    flex: 1 1 100% !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__item {
    flex: 1 1 7rem !important;
    min-width: 0 !important;
    position: static !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__panel,
  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__item:nth-child(2) .admin-mega-nav__panel,
  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__item:nth-child(3) .admin-mega-nav__panel {
    position: absolute !important;
    top: 100% !important;
    right: .75rem !important;
    bottom: auto !important;
    left: .75rem !important;
    width: auto !important;
    max-height: 45dvh !important;
    transform: none !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-mega-nav__button {
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner.is-global {
    flex-wrap: wrap !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-mobile-action-dock {
    flex-wrap: wrap !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-mobile-action-dock a {
    flex: 1 1 3rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-mobile-action-dock a strong {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-heading.is-global-operations .admin-actions:has(> a[href="/clientes.php"]) {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-heading.is-global-operations .admin-actions > a[href="/clientes.php"] {
    flex: 1 1 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-heading.is-global-operations .admin-actions > :not(a[href="/clientes.php"]) {
    flex: 1 1 7rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-heading.is-global-operations .admin-actions > .dashboard-secondary-actions[open] {
    flex: 1 1 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .dashboard-heading.is-global-operations .admin-actions :where(a, summary, span) {
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-kpi-grid {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-kpi-card {
    flex: 1 1 7rem !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-panel > .section-heading-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-panel > .section-heading-row > * {
    flex: 1 1 7rem !important;
    min-width: 0 !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .superadmin-attention-log-link {
    white-space: normal !important;
  }
}

@media (max-width: 680px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-strip--global {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-strip--global > .customer-command-card {
    flex: 1 1 7rem !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-command-strip--global > .customer-secondary-actions {
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-secondary-actions-panel {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-secondary-actions-panel .customer-command-card {
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-secondary-actions-summary {
    padding-right: 52px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-secondary-actions-summary::after {
    right: 8px !important;
    width: 36px !important;
    height: 36px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-form-disclosure-summary {
    padding: .65rem 2rem .65rem .5rem !important;
    font-size: .875rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-form-disclosure-summary::after {
    right: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-results-disclosure > summary {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 680px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .admin-layout,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .admin-content {
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .admin-heading.is-global-operations h2 {
    font-size: 1.25rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .admin-heading :where(h2, p),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-empty-state :where(h3, p),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-form-disclosure-summary {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .admin-heading .actions,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-related-actions {
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-related-actions > summary,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-panel .section-heading-row > a,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quick-quote-form .btn-primary {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 680px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-command-strip {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-command-card {
    flex: 1 1 7rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-flow-shortcuts {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quote-command-card, .quote-flow-shortcut, .quote-followup-card) {
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-followup-card,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-followup-actions {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-followup-card > *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-followup-actions > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-followup-actions :where(a, button) {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quote-next-action-panel, .quote-followup-panel, #quote-form, #quotes-table) {
    padding: .5rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-work-orders .admin-layout,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-work-orders .admin-content {
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-access-panel,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-access-panel .work-client-scope,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-memory-strip,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-execution-panel {
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-panel {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-panel > *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quote-followup-panel, #quotes-table) :where(h3, p) {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-meta {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-actions :where(a, button),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes :where(.quote-filter-disclosure, .quote-results-disclosure) > summary {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 680px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .admin-layout,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .admin-content {
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .admin-heading h2 {
    font-size: 1.25rem !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices #invoice-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-records-panel {
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices #invoice-form form.business-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-fieldset,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-field {
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-fieldset,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-field {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices #invoice-form :where(input, select, textarea) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices #invoice-form .invoice-total-preview,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices #invoice-form .invoice-total-preview strong {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices #invoice-form .invoice-total-preview {
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices #invoice-form .invoice-total-preview strong {
    font-size: 1.1rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices #invoice-form .form-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices #invoice-form .form-actions :where(a, button) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-disclosure-summary {
    display: flex !important;
    align-items: center !important;
    gap: .4rem !important;
    min-width: 0 !important;
    padding: .5rem !important;
    white-space: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-form-disclosure-summary::after {
    position: static !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
    transform: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-empty-state .admin-empty-state-actions > .btn {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .metric-row {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .metric-row > .invoice-summary-metric {
    flex: 1 1 7rem !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .metric-row:has(> .invoice-summary-metric:nth-child(2):last-child) > .invoice-summary-metric:first-child {
    flex-basis: 10rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .metric-row:has(> .invoice-summary-metric:nth-child(2):last-child) > .invoice-summary-metric:last-child {
    flex-basis: 5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-next-action-panel {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-next-action-panel,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-collection-panel,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .verifactu-inline-panel,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-records-panel {
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-next-action-panel > *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .verifactu-inline-panel .section-heading-row > * {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-next-action-meta {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-next-action-actions :where(a, button),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-results-disclosure > summary {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-operations-mode-banner.is-client-preview {
    flex-wrap: wrap !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-operations-mode-banner.is-client-preview > a {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard:has(.admin-operations-mode-banner.is-client-preview) .dashboard-heading .admin-mode-toolbar,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard:has(.admin-operations-mode-banner.is-client-preview) .dashboard-command-strip {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard:has(.admin-operations-mode-banner.is-client-preview) .dashboard-command-card {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "step" "title" "detail" !important;
    gap: .15rem !important;
    padding: .4rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard:has(.admin-operations-mode-banner.is-client-preview) .dashboard-frequent-actions {
    padding: .5rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard:has(.admin-operations-mode-banner.is-client-preview) .dashboard-frequent-actions-summary {
    grid-template-columns: minmax(0, 1fr) 1.5rem !important;
    gap: .2rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard:has(.admin-operations-mode-banner.is-client-preview) .dashboard-frequent-actions-summary::after {
    width: 1.5rem !important;
    height: 1.5rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard:has(.admin-operations-mode-banner.is-client-preview) .dashboard-frequent-actions-heading {
    font-size: .85rem !important;
    overflow-wrap: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard:has(.admin-operations-mode-banner.is-client-preview) .metric-row:has(> .dashboard-summary-metric) {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard:has(.admin-operations-mode-banner.is-client-preview) .metric-row > .dashboard-summary-metric {
    flex: 1 1 7rem !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard:has(.admin-operations-mode-banner.is-client-preview) :where(.dashboard-heading, .dashboard-quick-start, .dashboard-command-card, .dashboard-route-disclosure, .dashboard-frequent-actions-heading) {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner.is-client-preview {
    flex-wrap: wrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-quick-create-panel {
    margin-inline: -.4rem !important;
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders #quick_scheduled_date {
    padding-inline: .35rem !important;
  }

  html body.admin-shell.mantivo-tabler-admin .admin-operations-mode-banner.is-client-preview > a {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-delivery-notes .admin-layout,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-delivery-notes .admin-content {
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-list-panel {
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-target-row > td {
    box-sizing: border-box !important;
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .15rem !important;
    padding-inline: .35rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-target-row > td:nth-child(-n+2) {
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-list-panel :is(table, tbody, .delivery-note-target-row) {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-list-panel :is(tbody, .delivery-note-target-row) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-target-row > td > span {
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-status-badge {
    box-sizing: border-box !important;
    max-width: 100% !important;
    padding-inline: .25rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-directory-panel :is(table, tbody, .supplier-target-row) {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-directory-panel :is(tbody, .supplier-target-row),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-target-row > td {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-target-row > td {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: .15rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-target-row > td > :where(span, strong) {
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-status-badge {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-inline: .25rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .admin-heading > div {
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .admin-heading h2 {
    font-size: 1.1rem !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-next-action-panel {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-next-action-panel > *,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-next-action-meta > * {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-next-action-meta {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-next-action-actions > a,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-access-panel a.btn {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-memory-strip__summary {
    flex-wrap: wrap !important;
    gap: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-records-panel .metric-row {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-records-panel .work-order-summary-metric {
    flex: 1 1 7rem !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table :is(table, tbody, .quote-line-item-row) {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table :is(tbody, .quote-line-item-row),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .quote-line-item-row > td {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .quote-line-item-row > td {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: .15rem !important;
    white-space: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .line-item-status-badge {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-inline: .25rem !important;
  }
}

@media (max-width: 720px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-intake-source > button {
    margin-top: .2rem !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-material-assist .admin-layout,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-material-assist .admin-content {
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-assist-page {
    box-sizing: border-box !important;
    width: 100% !important;
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .ai-intake-source {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist #material-ai-form :where(fieldset, label, textarea) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist #material-ai-form textarea,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist #material-ai-form > button {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist #material-ai-form > button,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-ai-proposal > .form-actions :where(button, a, summary) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-material-assist .material-ai-proposal > .form-actions {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-evidence-assist .admin-layout,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-evidence-assist .admin-content {
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-assist-page {
    box-sizing: border-box !important;
    width: 100% !important;
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .ai-intake-source,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-ai-proposal {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist #evidence-ai-form :where(fieldset, label, input, textarea) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist #evidence-ai-form :where(input, textarea, button) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist #evidence-ai-form > button,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-ai-proposal > .form-actions :where(button, a, summary) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-evidence-assist .evidence-ai-proposal > .form-actions {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-pdf-assist .admin-layout,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-pdf-assist .admin-content {
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-assist-page {
    box-sizing: border-box !important;
    width: 100% !important;
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .ai-intake-source,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-proposal {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist #pdf-ai-form :where(fieldset, label, select, textarea) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist #pdf-ai-form :where(select, textarea, button) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist #pdf-ai-form select[name="document_type"] {
    padding-inline: .3rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist #pdf-ai-form > button,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-proposal > .form-actions :where(button, a, summary) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-proposal > .admin-section-heading > div {
    box-sizing: border-box !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-proposal > .admin-section-heading h3 {
    max-width: 100% !important;
    white-space: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-proposal > .form-actions a {
    padding-inline: .25rem !important;
    overflow-wrap: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-pdf-assist .pdf-ai-proposal > .form-actions {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-quote-assist .admin-layout,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-quote-assist .admin-content {
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-assist-page {
    box-sizing: border-box !important;
    width: 100% !important;
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-source,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist #quote-ai-form :where(fieldset, label, textarea) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist #quote-ai-form :where(textarea, button) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist #quote-ai-form > button {
    padding-inline: .25rem !important;
    overflow-wrap: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal-grid ul {
    padding-inline-start: .65rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist #quote-ai-form > button,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal > .form-actions :where(button, a, summary) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal > .form-actions a[href="/presupuestos.php#quote-form"] {
    padding-inline: .4rem !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal > .form-actions {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quote-assist .quote-ai-proposal > [data-quote-ai-status] {
    height: auto !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-work-assist .admin-layout,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-work-assist .admin-content {
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-assist-page {
    box-sizing: border-box !important;
    width: 100% !important;
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist #work-ai-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai-proposal {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist #work-ai-form :where(fieldset, label, select, textarea) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist #work-ai-form :where(select, textarea, button) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist #work-ai-form textarea {
    padding-inline: .35rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist #work-ai-form > button,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai-proposal > .form-actions :where(button, a, summary) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai-proposal > .form-actions {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-assist .work-ai-proposal > [data-work-ai-status] {
    height: auto !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-history-assist .admin-layout,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-history-assist .admin-content {
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .history-assist-page,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-assist-page {
    box-sizing: border-box !important;
    width: 100% !important;
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist #customer-history-ai-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai-proposal {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist #customer-history-ai-form :where(fieldset, label, select) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist #customer-history-ai-form :where(select, button) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist #customer-history-ai-form > button,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai-proposal > .form-actions :where(button, a, summary) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai-proposal > .form-actions {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-history-assist .customer-history-ai-proposal > [data-customer-history-ai-status] {
    height: auto !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .admin-layout,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .admin-content {
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-assist-page {
    box-sizing: border-box !important;
    width: 100% !important;
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist #recurrence-ai-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai-proposal {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .quote-ai-proposal-grid .recurrence-ai-proposal-item {
    padding-inline: .35rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist #recurrence-ai-form :where(fieldset, label, select) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist #recurrence-ai-form :where(select, button) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist #recurrence-ai-form > button,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai-proposal > .form-actions :where(button, a, summary) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist #recurrence-ai-form > button,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai-proposal > .form-actions button {
    font-size: .875rem !important;
    padding-inline: .25rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai-proposal > .form-actions {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-recurrence-assist .recurrence-ai-proposal > [data-recurrence-ai-status] {
    height: auto !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-message-intake .admin-layout,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-message-intake .admin-content {
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-page {
    box-sizing: border-box !important;
    width: 100% !important;
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-source,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake #ai-intake-proposal {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake #ai-intake-proposal .form-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake #ai-intake-proposal .message-intake-fieldset {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake :where(.message-intake-source, #ai-intake-proposal) :where(fieldset, label, input, select, textarea) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake :where(.message-intake-source, #ai-intake-proposal) :where(input, select, textarea) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake #ai-intake-proposal input[type="date"] {
    font-size: max(.75rem, 14px) !important;
    padding-inline: .25rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake .message-intake-source > button,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake #ai-intake-proposal .form-actions :where(button, a) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake #ai-intake-proposal .form-actions {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-message-intake #ai-intake-proposal > .form-help {
    height: auto !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-email-intake .admin-layout,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-email-intake .admin-content {
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-page {
    box-sizing: border-box !important;
    width: 100% !important;
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-source {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake :where(.email-intake-source, .email-intake-fieldset, .email-intake-check-grid) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-source :where(fieldset, label, input, select, textarea) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-source :where(input, select, textarea) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-source .form-actions :where(button, a) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-source .form-actions {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-account .admin-layout,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-account .admin-content {
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-page {
    box-sizing: border-box !important;
    width: 100% !important;
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account :where(.account-client-overview-grid, .account-complete-channels-grid, .account-client-activity-grid, .account-client-request-grid) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-strip {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-card--security,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-card--security .account-status-list {
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-card--security > .account-action-row {
    display: grid !important;
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-card--security > .account-action-row .btn {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-overview-card {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-overview-card > em {
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: start !important;
    white-space: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-primary-next-meta {
    box-sizing: border-box !important;
    min-width: 0 !important;
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-primary-next-meta .btn,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-status-badge {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-panel > .section-heading-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-password-panel .account-status-badge {
    width: max-content !important;
    overflow-wrap: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-profile-card--security .account-status-badge {
    overflow-wrap: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-activity-panel > .section-heading-row {
    flex-wrap: wrap !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-client-request-form > button {
    box-sizing: border-box !important;
    min-width: 0 !important;
    min-height: 44px !important;
    width: 100% !important;
    height: auto !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-content {
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-heading .admin-actions {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-search > div {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-search :is(input, button) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-content .admin-help-section > .admin-actions > a {
    font-size: .875rem !important;
    hyphens: auto !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-content .admin-help-section > .admin-help-related {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  border-block-start: 1px solid var(--mantivo-admin-border) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-content .admin-help-section > .admin-help-related > a {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  width: 100% !important;
  min-height: 44px !important;
  padding: .5rem .25rem !important;
  border: 0 !important;
  border-block-end: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mantivo-admin-primary) !important;
  text-align: left !important;
  text-decoration: underline !important;
  text-underline-offset: .18em !important;
  white-space: normal !important;
  hyphens: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-content .admin-help-section > .admin-help-related > a:is(:hover, :focus-visible) {
  background: var(--mantivo-admin-subtle) !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-help .admin-help-content .admin-help-section > .admin-help-related > a:focus-visible {
  outline: .2rem solid var(--mantivo-admin-focus) !important;
  outline-offset: -.2rem !important;
}

@media (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-heading .compact-actions:has(> a:nth-child(3)) {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-modules .admin-layout,
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-modules .admin-content {
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .modules-page {
    box-sizing: border-box !important;
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-card {
    padding-inline: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-card > header > h3 {
    font-size: .95rem !important;
    overflow-wrap: break-word !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-expander > summary {
    flex-wrap: wrap !important;
    column-gap: .35rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-expander > summary :is(.module-catalog-expander__show, .module-catalog-expander__hide) {
    flex: 1 1 auto !important;
    min-width: min-content !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-readiness-list > span {
    box-sizing: border-box !important;
    flex: 1 1 6rem !important;
    flex-wrap: wrap !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-expander__body .module-signal-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-catalog-expander__body .module-readiness-panel {
    padding-inline: .2rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-card-actions {
    align-items: stretch !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-actions > summary {
    padding-inline: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .metric-row {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-card-actions > .btn,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-actions > summary {
    box-sizing: border-box !important;
    min-width: 0 !important;
    width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-actions-panel .btn {
    box-sizing: border-box !important;
    flex: 1 1 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    padding-inline: .35rem !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-modules .module-secondary-actions-panel {
    right: -1.5rem !important;
    width: min(24rem, calc(100vw - 1rem)) !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .admin-content {
    padding-inline: .2rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes #delivery-note-form {
    box-sizing: border-box !important;
    width: 100% !important;
    padding-inline: .2rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes #delivery-note-form form.form-grid,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes .delivery-note-form-fieldset {
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes #delivery-note-form :where(label, input, select, textarea, .form-actions, .delivery-note-form-preview) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes #delivery-note-form :where(input:not([type="hidden"]), select, textarea, .form-actions > *) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-delivery-notes #delivery-note-form .form-actions > :where(button, a) {
    height: auto !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .admin-heading .compact-actions > a {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    padding-inline: .3rem !important;
    font-size: .875rem !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .quote-line-item-row > td {
    padding-inline: .3rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-items-table .quote-line-item-row > td:nth-child(3) {
    font-size: .9rem !important;
    overflow-wrap: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .admin-content,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items #line-item-form {
    padding-inline: .2rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-form .line-item-fieldset {
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-form :where(label, input, select, textarea, .form-actions) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-form :where(input:not([type="hidden"]):not([type="checkbox"]), select, textarea, .form-actions > *) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-form select[name="category"] {
    padding-inline: .25rem .75rem !important;
    font-size: min(1rem, 26px) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-line-items .quote-line-item-form .form-actions > :where(button, a) {
    height: auto !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

@media screen and (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-layout,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-dashboard .admin-content {
    padding-inline: 4px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-primary-next-action {
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-primary-next-meta > strong {
    overflow-wrap: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-primary-next-meta .btn {
    padding-inline: .35rem !important;
    font-size: .875rem !important;
    overflow-wrap: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr {
    padding-inline: .3rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-orders-card-table tbody tr > td:nth-child(3) {
    font-size: .9rem !important;
    overflow-wrap: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-work-orders .work-order-status-badge {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-inline: .3rem !important;
    white-space: normal !important;
    font-size: .875rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row > td {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row > td:first-child {
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row > td:not(.invoice-actions-cell) {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)) !important;
    gap: .15rem .4rem !important;
    padding: .35rem .3rem !important;
    white-space: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-target-row > td:not(.invoice-actions-cell) > :where(span, strong, .invoice-cell-content) {
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .invoice-row-actions > .invoice-document-actions > summary {
    box-sizing: border-box !important;
    width: 100% !important;
    padding-inline: .3rem !important;
    font-size: .875rem !important;
    overflow-wrap: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .admin-heading h2 {
    font-size: 1.25rem !important;
    overflow-wrap: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes #quotes-table {
    padding-inline: .2rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes #quotes-table h3 {
    font-size: 1rem !important;
    overflow-wrap: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-filter-disclosure > summary {
    padding-inline: .3rem !important;
    font-size: .875rem !important;
    overflow-wrap: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes .quote-next-action-actions .btn {
    padding-inline: .3rem !important;
    font-size: .875rem !important;
    overflow-wrap: normal !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .admin-heading > div,
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-copy {
    min-width: 0 !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .admin-heading h2,
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-copy {
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-admin-page,
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-card.card {
    padding-inline: .2rem !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-card.card {
    overflow-x: visible !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-panel {
    grid-template-columns: minmax(0, 1fr) !important;
    padding-inline: .3rem !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-next-action-actions {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)) !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-header,
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-parties {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-issuer-brand {
    min-width: 0 !important;
    gap: .3rem !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-issuer-logo {
    width: 2rem !important;
    height: 2rem !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-number,
  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-parties > article {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-number__status {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-sector-block {
    min-width: 0 !important;
    padding-inline: .2rem !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-table tbody tr {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)) !important;
  }

  html body.admin-shell.document-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-document .document-table tbody td {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-inline: .2rem !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .admin-content {
    padding-inline: .2rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.project-cost-next-action-panel, .project-cost-decision-panel) {
    min-width: 0 !important;
    padding-inline: .3rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-panel,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-list,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-actions,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-actions {
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-next-action-panel > :where(div, dl),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-card > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-card {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-inline: .3rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .metric-row {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-badge,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-amount {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.project-cost-next-action-actions, .project-cost-decision-actions) > :where(a, form),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs :where(.project-cost-next-action-actions, .project-cost-decision-actions) .btn,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcuts__summary {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-decision-actions .btn {
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcuts__summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    padding-inline: .3rem !important;
    column-gap: .3rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcuts__summary > span:first-child {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcuts__summary::after {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .admin-layout {
    padding-inline: .3rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .admin-content {
    padding-inline: .2rem !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-metric-row {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-metric-row article {
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-final-guard-panel[data-guard-clear="true"] {
    grid-template-columns: minmax(0, 1fr) !important;
    padding-inline: .25rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-guided-next-step > a {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-panel[aria-labelledby="import-type-title"] .import-preflight-card {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    padding-inline: .3rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-panel[aria-labelledby="import-type-title"] .import-preflight-pending {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-panel[aria-labelledby="import-type-title"] .import-preflight-pending > .admin-empty-state-actions {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-panel[aria-labelledby="import-type-title"] .import-preflight-card > :where(span, strong, p, .admin-empty-state-actions) {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-panel[aria-labelledby="import-type-title"] .admin-empty-state-actions > a,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-mode-actions > button {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-file-picker.is-enhanced .import-file-picker__action {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-check-disclosure > summary {
    display: block !important;
    position: relative !important;
    padding-left: 32px !important;
    padding-right: 8px !important;
    list-style: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-check-disclosure > summary::-webkit-details-marker {
    display: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-check-disclosure > summary::before {
    content: '+' !important;
    position: absolute !important;
    top: .85rem !important;
    left: 8px !important;
    width: 16px !important;
    color: var(--mantivo-admin-primary) !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-check-disclosure[open] > summary::before {
    content: '−' !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-result-guide > summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: .2rem .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-result-guide > summary .eyebrow {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-result-guide > summary strong {
    grid-column: 1 !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-result-guide > summary::after {
    grid-column: 2 !important;
    margin: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-column-map-panel > summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-template-shortcuts > .admin-disclosure-summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: .2rem .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-template-shortcuts > .admin-disclosure-summary > span {
    display: contents !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-template-shortcuts > .admin-disclosure-summary strong {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-template-shortcuts > .admin-disclosure-summary small {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-template-shortcuts > .admin-disclosure-summary::after {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-column-map-panel > summary > div {
    display: contents !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-column-map-panel > summary h3 {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-column-map-panel > summary p {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-column-map-panel > summary .import-column-map-toggle {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-desk-page {
    padding-inline: .2rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .admin-heading h2 {
    font-size: 1.1rem !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .admin-heading .message-related-actions,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-records-disclosure {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-related-actions > summary,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-records-disclosure > summary {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-related-actions > summary > span {
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .message-related-actions > summary {
    padding-inline: .625rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-meta {
    min-width: 0 !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-panel {
    padding-inline: .3rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-next-action-actions :where(.btn, button) {
    padding-inline: .3rem !important;
    text-wrap: balance !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-conversion-result-guide-folded > summary {
    padding-inline: .3rem !important;
    column-gap: .2rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-conversion-result-guide-folded > summary > :is(strong, small) {
    grid-column: 1 / -1 !important;
    overflow-wrap: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-messages .lead-conversion-result-guide-folded > summary::after {
    grid-row: 1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-content {
    padding-inline: .2rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-heading {
    padding-inline: .2rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-heading h2 {
    font-size: 1.1rem !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .admin-heading > .admin-actions.compact-actions {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-metrics article:nth-child(odd):last-child {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-panel,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-meta {
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-panel {
    padding-inline: .3rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-panel > :where(div, dl),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-meta > :where(dt, dd) {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-actions > :where(a, form, button),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-next-action-actions .btn {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-trade-requests .module-request-priority-label {
    max-width: 100% !important;
    width: fit-content !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .admin-content {
    padding-inline: .2rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .admin-heading {
    padding-inline: .2rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .admin-heading h2 {
    font-size: 1.1rem !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals :where(.referral-decision-panel, .referral-data-panel) {
    min-width: 0 !important;
    padding-inline: .3rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-list,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-actions .inline-actions {
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics {
    min-width: 0 !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics article:last-child {
    grid-column: auto !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics article {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics article > :where(span, strong, small) {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-card,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-metrics article {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-inline: .3rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-actions,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-actions .inline-actions {
    box-sizing: border-box !important;
    align-self: stretch !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-badge {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-inline: .3rem !important;
    border-radius: .5rem !important;
    font-size: .7rem !important;
    line-height: 1.2 !important;
    overflow-wrap: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-actions .btn {
    padding-inline: .3rem !important;
    font-size: .875rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .admin-heading .compact-actions > a,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-records-disclosure > summary,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-referrals .referral-decision-actions .btn {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-next-action-label {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-next-action-panel {
    padding: 16px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-next-action-buttons.form-actions.full {
    position: static !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .5rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-next-action-buttons > a {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    padding-inline: 8px !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-row-actions > a[href*="edit="] {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    padding-inline: 8px !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .admin-heading .admin-actions > a,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-empty-state .admin-empty-state-actions > a {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .admin-content,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers #supplier-form {
    padding-inline: .2rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-fieldset {
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form :where(label, input, select, textarea, .form-actions) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form :where(input:not([type="hidden"]), select, textarea, .form-actions > *) {
    width: 100% !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form textarea[name="notes"] {
    min-height: 9rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-form .form-actions > :where(button, a) {
    height: auto !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-suppliers .supplier-fieldset > legend.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices #invoice-form,
  html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices #invoice-form {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes #quote-form,
  html[data-theme="dark"] body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-quotes #quote-form {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

@media (min-width: 561px) and (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    border-bottom: 1px solid var(--mantivo-admin-border) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-card {
    display: flex !important;
    align-items: center !important;
    min-height: 3rem !important;
    padding: .6rem .5rem !important;
    border: 0 !important;
    border-bottom: .2rem solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-card.is-primary,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-card:is(:hover, :focus-visible) {
    border-bottom-color: var(--mantivo-admin-primary) !important;
    background: var(--mantivo-admin-subtle) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-card :where(span, small) {
    display: none !important;
  }
}

@media (max-width: 560px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-card {
    min-height: 2.75rem !important;
    padding: .55rem .65rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-account .account-command-card span {
    display: none !important;
  }
}

@media (min-width: 361px) and (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-panel .import-preflight-ready {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: .3rem .75rem !important;
    min-height: 0 !important;
    padding: .7rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-ready > span {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-ready > strong {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-ready > p {
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: center !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-ready > .admin-empty-state-actions {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: center !important;
    margin: 0 !important;
  }
}

@media (min-width: 361px) and (max-width: 560px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-ready > p {
    grid-column: 1 / -1 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-import .import-preflight-ready > .admin-empty-state-actions {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-fieldset--context {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-email-intake .email-intake-fieldset--context > :where(label:has(> select[name="customer_id"]), .email-intake-fixed-customer, [data-email-work-order-field]) {
    grid-column: 1 / -1 !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcuts {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--mantivo-admin-border) !important;
  border-bottom: 1px solid var(--mantivo-admin-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcuts__summary {
  padding: .7rem 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

@media (min-width: 681px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-project-costs .project-cost-shortcuts__summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    align-items: center !important;
    gap: .5rem !important;
  }
}

html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-admin-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 1024px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-admin-overview:has(.customer-global-metrics--one) {
    grid-template-columns: minmax(0, 21rem) minmax(0, 1fr);
    align-items: start;
    gap: 1.25rem;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-admin-overview:has(.customer-global-metrics--two) {
    grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr);
    align-items: start;
    gap: 1.25rem;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-customers .customer-admin-overview:has(.customer-global-metrics--one, .customer-global-metrics--two) > :is(.customer-admin-summary-panel, .customer-admin-preview-panel) {
    width: 100%;
    margin: 0 !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-invoices .metric-row > .invoice-summary-metric {
    flex: 1 1 100% !important;
  }
}

@media (max-width: 360px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .admin-layout,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .admin-content {
    padding-inline: 4px !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .admin-heading {
    padding: .5rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .admin-heading h2 {
    font-size: 1.25rem !important;
    line-height: 1.2 !important;
    overflow-wrap: break-word !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .metric-row,
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.user-access-mode-grid, .access-review-shortcut-grid, .access-health-list) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .users-page :where(.user-access-mode-guide, .user-access-mode-grid article, .access-review-shortcuts, .access-review-shortcuts__summary, .access-next-action-panel, .access-health-card, .client-access-panel, .admin-empty-state, .users-table-panel) {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .access-review-shortcuts__summary {
    flex-wrap: wrap !important;
    gap: .4rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .users-page .btn {
    min-width: 0 !important;
    height: auto !important;
    white-space: normal !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .users-page .table-wrap {
    max-width: 100% !important;
    overflow-x: auto !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .admin-heading :where(h2, p),
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .access-next-action-panel :where(h3, p) {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 650px) {
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.users-table-panel, .client-access-panel) {
    padding-inline: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.users-table-panel, .client-access-panel) .table-wrap {
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    overflow-x: visible !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.users-table-panel, .client-access-panel) :where(table, tbody) {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.users-table-panel, .client-access-panel) table {
    min-width: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.users-table-panel, .client-access-panel) thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.users-table-panel, .client-access-panel) tbody {
    display: grid !important;
    gap: .75rem !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.user-access-target-row, .client-user-target-row) {
    display: grid !important;
    min-width: 0 !important;
    padding: .7rem .9rem !important;
    border: 1px solid var(--mantivo-admin-border) !important;
    border-radius: .5rem !important;
    background: var(--mantivo-admin-surface) !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.user-access-target-row, .client-user-target-row) > td {
    position: static !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: .55rem 0 !important;
    border-bottom: 1px solid var(--mantivo-admin-border) !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow-wrap: anywhere !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.user-access-target-row, .client-user-target-row) > td:last-child {
    min-width: 0 !important;
    border-bottom: 0 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users :where(.user-access-target-row, .client-user-target-row) > td::before {
    display: block !important;
    margin-bottom: .2rem !important;
    color: var(--mantivo-admin-muted) !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
  }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-access-target-row > td:nth-child(1)::before { content: "Nombre"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-access-target-row > td:nth-child(2)::before { content: "Usuario"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-access-target-row > td:nth-child(3)::before { content: "Rol"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-access-target-row > td:nth-child(4)::before { content: "Vínculo"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-access-target-row > td:nth-child(5)::before { content: "Email"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-access-target-row > td:nth-child(6)::before { content: "Activo"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-access-target-row > td:nth-child(7)::before { content: "Acciones"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .client-user-target-row > td:nth-child(1)::before { content: "Cuenta"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .client-user-target-row > td:nth-child(2)::before { content: "Cliente"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .client-user-target-row > td:nth-child(3)::before { content: "Plan"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .client-user-target-row > td:nth-child(4)::before { content: "Gremio"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .client-user-target-row > td:nth-child(5)::before { content: "Estado"; }
  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .client-user-target-row > td:nth-child(6)::before { content: "Acción"; }

  html body.admin-shell.admin-bootstrap-scope.mantivo-tabler-admin.mantivo-tabler-users .user-access-target-row :where(.inline-actions, .user-sensitive-actions, .user-sensitive-actions-panel) {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}
/* Client plan previews use the private Tabler layer; examples remain visibly synthetic. */
html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-panel {
  display: grid;
  gap: .7rem;
  min-width: 0;
  margin-top: .8rem;
  padding: .9rem;
  border: 1px solid #dbe3ee;
  border-radius: .75rem;
  background: #f8fafc;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  min-width: 0;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-heading h4 {
  margin: .15rem 0 0;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-heading > span {
  flex: 0 0 auto;
  padding: .28rem .55rem;
  border: 1px solid #b6d4fe;
  border-radius: 999px;
  background: #eff6ff;
  color: #174ea6;
  font-size: .75rem;
  font-weight: 700;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  min-width: 0;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-grid article {
  display: grid;
  gap: .25rem;
  min-width: 0;
  padding: .75rem;
  border: 1px solid #dbe3ee;
  border-radius: .65rem;
  background: #fff;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-grid article > span {
  color: #52647a;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-grid article strong {
  overflow-wrap: anywhere;
  color: #152238;
  font-size: .92rem;
  line-height: 1.3;
}

html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-grid article p {
  margin: 0;
  color: #52647a;
  font-size: .82rem;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-panel,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-panel {
  border-color: #34445d;
  background: #111c2d;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-grid article,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-grid article {
  border-color: #34445d;
  background: #17243a;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-heading > span,
html[data-bs-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-heading > span {
  border-color: #315e91;
  background: #102b47;
  color: #c7e0ff;
}

html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-grid article strong,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-grid article > span,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-grid article p,
html[data-theme="dark"] body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-heading h4 {
  color: #e6edf7;
}

@media (max-width: 920px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-heading {
    flex-direction: column;
  }

  html body.admin-shell.mantivo-tabler-admin.mantivo-tabler-dashboard .client-preview-example-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
