/* Theme switch copied from the approved preview pill. No simulated-data label. */
.clxp-pill {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border-radius: 999px;
  background: #000000;
  border: 1px solid rgba(229, 189, 98, 0.55);
  box-shadow:none;
}
.clxp-seg {
  display: inline-flex;
  border: 1px solid #C9A227;
  border-radius: 999px;
  overflow: hidden;
}
.clxp-seg button {
  border: 0;
  background: transparent;
  color:#000000;
  padding: 3px 10px;
  cursor: pointer;
  line-height: 1.4;
  font-family: "Times New Roman", Times, serif !important;
  font-size: 12pt !important;
}
.clxp-seg button[aria-pressed="true"] {
  background: #FFFFFF;
  color: #000000;
  font-weight: 700;
border-color: #C9A227; -webkit-text-fill-color: #000000;}
.clxp-seg button:focus-visible {
  outline: 2px solid #e5bd62;
  outline-offset: -2px;
}

/* pill-clear-20261016: reserve a bottom strip so page content, scroll areas and pinned
   pagination end above the fixed theme switch (switch itself unchanged). Pricing hides the switch. */
body:not(.clx-pricing-page) .app-content {
  margin-bottom: 40px;
}

/* Approved AI Agent Control Center keeps its own interior. */
html[data-clx-theme="signature"] body.clx-aic-page .clx-aic,
html[data-clx-theme="signature"] body.clx-aic-page .clx-aic-dlg {
  color:#FFFFFF;
}
html[data-clx-theme="signature"] body.clx-aic-page .clx-aic h2,
html[data-clx-theme="signature"] body.clx-aic-page .clx-aic-dlg-bar,
html[data-clx-theme="signature"] body.clx-aic-page .clx-aic-dlg-bar h2 {
  color: #fff;
}
html[data-clx-theme="classic"] .clxp-lex { display: none !important; }

/* dd-20261014 account menu stacking */
.app-header {
  z-index: 40;
  overflow: visible;
}

/* =============================================================================
   Workspace destination pages (Signature only)
   Tasks Due, Client Contacts, Deadlines Due Today, Docs to Review/Sign,
   Statements Pending. Remap existing page tokens — do not restack
   per-selector copies of Classic whites. Classic is unchanged.
   dest-20261015
   ============================================================================= */

html[data-clx-theme="signature"] body.clx-tasks-page {
  --tkc-bg: transparent;
  --tkc-card: #000000;
  --tkc-surface: #000000;
  --tkc-hover: rgba(190, 145, 64, 0.16);
  --tkc-th:#000000;
  --tkc-row-line: var(--line);
  --tkc-overdue-row: #000000;
  --tkc-input-bg: #000000;
  --tkc-ink:#FFFFFF;
  --tkc-text:#FFFFFF;
  --tkc-link: var(--gold-300);
  --tkc-hdr:#000000;
  --tkc-hdr-ink: #FFFFFF;
  --tkc-border: var(--line);
  --tkc-muted:#FFFFFF;
  --tkc-shadow: none;
}

html[data-clx-theme="signature"] body.clx-esign-page {
  --es-page-bg: transparent;
  --es-card: #000000;
  --es-surface: #000000;
  --es-ink:#FFFFFF;
  --es-muted:#FFFFFF;
  --es-border: var(--line);
  --es-th:#000000;
  --es-row: rgba(255, 255, 255, 0.03);
  --es-hover: rgba(190, 145, 64, 0.12);
  --es-tab:#000000;
  --es-input-bg: #000000;
  --es-input-border: var(--line);
  --es-selected: rgba(190, 145, 64, 0.16);
  --es-row-line: var(--line);
  --es-link: var(--gold-300);
}

html[data-clx-theme="signature"] body.clx-esign-page .clx-esign-tab.is-active {
  background:#C9A227 !important;
  color:#000000 !important;
  border-color: var(--gold-400) !important;
}

html[data-clx-theme="signature"] body.clx-esign-page .clx-esign-card.is-active {
  border-color: var(--gold-400);
  box-shadow:none;
}

html[data-clx-theme="signature"] body.clx-esign-page .clx-esign-pages a.is-active,
html[data-clx-theme="signature"] body.clx-esign-page .clx-esign-pages span.is-active {
  background: #000000;
  color: #FFFFFF;
  border-color: var(--gold-400);
border-color: #C9A227; -webkit-text-fill-color: #FFFFFF;}

html[data-clx-theme="signature"] .clx-ws-calls-table,
html[data-clx-theme="signature"] .clx-ws-calls-table > :not(caption) > * > * {
  background-color: transparent;
}

html[data-clx-theme="signature"] body.clx-ws-list-page .card {
  background: #000000;
  border: 1px solid var(--line);
  color:#FFFFFF;
  box-shadow:none;
}

html[data-clx-theme="signature"] body.clx-ws-list-page .card-header {
  background: #000000;
  border-bottom: 1px solid var(--gold-400);
  color: #FFFFFF;
  padding: var(--sig-hdr-py, 4px) var(--sig-hdr-px, 9px);
  min-height: 0;
border-color: #C9A227;}

html[data-clx-theme="signature"] body.clx-ws-list-page .card-body {
  background: transparent;
  color:#FFFFFF;
}

html[data-clx-theme="signature"] body.clx-ws-list-page .table {
  --bs-table-bg: transparent;
  --bs-table-color:#FFFFFF;
  --bs-table-border-color: var(--line);
  --bs-table-hover-bg: rgba(190, 145, 64, 0.12);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
  color:#FFFFFF;
  margin-bottom: 0;
}

html[data-clx-theme="signature"] body.clx-ws-list-page .table > :not(caption) > * > * {
  background-color: transparent;
  color: inherit;
  border-bottom-color: var(--line);
}

html[data-clx-theme="signature"] body.clx-ws-list-page .table thead th {
  color: var(--gold-400);
  font-weight: 700;
  white-space: nowrap;
}

html[data-clx-theme="signature"] body.clx-ws-list-page .table a {
  color: var(--gold-300);
}

html[data-clx-theme="signature"] body.clx-ws-list-page .table-danger,
html[data-clx-theme="signature"] body.clx-ws-list-page tr.table-danger > * {
  --bs-table-bg: transparent;
  background-color: rgba(180, 50, 50, 0.28);
  color:#FFFFFF;
}

html[data-clx-theme="signature"] body.clx-ws-list-page .text-muted,
html[data-clx-theme="signature"] body.clx-ws-list-page .card-body p {
  color:#FFFFFF;
}

html[data-clx-theme="signature"] body.clx-ws-list-page .badge.bg-danger {
  background: var(--sig-danger, #c45c5c);
}

html[data-clx-theme="signature"] body.clx-ws-list-page .page-actions .btn-outline-primary,
html[data-clx-theme="signature"] body.clx-ws-list-page .btn-outline-primary {
  background: transparent;
  color:#000000;
  border-color: var(--gold-400);
}

html[data-clx-theme="signature"] body.clx-ws-list-page .page-actions .btn-outline-primary:hover,
html[data-clx-theme="signature"] body.clx-ws-list-page .btn-outline-primary:hover {
  background: #FFFFFF;
  color: #000000;
  border-color: var(--gold-400);
border-color: #C9A227; -webkit-text-fill-color: #000000;}

html[data-clx-theme="signature"] body.clx-ws-list-page .btn-outline-secondary {
  background: transparent;
  color:#000000;
  border-color: var(--line);
}
