:root {
  color: #e8e2d6;
  background: #0a0e1a;
  --bg: #0a0e1a;
  --bg-2: #101828;
  --panel: rgba(17, 24, 39, .78);
  --panel-solid: #111827;
  --panel-soft: rgba(201, 168, 76, .05);
  --border: rgba(201, 168, 76, .16);
  --border-strong: rgba(201, 168, 76, .34);
  --text: #e8e2d6;
  --muted: #8a8272;
  --gold: #c9a84c;
  --gold-bright: #e1c766;
  --blue: #5f83d8;
  --green: #3bb273;
  --red: #c75b55;
  --orange: #d9894a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 28% -10%, rgba(201, 168, 76, .12), transparent 34%),
    linear-gradient(135deg, #0a0e1a 0%, #111827 52%, #0d1322 100%);
}

button,
input,
select {
  font: inherit;
}

.hidden {
  display: none !important;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(10, 14, 26, .88), rgba(17, 24, 39, .76)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #0a0e1a;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  font-family: Georgia, serif;
  font-size: 26px;
  box-shadow: 0 0 28px rgba(201, 168, 76, .18);
}

.login-panel {
  width: min(920px, 100%);
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  background: rgba(10, 14, 26, .94);
  border: 1px solid var(--border);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .46);
}

.login-copy {
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(160deg, rgba(201, 168, 76, .12), rgba(17, 24, 39, .72) 42%, #0a0e1a 100%);
  color: var(--text);
}

.brand-kicker,
.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.login-copy h1 {
  max-width: 360px;
  margin: 12px 0 16px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: .98;
}

.login-copy p {
  max-width: 430px;
  color: #b8b1a4;
  line-height: 1.6;
}

.login-form {
  padding: 56px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: #b8b1a4;
  font-size: 13px;
  font-weight: 700;
}

.login-form input,
.search-box input,
select,
.call-form input,
.user-form input {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(10, 14, 26, .72);
  color: var(--text);
  outline: none;
}

.login-form input,
.call-form input,
.user-form input {
  padding: 0 13px;
}

.login-form input:focus,
.search-box:focus-within,
select:focus,
.call-form input:focus,
.user-form input:focus {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, .1);
}

.primary-button,
.google-button,
.ghost-button,
.action-button,
.text-button,
.icon-button,
.lead-summary {
  cursor: pointer;
  text-decoration: none;
}

.primary-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  border: 1px solid rgba(201, 168, 76, .35);
  background: linear-gradient(135deg, rgba(201, 168, 76, .26), rgba(201, 168, 76, .09));
  color: var(--gold-bright);
  font-weight: 800;
}

.primary-button.small {
  min-height: 40px;
  padding: 0 16px;
}

.google-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(10, 14, 26, .72);
  color: var(--text);
  font-weight: 800;
}

.form-error,
.alert {
  border: 1px solid #f1b3ae;
  background: rgba(117, 35, 31, .24);
  color: #ffb8b3;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.login-note {
  color: var(--muted);
  font-size: 12px;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px 1fr;
  background:
    radial-gradient(circle at 70% -18%, rgba(201, 168, 76, .1), transparent 32%),
    linear-gradient(135deg, #0a0e1a 0%, #111827 48%, #0d1322 100%);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: rgba(6, 10, 20, .82);
  border-right: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(18px);
}

.brand-lockup,
.sidebar-user,
.nav-stack a,
.topbar,
.lead-summary,
.section-heading,
.action-row,
.call-form {
  display: flex;
  align-items: center;
}

.brand-lockup {
  gap: 12px;
}

.brand-lockup strong {
  display: block;
  font-size: 18px;
}

.brand-lockup span,
.sidebar-user small {
  color: var(--muted);
  font-size: 12px;
}

.nav-stack {
  display: grid;
  gap: 6px;
  margin-top: 34px;
}

.nav-stack a {
  gap: 10px;
  padding: 11px 12px;
  border-radius: 8px;
  color: #c9c2b0;
  text-decoration: none;
}

.nav-stack a.active,
.nav-stack a:hover {
  background: rgba(201, 168, 76, .1);
  color: var(--gold-bright);
  box-shadow: inset 0 0 0 1px rgba(201, 168, 76, .12);
}

.sidebar-user {
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.sidebar-user-meta {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.sidebar-user span {
  font-weight: 800;
}

.user-avatar,
.ai-message-avatar,
.ai-panel-avatar,
.ai-orb {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(201, 168, 76, .22);
  border-radius: 8px;
  color: var(--gold-bright);
  background: linear-gradient(145deg, rgba(201, 168, 76, .2), rgba(95, 131, 216, .12));
  font-size: 13px;
  font-weight: 950;
}

.ai-message-avatar,
.ai-panel-avatar,
.ai-orb {
  color: #101827;
  background: linear-gradient(135deg, var(--gold-bright), #f7df8b);
}

.ai-message-avatar svg,
.ai-panel-avatar svg,
.ai-orb svg {
  width: 22px;
  height: 22px;
}

.icon-button {
  width: 42px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  color: var(--gold-bright);
  background: rgba(201, 168, 76, .08);
  font-size: 12px;
  font-weight: 800;
}

.workspace {
  min-width: 0;
  padding: 28px;
}

.topbar {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.topbar h1 {
  margin: 4px 0 0;
  color: var(--text);
  text-shadow: 0 0 20px rgba(201, 168, 76, .08);
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0;
}

.eyebrow {
  margin: 0;
}

.ghost-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(17, 24, 39, .66);
  color: var(--gold-bright);
  font-weight: 800;
}

.ghost-button.small {
  min-height: 36px;
  padding: 0 12px;
}

.ghost-button:disabled {
  cursor: not-allowed;
  color: var(--muted);
  opacity: .58;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.metric {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(17, 24, 39, .86), rgba(10, 14, 26, .72));
  box-shadow: 0 16px 42px rgba(0, 0, 0, .16);
}

.metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.metric strong {
  color: var(--gold-bright);
  font-size: 34px;
  line-height: 1;
}

.metric.good strong {
  color: #55d08b;
}

.metric.warn strong {
  color: #f0a169;
}

.metric.attention strong {
  color: #9fb8ff;
}

.controls-band {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 150px 170px 150px;
  gap: 10px;
  margin-bottom: 16px;
}

.analytics-controls {
  display: grid;
  grid-template-columns: 150px repeat(2, 170px) 180px;
  gap: 10px;
  margin-bottom: 14px;
}

.analytics-controls label {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(17, 24, 39, .72);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.analytics-controls input {
  width: 100%;
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: none;
}

.search-box {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(17, 24, 39, .72);
}

.search-box span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-box input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 0;
  box-shadow: none;
}

select {
  width: 100%;
  min-width: 0;
  padding: 0 12px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: start;
  gap: 18px;
}

.crm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: start;
  gap: 18px;
}

.crm-main,
.crm-profile-panel {
  min-width: 0;
}

.crm-profile-panel {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 12px;
}

.crm-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.crm-summary .metric {
  min-height: 86px;
  padding: 14px;
}

.crm-summary .metric strong {
  font-size: 28px;
}

.crm-section-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.crm-section-tabs button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(201, 168, 76, .14);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(17, 24, 39, .58);
  font-weight: 900;
  cursor: pointer;
}

.crm-section-tabs button.active,
.crm-section-tabs button:hover {
  border-color: rgba(201, 168, 76, .38);
  color: var(--gold-bright);
  background: rgba(201, 168, 76, .1);
}

.crm-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .55fr);
  gap: 14px;
  align-items: start;
}

.crm-section-grid > .view-panel:first-child {
  grid-column: 1 / -1;
}

.make-control-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, .58fr);
}

.make-control-grid > .view-panel:first-child,
.make-inventory-panel {
  grid-column: 1 / -1;
}

.make-overview-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.crm-directory {
  padding: 14px;
}

.crm-lead-list {
  display: grid;
  gap: 8px;
}

.crm-lead-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 180px 120px minmax(160px, .8fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(201, 168, 76, .1);
  border-radius: 8px;
  background: rgba(10, 14, 26, .36);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.crm-lead-row.active,
.crm-lead-row:hover {
  border-color: var(--border-strong);
  background: rgba(201, 168, 76, .07);
}

.crm-lead-row div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.crm-lead-row strong {
  color: var(--text);
  font-size: 14px;
}

.crm-lead-row span:not(.status-pill),
.crm-lead-row small {
  min-width: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.crm-profile,
.automation-map,
.integration-panel {
  padding: 14px;
}

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

.crm-flags {
  margin-top: 12px;
}

.automation-steps {
  display: grid;
  gap: 8px;
}

.automation-steps div {
  padding: 11px;
  border: 1px solid rgba(201, 168, 76, .08);
  border-radius: 8px;
  background: rgba(201, 168, 76, .04);
}

.automation-steps strong,
.automation-steps span {
  display: block;
}

.automation-steps strong {
  color: var(--text);
}

.automation-steps span {
  margin-top: 3px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.automation-steps p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

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

.button-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.sync-note {
  margin-bottom: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(201, 168, 76, .16);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(201, 168, 76, .05);
  font-size: 13px;
  line-height: 1.35;
}

.integration-list div {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto;
  align-items: center;
  gap: 5px 10px;
  padding: 11px;
  border: 1px solid rgba(201, 168, 76, .08);
  border-radius: 8px;
  background: rgba(10, 14, 26, .34);
}

.integration-list strong {
  color: var(--text);
  font-size: 14px;
}

.integration-list span {
  justify-self: end;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.integration-list span.connected {
  color: var(--green);
}

.integration-list span.pending {
  color: var(--orange);
}

.integration-list small {
  grid-column: 1 / -1;
  color: var(--muted);
  line-height: 1.35;
}

.integration-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.integration-stats.wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.integration-stats div,
.integration-stats button {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(201, 168, 76, .1);
  border-radius: 8px;
  color: inherit;
  background: rgba(95, 131, 216, .08);
  text-align: left;
}

.integration-stats button {
  cursor: pointer;
}

.integration-stats button:hover {
  border-color: rgba(201, 168, 76, .36);
  background: rgba(201, 168, 76, .08);
}

.integration-stats span,
.workspace-services span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.integration-stats strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 22px;
}

.integration-stats small {
  display: block;
  margin-top: 2px;
  color: var(--muted-soft);
  font-size: 12px;
  line-height: 1.3;
}

.workspace-services {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.workspace-services h3 {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
}

.workspace-services div {
  display: grid;
  grid-template-columns: minmax(95px, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(201, 168, 76, .08);
  border-radius: 8px;
  background: rgba(10, 14, 26, .3);
}

.workspace-services strong {
  color: var(--text);
  font-size: 13px;
}

.workspace-services span {
  justify-self: end;
}

.workspace-services span.connected {
  color: var(--green);
}

.workspace-services span.pending {
  color: var(--orange);
}

.workspace-services small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.workspace-services.expanded {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workspace-services.expanded h3 {
  grid-column: 1 / -1;
}

.explain-panel {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(95, 131, 216, .18);
  border-radius: 8px;
  background: rgba(95, 131, 216, .08);
}

.explain-panel strong {
  color: var(--text);
}

.explain-panel p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.ranked-list,
.meta-lead-table,
.breakdown-table {
  display: grid;
  gap: 8px;
}

.ranked-list div {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(201, 168, 76, .08);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(10, 14, 26, .34);
}

.ranked-list span,
.ranked-list strong {
  position: relative;
  z-index: 1;
}

.ranked-list span {
  min-width: 0;
  color: var(--text);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.ranked-list strong {
  color: var(--gold-bright);
}

.ranked-list i {
  position: absolute;
  inset: auto auto 0 0;
  height: 3px;
  background: var(--blue);
}

.small-select {
  min-height: 36px;
  max-width: 120px;
  padding: 0 10px;
}

.breakdown-table div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(201, 168, 76, .08);
  border-radius: 8px;
  background: rgba(10, 14, 26, .34);
}

.breakdown-table span {
  color: var(--text);
  overflow-wrap: anywhere;
}

.breakdown-table strong {
  color: var(--gold-bright);
}

.drilldown-panel {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(95, 131, 216, .2);
  border-radius: 8px;
  background: rgba(95, 131, 216, .07);
}

.drilldown-table {
  display: grid;
  gap: 8px;
  max-height: 430px;
  overflow: auto;
}

.drilldown-table button {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 1fr) minmax(220px, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(201, 168, 76, .08);
  border-radius: 8px;
  color: inherit;
  background: rgba(10, 14, 26, .42);
  text-align: left;
}

.drilldown-table button:not(:disabled) {
  cursor: pointer;
}

.drilldown-table button:not(:disabled):hover {
  border-color: rgba(201, 168, 76, .34);
}

.drilldown-table strong,
.drilldown-table span,
.drilldown-table small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.drilldown-table strong {
  color: var(--text);
}

.drilldown-table span,
.drilldown-table small,
.drilldown-table em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.meta-lead-table div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, .5fr);
  gap: 4px 10px;
  padding: 11px;
  border: 1px solid rgba(201, 168, 76, .08);
  border-radius: 8px;
  background: rgba(10, 14, 26, .34);
}

.meta-lead-table strong,
.meta-lead-table span,
.meta-lead-table small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.meta-lead-table strong {
  color: var(--text);
}

.meta-lead-table span,
.meta-lead-table small,
.meta-lead-table em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.meta-lead-table small {
  grid-column: 1 / -1;
}

.meta-lead-table em {
  justify-self: end;
}

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

.integration-events.standalone {
  margin-top: 0;
}

.workspace-action-panel {
  display: grid;
  gap: 12px;
}

.selected-lead-strip {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid rgba(201, 168, 76, .1);
  border-radius: 8px;
  background: rgba(95, 131, 216, .08);
}

.selected-lead-strip strong {
  color: var(--text);
}

.selected-lead-strip span,
.selected-lead-strip small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

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

.workspace-action-card {
  min-height: 118px;
  padding: 12px;
  border: 1px solid rgba(201, 168, 76, .1);
  border-radius: 8px;
  color: inherit;
  background: rgba(10, 14, 26, .38);
  text-align: left;
  cursor: pointer;
}

.workspace-action-card:hover:not(:disabled) {
  border-color: rgba(201, 168, 76, .38);
  background: rgba(201, 168, 76, .08);
}

.workspace-action-card:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.workspace-action-card strong,
.workspace-action-card span {
  display: block;
}

.workspace-action-card strong {
  color: var(--gold-bright);
}

.workspace-action-card span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.workspace-file-list,
.make-scenario-list {
  display: grid;
  gap: 8px;
}

.workspace-file-list a,
.make-scenario-list > div,
.make-scenario-list > article {
  display: grid;
  gap: 4px 10px;
  padding: 11px;
  border: 1px solid rgba(201, 168, 76, .08);
  border-radius: 8px;
  background: rgba(10, 14, 26, .34);
  color: inherit;
  text-decoration: none;
}

.workspace-file-list a,
.make-scenario-list > div {
  grid-template-columns: minmax(0, 1fr) auto;
}

.workspace-file-list strong,
.make-scenario-list strong {
  min-width: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.workspace-file-list span,
.workspace-file-list small,
.make-scenario-list span,
.make-scenario-list small {
  color: var(--muted);
  font-size: 12px;
}

.workspace-file-list small,
.make-scenario-list small {
  grid-column: 1 / -1;
}

.make-scenario-list span.connected {
  color: var(--green);
}

.make-scenario-list span.pending,
.sync-note.warn {
  color: var(--orange);
}

.sync-note.good a {
  display: inline-block;
  margin-left: 8px;
  color: var(--gold-bright);
  font-weight: 900;
}

.webhook-list {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 10px;
  margin-top: 12px;
  padding: 10px;
  border: 1px dashed rgba(201, 168, 76, .16);
  border-radius: 8px;
  background: rgba(201, 168, 76, .035);
}

.webhook-list span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.webhook-list code {
  min-width: 0;
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.scorecard-daily-list,
.scorecard-agent-table {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.scorecard-daily-list div,
.scorecard-agent-table div,
.scorecard-agent-table button {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(201, 168, 76, .08);
  border-radius: 8px;
  background: rgba(10, 14, 26, .34);
  text-align: left;
}

.scorecard-agent-table button {
  width: 100%;
  color: inherit;
}

.scorecard-agent-table button.active,
.scorecard-agent-table button:hover {
  border-color: rgba(201, 168, 76, .34);
  background: rgba(201, 168, 76, .08);
}

.scorecard-daily-list strong,
.scorecard-agent-table strong {
  color: var(--text);
}

.scorecard-daily-list span,
.scorecard-agent-table span {
  justify-self: end;
  color: var(--gold-bright);
  font-weight: 900;
}

.scorecard-daily-list small,
.scorecard-agent-table small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.scorecard-agent-studio {
  grid-column: 1 / -1;
}

.scorecard-agent-controls {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.scorecard-agent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.scorecard-agent-grid > div,
.scorecard-recent-cards article {
  border: 1px solid rgba(201, 168, 76, .1);
  border-radius: 8px;
  background: rgba(10, 14, 26, .34);
  padding: 12px;
}

.scorecard-agent-grid h3,
.scorecard-recent-cards h3 {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 13px;
  text-transform: uppercase;
}

.agent-note-groups {
  display: grid;
  gap: 10px;
}

.agent-note-groups div {
  display: grid;
  gap: 6px;
}

.agent-note-groups strong {
  color: var(--text);
}

.agent-note-groups p,
.scorecard-recent-cards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.scorecard-recent-cards {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.scorecard-recent-cards article {
  display: grid;
  gap: 5px;
}

.scorecard-recent-cards strong {
  color: var(--text);
}

.scorecard-recent-cards span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.scorecard-import-form {
  display: grid;
  gap: 10px;
}

.scorecard-import-form textarea {
  width: 100%;
  min-height: 180px;
  resize: vertical;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(10, 14, 26, .72);
  color: var(--text);
  outline: none;
}

.scorecard-import-form textarea:focus {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, .1);
}

.scorecard-report-builder {
  grid-column: 1 / -1;
}

.scorecard-report-controls {
  display: grid;
  grid-template-columns: 180px repeat(4, minmax(130px, 1fr));
  gap: 10px;
}

.scorecard-report-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.scorecard-report-controls input,
.scorecard-report-controls select {
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: rgba(10, 14, 26, .72);
  color: var(--text);
}

.report-actions {
  margin-top: 12px;
  flex-wrap: wrap;
}

.ai-section {
  align-items: start;
}

.ai-chat-panel {
  grid-column: 1 / -1;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.status-pill.connected {
  color: var(--success);
  border-color: rgba(94, 234, 164, .28);
  background: rgba(94, 234, 164, .08);
}

.status-pill.pending {
  color: var(--gold-bright);
  border-color: rgba(201, 168, 76, .3);
  background: rgba(201, 168, 76, .08);
}

.ai-prompt-grid {
  display: grid;
  grid-template-columns: repeat(5, auto);
  justify-content: start;
  gap: 8px;
  margin: 14px 0;
}

.ai-prompt-grid button {
  min-height: 36px;
  white-space: nowrap;
  text-align: center;
  line-height: 1;
}

.ai-chat-log {
  display: grid;
  gap: 12px;
  max-height: 520px;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(5, 8, 14, .22);
}

.ai-message {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 6px;
  max-width: 860px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  color: var(--text);
}

.ai-message.user {
  justify-self: end;
  background: rgba(201, 168, 76, .1);
  border-color: rgba(201, 168, 76, .18);
}

.ai-message-body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.ai-message strong {
  color: var(--gold-bright);
}

.ai-message div {
  color: rgba(255, 255, 255, .84);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.ai-message .ai-message-avatar {
  color: #101827;
  line-height: 1;
}

.ai-message small {
  color: var(--muted);
}

.ai-message.compact {
  max-width: none;
  padding: 10px;
  font-size: 13px;
}

.ai-chat-form {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 10px;
  margin-top: 12px;
}

.ai-chat-form select,
.ai-chat-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(10, 14, 26, .72);
  color: var(--text);
}

.ai-chat-form textarea {
  min-height: 74px;
  resize: vertical;
}

.payload-sample {
  overflow: auto;
  margin: 14px 0 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(5, 8, 14, .34);
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
}

.floating-ai-launch {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 188px;
  min-height: 60px;
  padding: 10px 16px 10px 12px;
  border: 1px solid rgba(201, 168, 76, .38);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(201, 168, 76, .22), rgba(17, 24, 39, .96));
  color: var(--text);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .38);
}

.floating-ai-launch-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.floating-ai-launch-copy strong {
  color: var(--gold-bright);
  font-size: 15px;
  font-weight: 950;
}

.floating-ai-launch-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.floating-ai-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 51;
  width: min(680px, calc(100vw - 28px));
  min-width: min(520px, calc(100vw - 28px));
  min-height: 560px;
  max-height: min(760px, calc(100vh - 34px));
  display: grid;
  grid-template-rows: auto auto minmax(220px, 1fr) auto auto auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(201, 168, 76, .24);
  border-radius: 10px;
  background: rgba(10, 14, 26, .96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .52);
  backdrop-filter: blur(14px);
  overflow: auto;
  resize: both;
}

.floating-ai-head,
.voice-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.floating-ai-head {
  justify-content: flex-start;
}

.floating-ai-head .icon-button {
  margin-left: auto;
}

.floating-ai-head strong {
  display: block;
  color: var(--text);
  font-size: 15px;
}

.floating-ai-head span,
.voice-disclosure {
  color: var(--muted);
  font-size: 12px;
}

.floating-ai-log {
  display: grid;
  gap: 8px;
  min-height: 220px;
  max-height: none;
  overflow: auto;
  padding: 10px;
  border: 1px solid rgba(201, 168, 76, .1);
  border-radius: 8px;
  background: rgba(5, 8, 14, .28);
}

.voice-toolbar {
  align-items: stretch;
}

.voice-toolbar .ghost-button {
  flex: 1;
  min-width: 0;
  white-space: normal;
}

.voice-toolbar .ghost-button.active {
  color: var(--green);
  border-color: rgba(94, 234, 164, .3);
  background: rgba(94, 234, 164, .08);
}

.voice-disclosure {
  margin: -4px 0 0;
  line-height: 1.4;
}

.floating-ai-form {
  display: grid;
  grid-template-columns: 128px minmax(240px, 1fr) auto;
  gap: 8px;
}

.floating-ai-form select,
.floating-ai-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(10, 14, 26, .78);
  color: var(--text);
  outline: none;
}

.floating-ai-form select {
  padding: 0 10px;
}

.floating-ai-form textarea {
  min-height: 82px;
  max-height: 220px;
  padding: 9px 10px;
  resize: vertical;
}

.compact-note {
  margin: 0;
  padding: 8px 10px;
  font-size: 12px;
}

.integration-events {
  margin-top: 14px;
  display: grid;
  gap: 7px;
}

.integration-events h3 {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
}

.integration-events p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
}

.integration-events strong {
  color: var(--gold);
}

.integration-events small {
  display: block;
  margin-top: 2px;
  color: var(--muted-soft);
}

.lead-column,
.analytics-panel {
  min-width: 0;
}

.section-heading {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-heading.compact {
  align-items: flex-start;
}

.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 19px;
}

.section-heading p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--gold-bright);
  font-weight: 800;
}

.lead-card,
.chart-box,
.admin-panel,
.view-panel,
.followup-card,
.user-row,
.empty-state,
.skeleton {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(17, 24, 39, .72);
}

.lead-card {
  margin-bottom: 10px;
  overflow: hidden;
}

.lead-summary {
  width: 100%;
  gap: 10px;
  padding: 14px;
  border: 0;
  background: rgba(17, 24, 39, .72);
  text-align: left;
}

.chevron {
  width: 20px;
  color: var(--gold);
  transition: transform .18s ease;
}

.chevron.open {
  transform: rotate(180deg);
}

.lead-name {
  min-width: 0;
  flex: 1;
  color: var(--text);
  font-weight: 900;
}

.lead-phone {
  color: var(--muted);
  font-size: 13px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  max-width: 170px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill.booked {
  background: linear-gradient(135deg, #3bb273, #2a8d5a);
}

.status-pill.quality {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #15100a;
}

.status-pill.non-quality {
  background: linear-gradient(135deg, #c75b55, #983b36);
}

.status-pill.non-contactable,
.status-pill.callback-later {
  background: linear-gradient(135deg, #d9894a, #a9652f);
}

.status-pill.other {
  background: #737b8c;
}

.lead-details {
  padding: 0 14px 14px;
  border-top: 1px solid rgba(201, 168, 76, .1);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 14px;
}

.detail-item {
  min-height: 70px;
  padding: 11px;
  border-radius: 8px;
  background: rgba(201, 168, 76, .04);
  border: 1px solid rgba(201, 168, 76, .06);
}

.detail-item span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-item strong,
.notes,
.log-entry span {
  overflow-wrap: anywhere;
}

.detail-item strong {
  color: #d8d1c4;
  font-size: 13px;
}

.notes {
  margin: 12px 0 0;
  padding: 12px;
  border-left: 3px solid #d6b85a;
  background: rgba(201, 168, 76, .08);
  color: #d8d1c4;
  line-height: 1.5;
}

.note-panel {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(201, 168, 76, .1);
  border-left: 3px solid #d6b85a;
  border-radius: 8px;
  background: rgba(201, 168, 76, .06);
}

.note-panel-head,
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.note-panel-head strong {
  display: block;
  color: var(--text);
}

.note-panel-head span,
.note-panel-head em,
.raw-notes summary,
.raw-notes p {
  color: var(--muted);
  font-size: 12px;
}

.note-panel-head em {
  font-style: normal;
  font-weight: 800;
  text-align: right;
}

.note-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.note-flags span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(201, 168, 76, .16);
  border-radius: 999px;
  background: rgba(10, 14, 26, .38);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 900;
}

.call-history {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.call-history li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(10, 14, 26, .44);
  border: 1px solid rgba(201, 168, 76, .07);
}

.call-history strong,
.call-history span {
  display: block;
}

.call-history strong {
  color: var(--text);
  font-size: 13px;
}

.call-history span {
  margin-top: 3px;
  color: #d8d1c4;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.call-history small {
  color: var(--muted);
  white-space: nowrap;
}

.raw-notes {
  margin-top: 10px;
}

.raw-notes summary {
  cursor: pointer;
  font-weight: 800;
}

.raw-notes p {
  margin: 8px 0 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.quo-call-panel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(95, 131, 216, .2);
  border-radius: 8px;
  background: rgba(95, 131, 216, .06);
}

.call-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.call-panel-heading strong,
.call-panel-heading span {
  display: block;
}

.call-panel-heading strong {
  color: var(--text);
}

.call-panel-heading span {
  color: var(--muted);
  font-size: 12px;
}

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

.call-stats div {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(201, 168, 76, .08);
  border-radius: 8px;
  background: rgba(10, 14, 26, .38);
}

.call-stats span,
.call-stats strong {
  display: block;
}

.call-stats span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.call-stats strong {
  margin-top: 3px;
  color: var(--gold-bright);
  font-size: 16px;
}

.mini-alert {
  padding: 9px 10px;
  border: 1px solid rgba(199, 91, 85, .25);
  border-radius: 8px;
  color: #f0b4ae;
  background: rgba(199, 91, 85, .09);
  font-size: 12px;
}

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

.quo-call-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 9px;
  border: 1px solid rgba(201, 168, 76, .07);
  border-radius: 8px;
  background: rgba(10, 14, 26, .36);
}

.quo-call-row strong,
.quo-call-row span {
  display: block;
}

.quo-call-row strong {
  color: var(--text);
  font-size: 13px;
}

.quo-call-row span,
.quo-call-row small,
.quo-call-row a {
  color: var(--muted);
  font-size: 12px;
}

.quo-call-row a {
  color: var(--gold-bright);
  font-weight: 800;
}

.lead-activity-section {
  display: grid;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(201, 168, 76, .1);
}

.lead-activity-section > strong {
  color: var(--text);
}

.lead-activity-section p {
  margin: 0;
  padding: 9px;
  border: 1px solid rgba(201, 168, 76, .07);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(10, 14, 26, .28);
  line-height: 1.45;
}

.lead-activity-section p span {
  color: var(--gold-bright);
  font-weight: 900;
  text-transform: capitalize;
}

.transcript-section details {
  padding: 9px;
  border: 1px solid rgba(110, 231, 168, .16);
  border-radius: 8px;
  background: rgba(110, 231, 168, .05);
}

.transcript-section summary {
  cursor: pointer;
  color: var(--green);
  font-weight: 900;
}

.lead-status-actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(110, 231, 168, .16);
  border-radius: 8px;
  background: rgba(110, 231, 168, .05);
}

.lead-status-actions strong,
.lead-status-actions span {
  display: block;
}

.lead-status-actions span {
  color: var(--muted);
  font-size: 12px;
}

.lead-status-button-row,
.lead-status-note-form,
.followup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.lead-status-note-form input {
  flex: 1;
  min-width: 220px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: rgba(10, 14, 26, .48);
}

.action-row {
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.action-button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(10, 14, 26, .48);
  color: var(--gold-bright);
  font-weight: 800;
}

.call-form {
  gap: 8px;
  margin-top: 12px;
}

.admin-panel {
  margin-top: 18px;
  padding: 16px;
}

.view-panel {
  padding: 16px;
}

.view-panel .charts {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(240px, .8fr));
  gap: 12px;
}

.view-panel .chart-box {
  margin-bottom: 0;
}

.primary-chart {
  min-height: 300px;
}

.followup-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.followup-utility {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(201, 168, 76, .12);
  border-radius: 8px;
  background: rgba(10, 14, 26, .32);
}

.followup-utility strong {
  color: var(--gold-bright);
}

.followup-utility span {
  color: var(--muted);
}

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

.followup-card {
  overflow: hidden;
}

.followup-card .lead-card {
  margin-bottom: 0;
  border: 0;
  border-top: 1px solid rgba(201, 168, 76, .1);
  border-radius: 0;
  background: transparent;
}

.followup-reason {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(201, 168, 76, .07);
}

.followup-actions {
  padding: 10px 14px 0;
}

.followup-reason strong {
  color: var(--gold-bright);
}

.followup-reason span,
.settings-note {
  color: var(--muted);
  font-size: 13px;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.access-grid div {
  min-height: 92px;
  padding: 12px;
  border: 1px solid rgba(201, 168, 76, .1);
  border-radius: 8px;
  background: rgba(201, 168, 76, .04);
}

.access-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-bright);
}

.access-grid span {
  color: #b8b1a4;
  font-size: 13px;
  line-height: 1.4;
}

.settings-note {
  margin: 0 0 14px;
}

.user-form {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(190px, 1.2fr) 130px minmax(140px, 1fr) 110px;
  gap: 10px;
  margin-bottom: 14px;
}

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

.user-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 130px 110px 90px 90px 140px 72px 70px;
  align-items: center;
  gap: 10px;
  padding: 12px;
}

.user-row div {
  display: grid;
  gap: 3px;
}

.user-row .user-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.user-row .user-identity > div:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.user-row strong {
  color: var(--text);
}

.user-row span,
.user-row small {
  color: var(--muted);
}

.user-row em {
  color: var(--gold-bright);
  font-style: normal;
  font-weight: 800;
  text-transform: capitalize;
}

.role-select {
  min-height: 38px;
}

.checkbox-control {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(10, 14, 26, .42);
  color: #d8d1c4;
  font-size: 13px;
  font-weight: 800;
}

.checkbox-control.compact {
  min-height: 38px;
  justify-content: center;
}

.checkbox-control input {
  width: 16px;
  height: 16px;
  min-height: 0;
  accent-color: var(--gold);
}

.permission-matrix {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(201, 168, 76, .1);
}

.permission-matrix fieldset {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(201, 168, 76, .12);
  border-radius: 8px;
  background: rgba(10, 14, 26, .28);
}

.permission-matrix legend {
  padding: 0 5px;
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.permission-matrix .checkbox-control {
  justify-content: flex-start;
  min-height: 32px;
  padding: 0 8px;
  font-size: 12px;
}

.call-form input {
  flex: 1;
}

.log-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.log-entry {
  display: grid;
  gap: 3px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(10, 14, 26, .46);
  border: 1px solid rgba(201, 168, 76, .06);
}

.log-entry strong {
  color: var(--text);
  font-size: 13px;
}

.log-entry small,
.muted {
  color: var(--muted);
}

.analytics-panel {
  position: sticky;
  top: 18px;
}

.chart-box {
  overflow: hidden;
  padding: 14px;
  margin-bottom: 12px;
}

.chart-box h3 {
  margin: 0 0 12px;
  font-size: 14px;
}

.line-chart,
.scaled-chart {
  width: 100%;
  height: 220px;
}

.line-chart circle,
.scaled-chart circle {
  fill: #2d63bc;
}

.scaled-chart rect {
  fill: url("#barGradient");
  fill: #c9a84c;
}

.scaled-chart .axis {
  stroke: rgba(232, 226, 214, .42);
  stroke-width: 1;
}

.scaled-chart .grid-line {
  stroke: rgba(201, 168, 76, .12);
  stroke-width: 1;
}

.scaled-chart .axis-label {
  fill: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.donut-list,
.bar-list {
  display: grid;
  gap: 10px;
}

.donut-chart-wrap {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.donut-chart {
  width: 150px;
  height: 150px;
}

.donut-chart text:first-of-type {
  fill: var(--text);
  font-size: 28px;
  font-weight: 900;
}

.donut-chart text:last-of-type {
  fill: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.donut-list.compact {
  gap: 7px;
}

.donut-list div,
.bar-row {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 8px;
}

.donut-list span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.donut-list strong,
.bar-row span {
  color: #d8d1c4;
  font-size: 13px;
}

.donut-list em,
.bar-row strong {
  color: var(--gold-bright);
  font-style: normal;
  font-weight: 900;
}

.bar-row {
  grid-template-columns: 92px 1fr 26px;
}

.bar-row div {
  height: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(201, 168, 76, .08);
}

.bar-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}

.category-chart {
  display: grid;
  gap: 9px;
}

.category-chart div {
  display: grid;
  grid-template-columns: minmax(100px, 190px) minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
}

.category-chart span {
  min-width: 0;
  color: #d8d1c4;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-chart i {
  height: 12px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(201, 168, 76, .08);
}

.category-chart b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5f83d8, var(--gold-bright));
}

.category-chart strong {
  color: var(--gold-bright);
  text-align: right;
}

.analytics-insights {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr) minmax(280px, .8fr);
  gap: 12px;
  margin-top: 14px;
}

.cross-source-panel {
  margin-top: 14px;
}

.cross-source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.cross-source-grid > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(201, 168, 76, .08);
  border-radius: 8px;
  background: rgba(10, 14, 26, .28);
}

.cross-source-grid h3,
.make-usage-panel h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
}

.mini-lead-list,
.make-usage-list {
  display: grid;
  gap: 8px;
}

.mini-lead-list button {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(201, 168, 76, .08);
  border-radius: 8px;
  color: inherit;
  background: rgba(17, 24, 39, .52);
  text-align: left;
  cursor: pointer;
}

.mini-lead-list button:hover {
  border-color: rgba(201, 168, 76, .34);
}

.mini-lead-list strong {
  color: var(--text);
}

.mini-lead-list span,
.mini-lead-list em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  overflow-wrap: anywhere;
}

.mini-lead-list em {
  color: var(--gold-bright);
  font-weight: 900;
}

.make-usage-panel {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(201, 168, 76, .08);
  border-radius: 8px;
  background: rgba(10, 14, 26, .28);
}

.make-usage-panel-inline {
  margin-bottom: 12px;
}

.make-usage-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  padding: 10px;
  border: 1px solid rgba(201, 168, 76, .08);
  border-radius: 8px;
  background: rgba(17, 24, 39, .46);
}

.make-usage-list strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.make-usage-list span {
  color: var(--gold-bright);
  font-weight: 900;
}

.make-usage-list i {
  grid-column: 1 / -1;
  height: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(201, 168, 76, .08);
}

.make-usage-list b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5f83d8, var(--gold-bright));
}

.make-usage-list small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.make-config-panel {
  margin-top: 12px;
  border: 1px solid rgba(201, 168, 76, .12);
  border-radius: 8px;
  background: rgba(10, 14, 26, .26);
}

.make-config-panel summary {
  padding: 11px 12px;
  color: var(--gold-bright);
  font-weight: 900;
  cursor: pointer;
}

.make-config-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 12px 12px;
}

.make-config-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.make-config-form input,
.make-config-form select,
.make-controls select {
  min-width: 0;
  height: 40px;
  border: 1px solid rgba(201, 168, 76, .12);
  border-radius: 8px;
  color: var(--text);
  background: rgba(10, 14, 26, .62);
  padding: 0 10px;
  font: inherit;
}

.make-config-form button {
  align-self: end;
}

.make-config-help {
  margin: -2px 12px 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.make-org-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.make-usage-hero-card {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(201, 168, 76, .09);
  border-radius: 8px;
  background: rgba(10, 14, 26, .62);
}

.make-usage-hero-card span,
.make-usage-meter strong,
.make-org-chart-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.make-usage-hero-card strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: clamp(22px, 3vw, 31px);
  line-height: 1.05;
}

.make-usage-hero-card em {
  color: var(--text);
  font-size: 16px;
  font-style: normal;
  opacity: .86;
}

.make-usage-hero-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted-soft);
  font-size: 12px;
}

.make-auto-purchase,
.make-usage-meter,
.make-org-chart-panel {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(201, 168, 76, .08);
  border-radius: 8px;
  background: rgba(10, 14, 26, .34);
}

.make-auto-purchase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.make-auto-purchase strong {
  color: var(--text);
}

.make-auto-purchase span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.make-usage-meters {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.make-usage-meter div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.make-usage-meter span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.make-usage-meter i {
  display: block;
  height: 10px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
}

.make-usage-meter b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8aff00, var(--gold-bright));
}

.make-org-chart-panel > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.make-org-chart-panel h3 {
  margin: 0 auto 0 0;
}

.make-org-chart-panel i {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 5px;
  border-radius: 999px;
}

.make-org-chart-panel i.credits {
  background: #8aff00;
}

.make-org-chart-panel i.transfer {
  background: #16c7f3;
}

.make-org-chart {
  width: 100%;
  min-height: 230px;
}

.make-org-chart .transfer-axis {
  fill: #16c7f3;
}

.make-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.make-tile-note {
  margin: 10px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.make-scenario-list {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
}

.make-scenario-card {
  gap: 10px;
  min-height: 132px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, .08);
  border-radius: 8px;
  background: rgba(10, 14, 26, .34);
  color: inherit;
}

.make-scenario-card summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding: 12px;
  cursor: pointer;
  list-style: none;
}

.make-scenario-card summary::-webkit-details-marker {
  display: none;
}

.make-scenario-card summary::after {
  content: "Open";
  grid-column: 1 / -1;
  justify-self: start;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(201, 168, 76, .08);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.make-scenario-card[open] summary::after {
  content: "Close";
}

.make-scenario-card[open] {
  min-height: 0;
}

.make-scenario-title {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.make-scenario-title em {
  justify-self: start;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(201, 168, 76, .06);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.make-scenario-title em.connected {
  color: var(--green);
}

.make-scenario-title em.pending {
  color: var(--orange);
}

.make-scenario-title em.warn {
  color: var(--red);
}

.make-scenario-summary-metrics {
  display: grid;
  justify-items: end;
  gap: 2px;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.make-scenario-summary-metrics b {
  color: var(--text);
}

.make-scenario-card > :not(summary) {
  margin: 0 12px 12px;
}

.make-scenario-meta,
.make-scenario-metrics,
.make-scenario-packages {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.make-scenario-title strong,
.make-scenario-head strong {
  font-size: 15px;
}

.make-scenario-head span,
.make-execution-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.make-scenario-head span.connected,
.make-execution-row span.success {
  color: var(--green);
}

.make-scenario-head span.pending,
.make-execution-row span.warning,
.make-execution-row span.running {
  color: var(--orange);
}

.make-scenario-head span.warn,
.make-execution-row span.error {
  color: var(--red);
}

.make-scenario-meta small {
  width: auto;
  grid-column: auto;
}

.make-scenario-metrics span {
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(95, 131, 216, .08);
  color: var(--muted);
  font-size: 12px;
}

.make-scenario-metrics b {
  color: var(--text);
}

.make-scenario-packages i {
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(201, 168, 76, .08);
  font-size: 11px;
  font-style: normal;
}

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

.make-module-ops span {
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid rgba(201, 168, 76, .08);
  border-radius: 8px;
  background: rgba(95, 131, 216, .06);
}

.make-module-ops strong {
  color: var(--text);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.make-module-ops em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.make-log-stack,
.make-execution-list {
  display: grid;
  gap: 7px;
}

.make-execution-list > div,
.make-log-stack .make-execution-row {
  padding: 9px;
  border: 1px solid rgba(201, 168, 76, .08);
  border-radius: 8px;
  background: rgba(17, 24, 39, .42);
}

.make-execution-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
  margin: 0;
}

.make-execution-row strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.make-execution-row small,
.make-execution-list > div > small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

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

.funnel-grid div,
.watch-list div {
  padding: 11px;
  border: 1px solid rgba(201, 168, 76, .08);
  border-radius: 8px;
  background: rgba(10, 14, 26, .34);
}

.funnel-grid span,
.watch-list small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.funnel-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 24px;
}

.funnel-grid small {
  display: block;
  margin-top: 2px;
  color: var(--muted-soft);
  font-size: 12px;
}

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

.watch-list div {
  display: grid;
  gap: 4px;
}

.watch-list strong {
  color: var(--text);
  font-size: 13px;
}

.watch-list span {
  color: var(--gold-bright);
  font-size: 20px;
  font-weight: 900;
}

.rep-snapshot {
  margin-top: 14px;
}

.rep-table {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.rep-table-head,
.rep-table-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) repeat(6, minmax(90px, .55fr));
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
}

.rep-table-head {
  background: rgba(201, 168, 76, .08);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rep-table-row {
  border-top: 1px solid rgba(201, 168, 76, .08);
  color: #d8d1c4;
}

.rep-table-row strong {
  color: var(--text);
}

.pagination {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(17, 24, 39, .64);
}

.pagination span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.chart-empty,
.empty-state {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 42px 20px;
  color: var(--muted);
  text-align: center;
}

.empty-state strong {
  color: var(--text);
}

.skeleton {
  height: 64px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, rgba(17,24,39,.72), rgba(201,168,76,.08), rgba(17,24,39,.72));
  background-size: 220% 100%;
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  to {
    background-position: -220% 0;
  }
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    height: auto;
    top: 0;
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 14px 18px;
  }

  .nav-stack {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .nav-stack a {
    flex: 0 0 auto;
    min-height: 42px;
    white-space: nowrap;
  }

  .sidebar-user {
    width: 100%;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .crm-layout {
    grid-template-columns: 1fr;
  }

  .crm-section-grid,
  .make-control-grid,
  .workspace-services.expanded {
    grid-template-columns: 1fr;
  }

  .crm-section-grid > .view-panel:first-child,
  .make-inventory-panel,
  .workspace-services.expanded h3 {
    grid-column: auto;
  }

  .make-overview-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .crm-profile-panel {
    position: static;
  }

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

  .crm-lead-row {
    grid-template-columns: minmax(0, 1fr) 150px;
  }

  .view-panel .charts,
  .analytics-insights,
  .cross-source-grid,
  .controls-band,
  .analytics-controls,
  .make-org-summary,
  .make-config-form,
  .access-grid,
  .permission-matrix,
  .scorecard-report-controls,
  .scorecard-agent-grid,
  .ai-prompt-grid,
  .ai-chat-form {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .rep-table {
    overflow-x: auto;
  }

  .rep-table-head,
  .rep-table-row {
    min-width: 860px;
  }

  .analytics-panel {
    position: static;
    order: -1;
  }
}

@media (max-width: 760px) {
  .login-panel {
    grid-template-columns: 1fr;
  }

  .login-copy,
  .login-form,
  .workspace,
  .sidebar {
    width: 100%;
    max-width: 100vw;
    padding: 16px;
  }

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

  .topbar,
  .section-heading,
  .note-panel-head,
  .pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar .ghost-button,
  .pagination .ghost-button {
    width: 100%;
  }

  .controls-band,
  .analytics-controls,
  .detail-grid,
  .call-form,
  .followup-metrics,
  .crm-summary,
  .crm-lead-row,
  .permission-matrix,
  .user-form,
  .user-row {
    grid-template-columns: minmax(0, 1fr);
    display: grid;
  }

  .crm-profile-panel {
    display: flex;
    flex-direction: column;
  }

  .crm-profile {
    order: -1;
  }

  .lead-summary {
    display: grid;
    grid-template-columns: 20px 1fr;
  }

  .lead-phone,
  .status-pill {
    grid-column: 2;
  }

  .call-history li {
    grid-template-columns: 1fr;
  }

  .call-history small {
    white-space: normal;
  }

  .call-stats,
  .integration-stats,
  .integration-stats.wide,
  .make-overview-stats,
  .workspace-action-grid,
  .ai-prompt-grid,
  .watch-list,
  .compact-steps,
  .quo-call-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-chat-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .floating-ai-panel,
  .floating-ai-launch {
    right: 14px;
    bottom: 14px;
  }

  .floating-ai-panel {
    width: calc(100vw - 28px);
    min-width: 0;
    min-height: 0;
    max-height: calc(100vh - 28px);
    resize: vertical;
  }

  .floating-ai-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .voice-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .scorecard-agent-controls {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .donut-chart-wrap {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .category-chart div {
    grid-template-columns: minmax(0, 1fr) 52px;
  }

  .category-chart i {
    grid-column: 1 / -1;
    order: 3;
  }

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

  .drilldown-table button {
    grid-template-columns: minmax(0, 1fr);
  }

  .crm-section-tabs {
    margin-left: -2px;
    margin-right: -2px;
  }

  .quo-call-row div {
    grid-column: 1 / -1;
  }

  .make-controls {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .make-auto-purchase,
  .make-usage-meter div,
  .make-org-chart-panel > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .make-auto-purchase span,
  .make-usage-meter span {
    text-align: left;
  }

  .make-scenario-head,
  .make-scenario-meta,
  .make-scenario-metrics {
    align-items: stretch;
    flex-direction: column;
  }

  .make-scenario-metrics span {
    width: 100%;
  }

  .analytics-panel {
    display: none;
  }

  .rep-table {
    display: grid;
    gap: 10px;
    overflow: visible;
    border: 0;
  }

  .rep-table-head {
    display: none;
  }

  .rep-table-row {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(17, 24, 39, .72);
  }

  .rep-table-row strong {
    grid-column: 1 / -1;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(201, 168, 76, .1);
  }

  .rep-table-row span {
    display: grid;
    gap: 4px;
    min-height: 62px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(201, 168, 76, .045);
    color: var(--gold-bright);
    font-weight: 900;
  }

  .rep-table-row span::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
  }
}
