/*
 * Terminal enterprise component layer.
 * Loaded last so the score-critical surfaces have one authoritative interaction model.
 */

:root {
  --hvx-terminal-border: #d8e0ea;
  --hvx-terminal-border-strong: #bdc9d8;
  --hvx-terminal-ink: #111827;
  --hvx-terminal-muted: #5f6f86;
  --hvx-terminal-faint: #f8fafc;
  --hvx-terminal-soft: #f3f6fa;
  --hvx-terminal-blue: #1f5fd0;
  --hvx-terminal-blue-dark: #1d4ed8;
}

/* Conversations selection reset: one aligned enterprise row state, no segmented bars. */
html body.mail-body .hvx100-conversation-row.active,
html body.mail-body .hvx100-conversation-row[aria-selected="true"] {
  position: relative !important;
  outline: 0 !important;
}

html body.mail-body .hvx100-conversation-row.active td,
html body.mail-body .hvx100-conversation-row.active:not(.is-selected) td,
html body.mail-body .hvx100-conversation-row[aria-selected="true"] td,
html body.mail-body .hvx100-conversation-row.is-selected td {
  background: #f8fafc !important;
  border-top: 1px solid #d8e0ea !important;
  border-bottom: 1px solid #d8e0ea !important;
  box-shadow: none !important;
}

html body.mail-body .hvx100-conversation-row.active td:first-child,
html body.mail-body .hvx100-conversation-row.active:not(.is-selected) td:first-child,
html body.mail-body .hvx100-conversation-row[aria-selected="true"] td:first-child,
html body.mail-body .hvx100-conversation-row.is-selected td:first-child {
  border-left: 0 !important;
  box-shadow: inset 3px 0 0 #334155 !important;
}

html body.mail-body .hvx100-conversation-row.active td:first-child::after,
html body.mail-body .hvx100-conversation-row.active:not(.is-selected) td:first-child::after,
html body.mail-body .hvx100-conversation-row[aria-selected="true"] td:first-child::after,
html body.mail-body .hvx100-conversation-row.is-selected td:first-child::after {
  display: none !important;
  content: none !important;
}

html body.mail-body .hvx100-conversation-row.active td:not(:first-child),
html body.mail-body .hvx100-conversation-row[aria-selected="true"] td:not(:first-child),
html body.mail-body .hvx100-conversation-row.is-selected td:not(:first-child) {
  border-left-color: transparent !important;
  box-shadow: none !important;
}

html body.mail-body .hvx100-conversation-row.active .hvx100-conversation-open strong::before,
html body.mail-body .hvx100-conversation-row[aria-selected="true"] .hvx100-conversation-open strong::before {
  content: none !important;
  display: none !important;
}

html body.mail-body .hvx100-conversation-row.active .hvx100-conversation-next-state,
html body.mail-body .hvx100-conversation-row[aria-selected="true"] .hvx100-conversation-next-state,
html body.mail-body .hvx100-conversation-row.is-selected .hvx100-conversation-next-state {
  border-color: #d8e0ea !important;
  border-left-color: #cbd5e1 !important;
  background: #fff !important;
}

/* End-of-file mobile IA authority: deliberate bottom nav, no top tab strip. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 90 !important;
    min-height: 70px !important;
    padding: 7px 8px max(7px, env(safe-area-inset-bottom)) !important;
    border-top: 1px solid #cbd5e1 !important;
    background: rgba(255, 255, 255, .99) !important;
    box-shadow: 0 -8px 20px rgba(15, 23, 42, .08) !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-admin-entry,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.hidden {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn {
    display: grid !important;
    grid-template-rows: auto auto !important;
    place-items: center !important;
    align-content: center !important;
    gap: 3px !important;
    min-height: 56px !important;
    padding: 6px 3px !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    background: transparent !important;
    color: #475569 !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active {
    border-color: #94a3b8 !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    box-shadow: inset 0 3px 0 #111827 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-icon {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-label {
    display: block !important;
    color: inherit !important;
    font-size: .72rem !important;
    font-weight: 940 !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-status {
    display: block !important;
    max-width: 100% !important;
    color: #64748b !important;
    font-size: .56rem !important;
    font-weight: 830 !important;
    line-height: 1 !important;
    overflow: hidden !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active .tenant-mobile-nav-status {
    color: #334155 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-app-shell {
    padding-bottom: 78px !important;
  }
}

/* Absolute final mobile shell authority. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip {
    padding: 6px 14px !important;
    border-bottom: 1px solid #d8e0ea !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip span {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 3px 6px !important;
    min-height: 0 !important;
    color: #475569 !important;
    font-size: .62rem !important;
    font-weight: 780 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    padding: 0 10px !important;
    border-bottom: 1px solid #cbd5e1 !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button:first-child,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button:last-child {
    display: grid !important;
    place-items: center !important;
    min-height: 46px !important;
    padding: 0 4px !important;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #475569 !important;
    box-shadow: none !important;
    font-size: .69rem !important;
    font-weight: 880 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button.is-active {
    border-bottom-color: #111827 !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    font-weight: 950 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-app-stage-head {
    padding: 0 22px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-title {
    margin: 12px 0 9px !important;
    color: #0f172a !important;
    font-size: 1.2rem !important;
    font-weight: 940 !important;
    line-height: 1.08 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-ops-status {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 9px 10px !important;
    border: 1px solid #d8e0ea !important;
    border-left: 3px solid #22c55e !important;
    border-radius: 3px !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-ops-status > div:first-child {
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-ops-status > div:first-child strong {
    display: block !important;
    color: #0f172a !important;
    font-size: .72rem !important;
    font-weight: 940 !important;
    line-height: 1.05 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-ops-status > div:first-child small {
    display: block !important;
    color: #64748b !important;
    font-size: .6rem !important;
    font-weight: 760 !important;
    line-height: 1.18 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips span {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 6px !important;
    min-height: 29px !important;
    padding: 5px 7px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 3px !important;
    background: #f8fafc !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips small {
    color: #64748b !important;
    font-size: .57rem !important;
    font-weight: 900 !important;
    letter-spacing: .035em !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips b {
    color: #0f172a !important;
    font-size: .76rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
  }
}

/* Mobile IA final reset: enterprise bottom navigation, no cramped top tab strip. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 90 !important;
    min-height: 70px !important;
    padding: 7px 8px max(7px, env(safe-area-inset-bottom)) !important;
    border-top: 1px solid #cbd5e1 !important;
    background: rgba(255, 255, 255, .99) !important;
    box-shadow: 0 -8px 20px rgba(15, 23, 42, .08) !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-admin-entry,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.hidden {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn {
    display: grid !important;
    grid-template-rows: auto auto !important;
    place-items: center !important;
    align-content: center !important;
    gap: 3px !important;
    min-height: 56px !important;
    padding: 6px 3px !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    background: transparent !important;
    color: #475569 !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active {
    border-color: #94a3b8 !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    box-shadow: inset 0 3px 0 #111827 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-icon {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-label {
    display: block !important;
    color: inherit !important;
    font-size: .72rem !important;
    font-weight: 940 !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-status {
    display: block !important;
    max-width: 100% !important;
    color: #64748b !important;
    font-size: .56rem !important;
    font-weight: 830 !important;
    line-height: 1 !important;
    overflow: hidden !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active .tenant-mobile-nav-status {
    color: #334155 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-app-shell {
    padding-bottom: 78px !important;
  }
}

/* Calendar queue markers: typed operational signals instead of decorative Queue pills. */
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day.has-queue-work::after {
  display: none !important;
  content: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal {
  display: inline-grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: 5px !important;
  align-items: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 20px !important;
  padding: 2px 6px !important;
  border: 1px solid #d6a56a !important;
  border-left: 3px solid #b45309 !important;
  border-radius: 3px !important;
  background: #fffaf0 !important;
  color: #7c2d12 !important;
  box-shadow: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal .tenant-calendar-chip-time {
  color: #7c2d12 !important;
  font-size: .62rem !important;
  font-weight: 950 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal .tenant-calendar-chip-title {
  min-width: 0 !important;
  color: #7c2d12 !important;
  font-size: .58rem !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-date-context::after {
  display: none !important;
  content: none !important;
}

/* Compose send gate: explicit enterprise checklist, not a decorative pill. */
html body.mail-body #mail-compose-modal #compose-send-blocker-banner,
html body.mail-body #mail-compose-modal #compose-send-blocker-banner.is-blocked,
html body.mail-body #mail-compose-modal #compose-send-blocker-banner.is-quiet,
html body.mail-body #mail-compose-modal #compose-send-blocker-banner.is-ready {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 7px !important;
  align-items: start !important;
  padding: 10px !important;
  border-left-width: 3px !important;
}

html body.mail-body #mail-compose-modal #compose-send-blocker-banner::after {
  display: none !important;
  content: none !important;
}

html body.mail-body #mail-compose-modal #compose-send-blocker-banner > strong {
  font-size: .72rem !important;
  line-height: 1 !important;
}

html body.mail-body #mail-compose-modal #compose-send-blocker-banner > span {
  font-size: .64rem !important;
  line-height: 1.15 !important;
}

html body.mail-body #mail-compose-modal .hvx500-compose-send-steps {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html body.mail-body #mail-compose-modal .hvx500-compose-send-steps li {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  column-gap: 6px !important;
  row-gap: 1px !important;
  align-items: center !important;
  min-height: 34px !important;
  padding: 5px 7px !important;
  border: 1px solid #d8e0ea !important;
  border-radius: 3px !important;
  background: #fff !important;
}

html body.mail-body #mail-compose-modal .hvx500-compose-send-steps li b {
  grid-row: 1 / 3 !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 18px !important;
  height: 18px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  color: #334155 !important;
  font-size: .56rem !important;
  font-weight: 950 !important;
}

html body.mail-body #mail-compose-modal .hvx500-compose-send-steps li span {
  min-width: 0 !important;
  color: #0f172a !important;
  font-size: .64rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.mail-body #mail-compose-modal .hvx500-compose-send-steps li em {
  color: #64748b !important;
  font-size: .56rem !important;
  font-style: normal !important;
  font-weight: 830 !important;
  line-height: 1 !important;
}

html body.mail-body #mail-compose-modal .hvx500-compose-send-steps li.is-complete {
  border-color: #bbf7d0 !important;
  background: #f7fcf8 !important;
}

html body.mail-body #mail-compose-modal .hvx500-compose-send-steps li.is-complete b {
  border-color: #86efac !important;
  background: #dcfce7 !important;
  color: #166534 !important;
}

html body.mail-body #mail-compose-modal .hvx500-compose-send-steps li.is-complete b::before {
  content: "✓" !important;
}

html body.mail-body #mail-compose-modal .hvx500-compose-send-steps li.is-complete b {
  color: transparent !important;
}

html body.mail-body #mail-compose-modal .hvx500-compose-send-steps li.is-complete b::before {
  color: #166534 !important;
}

html body.mail-body #mail-compose-modal .hvx500-compose-send-steps li.is-incomplete {
  border-color: #d8e0ea !important;
}

/* Final mobile header/status ledger: readable labels over cramped badge text. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-title {
    margin: 10px 0 8px !important;
    color: #0f172a !important;
    font-size: 1.22rem !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-app-stage-head {
    padding: 0 20px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-ops-status {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
    padding: 8px 9px !important;
    border-left: 3px solid #22c55e !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-ops-status > div:first-child strong {
    font-size: .68rem !important;
    line-height: 1.05 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 5px !important;
    width: 100% !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips span {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 6px !important;
    min-height: 26px !important;
    padding: 4px 7px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 3px !important;
    background: #f8fafc !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips small {
    min-width: 0 !important;
    color: #64748b !important;
    font-size: .55rem !important;
    font-weight: 900 !important;
    letter-spacing: .035em !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips b {
    color: #0f172a !important;
    font-size: .74rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
  }
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter {
  width: min(760px, calc(100vw - 40px)) !important;
  border: 1px solid var(--hvx-terminal-border-strong) !important;
  border-radius: 4px !important;
  box-shadow: 0 22px 42px rgba(15, 23, 42, .16) !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-workspace-filter-head {
  padding: 18px 24px 12px !important;
  border-bottom: 1px solid var(--hvx-terminal-border) !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-workspace-filter-head-actions,
html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter #app-filter-action-impact,
html body.tenant-app-body[data-app-surface="workspace"] #app-filter-action-impact.tenant-filter-action-impact {
  display: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-filter-facet-state {
  margin: 16px 24px !important;
  padding: 0 !important;
  border: 1px solid var(--hvx-terminal-border) !important;
  border-left: 3px solid var(--hvx-terminal-blue) !important;
  border-radius: 3px !important;
  background: #f9fbfd !important;
  box-shadow: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-filter-facet-state .tenant-filter-state-line {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 14px 16px !important;
  border-bottom: 1px solid var(--hvx-terminal-border) !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-filter-facet-state .tenant-filter-state-line strong,
html body.tenant-app-body[data-app-surface="workspace"] .tenant-filter-section-title span,
html body.tenant-app-body[data-app-surface="workspace"] .tenant-filter-builder-row > span:first-child {
  color: #334155 !important;
  font-size: .68rem !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-filter-facet-state .tenant-filter-state-line span {
  color: var(--hvx-terminal-ink) !important;
  font-size: .78rem !important;
  font-weight: 820 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-filter-facet-state .tenant-filter-state-line span.tenant-filter-summary-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  min-width: 0 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-filter-facet-state .tenant-filter-summary-chips span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  min-height: 24px !important;
  padding: 3px 7px !important;
  border: 1px solid #d8e0ea !important;
  border-radius: 2px !important;
  background: #fff !important;
  color: #475569 !important;
  font-size: .66rem !important;
  font-weight: 820 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-filter-facet-state .tenant-filter-summary-chips b {
  color: #0f172a !important;
  font-size: .62rem !important;
  font-weight: 920 !important;
  text-transform: uppercase !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-filter-facet-state .tenant-filter-state-line em {
  color: var(--hvx-terminal-muted) !important;
  font-size: .66rem !important;
  font-style: normal !important;
  font-weight: 760 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-filter-facet-state .tenant-filter-facet-tokens--sentence {
  display: none !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 10px 16px !important;
  gap: 12px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav {
  display: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-filter-facet-state .tenant-filter-facet-tokens--sentence span {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  color: #334155 !important;
  font-size: .74rem !important;
  font-weight: 820 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-filter-facet-state .tenant-filter-facet-tokens--sentence button {
  min-height: 30px !important;
  padding: 0 10px !important;
  border: 1px solid var(--hvx-terminal-border-strong) !important;
  border-radius: 3px !important;
  background: #fff !important;
  color: #334155 !important;
  box-shadow: none !important;
  font-size: .68rem !important;
  font-weight: 880 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-section-primary {
  margin: 0 24px !important;
  padding: 0 !important;
  border: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-workspace-filter-grid {
  gap: 10px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-builder-row {
  min-height: 64px !important;
  padding: 12px !important;
  border: 1px solid var(--hvx-terminal-border) !important;
  border-radius: 3px !important;
  background: #fff !important;
  box-shadow: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter input,
html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter select {
  min-height: 34px !important;
  border-radius: 2px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-workspace-filter-actions {
  margin-top: 16px !important;
  padding: 14px 24px !important;
  border-top: 1px solid var(--hvx-terminal-border) !important;
  background: #fff !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-workspace-filter-actions button {
  min-height: 36px !important;
  border-radius: 3px !important;
  box-shadow: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-filter-apply,
html body.tenant-app-body[data-app-surface="workspace"] [data-workspace-filter-proxy="apply"] {
  background: var(--hvx-terminal-blue) !important;
  border-color: rgba(31, 95, 208, .28) !important;
}

html body.mail-body .hvx100-conversation-workspace {
  grid-template-columns: minmax(680px, 1fr) minmax(252px, 300px) !important;
  gap: 10px !important;
}

html body.mail-body .mail-workspace-categories {
  min-height: 36px !important;
  padding: 0 0 8px !important;
  gap: 6px !important;
}

html body.mail-body .mail-workspace-tab {
  min-height: 32px !important;
  padding: 0 12px !important;
  border-radius: 2px !important;
  background: #fff !important;
  box-shadow: none !important;
}

html body.mail-body .mail-workspace-tab.active {
  border-color: #94a3b8 !important;
  background: #f8fafc !important;
  box-shadow: inset 0 -2px 0 #334155 !important;
}

html body.mail-body .hvx100-conversation-table-shell {
  border-radius: 3px !important;
}

html body.mail-body .hvx100-conversation-table th {
  height: 32px !important;
  padding: 7px 10px !important;
  background: #f6f8fb !important;
  color: #334155 !important;
  font-size: .66rem !important;
  font-weight: 950 !important;
  letter-spacing: .045em !important;
  border-bottom: 1px solid var(--hvx-terminal-border-strong) !important;
}

html body.mail-body .hvx100-conversation-row td {
  padding: 9px 10px !important;
  border-bottom: 1px solid #e3e8ef !important;
  vertical-align: middle !important;
}

html body.mail-body .hvx100-conversation-row.active:not(.is-selected) td {
  background: #f7faff !important;
  box-shadow: inset 3px 0 0 #334155 !important;
}

html body.mail-body .hvx100-conversation-row.active td:first-child {
  border-left: 3px solid #334155 !important;
}

html body.mail-body .hvx100-conversation-row.active .hvx100-conversation-open strong::before {
  content: "Selected " !important;
  color: #475569 !important;
  font-size: .58rem !important;
  font-weight: 920 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

html body.mail-body .mail-conversation-triage.hvx18-sla-badge,
html body.mail-body .hvx100-conversation-next-state {
  display: inline-grid !important;
  gap: 2px !important;
  min-width: 82px !important;
  border: 1px solid #cbd5e1 !important;
  border-left: 3px solid #94a3b8 !important;
  border-radius: 2px !important;
  background: #fff !important;
  padding: 5px 7px !important;
  box-shadow: none !important;
  color: #334155 !important;
}

html body.mail-body .hvx100-conversation-row.is-owner-required .hvx100-conversation-next-state {
  border-color: #d6a56a !important;
  border-left-color: #b45309 !important;
  background: #fffaf0 !important;
}

html body.mail-body .mail-conversation-triage.hvx18-sla-badge strong,
html body.mail-body .hvx100-conversation-next-state strong,
html body.mail-body .mail-conversation-triage.hvx18-sla-badge b,
html body.mail-body .hvx100-conversation-next-state b {
  color: #0f172a !important;
  font-size: .66rem !important;
  font-weight: 920 !important;
  line-height: 1.05 !important;
}

html body.mail-body .mail-conversation-triage.hvx18-sla-badge small,
html body.mail-body .hvx100-conversation-next-state small {
  color: #64748b !important;
  font-size: .58rem !important;
  font-weight: 760 !important;
  line-height: 1.05 !important;
}

html body.mail-body .hvx100-conversation-open strong {
  color: #0f172a !important;
  font-size: .8rem !important;
  line-height: 1.12 !important;
}

html body.mail-body .hvx100-conversation-open small,
html body.mail-body .hvx155-conversation-preview,
html body.mail-body .hvx100-conversation-routing small,
html body.mail-body .hvx100-conversation-touch small {
  color: #64748b !important;
  font-size: .66rem !important;
  line-height: 1.14 !important;
}

html body.mail-body .hvx100-conversation-inspector {
  border-radius: 3px !important;
  padding: 12px !important;
  background: #fbfcfe !important;
  border-left: 3px solid #334155 !important;
}

html body.mail-body .hvx100-conversation-inspector > button {
  min-height: 38px !important;
  border-radius: 3px !important;
  background: #1f2937 !important;
  box-shadow: none !important;
}

html body.mail-body .hvx100-conversation-inspector-copy span {
  color: #334155 !important;
  font-size: .62rem !important;
  font-weight: 920 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

html body.mail-body .hvx410-conversation-inspector-list {
  border: 1px solid #d8e0ea !important;
  border-radius: 2px !important;
  background: #fff !important;
}

html body.mail-body #mail-compose-modal #compose-send-state-panel,
html body.mail-body #mail-compose-modal #compose-send-state-panel.is-blocked,
html body.mail-body #mail-compose-modal #compose-send-state-panel.is-quiet,
html body.mail-body #mail-compose-modal #compose-send-state-panel.is-ready {
  display: none !important;
}

html body.mail-body #mail-compose-modal #compose-send-blocker-banner,
html body.mail-body #mail-compose-modal #compose-send-blocker-banner.is-blocked,
html body.mail-body #mail-compose-modal #compose-send-blocker-banner.is-quiet,
html body.mail-body #mail-compose-modal #compose-send-blocker-banner.is-ready {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 3px !important;
  margin: 2px 0 12px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--hvx-terminal-border-strong) !important;
  border-left: 3px solid #b45309 !important;
  border-radius: 3px !important;
  background: #fffaf0 !important;
  box-shadow: none !important;
}

html body.mail-body #mail-compose-modal #compose-send-blocker-banner.is-ready {
  border-left-color: #15803d !important;
  background: #f7fcf8 !important;
}

html body.mail-body #mail-compose-modal #compose-send-blocker-banner strong {
  color: #0f172a !important;
  font-size: .76rem !important;
  font-weight: 920 !important;
}

html body.mail-body #mail-compose-modal #compose-send-blocker-banner span {
  color: #475569 !important;
  font-size: .68rem !important;
  font-weight: 760 !important;
  line-height: 1.2 !important;
}

html body.mail-body #mail-compose-modal #compose-send-state-panel .hvx305-compose-state-copy strong {
  color: #0f172a !important;
  font-size: .78rem !important;
  font-weight: 920 !important;
}

html body.mail-body #mail-compose-modal #compose-send-state-panel .hvx305-compose-state-copy span {
  color: #475569 !important;
  font-size: .7rem !important;
  line-height: 1.25 !important;
}

html body.mail-body #mail-compose-modal #compose-send-state-panel .hvx305-compose-state-checks {
  display: flex !important;
  gap: 6px !important;
  align-items: center !important;
}

html body.mail-body #mail-compose-modal #compose-send-state-panel .hvx305-compose-state-checks span {
  min-width: 74px !important;
  padding: 6px 8px !important;
  border: 1px solid var(--hvx-terminal-border) !important;
  border-radius: 2px !important;
  background: #fff !important;
  box-shadow: none !important;
}

html body.mail-body .mail-compose-actions.mail-modal-actions {
  align-items: center !important;
  gap: 8px !important;
  padding-top: 10px !important;
  border-top: 1px solid var(--hvx-terminal-border) !important;
}

html body.mail-body #mail-compose-modal .mail-compose-actions.mail-modal-actions #compose-send-btn,
html body.mail-body #mail-compose-modal .mail-compose-actions.mail-modal-actions #compose-save-draft-btn {
  min-height: 36px !important;
  border-radius: 3px !important;
  box-shadow: none !important;
}

html body.mail-body #mail-compose-modal .mail-compose-actions.mail-modal-actions #compose-send-btn:disabled {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #475569 !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}

html body.mail-body #mail-compose-modal .mail-compose-actions.mail-modal-actions #compose-send-btn:disabled::after {
  content: "Locked" !important;
  color: #64748b !important;
}

html body.mail-body #mail-compose-modal .mail-compose-field-validation,
html body.mail-body #mail-compose-modal .mail-compose-field-validation.is-visible,
html body.mail-body #mail-compose-modal .mail-compose-field-validation.is-pending.is-visible {
  display: none !important;
  margin-top: 5px !important;
  color: #92400e !important;
  font-size: .66rem !important;
  font-weight: 840 !important;
  line-height: 1.2 !important;
}

html body.mail-body #mail-compose-modal .mail-compose-field-validation[hidden],
html body.mail-body #mail-compose-modal .mail-compose-field-validation.is-pass {
  display: none !important;
}

html body.mail-body #mail-compose-modal input.is-required-missing,
html body.mail-body #mail-compose-modal textarea.is-required-missing,
html body.mail-body #mail-compose-modal .mail-recipient-field.is-required-missing,
html body.mail-body #mail-compose-modal .mail-compose-editor-shell.is-required-missing {
  border-color: #b45309 !important;
  box-shadow: inset 2px 0 0 #b45309 !important;
}

html body.mail-body .mail-compose-card {
  border-radius: 4px !important;
}

html body.mail-body .mail-compose-grid {
  gap: 10px !important;
}

html body.mail-body #mail-compose-modal .mail-compose-field-group-label {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin: 2px 0 0 !important;
  padding-top: 8px !important;
  border-top: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

html body.mail-body #mail-compose-modal .mail-compose-field-group-label:first-child {
  border-top: 0 !important;
  padding-top: 0 !important;
}

html body.mail-body #mail-compose-modal .mail-compose-field-group-label strong {
  color: #0f172a !important;
  font-size: .68rem !important;
  font-weight: 920 !important;
  letter-spacing: .035em !important;
  text-transform: uppercase !important;
}

html body.mail-body #mail-compose-modal .mail-compose-field-group-label span {
  color: #64748b !important;
  font-size: .64rem !important;
  font-weight: 760 !important;
  text-align: right !important;
}

html body.mail-body #mail-compose-modal .mail-compose-card,
html body.mail-body #mail-compose-modal .mail-compose-grid {
  max-height: none !important;
}

html body.mail-body #mail-compose-modal .mail-compose-editor-shell {
  min-height: 104px !important;
}

html body.mail-body #mail-compose-modal #compose-body {
  min-height: 86px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-surface {
  padding: 20px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-section-head.tenant-calendar-head {
  margin-bottom: 12px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-ops-board {
  border-radius: 3px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-ops-row {
  min-height: 42px !important;
  padding: 9px 12px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-toolbar {
  margin-top: 12px !important;
  padding: 0 !important;
  border: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-month-shell {
  margin-top: 10px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day {
  position: relative !important;
  min-height: 54px !important;
  padding: 8px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day-meta {
  color: #475569 !important;
  font-size: .62rem !important;
  font-weight: 840 !important;
  white-space: nowrap !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day-body {
  display: grid !important;
  gap: 3px !important;
  margin-top: 5px !important;
  min-height: 18px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day.has-queue-work::after {
  content: "Q" !important;
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 16px !important;
  height: 16px !important;
  border: 1px solid #d6a56a !important;
  border-radius: 2px !important;
  background: #fffaf0 !important;
  color: #7c2d12 !important;
  font-size: .55rem !important;
  font-weight: 920 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  border-color: #d6a56a !important;
  background: #fffaf0 !important;
  color: #7c2d12 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-empty-state {
  grid-template-columns: minmax(0, 1fr) auto !important;
  border-left: 3px solid #94a3b8 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day-ops {
  border-left: 3px solid #94a3b8 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-workqueue-row.is-selected td {
  background: #f7faff !important;
  box-shadow: inset 0 -1px 0 #cbd5e1, inset 0 1px 0 #cbd5e1 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-workqueue-row.is-selected td:first-child {
  border-left: 4px solid #334155 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-workqueue-row.is-selected .hvx70-row-next-label {
  border-color: #334155 !important;
  background: #fff !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-workqueue-row.is-selected .hvx70-row-next-label::before {
  content: "Selected action" !important;
  display: block !important;
  margin-bottom: 3px !important;
  color: #475569 !important;
  font-size: .54rem !important;
  font-weight: 920 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-continuity {
  padding: 10px 12px !important;
  border-left: 3px solid #94a3b8 !important;
  background: #fbfcfe !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-continuity-head {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-continuity-head strong {
  color: #0f172a !important;
  font-size: .78rem !important;
  font-weight: 920 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-continuity-grid,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-evidence,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-workqueue-ledger table {
  display: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-workqueue-ledger {
  margin-top: 8px !important;
  border: 1px solid #d8e0ea !important;
  border-radius: 2px !important;
  background: #fff !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-workqueue-ledger[open] table {
  display: table !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-workqueue-ledger-head {
  min-height: 32px !important;
  padding: 7px 10px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-workqueue-ledger-head strong {
  color: #334155 !important;
  font-size: .66rem !important;
  font-weight: 920 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-lower {
  margin-top: 10px !important;
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border-top: 1px solid #d8e0ea !important;
    border-bottom: 1px solid #cbd5e1 !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    min-height: 38px !important;
    padding: 0 8px !important;
    border: 0 !important;
    border-right: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #475569 !important;
    box-shadow: inset 0 -2px 0 transparent !important;
    font-size: .63rem !important;
    font-weight: 860 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button:last-child {
    border-right: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button.is-active {
    color: #0f172a !important;
    background: #f8fafc !important;
    box-shadow: inset 0 -2px 0 #334155 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav span {
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav b {
    min-width: 18px !important;
    padding: 1px 5px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 2px !important;
    background: #fff !important;
    color: #334155 !important;
    font-size: .55rem !important;
    font-weight: 900 !important;
    text-align: center !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn {
    min-height: 50px !important;
    display: grid !important;
    grid-template-rows: auto auto !important;
    align-content: center !important;
    gap: 2px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-status {
    display: block !important;
    color: #64748b !important;
    font-size: .55rem !important;
    font-weight: 820 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active .tenant-mobile-nav-status {
    color: #1d4ed8 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-ops-status {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: center !important;
    padding: 9px 10px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 3px !important;
    background: #f8fafc !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-ops-status div {
    display: grid !important;
    gap: 2px !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-ops-status strong {
    color: #0f172a !important;
    font-size: .68rem !important;
    font-weight: 940 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-ops-status small {
    color: #64748b !important;
    font-size: .58rem !important;
    font-weight: 760 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips span {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 32px !important;
    padding: 5px 7px !important;
    border: 1px solid #d8e0ea !important;
    border-radius: 3px !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips b {
    color: #0f172a !important;
    font-size: .78rem !important;
    font-weight: 940 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips small {
    color: #64748b !important;
    font-size: .56rem !important;
    font-weight: 820 !important;
    text-transform: uppercase !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-timeline-row {
    min-height: 116px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card.risk {
    min-height: 110px !important;
    gap: 9px !important;
    padding: 12px 10px !important;
    border: 1px solid #d8e0ea !important;
    border-left: 3px solid #cbd5e1 !important;
    border-radius: 3px !important;
    }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-timeline-row.is-selected .tenant-timeline-mobile-card.hvx250-mobile-work-card,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card.is-selected {
    border-color: #94a3b8 !important;
    border-left-color: #334155 !important;
    background: #f7faff !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 2px !important;
    padding: 8px !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 3px solid #334155 !important;
    border-radius: 3px !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action div {
    display: grid !important;
    gap: 2px !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action b {
    color: #0f172a !important;
    font-size: .66rem !important;
    font-weight: 920 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action small {
    color: #64748b !important;
    font-size: .56rem !important;
    font-weight: 760 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action .hvx100-mobile-primary-action {
    width: auto !important;
    min-width: 126px !important;
    min-height: 40px !important;
    border-radius: 3px !important;
    background: #fff !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    font-size: .68rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-main strong {
    font-size: .86rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    margin-top: 8px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence article {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    column-gap: 8px !important;
    row-gap: 1px !important;
    align-items: center !important;
    min-height: 40px !important;
    padding: 7px 8px !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 2px solid #cbd5e1 !important;
    border-radius: 3px !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence article:nth-child(n+4) {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence article span {
    grid-row: 1 / 3 !important;
    min-width: 44px !important;
    padding: 3px 5px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 2px !important;
    background: #f8fafc !important;
    color: #334155 !important;
    font-size: .52rem !important;
    font-weight: 920 !important;
    text-align: center !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence article strong {
    min-width: 0 !important;
    color: #0f172a !important;
    font-size: .68rem !important;
    font-weight: 900 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence article small {
    min-width: 0 !important;
    color: #64748b !important;
    font-size: .58rem !important;
    font-weight: 760 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

/* Final density/affordance consolidation for score-critical surfaces. */
html body.tenant-app-body[data-app-surface="workspace"] #app-filter-facet-state {
  margin: 10px 24px 14px !important;
  border-left-width: 1px !important;
  background: #fff !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-filter-facet-state .tenant-filter-state-line {
  padding: 10px 12px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-filter-facet-state .tenant-filter-summary-chips span {
  min-height: 22px !important;
  border-color: #e2e8f0 !important;
  background: #f8fafc !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-filter-facet-state .tenant-filter-facet-tokens--sentence,
html body.tenant-app-body[data-app-surface="workspace"] #app-filter-facet-state .tenant-filter-facet-tokens {
  padding: 8px 12px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-builder-row {
  min-height: 56px !important;
  padding: 10px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-workspace-filter-actions {
  padding: 12px 24px !important;
}

html body.mail-body .mail-workspace-tab {
  min-height: 30px !important;
  border-color: #d8e0ea !important;
  background: #fff !important;
}

html body.mail-body .mail-workspace-tab.active {
  border-color: #94a3b8 !important;
  background: #f8fafc !important;
  box-shadow: inset 0 -2px 0 #334155 !important;
}

html body.mail-body .hvx100-conversation-row td {
  padding: 8px 10px !important;
  border-bottom-color: #e8edf3 !important;
}

html body.mail-body .hvx100-conversation-row.active td {
  background: #f8fafc !important;
}

html body.mail-body .hvx100-conversation-row.active .hvx100-conversation-open strong::before {
  margin-right: 4px !important;
}

html body.mail-body .mail-conversation-triage.hvx18-sla-badge,
html body.mail-body .hvx100-conversation-next-state {
  min-width: 76px !important;
  border-left-width: 2px !important;
  padding: 4px 6px !important;
}

html body.mail-body .hvx100-conversation-next-state b,
html body.mail-body .mail-conversation-triage.hvx18-sla-badge strong {
  font-size: .64rem !important;
}

html body.mail-body .hvx100-conversation-next-state small,
html body.mail-body .mail-conversation-triage.hvx18-sla-badge small {
  font-size: .56rem !important;
}

html body.mail-body #mail-compose-modal .mail-compose-card {
  padding: 18px 22px !important;
}

html body.mail-body #mail-compose-modal #compose-send-blocker-banner {
  margin: 0 0 8px !important;
  padding: 8px 10px !important;
  border-left-width: 2px !important;
}

html body.mail-body #mail-compose-modal .mail-compose-field-group-label {
  padding-top: 6px !important;
}

html body.mail-body #mail-compose-modal .mail-compose-actions.mail-modal-actions #compose-send-btn:disabled {
  border-color: #94a3b8 !important;
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

html body.mail-body #mail-compose-modal .mail-compose-actions.mail-modal-actions #compose-send-btn:disabled::after {
  content: "Missing fields" !important;
  display: block !important;
  color: #475569 !important;
  font-size: .56rem !important;
  font-weight: 820 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-date-context::after {
  content: " · Queue badge marks follow-up signals" !important;
  color: #64748b !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day.has-queue-work::after {
  content: "Queue" !important;
  width: auto !important;
  min-width: 38px !important;
  padding: 0 5px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day {
  min-height: 62px !important;
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active {
    border-color: #334155 !important;
    box-shadow: inset 0 3px 0 #1f2937 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips span {
    min-height: 36px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts span {
    min-height: 38px !important;
  }
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 60 !important;
    min-height: 62px !important;
    padding: 6px 8px max(6px, env(safe-area-inset-bottom)) !important;
    border-top: 1px solid #cbd5e1 !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 -8px 18px rgba(15, 23, 42, .08) !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-admin-entry,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.hidden {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn {
    display: grid !important;
    grid-template-rows: auto auto auto !important;
    align-content: center !important;
    gap: 1px !important;
    min-height: 50px !important;
    padding: 4px 2px !important;
    border: 1px solid transparent !important;
    border-radius: 3px !important;
    background: transparent !important;
    color: #475569 !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active {
    border-color: #94a3b8 !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    box-shadow: inset 0 2px 0 #334155 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-icon,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-label,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-status {
    display: block !important;
    text-align: center !important;
    line-height: 1.05 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-icon {
    color: inherit !important;
    font-size: .56rem !important;
    font-weight: 940 !important;
    text-transform: uppercase !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-label {
    color: inherit !important;
    font-size: .62rem !important;
    font-weight: 880 !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-status {
    color: #64748b !important;
    font-size: .52rem !important;
    font-weight: 820 !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-app-shell {
    padding-bottom: 70px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-timeline-row,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card.risk {
    min-height: auto !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card.risk {
    display: grid !important;
    gap: 10px !important;
    padding: 12px !important;
    border: 1px solid #d8e0ea !important;
    border-left: 3px solid #cbd5e1 !important;
    border-radius: 3px !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-timeline-row.is-selected .tenant-timeline-mobile-card.hvx250-mobile-work-card {
    border-color: #94a3b8 !important;
    border-left-color: #334155 !important;
    background: #f8fafc !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-row-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    align-items: center !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-row-head span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    color: #334155 !important;
    font-size: .62rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-row-head b {
    display: inline-grid !important;
    place-items: center !important;
    min-width: 26px !important;
    min-height: 22px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 3px !important;
    background: #fff !important;
    color: #0f172a !important;
    font-size: .58rem !important;
    font-weight: 940 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-row-head time {
    color: #475569 !important;
    font-size: .62rem !important;
    font-weight: 820 !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-main strong {
    color: #0f172a !important;
    font-size: .9rem !important;
    font-weight: 920 !important;
    line-height: 1.14 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-main small {
    color: #64748b !important;
    font-size: .68rem !important;
    font-weight: 760 !important;
    line-height: 1.18 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts span {
    display: grid !important;
    gap: 2px !important;
    min-width: 0 !important;
    min-height: 42px !important;
    padding: 6px 7px !important;
    border: 1px solid #d8e0ea !important;
    border-radius: 3px !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts small {
    color: #64748b !important;
    font-size: .52rem !important;
    font-weight: 900 !important;
    letter-spacing: .04em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts strong {
    min-width: 0 !important;
    color: #0f172a !important;
    font-size: .62rem !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-action-row,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx280-mobile-collapsed-rows {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 8px !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 3px solid #334155 !important;
    border-radius: 3px !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action .hvx100-mobile-primary-action {
    width: 100% !important;
    min-height: 42px !important;
    border-radius: 3px !important;
    background: #1f2937 !important;
    border-color: #1f2937 !important;
    color: #fff !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts {
    grid-template-columns: 1fr !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts span {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 34px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts span::before,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts span::after,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts span + span::before,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts span:not(:last-child)::after {
    display: none !important;
    content: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts small,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts strong {
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action small {
    white-space: normal !important;
  }
}

/* Score 10 terminal IA pass: settings administration, compose send contract, and mobile work queue. */
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-hero {
  grid-template-columns: minmax(220px, .74fr) minmax(0, 1.26fr) !important;
  gap: 14px !important;
  padding: 16px !important;
  border-color: #d8e0ea !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-kicker {
  color: #475569 !important;
  font-size: .64rem !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-hero h2 {
  margin: 2px 0 4px !important;
  color: #0f172a !important;
  font-size: 1.02rem !important;
  line-height: 1.08 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-hero-text {
  max-width: 42ch !important;
  color: #64748b !important;
  font-size: .75rem !important;
  line-height: 1.35 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-shortcuts-wrap {
  gap: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-shortcuts-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 28px !important;
  padding-bottom: 7px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-shortcuts-head strong,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-shortcut-group-head strong,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-category-divider strong {
  color: #0f172a !important;
  font-size: .69rem !important;
  font-weight: 940 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-shortcut-group {
  display: grid !important;
  gap: 6px !important;
  margin: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-shortcut-group + .tenant-settings-shortcut-group {
  margin-top: 8px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-shortcut-group-head,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-category-divider {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 28px !important;
  padding: 5px 8px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 3px !important;
  background: #f8fafc !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-shortcut-group-head span,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-category-divider span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 19px !important;
  padding: 0 6px !important;
  border: 1px solid #d8e0ea !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #475569 !important;
  font-size: .58rem !important;
  font-weight: 880 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-shortcut-group-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-shortcut {
  position: relative !important;
  min-height: 58px !important;
  padding: 9px 34px 9px 10px !important;
  border: 1px solid #d8e0ea !important;
  border-left: 3px solid #cbd5e1 !important;
  border-radius: 3px !important;
  background: #fff !important;
  color: #0f172a !important;
  box-shadow: none !important;
  text-align: left !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-shortcut::after {
  content: "Open" !important;
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #64748b !important;
  font-size: .58rem !important;
  font-weight: 860 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-shortcut.is-open {
  border-left-color: #334155 !important;
  background: #f8fafc !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-shortcut.is-open::after {
  content: "Open now" !important;
  color: #334155 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-shortcut strong {
  color: #0f172a !important;
  font-size: .76rem !important;
  font-weight: 920 !important;
  line-height: 1.12 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-shortcut small {
  color: #64748b !important;
  font-size: .66rem !important;
  line-height: 1.22 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-shortcut-state {
  display: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-details {
  border: 1px solid #d8e0ea !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-details[open] {
  border-color: #94a3b8 !important;
  box-shadow: inset 3px 0 0 #334155 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-summary {
  position: relative !important;
  min-height: 48px !important;
  padding: 10px 42px 10px 12px !important;
  border-radius: 3px !important;
  cursor: pointer !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-summary::after {
  content: "Open" !important;
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #64748b !important;
  font-size: .58rem !important;
  font-weight: 880 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings details[open] > .tenant-settings-summary::after {
  content: "Close" !important;
  color: #334155 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-summary:hover {
  background: #f8fafc !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-summary-copy strong {
  color: #0f172a !important;
  font-size: .8rem !important;
  font-weight: 920 !important;
  line-height: 1.1 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-summary-copy span {
  color: #64748b !important;
  font-size: .68rem !important;
  line-height: 1.22 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-body {
  padding: 12px !important;
  border-top: 1px solid #e2e8f0 !important;
}

html body.mail-body #mail-compose-modal .mail-compose-card {
  max-width: min(980px, calc(100vw - 32px)) !important;
  padding: 16px 20px !important;
}

html body.mail-body #mail-compose-modal #compose-send-blocker-banner {
  margin: 0 0 8px !important;
  padding: 8px 10px !important;
  border-left-color: #92400e !important;
  background: #fff !important;
}

html body.mail-body #mail-compose-modal #compose-send-blocker-banner strong {
  font-size: .72rem !important;
}

html body.mail-body #mail-compose-modal #compose-send-blocker-banner span {
  font-size: .64rem !important;
}

html body.mail-body #mail-compose-modal .mail-compose-actions.mail-modal-actions {
  position: relative !important;
  grid-template-columns: auto auto auto minmax(138px, auto) !important;
  padding-top: 18px !important;
}

html body.mail-body #mail-compose-modal .mail-compose-actions.mail-modal-actions::before {
  content: "Send is locked until To, Subject, and Message are complete." !important;
  position: absolute !important;
  left: 0 !important;
  top: 4px !important;
  color: #64748b !important;
  font-size: .62rem !important;
  font-weight: 820 !important;
}

html body.mail-body #mail-compose-modal .mail-compose-actions.mail-modal-actions #compose-send-btn:disabled {
  background: #e2e8f0 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

html body.mail-body #mail-compose-modal .mail-compose-actions.mail-modal-actions #compose-send-btn:disabled::after {
  content: "Disabled" !important;
  color: #475569 !important;
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav {
    min-height: 66px !important;
    padding-top: 7px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn {
    border-radius: 4px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active {
    border-color: #64748b !important;
    background: #f1f5f9 !important;
    box-shadow: inset 0 3px 0 #1f2937 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-label {
    font-size: .68rem !important;
    font-weight: 940 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-status {
    font-size: .55rem !important;
    font-weight: 860 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-main strong {
    font-size: .98rem !important;
    line-height: 1.18 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-main small {
    font-size: .72rem !important;
    line-height: 1.25 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts span {
    min-height: 38px !important;
    padding: 7px 8px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts small {
    font-size: .56rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts strong {
    font-size: .7rem !important;
    line-height: 1.08 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-hero {
    grid-template-columns: 1fr !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-settings .tenant-settings-shortcut-group-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn {
    grid-template-rows: auto auto !important;
    min-height: 48px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-status {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-icon {
    font-size: .58rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-label {
    font-size: .72rem !important;
  }
}

/* Score 10 plateau pass: remove duplicated modal actions, flatten mobile queue cards, and consolidate table states. */
html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-workspace-filter-head-actions {
  display: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter {
  max-width: 760px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-workspace-filter-head {
  padding-bottom: 10px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-facet-state {
  margin-top: 10px !important;
  padding: 10px !important;
  border-left-width: 2px !important;
  border-radius: 3px !important;
  background: #fff !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-facet-tokens--sentence button {
  border-color: #cbd5e1 !important;
  background: #fff !important;
  color: #334155 !important;
  font-weight: 860 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-workspace-filter-actions {
  justify-content: flex-end !important;
  gap: 8px !important;
  padding: 10px 14px !important;
  border-top: 1px solid #e2e8f0 !important;
  background: #fff !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter #app-filter-clear {
  order: 2 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter #app-filter-apply {
  order: 3 !important;
  min-width: 116px !important;
}

html body.mail-body #mail-compose-modal #compose-send-blocker-banner {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
}

html body.mail-body #mail-compose-modal #compose-send-blocker-banner::after {
  content: "Recipients > Subject > Message" !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  padding: 0 8px !important;
  border: 1px solid #d8e0ea !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  color: #334155 !important;
  font-size: .6rem !important;
  font-weight: 880 !important;
  white-space: nowrap !important;
}

html body.mail-body #mail-compose-modal #compose-send-blocker-banner.is-ready::after {
  content: "Ready" !important;
  border-color: #bbf7d0 !important;
  background: #f0fdf4 !important;
  color: #166534 !important;
}

html body.mail-body .hvx100-conversation-row {
  border-top: 4px solid #fff !important;
}

html body.mail-body .hvx100-conversation-row td {
  padding-top: 9px !important;
  padding-bottom: 9px !important;
  border-bottom: 1px solid #d8e0ea !important;
}

html body.mail-body .hvx100-conversation-row.active td:first-child {
  box-shadow: inset 3px 0 0 #334155 !important;
}

html body.mail-body .mail-conversation-triage.hvx18-sla-badge,
html body.mail-body .hvx100-conversation-next-state {
  border-radius: 3px !important;
  background: #fff !important;
}

html body.mail-body .hvx100-conversation-next-state {
  border-left: 3px solid #b45309 !important;
  background: #fffaf0 !important;
}

html body.mail-body .hvx100-conversation-next-state small {
  color: #64748b !important;
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card.risk {
    gap: 8px !important;
    padding: 13px 14px !important;
    border: 1px solid #d8e0ea !important;
    border-left: 3px solid #334155 !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-row-head b {
    min-width: 24px !important;
    min-height: 20px !important;
    background: #f8fafc !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts {
    gap: 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts span {
    min-height: 29px !important;
    padding: 4px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts span + span {
    border-top: 1px solid #edf2f7 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts small {
    color: #64748b !important;
    font-size: .57rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts strong {
    font-size: .72rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action {
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 9px !important;
    padding: 8px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    border-left: 0 !important;
    background: transparent !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action .hvx100-mobile-primary-action {
    width: auto !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 3px !important;
  }
}

html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip {
  display: none;
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1px !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    border-bottom: 1px solid #cbd5e1 !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip span {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-width: 0 !important;
    min-height: 24px !important;
    padding: 0 7px !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #334155 !important;
    font-size: .58rem !important;
    font-weight: 820 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip b {
    color: #0f172a !important;
    font-weight: 940 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 55 !important;
    padding: 0 10px 8px !important;
    border-bottom: 1px solid #cbd5e1 !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button {
    min-height: 34px !important;
    border: 1px solid #d8e0ea !important;
    border-right-width: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #334155 !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button:first-child {
    border-radius: 3px 0 0 3px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button:last-child {
    border-right-width: 1px !important;
    border-radius: 0 3px 3px 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button.is-active {
    border-color: #64748b !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    box-shadow: inset 0 3px 0 #1f2937 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav span {
    font-size: .65rem !important;
    font-weight: 920 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-app-shell {
    padding-bottom: 0 !important;
  }
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip {
    grid-template-columns: 1fr !important;
    padding: 5px 12px !important;
    border-bottom: 1px solid #d8e0ea !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip span {
    min-height: 26px !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #475569 !important;
    font-size: .62rem !important;
    font-weight: 820 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav {
    gap: 6px !important;
    padding: 7px 12px !important;
    border-bottom: 1px solid #d8e0ea !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button:first-child,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button:last-child {
    min-height: 36px !important;
    border: 1px solid #d8e0ea !important;
    border-radius: 4px !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button.is-active {
    border-color: #475569 !important;
    background: #f8fafc !important;
    box-shadow: inset 0 3px 0 #1f2937 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav span {
    font-size: .68rem !important;
    font-weight: 920 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-ops-status {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 7px 0 !important;
    border: 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: transparent !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-ops-status > div:first-child strong {
    color: #0f172a !important;
    font-size: .68rem !important;
    font-weight: 920 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-ops-status > div:first-child small {
    color: #64748b !important;
    font-size: .58rem !important;
    font-weight: 760 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips {
    display: flex !important;
    flex: 0 0 auto !important;
    gap: 8px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips span {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 3px !important;
    min-height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips b {
    color: #0f172a !important;
    font-size: .72rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips small {
    color: #64748b !important;
    font-size: .54rem !important;
  }
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-continuity-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
  margin-top: 8px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-continuity-grid article {
  min-height: 48px !important;
  padding: 7px 8px !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 2px solid #cbd5e1 !important;
  border-radius: 3px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-continuity-grid article span {
  color: #64748b !important;
  font-size: .58rem !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-continuity-grid article strong {
  display: block !important;
  margin-top: 2px !important;
  color: #0f172a !important;
  font-size: .76rem !important;
  font-weight: 940 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-continuity-grid article small {
  display: block !important;
  margin-top: 1px !important;
  color: #64748b !important;
  font-size: .58rem !important;
  line-height: 1.15 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-evidence {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
  margin-top: 6px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-evidence article {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  grid-template-areas:
    "token title"
    "token meta" !important;
  gap: 1px 7px !important;
  min-height: 42px !important;
  padding: 7px 8px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 3px !important;
  background: #fff !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-evidence article span {
  grid-area: token !important;
  align-self: start !important;
  min-width: 24px !important;
  min-height: 20px !important;
  border: 1px solid #d8e0ea !important;
  border-radius: 3px !important;
  background: #f8fafc !important;
  color: #334155 !important;
  font-size: .58rem !important;
  font-weight: 920 !important;
  text-align: center !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-evidence article strong {
  grid-area: title !important;
  color: #0f172a !important;
  font-size: .7rem !important;
  font-weight: 920 !important;
  line-height: 1.12 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-evidence article small {
  grid-area: meta !important;
  color: #64748b !important;
  font-size: .58rem !important;
  line-height: 1.12 !important;
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-app-title,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-title {
    font-size: 1.42rem !important;
    line-height: 1.08 !important;
    margin-bottom: 6px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-ops-status {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-list {
    border: 1px solid #d8e0ea !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-timeline-row {
    border-bottom: 1px solid #e2e8f0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-timeline-row:last-child {
    border-bottom: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card.risk {
    border: 0 !important;
    border-left: 3px solid #334155 !important;
    border-radius: 0 !important;
    padding: 14px 14px 12px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-row-head {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-row-head span {
    font-size: .6rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-row-head time {
    font-size: .6rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-main strong {
    font-size: .92rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-main small {
    font-size: .68rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts {
    border-top-color: #edf2f7 !important;
    border-bottom-color: #edf2f7 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts span {
    min-height: 27px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action {
    padding-top: 7px !important;
  }
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav {
    gap: 0 !important;
    padding: 0 12px !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #d8e0ea !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button:first-child,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button:last-child {
    min-height: 40px !important;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #475569 !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button.is-active {
    border-bottom-color: #1f2937 !important;
    background: transparent !important;
    color: #0f172a !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav span {
    font-size: .69rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card.risk {
    border-left-width: 2px !important;
    border-left-color: #475569 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-main strong {
    font-size: .88rem !important;
    line-height: 1.16 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action .hvx100-mobile-primary-action {
    min-height: 32px !important;
  }
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-workqueue-row.is-selected .hvx70-row-next-label::before {
  display: none !important;
  content: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx70-row-next-label {
  min-width: 96px !important;
  padding: 6px 9px !important;
  border: 1px solid #d8e0ea !important;
  border-left: 3px solid #b45309 !important;
  border-radius: 3px !important;
  background: #fffaf0 !important;
  color: #0f172a !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-continuity {
  margin-top: 8px !important;
  padding: 8px 10px !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 0 !important;
  border-radius: 3px !important;
  background: #fff !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-continuity-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-continuity-head > div {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  min-width: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-continuity-head span {
  color: #047857 !important;
  font-size: .62rem !important;
  font-weight: 920 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-continuity-head strong {
  font-size: .72rem !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-continuity-head small {
  color: #64748b !important;
  font-size: .62rem !important;
  font-weight: 760 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-workqueue-ledger {
  margin-top: 6px !important;
  border: 0 !important;
  background: transparent !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-workqueue-ledger-head {
  min-height: 30px !important;
  padding: 5px 0 !important;
  border-top: 1px solid #edf2f7 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-workqueue-ledger-head strong {
  font-size: .62rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card.risk {
    gap: 9px !important;
    padding: 13px 13px 12px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-main strong {
    font-size: 1rem !important;
    line-height: 1.14 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-main small {
    font-size: .7rem !important;
    line-height: 1.18 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts {
    display: grid !important;
    gap: 1px !important;
    padding: 6px 8px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 3px !important;
    background: #f8fafc !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts span,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts span + span {
    min-height: 24px !important;
    padding: 2px 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts small {
    color: #64748b !important;
    font-size: .58rem !important;
    font-weight: 920 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts strong {
    color: #0f172a !important;
    font-size: .76rem !important;
    font-weight: 940 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action {
    display: flex !important;
    justify-content: flex-end !important;
    padding-top: 1px !important;
    border: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action > div {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action .hvx100-mobile-primary-action {
    width: auto !important;
    min-width: 128px !important;
    min-height: 34px !important;
  }
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip {
    padding: 4px 12px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav {
    padding: 0 12px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button:first-child,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button:last-child {
    min-height: 35px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-list {
    margin-top: 8px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card.risk {
    gap: 7px !important;
    padding: 11px 12px 10px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-row-head b {
    min-width: 22px !important;
    min-height: 18px !important;
    font-size: .54rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-main strong {
    font-size: .96rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    padding: 5px 0 !important;
    border: 0 !important;
    border-top: 1px solid #edf2f7 !important;
    border-bottom: 1px solid #edf2f7 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts span,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts span + span {
    display: grid !important;
    justify-content: start !important;
    align-items: start !important;
    min-height: 32px !important;
    padding: 0 6px !important;
    border: 0 !important;
    border-right: 1px solid #edf2f7 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts span:last-child {
    border-right: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts small {
    font-size: .52rem !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts strong {
    font-size: .66rem !important;
    line-height: 1.08 !important;
    white-space: normal !important;
  }
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar {
    min-height: 58px !important;
    padding: 8px 10px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-toolbar-menu {
    width: 28px !important;
    height: 28px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-app-brand-mark {
    width: 28px !important;
    height: 28px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-app-brand-appname {
    font-size: .92rem !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-shell-identity-btn {
    min-height: 36px !important;
    padding: 5px 8px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip span {
    min-height: 22px !important;
    font-size: .58rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button:first-child,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button:last-child {
    min-height: 32px !important;
  }
}

/* Score 10 mobile IA reset: mobile Timeline is an operator queue, not stacked desktop cards. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-app-shell {
    padding-bottom: 18px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-workqueue-mobile {
    display: grid !important;
    gap: 8px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-ops-status {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    padding: 7px 9px !important;
    border: 1px solid #d8e0ea !important;
    border-radius: 3px !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips {
    display: inline-flex !important;
    gap: 5px !important;
    align-items: center !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips span {
    display: inline-flex !important;
    gap: 5px !important;
    min-height: 24px !important;
    padding: 2px 6px !important;
    border-radius: 2px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-group-row {
    min-height: 26px !important;
    padding: 4px 7px !important;
    border: 0 !important;
    border-top: 1px solid #edf2f7 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-group-row strong {
    font-size: .62rem !important;
    font-weight: 940 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-timeline-row {
    min-height: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card.risk,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card.watch,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card.logged {
    display: grid !important;
    gap: 6px !important;
    min-height: 0 !important;
    padding: 9px 10px !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 3px solid #cbd5e1 !important;
    border-radius: 3px !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card.risk {
    border-left-color: #92400e !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-timeline-row.is-selected .tenant-timeline-mobile-card.hvx250-mobile-work-card {
    border-color: #94a3b8 !important;
    border-left-color: #1f2937 !important;
    background: #fbfcfe !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    align-items: center !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker b {
    display: inline-grid !important;
    place-items: center !important;
    min-width: 22px !important;
    min-height: 18px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 2px !important;
    background: #fff !important;
    color: #0f172a !important;
    font-size: .54rem !important;
    font-weight: 950 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker small {
    min-width: 0 !important;
    color: #334155 !important;
    font-size: .6rem !important;
    font-weight: 900 !important;
    letter-spacing: .025em !important;
    line-height: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker time {
    color: #64748b !important;
    font-size: .6rem !important;
    font-weight: 820 !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-main {
    display: grid !important;
    gap: 2px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-main strong {
    color: #0f172a !important;
    font-size: .84rem !important;
    font-weight: 930 !important;
    line-height: 1.12 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-main small {
    color: #64748b !important;
    font-size: .62rem !important;
    font-weight: 760 !important;
    line-height: 1.12 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts.hvx420-mobile-meta-line {
    display: block !important;
    gap: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line span,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx270-mobile-facts.hvx420-mobile-meta-line span {
    display: block !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #475569 !important;
    font-size: .64rem !important;
    font-weight: 830 !important;
    line-height: 1.12 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line small,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line strong,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line span::before,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line span::after {
    display: none !important;
    content: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-action-row,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx280-mobile-collapsed-rows {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    align-items: center !important;
    padding-top: 6px !important;
    border: 0 !important;
    border-top: 1px solid #edf2f7 !important;
    background: transparent !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action span {
    display: block !important;
    min-width: 0 !important;
    color: #64748b !important;
    font-size: .6rem !important;
    font-weight: 820 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action span b {
    margin-right: 5px !important;
    color: #334155 !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action .hvx100-mobile-primary-action {
    width: auto !important;
    min-width: 104px !important;
    min-height: 32px !important;
    padding: 0 10px !important;
    border: 1px solid #94a3b8 !important;
    border-radius: 3px !important;
    background: #1f2937 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: .64rem !important;
    font-weight: 920 !important;
  }
}

/* Final conversation selection authority: keep row focus subtle and aligned. */
html body.mail-body .hvx100-conversation-row.active td,
html body.mail-body .hvx100-conversation-row.active:not(.is-selected) td,
html body.mail-body .hvx100-conversation-row[aria-selected="true"] td,
html body.mail-body .hvx100-conversation-row.is-selected td {
  background: #f8fafc !important;
  border-top: 1px solid #d8e0ea !important;
  border-bottom: 1px solid #d8e0ea !important;
  box-shadow: none !important;
}

html body.mail-body .hvx100-conversation-row.active td:first-child,
html body.mail-body .hvx100-conversation-row.active:not(.is-selected) td:first-child,
html body.mail-body .hvx100-conversation-row[aria-selected="true"] td:first-child,
html body.mail-body .hvx100-conversation-row.is-selected td:first-child {
  border-left: 0 !important;
  box-shadow: inset 3px 0 0 #334155 !important;
}

html body.mail-body .hvx100-conversation-row.active td:first-child::after,
html body.mail-body .hvx100-conversation-row.active:not(.is-selected) td:first-child::after,
html body.mail-body .hvx100-conversation-row[aria-selected="true"] td:first-child::after,
html body.mail-body .hvx100-conversation-row.is-selected td:first-child::after,
html body.mail-body .hvx100-conversation-row.active .hvx100-conversation-open strong::before,
html body.mail-body .hvx100-conversation-row[aria-selected="true"] .hvx100-conversation-open strong::before {
  display: none !important;
  content: none !important;
}

html body.mail-body .hvx100-conversation-row.active td:not(:first-child),
html body.mail-body .hvx100-conversation-row[aria-selected="true"] td:not(:first-child),
html body.mail-body .hvx100-conversation-row.is-selected td:not(:first-child) {
  border-left-color: transparent !important;
  box-shadow: none !important;
}

html body.mail-body .hvx100-conversation-row.active .hvx100-conversation-next-state,
html body.mail-body .hvx100-conversation-row[aria-selected="true"] .hvx100-conversation-next-state,
html body.mail-body .hvx100-conversation-row.is-selected .hvx100-conversation-next-state {
  border-color: #d8e0ea !important;
  border-left-color: #cbd5e1 !important;
  background: #fff !important;
}
