/*
 * Final app scoring layer for operational app surfaces.
 * Loaded after mobile final CSS.
 */

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal {
  border-color: #cbd5e1 !important;
  border-left-color: #64748b !important;
  background: #fff !important;
  color: #334155 !important;
}

/* Score 10 Calendar density: schedule queue and month affordance stay above the fold. */
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-head {
  padding: 14px 20px 10px !important;
  gap: 12px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-head .card-title {
  margin: 0 0 3px !important;
  font-size: 1.02rem !important;
  line-height: 1.1 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-head .meta {
  font-size: .76rem !important;
  line-height: 1.18 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-mode-tabs {
  padding: 2px !important;
  border-radius: 5px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-mode-tabs button {
  min-height: 30px !important;
  padding: 0 11px !important;
  border-radius: 4px !important;
  font-size: .68rem !important;
}

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

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

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-ops-row {
  min-height: 38px !important;
  padding: 7px 12px !important;
  grid-template-columns: minmax(120px, .9fr) minmax(84px, .5fr) minmax(180px, 1fr) minmax(132px, auto) !important;
}

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

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-ops-row strong,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-ops-row span {
  font-size: .68rem !important;
  line-height: 1.08 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-ops-row button {
  min-height: 28px !important;
  padding: 0 11px !important;
  border-radius: 4px !important;
  font-size: .64rem !important;
}

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

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-month-label {
  font-size: 1.18rem !important;
  line-height: 1.05 !important;
}

/* Score 10 structural pass: mobile queue records, calendar signal markers, voice setup density. */
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day-body {
  display: grid !important;
  align-content: start !important;
  gap: 3px !important;
  min-height: 22px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-signal-marker {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: start !important;
  min-width: 34px !important;
  min-height: 15px !important;
  padding: 0 5px !important;
  border: 1px solid #fdba74 !important;
  border-radius: 3px !important;
  background: #fff7ed !important;
  color: #7c2d12 !important;
  font-size: .5rem !important;
  font-weight: 920 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 4px !important;
  min-height: 18px !important;
  padding: 2px 5px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal .tenant-calendar-chip-time {
  color: #9a3412 !important;
  font-size: .49rem !important;
  font-weight: 940 !important;
  text-transform: uppercase !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal .tenant-calendar-chip-title {
  overflow: hidden !important;
  color: #334155 !important;
  font-size: .53rem !important;
  font-weight: 830 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-strip {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-top: 14px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-strip span {
  min-height: 42px !important;
  padding: 8px 10px !important;
  border-radius: 5px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-list,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls #app-voice-readiness-list {
  gap: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-item {
  min-height: 48px !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-item strong {
  font-size: .82rem !important;
  line-height: 1.08 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-item .meta {
  margin: 2px 0 0 !important;
  color: #475569 !important;
  font-size: .74rem !important;
  line-height: 1.18 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-review-link {
  max-width: 118px !important;
  overflow: hidden !important;
  text-align: right !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-stage-stack {
    gap: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-stage-shell-heading {
    padding: 12px 20px 8px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx100-mobile-ops-status {
    margin: 0 0 4px !important;
    padding: 8px 10px !important;
    border-radius: 5px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.risk,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.watch,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.logged {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "top top"
      "copy action"
      "state action" !important;
    column-gap: 10px !important;
    row-gap: 4px !important;
    min-height: 58px !important;
    padding: 8px 12px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-top {
    grid-area: top !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx960-mobile-age {
    color: #64748b !important;
    font-size: .58rem !important;
    font-weight: 780 !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy {
    grid-area: copy !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy small {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy small b,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy small span {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy small b {
    max-width: 92px !important;
    color: #334155 !important;
    font-weight: 900 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state {
    grid-area: state !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx960-mobile-next {
    min-width: 0 !important;
    overflow: hidden !important;
    color: #334155 !important;
    font-weight: 850 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command {
    grid-area: action !important;
    align-self: center !important;
    width: 92px !important;
    min-height: 30px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx740-mobile-evidence-summary {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 4px 12px 0 !important;
    padding: 6px 8px !important;
    border-radius: 4px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx740-mobile-evidence-summary span,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx740-mobile-evidence-summary small {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx740-mobile-evidence-summary strong {
    color: #475569 !important;
    font-size: .6rem !important;
    font-weight: 820 !important;
  }
}

/* Score 10 correction: mobile action is primary; metadata stays deliberate. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.risk,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.watch,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.logged {
    column-gap: 12px !important;
    row-gap: 6px !important;
    min-height: 76px !important;
    padding: 12px 14px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy {
    gap: 4px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy strong {
    font-size: .92rem !important;
    line-height: 1.1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy small {
    gap: 7px !important;
    color: #475569 !important;
    font-size: .65rem !important;
    line-height: 1.08 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state {
    gap: 7px !important;
    padding-top: 1px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state span,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state .hvx960-mobile-next {
    font-size: .63rem !important;
    line-height: 1.08 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command.is-selected {
    width: 108px !important;
    min-height: 34px !important;
    border: 1px solid rgba(37, 99, 235, .24) !important;
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08) !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command span,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command b {
    color: #ffffff !important;
    font-size: .64rem !important;
    font-weight: 900 !important;
    opacity: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command:hover,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command:focus-visible {
    background: #1d4ed8 !important;
  }
}

html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search-label,
html body.tenant-app-body[data-app-surface="workspace"] .tenant-toolbar-menu-label {
  display: none !important;
}

@media (max-width: 760px) {
  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 .tenant-mobile-admin-entry,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.tenant-mobile-admin-entry {
    display: none !important;
    visibility: hidden !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav {
    min-height: 70px !important;
    padding: 7px 8px max(12px, env(safe-area-inset-bottom)) !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn[aria-current="page"] {
    min-height: 40px !important;
    padding: 5px 3px !important;
    border-radius: 5px !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-workqueue-mobile {
    margin-top: 2px !important;
    padding: 0 10px !important;
    border-radius: 5px !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: 5px !important;
    min-height: 0 !important;
    padding: 8px 8px 8px 10px !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-priority {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 18px !important;
    padding: 0 5px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 3px !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    font-size: .56rem !important;
    font-weight: 940 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-state,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-owner {
    display: inline-block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #475569 !important;
    font-size: .58rem !important;
    font-weight: 860 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-transform: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-state.is-overdue,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-state.is-watch,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-owner.is-owner {
    color: #9a3412 !important;
    font-weight: 920 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker time {
    color: #64748b !important;
    font-size: .56rem !important;
    font-weight: 820 !important;
    line-height: 1 !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 {
    font-size: .77rem !important;
    line-height: 1.06 !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    min-width: 0 !important;
    overflow: hidden !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 .hvx420-mobile-meta-line span.is-overdue,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line span.is-owner,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line span.is-touch {
    display: inline !important;
    width: auto !important;
    max-width: 52% !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    box-shadow: none !important;
    font-size: .55rem !important;
    font-weight: 760 !important;
    line-height: 1 !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 span.is-channel {
    color: #334155 !important;
    font-weight: 820 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action {
    margin-top: 1px !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;
    border-radius: 5px !important;
    font-size: .68rem !important;
  }
}

/* Score 10 cross-surface density pass: Calls CTA, mobile readability, calendar legend. */
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls #app-open-calls-link.button {
  min-height: 34px !important;
  padding: 0 14px !important;
  border: 1px solid #94a3b8 !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #1e293b !important;
  box-shadow: none !important;
  font-size: .72rem !important;
  font-weight: 860 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls #app-open-calls-link.button:hover,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls #app-open-calls-link.button:focus-visible {
  border-color: #2563eb !important;
  background: #f8fbff !important;
  color: #1d4ed8 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar #app-calendar-date-context {
  color: #334155 !important;
  font-size: .66rem !important;
  font-weight: 760 !important;
  line-height: 1.15 !important;
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-toolbar-menu {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border-radius: 4px !important;
  }

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

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

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy strong {
    font-size: .84rem !important;
    line-height: 1.08 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy small {
    color: #475569 !important;
    font-size: .64rem !important;
    line-height: 1.08 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state span,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state time {
    font-size: .62rem !important;
    font-weight: 760 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command {
    width: 112px !important;
    font-size: .64rem !important;
  }
}

/* ABSOLUTE FINAL score-10 mobile action layer. Keep below every legacy mobile rule. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-title {
    margin: 4px 0 6px !important;
    padding: 0 24px !important;
    font-size: .92rem !important;
    font-weight: 900 !important;
    line-height: 1.04 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-workqueue-mobile {
    margin: 0 22px !important;
    padding: 0 !important;
    border-radius: 4px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card.hvx760-mobile-task-card {
    gap: 3px !important;
    padding: 7px 8px 7px 9px !important;
    border-radius: 3px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-state {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-height: 18px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #7c2d12 !important;
    font-size: .6rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-state::before {
    content: "" !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 999px !important;
    background: #c2410c !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx770-mobile-action-strip {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(112px, .72fr) !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 3px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx770-mobile-action-strip .hvx100-mobile-primary-action.hvx760-mobile-primary-action {
    min-height: 30px !important;
    padding: 0 10px !important;
    border: 1px solid #2563eb !important;
    border-radius: 3px !important;
    background: #2563eb !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: .64rem !important;
    font-weight: 880 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-details {
    display: block !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-details summary {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 30px !important;
    padding: 0 9px !important;
    border: 1px solid #d8e0ea !important;
    border-radius: 3px !important;
    background: #ffffff !important;
    color: #334155 !important;
    box-shadow: none !important;
    font-size: .62rem !important;
    font-weight: 840 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence {
    display: grid !important;
    gap: 1px !important;
    min-height: 34px !important;
    padding: 6px 8px !important;
    border-radius: 3px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-support {
    display: none !important;
  }
}

@media (min-width: 761px) {
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] .tenant-stage-grid,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline.tenant-stage-panel,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-stage-stack,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-productization-stack,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-customer-profile {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
    align-self: start !important;
  }
}

/* TRUE FINAL score-10 layer: overrides legacy mobile/task and desktop stretch rules above. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-title {
    margin: 4px 0 6px !important;
    padding: 0 24px !important;
    font-size: .92rem !important;
    font-weight: 900 !important;
    line-height: 1.04 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-workqueue-mobile {
    margin: 0 22px !important;
    padding: 0 !important;
    border-radius: 4px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card.hvx760-mobile-task-card {
    gap: 3px !important;
    padding: 7px 8px 7px 9px !important;
    border-radius: 3px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-state {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-height: 18px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #7c2d12 !important;
    font-size: .6rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-state::before {
    content: "" !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 999px !important;
    background: #c2410c !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx770-mobile-action-strip {
    display: flex !important;
    justify-content: flex-start !important;
    margin-top: 2px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx770-mobile-action-strip .hvx100-mobile-primary-action.hvx760-mobile-primary-action {
    min-width: 126px !important;
    min-height: 28px !important;
    padding: 0 10px !important;
    border: 1px solid #334155 !important;
    border-radius: 3px !important;
    background: #334155 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: .63rem !important;
    font-weight: 860 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence {
    display: grid !important;
    gap: 1px !important;
    min-height: 34px !important;
    padding: 6px 8px !important;
    border-radius: 3px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-support {
    display: none !important;
  }
}

@media (min-width: 761px) {
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] .tenant-stage-grid,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline.tenant-stage-panel,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-stage-stack,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-productization-stack,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-customer-profile {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
    align-self: start !important;
  }
}

/* Score 10 work-queue IA reset: support material is progressive disclosure, not a competing dashboard. */
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-support {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-disclosure {
  overflow: hidden !important;
  border: 1px solid #d8e0ea !important;
  border-radius: 5px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-summary {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) auto auto !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 42px !important;
  padding: 8px 10px !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-summary::-webkit-details-marker {
  display: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-title {
  display: grid !important;
  gap: 2px !important;
  min-width: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-title strong {
  overflow: hidden !important;
  color: #0f172a !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-title small {
  overflow: hidden !important;
  color: #64748b !important;
  font-size: .66rem !important;
  font-weight: 720 !important;
  line-height: 1.05 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-metrics {
  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 .hvx880-workqueue-evidence-metrics b {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 22px !important;
  padding: 0 8px !important;
  border: 1px solid #d8e0ea !important;
  border-radius: 4px !important;
  background: #f8fafc !important;
  color: #334155 !important;
  font-size: .66rem !important;
  font-weight: 820 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-open {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 26px !important;
  padding: 0 9px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  color: #475569 !important;
  font-size: .67rem !important;
  font-weight: 820 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-disclosure[open] .hvx880-workqueue-evidence-open {
  border-color: #94a3b8 !important;
  background: #f8fafc !important;
  color: #0f172a !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-body {
  display: grid !important;
  gap: 10px !important;
  padding: 10px !important;
  border-top: 1px solid #e2e8f0 !important;
  background: #fbfdff !important;
}

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

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-grid article {
  display: grid !important;
  gap: 3px !important;
  min-height: 0 !important;
  padding: 8px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-grid span,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-grid small,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-foot span {
  color: #64748b !important;
  font-size: .65rem !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-grid strong,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-foot strong {
  color: #0f172a !important;
  font-size: .76rem !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-table {
  width: 100% !important;
  border-collapse: collapse !important;
  overflow: hidden !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-table th,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-table td {
  padding: 7px 8px !important;
  border-bottom: 1px solid #edf2f7 !important;
  color: #475569 !important;
  font-size: .68rem !important;
  line-height: 1.18 !important;
  text-align: left !important;
  vertical-align: top !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-table th {
  background: #f8fafc !important;
  color: #64748b !important;
  font-size: .61rem !important;
  font-weight: 860 !important;
  text-transform: uppercase !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-table tr:last-child td {
  border-bottom: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-table strong {
  display: block !important;
  color: #0f172a !important;
  font-size: .72rem !important;
  font-weight: 860 !important;
  line-height: 1.12 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-table small {
  display: block !important;
  margin-top: 2px !important;
  color: #64748b !important;
  font-size: .62rem !important;
  font-weight: 680 !important;
  line-height: 1.12 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-foot {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 0 2px !important;
}

@media (max-width: 900px) {
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-summary {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-metrics {
    display: none !important;
  }

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

/* Score 10 mobile IA: one primary task action; evidence is secondary. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card.hvx760-mobile-task-card {
    gap: 4px !important;
    padding: 7px 7px 7px 9px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-card-copy {
    gap: 1px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-card-copy strong {
    font-size: .78rem !important;
    line-height: 1.05 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-card-copy small {
    font-size: .56rem !important;
    line-height: 1.02 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx770-mobile-action-strip {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 7px !important;
    margin-top: 2px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx770-mobile-action-strip .hvx100-mobile-primary-action.hvx760-mobile-primary-action {
    order: 1 !important;
    min-height: 32px !important;
    padding: 0 12px !important;
    border-color: #1f2937 !important;
    border-radius: 4px !important;
    background: #1f2937 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: .68rem !important;
    font-weight: 900 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx770-mobile-action-strip .hvx760-mobile-details {
    order: 2 !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx770-mobile-action-strip .hvx760-mobile-details summary {
    min-height: 30px !important;
    padding: 0 8px !important;
    border: 1px solid #d8e0ea !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: #475569 !important;
    box-shadow: none !important;
    font-size: .6rem !important;
    font-weight: 820 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx770-mobile-action-strip .hvx760-mobile-details summary span {
    max-width: 64px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx770-mobile-action-strip .hvx760-mobile-details div {
    margin-top: 5px !important;
    padding: 6px !important;
    border-radius: 4px !important;
    background: #f8fafc !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-support {
    margin-top: 6px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-summary {
    min-height: 36px !important;
    padding: 6px 8px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-title strong {
    font-size: .7rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-evidence-title small {
    font-size: .56rem !important;
  }
}

/* Score 10 desktop density reset: sparse queues should not stretch into empty framed canvases. */
@media (min-width: 761px) {
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-stage-stack,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-productization-grid,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-productization-grid-wide,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-stage-grid,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-customer-profile,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx10-timeline-shell,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-workqueue-shell,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-timeline-workbench {
    min-height: 0 !important;
    height: auto !important;
    align-items: start !important;
    align-self: start !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-productization-grid-wide,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-stage-grid {
    gap: 12px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-customer-profile {
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-workqueue-table tbody tr:last-child td {
    border-bottom: 1px solid #e2e8f0 !important;
  }
}

/* Score 10 mobile task restraint: compact enterprise actions, severity dot, secondary evidence link. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card.hvx760-mobile-task-card {
    gap: 3px !important;
    padding: 7px 8px 7px 9px !important;
    border-radius: 3px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-state {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-height: 18px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #7c2d12 !important;
    font-size: .6rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-state::before {
    content: "" !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 999px !important;
    background: #c2410c !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-state.is-watch::before {
    background: #b45309 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-state.is-ok {
    color: #475569 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-state.is-ok::before {
    background: #64748b !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx770-mobile-action-strip {
    grid-template-columns: auto auto !important;
    justify-content: start !important;
    gap: 12px !important;
    margin-top: 3px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx770-mobile-action-strip .hvx100-mobile-primary-action.hvx760-mobile-primary-action {
    min-width: 116px !important;
    min-height: 29px !important;
    padding: 0 10px !important;
    border: 1px solid #334155 !important;
    border-radius: 3px !important;
    background: #334155 !important;
    color: #fff !important;
    font-size: .63rem !important;
    font-weight: 860 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx770-mobile-action-strip .hvx760-mobile-details summary {
    min-height: 29px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #475569 !important;
    box-shadow: none !important;
    font-size: .6rem !important;
    font-weight: 820 !important;
    text-decoration: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx770-mobile-action-strip .hvx760-mobile-details summary b {
    margin-left: 3px !important;
    color: #94a3b8 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-ops-status {
    min-height: 34px !important;
    padding: 6px 8px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-title {
    margin: 8px 0 8px !important;
    padding: 0 22px !important;
    font-size: 1rem !important;
    font-weight: 920 !important;
    line-height: 1.05 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-workqueue-mobile {
    margin: 0 22px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence {
    display: grid !important;
    gap: 1px !important;
    min-height: 34px !important;
    padding: 6px 8px !important;
    border-radius: 3px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence span {
    font-size: .56rem !important;
    line-height: 1 !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence small {
    font-size: .55rem !important;
    line-height: 1.02 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-support {
    display: none !important;
  }
}

/* Final account-menu safety layer: visible enterprise destination rows. */
html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item,
html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu a.tenant-session-menu-item,
html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu button.tenant-session-menu-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 3px !important;
  min-height: 42px !important;
  padding: 7px 8px !important;
  border: 1px solid transparent !important;
  border-radius: 5px !important;
  background: transparent !important;
  color: #0f172a !important;
  text-align: left !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item::after {
  display: none !important;
  content: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item b,
html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item small {
  display: block !important;
  grid-area: auto !important;
  justify-self: start !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item b {
  color: #0f172a !important;
  font-size: .72rem !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item small {
  color: #64748b !important;
  font-size: .57rem !important;
  font-weight: 720 !important;
  line-height: 1.08 !important;
}

/* Final account-menu truncation guard. */
html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu.tenant-session-menu {
  width: 340px !important;
  max-width: min(340px, calc(100vw - 24px)) !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-list {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 2px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item b,
html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item small {
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx740-mobile-task-card,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx740-mobile-task-card.risk,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx740-mobile-task-card.watch,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx740-mobile-task-card.logged {
    display: grid !important;
    grid-template-columns: 36px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 7px 10px !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 10px 11px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-priority-rail {
    grid-row: 1 / span 3 !important;
    display: grid !important;
    align-content: start !important;
    gap: 4px !important;
    min-width: 0 !important;
    padding-top: 1px !important;
    color: #475569 !important;
    text-align: left !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-priority-rail::before {
    content: "" !important;
    display: block !important;
    width: 3px !important;
    height: 42px !important;
    border-radius: 999px !important;
    background: #cbd5e1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-priority-rail.is-overdue::before {
    background: #d97706 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-priority-rail.is-watch::before {
    background: #2563eb !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-priority-rail span {
    display: block !important;
    max-width: 34px !important;
    overflow: hidden !important;
    color: #64748b !important;
    font-size: .5rem !important;
    font-style: normal !important;
    font-weight: 780 !important;
    line-height: 1.05 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-card-copy {
    display: grid !important;
    gap: 3px !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-card-copy strong {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: #0f172a !important;
    font-size: .9rem !important;
    font-weight: 920 !important;
    letter-spacing: 0 !important;
    line-height: 1.12 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-card-copy small {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: #64748b !important;
    font-size: .62rem !important;
    font-weight: 730 !important;
    line-height: 1.12 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-card-copy em {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: #334155 !important;
    font-size: .65rem !important;
    font-style: normal !important;
    font-weight: 820 !important;
    line-height: 1.15 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-operational-line {
    grid-column: 2 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: #64748b !important;
    font-size: .59rem !important;
    font-weight: 760 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-operational-line span,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-operational-line time {
    min-width: 0 !important;
    overflow: hidden !important;
    color: inherit !important;
    font: inherit !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-operational-line span.is-owner {
    color: #9a3412 !important;
    font-weight: 880 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-action-contract {
    grid-column: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    margin-top: 2px !important;
    padding-top: 8px !important;
    border-top: 1px solid #e2e8f0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-action-contract span {
    min-width: 0 !important;
    overflow: hidden !important;
    color: #64748b !important;
    font-size: .62rem !important;
    font-weight: 760 !important;
    line-height: 1.1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-action-contract strong {
    color: #0f172a !important;
    font-size: .7rem !important;
    font-weight: 900 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-primary-action {
    min-height: 31px !important;
    padding: 0 10px !important;
    border: 1px solid rgba(37, 99, 235, .18) !important;
    border-radius: 5px !important;
    background: #2563eb !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08) !important;
    color: #fff !important;
    font-size: .66rem !important;
    font-weight: 850 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-evidence-summary {
    display: grid !important;
    gap: 3px !important;
    margin: 6px 0 0 !important;
    padding: 8px 10px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    background: #f8fafc !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-evidence-summary span {
    color: #64748b !important;
    font-size: .54rem !important;
    font-weight: 860 !important;
    letter-spacing: .02em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-evidence-summary strong {
    color: #0f172a !important;
    font-size: .74rem !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx740-mobile-evidence-summary small {
    min-width: 0 !important;
    overflow: hidden !important;
    color: #64748b !important;
    font-size: .59rem !important;
    font-weight: 720 !important;
    line-height: 1.1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-active-tab="timeline"] .tenant-app-header,
  html body.tenant-app-body[data-active-tab="timeline"] .tenant-app-header-bar {
    padding-top: 14px !important;
    padding-bottom: 12px !important;
  }

  html body.tenant-app-body[data-active-tab="timeline"] .tenant-app-title {
    font-size: 1.32rem !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
  }

  html body.tenant-app-body[data-active-tab="timeline"] .tenant-app-subtitle {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.risk,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.watch,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.logged {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
    min-height: 0 !important;
    padding: 10px 11px !important;
    border: 1px solid #dbe4ee !important;
    border-left: 4px solid #d97706 !important;
    border-radius: 7px !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05) !important;
    text-align: left !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.watch {
    border-left-color: #2563eb !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.logged {
    border-left-color: #94a3b8 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-card-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-state {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 26px !important;
    padding: 0 8px !important;
    border: 1px solid #fed7aa !important;
    border-radius: 5px !important;
    background: #fff7ed !important;
    color: #9a3412 !important;
    font-size: .67rem !important;
    font-weight: 920 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-state.is-watch {
    border-color: #bfdbfe !important;
    background: #eff6ff !important;
    color: #1d4ed8 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-state.is-ok {
    border-color: #dbe4ee !important;
    background: #f8fafc !important;
    color: #334155 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-card-top time {
    min-width: 0 !important;
    overflow: hidden !important;
    color: #64748b !important;
    font-size: .64rem !important;
    font-weight: 780 !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-card-copy {
    display: grid !important;
    gap: 3px !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-card-copy strong {
    min-width: 0 !important;
    overflow: hidden !important;
    color: #111827 !important;
    font-size: .9rem !important;
    font-weight: 930 !important;
    letter-spacing: 0 !important;
    line-height: 1.12 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-details {
    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-details summary {
    min-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 8px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #475569 !important;
    cursor: pointer !important;
    font-size: .69rem !important;
    font-weight: 850 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-details summary::-webkit-details-marker {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-details summary::marker {
    content: "" !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-details summary span {
    color: #334155 !important;
    font-size: .69rem !important;
    font-weight: 880 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-details summary b {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    font-size: .88rem !important;
    font-weight: 760 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-details[open] summary b {
    transform: rotate(90deg) !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-details div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 0 0 2px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-details div span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 24px !important;
    padding: 0 7px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 5px !important;
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: .62rem !important;
    font-weight: 760 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-details div span.is-owner {
    border-color: #fed7aa !important;
    background: #fff7ed !important;
    color: #9a3412 !important;
    font-weight: 880 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx770-mobile-action-strip {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(112px, auto) !important;
    align-items: start !important;
    gap: 8px !important;
    min-width: 0 !important;
    padding-top: 1px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-primary-action {
    width: 100% !important;
    min-height: 38px !important;
    justify-content: center !important;
    padding: 0 12px !important;
    border: 1px solid rgba(37, 99, 235, .18) !important;
    border-radius: 6px !important;
    background: #2563eb !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08) !important;
    color: #fff !important;
    font-size: .75rem !important;
    font-weight: 880 !important;
  }
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] .tenant-mobile-ops-strip {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 32px !important;
    padding: 0 12px !important;
    overflow: hidden !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip span,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] .tenant-mobile-ops-strip span {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 3px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #475569 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip small,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] .tenant-mobile-ops-strip small {
    display: inline !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: #64748b !important;
    font-size: .5rem !important;
    font-weight: 880 !important;
    letter-spacing: .01em !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip b,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] .tenant-mobile-ops-strip b {
    display: inline !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: #111827 !important;
    font-size: .59rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.risk,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.watch,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.logged {
    gap: 5px !important;
    padding: 8px 9px !important;
    border-radius: 4px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-state,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-state.is-watch,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-state.is-ok {
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #9a3412 !important;
    font-size: .67rem !important;
    font-weight: 920 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-card-top time {
    font-size: .62rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx770-mobile-action-strip {
    grid-template-columns: minmax(0, 1fr) minmax(104px, auto) !important;
    gap: 7px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-details summary,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-primary-action {
    min-height: 34px !important;
  }
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx780-mobile-inline-state {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: #64748b !important;
    font-size: .61rem !important;
    font-weight: 760 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx780-mobile-inline-state span,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx780-mobile-inline-state time {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx780-mobile-inline-state .is-owner {
    color: #9a3412 !important;
    font-weight: 900 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-details summary {
    border-color: transparent !important;
    background: #f8fafc !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-primary-action {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    box-shadow: none !important;
  }
}

/* Account menu: structured enterprise identity panel, not a two-column helper list. */
html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu.tenant-session-menu {
  width: 292px !important;
  padding: 10px !important;
  border: 1px solid #d8e0ea !important;
  border-radius: 5px !important;
  background: #fff !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .11) !important;
}

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

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-head strong {
  color: #0f172a !important;
  font-size: .82rem !important;
  font-weight: 940 !important;
  line-height: 1.05 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-head .meta {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 5px !important;
  margin: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-head .meta span {
  display: grid !important;
  gap: 2px !important;
  min-width: 0 !important;
  padding: 5px 6px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 5px !important;
  background: #f8fafc !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-head .meta span:last-child {
  grid-column: 1 / -1 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-head .meta small {
  overflow: hidden !important;
  color: #64748b !important;
  font-size: .49rem !important;
  font-weight: 880 !important;
  line-height: 1 !important;
  text-overflow: ellipsis !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-head .meta b {
  overflow: hidden !important;
  color: #0f172a !important;
  font-size: .62rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-list {
  display: grid !important;
  gap: 2px !important;
  padding-top: 7px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-section {
  margin: 8px 4px 3px !important;
  padding: 0 !important;
  color: #64748b !important;
  font-size: .55rem !important;
  font-weight: 920 !important;
  letter-spacing: .04em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas:
    "label arrow"
    "desc arrow" !important;
  align-items: center !important;
  gap: 2px 8px !important;
  min-height: 44px !important;
  padding: 7px 8px !important;
  border: 1px solid transparent !important;
  border-radius: 5px !important;
  background: transparent !important;
  text-align: left !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item::after {
  grid-area: arrow !important;
  content: "›" !important;
  color: #94a3b8 !important;
  font-size: .9rem !important;
  font-weight: 700 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item b {
  grid-area: label !important;
  min-width: 0 !important;
  overflow: hidden !important;
  color: #0f172a !important;
  font-size: .71rem !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item small {
  grid-area: desc !important;
  justify-self: stretch !important;
  max-width: none !important;
  overflow: hidden !important;
  color: #64748b !important;
  font-size: .57rem !important;
  font-weight: 720 !important;
  line-height: 1.08 !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item:hover,
html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item:focus-visible {
  border-color: #d8e0ea !important;
  background: #f8fafc !important;
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline #app-stage-title,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-title {
    margin: 14px 0 12px !important;
    padding: 0 20px !important;
    color: #111827 !important;
    font-size: 1.18rem !important;
    font-weight: 940 !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-workqueue-mobile {
    margin: 0 20px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #d8e0ea !important;
    border-radius: 5px !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-ops-status {
    padding: 8px 10px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
  }

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

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

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips span {
    display: grid !important;
    grid-template-columns: auto auto !important;
    align-items: baseline !important;
    gap: 3px !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips b {
    color: #111827 !important;
    font-size: .63rem !important;
    font-weight: 940 !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: 7px !important;
    padding: 9px 10px 9px 11px !important;
    border: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-left: 2px solid #cbd5e1 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !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: #9a3412 !important;
  }

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

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-main strong {
    overflow: hidden !important;
    color: #111827 !important;
    font-size: .76rem !important;
    font-weight: 930 !important;
    line-height: 1.08 !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 {
    overflow: hidden !important;
    color: #64748b !important;
    font-size: .56rem !important;
    font-weight: 760 !important;
    line-height: 1.05 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-primary-action.hvx700-mobile-owned-action {
    align-self: center !important;
    width: auto !important;
    min-width: 92px !important;
    min-height: 30px !important;
    padding: 0 10px !important;
    border: 1px solid #334155 !important;
    border-radius: 4px !important;
    background: #1f2937 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: .63rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx710-mobile-next-step-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 9px !important;
    min-height: 38px !important;
    padding: 6px 8px !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 2px solid #2563eb !important;
    border-radius: 3px !important;
    background: #fbfdff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx710-mobile-next-step-row span {
    display: grid !important;
    gap: 2px !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx710-mobile-next-step-row small {
    color: #64748b !important;
    font-size: .5rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx710-mobile-next-step-row strong {
    overflow: hidden !important;
    color: #111827 !important;
    font-size: .63rem !important;
    font-weight: 930 !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx530-mobile-state-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    overflow: hidden !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 .hvx530-mobile-state-grid span {
    display: grid !important;
    gap: 2px !important;
    min-width: 0 !important;
    padding: 6px 7px !important;
    border-right: 1px solid #e2e8f0 !important;
    background: transparent !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx530-mobile-state-grid small {
    color: #64748b !important;
    font-size: .5rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx530-mobile-state-grid b {
    overflow: hidden !important;
    color: #334155 !important;
    font-size: .56rem !important;
    font-weight: 880 !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx530-mobile-state-grid b.is-overdue,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx530-mobile-state-grid b.is-owner {
    color: #9a3412 !important;
    font-weight: 930 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence {
    display: grid !important;
    gap: 0 !important;
    margin: 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence article {
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 36px !important;
    padding: 6px 10px !important;
    border: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence article span {
    display: inline-grid !important;
    place-items: center !important;
    min-height: 20px !important;
    padding: 0 5px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 3px !important;
    background: #f8fafc !important;
    color: #334155 !important;
    font-size: .52rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence article strong {
    color: #111827 !important;
    font-size: .59rem !important;
    font-weight: 900 !important;
    line-height: 1.02 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence article small {
    color: #64748b !important;
    font-size: .52rem !important;
    font-weight: 760 !important;
    line-height: 1.05 !important;
  }
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) max-content !important;
    align-items: center !important;
    gap: 7px !important;
    min-height: 62px !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding: 8px 9px !important;
    overflow: hidden !important;
    border-bottom: 1px solid #d8e0ea !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar-left {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 7px !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-toolbar-menu {
    display: grid !important;
    grid-template-columns: 16px auto !important;
    grid-template-rows: repeat(3, 4px) !important;
    align-items: center !important;
    column-gap: 7px !important;
    width: auto !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 36px !important;
    padding: 6px 7px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #334155 !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-toolbar-menu .tenant-toolbar-menu-line {
    grid-column: 1 !important;
    display: block !important;
    width: 14px !important;
    height: 1px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: #334155 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-toolbar-menu .tenant-toolbar-menu-label {
    grid-column: 2 !important;
    grid-row: 1 / 4 !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    background: transparent !important;
    color: #334155 !important;
    font-size: .62rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-transform: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-app-brand-appname {
    max-width: 82px !important;
    overflow: hidden !important;
    color: #111827 !important;
    font-size: .88rem !important;
    font-weight: 940 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-app-brand-tenant {
    display: block !important;
    overflow: hidden !important;
    max-width: 150px !important;
    color: #64748b !important;
    font-size: .52rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar-center {
    display: block !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    justify-self: end !important;
    overflow: hidden !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search {
    display: grid !important;
    grid-template-columns: 14px !important;
    align-items: center !important;
    gap: 6px !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 7px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #334155 !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search-icon {
    width: 13px !important;
    height: 13px !important;
    margin: 0 !important;
    opacity: .8 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search-label {
    display: none !important;
    overflow: hidden !important;
    color: #334155 !important;
    font-size: .62rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search input {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search-shortcut,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search-filter,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar-right,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav {
    display: none !important;
    visibility: hidden !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #d8e0ea !important;
    background: #f8fafc !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip span {
    display: grid !important;
    gap: 2px !important;
    min-height: 38px !important;
    padding: 7px 10px !important;
    border-right: 1px solid #d8e0ea !important;
    color: #334155 !important;
    box-shadow: none !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip small {
    color: #64748b !important;
    font-size: .5rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip b {
    overflow: hidden !important;
    color: #111827 !important;
    font-size: .61rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline.tenant-stage-panel,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-stage-stack,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-productization-grid,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-productization-grid-wide,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-customer-profile {
  min-height: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-activity-board {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 280px) !important;
  gap: 8px !important;
  margin-top: 8px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-activity,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-controls {
  overflow: hidden !important;
  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-timeline .hvx610-workqueue-activity-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 8px 9px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-activity-head div {
  display: grid !important;
  gap: 2px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-activity-head span {
  color: #0f766e !important;
  font-size: .6rem !important;
  font-weight: 940 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-activity-head strong {
  color: #0f172a !important;
  font-size: .78rem !important;
  font-weight: 960 !important;
  line-height: 1.05 !important;
  white-space: normal !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-activity-head small {
  max-width: 190px !important;
  color: #64748b !important;
  font-size: .58rem !important;
  font-weight: 780 !important;
  line-height: 1.12 !important;
  text-align: right !important;
  white-space: normal !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-activity table {
  width: 100% !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-activity th {
  padding: 6px 8px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: .58rem !important;
  font-weight: 940 !important;
  line-height: 1 !important;
  text-align: left !important;
  text-transform: uppercase !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-activity td {
  padding: 7px 8px !important;
  border-bottom: 1px solid #eef2f7 !important;
  color: #334155 !important;
  font-size: .66rem !important;
  font-weight: 760 !important;
  line-height: 1.1 !important;
  vertical-align: top !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-activity tr:last-child td {
  border-bottom: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-activity td:first-child {
  width: 78px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-activity td:nth-child(3) {
  width: 132px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-activity td:last-child {
  width: 100px !important;
  color: #475569 !important;
  white-space: nowrap !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-activity b,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-activity strong {
  display: block !important;
  overflow: hidden !important;
  color: #0f172a !important;
  font-size: .68rem !important;
  font-weight: 920 !important;
  line-height: 1.08 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-activity small {
  display: block !important;
  margin-top: 2px !important;
  overflow: hidden !important;
  color: #64748b !important;
  font-size: .56rem !important;
  font-weight: 760 !important;
  line-height: 1.05 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-control-list {
  display: grid !important;
  gap: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-control-list article {
  display: grid !important;
  gap: 2px !important;
  min-height: 52px !important;
  padding: 8px 9px !important;
  border-bottom: 1px solid #eef2f7 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-control-list article:last-child {
  border-bottom: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-control-list span {
  color: #64748b !important;
  font-size: .57rem !important;
  font-weight: 920 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-control-list strong {
  color: #0f172a !important;
  font-size: .72rem !important;
  font-weight: 950 !important;
  line-height: 1.05 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-control-list small {
  color: #64748b !important;
  font-size: .56rem !important;
  font-weight: 760 !important;
  line-height: 1.08 !important;
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx610-workqueue-activity-board {
    display: none !important;
  }
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    min-height: calc(58px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 0 8px env(safe-area-inset-bottom, 0px) !important;
    border-top: 1px solid #d8e0ea !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn:hover,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn:focus-visible,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active:hover,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active:focus-visible,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn[aria-current="page"] {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    gap: 1px !important;
    min-height: 58px !important;
    padding: 8px 2px 7px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    box-shadow: none !important;
    transform: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn::after,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active::after,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn[aria-current="page"]::after {
    content: none !important;
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn::before,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn:not(.is-active)::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 28% !important;
    right: 28% !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active::before,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn[aria-current="page"]::before {
    background: #2563eb !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn[aria-current="page"] {
    color: #0f172a !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-status,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-badge {
    display: none !important;
    visibility: hidden !important;
  }

  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-btn.is-active .tenant-mobile-nav-label,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn[aria-current="page"] .tenant-mobile-nav-label {
    display: block !important;
    color: inherit !important;
    font-size: .56rem !important;
    font-weight: 820 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-transform: none !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.tenant-mobile-admin-entry,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn[data-app-tab="settings"],
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn[data-app-tab="numbers"],
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn[data-app-tab="guide"] {
    display: 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,
  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 {
    gap: 6px !important;
    padding: 10px 10px 10px 12px !important;
    border-left: 2px solid #cbd5e1 !important;
    background: #fff !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-left-color: #2563eb !important;
    background: linear-gradient(90deg, rgba(37, 99, 235, .035), #fff 42%) !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-priority {
    min-height: 18px !important;
    padding: 0 6px !important;
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
    color: #334155 !important;
    font-size: .56rem !important;
    font-weight: 900 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-state,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-owner {
    min-width: 0 !important;
    overflow: hidden !important;
    color: #475569 !important;
    font-size: .58rem !important;
    font-weight: 820 !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-state.is-overdue,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-owner.is-owner {
    color: #9a3412 !important;
    font-weight: 900 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker time {
    justify-self: end !important;
    color: #64748b !important;
    font-size: .56rem !important;
    font-weight: 780 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx520-mobile-status-line,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-action-row {
    display: none !important;
  }

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

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

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line {
    gap: 8px !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 .hvx420-mobile-meta-line span.is-touch,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line span.is-channel {
    color: #64748b !important;
    font-size: .56rem !important;
    font-weight: 740 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx520-mobile-card-action {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 2px !important;
    padding-top: 8px !important;
    border-top: 1px solid #e2e8f0 !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx520-mobile-card-action span {
    color: #64748b !important;
    font-size: .55rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx520-mobile-card-action strong {
    overflow: hidden !important;
    color: #0f172a !important;
    font-size: .68rem !important;
    font-weight: 940 !important;
    line-height: 1.05 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx520-mobile-card-action .hvx100-mobile-primary-action {
    min-height: 30px !important;
    padding: 0 12px !important;
    border-radius: 5px !important;
    font-size: .64rem !important;
    font-weight: 900 !important;
  }
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 14 !important;
    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 #e2e8f0 !important;
    border-bottom: 1px solid #d8e0ea !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: none !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 {
    position: relative !important;
    min-height: 38px !important;
    padding: 0 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    box-shadow: none !important;
    font-size: .56rem !important;
    font-weight: 820 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button::after {
    content: "" !important;
    position: absolute !important;
    right: 24% !important;
    bottom: 0 !important;
    left: 24% !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: transparent !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button.is-active::after {
    background: #2563eb !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav span {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: 0 !important;
    line-height: inherit !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav {
    display: none !important;
    visibility: hidden !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-workspace-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 58px !important;
    padding: 8px 10px !important;
    border-bottom: 1px solid #d8e0ea !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar-left {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-toolbar-menu {
    display: inline-grid !important;
    flex: 0 0 34px !important;
    place-items: center !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 5px !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-toolbar-menu span {
    width: 14px !important;
    height: 1px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: #334155 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-brand-link,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-app-brand.tenant-app-brand-header {
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-app-brand-copy {
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-app-brand-appname {
    overflow: hidden !important;
    color: #0f172a !important;
    font-size: .92rem !important;
    font-weight: 940 !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar-center {
    display: block !important;
    width: 36px !important;
    min-width: 36px !important;
    justify-self: end !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 5px !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search-icon {
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
    opacity: .85 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search input {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search-shortcut,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search-filter,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar-right {
    display: none !important;
    visibility: hidden !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip {
    display: flex !important;
    align-items: center !important;
    min-height: 30px !important;
    padding: 0 10px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip span {
    display: inline-flex !important;
    align-items: center !important;
    max-width: 100% !important;
    min-height: 18px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    background: transparent !important;
    color: #475569 !important;
    font-size: .56rem !important;
    font-weight: 760 !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

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

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

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar-left {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar-center {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    margin: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-app-header.tenant-app-header-bar {
    padding: 14px 20px 10px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-title {
    font-size: 1.42rem !important;
    line-height: 1.05 !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence {
    display: grid !important;
    gap: 0 !important;
    margin: 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence article {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: center !important;
    min-height: 46px !important;
    padding: 8px 12px !important;
    border-bottom: 1px solid #eef2f7 !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence article:last-child {
    border-bottom: 0 !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 {
    display: inline-flex !important;
    align-items: center !important;
    color: #334155 !important;
    font-size: .54rem !important;
    font-weight: 920 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence article strong,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence article small {
    display: block !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 strong {
    color: #0f172a !important;
    font-size: .66rem !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence article small {
    margin-top: 2px !important;
    color: #64748b !important;
    font-size: .55rem !important;
    font-weight: 740 !important;
    line-height: 1.05 !important;
  }
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav {
    grid-template-columns: minmax(0, 1fr) auto !important;
    padding: 7px 10px !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button:not(.is-active):not(.tenant-mobile-section-menu) {
    display: none !important;
    visibility: hidden !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,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button.is-active,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav .tenant-mobile-section-menu {
    display: grid !important;
    justify-items: start !important;
    align-content: center !important;
    gap: 2px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button span {
    color: #0f172a !important;
    font-size: .68rem !important;
    font-weight: 940 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav button small {
    display: block !important;
    color: #64748b !important;
    font-size: .54rem !important;
    font-weight: 760 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav .tenant-mobile-section-menu span {
    color: #334155 !important;
    font-size: .62rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-console-nav .tenant-mobile-section-menu small {
    color: #64748b !important;
    font-size: .5rem !important;
  }
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-workqueue-mobile {
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 5px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-ops-status {
    padding: 9px 12px 8px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips span {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !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 {
    gap: 7px !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-left: 2px solid #cbd5e1 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-radius: 0 !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-left-color: #2563eb !important;
    background: #fff !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-priority,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-priority b {
    display: inline !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #475569 !important;
    font-size: .58rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-priority::after {
    content: "·" !important;
    margin-left: 5px !important;
    color: #94a3b8 !important;
    font-weight: 760 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-state,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-owner {
    color: #334155 !important;
    font-size: .58rem !important;
    font-weight: 860 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-state.is-overdue,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-owner.is-owner {
    color: #7c2d12 !important;
    font-weight: 880 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx250-mobile-main strong {
    font-size: .84rem !important;
    line-height: 1.06 !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 .hvx420-mobile-meta-line span.is-channel,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line span.is-touch {
    color: #64748b !important;
    font-size: .57rem !important;
    font-weight: 740 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx520-mobile-card-action {
    margin-top: 0 !important;
    padding-top: 7px !important;
    border-top-color: #e2e8f0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx520-mobile-card-action .hvx100-mobile-primary-action {
    min-height: 30px !important;
    border: 1px solid #94a3b8 !important;
    background: #fff !important;
    color: #0f172a !important;
    box-shadow: 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,
  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;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
    min-height: 0 !important;
    padding: 9px 12px !important;
    border: 0 !important;
    border-left: 2px solid #cbd5e1 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-radius: 0 !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-left-color: #2563eb !important;
    background: #fff !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 {
    overflow: hidden !important;
    color: #0f172a !important;
    font-size: .82rem !important;
    font-weight: 940 !important;
    line-height: 1.05 !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 {
    overflow: hidden !important;
    color: #64748b !important;
    font-size: .58rem !important;
    font-weight: 760 !important;
    line-height: 1.05 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx530-mobile-state-grid {
    display: grid !important;
    grid-template-columns: .72fr minmax(0, 1fr) .82fr !important;
    gap: 0 !important;
    overflow: hidden !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 .hvx530-mobile-state-grid span {
    display: grid !important;
    gap: 2px !important;
    min-width: 0 !important;
    padding: 6px 7px !important;
    border-right: 1px solid #e2e8f0 !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx530-mobile-state-grid small {
    overflow: hidden !important;
    color: #64748b !important;
    font-size: .5rem !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 1 !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 .hvx530-mobile-state-grid b {
    overflow: hidden !important;
    color: #334155 !important;
    font-size: .58rem !important;
    font-weight: 900 !important;
    line-height: 1.04 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx530-mobile-state-grid b.is-overdue,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx530-mobile-state-grid b.is-owner {
    color: #7c2d12 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker,
  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 .hvx250-mobile-action-row,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx520-mobile-status-line {
    display: none !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx520-mobile-card-action span {
    color: #64748b !important;
    font-size: .5rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx520-mobile-card-action strong {
    color: #0f172a !important;
    font-size: .64rem !important;
    font-weight: 920 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx520-mobile-card-action .hvx100-mobile-primary-action {
    min-height: 28px !important;
    padding: 0 10px !important;
    border: 1px solid #64748b !important;
    border-radius: 3px !important;
    background: #fff !important;
    color: #0f172a !important;
    box-shadow: none !important;
    font-size: .62rem !important;
    font-weight: 900 !important;
  }
}

/* Enterprise scoring pass: calendar contrast, account IA, and mobile triage clarity. */
html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu.tenant-session-menu {
  width: 316px !important;
  border-color: #cbd5e1 !important;
  background: #fff !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item {
  grid-template-columns: minmax(0, 1fr) auto !important;
  min-height: 40px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item:hover,
html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item:focus-visible {
  background: #f8fafc !important;
  box-shadow: inset 2px 0 0 #64748b !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-section.hidden {
  display: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-ops-board,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-month-shell,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-agenda-surface {
  border-color: #cbd5e1 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-weekdays span {
  border-color: #cbd5e1 !important;
  background: #f1f5f9 !important;
  color: #334155 !important;
  font-weight: 920 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day {
  min-height: 43px !important;
  border-color: #cbd5e1 !important;
  background: #fcfdff !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day.has-queue-work {
  background: #fff !important;
  box-shadow: inset 0 0 0 1px #cbd5e1, inset 3px 0 0 #b45309 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day-number {
  color: #0f172a !important;
  font-weight: 900 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal {
  min-height: 18px !important;
  border-color: #d8e0ea !important;
  background: #fff !important;
  color: #334155 !important;
  font-size: .56rem !important;
  font-weight: 860 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal {
  border-color: #fdba74 !important;
  background: #fff7ed !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal .tenant-calendar-chip-time,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal .tenant-calendar-chip-title {
  color: #9a3412 !important;
  font-weight: 900 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-empty-state {
  border-color: #cbd5e1 !important;
  background: #f8fafc !important;
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav > .tenant-mobile-nav-btn:nth-of-type(n + 5),
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav > .tenant-mobile-admin-entry,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-admin-entry,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-admin-entry * {
    display: none !important;
    visibility: hidden !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker {
    margin: -1px -2px 1px !important;
    padding: 4px 5px !important;
    border: 1px solid #d8e0ea !important;
    border-radius: 4px !important;
    background: #f8fafc !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-priority {
    border-color: #334155 !important;
    background: #1f2937 !important;
    color: #fff !important;
    font-size: .6rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-state,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-owner {
    font-size: .61rem !important;
  }

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

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker {
    margin: 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 .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 {
    gap: 4px !important;
    padding: 7px 8px 7px 10px !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-priority {
    min-height: 16px !important;
    padding: 0 4px !important;
    border-color: #64748b !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    font-size: .55rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-state,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-owner {
    color: #334155 !important;
    font-size: .6rem !important;
    font-weight: 880 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-state.is-overdue,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-owner.is-owner {
    color: #7c2d12 !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx350-mobile-selected-action {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    border: 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    background: #f8fafc !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx350-mobile-selected-action div {
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx350-mobile-selected-action span {
    color: #64748b !important;
    font-size: .55rem !important;
    font-weight: 860 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx350-mobile-selected-action strong {
    color: #0f172a !important;
    font-size: .72rem !important;
    font-weight: 930 !important;
    line-height: 1.05 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx350-mobile-selected-action small {
    display: block !important;
    max-width: 190px !important;
    overflow: hidden !important;
    color: #64748b !important;
    font-size: .56rem !important;
    font-weight: 760 !important;
    line-height: 1.1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx350-mobile-selected-action .hvx100-mobile-primary-action {
    min-height: 32px !important;
    min-width: 112px !important;
    border-radius: 5px !important;
    background: #2563eb !important;
  }
}

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

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-continuity {
  padding-bottom: 8px !important;
}

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

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-label {
    font-size: .56rem !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker {
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker time {
    justify-self: end !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx520-mobile-status-line {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 5px !important;
    min-width: 0 !important;
    color: #334155 !important;
    font-size: .62rem !important;
    font-weight: 880 !important;
    line-height: 1.05 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx520-mobile-status-line b,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx520-mobile-status-line span {
    display: inline !important;
    min-width: 0 !important;
    overflow: visible !important;
    color: #334155 !important;
    font-size: .62rem !important;
    font-weight: 880 !important;
    line-height: 1.05 !important;
    white-space: normal !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx520-mobile-status-line .is-overdue,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx520-mobile-status-line .is-owner {
    color: #7c2d12 !important;
    font-weight: 920 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line {
    flex-wrap: wrap !important;
    gap: 4px 8px !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 .hvx420-mobile-meta-line span.is-touch,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line span.is-channel {
    max-width: 100% !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx350-mobile-selected-action .hvx100-mobile-primary-action {
    border-color: #2563eb !important;
    background: #2563eb !important;
    color: #fff !important;
    box-shadow: none !important;
    cursor: pointer !important;
    opacity: 1 !important;
  }
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    min-height: 58px !important;
    padding: 0 0 max(8px, env(safe-area-inset-bottom)) !important;
    border-top: 1px solid #cbd5e1 !important;
    background: rgba(255, 255, 255, .995) !important;
    box-shadow: 0 -1px 2px rgba(15, 23, 42, .04) !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn:hover,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn:focus-visible,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn[aria-current="page"] {
    position: relative !important;
    min-height: 48px !important;
    padding: 8px 2px 4px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active::before,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn[aria-current="page"]::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    right: 22% !important;
    left: 22% !important;
    width: auto !important;
    height: 2px !important;
    border-radius: 0 !important;
    background: #2563eb !important;
    box-shadow: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active .tenant-mobile-nav-label,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn[aria-current="page"] .tenant-mobile-nav-label {
    color: #0f172a !important;
    font-weight: 940 !important;
  }

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

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-state-line {
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-state-line strong {
  color: #334155 !important;
  font-size: .62rem !important;
  font-weight: 940 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-summary-sentence {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  color: #0f172a !important;
  font-size: .68rem !important;
  font-weight: 820 !important;
  line-height: 1.1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-state-line em {
  color: #64748b !important;
  font-size: .58rem !important;
  font-style: normal !important;
  font-weight: 760 !important;
  white-space: nowrap !important;
}

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

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-facet-tokens--sentence {
  align-items: center !important;
  min-height: 30px !important;
  padding-left: 12px !important;
  border-left: 1px solid #d8e0ea !important;
}

@media (max-width: 760px) {
  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 .tenant-mobile-admin-entry,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.tenant-mobile-admin-entry {
    display: none !important;
    visibility: hidden !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav {
    min-height: 70px !important;
    padding: 7px 8px max(12px, env(safe-area-inset-bottom)) !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn[aria-current="page"] {
    min-height: 40px !important;
    padding: 5px 3px !important;
    border-radius: 5px !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-workqueue-mobile {
    margin-top: 2px !important;
    padding: 0 10px !important;
    border-radius: 5px !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: 5px !important;
    min-height: 0 !important;
    padding: 8px 8px 8px 10px !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-priority {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 18px !important;
    padding: 0 5px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 3px !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    font-size: .56rem !important;
    font-weight: 940 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-state,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-owner {
    display: inline-block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #475569 !important;
    font-size: .58rem !important;
    font-weight: 860 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-transform: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-state.is-overdue,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-state.is-watch,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-owner.is-owner {
    color: #9a3412 !important;
    font-weight: 920 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker time {
    color: #64748b !important;
    font-size: .56rem !important;
    font-weight: 820 !important;
    line-height: 1 !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 {
    font-size: .77rem !important;
    line-height: 1.06 !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    min-width: 0 !important;
    overflow: hidden !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 .hvx420-mobile-meta-line span.is-overdue,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line span.is-owner,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line span.is-touch {
    display: inline !important;
    width: auto !important;
    max-width: 52% !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    box-shadow: none !important;
    font-size: .55rem !important;
    font-weight: 760 !important;
    line-height: 1 !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 span.is-channel {
    color: #334155 !important;
    font-weight: 820 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action {
    margin-top: 1px !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;
    border-radius: 5px !important;
    font-size: .68rem !important;
  }
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal .tenant-calendar-chip-time,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal .tenant-calendar-chip-title {
  color: #334155 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day.has-queue-work {
  box-shadow: inset 0 0 0 1px #d8e0ea !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter.tenant-workspace-filter {
  width: min(560px, calc(100vw - 32px)) !important;
  max-height: calc(100vh - 90px) !important;
  padding: 14px 18px 70px !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

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

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-facet-state {
  display: grid !important;
  grid-template-columns: 112px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 10px !important;
  padding: 8px 10px !important;
  border: 1px solid #d8e0ea !important;
  border-left: 3px solid #64748b !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-facet-state > div:first-child {
  display: grid !important;
  gap: 2px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-facet-state > div:first-child strong {
  color: #334155 !important;
  font-size: .62rem !important;
  font-weight: 940 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-facet-state > div:first-child span {
  color: #64748b !important;
  font-size: .58rem !important;
  font-weight: 760 !important;
  line-height: 1 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-facet-tokens {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 12px !important;
  min-width: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-facet-tokens span {
  display: inline-flex !important;
  gap: 4px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #475569 !important;
  box-shadow: none !important;
  font-size: .61rem !important;
  font-weight: 760 !important;
  line-height: 1 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-facet-tokens b {
  color: #0f172a !important;
  font-weight: 900 !important;
}

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

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-section-title {
  margin-bottom: 6px !important;
  padding-bottom: 6px !important;
}

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

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-builder-row {
  display: grid !important;
  gap: 4px !important;
  min-height: 54px !important;
  padding: 8px 10px !important;
  border-radius: 4px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-builder-row > span:first-child {
  font-size: .61rem !important;
  line-height: 1 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-builder-row select,
html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-builder-row input[type="text"] {
  min-height: 30px !important;
  height: 30px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-check-row {
  grid-column: 1 / -1 !important;
  grid-template-columns: 96px minmax(0, 1fr) !important;
  align-items: center !important;
  min-height: 44px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-check-copy {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  color: #0f172a !important;
  font-size: .66rem !important;
  font-weight: 820 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-check-copy small {
  color: #64748b !important;
  font-size: .58rem !important;
  font-weight: 760 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-workspace-filter-actions {
  padding: 10px 18px !important;
  border-top: 1px solid #d8e0ea !important;
  background: rgba(255, 255, 255, .98) !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-facet-state {
  grid-template-columns: minmax(0, 1fr) auto !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-facet-tokens {
  display: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-facet-state > div:first-child span {
  font-size: .64rem !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu.tenant-session-menu {
  width: 300px !important;
  padding: 10px !important;
  border-radius: 4px !important;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .12) !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-head {
  display: grid !important;
  gap: 4px !important;
  padding: 8px 8px 10px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-head strong {
  color: #0f172a !important;
  font-size: .84rem !important;
  font-weight: 940 !important;
  line-height: 1.05 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-head .meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  margin: 0 !important;
  color: #475569 !important;
  font-size: .61rem !important;
  font-weight: 780 !important;
  line-height: 1.05 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-list {
  gap: 2px !important;
  padding-top: 6px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-section {
  margin: 8px 4px 2px !important;
  padding: 0 !important;
  color: #64748b !important;
  font-size: .58rem !important;
  font-weight: 920 !important;
  letter-spacing: .04em !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item {
  display: grid !important;
  grid-template-columns: minmax(0, .8fr) minmax(106px, 1fr) !important;
  align-items: center !important;
  min-height: 42px !important;
  padding: 8px !important;
  border-radius: 3px !important;
  background: transparent !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item b {
  color: #0f172a !important;
  font-size: .72rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item small {
  justify-self: end !important;
  max-width: 132px !important;
  color: #64748b !important;
  font-size: .58rem !important;
  font-weight: 760 !important;
  line-height: 1.12 !important;
  text-align: right !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-workqueue-table th {
  border-right: 1px solid #d8e0ea !important;
  color: #334155 !important;
  font-size: .62rem !important;
  font-weight: 940 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-workqueue-table td {
  border-right: 1px solid #e2e8f0 !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-workqueue-table td:last-child,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-workqueue-table th:last-child {
  border-right: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-sla-state,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-owner-cell,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx220-row-action-stack {
  min-width: 92px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-sla-state strong,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-owner-cell strong,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx155-primary-next-action b {
  color: #0f172a !important;
  font-size: .73rem !important;
  font-weight: 960 !important;
  line-height: 1.05 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-sla-state small,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-owner-cell small,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx155-primary-next-action small {
  color: #475569 !important;
  font-size: .58rem !important;
  font-weight: 820 !important;
  line-height: 1.05 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-owner-cell.is-missing strong,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-owner-cell.is-missing small {
  color: #9a3412 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx155-primary-next-action {
  display: grid !important;
  gap: 1px !important;
  padding: 5px 7px !important;
  border: 1px solid #d8e0ea !important;
  border-left: 3px solid #64748b !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-owner-cell.is-missing + .hvx100-conversation-action,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-action-cell .hvx155-primary-next-action {
  border-left-color: #b45309 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-continuity {
  margin-top: 8px !important;
  padding: 8px !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-continuity-head {
  padding-bottom: 6px !important;
  border-bottom: 1px solid #e2e8f0 !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: 5px !important;
  margin-top: 6px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx260-workqueue-continuity-grid article {
  min-height: 44px !important;
  padding: 6px 8px !important;
}

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 {
  display: none !important;
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav {
    min-height: 80px !important;
    padding: 8px 8px 16px !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn[aria-current="page"],
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn:hover,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn:focus-visible {
    min-height: 46px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn[aria-current="page"] {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
    color: #0f172a !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn::after,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn::before,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn:not(.is-active)::before,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active::before,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn[aria-current="page"]::before,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn[aria-current="page"]::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-label {
    margin: 0 !important;
    padding-top: 6px !important;
    line-height: 1 !important;
  }

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

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


  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-productization-grid,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-productization-grid-wide {
    display: block !important;
    padding: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-customer-profile,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx10-timeline-shell,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-workqueue-shell,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-timeline-workbench {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-stage-stack {
    gap: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-workqueue-mobile {
    gap: 0 !important;
    padding: 0 14px !important;
    border: 1px solid #d8e0ea !important;
    border-radius: 6px !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-group-row {
    display: none !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 {
    padding: 9px 10px !important;
    border-width: 0 0 1px 0 !important;
    border-left: 2px solid #cbd5e1 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !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: #9a3412 !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-timeline-row:last-child .tenant-timeline-mobile-card.hvx250-mobile-work-card {
    border-bottom: 0 !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;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    border: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    background: #f8fafc !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx100-mobile-ops-status > div:first-child {
    gap: 1px !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: 940 !important;
    line-height: 1 !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: .56rem !important;
    font-weight: 760 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx365-mobile-status-chips {
    display: inline-flex !important;
    gap: 6px !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: 4px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

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

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

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

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 20px !important;
    padding: 0 6px !important;
    border: 1px solid #d8e0ea !important;
    border-radius: 999px !important;
    background: #f8fafc !important;
    color: #334155 !important;
    font-size: .56rem !important;
    font-weight: 860 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line span.is-overdue,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line span.is-owner {
    border-color: #fed7aa !important;
    background: #fff7ed !important;
    color: #9a3412 !important;
    font-weight: 920 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line span.is-touch {
    color: #64748b !important;
    font-weight: 780 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action .hvx100-mobile-primary-action {
    min-height: 34px !important;
    border-color: #334155 !important;
    background: #1f2937 !important;
  }
}

@media (max-width: 760px) {
  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 .tenant-mobile-admin-entry,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.tenant-mobile-admin-entry {
    display: none !important;
    visibility: hidden !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav {
    min-height: 70px !important;
    padding: 7px 8px max(12px, env(safe-area-inset-bottom)) !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn.is-active,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-nav-btn[aria-current="page"] {
    min-height: 40px !important;
    padding: 5px 3px !important;
    border-radius: 5px !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-workqueue-mobile {
    margin-top: 2px !important;
    padding: 0 10px !important;
    border-radius: 5px !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: 5px !important;
    min-height: 0 !important;
    padding: 8px 8px 8px 10px !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-priority {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 18px !important;
    padding: 0 5px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 3px !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    font-size: .56rem !important;
    font-weight: 940 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-state,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-owner {
    display: inline-block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #475569 !important;
    font-size: .58rem !important;
    font-weight: 860 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-transform: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-state.is-overdue,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-state.is-watch,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker .hvx520-mobile-owner.is-owner {
    color: #9a3412 !important;
    font-weight: 920 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-row-kicker time {
    color: #64748b !important;
    font-size: .56rem !important;
    font-weight: 820 !important;
    line-height: 1 !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 {
    font-size: .77rem !important;
    line-height: 1.06 !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    min-width: 0 !important;
    overflow: hidden !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 .hvx420-mobile-meta-line span.is-overdue,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line span.is-owner,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx420-mobile-meta-line span.is-touch {
    display: inline !important;
    width: auto !important;
    max-width: 52% !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    box-shadow: none !important;
    font-size: .55rem !important;
    font-weight: 760 !important;
    line-height: 1 !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 span.is-channel {
    color: #334155 !important;
    font-weight: 820 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx360-mobile-inline-action {
    margin-top: 1px !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;
    border-radius: 5px !important;
    font-size: .68rem !important;
  }
}
/* ABSOLUTE FINAL score-10 mobile action layer. Keep this as the last ruleset. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-title {
    margin: 4px 0 6px !important;
    padding: 0 24px !important;
    font-size: .92rem !important;
    font-weight: 900 !important;
    line-height: 1.04 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-workqueue-mobile {
    margin: 0 22px !important;
    padding: 0 !important;
    border-radius: 4px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .tenant-timeline-mobile-card.hvx250-mobile-work-card.hvx760-mobile-task-card {
    gap: 3px !important;
    padding: 7px 8px 7px 9px !important;
    border-radius: 3px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-state {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-height: 18px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #7c2d12 !important;
    font-size: .6rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-state::before {
    content: "" !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 999px !important;
    background: #c2410c !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx770-mobile-action-strip {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(112px, .72fr) !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 3px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx770-mobile-action-strip .hvx100-mobile-primary-action.hvx760-mobile-primary-action {
    min-height: 30px !important;
    padding: 0 10px !important;
    border: 1px solid #2563eb !important;
    border-radius: 3px !important;
    background: #2563eb !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: .64rem !important;
    font-weight: 880 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-details {
    display: block !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx760-mobile-details summary {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 30px !important;
    padding: 0 9px !important;
    border: 1px solid #d8e0ea !important;
    border-radius: 3px !important;
    background: #ffffff !important;
    color: #334155 !important;
    box-shadow: none !important;
    font-size: .62rem !important;
    font-weight: 840 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx340-mobile-evidence {
    display: grid !important;
    gap: 1px !important;
    min-height: 34px !important;
    padding: 6px 8px !important;
    border-radius: 3px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx880-workqueue-support {
    display: none !important;
  }
}

@media (min-width: 761px) {
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] .tenant-stage-grid,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline.tenant-stage-panel,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-stage-stack,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-productization-stack,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-customer-profile {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
    align-self: start !important;
  }
}
/* ABSOLUTE FINAL score-10 mobile shell context. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 10px !important;
    padding-bottom: 8px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar-center {
    justify-self: end !important;
    width: auto !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 76px !important;
    min-height: 36px !important;
    padding: 0 10px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search::after {
    content: "Search" !important;
    color: #334155 !important;
    font-size: .68rem !important;
    font-weight: 850 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search input,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search-shortcut,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search-label,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search-filter {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] .tenant-mobile-ops-strip {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    min-height: 0 !important;
    padding: 6px 20px 8px !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip span,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] .tenant-mobile-ops-strip span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-width: 0 !important;
    min-height: 22px !important;
    padding: 0 7px !important;
    border: 1px solid #d8e0ea !important;
    border-radius: 3px !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip small,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] .tenant-mobile-ops-strip small {
    display: inline !important;
    color: #64748b !important;
    font-size: .52rem !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip b,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] .tenant-mobile-ops-strip b {
    color: #0f172a !important;
    font-size: .58rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
}
/* ABSOLUTE FINAL score-10 mobile header layout: no clipped search or context chips. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "brand account"
      "search search" !important;
    gap: 8px 10px !important;
    padding: 10px 20px 8px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar-left {
    grid-area: brand !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar-center {
    grid-area: search !important;
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar-right {
    grid-area: account !important;
    justify-self: end !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar-right #app-status-pill,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar-right #app-refresh-btn,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar-right #app-session-menu-btn {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;
    padding: 0 7px 0 10px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search input {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #0f172a !important;
    font-size: .76rem !important;
    font-weight: 700 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search input::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search-shortcut,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search-label {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search-filter {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 58px !important;
    min-height: 28px !important;
    padding: 0 9px !important;
    border: 1px solid #d8e0ea !important;
    border-radius: 3px !important;
    background: #f8fafc !important;
    color: #334155 !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search-filter::after {
    content: "Filters" !important;
    font-size: .64rem !important;
    font-weight: 850 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] .tenant-mobile-ops-strip {
    padding-top: 7px !important;
  }
}

/* Score 10 Voice Desk action model: one guided setup CTA, rows are evidence. */
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-launch-actions {
  display: grid !important;
  justify-items: end !important;
  gap: 7px !important;
  min-width: 220px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls #app-open-calls-link.button,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls #app-open-calls-link.button.is-setup-needed {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 0 15px !important;
  border: 1px solid rgba(37, 99, 235, .25) !important;
  border-radius: 4px !important;
  background: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .08) !important;
  font-size: .76rem !important;
  font-weight: 880 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls #app-open-calls-link.button.is-ready {
  border-color: rgba(15, 23, 42, .14) !important;
  background: #ffffff !important;
  color: #1e293b !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls #app-open-calls-tab-link.tenant-link-action {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #64748b !important;
  box-shadow: none !important;
  font-size: .68rem !important;
  font-weight: 760 !important;
  text-decoration: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls #app-open-calls-tab-link.tenant-link-action:hover,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-review-link:hover {
  color: #1d4ed8 !important;
  text-decoration: underline !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-item {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-state {
  display: inline-grid !important;
  justify-items: end !important;
  gap: 5px !important;
  min-width: 86px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-pill {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #64748b !important;
  font-size: .64rem !important;
  font-weight: 840 !important;
  line-height: 1 !important;
  text-transform: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-item.is-pending .tenant-call-readiness-pill,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-item.is-blocked .tenant-call-readiness-pill {
  color: #9a3412 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-item.is-ready .tenant-call-readiness-pill {
  color: #166534 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-review-link {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #64748b !important;
  box-shadow: none !important;
  cursor: pointer !important;
  font: inherit !important;
  font-size: .63rem !important;
  font-weight: 780 !important;
  line-height: 1 !important;
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-launch-hero,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-item {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-launch-actions,
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-state {
    justify-items: start !important;
    min-width: 0 !important;
  }
}

/* Score 10 mobile app bar: one row, no floating utility boxes. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) 38px !important;
    grid-template-areas: "menu brand search" !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 62px !important;
    padding: 10px 20px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar-left {
    display: contents !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-toolbar-menu {
    grid-area: menu !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: #334155 !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-toolbar-menu-line {
    display: block !important;
    width: 15px !important;
    height: 2px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: #334155 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-toolbar-menu-line + .tenant-toolbar-menu-line {
    margin-top: 3px !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-brand-link {
    grid-area: brand !important;
    min-width: 0 !important;
    justify-self: start !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-app-brand-header {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    min-width: 0 !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-app-brand-text {
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-app-brand-text strong {
    display: block !important;
    overflow: hidden !important;
    color: #0f172a !important;
    font-size: .98rem !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar-center {
    grid-area: search !important;
    justify-self: end !important;
    width: 38px !important;
    min-width: 38px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search-icon {
    display: block !important;
    width: 15px !important;
    height: 15px !important;
    opacity: .88 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search::after,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search input,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search-label,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search-shortcut,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-search-filter,
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-workspace-toolbar-right {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] .tenant-mobile-ops-strip {
    justify-content: center !important;
    gap: 10px !important;
    min-height: 32px !important;
    padding: 0 20px !important;
    border-top: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip span,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] .tenant-mobile-ops-strip span {
    gap: 4px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip span + span::before,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] .tenant-mobile-ops-strip span + span::before {
    content: "·" !important;
    color: #94a3b8 !important;
    font-size: .72rem !important;
    font-weight: 800 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip small,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] .tenant-mobile-ops-strip small {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-mobile-ops-strip b,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] .tenant-mobile-ops-strip b {
    color: #475569 !important;
    font-size: .63rem !important;
    font-weight: 820 !important;
  }
}

/* Score 10 mobile Timeline containment: no clipped metadata or colliding card edges. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-stage-stack,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-productization-stack,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-customer-profile,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx10-timeline-shell,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx50-workqueue-shell {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx50-workqueue-mobile {
    display: grid !important;
    gap: 8px !important;
    width: calc(100% - 40px) !important;
    max-width: 420px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    border: 1px solid #d8e0ea !important;
    border-radius: 5px !important;
    background: #ffffff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx100-mobile-ops-status {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    box-sizing: border-box !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    background: #f8fafc !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx100-mobile-timeline-row,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx100-mobile-work-row,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card {
    display: grid !important;
    gap: 8px !important;
    padding: 12px !important;
    border: 1px solid #d8e0ea !important;
    border-left-width: 3px !important;
    border-radius: 4px !important;
    background: #ffffff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-top,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx770-mobile-action-strip {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-top {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy strong,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy small {
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 7px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state span,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state time {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx770-mobile-action-strip .hvx100-mobile-primary-action.hvx760-mobile-primary-action {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-details {
    min-width: 82px !important;
    max-width: 92px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-details summary {
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx340-mobile-evidence {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border: 1px solid #d8e0ea !important;
    border-radius: 4px !important;
    background: #f8fafc !important;
  }
}

@media (max-width: 400px) {
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx50-workqueue-mobile {
    width: calc(100% - 32px) !important;
  }
}

/* Score 10 Calls snapshot containment: routing helper stays inside the panel. */
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-launch-metrics {
  display: grid !important;
  grid-template-rows: auto auto auto !important;
  align-content: start !important;
  align-items: start !important;
  gap: 14px !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  padding-bottom: 18px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-launch-metrics .tenant-section-head {
  margin: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-stage-metrics {
  flex: 0 0 auto !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls #app-voice-ring-groups.tenant-ring-groups {
  display: grid !important;
  gap: 7px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 4px !important;
  background: #f8fafc !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls #app-voice-ring-groups.tenant-ring-groups::before {
  content: "Routing" !important;
  color: #0f766e !important;
  font-size: .63rem !important;
  font-weight: 860 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls #app-voice-ring-groups.tenant-ring-groups .meta,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls #app-voice-ring-groups.tenant-ring-groups span {
  display: block !important;
  max-width: 100% !important;
  margin: 0 !important;
  overflow-wrap: anywhere !important;
  color: #475569 !important;
  font-size: .72rem !important;
  font-weight: 720 !important;
  line-height: 1.28 !important;
  white-space: normal !important;
}

/* Score 10 modal/filter density: criteria read as a compact state machine. */
html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter.tenant-workspace-filter {
  width: min(590px, calc(100vw - 48px)) !important;
  max-height: min(78vh, 640px) !important;
  padding: 14px 18px 12px !important;
  gap: 10px !important;
  overflow-y: auto !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-workspace-filter-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 12px !important;
  padding-bottom: 10px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-workspace-filter-head strong {
  font-size: .94rem !important;
  line-height: 1.1 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-workspace-filter-head span {
  font-size: .72rem !important;
  line-height: 1.15 !important;
}

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 .tenant-filter-facet-state {
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 46px !important;
  padding: 8px 10px !important;
  border-left: 3px solid #475569 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-facet-state > div:first-child {
  display: grid !important;
  gap: 2px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-facet-state > div:first-child strong {
  font-size: .63rem !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-facet-state > div:first-child span {
  color: #1e293b !important;
  font-size: .7rem !important;
  font-weight: 820 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-facet-tokens {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: 5px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-facet-tokens span {
  min-height: 22px !important;
  padding: 0 7px !important;
  border-radius: 3px !important;
  font-size: .62rem !important;
  gap: 5px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-facet-tokens span b {
  margin-right: 4px !important;
  color: #475569 !important;
  font-size: .56rem !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

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

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-section-title {
  min-height: 24px !important;
  margin-bottom: 6px !important;
}

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

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-builder-row,
html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-check-row {
  min-height: 58px !important;
  padding: 8px 10px !important;
  border-radius: 4px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-builder-row > span:first-child {
  font-size: .62rem !important;
  line-height: 1 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-builder-row select,
html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-filter-builder-row input[type="text"] {
  min-height: 30px !important;
  padding: 0 9px !important;
  font-size: .72rem !important;
}

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

html body.tenant-app-body[data-app-surface="workspace"] #app-workspace-filter .tenant-workspace-filter-actions button {
  min-height: 34px !important;
  padding: 0 13px !important;
  border-radius: 4px !important;
  font-size: .7rem !important;
}

/* Score 10 Calendar signal semantics: chips carry signal type and count, not generic Queue. */
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-grid {
  gap: 0 !important;
}

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

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day.has-queue-work {
  border-left: 2px solid #b45309 !important;
  background: #fffaf5 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day.is-selected {
  outline: 2px solid rgba(37, 99, 235, .32) !important;
  outline-offset: -2px !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;
  gap: 4px !important;
  min-height: 20px !important;
  padding: 0 6px !important;
  border-radius: 3px !important;
  background: #fff7ed !important;
  border-color: #fed7aa !important;
  color: #9a3412 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal .tenant-calendar-chip-time,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal .tenant-calendar-chip-title {
  display: inline !important;
  color: inherit !important;
  font-size: .6rem !important;
  font-weight: 860 !important;
  line-height: 1 !important;
}

/* Score 10 mobile queue refinement: compact, enterprise primary action. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card {
    gap: 6px !important;
    padding: 10px 11px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx770-mobile-action-strip {
    grid-template-columns: minmax(0, .78fr) auto !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx770-mobile-action-strip .hvx100-mobile-primary-action.hvx760-mobile-primary-action {
    min-height: 28px !important;
    border-color: #334155 !important;
    background: #334155 !important;
    font-size: .62rem !important;
  }
}

/* Score 10 mobile Timeline final pass: align work cards with enterprise desktop tokens. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx100-mobile-ops-status {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
    padding: 9px 10px !important;
    border: 1px solid #dbe3ee !important;
    border-left: 3px solid #2563eb !important;
    border-radius: 5px !important;
    background: #f8fafc !important;
  }

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

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

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

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx365-mobile-status-chips span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    min-height: 22px !important;
    padding: 0 6px !important;
    border: 1px solid #d8e0ea !important;
    border-radius: 4px !important;
    background: #fff !important;
  }

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

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

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card {
    gap: 7px !important;
    padding: 11px 12px !important;
    border: 1px solid #d8e0ea !important;
    border-left: 3px solid #2563eb !important;
    border-radius: 5px !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.risk {
    border-color: #d8e0ea !important;
    border-left-color: #b45309 !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-top {
    margin: 0 !important;
    min-height: 18px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-state {
    color: #9a3412 !important;
    font-size: .58rem !important;
    font-weight: 900 !important;
    letter-spacing: .01em !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy {
    gap: 2px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy strong {
    color: #0f172a !important;
    font-size: .84rem !important;
    font-weight: 900 !important;
    line-height: 1.12 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy small {
    color: #475569 !important;
    font-size: .63rem !important;
    font-weight: 760 !important;
    line-height: 1.1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    padding-top: 1px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state span,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state time {
    color: #64748b !important;
    font-size: .61rem !important;
    font-weight: 760 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state span.is-owner {
    color: #9a3412 !important;
    font-weight: 860 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx770-mobile-action-strip {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 4px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx770-mobile-action-strip .hvx100-mobile-primary-action.hvx760-mobile-primary-action {
    justify-self: start !important;
    width: auto !important;
    min-width: 86px !important;
    min-height: 28px !important;
    padding: 0 12px !important;
    border: 1px solid #1d4ed8 !important;
    border-radius: 4px !important;
    background: #2563eb !important;
    color: #fff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08) !important;
    font-size: .62rem !important;
    font-weight: 860 !important;
    letter-spacing: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-details summary {
    justify-content: flex-start !important;
    gap: 6px !important;
    min-height: 28px !important;
    color: #334155 !important;
    font-size: .64rem !important;
    font-weight: 820 !important;
  }
}

/* Score 10 shell positioning: account menu is anchored chrome, never canvas-floating. */
html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu.tenant-session-menu {
  position: fixed !important;
  inset: auto auto auto auto !important;
  top: var(--session-menu-top, 158px) !important;
  left: var(--session-menu-left, calc(100vw - 336px)) !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 1200 !important;
  width: var(--session-menu-width, 300px) !important;
  max-width: calc(100vw - 32px) !important;
  max-height: min(var(--session-menu-max-height, 520px), 520px) !important;
  overflow: hidden !important;
  transform: none !important;
  pointer-events: auto !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu.tenant-session-menu.hidden {
  display: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-list {
  max-height: calc(min(var(--session-menu-max-height, 520px), 520px) - 112px) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-item {
  min-height: 40px !important;
  padding: 6px 8px !important;
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu.tenant-session-menu {
    top: var(--session-menu-top, 70px) !important;
    left: var(--session-menu-left, 12px) !important;
    width: var(--session-menu-width, calc(100vw - 24px)) !important;
    max-height: min(var(--session-menu-max-height, 78vh), 78vh) !important;
  }
}

/* Score 10 mobile worklist reset: compact enterprise list, not card CTA UI. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx50-workqueue-mobile {
    padding: 8px !important;
    border-radius: 6px !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx100-mobile-ops-status {
    margin-bottom: 6px !important;
    border-left-width: 2px !important;
    border-radius: 4px !important;
    background: #fbfdff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.risk {
    gap: 6px !important;
    padding: 10px 10px 10px 11px !important;
    border: 1px solid #d8e0ea !important;
    border-left: 2px solid #d8e0ea !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.risk {
    border-left-color: #b45309 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-top {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 16px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-state {
    display: inline-flex !important;
    min-height: 18px !important;
    padding: 0 6px !important;
    border: 1px solid #fed7aa !important;
    border-radius: 3px !important;
    background: #fff7ed !important;
    color: #9a3412 !important;
    font-size: .55rem !important;
    font-weight: 880 !important;
    letter-spacing: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-state::before {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy strong {
    font-size: .8rem !important;
    line-height: 1.08 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy small {
    font-size: .6rem !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state {
    gap: 8px !important;
    padding-top: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state span,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state time {
    font-size: .59rem !important;
    font-weight: 760 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state span.is-owner {
    color: #9a3412 !important;
    font-weight: 840 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx770-mobile-action-strip {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    margin-top: 2px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx770-mobile-action-strip .hvx100-mobile-primary-action.hvx760-mobile-primary-action {
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 27px !important;
    padding: 0 10px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    background: #f8fafc !important;
    color: #1e293b !important;
    box-shadow: none !important;
    font-size: .61rem !important;
    font-weight: 860 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-details {
    display: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-details summary {
    min-height: 27px !important;
    color: #334155 !important;
    font-size: .61rem !important;
    font-weight: 820 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx740-mobile-evidence-summary {
    border-radius: 4px !important;
    background: #f8fafc !important;
  }
}

/* Score 10 Calendar final signal model: cells show type + count, not generic Queue tags. */
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day {
  min-height: 50px !important;
  padding: 7px 9px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day.has-queue-work {
  border-left: 2px solid #b45309 !important;
  background: #fffaf5 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day.is-selected {
  outline: 2px solid #2563eb !important;
  outline-offset: -2px !important;
  background: #f8fbff !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;
  justify-content: center !important;
  min-height: 18px !important;
  max-width: 82px !important;
  padding: 0 6px !important;
  border: 1px solid #fed7aa !important;
  border-radius: 3px !important;
  background: #fff7ed !important;
  color: #9a3412 !important;
  box-shadow: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal.is-owner {
  border-color: #bfdbfe !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal.is-watch {
  border-color: #d8e0ea !important;
  background: #f8fafc !important;
  color: #334155 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal .tenant-calendar-chip-title {
  display: inline !important;
  overflow: hidden !important;
  color: inherit !important;
  font-size: .57rem !important;
  font-weight: 880 !important;
  line-height: 1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Score 10 Calendar: legacy pseudo labels must not overwrite typed schedule signals. */
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-date-context::after,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day.has-queue-work::after {
  content: none !important;
  display: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal {
  max-width: 76px !important;
  border-color: #cbd5e1 !important;
  background: #f8fafc !important;
  color: #334155 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal.is-sla {
  border-color: #fed7aa !important;
  background: #fff7ed !important;
  color: #9a3412 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal.is-owner {
  border-color: #cbd5e1 !important;
  background: #f8fafc !important;
  color: #334155 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-chip.is-queue-signal.is-watch {
  border-color: #d8e0ea !important;
  background: #fff !important;
  color: #475569 !important;
}

/* Score 10 shell identity: one workspace/environment/role pattern, no duplicate role badge. */
html body.tenant-app-body[data-app-surface="workspace"] .tenant-session-menu-btn.tenant-shell-identity-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 206px !important;
  padding: 8px 10px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] .tenant-shell-identity-copy {
  display: grid !important;
  gap: 4px !important;
  min-width: 0 !important;
  text-align: left !important;
}

html body.tenant-app-body[data-app-surface="workspace"] .tenant-shell-identity-copy strong {
  color: #0f172a !important;
  font-size: .78rem !important;
  font-weight: 930 !important;
  line-height: 1 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] .tenant-shell-identity-copy small {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #475569 !important;
  font-size: .64rem !important;
  font-weight: 760 !important;
  line-height: 1 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] .tenant-shell-identity-copy small b {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 16px !important;
  padding: 0 5px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 3px !important;
  background: #f8fafc !important;
  color: #334155 !important;
  font-size: .58rem !important;
  font-weight: 860 !important;
  line-height: 1 !important;
}

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

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-head .meta {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-head .meta span {
  display: grid !important;
  gap: 2px !important;
  min-height: auto !important;
  padding: 6px 7px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 4px !important;
  background: #f8fafc !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-session-menu .tenant-session-menu-head .meta span:last-child {
  grid-column: 1 / -1 !important;
}

/* Score 10 Voice metrics: empty values use enterprise-safe state, never raw N/A. */
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls #app-voice-agent-status {
  color: #334155 !important;
  font-size: .98rem !important;
  font-weight: 860 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls #app-voice-agent-status-detail {
  display: block !important;
  margin-top: 2px !important;
  color: #64748b !important;
  font-size: .58rem !important;
  font-weight: 720 !important;
  line-height: 1.05 !important;
}

/* Score 10 Reports: zero values must carry source and window provenance. */
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-reports .tenant-report-provenance {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin: 10px 0 12px !important;
  border: 1px solid #d8e0ea !important;
  border-radius: 4px !important;
  background: #f8fafc !important;
  overflow: hidden !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-reports .tenant-report-provenance span {
  display: grid !important;
  gap: 3px !important;
  padding: 9px 12px !important;
  border-right: 1px solid #e2e8f0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-reports .tenant-report-provenance span:last-child {
  border-right: 0 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-reports .tenant-report-provenance b {
  color: #334155 !important;
  font-size: .58rem !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-reports .tenant-report-provenance small {
  color: #475569 !important;
  font-size: .68rem !important;
  font-weight: 760 !important;
  line-height: 1.15 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-reports .tenant-report-pulse span.is-zero {
  background: #f8fafc !important;
  color: #475569 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-reports .tenant-report-pulse span.is-zero strong {
  color: #64748b !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-reports .tenant-report-ledger-zero {
  border-left: 3px solid #94a3b8 !important;
  background: #f8fafc !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-reports .tenant-call-list-row .meta {
  max-width: 560px !important;
}

@media (max-width: 860px) {
  html body.tenant-app-body[data-app-surface="workspace"] #app-stage-reports .tenant-report-provenance {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Score 10 mobile IA rewrite: Work Queue is a list with one command affordance. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"] .tenant-toolbar-menu {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border: 1px solid #d8e0ea !important;
    border-radius: 5px !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"] .tenant-toolbar-menu-line {
    width: 15px !important;
    height: 1.5px !important;
    background: #334155 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx50-workqueue-mobile {
    gap: 0 !important;
    padding: 6px 8px !important;
    border: 1px solid #d8e0ea !important;
    border-radius: 5px !important;
  }

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

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

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.risk {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "state command"
      "copy command"
      "meta command" !important;
    align-items: center !important;
    gap: 4px 10px !important;
    padding: 10px 4px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-top {
    grid-area: state !important;
    min-height: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy {
    grid-area: copy !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state {
    grid-area: meta !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command {
    grid-area: command !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 104px !important;
    min-height: 30px !important;
    padding: 0 9px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    background: #f8fafc !important;
    color: #1e293b !important;
    box-shadow: none !important;
    font-size: .62rem !important;
    font-weight: 860 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command b {
    color: #64748b !important;
    font-size: .8rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-state {
    min-height: 16px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #9a3412 !important;
    font-size: .55rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
  }
}

/* Score 10 mobile final: flatten Work Queue into an enterprise mobile list. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] .tenant-stage-main {
    padding-inline: 22px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-stage-stack,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-stage-panel,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-surface {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx50-workqueue-shell,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx100-timeline-workbench {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx50-workqueue-mobile {
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx100-mobile-ops-status {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 0 8px !important;
    padding: 10px 11px !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #2563eb !important;
    border-radius: 5px !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx100-mobile-ops-status strong {
    color: #0f172a !important;
    font-size: .86rem !important;
    font-weight: 930 !important;
    line-height: 1.05 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx100-mobile-ops-status small {
    color: #475569 !important;
    font-size: .62rem !important;
    font-weight: 720 !important;
    line-height: 1.05 !important;
  }

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

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx365-mobile-status-chips span {
    display: inline-flex !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: left !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx365-mobile-status-chips b {
    color: #334155 !important;
    font-size: .6rem !important;
    font-weight: 880 !important;
    letter-spacing: .02em !important;
    line-height: 1 !important;
    text-transform: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx100-mobile-timeline-row {
    display: block !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.risk {
    min-height: 68px !important;
    padding: 10px 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    background: #fff !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy strong {
    color: #0f172a !important;
    font-size: .9rem !important;
    font-weight: 930 !important;
    line-height: 1.06 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy small {
    color: #334155 !important;
    font-size: .66rem !important;
    font-weight: 780 !important;
    line-height: 1.05 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-state {
    color: #9a3412 !important;
    font-size: .57rem !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state span,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state time {
    color: #475569 !important;
    font-size: .61rem !important;
    font-weight: 760 !important;
    line-height: 1.05 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state span.is-owner {
    color: #9a3412 !important;
    font-weight: 900 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command {
    width: 102px !important;
    min-height: 32px !important;
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
    color: #1e293b !important;
    font-size: .63rem !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command b {
    color: #64748b !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx740-mobile-evidence-summary {
    margin-top: 8px !important;
    padding: 9px 11px !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 3px solid #94a3b8 !important;
    border-radius: 5px !important;
    background: #f8fafc !important;
    box-shadow: none !important;
  }
}

/* Score 10 cascade terminus: final mobile and calendar state model. */
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-head {
  padding: 14px 20px 10px !important;
  gap: 12px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-ops-row {
  min-height: 38px !important;
  padding: 7px 12px !important;
  grid-template-columns: minmax(120px, .9fr) minmax(84px, .5fr) minmax(180px, 1fr) minmax(132px, auto) !important;
}

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

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

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-signal-marker {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: start !important;
  min-width: 34px !important;
  min-height: 15px !important;
  padding: 0 5px !important;
  border: 1px solid #fdba74 !important;
  border-radius: 3px !important;
  background: #fff7ed !important;
  color: #7c2d12 !important;
  font-size: .5rem !important;
  font-weight: 920 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.risk,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.watch,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.logged {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "top top"
      "copy action"
      "state action" !important;
    column-gap: 12px !important;
    row-gap: 6px !important;
    min-height: 76px !important;
    padding: 12px 14px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-top {
    grid-area: top !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx960-mobile-age {
    color: #64748b !important;
    font-size: .58rem !important;
    font-weight: 780 !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy {
    grid-area: copy !important;
    display: grid !important;
    gap: 4px !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy strong {
    font-size: .92rem !important;
    line-height: 1.1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy small {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: #475569 !important;
    font-size: .65rem !important;
    line-height: 1.08 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state {
    grid-area: state !important;
    flex-wrap: nowrap !important;
    gap: 7px !important;
    padding-top: 1px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state span,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state .hvx960-mobile-next {
    color: #475569 !important;
    font-size: .63rem !important;
    line-height: 1.08 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state span.is-owner {
    color: #9a3412 !important;
    font-weight: 900 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command {
    grid-area: action !important;
    align-self: center !important;
    width: 108px !important;
    min-height: 34px !important;
    border: 1px solid #cbd5e1 !important;
    background: #f8fafc !important;
    color: #1e293b !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command span,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command b {
    color: #1e293b !important;
    font-size: .64rem !important;
    font-weight: 900 !important;
    opacity: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command.is-selected {
    border-color: rgba(37, 99, 235, .24) !important;
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08) !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command.is-selected span,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command.is-selected b {
    color: #ffffff !important;
  }
}

/* Score 10 mobile blocker fix: one-column queue record with controlled metadata wrapping. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.risk,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.watch,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.logged {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "top"
      "copy"
      "state"
      "action" !important;
    gap: 7px !important;
    min-height: 0 !important;
    padding: 12px 14px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy strong {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy small {
    display: flex !important;
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy small b {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: 116px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy small span {
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state span {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: #334155 !important;
    font-size: .65rem !important;
    font-weight: 830 !important;
    line-height: 1.1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state span.is-owner {
    color: #7c2d12 !important;
    font-weight: 880 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command {
    width: 100% !important;
    min-height: 34px !important;
    justify-content: center !important;
  }
}

/* Score 10 mobile blocker fix: identical queue actions use identical button variants. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command.is-selected,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command:hover,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command:focus-visible {
    width: 100% !important;
    min-height: 34px !important;
    border: 1px solid #94a3b8 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: none !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command span,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command b,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command.is-selected span,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command.is-selected b {
    color: #0f172a !important;
    font-size: .64rem !important;
    font-weight: 900 !important;
    opacity: 1 !important;
  }
}

/* Score 10 Timeline blocker fix: next step is a clear row action, not a status pill. */
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-action-cell button.hvx155-primary-next-action,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline button.hvx70-row-next-label.hvx100-primary-row-action.hvx155-primary-next-action {
  display: grid !important;
  gap: 2px !important;
  width: 100% !important;
  min-height: 32px !important;
  padding: 5px 9px !important;
  border: 1px solid #94a3b8 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: none !important;
  text-align: left !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-action-cell button.hvx155-primary-next-action b,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline button.hvx70-row-next-label.hvx100-primary-row-action.hvx155-primary-next-action b {
  color: #0f172a !important;
  font-size: .68rem !important;
  font-weight: 920 !important;
  line-height: 1.02 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-action-cell button.hvx155-primary-next-action small,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline button.hvx70-row-next-label.hvx100-primary-row-action.hvx155-primary-next-action small {
  color: #64748b !important;
  font-size: .56rem !important;
  font-weight: 760 !important;
  line-height: 1.02 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-action-cell button.hvx155-primary-next-action:hover,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline button.hvx70-row-next-label.hvx100-primary-row-action.hvx155-primary-next-action:hover,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline .hvx50-action-cell button.hvx155-primary-next-action:focus-visible,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-timeline button.hvx70-row-next-label.hvx100-primary-row-action.hvx155-primary-next-action:focus-visible {
  border-color: #64748b !important;
  background: #f8fafc !important;
}

/* Score 10 Voice blocker fix: optional readiness is optional everywhere. */
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-item.is-optional .tenant-call-readiness-review-link {
  min-height: 28px !important;
  padding: 0 10px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  color: #334155 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-item.is-optional .tenant-call-readiness-review-link:hover,
html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-item.is-optional .tenant-call-readiness-review-link:focus-visible {
  border-color: #94a3b8 !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  text-decoration: none !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calls .tenant-call-readiness-item.is-optional .tenant-call-readiness-pill {
  color: #64748b !important;
}

/* Score 10 component rewrite terminus: mobile timeline and calendar resolve to operational list semantics. */
@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.risk,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.watch,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.logged {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "top top"
      "copy copy"
      "state action" !important;
    column-gap: 10px !important;
    row-gap: 5px !important;
    min-height: 0 !important;
    padding: 11px 12px 10px 14px !important;
    border: 0 !important;
    border-top: 1px solid #dbe3ed !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: inset 3px 0 0 #94a3b8 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.risk {
    box-shadow: inset 3px 0 0 #b45309 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.watch {
    box-shadow: inset 3px 0 0 #64748b !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-top {
    grid-area: top !important;
    min-height: 17px !important;
    padding: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-state {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #9a3412 !important;
    font-size: .62rem !important;
    font-weight: 940 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx960-mobile-age {
    color: #64748b !important;
    font-size: .58rem !important;
    font-weight: 760 !important;
    line-height: 1 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy {
    grid-area: copy !important;
    display: grid !important;
    gap: 2px !important;
    min-width: 0 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy strong {
    color: #0f172a !important;
    font-size: .92rem !important;
    font-weight: 940 !important;
    line-height: 1.08 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy small {
    display: flex !important;
    gap: 7px !important;
    min-width: 0 !important;
    color: #475569 !important;
    font-size: .64rem !important;
    font-weight: 780 !important;
    line-height: 1.05 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx760-mobile-card-copy small b {
    max-width: 130px !important;
    overflow: hidden !important;
    color: #334155 !important;
    font-weight: 900 !important;
    text-overflow: ellipsis !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state {
    grid-area: state !important;
    display: block !important;
    min-width: 0 !important;
    padding: 1px 0 0 !important;
    overflow: hidden !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state span {
    display: block !important;
    overflow: hidden !important;
    color: #475569 !important;
    font-size: .62rem !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state span.is-owner {
    color: #7c2d12 !important;
    font-weight: 880 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command.is-selected,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command:hover,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command:focus-visible {
    grid-area: action !important;
    align-self: end !important;
    justify-self: end !important;
    display: inline-flex !important;
    width: auto !important;
    min-width: 86px !important;
    min-height: 24px !important;
    padding: 0 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #334155 !important;
    box-shadow: none !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command span,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command b,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command.is-selected span,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command.is-selected b {
    color: #334155 !important;
    font-size: .62rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    opacity: 1 !important;
  }
}

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

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-toolbar-copy {
  display: grid !important;
  gap: 2px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-date-context {
  margin: 0 !important;
  color: #475569 !important;
  font-size: .68rem !important;
  font-weight: 780 !important;
  line-height: 1.08 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-legend {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-top: 3px !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-legend span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 18px !important;
  padding: 0 7px !important;
  border: 1px solid #d8e0ea !important;
  border-radius: 3px !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-size: .55rem !important;
  font-weight: 880 !important;
  line-height: 1 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-legend .is-sla {
  border-left: 3px solid #b45309 !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-legend .is-owner {
  border-left: 3px solid #64748b !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-legend .is-watch {
  border-left: 3px solid #2563eb !important;
}

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-grid {
  grid-auto-rows: minmax(72px, 1fr) !important;
}

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

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-day.has-queue-work {
  background: #fff !important;
  box-shadow: inset 3px 0 0 #b45309 !important;
}

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

html body.tenant-app-body[data-app-surface="workspace"] #app-stage-calendar .tenant-calendar-empty-state {
  min-height: 0 !important;
  padding: 9px 11px !important;
}

@media (max-width: 760px) {
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.risk,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.watch,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .tenant-timeline-mobile-card.hvx760-mobile-task-card.logged {
    grid-template-columns: minmax(0, 1fr) 54px !important;
    grid-template-areas:
      "top top"
      "copy copy"
      "state action" !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state {
    display: grid !important;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .72fr) minmax(0, 1fr) !important;
    gap: 7px !important;
    align-items: end !important;
    white-space: normal !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state span,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state span.is-owner {
    display: grid !important;
    gap: 2px !important;
    min-width: 0 !important;
    overflow: visible !important;
    color: #475569 !important;
    font-size: .61rem !important;
    font-weight: 820 !important;
    line-height: 1.05 !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state span.is-owner {
    color: #7c2d12 !important;
    font-weight: 900 !important;
  }

  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx780-mobile-inline-state b {
    color: #64748b !important;
    font-size: .48rem !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"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command.is-selected,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command:hover,
  html body.tenant-app-body[data-app-surface="workspace"][data-active-tab="timeline"] #app-stage-timeline .hvx900-mobile-row-command:focus-visible {
    min-width: 52px !important;
    min-height: 44px !important;
    padding: 0 8px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    justify-content: center !important;
    text-decoration: none !important;
  }
}
