:root {
  --bg: #071326;
  --bg-soft: #102444;
  --panel: rgba(8, 18, 35, 0.88);
  --panel-strong: rgba(10, 22, 43, 0.96);
  --card: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(196, 18, 48, 0.34);
  --text: #f7f9fc;
  --muted: #c4cfde;
  --gold: #d72645;
  --gold-deep: #8c1128;
  --green: #dbe4f0;
  --danger: #ff8f88;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

/* Piloto: grabacion y analisis privado de demostraciones */
.coach-demo-recorder {
  margin: 8px 0 26px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(10, 49, 89, 0.14);
  border-radius: 24px;
  color: #0a2746;
  background:
    radial-gradient(circle at 100% 0%, rgba(200, 16, 46, 0.09), transparent 32%),
    linear-gradient(145deg, #ffffff, #f3f7fb);
  box-shadow: 0 18px 44px rgba(10, 40, 72, 0.09);
}

.coach-demo-recorder-head,
.coach-demo-analysis-history-head,
.coach-demo-report-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.coach-demo-recorder h4,
.coach-demo-report-header h4 {
  margin: 12px 0 8px;
  color: #071f3b;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.coach-demo-recorder p {
  margin: 0;
  color: #536579;
  line-height: 1.65;
}

.coach-demo-recorder-badge,
.coach-demo-score-pill,
.coach-demo-history-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 999px;
  color: #ffffff;
  background: #0a3159;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.coach-demo-recorder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(230px, 0.75fr);
  gap: 18px;
  margin-top: 22px;
}

.coach-demo-recorder-controls,
.coach-demo-recorder-guide,
.coach-demo-analysis-current,
.coach-demo-analysis-history {
  border: 1px solid #dce5ee;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.coach-demo-recorder-controls,
.coach-demo-recorder-guide {
  padding: 18px;
}

.coach-demo-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #203c58;
  font-size: 0.91rem;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}

.coach-demo-consent input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: #c8102e;
}

.coach-demo-outcome-field {
  margin-top: 16px;
}

.coach-demo-outcome-field select {
  color: #0a2746;
  background: #ffffff;
  border-color: #cad6e2;
}

.coach-demo-recorder-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.coach-demo-recorder-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.coach-demo-stop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #c8102e;
  border-radius: 999px;
  color: #a40d28;
  background: #fff5f7;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.coach-demo-recorder-live {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #8d0b24;
  background: #fff2f4;
  border: 1px solid #f0c5cd;
}

.coach-demo-recorder-live[hidden] {
  display: none;
}

.coach-demo-recorder-live time {
  min-width: 54px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.coach-demo-recorder-live > span:last-child {
  color: #6b5360;
  font-size: 0.78rem;
}

.coach-demo-live-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #c8102e;
  box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.42);
  animation: coach-demo-pulse 1.4s infinite;
}

@keyframes coach-demo-pulse {
  70% {
    box-shadow: 0 0 0 9px rgba(200, 16, 46, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(200, 16, 46, 0);
  }
}

.coach-demo-recorder-status {
  margin-top: 14px;
  color: #536579;
}

.coach-demo-recorder-guide strong {
  color: #071f3b;
}

.coach-demo-recorder-guide ul {
  display: grid;
  gap: 11px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: #536579;
  line-height: 1.45;
}

.coach-demo-analysis-current,
.coach-demo-analysis-history {
  margin-top: 18px;
  padding: 18px;
}

.coach-demo-analysis-current[hidden] {
  display: none;
}

.coach-demo-score-pill {
  min-width: 68px;
  min-height: 68px;
  border-radius: 22px;
  background: linear-gradient(145deg, #0a3159, #071f3b);
  font-size: 1.2rem;
}

.coach-demo-score-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-top: 16px;
}

.coach-demo-score-grid div {
  padding: 12px 9px;
  border-radius: 14px;
  text-align: center;
  background: #eef3f8;
}

.coach-demo-score-grid span,
.coach-demo-score-grid strong {
  display: block;
}

.coach-demo-score-grid span {
  color: #66788b;
  font-size: 0.72rem;
}

.coach-demo-score-grid strong {
  margin-top: 4px;
  color: #071f3b;
  font-size: 1.08rem;
}

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

.coach-demo-report-section {
  padding: 15px;
  border-radius: 15px;
  background: #f4f7fa;
}

.coach-demo-report-section h5 {
  margin: 0 0 10px;
  color: #071f3b;
  font-size: 0.95rem;
}

.coach-demo-report-section ul,
.coach-demo-report-section ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 19px;
  color: #43576c;
  line-height: 1.5;
}

.coach-demo-report-section li strong {
  color: #0a3159;
}

.coach-demo-report-section-wide {
  grid-column: 1 / -1;
}

.coach-demo-transcript {
  margin-top: 14px;
  border-top: 1px solid #dce5ee;
  padding-top: 12px;
}

.coach-demo-transcript summary {
  color: #0a3159;
  font-weight: 800;
  cursor: pointer;
}

.coach-demo-transcript pre {
  max-height: 340px;
  overflow: auto;
  padding: 14px;
  border-radius: 13px;
  white-space: pre-wrap;
  color: #263e56;
  background: #f4f7fa;
  font: 0.82rem/1.55 "Sora", sans-serif;
}

.coach-demo-analysis-history-head span {
  display: block;
  margin-top: 4px;
  color: #718195;
  font-size: 0.8rem;
}

.coach-demo-analysis-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.coach-demo-history-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid #e0e7ee;
  border-radius: 14px;
  background: #fafcfe;
}

.coach-demo-history-item strong,
.coach-demo-history-item span {
  display: block;
}

.coach-demo-history-item span {
  margin-top: 4px;
  color: #718195;
  font-size: 0.78rem;
}

.coach-demo-history-actions {
  display: flex;
  gap: 8px;
}

.coach-demo-history-actions button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #cad6e2;
  color: #0a3159;
  background: #ffffff;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 760px) {
  .coach-demo-recorder-grid,
  .coach-demo-report-columns {
    grid-template-columns: 1fr;
  }

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

  .coach-demo-recorder-head,
  .coach-demo-report-header {
    align-items: flex-start;
  }

  .coach-demo-recorder-badge {
    display: none;
  }

  .coach-demo-history-item {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(196, 18, 48, 0.18), transparent 34%),
    linear-gradient(140deg, #050d18 0%, #09172a 38%, #0f2445 100%);
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0.035) 0, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 24px),
    linear-gradient(120deg, rgba(0, 0, 0, 0.12) 0, rgba(0, 0, 0, 0.12) 1px, transparent 1px, transparent 48px);
  background-size: 24px 24px, 48px 48px;
  pointer-events: none;
  opacity: 0.32;
}

a {
  color: inherit;
  text-decoration: none;
}

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

img {
  max-width: 100%;
  display: block;
}

.coach-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

html[data-coach-portal-mode="telemarketing"] .coach-shell {
  width: min(1580px, calc(100% - 28px));
}

.coach-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.coach-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.coach-brand-badge {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(196, 18, 48, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 24px;
  box-shadow: var(--shadow);
}

.coach-brand-copy h1,
.coach-brand-copy p {
  margin: 0;
}

.coach-brand-copy h1 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.coach-brand-copy p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.88rem;
}

.coach-brand--tec {
  flex: 0 0 auto;
}

.coach-brand-logo-frame,
.coach-login-brand-logo-frame {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(6, 27, 52, 0.18);
}

.coach-brand-logo-frame {
  width: 178px;
  height: 66px;
  padding: 5px 9px;
  border-radius: 15px;
}

.coach-brand-logo,
.coach-login-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.coach-nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-link,
.nav-button,
.primary-button,
.secondary-button {
  border-radius: 999px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.nav-link {
  padding: 10px 14px;
  color: var(--muted);
}

.nav-link:hover {
  color: var(--text);
}

.nav-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

.nav-button,
.secondary-button {
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
  color: var(--text);
}

.nav-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.primary-button {
  padding: 13px 18px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff8fb;
  box-shadow: 0 16px 34px rgba(196, 18, 48, 0.28);
}

.primary-button:hover {
  transform: translateY(-1px);
}

.coach-hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 28px;
  align-items: stretch;
  padding: 26px 0 30px;
}

.hero-copy,
.hero-side,
.glass-card,
.coach-section-card,
.plan-card,
.login-panel,
.dashboard-card,
.auth-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-copy,
.hero-side,
.plan-card,
.dashboard-card,
.login-panel,
.auth-card,
.coach-chat-card {
  background:
    linear-gradient(180deg, rgba(9, 22, 41, 0.97), rgba(10, 24, 46, 0.9));
}

.hero-copy {
  border-radius: 34px;
  padding: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f7c7d1;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h2 {
  margin: 18px 0 0;
  max-width: 11ch;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(3.2rem, 8vw, 5.9rem);
  line-height: 0.93;
}

.hero-copy .lede {
  max-width: 42rem;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

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

.metric-card {
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-card strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
}

.metric-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.92rem;
}

.hero-side {
  border-radius: 34px;
  padding: 24px;
  display: grid;
  gap: 16px;
}

.glass-card {
  border-radius: 26px;
  padding: 22px;
}

.glass-card h3,
.glass-card p,
.glass-card ul {
  margin: 0;
}

.glass-card h3 {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f0b8c3;
}

.glass-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.micro-list {
  margin-top: 14px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.callout-card {
  border-radius: 26px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(196, 18, 48, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.callout-card h3,
.callout-card p {
  margin: 0;
}

.callout-card h3 {
  font-size: 1.1rem;
}

.callout-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.callout-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.coach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 34px;
}

.coach-section-card {
  border-radius: 28px;
  padding: 24px;
}

.coach-section-card h3,
.coach-section-card p {
  margin: 0;
}

.coach-section-card h3 {
  font-size: 1.15rem;
}

.coach-section-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-family: "Bricolage Grotesque", sans-serif;
}

.section-copy {
  margin: 0 0 28px;
  max-width: 48rem;
  color: var(--muted);
  line-height: 1.8;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  margin: 0 0 36px;
}

.panel-stack {
  display: grid;
  gap: 18px;
}

.panel {
  border-radius: 28px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel h3,
.panel p,
.panel ul {
  margin: 0;
}

.panel p,
.panel li {
  color: var(--muted);
  line-height: 1.75;
}

.panel ul {
  margin-top: 14px;
  padding-left: 20px;
}

.steps {
  display: grid;
  gap: 14px;
}

.step-card {
  border-radius: 24px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.step-label {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(196, 18, 48, 0.16);
  color: #ffd9df;
  font-weight: 700;
}

.step-card h4,
.step-card p {
  margin: 0;
}

.step-card h4 {
  margin-top: 14px;
}

.step-card p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.plan-layout {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 410px);
  gap: 24px;
  align-items: start;
  margin-bottom: 36px;
}

.plan-card {
  border-radius: 34px;
  padding: 28px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
}

.plan-price strong {
  font-size: 4rem;
  line-height: 1;
  font-family: "Bricolage Grotesque", sans-serif;
}

.plan-price span {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.pricing-options {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.pricing-option {
  padding: 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pricing-option.is-selected {
  border-color: rgba(215, 38, 69, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.pricing-option.highlight {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(215, 38, 69, 0.1));
  border-color: rgba(215, 38, 69, 0.34);
}

.pricing-option.is-disabled {
  opacity: 0.6;
}

.pricing-option-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.pricing-option h3,
.pricing-option p,
.pricing-option ul {
  margin: 0;
}

.pricing-option h3 {
  margin-top: 12px;
  font-size: 1.3rem;
}

.pricing-option p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.pricing-option ul {
  margin-top: 14px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(215, 38, 69, 0.16);
  border: 1px solid rgba(215, 38, 69, 0.24);
  color: #ffd7df;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-badge.subtle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #edf2f9;
}

.plan-badge.highlight {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.plan-option-price {
  text-align: right;
}

.plan-option-price strong,
.plan-option-price span {
  display: block;
}

.plan-option-price strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.plan-option-price span {
  margin-top: 6px;
  color: var(--muted);
}

.plan-action {
  margin-top: 16px;
  width: 100%;
}

.selected-plan-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(215, 38, 69, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.selected-plan-box h4,
.selected-plan-box p {
  margin: 0;
}

.selected-plan-box h4 {
  margin-top: 14px;
  font-size: 1.2rem;
}

.selected-plan-box p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-dot {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: #d72645;
}

.feature-item strong,
.feature-item span {
  display: block;
}

.feature-item span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
}

.checkout-placeholder {
  margin-top: 22px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(196, 18, 48, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.checkout-placeholder p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.auth-card {
  margin-top: 18px;
  padding: 22px;
  border-radius: 24px;
}

.auth-card h4,
.auth-card p {
  margin: 0;
}

.auth-card h4 {
  margin-top: 14px;
  font-size: 1.25rem;
}

.auth-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.checkout-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.mini-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-bottom: 42px;
}

.faq-card {
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 18px 20px;
  font: inherit;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  cursor: pointer;
}

.faq-trigger span:last-child {
  color: var(--gold);
  font-size: 1.3rem;
}

.faq-content {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.75;
}

.faq-card.is-open .faq-content {
  display: block;
}

.faq-card.is-open .faq-trigger span:last-child {
  transform: rotate(45deg);
}

.login-layout {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 90px);
  padding: 24px 0 44px;
}

.login-panel {
  width: min(520px, 100%);
  border-radius: 34px;
  padding: 28px;
}

.login-panel h2,
.login-panel p {
  margin: 0;
}

.login-panel p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.coach-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.coach-form label {
  font-size: 0.92rem;
  color: var(--muted);
}

.coach-form input {
  width: 100%;
  margin-top: 8px;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.coach-form textarea,
.coach-form select {
  width: 100%;
  margin-top: 8px;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.coach-form textarea {
  resize: vertical;
  min-height: 120px;
}

.coach-form input:focus,
.crm-search-field input:focus,
.coach-form textarea:focus,
.coach-form select:focus,
.crm-toolbar select:focus,
.faq-trigger:focus,
.primary-button:focus,
.secondary-button:focus,
.nav-button:focus {
  outline: 2px solid rgba(215, 38, 69, 0.45);
  outline-offset: 2px;
}

.form-help {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  line-height: 1.65;
}

.form-result {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(215, 38, 69, 0.12);
  border: 1px solid rgba(215, 38, 69, 0.24);
  color: var(--text);
}

.form-result.is-visible {
  display: block;
}

.form-result[data-state="error"] {
  background: rgba(255, 143, 136, 0.12);
  border-color: rgba(255, 143, 136, 0.3);
}

.form-result[data-state="success"] {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: 24px 0 40px;
}

.coach-workspace-switch {
  padding: 20px 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.coach-workspace-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  grid-auto-rows: minmax(54px, auto);
  gap: 10px;
  margin-top: 14px;
}

.coach-workspace-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

/* Los botones inactivos usan el atributo hidden desde el Coach. Este estilo
   garantiza que la regla visual de la pestaña no vuelva a mostrarlos. */
.coach-workspace-tab[hidden] {
  display: none !important;
}

.coach-workspace-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
}

.coach-workspace-tab.is-active {
  color: #ffffff;
  border-color: rgba(255, 205, 120, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 205, 120, 0.18), rgba(120, 182, 255, 0.14));
  box-shadow: 0 12px 24px rgba(7, 10, 19, 0.22);
}

.coach-workspace-tab-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.dashboard-card {
  border-radius: 34px;
  padding: 28px;
}

.dashboard-card h2,
.dashboard-card h3,
.dashboard-card p {
  margin: 0;
}

.dashboard-card h2 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 0.96;
  font-family: "Bricolage Grotesque", sans-serif;
}

.dashboard-card h3 {
  font-size: 1.3rem;
}

.dashboard-card p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.team-credentials-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(215, 38, 69, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.team-credentials-card strong,
.team-credentials-card span {
  display: block;
}

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

.team-credentials-grid div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(8, 11, 22, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-credentials-grid span {
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-credentials-grid strong {
  margin-top: 8px;
  font-size: 1rem;
  word-break: break-word;
}

.team-seat-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.team-seat-card {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-seat-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.team-seat-head strong,
.team-seat-head span {
  display: block;
}

.team-seat-head span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.team-seat-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f4f6fb;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.team-seat-status[data-state="active"] {
  background: rgba(114, 214, 141, 0.14);
  border-color: rgba(114, 214, 141, 0.28);
  color: #dff9e6;
}

.team-seat-status[data-state="paused"] {
  background: rgba(255, 205, 120, 0.14);
  border-color: rgba(255, 205, 120, 0.28);
  color: #ffeac1;
}

.team-seat-status[data-state="closed"] {
  background: rgba(255, 143, 136, 0.12);
  border-color: rgba(255, 143, 136, 0.3);
  color: #ffd6d2;
}

.team-seat-status[data-state="blue"],
.team-seat-status[data-state="sky"],
.team-seat-status[data-state="amber"],
.team-seat-status[data-state="orange"],
.team-seat-status[data-state="violet"],
.team-seat-status[data-state="green"],
.team-seat-status[data-state="rose"],
.team-seat-status[data-state="slate"] {
  color: #f8fbff;
}

.team-seat-status[data-state="blue"] {
  background: rgba(96, 165, 250, 0.14);
  border-color: rgba(96, 165, 250, 0.28);
}

.team-seat-status[data-state="sky"] {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.28);
}

.team-seat-status[data-state="amber"] {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.28);
}

.team-seat-status[data-state="orange"] {
  background: rgba(251, 146, 60, 0.16);
  border-color: rgba(251, 146, 60, 0.3);
}

.team-seat-status[data-state="violet"] {
  background: rgba(167, 139, 250, 0.16);
  border-color: rgba(167, 139, 250, 0.3);
}

.team-seat-status[data-state="green"] {
  background: rgba(74, 222, 128, 0.16);
  border-color: rgba(74, 222, 128, 0.3);
}

.team-seat-status[data-state="rose"] {
  background: rgba(251, 113, 133, 0.16);
  border-color: rgba(251, 113, 133, 0.3);
}

.team-seat-status[data-state="slate"] {
  background: rgba(148, 163, 184, 0.16);
  border-color: rgba(148, 163, 184, 0.3);
}

.team-seat-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.team-seat-metrics strong {
  color: var(--text);
}

.team-seat-note {
  margin-bottom: 0;
}

.team-seat-empty {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--muted);
  text-align: center;
}

.marketing-summary-grid {
  margin-top: 18px;
}

.marketing-summary-grid-secondary {
  margin-top: 12px;
}

.marketing-two-column,
.marketing-three-column {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

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

.marketing-three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.marketing-two-column-lists {
  margin-top: 22px;
}

.marketing-two-column-diagnostics {
  align-items: start;
}

.marketing-form-card {
  margin-top: 0;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  align-self: start;
}

.marketing-form-card h4 {
  margin: 0;
  font-size: 1rem;
}

.marketing-field-full {
  grid-column: 1 / -1;
}

.marketing-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(8, 11, 22, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.marketing-checkbox input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: #ffcd78;
}

.marketing-checkbox span {
  line-height: 1.55;
}

.marketing-diagnostic-card {
  display: grid;
  gap: 16px;
}

.marketing-diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.marketing-health-form {
  margin-top: 0;
}

.marketing-chip-stack {
  display: grid;
  gap: 12px;
}

.territory-list,
.territory-invite-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.territory-card,
.territory-invite-card,
.territory-member-card,
.territory-result-card {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.territory-card {
  padding: 22px;
  display: grid;
  gap: 18px;
}

.coach-direct-thread-card {
  width: 100%;
  text-align: left;
  cursor: pointer;
  appearance: none;
  font: inherit;
  color: inherit;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.coach-direct-thread-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 205, 120, 0.24);
}

.coach-direct-thread-card.is-active {
  border-color: rgba(255, 205, 120, 0.32);
  background: linear-gradient(145deg, rgba(255, 205, 120, 0.12), rgba(120, 182, 255, 0.08));
  box-shadow: 0 14px 30px rgba(7, 10, 19, 0.2);
}

.territory-invite-card,
.territory-member-card,
.territory-result-card {
  padding: 16px 18px;
}

.territory-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.territory-card-head h3,
.territory-card-head p {
  margin: 0;
}

.territory-card-head p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.territory-stat-grid {
  gap: 12px;
}

.territory-section {
  display: grid;
  gap: 12px;
}

.territory-member-list,
.territory-result-list,
.territory-inline-list {
  display: grid;
  gap: 12px;
}

.territory-inline-chip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(8, 11, 22, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.territory-inline-chip strong,
.territory-inline-chip span {
  display: block;
}

.territory-inline-chip span {
  color: var(--muted);
}

.territory-inline-note,
.territory-result-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.crm-toolbar {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr)) auto;
  gap: 14px;
  margin-top: 18px;
}

.crm-view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.crm-view-tab {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.crm-view-tab.is-active {
  border-color: rgba(255, 205, 120, 0.34);
  background: linear-gradient(135deg, rgba(255, 205, 120, 0.18), rgba(120, 182, 255, 0.14));
  color: #ffffff;
}

.crm-toolbar label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

.crm-toolbar select {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.crm-search-field input {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.crm-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.crm-quick-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.crm-quick-filter-chip strong {
  color: var(--text);
}

.crm-quick-filter-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.crm-quick-filter-chip.is-active {
  border-color: rgba(255, 205, 120, 0.34);
  background: linear-gradient(135deg, rgba(255, 205, 120, 0.18), rgba(120, 182, 255, 0.14));
  color: #ffffff;
}

.crm-grid-wrap {
  margin-top: 20px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.crm-manual-wrap {
  margin-top: 14px;
}

.crm-program-groups {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.crm-program-groups-head {
  align-items: flex-start;
}

.crm-program-groups-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.crm-program-group-list {
  display: grid;
  gap: 14px;
}

.crm-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.crm-pagination .mini-note {
  margin: 0;
}

.crm-program-host-card {
  display: grid;
  gap: 14px;
}

.crm-program-host-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.health-survey-folder-chip.is-success {
  background: rgba(14, 159, 110, 0.14);
  border-color: rgba(14, 159, 110, 0.35);
  color: #0f9f6e;
}

.crm-program-referral-list {
  display: grid;
  gap: 10px;
}

.crm-program-referral-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 1.15fr) auto;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  align-items: start;
}

.crm-program-referral-card > div {
  display: grid;
  gap: 4px;
}

.crm-grid-head,
.crm-grid-row {
  display: grid;
  grid-template-columns: 1.15fr 1.45fr 0.9fr 0.95fr 1.05fr 1.05fr 1.1fr 1fr 1.4fr 0.95fr;
  gap: 14px;
  align-items: center;
}

.crm-grid-head {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.crm-grid-list {
  display: grid;
}

.crm-grid-row {
  width: 100%;
  padding: 16px 18px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.crm-grid-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.crm-grid-row.is-active {
  background: linear-gradient(145deg, rgba(255, 205, 120, 0.12), rgba(120, 182, 255, 0.07));
}

.crm-grid-row.is-dirty {
  box-shadow: inset 0 0 0 1px rgba(255, 205, 120, 0.18);
}

.crm-grid-row span,
.crm-grid-row strong,
.crm-grid-row small {
  display: block;
}

.crm-grid-row small + small {
  margin-top: 4px;
}

.crm-inline-select,
.crm-inline-input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.crm-inline-input[type="datetime-local"] {
  padding-right: 10px;
}

.crm-inline-datetime-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.crm-inline-picker-button {
  min-height: 40px;
  white-space: nowrap;
}

.crm-inline-textarea {
  min-height: 116px;
  padding: 12px;
  resize: vertical;
}

.crm-inline-address-input {
  margin-top: 8px;
}

.crm-inline-actions {
  display: grid;
  gap: 8px;
}

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

.crm-inline-action-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.crm-inline-action-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.crm-inline-action-chip.is-disabled {
  cursor: default;
  opacity: 0.58;
  pointer-events: none;
}

.crm-inline-action-grid-meta .nav-button,
.crm-inline-action-grid-meta .secondary-button {
  width: 100%;
}

.crm-inline-actions .nav-button,
.crm-inline-actions .secondary-button {
  min-height: 38px;
  padding: 0 12px;
}

.crm-grid-row small {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.crm-status-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crm-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
  flex: none;
}

.crm-status-dot[data-tone="blue"] {
  background: #60a5fa;
}

.crm-status-dot[data-tone="sky"] {
  background: #38bdf8;
}

.crm-status-dot[data-tone="amber"] {
  background: #f59e0b;
}

.crm-status-dot[data-tone="orange"] {
  background: #fb923c;
}

.crm-status-dot[data-tone="violet"] {
  background: #a78bfa;
}

.crm-status-dot[data-tone="green"] {
  background: #4ade80;
}

.crm-status-dot[data-tone="rose"] {
  background: #fb7185;
}

.crm-status-dot[data-tone="slate"] {
  background: #94a3b8;
}

.crm-detail-panel {
  margin-top: 18px;
}

.agenda-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.agenda-stage-card,
.agenda-summary-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(236, 201, 118, 0.18), transparent 28%),
    radial-gradient(circle at top left, rgba(129, 179, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(15, 27, 42, 0.98), rgba(7, 15, 28, 0.96));
  border-color: rgba(214, 232, 255, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 24px 48px rgba(4, 11, 19, 0.28);
}

.agenda-stage-card::before,
.agenda-summary-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, rgba(236, 201, 118, 0.95), rgba(122, 215, 255, 0.8));
}

.agenda-stage-card > .eyebrow,
.agenda-summary-card > .eyebrow {
  color: #f5e0aa;
  letter-spacing: 0.16em;
}

.agenda-stage-card > h3,
.agenda-summary-card > h3 {
  margin: 10px 0 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.36rem;
  letter-spacing: 0.01em;
}

.agenda-stage-card > p,
.agenda-summary-card > p {
  margin-top: 10px;
  color: #cdd9e8;
  line-height: 1.7;
}

.agenda-card {
  position: relative;
  padding: 24px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(232, 197, 123, 0.16), transparent 34%),
    radial-gradient(circle at top left, rgba(122, 215, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(16, 28, 44, 0.98), rgba(7, 16, 29, 0.96)),
    rgba(7, 18, 30, 0.86);
  border: 1px solid rgba(210, 229, 252, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 26px 54px rgba(4, 11, 19, 0.3);
}

.agenda-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 30px 0 0 30px;
  background: linear-gradient(180deg, rgba(255, 205, 120, 0.9), rgba(120, 182, 255, 0.65));
}

.agenda-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.agenda-time-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(232, 197, 123, 0.18), rgba(232, 197, 123, 0.09));
  border: 1px solid rgba(232, 197, 123, 0.28);
  color: #fff0c7;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.agenda-card-head {
  display: grid;
  gap: 10px;
}

.agenda-card-head h3,
.agenda-card-head p {
  margin: 0;
}

.agenda-card-head p {
  margin-top: 8px;
  color: #bfd6e4;
  line-height: 1.6;
}

.agenda-card-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.agenda-meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(9, 18, 31, 0.9), rgba(6, 14, 24, 0.82));
  border: 1px solid rgba(197, 228, 255, 0.12);
  color: #bfd6e4;
  font-size: 0.82rem;
  font-weight: 600;
}

.agenda-route-card {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 17px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(9, 18, 31, 0.9), rgba(6, 14, 24, 0.82));
  border: 1px solid rgba(197, 228, 255, 0.12);
}

.agenda-route-card strong,
.agenda-route-card span {
  display: block;
}

.agenda-route-card strong {
  font-size: 0.94rem;
}

.agenda-route-card span {
  color: #bfd6e4;
  line-height: 1.55;
}

.agenda-card-notes {
  margin-top: 16px;
}

.agenda-card-action-block {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(10, 20, 34, 0.82), rgba(7, 15, 25, 0.72));
  border: 1px solid rgba(197, 228, 255, 0.1);
}

.agenda-card-action-head {
  display: grid;
  gap: 4px;
}

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

.agenda-card-action-head strong {
  font-size: 0.92rem;
  color: #eef7ff;
}

.agenda-card-action-head span {
  color: #bfd6e4;
  font-size: 0.84rem;
  line-height: 1.5;
}

.agenda-card-edit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.95fr) auto;
  gap: 14px;
  align-items: end;
}

.agenda-edit-field {
  display: grid;
  gap: 8px;
}

.agenda-edit-field span,
.agenda-edit-field small {
  display: block;
}

.agenda-edit-field span {
  color: #eef7ff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agenda-edit-field small {
  color: #bfd6e4;
  font-size: 0.82rem;
  line-height: 1.45;
}

.agenda-inline-datetime {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.agenda-edit-actions {
  align-items: stretch;
}

.agenda-edit-actions .primary-button {
  min-height: 44px;
}

.coach-floating-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 8, 14, 0.64);
  backdrop-filter: blur(12px);
}

.coach-floating-dialog {
  width: min(560px, 100%);
  border-radius: 28px;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(232, 197, 123, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(15, 27, 42, 0.98), rgba(8, 16, 28, 0.96));
  border: 1px solid rgba(197, 228, 255, 0.16);
  box-shadow: 0 28px 60px rgba(2, 8, 16, 0.45);
}

.coach-floating-form {
  display: grid;
  gap: 14px;
}

.coach-floating-field {
  display: grid;
  gap: 8px;
}

.coach-floating-field span {
  color: #eef7ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coach-floating-textarea {
  min-height: 132px;
}

.coach-floating-actions {
  justify-content: flex-end;
}

.agenda-card-actions {
  align-items: center;
}

.agenda-card .nav-button,
.agenda-card .secondary-button,
.agenda-card .primary-button {
  min-height: 44px;
  padding: 0 14px;
  border-color: rgba(197, 228, 255, 0.16);
  background: rgba(12, 23, 36, 0.8);
}

.agenda-card .nav-button:hover,
.agenda-card .secondary-button:hover,
.agenda-card .primary-button:hover {
  border-color: rgba(232, 197, 123, 0.28);
  background: rgba(16, 29, 44, 0.94);
}

.agenda-card-head-executive {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 18px;
  align-items: start;
}

.agenda-card-title-block {
  display: grid;
  gap: 10px;
}

.agenda-card-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  width: fit-content;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(197, 228, 255, 0.08);
  border: 1px solid rgba(197, 228, 255, 0.14);
  color: #a7d8ef;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.agenda-card-title-block h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.28rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.agenda-card-side-kpis {
  display: grid;
  gap: 10px;
}

.agenda-side-chip {
  display: grid;
  gap: 5px;
  padding: 14px 15px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(17, 32, 49, 0.88), rgba(9, 18, 30, 0.9));
  border: 1px solid rgba(197, 228, 255, 0.12);
}

.agenda-side-chip strong {
  color: #f6dfaa;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agenda-side-chip span {
  color: #eef7ff;
  line-height: 1.45;
}

.agenda-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 16px;
  margin-top: 20px;
}

.agenda-note-chip {
  min-height: 100%;
  background: linear-gradient(180deg, rgba(17, 32, 49, 0.88), rgba(9, 18, 30, 0.9));
  border-color: rgba(197, 228, 255, 0.12);
  padding: 16px 18px;
  border-radius: 20px;
}

.agenda-note-chip strong {
  color: #f6dfaa;
}

.agenda-summary-card .mini-stat {
  background:
    linear-gradient(180deg, rgba(16, 30, 46, 0.92), rgba(8, 17, 28, 0.88)),
    rgba(255, 255, 255, 0.03);
  border-color: rgba(197, 228, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.agenda-summary-card .mini-stat strong {
  color: #eef8ff;
}

.agenda-summary-card .mini-stat span {
  color: #bfd6e4;
}

.agenda-summary-card .metric-panel {
  background:
    linear-gradient(180deg, rgba(16, 30, 46, 0.92), rgba(8, 17, 28, 0.88)),
    rgba(255, 255, 255, 0.03);
  border-color: rgba(197, 228, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

@media (max-width: 1080px) {
  .crm-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crm-pagination {
    flex-direction: column;
    align-items: stretch;
  }

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

  .crm-grid-head,
  .crm-grid-row {
    grid-template-columns: 1.15fr 1.45fr 1fr 1fr 1.15fr 1.05fr 1fr;
  }

  .crm-grid-head span:nth-child(4),
  .crm-grid-head span:nth-child(5),
  .crm-grid-head span:nth-child(6),
  .crm-grid-row span:nth-child(4),
  .crm-grid-row span:nth-child(5),
  .crm-grid-row span:nth-child(6) {
    display: none;
  }

  .agenda-card-head,
  .agenda-card-head-executive,
  .agenda-card-grid,
  .agenda-card-edit-grid {
    grid-template-columns: 1fr;
  }
}

.coach-direct-thread-panel {
  margin-top: 18px;
}

.coach-direct-message-list {
  max-height: 360px;
  overflow-y: auto;
}

.coach-direct-message-item.is-own {
  border-color: rgba(215, 38, 69, 0.24);
  background: rgba(215, 38, 69, 0.08);
}

.demo-outcome-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.demo-outcome-item {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 12px;
}

.demo-outcome-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.demo-outcome-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.demo-outcome-head strong,
.demo-outcome-head span {
  display: block;
}

.demo-outcome-head span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.demo-outcome-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f4f6fb;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.demo-outcome-pill[data-state="venta"] {
  background: rgba(114, 214, 141, 0.14);
  border-color: rgba(114, 214, 141, 0.28);
  color: #dff9e6;
}

.demo-outcome-pill[data-state="follow_up"] {
  background: rgba(255, 205, 120, 0.14);
  border-color: rgba(255, 205, 120, 0.28);
  color: #ffeac1;
}

.demo-outcome-pill[data-state="no_venta"],
.demo-outcome-pill[data-state="no_atendio"] {
  background: rgba(255, 143, 136, 0.12);
  border-color: rgba(255, 143, 136, 0.3);
  color: #ffd6d2;
}

.demo-outcome-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.demo-outcome-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-outcome-context-note[data-state="success"] {
  color: #dff9e6;
}

.dashboard-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.dashboard-actions.compact-top {
  margin-top: 16px;
}

.resource-card {
  position: relative;
  overflow: hidden;
}

.lead-destination-card {
  position: relative;
  overflow: hidden;
}

.lead-destination-card::before {
  content: "";
  position: absolute;
  inset: -12% -10% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(125, 255, 212, 0.14), transparent 72%);
  pointer-events: none;
}

.lead-destination-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #eff4fb;
  line-height: 1.65;
}

.lead-destination-form {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.lead-destination-extra[hidden] {
  display: none !important;
}

.lead-destination-extra {
  display: grid;
  gap: 14px;
}

.resource-card::before {
  content: "";
  position: absolute;
  inset: -30% auto auto 58%;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
  pointer-events: none;
}

.resource-stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.resource-item {
  position: relative;
  z-index: 1;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.resource-copy strong,
.resource-copy span {
  display: block;
}

.resource-copy strong {
  font-size: 1rem;
}

.resource-copy span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.resource-private-status {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #edf2f9;
  line-height: 1.6;
}

.private-resource-form[hidden] {
  display: none !important;
}

.private-resource-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.private-resource-field {
  display: grid;
  gap: 8px;
}

.private-resource-field span {
  color: var(--muted);
  font-size: 0.9rem;
}

.private-resource-field input[type="file"],
.private-resource-field input[type="password"] {
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
}

.private-resource-field input[type="password"]::placeholder {
  color: var(--muted);
}

.private-resource-field input[type="file"]:focus,
.private-resource-field input[type="password"]:focus {
  outline: none;
  border-color: rgba(120, 182, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(120, 182, 255, 0.12);
}

.resource-item-water {
  background:
    linear-gradient(180deg, rgba(17, 37, 62, 0.78), rgba(10, 24, 44, 0.88));
  border-color: rgba(120, 182, 255, 0.18);
}

.water-tool-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.water-tool-input {
  flex: 1 1 220px;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
}

.water-tool-input::placeholder {
  color: var(--muted);
}

.water-tool-input:focus {
  outline: none;
  border-color: rgba(120, 182, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(120, 182, 255, 0.12);
}

.water-tool-button {
  min-width: 168px;
}

.water-tool-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.water-tool-feedback {
  margin-top: 12px;
}

.lead-form-card {
  position: relative;
  overflow: hidden;
}

.lead-form-card::before {
  content: "";
  position: absolute;
  inset: auto -8% 56% auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(125, 255, 212, 0.14), transparent 72%);
  pointer-events: none;
}

.lead-form-wrap[hidden] {
  display: none !important;
}

.lead-form-toggle {
  min-width: 170px;
}

.lead-form-shell {
  margin-top: 18px;
  padding: 14px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lead-form-frame {
  width: 100%;
  min-height: 760px;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
}

.native-lead-card,
.lead-folder-card,
.fourteen-sheet-card,
.health-survey-card,
.health-survey-folder-card,
.recruitment-card,
.recruitment-folder-card {
  position: relative;
  overflow: hidden;
}

.native-lead-card::before,
.lead-folder-card::before,
.fourteen-sheet-card::before,
.health-survey-card::before,
.health-survey-folder-card::before,
.recruitment-card::before,
.recruitment-folder-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  pointer-events: none;
}

.native-lead-card::before {
  inset: -8% auto auto 58%;
  background: radial-gradient(circle, rgba(255, 205, 120, 0.14), transparent 72%);
}

.lead-folder-card::before {
  inset: auto auto 55% -8%;
  background: radial-gradient(circle, rgba(120, 182, 255, 0.14), transparent 72%);
}

.fourteen-sheet-card::before {
  inset: auto -8% 58% auto;
  background: radial-gradient(circle, rgba(120, 255, 191, 0.14), transparent 72%);
}

.health-survey-card::before {
  inset: -8% auto auto 58%;
  background: radial-gradient(circle, rgba(120, 182, 255, 0.16), transparent 72%);
}

.health-survey-folder-card::before {
  inset: auto auto 52% -8%;
  background: radial-gradient(circle, rgba(255, 205, 120, 0.14), transparent 72%);
}

.recruitment-card::before {
  inset: -8% auto auto 55%;
  background: radial-gradient(circle, rgba(157, 242, 181, 0.14), transparent 72%);
}

.recruitment-folder-card::before {
  inset: auto -8% 56% auto;
  background: radial-gradient(circle, rgba(120, 182, 255, 0.14), transparent 72%);
}

.recruitment-card-inline {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.native-lead-wrap[hidden],
.lead-folder-wrap[hidden],
.health-survey-wrap[hidden],
.health-survey-folder-wrap[hidden],
.recruitment-wrap[hidden],
.recruitment-folder-wrap[hidden],
.fourteen-instant-wrap[hidden],
.fourteen-instant-detail[hidden] {
  display: none !important;
}

.native-lead-toggle,
.lead-folder-toggle,
.health-survey-toggle,
.health-survey-folder-toggle,
.recruitment-toggle,
.recruitment-folder-toggle {
  min-width: 180px;
}

.fourteen-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.fourteen-sheet-head strong,
.fourteen-sheet-head span {
  display: block;
}

.fourteen-sheet-head strong {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1rem;
}

.fourteen-sheet-head span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.fourteen-sheet-referrals {
  display: grid;
  gap: 14px;
}

.fourteen-sheet-referral {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.fourteen-sheet-referral-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.fourteen-sheet-referral-head strong {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.98rem;
}

.fourteen-sheet-referral-head span {
  color: var(--muted);
  font-size: 0.82rem;
}

.fourteen-sheet-referral-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fourteen-saved-wrap {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.fourteen-saved-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.fourteen-saved-head strong,
.fourteen-saved-head span {
  display: block;
}

.fourteen-saved-head strong {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1rem;
}

.fourteen-saved-head span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.fourteen-saved-summary {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  line-height: 1.65;
}

.fourteen-saved-list {
  display: grid;
  gap: 12px;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.fourteen-saved-item {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.fourteen-saved-item.is-current {
  border-color: rgba(120, 255, 191, 0.24);
  background: rgba(120, 255, 191, 0.08);
}

.fourteen-instant-wrap {
  margin-top: 18px;
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fourteen-instant-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.fourteen-instant-head strong,
.fourteen-instant-head span {
  display: block;
}

.fourteen-instant-head strong {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1rem;
}

.fourteen-instant-head span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.fourteen-instant-summary {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(120, 255, 191, 0.08);
  border: 1px solid rgba(120, 255, 191, 0.16);
  color: #eafff3;
  line-height: 1.65;
}

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

.fourteen-instant-picker {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.fourteen-instant-picker:hover,
.fourteen-instant-picker.is-active {
  transform: translateY(-1px);
  border-color: rgba(120, 255, 191, 0.22);
  background: rgba(120, 255, 191, 0.08);
}

.fourteen-instant-picker strong,
.fourteen-instant-picker span {
  display: block;
}

.fourteen-instant-picker strong {
  font-size: 0.98rem;
}

.fourteen-instant-picker span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.85rem;
}

.fourteen-instant-detail {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fourteen-instant-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.fourteen-instant-detail-head strong,
.fourteen-instant-detail-head span {
  display: block;
}

.fourteen-instant-detail-head strong {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1rem;
}

.fourteen-instant-detail-head span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

.fourteen-instant-script-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fourteen-instant-script-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fourteen-instant-script-card.is-focus {
  grid-column: 1 / -1;
  background: rgba(255, 205, 120, 0.08);
  border-color: rgba(255, 205, 120, 0.18);
}

.fourteen-instant-script-card span,
.fourteen-instant-script-card strong {
  display: block;
}

.fourteen-instant-script-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.fourteen-instant-script-card strong {
  margin-top: 8px;
  line-height: 1.6;
  font-size: 0.94rem;
}

.native-lead-form {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.native-lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.native-lead-field {
  display: grid;
  gap: 8px;
}

.native-lead-field-full {
  grid-column: 1 / -1;
}

.native-lead-field span,
.native-lead-check span {
  color: var(--muted);
  font-size: 0.9rem;
}

.native-lead-field input,
.native-lead-field select,
.native-lead-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
}

.native-lead-field textarea {
  min-height: 108px;
  padding: 14px;
  resize: vertical;
}

.native-lead-field input::placeholder,
.native-lead-field textarea::placeholder {
  color: var(--muted);
}

.native-lead-field input:focus,
.native-lead-field select:focus,
.native-lead-field textarea:focus {
  outline: none;
  border-color: rgba(255, 205, 120, 0.34);
  box-shadow: 0 0 0 3px rgba(255, 205, 120, 0.12);
}

.native-lead-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.native-lead-check input {
  width: 18px;
  height: 18px;
}

.health-survey-form {
  margin-top: 18px;
  display: grid;
  gap: 18px;
}

.health-survey-section {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.health-survey-section-head strong,
.health-survey-section-head span {
  display: block;
}

.health-survey-section-head strong {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1rem;
}

.health-survey-section-head span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.85rem;
}

.health-survey-check-block {
  display: grid;
  gap: 12px;
}

.health-survey-check-block strong {
  font-size: 0.95rem;
}

.health-survey-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.health-survey-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.health-survey-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.health-survey-check span {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.35;
}

.health-survey-helper {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.health-survey-folder-wrap {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.health-survey-folder-list {
  display: grid;
  gap: 14px;
}

.health-survey-folder-item {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.health-survey-folder-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.health-survey-folder-head strong,
.health-survey-folder-head span {
  display: block;
}

.health-survey-folder-head strong {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1rem;
}

.health-survey-folder-head span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.health-survey-folder-copy {
  margin: 14px 0 0;
  color: var(--text);
  line-height: 1.7;
}

.health-survey-folder-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.health-survey-folder-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #edf2f9;
  font-size: 0.8rem;
}

.health-survey-folder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.health-survey-folder-empty {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: var(--muted);
  text-align: center;
}

.recruitment-wrap,
.recruitment-folder-wrap {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.recruitment-folder-list {
  display: grid;
  gap: 14px;
}

.recruitment-folder-item {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.recruitment-folder-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.recruitment-folder-head strong,
.recruitment-folder-head span {
  display: block;
}

.recruitment-folder-head strong {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1rem;
}

.recruitment-folder-head span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.recruitment-folder-copy {
  margin: 14px 0 0;
  color: var(--text);
  line-height: 1.7;
}

.recruitment-folder-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.recruitment-folder-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #edf2f9;
  font-size: 0.8rem;
}

.recruitment-folder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.recruitment-folder-empty {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: var(--muted);
  text-align: center;
}

.lead-folder-wrap {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.lead-folder-panels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lead-panel-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.lead-panel-chip strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #edf2f9;
  font-size: 0.82rem;
}

.lead-panel-chip.is-active {
  border-color: rgba(125, 255, 212, 0.32);
  background: rgba(125, 255, 212, 0.12);
  color: #eafff7;
}

.lead-panel-chip.is-active strong {
  background: rgba(125, 255, 212, 0.2);
}

.lead-folder-toolbar {
  display: grid;
  gap: 14px;
}

.lead-folder-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lead-filter-chip {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.lead-filter-chip.is-active {
  border-color: rgba(120, 182, 255, 0.3);
  background: rgba(120, 182, 255, 0.12);
  color: #d9ebff;
}

.lead-folder-list {
  display: grid;
  gap: 12px;
}

.lead-folder-item {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lead-folder-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.lead-folder-head strong,
.lead-folder-head span {
  display: block;
}

.lead-folder-head strong {
  font-size: 1rem;
}

.lead-folder-head span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.lead-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #edf2f9;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lead-folder-copy {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.lead-folder-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.lead-folder-followup {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.lead-folder-followup-card {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lead-folder-followup-card span,
.lead-folder-followup-card strong {
  display: block;
}

.lead-folder-followup-card span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lead-folder-followup-card strong {
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.lead-folder-meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.82rem;
}

.lead-folder-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.lead-folder-sms-wrap {
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lead-folder-sms-wrap textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.lead-folder-sms-wrap textarea::placeholder {
  color: var(--muted);
}

.lead-folder-sms-wrap textarea:focus {
  outline: none;
  border-color: rgba(120, 182, 255, 0.28);
  box-shadow: 0 0 0 3px rgba(120, 182, 255, 0.12);
}

.lead-folder-sms-actions {
  justify-content: flex-end;
}

.lead-folder-followup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.lead-folder-field {
  display: grid;
  gap: 7px;
}

.lead-folder-field-full {
  grid-column: 1 / -1;
}

.lead-folder-field span {
  color: var(--muted);
  font-size: 0.82rem;
}

.lead-folder-status-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.lead-folder-status-row select,
.lead-folder-field select,
.lead-folder-field input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
}

.lead-folder-field input::placeholder {
  color: var(--muted);
}

.lead-folder-status-row select:focus,
.lead-folder-field select:focus,
.lead-folder-field input:focus {
  outline: none;
  border-color: rgba(120, 182, 255, 0.28);
  box-shadow: 0 0 0 3px rgba(120, 182, 255, 0.12);
}

.lead-folder-empty {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: var(--muted);
  line-height: 1.7;
}

.order-calc-card {
  position: relative;
  overflow: hidden;
}

.order-calc-card::before {
  content: "";
  position: absolute;
  inset: auto -10% 55% auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(215, 38, 69, 0.16), transparent 72%);
  pointer-events: none;
}

.order-calc {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.order-calc-wrap[hidden] {
  display: none !important;
}

.order-calc-toggle {
  min-width: 210px;
}

.order-calc-products {
  display: grid;
  gap: 14px;
}

.order-calc-product {
  position: relative;
  z-index: 1;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.order-calc-product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.order-calc-product-head strong,
.order-calc-product-head span {
  display: block;
}

.order-calc-product-head strong {
  font-size: 1rem;
}

.order-calc-product-head span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.order-calc-product-total {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.15rem;
}

.order-calc-product-visual {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 16px 0 0;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.order-calc-product-visual[hidden] {
  display: none !important;
}

.order-calc-product-visual img {
  width: 100%;
  height: 144px;
  object-fit: cover;
  background: #eef2f6;
}

.order-calc-product-visual figcaption {
  min-width: 0;
  padding: 14px 16px 14px 0;
}

.order-calc-product-visual strong,
.order-calc-product-visual span {
  display: block;
}

.order-calc-product-visual strong {
  font-size: 0.96rem;
  line-height: 1.35;
}

.order-calc-product-visual span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
}

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

.order-calc-field {
  display: grid;
  gap: 8px;
}

.order-calc-field-name {
  position: relative;
}

.order-calc-field span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.order-calc-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
}

.order-calc-field input::placeholder {
  color: var(--muted);
}

.order-calc-field input:focus {
  outline: none;
  border-color: rgba(215, 38, 69, 0.36);
  box-shadow: 0 0 0 3px rgba(215, 38, 69, 0.12);
}

.order-calc-match {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

.order-calc-match[data-tone="success"] {
  color: #b8ffd4;
}

.order-calc-match[data-tone="warning"] {
  color: #ffd39a;
}

.order-calc-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: grid;
  gap: 8px;
  margin-top: 2px;
  max-height: 290px;
  overflow-y: auto;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 12, 20, 0.92);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

.order-calc-suggestions[hidden] {
  display: none !important;
}

.order-calc-suggestion {
  width: 100%;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.order-calc-suggestion:hover,
.order-calc-suggestion.is-top {
  border-color: rgba(255, 205, 120, 0.2);
  background: rgba(255, 205, 120, 0.08);
}

.order-calc-suggestion:hover {
  transform: translateY(-1px);
}

.order-calc-suggestion-media {
  width: 74px;
  height: 54px;
  overflow: hidden;
  border-radius: 10px;
  background: #eef2f6;
}

.order-calc-suggestion-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-calc-suggestion-placeholder {
  width: 100%;
  height: 100%;
  display: grid !important;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #153a63, #c41230);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.order-calc-suggestion-copy {
  min-width: 0;
}

.order-calc-suggestion strong,
.order-calc-suggestion span {
  display: block;
}

.order-calc-suggestion strong {
  font-size: 0.9rem;
}

.order-calc-suggestion span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
}

.order-calc-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.order-calc-metric {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.order-calc-metric span,
.order-calc-metric strong {
  display: block;
}

.order-calc-metric span {
  color: var(--muted);
  font-size: 0.82rem;
}

.order-calc-metric strong {
  margin-top: 8px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.05rem;
  line-height: 1.1;
}

.order-calc-metric.is-balance strong {
  color: #9df2b5;
}

.order-calc-summary {
  position: relative;
  z-index: 1;
  padding: 18px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(196, 18, 48, 0.14), rgba(140, 17, 40, 0.08)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(215, 38, 69, 0.18);
}

.order-calc-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-calc-summary-head strong,
.order-calc-summary-head span {
  display: block;
}

.order-calc-summary-head strong {
  font-size: 1rem;
}

.order-calc-summary-head span {
  color: var(--muted);
  font-size: 0.84rem;
}

.order-calc-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.order-calc-rollup,
.order-calc-payment-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.order-calc-rollup {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.order-calc-summary-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.order-calc-summary-actions .secondary-button {
  justify-self: flex-start;
}

.order-calc-summary-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.order-calc-summary-note[data-state="success"] {
  color: #c8ffe0;
}

.order-calc-summary-note[data-state="warning"] {
  color: #ffd39a;
}

.order-calc-rollup-item,
.order-calc-payment-item {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.order-calc-rollup-item span,
.order-calc-rollup-item strong,
.order-calc-payment-item span,
.order-calc-payment-item strong {
  display: block;
}

.order-calc-rollup-item span,
.order-calc-payment-item span {
  color: var(--muted);
  font-size: 0.84rem;
}

.order-calc-rollup-item strong,
.order-calc-payment-item strong {
  margin-top: 8px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.08rem;
  line-height: 1.1;
}

.order-calc-rollup-item.is-highlight {
  border-color: rgba(157, 242, 181, 0.28);
  background: rgba(157, 242, 181, 0.08);
}

.order-calc-rollup-item.is-highlight strong {
  color: #b7ffd1;
}

.decision-tool-card {
  position: relative;
  overflow: hidden;
}

.decision-tool-card::before {
  content: "";
  position: absolute;
  inset: -10% auto auto -8%;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 170, 89, 0.12), transparent 72%);
  pointer-events: none;
}

.decision-tool-wrap[hidden] {
  display: none !important;
}

.decision-tool-toggle {
  min-width: 190px;
}

.decision-tool {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.decision-tool-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.decision-tool-section {
  position: relative;
  z-index: 1;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.decision-tool-section.is-cons {
  background:
    linear-gradient(180deg, rgba(215, 38, 69, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
}

.decision-tool-head strong,
.decision-tool-head span {
  display: block;
}

.decision-tool-head strong {
  font-size: 1rem;
}

.decision-tool-head span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

.decision-tool-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.decision-tool-row {
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 10px;
}

.decision-tool-row input,
.decision-tool-row select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
}

.decision-tool-row input::placeholder {
  color: var(--muted);
}

.decision-tool-row input:focus,
.decision-tool-row select:focus {
  outline: none;
  border-color: rgba(255, 170, 89, 0.34);
  box-shadow: 0 0 0 3px rgba(255, 170, 89, 0.12);
}

.decision-tool-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.decision-tool-summary {
  position: relative;
  z-index: 1;
  padding: 18px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 170, 89, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 170, 89, 0.18);
}

.decision-tool-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.decision-tool-summary-head strong,
.decision-tool-summary-head span {
  display: block;
}

.decision-tool-summary-head strong {
  font-size: 1rem;
}

.decision-tool-summary-head span {
  color: var(--muted);
  font-size: 0.84rem;
}

.decision-tool-scoreboard,
.decision-tool-insight {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

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

.decision-score-card,
.decision-insight-card {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.decision-score-card span,
.decision-score-card strong,
.decision-insight-card span,
.decision-insight-card strong {
  display: block;
}

.decision-score-card span,
.decision-insight-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.decision-score-card strong,
.decision-insight-card strong {
  margin-top: 8px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.05rem;
  line-height: 1.2;
}

.decision-score-card.is-cons strong {
  color: #ffc2cc;
}

.decision-score-card.is-highlight {
  border-color: rgba(255, 170, 89, 0.24);
  background: rgba(255, 170, 89, 0.08);
}

.decision-score-card.is-highlight strong {
  color: #ffd8a9;
}

.decision-bars {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.decision-bar-group {
  display: grid;
  gap: 8px;
}

.decision-bar-group span {
  color: var(--muted);
  font-size: 0.84rem;
}

.decision-bar-shell {
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.decision-bar {
  height: 100%;
  border-radius: inherit;
  transition: width 220ms ease;
}

.decision-bar.is-pros {
  background: linear-gradient(90deg, #44d48d, #8af0b9);
}

.decision-bar.is-cons {
  background: linear-gradient(90deg, #d72645, #ff8fa2);
}

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

.decision-insight-card.is-next {
  border-color: rgba(157, 242, 181, 0.22);
  background: rgba(157, 242, 181, 0.08);
}

.decision-insight-card.is-next strong {
  color: #c9ffd9;
}

.decision-tool-context {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.decision-tool-context .secondary-button {
  justify-self: flex-start;
}

.decision-tool-context-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.decision-tool-context-note[data-state="success"] {
  color: #ffd8a9;
}

.decision-tool-context-note[data-state="warning"] {
  color: #ffd39a;
}

.buyer-profile-card {
  position: relative;
  overflow: hidden;
}

.buyer-profile-card::before {
  content: "";
  position: absolute;
  inset: auto auto 58% -8%;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(120, 182, 255, 0.14), transparent 72%);
  pointer-events: none;
}

.buyer-profile-wrap[hidden] {
  display: none !important;
}

.buyer-profile-toggle {
  min-width: 180px;
}

.buyer-profile-tool {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.buyer-profile-list {
  display: grid;
  gap: 12px;
}

.buyer-profile-row {
  display: grid;
  grid-template-columns: 1fr 168px;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.buyer-profile-row strong,
.buyer-profile-row span {
  display: block;
}

.buyer-profile-row strong {
  font-size: 0.96rem;
  line-height: 1.35;
}

.buyer-profile-row span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.buyer-profile-row select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
}

.buyer-profile-row select:focus {
  outline: none;
  border-color: rgba(120, 182, 255, 0.36);
  box-shadow: 0 0 0 3px rgba(120, 182, 255, 0.12);
}

.buyer-profile-result {
  padding: 18px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(120, 182, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(120, 182, 255, 0.18);
}

.buyer-profile-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.buyer-profile-result-card {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.buyer-profile-result-card span,
.buyer-profile-result-card strong {
  display: block;
}

.buyer-profile-result-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.buyer-profile-result-card strong {
  margin-top: 8px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.02rem;
  line-height: 1.25;
}

.buyer-profile-result-card.is-main {
  border-color: rgba(120, 182, 255, 0.22);
  background: rgba(120, 182, 255, 0.08);
}

.buyer-profile-result-card.is-main strong {
  color: #d8ebff;
}

.buyer-profile-result-card.is-next {
  border-color: rgba(157, 242, 181, 0.22);
  background: rgba(157, 242, 181, 0.08);
}

.buyer-profile-result-card.is-next strong {
  color: #ccffdb;
}

.daily-prize-card {
  position: relative;
  overflow: hidden;
}

.daily-prize-card::before {
  content: "";
  position: absolute;
  inset: auto -8% 56% auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 168, 76, 0.16), transparent 72%);
  pointer-events: none;
}

.daily-prize-wrap[hidden] {
  display: none !important;
}

.daily-prize-toggle {
  min-width: 180px;
}

.daily-prize-tool {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.daily-prize-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.daily-prize-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.daily-prize-field {
  display: grid;
  gap: 8px;
}

.daily-prize-field-full {
  grid-column: 1 / -1;
}

.daily-prize-field span {
  color: var(--muted);
  font-size: 0.84rem;
}

.daily-prize-field input,
.daily-prize-field select,
.daily-prize-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
}

.daily-prize-field textarea {
  min-height: 96px;
  resize: vertical;
}

.daily-prize-field input::placeholder,
.daily-prize-field textarea::placeholder {
  color: var(--muted);
}

.daily-prize-field input:focus,
.daily-prize-field select:focus,
.daily-prize-field textarea:focus {
  outline: none;
  border-color: rgba(255, 168, 76, 0.42);
  box-shadow: 0 0 0 3px rgba(255, 168, 76, 0.12);
}

.daily-prize-feedback {
  padding: 13px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  line-height: 1.55;
}

.daily-prize-feedback[data-state="success"] {
  background: rgba(102, 232, 154, 0.12);
  border-color: rgba(102, 232, 154, 0.22);
  color: #ddffea;
}

.daily-prize-feedback[data-state="error"] {
  background: rgba(255, 122, 122, 0.12);
  border-color: rgba(255, 122, 122, 0.24);
  color: #ffd8d8;
}

.daily-prize-result {
  padding: 18px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 168, 76, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 168, 76, 0.18);
}

.daily-prize-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.daily-prize-result-card {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.daily-prize-result-card span,
.daily-prize-result-card strong {
  display: block;
}

.daily-prize-result-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.daily-prize-result-card strong {
  margin-top: 8px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.02rem;
  line-height: 1.35;
}

.daily-prize-result-card.is-main {
  border-color: rgba(255, 168, 76, 0.24);
  background: rgba(255, 168, 76, 0.08);
}

.daily-prize-result-card.is-main strong {
  color: #ffe5c7;
}

.daily-prize-result-card.is-copy {
  border-color: rgba(255, 226, 168, 0.22);
  background: rgba(255, 226, 168, 0.08);
}

.daily-prize-result-card.is-copy strong {
  color: #fff0c6;
}

.daily-prize-progress {
  margin-top: 16px;
  width: 100%;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.daily-prize-progress-bar {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff9248, #ffb347);
  transition: width 0.9s linear;
}

.coach-console {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 24px 0 40px;
}

.coach-compact-bar {
  padding: 22px 24px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(9, 22, 41, 0.97), rgba(10, 24, 46, 0.9));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.coach-compact-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.coach-compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.coach-compact-head h2,
.coach-compact-head p {
  margin: 0;
}

.coach-compact-head h2 {
  margin-top: 10px;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  line-height: 0.98;
  font-family: "Bricolage Grotesque", sans-serif;
}

.coach-compact-head p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 46rem;
}

.coach-compact-strip {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
  margin-top: 18px;
}

.coach-compact-strip-slim {
  grid-template-columns: 1fr;
  margin-top: 14px;
}

.coach-compact-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.coach-compact-card strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1rem;
}

.coach-compact-card span {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.coach-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 14px;
  margin-top: 16px;
}

.coach-demo-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.coach-demo-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.coach-demo-head strong,
.coach-demo-head span {
  display: block;
}

.coach-demo-head strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1rem;
}

.coach-demo-head span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.88rem;
}

.coach-demo-stage-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(120, 255, 191, 0.08);
  border: 1px solid rgba(120, 255, 191, 0.18);
  color: #eafff3;
  font-size: 0.84rem;
  white-space: nowrap;
}

.coach-demo-stage-copy {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.coach-demo-stage-copy strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1rem;
}

.coach-demo-stage-copy span {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.9rem;
}

.coach-demo-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coach-demo-button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.coach-demo-button:hover,
.coach-demo-button.is-active {
  transform: translateY(-1px);
  border-color: rgba(120, 255, 191, 0.22);
  background: rgba(120, 255, 191, 0.08);
}

.coach-demo-events {
  display: grid;
  gap: 10px;
}

.coach-demo-event,
.coach-demo-event-empty {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.coach-demo-event strong,
.coach-demo-event span {
  display: block;
}

.coach-demo-event strong {
  font-size: 0.94rem;
}

.coach-demo-event span,
.coach-demo-event-empty {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.86rem;
}

.coach-chat-status {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f4f7fb;
  white-space: nowrap;
  font-size: 0.92rem;
}

.coach-unread-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 8px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(215, 38, 69, 0.92);
  color: #fff8fa;
  font-size: 0.78rem;
  font-weight: 700;
}

.coach-messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-height: 0;
  margin-top: 22px;
  padding: 18px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(4, 13, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow-y: auto;
}

.coach-message {
  max-width: 82%;
  padding: 16px 18px;
  border-radius: 24px;
  line-height: 1.7;
}

.coach-message p {
  margin: 0;
  white-space: pre-wrap;
}

.coach-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.coach-message-action {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.coach-message-action:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.coach-message.assistant {
  align-self: flex-start;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom-left-radius: 10px;
}

.coach-message.user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(215, 38, 69, 0.96), rgba(140, 17, 40, 0.92));
  color: #fff7fa;
  border-bottom-right-radius: 10px;
}

.coach-composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
  margin-top: 18px;
}

.coach-composer textarea {
  width: 100%;
  min-height: 72px;
  max-height: 180px;
  padding: 16px 18px;
  resize: none;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.coach-composer textarea:focus {
  outline: 2px solid rgba(215, 38, 69, 0.45);
  outline-offset: 2px;
}

.coach-prompt-note {
  margin: 12px 4px 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.coach-live-context {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.coach-live-context strong {
  font-size: 0.96rem;
  color: #f5f8fc;
}

.coach-live-context span {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.coach-sidebar {
  display: grid;
  gap: 18px;
  width: min(980px, 100%);
  margin: 0 auto;
}

.coach-sidebar > .dashboard-card {
  order: 100;
}

.coach-sidebar > .dashboard-card[style*="--coach-flow-order"] {
  order: var(--coach-flow-order);
}

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

.mini-stat {
  padding: 16px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-stat strong,
.mini-stat span {
  display: block;
}

.mini-stat strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.15rem;
  line-height: 1.1;
}

.mini-stat span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.88rem;
}

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

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

.metric-panel {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.telemarketing-kpi-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.telemarketing-kpi-card {
  padding: 16px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.telemarketing-kpi-card span,
.telemarketing-kpi-card strong {
  display: block;
}

.telemarketing-kpi-card span {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.telemarketing-kpi-card strong {
  margin-top: 10px;
  font-size: 1.2rem;
  line-height: 1.1;
}

.metric-panel h4 {
  margin: 10px 0 0;
  font-size: 1rem;
}

.metric-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.metric-list-item {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(8, 11, 22, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-list-item strong,
.metric-list-item span,
.metric-list-item small {
  display: block;
}

.metric-list-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.metric-list-item small {
  color: rgba(247, 249, 252, 0.72);
  font-size: 0.8rem;
}

.insight-stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.insight-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #edf2f9;
  font-size: 0.84rem;
  line-height: 1.3;
}

.tag-chip.is-muted {
  color: var(--muted);
}

.feature-list.compact {
  gap: 10px;
}

.coach-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 9, 18, 0.72);
  backdrop-filter: blur(8px);
}

.coach-modal-backdrop[hidden] {
  display: none !important;
}

.coach-modal-card {
  position: relative;
  width: min(460px, 100%);
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(9, 22, 41, 0.98), rgba(10, 24, 46, 0.94));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.coach-modal-card h3,
.coach-modal-card p {
  margin: 0;
}

.coach-modal-card h3 {
  margin-top: 16px;
  font-size: 1.5rem;
  font-family: "Bricolage Grotesque", sans-serif;
}

.coach-modal-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.coach-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.chef-share-qr {
  width: min(260px, 100%);
  margin: 22px auto 0;
  padding: 14px;
  border-radius: 24px;
  background: #ffffff;
}

.coach-whatsapp-share-card {
  background:
    radial-gradient(circle at top right, rgba(95, 231, 149, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(8, 33, 22, 0.96), rgba(5, 22, 15, 0.94));
  border-color: rgba(95, 231, 149, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(95, 231, 149, 0.08),
    0 18px 36px rgba(3, 15, 10, 0.24);
}

.coach-whatsapp-share-card.is-disabled {
  opacity: 0.72;
}

.coach-share-url-inline {
  margin-top: 0;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(95, 231, 149, 0.16);
  color: #e8fff0;
}

.coach-share-url {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  word-break: break-word;
}

.royalone-dock {
  position: fixed;
  right: 22px;
  bottom: 104px;
  z-index: 32;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.royalone-dock-toggle {
  min-height: 54px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(215, 38, 69, 0.96), rgba(140, 17, 40, 0.92));
  color: #fff8fb;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.36);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.royalone-dock-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.42);
}

.royalone-dock-panel {
  width: min(360px, calc(100vw - 28px));
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(9, 22, 41, 0.98), rgba(10, 24, 46, 0.94));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.royalone-dock-panel[hidden] {
  display: none !important;
}

.royalone-dock-panel h3,
.royalone-dock-panel p {
  margin: 0;
}

.royalone-dock-panel h3 {
  margin-top: 16px;
  font-size: 1.32rem;
  font-family: "Bricolage Grotesque", sans-serif;
}

.royalone-dock-panel p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.68;
}

.coach-float-dock {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 34;
  display: grid;
  justify-items: start;
  gap: 12px;
}

.coach-float-toggle {
  min-height: 54px;
  min-width: 112px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(18, 106, 155, 0.82), rgba(7, 49, 78, 0.82));
  color: #f4fbff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  opacity: 0.48;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease, background 180ms ease;
}

.coach-float-toggle:hover,
.coach-float-toggle.is-armed,
.coach-float-toggle.is-open {
  opacity: 1;
}

.coach-float-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.34);
}

.coach-float-toggle.is-armed,
.coach-float-toggle.is-open {
  background: linear-gradient(135deg, rgba(36, 145, 203, 0.96), rgba(10, 80, 122, 0.94));
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.36);
}

.coach-float-panel {
  width: min(420px, calc(100vw - 28px));
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(9, 22, 41, 0.99), rgba(10, 24, 46, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.coach-float-panel[hidden] {
  display: none !important;
}

.coach-float-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.coach-float-header h3 {
  margin: 10px 0 0;
  font-size: 1.2rem;
  font-family: "Bricolage Grotesque", sans-serif;
}

.coach-float-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.coach-float-status {
  display: inline-flex;
  margin-top: 14px;
}

.coach-float-messages {
  min-height: 280px;
  max-height: 400px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 24px;
}

.coach-float-composer {
  margin-top: 14px;
}

.coach-float-composer textarea {
  min-height: 60px;
}

.coach-float-note {
  margin: 12px 4px 0;
}

@media (min-width: 721px) and (max-width: 980px) {
  .coach-float-panel {
    width: min(470px, calc(100vw - 36px));
    padding: 20px;
  }

  .coach-float-messages {
    min-height: 320px;
    max-height: 430px;
  }

  .coach-float-composer textarea {
    min-height: 70px;
  }

  .coach-compact-strip {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 981px) {
  .coach-float-panel {
    width: min(520px, 40vw);
    padding: 22px;
  }

  .coach-float-messages {
    min-height: 360px;
    max-height: 500px;
  }

  .coach-float-composer textarea {
    min-height: 78px;
  }
}

html[data-coach-portal-mode="telemarketing"] {
  background: #02070d;
}

html[data-coach-portal-mode="telemarketing"] body {
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(61, 224, 160, 0.08), transparent 20%),
    radial-gradient(circle at 85% 10%, rgba(77, 177, 255, 0.16), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(255, 199, 90, 0.08), transparent 28%),
    linear-gradient(180deg, #040a12 0%, #07111d 48%, #04080f 100%);
}

html[data-coach-portal-mode="telemarketing"] body::before {
  background:
    linear-gradient(rgba(122, 215, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 215, 255, 0.05) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at center, #000 36%, transparent 100%);
  opacity: 0.28;
}

html[data-coach-portal-mode="telemarketing"] body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 48%, rgba(2, 5, 10, 0.85) 100%);
}

html[data-coach-portal-mode="telemarketing"] .coach-shell {
  width: min(1380px, calc(100% - 40px));
}

html[data-coach-portal-mode="telemarketing"] .coach-nav,
html[data-coach-portal-mode="telemarketing"] .coach-compact-bar,
html[data-coach-portal-mode="telemarketing"] .coach-workspace-switch,
html[data-coach-portal-mode="telemarketing"] .dashboard-card,
html[data-coach-portal-mode="telemarketing"] .crm-grid-wrap,
html[data-coach-portal-mode="telemarketing"] .metric-panel,
html[data-coach-portal-mode="telemarketing"] .mini-stat,
html[data-coach-portal-mode="telemarketing"] .team-seat-empty,
html[data-coach-portal-mode="telemarketing"] .territory-card,
html[data-coach-portal-mode="telemarketing"] .metric-list-item {
  background:
    linear-gradient(180deg, rgba(18, 32, 48, 0.88), rgba(5, 13, 23, 0.92)),
    rgba(9, 18, 29, 0.82);
  border-color: rgba(119, 211, 255, 0.14);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(122, 215, 255, 0.08),
    0 0 32px rgba(77, 177, 255, 0.08);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

html[data-coach-portal-mode="telemarketing"] .coach-nav::before,
html[data-coach-portal-mode="telemarketing"] .coach-compact-bar::before,
html[data-coach-portal-mode="telemarketing"] .coach-workspace-switch::before,
html[data-coach-portal-mode="telemarketing"] .dashboard-card::before,
html[data-coach-portal-mode="telemarketing"] .crm-grid-wrap::before,
html[data-coach-portal-mode="telemarketing"] .metric-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(122, 215, 255, 0.65), transparent);
  opacity: 0.9;
  pointer-events: none;
}

html[data-coach-portal-mode="telemarketing"] .coach-nav::after,
html[data-coach-portal-mode="telemarketing"] .coach-compact-bar::after,
html[data-coach-portal-mode="telemarketing"] .dashboard-card::after {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(122, 215, 255, 0.1), transparent 68%);
  pointer-events: none;
}

html[data-coach-portal-mode="telemarketing"] .coach-brand-copy h1,
html[data-coach-portal-mode="telemarketing"] .coach-compact-head h2,
html[data-coach-portal-mode="telemarketing"] .dashboard-card h3,
html[data-coach-portal-mode="telemarketing"] .mini-stat strong,
html[data-coach-portal-mode="telemarketing"] .metric-panel h4,
html[data-coach-portal-mode="telemarketing"] .crm-grid-head,
html[data-coach-portal-mode="telemarketing"] .team-seat-head strong {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.03em;
}

html[data-coach-portal-mode="telemarketing"] .coach-brand-copy p,
html[data-coach-portal-mode="telemarketing"] .dashboard-card p,
html[data-coach-portal-mode="telemarketing"] .mini-note,
html[data-coach-portal-mode="telemarketing"] .mini-stat span,
html[data-coach-portal-mode="telemarketing"] .metric-list-item span,
html[data-coach-portal-mode="telemarketing"] .metric-list-item small,
html[data-coach-portal-mode="telemarketing"] .crm-grid-row small,
html[data-coach-portal-mode="telemarketing"] .team-seat-head span,
html[data-coach-portal-mode="telemarketing"] .team-seat-note,
html[data-coach-portal-mode="telemarketing"] .coach-chat-status {
  color: #8da2ba;
}

html[data-coach-portal-mode="telemarketing"] .eyebrow {
  color: #7ad7ff;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
}

html[data-coach-portal-mode="telemarketing"] .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3de0a0, #72ffd3);
  box-shadow: 0 0 12px rgba(61, 224, 160, 0.48);
}

html[data-coach-portal-mode="telemarketing"] .coach-brand-badge {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  font-size: 30px;
  color: #02111b;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(145deg, #8ae8ff 0%, #50b8ff 42%, #34e7a1 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 0 0 1px rgba(122, 215, 255, 0.22),
    0 0 22px rgba(77, 177, 255, 0.25);
}

html[data-coach-portal-mode="telemarketing"] .coach-nav {
  padding: 22px 24px;
  border-radius: 28px;
}

html[data-coach-portal-mode="telemarketing"] .nav-link {
  color: #8da2ba;
}

html[data-coach-portal-mode="telemarketing"] .nav-link:hover {
  color: #e8f3ff;
}

html[data-coach-portal-mode="telemarketing"] .nav-button,
html[data-coach-portal-mode="telemarketing"] .secondary-button {
  background: linear-gradient(180deg, rgba(10, 24, 38, 0.88), rgba(5, 13, 23, 0.9));
  border-color: rgba(122, 215, 255, 0.24);
  color: #7ad7ff;
  box-shadow: inset 0 0 0 1px rgba(122, 215, 255, 0.06);
}

html[data-coach-portal-mode="telemarketing"] .nav-button:hover,
html[data-coach-portal-mode="telemarketing"] .secondary-button:hover {
  border-color: rgba(61, 224, 160, 0.32);
  color: #dff7ff;
}

html[data-coach-portal-mode="telemarketing"] .primary-button {
  background: linear-gradient(135deg, #8ae8ff 0%, #50b8ff 42%, #34e7a1 100%);
  color: #02111b;
  box-shadow: 0 18px 34px rgba(77, 177, 255, 0.2);
}

html[data-coach-portal-mode="telemarketing"] .coach-chat-status {
  border-color: rgba(122, 215, 255, 0.18);
  background: rgba(8, 18, 30, 0.82);
  color: #aefadb;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

html[data-coach-portal-mode="telemarketing"] .coach-message-action {
  border-color: rgba(122, 215, 255, 0.18);
  background: rgba(8, 18, 30, 0.82);
  color: #dff7ff;
}

html[data-coach-portal-mode="telemarketing"] .coach-message-action:hover {
  border-color: rgba(122, 215, 255, 0.34);
  background: rgba(10, 26, 40, 0.94);
}

html[data-coach-portal-mode="telemarketing"] .coach-compact-bar {
  padding: 26px 28px;
  border-radius: 32px;
}

html[data-coach-portal-mode="telemarketing"] .coach-compact-head {
  align-items: center;
}

html[data-coach-portal-mode="telemarketing"] .coach-compact-head h2 {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(77, 177, 255, 0.14);
}

html[data-coach-portal-mode="telemarketing"] .coach-workspace-switch {
  padding: 22px 24px;
  border-radius: 28px;
}

html[data-coach-portal-mode="telemarketing"] .coach-workspace-tabs {
  grid-template-columns: minmax(220px, 300px);
}

html[data-coach-portal-mode="telemarketing"] .coach-workspace-tab {
  min-height: 56px;
  border-radius: 20px;
  border-color: rgba(122, 215, 255, 0.18);
  background: rgba(7, 18, 30, 0.72);
  color: #8da2ba;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

html[data-coach-portal-mode="telemarketing"] .coach-workspace-tab:hover {
  border-color: rgba(122, 215, 255, 0.34);
  color: #dff7ff;
}

html[data-coach-portal-mode="telemarketing"] .coach-workspace-tab.is-active {
  color: #dff7ff;
  border-color: rgba(122, 215, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(122, 215, 255, 0.18), rgba(61, 224, 160, 0.14));
  box-shadow:
    inset 0 0 0 1px rgba(122, 215, 255, 0.12),
    0 12px 24px rgba(4, 11, 19, 0.28);
}

html[data-coach-portal-mode="telemarketing"] .coach-sidebar {
  width: min(1520px, 100%);
  max-width: none;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

html[data-coach-portal-mode="telemarketing"] .coach-sidebar > .coach-workspace-switch,
html[data-coach-portal-mode="telemarketing"] .dashboard-card[data-telemarketing-panel="summary"] {
  grid-column: 1 / -1;
}

html[data-coach-portal-mode="telemarketing"] .dashboard-card[data-telemarketing-panel="sheet"] {
  grid-column: 1 / -1;
}

html[data-coach-portal-mode="telemarketing"] .dashboard-card[data-telemarketing-panel="detail"] {
  grid-column: 1 / -1;
  position: static;
  top: auto;
}

html[data-coach-portal-mode="telemarketing"] .dashboard-card {
  border-radius: 28px;
  padding: 24px;
}

html[data-coach-portal-mode="telemarketing"] .dashboard-card[data-telemarketing-panel="sheet"] {
  padding: 28px;
}

html[data-coach-portal-mode="telemarketing"] .insight-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

html[data-coach-portal-mode="telemarketing"] .metric-grid {
  gap: 12px;
}

html[data-coach-portal-mode="telemarketing"] .mini-stat {
  border-radius: 22px;
}

html[data-coach-portal-mode="telemarketing"] .mini-stat strong {
  color: #e8f3ff;
  text-shadow: 0 0 14px rgba(77, 177, 255, 0.12);
}

html[data-coach-portal-mode="telemarketing"] .telemarketing-kpi-card {
  background:
    linear-gradient(180deg, rgba(17, 34, 50, 0.76), rgba(8, 17, 28, 0.84)),
    rgba(6, 14, 24, 0.92);
  border-color: rgba(122, 215, 255, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(122, 215, 255, 0.05),
    0 10px 24px rgba(3, 9, 16, 0.28);
}

html[data-coach-portal-mode="telemarketing"] .telemarketing-kpi-card span {
  color: #8da2ba;
  letter-spacing: 0.14em;
}

html[data-coach-portal-mode="telemarketing"] .telemarketing-kpi-card strong {
  color: #e8f3ff;
  font-family: "Orbitron", sans-serif;
  text-shadow: 0 0 14px rgba(77, 177, 255, 0.12);
}

html[data-coach-portal-mode="telemarketing"] .metric-panel {
  border-radius: 24px;
}

html[data-coach-portal-mode="telemarketing"] .metric-panel h4 {
  color: #e8f3ff;
}

html[data-coach-portal-mode="telemarketing"] .metric-list-item {
  border-radius: 18px;
}

html[data-coach-portal-mode="telemarketing"] .crm-toolbar {
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
}

html[data-coach-portal-mode="telemarketing"] .crm-toolbar label {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(7, 18, 30, 0.72);
  border: 1px solid rgba(122, 215, 255, 0.14);
}

html[data-coach-portal-mode="telemarketing"] .crm-search-field input,
html[data-coach-portal-mode="telemarketing"] .crm-toolbar select,
html[data-coach-portal-mode="telemarketing"] .coach-form input,
html[data-coach-portal-mode="telemarketing"] .coach-form textarea,
html[data-coach-portal-mode="telemarketing"] .coach-form select {
  border-color: rgba(122, 215, 255, 0.18);
  background: rgba(6, 16, 27, 0.76);
}

html[data-coach-portal-mode="telemarketing"] .crm-quick-filter-chip {
  border-color: rgba(122, 215, 255, 0.2);
  background: rgba(7, 18, 30, 0.72);
  color: #8da2ba;
}

html[data-coach-portal-mode="telemarketing"] .crm-quick-filter-chip strong {
  color: #e8f3ff;
}

html[data-coach-portal-mode="telemarketing"] .crm-quick-filter-chip.is-active {
  border-color: rgba(122, 215, 255, 0.38);
  background:
    linear-gradient(135deg, rgba(122, 215, 255, 0.18), rgba(61, 224, 160, 0.14));
  color: #dff7ff;
  box-shadow:
    inset 0 0 0 1px rgba(122, 215, 255, 0.08),
    0 10px 20px rgba(4, 11, 19, 0.2);
}

html[data-coach-portal-mode="telemarketing"] .crm-grid-wrap {
  margin-top: 18px;
  border-radius: 24px;
}

html[data-coach-portal-mode="telemarketing"] .crm-grid-head,
html[data-coach-portal-mode="telemarketing"] .crm-grid-row-telemarketing {
  grid-template-columns: 0.78fr 2.8fr 2.2fr 2.35fr 1.35fr;
  gap: 20px;
}

html[data-coach-portal-mode="telemarketing"] .crm-grid-head {
  padding: 16px 18px;
  background:
    linear-gradient(180deg, rgba(17, 34, 50, 0.94), rgba(8, 17, 28, 0.92));
  color: #7ad7ff;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}

html[data-coach-portal-mode="telemarketing"] .crm-grid-list {
  max-height: 720px;
  overflow-y: auto;
}

html[data-coach-portal-mode="telemarketing"] .crm-grid-row {
  padding: 22px 20px;
  border-top-color: rgba(122, 215, 255, 0.08);
}

html[data-coach-portal-mode="telemarketing"] .crm-grid-row-telemarketing {
  align-items: start;
}

html[data-coach-portal-mode="telemarketing"] .crm-tele-block {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}

html[data-coach-portal-mode="telemarketing"] .crm-tele-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

html[data-coach-portal-mode="telemarketing"] .crm-tele-heading-row strong {
  font-size: 1.06rem;
  line-height: 1.2;
}

html[data-coach-portal-mode="telemarketing"] .crm-tele-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(122, 215, 255, 0.18);
  background: rgba(6, 16, 27, 0.72);
  color: #9fe8ff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

html[data-coach-portal-mode="telemarketing"] .crm-tele-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

html[data-coach-portal-mode="telemarketing"] .crm-tele-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

html[data-coach-portal-mode="telemarketing"] .crm-tele-inline-grid label,
html[data-coach-portal-mode="telemarketing"] .crm-tele-stack {
  display: grid;
  gap: 6px;
}

html[data-coach-portal-mode="telemarketing"] .crm-tele-stack-wide {
  grid-column: 1 / -1;
}

html[data-coach-portal-mode="telemarketing"] .crm-tele-inline-grid small,
html[data-coach-portal-mode="telemarketing"] .crm-tele-stack small {
  color: #83b5cb;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-coach-portal-mode="telemarketing"] .crm-grid-row-telemarketing .crm-inline-input,
html[data-coach-portal-mode="telemarketing"] .crm-grid-row-telemarketing .crm-inline-select {
  min-height: 42px;
}

html[data-coach-portal-mode="telemarketing"] .crm-grid-row-telemarketing .crm-inline-textarea {
  min-height: 136px;
  line-height: 1.5;
}

html[data-coach-portal-mode="telemarketing"] .crm-grid-row-telemarketing .crm-inline-actions {
  gap: 10px;
}

html[data-coach-portal-mode="telemarketing"] .crm-inline-actions-telemarketing {
  align-content: start;
}

html[data-coach-portal-mode="telemarketing"] .crm-inline-action-grid-telemarketing {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

html[data-coach-portal-mode="telemarketing"] .crm-inline-action-grid-telemarketing .secondary-button,
html[data-coach-portal-mode="telemarketing"] .crm-inline-action-grid-telemarketing .nav-button,
html[data-coach-portal-mode="telemarketing"] .crm-inline-action-grid-telemarketing .crm-inline-action-chip {
  min-height: 42px;
}

@media (max-width: 1200px) {
  html[data-coach-portal-mode="telemarketing"] .crm-tele-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  html[data-coach-portal-mode="telemarketing"] .crm-tele-profile-grid {
    grid-template-columns: 1fr;
  }
}

html[data-coach-portal-mode="telemarketing"] .crm-grid-row:hover {
  background: rgba(77, 177, 255, 0.07);
}

html[data-coach-portal-mode="telemarketing"] .crm-grid-row.is-active {
  background: linear-gradient(145deg, rgba(122, 215, 255, 0.14), rgba(61, 224, 160, 0.08));
  box-shadow: inset 0 0 0 1px rgba(122, 215, 255, 0.12);
}

html[data-coach-portal-mode="telemarketing"] .crm-grid-row strong {
  color: #eef8ff;
}

html[data-coach-portal-mode="telemarketing"] .crm-inline-select,
html[data-coach-portal-mode="telemarketing"] .crm-inline-input {
  border-color: rgba(122, 215, 255, 0.18);
  background: rgba(6, 16, 27, 0.76);
}

html[data-coach-portal-mode="telemarketing"] .crm-inline-action-chip {
  border-color: rgba(122, 215, 255, 0.18);
  background: rgba(6, 16, 27, 0.76);
  color: #dff7ff;
}

html[data-coach-portal-mode="telemarketing"] .crm-inline-action-chip:hover {
  border-color: rgba(122, 215, 255, 0.36);
  background: rgba(10, 26, 40, 0.92);
  box-shadow: inset 0 0 0 1px rgba(122, 215, 255, 0.08);
}

html[data-coach-portal-mode="telemarketing"] .crm-grid-row.is-dirty {
  box-shadow:
    inset 0 0 0 1px rgba(122, 215, 255, 0.2),
    inset 0 0 18px rgba(122, 215, 255, 0.06);
}

html[data-coach-portal-mode="telemarketing"] .agenda-card {
  background:
    radial-gradient(circle at top right, rgba(232, 197, 123, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(15, 27, 42, 0.96), rgba(8, 16, 28, 0.94)),
    rgba(7, 18, 30, 0.86);
  border-color: rgba(197, 228, 255, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(232, 197, 123, 0.05),
    0 22px 46px rgba(4, 11, 19, 0.26);
}

html[data-coach-portal-mode="telemarketing"] .agenda-card::before {
  background: linear-gradient(180deg, rgba(232, 197, 123, 0.94), rgba(122, 215, 255, 0.72));
}

html[data-coach-portal-mode="telemarketing"] .agenda-time-pill {
  background: rgba(232, 197, 123, 0.12);
  border-color: rgba(232, 197, 123, 0.22);
  color: #fff0c7;
}

html[data-coach-portal-mode="telemarketing"] .agenda-meta-chip,
html[data-coach-portal-mode="telemarketing"] .agenda-route-card {
  border-color: rgba(197, 228, 255, 0.12);
  background: linear-gradient(180deg, rgba(9, 18, 31, 0.9), rgba(6, 14, 24, 0.82));
}

html[data-coach-portal-mode="telemarketing"] .agenda-card-action-block {
  border-top-color: rgba(197, 228, 255, 0.1);
}

html[data-coach-portal-mode="telemarketing"] .agenda-stage-card,
html[data-coach-portal-mode="telemarketing"] .agenda-summary-card {
  background:
    radial-gradient(circle at top right, rgba(232, 197, 123, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(15, 27, 42, 0.96), rgba(8, 16, 28, 0.94));
  border-color: rgba(197, 228, 255, 0.14);
}

html[data-coach-portal-mode="telemarketing"] .agenda-card-head-executive {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 18px;
  align-items: start;
}

html[data-coach-portal-mode="telemarketing"] .agenda-card-title-block {
  display: grid;
  gap: 10px;
}

html[data-coach-portal-mode="telemarketing"] .agenda-card-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  width: fit-content;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(197, 228, 255, 0.08);
  border: 1px solid rgba(197, 228, 255, 0.14);
  color: #a7d8ef;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

html[data-coach-portal-mode="telemarketing"] .agenda-card-title-block h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

html[data-coach-portal-mode="telemarketing"] .agenda-card-title-block p {
  color: #bfd6e4;
}

html[data-coach-portal-mode="telemarketing"] .agenda-card-side-kpis {
  display: grid;
  gap: 10px;
}

html[data-coach-portal-mode="telemarketing"] .agenda-side-chip {
  display: grid;
  gap: 5px;
  padding: 14px 15px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(17, 32, 49, 0.88), rgba(9, 18, 30, 0.9));
  border: 1px solid rgba(197, 228, 255, 0.12);
}

html[data-coach-portal-mode="telemarketing"] .agenda-side-chip strong {
  color: #f6dfaa;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-coach-portal-mode="telemarketing"] .agenda-side-chip span {
  color: #eef7ff;
  line-height: 1.45;
}

html[data-coach-portal-mode="telemarketing"] .agenda-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 14px;
  margin-top: 18px;
}

html[data-coach-portal-mode="telemarketing"] .agenda-note-chip {
  min-height: 100%;
  background: linear-gradient(180deg, rgba(17, 32, 49, 0.88), rgba(9, 18, 30, 0.9));
  border-color: rgba(197, 228, 255, 0.12);
}

html[data-coach-portal-mode="telemarketing"] .agenda-note-chip strong {
  color: #f6dfaa;
}

html[data-coach-portal-mode="telemarketing"] .agenda-card-action-head strong {
  color: #eef7ff;
}

html[data-coach-portal-mode="telemarketing"] .agenda-card-action-head span,
html[data-coach-portal-mode="telemarketing"] .agenda-route-card span {
  color: #bfd6e4;
}

html[data-coach-portal-mode="telemarketing"] .agenda-card .nav-button,
html[data-coach-portal-mode="telemarketing"] .agenda-card .secondary-button {
  min-height: 44px;
  border-color: rgba(197, 228, 255, 0.16);
  background: rgba(12, 23, 36, 0.8);
}

html[data-coach-portal-mode="telemarketing"] .agenda-card .nav-button:hover,
html[data-coach-portal-mode="telemarketing"] .agenda-card .secondary-button:hover {
  border-color: rgba(232, 197, 123, 0.28);
  background: rgba(16, 29, 44, 0.94);
}

html[data-coach-portal-mode="telemarketing"] .crm-status-dot {
  box-shadow:
    0 0 0 4px rgba(122, 215, 255, 0.04),
    0 0 14px rgba(77, 177, 255, 0.16);
}

html[data-coach-portal-mode="telemarketing"] .crm-detail-panel,
html[data-coach-portal-mode="telemarketing"] .territory-inline-chip {
  background:
    linear-gradient(180deg, rgba(17, 34, 50, 0.76), rgba(8, 17, 28, 0.84)),
    rgba(6, 14, 24, 0.92);
  border-color: rgba(122, 215, 255, 0.14);
}

html[data-coach-portal-mode="telemarketing"] .team-seat-status {
  border-color: rgba(122, 215, 255, 0.18);
  background: rgba(8, 18, 30, 0.82);
}

@media (max-width: 1180px) {
  html[data-coach-portal-mode="telemarketing"] .coach-sidebar {
    grid-template-columns: 1fr;
  }

  html[data-coach-portal-mode="telemarketing"] .dashboard-card[data-telemarketing-panel="sheet"],
  html[data-coach-portal-mode="telemarketing"] .dashboard-card[data-telemarketing-panel="detail"] {
    grid-column: 1;
    position: static;
  }

  html[data-coach-portal-mode="telemarketing"] .agenda-card-head-executive,
  html[data-coach-portal-mode="telemarketing"] .agenda-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  html[data-coach-portal-mode="telemarketing"] .crm-toolbar {
    grid-template-columns: 1fr;
  }

  html[data-coach-portal-mode="telemarketing"] .coach-workspace-tabs {
    grid-template-columns: 1fr;
  }

  html[data-coach-portal-mode="telemarketing"] .coach-shell {
    width: min(100%, calc(100% - 24px));
  }
}

.footer-note {
  padding: 0 0 40px;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .coach-hero,
  .split-section,
  .plan-layout,
  .dashboard-layout,
  .coach-console,
  .coach-compact-strip,
  .coach-demo-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-copy h2 {
    max-width: 14ch;
  }

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

  .marketing-two-column,
  .marketing-three-column {
    grid-template-columns: 1fr;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-workspace-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  html:not([data-coach-portal-mode="telemarketing"]) .coach-workspace-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-workspace-tab {
    min-height: 56px;
    padding: 0 12px;
    font-size: 0.96rem;
  }

  .team-credentials-grid {
    grid-template-columns: 1fr;
  }

  .team-seat-head {
    flex-direction: column;
  }

  .demo-outcome-head {
    flex-direction: column;
  }

  .coach-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .coach-nav-links {
    width: 100%;
  }

  .coach-nav-links .nav-link,
  .coach-nav-links .nav-button {
    width: 100%;
    justify-content: center;
  }

  .royalone-dock {
    right: 16px;
    bottom: 92px;
    left: 16px;
    justify-items: stretch;
  }

  .royalone-dock-toggle {
    width: 100%;
  }

  .royalone-dock-panel {
    width: 100%;
  }

  .coach-float-dock {
    right: 16px;
    bottom: 16px;
    left: 16px;
    justify-items: stretch;
  }

  .coach-float-toggle {
    width: 100%;
  }

  .coach-float-panel {
    width: 100%;
  }

  .hero-copy,
  .hero-side,
  .coach-section-card,
  .plan-card,
  .login-panel,
  .panel,
  .dashboard-card,
  .auth-card,
  .coach-compact-bar {
    border-radius: 26px;
  }

  .hero-copy,
  .hero-side,
  .plan-card,
  .login-panel,
  .dashboard-card,
  .coach-compact-bar {
    padding: 24px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .coach-compact-head {
    flex-direction: column;
  }

  .coach-demo-head {
    flex-direction: column;
  }

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

  .telemarketing-kpi-strip {
    grid-template-columns: 1fr;
  }

  .crm-program-referral-card {
    grid-template-columns: 1fr;
  }

  .order-calc-grid,
  .order-calc-summary-grid,
  .order-calc-rollup,
  .order-calc-payment-grid,
  .order-calc-metrics,
  .native-lead-grid,
  .health-survey-check-grid,
  .fourteen-sheet-referral-grid,
  .fourteen-instant-script-grid,
  .lead-folder-followup,
  .lead-folder-followup-grid,
  .decision-tool-columns,
  .decision-tool-scoreboard,
  .decision-tool-insight,
  .buyer-profile-result-grid,
  .daily-prize-grid,
  .daily-prize-result-grid {
    grid-template-columns: 1fr;
  }

  .order-calc-product-visual {
    grid-template-columns: 1fr;
  }

  .order-calc-product-visual img {
    height: 190px;
  }

  .order-calc-product-visual figcaption {
    padding: 0 16px 16px;
  }

  .lead-folder-status-row,
  .buyer-profile-row {
    grid-template-columns: 1fr;
  }

  .health-survey-folder-head {
    flex-direction: column;
  }

  .recruitment-folder-head {
    flex-direction: column;
  }

  .fourteen-saved-head {
    flex-direction: column;
  }

  .fourteen-instant-detail-head {
    flex-direction: column;
  }

  .coach-message {
    max-width: 92%;
  }

  .coach-composer {
    grid-template-columns: 1fr;
  }

  .coach-modal-card {
    padding: 22px;
  }
}

/* Tema claro del Coach principal: navy, blanco y rojo. El portal de
   telemarketing conserva su tema operativo independiente. */
html:not([data-coach-portal-mode="telemarketing"]) body.coach-app-body {
  --bg: #f3f6fa;
  --bg-soft: #e8eef5;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --card: #f6f8fb;
  --line: rgba(15, 43, 75, 0.14);
  --line-strong: rgba(196, 18, 48, 0.42);
  --text: #102b4e;
  --muted: #5f7086;
  --gold: #c41230;
  --gold-deep: #8f1027;
  --green: #15734c;
  --danger: #b4232f;
  --shadow: 0 18px 46px rgba(16, 43, 78, 0.12);
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(19, 53, 91, 0.08), transparent 28%),
    radial-gradient(circle at 95% 8%, rgba(196, 18, 48, 0.07), transparent 26%),
    linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

html:not([data-coach-portal-mode="telemarketing"]) body.coach-app-body::before {
  background-image:
    linear-gradient(120deg, rgba(16, 43, 78, 0.035) 0, rgba(16, 43, 78, 0.035) 1px, transparent 1px, transparent 24px),
    linear-gradient(120deg, rgba(196, 18, 48, 0.018) 0, rgba(196, 18, 48, 0.018) 1px, transparent 1px, transparent 48px);
  opacity: 0.45;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-nav {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(15, 43, 75, 0.11);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(16, 43, 78, 0.09);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-brand-badge {
  color: #ffffff;
  background: linear-gradient(145deg, #153a63, #0b2747);
  border-color: rgba(196, 18, 48, 0.32);
  box-shadow: 0 10px 24px rgba(16, 43, 78, 0.18);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-brand-copy h1,
html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .nav-link {
  color: #102b4e;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .nav-button,
html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .secondary-button {
  color: #173b63;
  background: #ffffff;
  border-color: rgba(15, 43, 75, 0.16);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, #d11d3c 0%, #a40f2a 100%);
  box-shadow: 0 12px 28px rgba(196, 18, 48, 0.22);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-compact-bar {
  color: #ffffff;
  background:
    radial-gradient(circle at 92% 0%, rgba(210, 38, 67, 0.28), transparent 32%),
    linear-gradient(135deg, #153a63 0%, #0b2747 72%);
  border-color: rgba(15, 43, 75, 0.18);
  box-shadow: 0 20px 46px rgba(16, 43, 78, 0.2);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-compact-bar .eyebrow {
  color: #ffffff;
  background: rgba(196, 18, 48, 0.72);
  border-color: rgba(255, 255, 255, 0.28);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-compact-bar .nav-button,
html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-chat-status {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-live-context {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-live-context strong {
  color: #ffffff;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-live-context span {
  color: #dbe5f0;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-workspace-switch,
html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .dashboard-card,
html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-chat-card {
  color: #102b4e;
  background: #ffffff;
  border: 1px solid rgba(15, 43, 75, 0.12);
  box-shadow: 0 16px 38px rgba(16, 43, 78, 0.1);
  backdrop-filter: none;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .eyebrow {
  color: #a40f2a;
  background: rgba(196, 18, 48, 0.07);
  border-color: rgba(196, 18, 48, 0.16);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-workspace-tab.is-active {
  color: #ffffff;
  border-color: #c41230;
  background: linear-gradient(135deg, #d11d3c, #a40f2a);
  box-shadow: 0 10px 22px rgba(196, 18, 48, 0.2);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body :is(
  .coach-demo-card,
  .coach-demo-stage-copy,
  .coach-demo-event,
  .coach-demo-event-empty,
  .mini-stat,
  .form-help,
  .order-calc-product,
  .order-calc-metric,
  .order-calc-rollup-item,
  .order-calc-payment-item,
  .decision-tool-section,
  .decision-score-card,
  .decision-insight-card,
  .buyer-profile-row,
  .buyer-profile-result-card,
  .daily-prize-result-card
) {
  color: #102b4e;
  background: #f6f8fb;
  border-color: rgba(15, 43, 75, 0.1);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body :is(
  .order-calc-summary,
  .decision-tool-summary,
  .buyer-profile-result,
  .daily-prize-result
) {
  color: #102b4e;
  background: linear-gradient(180deg, rgba(196, 18, 48, 0.055), rgba(20, 57, 96, 0.035)), #ffffff;
  border-color: rgba(196, 18, 48, 0.16);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body :is(
  input,
  textarea,
  select,
  .coach-composer textarea,
  .decision-tool-row input,
  .decision-tool-row select,
  .order-calc-field input,
  .buyer-profile-row select,
  .daily-prize-field input,
  .daily-prize-field select,
  .daily-prize-field textarea
) {
  color: #102b4e;
  background: #ffffff;
  border-color: rgba(15, 43, 75, 0.18);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .order-calc-product-visual {
  background: #ffffff;
  border-color: rgba(15, 43, 75, 0.11);
  box-shadow: 0 10px 24px rgba(16, 43, 78, 0.08);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .order-calc-suggestions {
  background: #ffffff;
  border-color: rgba(15, 43, 75, 0.13);
  box-shadow: 0 18px 34px rgba(16, 43, 78, 0.14);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .order-calc-suggestion {
  color: #102b4e;
  background: #f6f8fb;
  border-color: rgba(15, 43, 75, 0.1);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .order-calc-suggestion:hover,
html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .order-calc-suggestion.is-top {
  border-color: rgba(196, 18, 48, 0.2);
  background: rgba(196, 18, 48, 0.055);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body :is(input, textarea)::placeholder {
  color: #8190a3;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-messages {
  background: #f3f6fa;
  border-color: rgba(15, 43, 75, 0.1);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-message.assistant {
  color: #102b4e;
  background: #ffffff;
  border-color: rgba(15, 43, 75, 0.13);
  box-shadow: 0 8px 20px rgba(16, 43, 78, 0.07);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-message-action {
  color: #153a63;
  background: #ffffff;
  border-color: rgba(15, 43, 75, 0.16);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body :is(
  .order-calc-match[data-tone="success"],
  .order-calc-metric.is-balance strong,
  .order-calc-rollup-item.is-highlight strong,
  .decision-insight-card.is-next strong,
  .buyer-profile-result-card.is-next strong
) {
  color: #15734c;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body :is(
  .decision-score-card.is-cons strong,
  .daily-prize-feedback[data-state="error"]
) {
  color: #b4232f;
}

@media (max-width: 720px) {
  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-nav {
    padding: 16px;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-workspace-tabs {
    grid-template-columns: 1fr;
  }
}

/* Experiencia visual premium del Coach de Cierre. Mantiene intacto el
   portal operativo de telemarketing y todas las herramientas existentes. */
html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-shell {
  width: min(1280px, calc(100% - 32px));
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body [hidden] {
  display: none !important;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-nav {
  min-height: 76px;
  margin-top: 14px;
  padding: 12px 18px;
  color: #ffffff;
  background: linear-gradient(100deg, #061b34 0%, #0a3159 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(6, 27, 52, 0.2);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-brand {
  gap: 12px;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-brand-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-brand-badge svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-brand-copy h1 {
  color: #ffffff;
  font-size: 1.03rem;
  letter-spacing: 0.08em;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-brand-copy p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-nav-links > :is(
  a[href="/coach/"],
  a[href="/coach/planes/"],
  [data-chef-self-open-link],
  [data-open-chef-share]
) {
  display: none;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-nav .nav-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-nav .primary-button {
  min-height: 42px;
  padding-inline: 18px;
  background: #c8102e;
  box-shadow: 0 10px 24px rgba(200, 16, 46, 0.28);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-console {
  gap: 22px;
  padding-top: 18px;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-compact-bar {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  padding: 36px 38px 28px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(5, 25, 49, 0.98) 0%, rgba(5, 25, 49, 0.88) 36%, rgba(5, 25, 49, 0.44) 74%, rgba(5, 25, 49, 0.7) 100%),
    url("/coach/assets/coach-summit-hero.jpg") center / cover no-repeat;
  border: 1px solid rgba(8, 43, 78, 0.22);
  border-radius: 28px;
  box-shadow: 0 24px 54px rgba(7, 34, 63, 0.22);
  isolation: isolate;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-compact-bar::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -42%;
  right: 32%;
  width: 82px;
  height: 190%;
  background: linear-gradient(180deg, #ed1738, #a90825);
  opacity: 0.9;
  transform: rotate(34deg);
  box-shadow: 0 0 0 18px rgba(200, 16, 46, 0.08);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-compact-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 40px;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-hero-copy {
  max-width: 650px;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-compact-head h2 {
  margin-top: 22px;
  color: #ffffff;
  font-size: clamp(3rem, 6vw, 5.35rem);
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-compact-head p {
  max-width: 590px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.04rem;
  line-height: 1.65;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-compact-bar .eyebrow {
  color: #ff536f;
  background: transparent;
  border: 0;
  padding: 0 0 0 26px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-compact-bar .eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: #ed1738;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-hero-progress {
  display: grid;
  gap: 22px;
  padding: 24px;
  color: #0a2848;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(3, 19, 38, 0.28);
  backdrop-filter: blur(12px);
}

.coach-hero-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.coach-hero-progress-head span,
.coach-hero-progress-head strong {
  display: block;
}

.coach-hero-progress-head span {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coach-hero-progress-head strong {
  margin-top: 5px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.35rem;
}

.coach-route-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #c8102e;
  background: #fff1f3;
  border: 7px solid rgba(200, 16, 46, 0.15);
  font-weight: 800;
}

.coach-progress-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.coach-progress-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #7a899a;
  font-size: 0.68rem;
  text-align: center;
}

.coach-progress-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  left: calc(50% + 17px);
  right: calc(-50% + 17px);
  height: 2px;
  background: #e2e8f0;
}

.coach-progress-step > span {
  position: relative;
  z-index: 1;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #6d7c8c;
  background: #edf1f5;
  border: 1px solid #dde4eb;
  font-weight: 800;
}

.coach-progress-step.is-active {
  color: #0a2848;
}

.coach-progress-step.is-active > span {
  color: #ffffff;
  background: #c8102e;
  border-color: #c8102e;
  box-shadow: 0 8px 18px rgba(200, 16, 46, 0.23);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-hero-progress .coach-compact-actions {
  justify-content: flex-start;
  padding-top: 17px;
  border-top: 1px solid #e5eaf0;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-hero-progress .nav-button,
html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-hero-progress .coach-chat-status {
  min-height: 40px;
  color: #0a3159;
  background: #f5f7fa;
  border-color: #dde4eb;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-compact-strip-slim {
  position: relative;
  z-index: 1;
  width: min(650px, 100%);
  margin-top: 22px;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-live-context {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: rgba(3, 20, 39, 0.54);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-live-context strong {
  color: #ffffff;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-live-context span {
  color: rgba(255, 255, 255, 0.74);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-workspace-switch {
  padding: 26px 30px 28px;
  border-radius: 26px;
  box-shadow: 0 16px 40px rgba(10, 40, 72, 0.08);
}

.coach-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.coach-section-heading h2 {
  margin: 10px 0 0;
  color: #071f3b;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.coach-focus-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #a30e29;
  background: #fff1f3;
  border: 1px solid #ffd7de;
  font-size: 0.78rem;
  font-weight: 700;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-workspace-tabs {
  display: none;
}

html[data-coach-team-manager="true"]:not([data-coach-portal-mode="telemarketing"])
  .coach-app-body
  .coach-workspace-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.coach-journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 26px;
}

.coach-journey-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 9px;
  color: #65768a;
  font-size: 0.84rem;
  text-align: center;
}

.coach-journey-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(50% + 22px);
  right: calc(-50% + 22px);
  height: 3px;
  border-radius: 99px;
  background: #dfe5ec;
}

.coach-journey-step > span {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #496079;
  background: #eef2f6;
  border: 1px solid #dde5ed;
  font-weight: 800;
}

.coach-journey-step.is-active {
  color: #071f3b;
}

.coach-journey-step.is-active > span {
  color: #ffffff;
  background: #c8102e;
  border-color: #c8102e;
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.24);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-workspace-switch > .mini-note {
  margin-top: 20px;
  text-align: center;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .dashboard-card[data-coach-workspace-section="cierre"] {
  position: relative;
  overflow: hidden;
  border-color: rgba(9, 47, 84, 0.11);
  box-shadow: 0 16px 40px rgba(10, 40, 72, 0.08);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .dashboard-card[data-coach-workspace-section="cierre"]::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, #c8102e, #0a3159);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-step-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 24px;
  padding: 22px;
}

.coach-step-copy {
  align-self: center;
  padding: 12px 6px 12px 18px;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-step-featured h3 {
  margin-top: 16px;
  color: #071f3b;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-step-featured p {
  max-width: 620px;
}

.coach-step-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-step-intro h3 {
  margin-top: 16px;
  color: #071f3b;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  line-height: 1.04;
}

.coach-step-visual {
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #e9eef3;
  box-shadow: inset 0 0 0 1px rgba(10, 40, 72, 0.08);
}

.coach-step-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach-step-banner {
  width: 100%;
  min-height: 260px;
  aspect-ratio: 16 / 7;
  margin: 20px 0;
  overflow: hidden;
  border-radius: 22px;
  background: #e9eef3;
  box-shadow: inset 0 0 0 1px rgba(10, 40, 72, 0.08);
}

.coach-step-banner-compact {
  min-height: 220px;
  aspect-ratio: 16 / 8;
}

.coach-step-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-demo-button {
  min-height: 48px;
  padding: 0 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #df1637, #b20d2b);
  border-color: #c8102e;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(200, 16, 46, 0.2);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-demo-button:hover,
html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-demo-button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #bd0e2b, #930a21);
  border-color: #9d0a24;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-float-dock {
  right: 18px;
  bottom: 18px;
  left: auto;
  justify-items: end;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-float-toggle {
  min-width: 68px;
  min-height: 68px;
  padding: 0 12px;
  color: #ffffff;
  background: linear-gradient(145deg, #df1637, #a70b28);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 16px 34px rgba(166, 11, 40, 0.3);
  opacity: 1;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .royalone-dock {
  right: 18px;
  bottom: 98px;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .royalone-dock-toggle {
  min-height: 44px;
  padding: 0 16px;
  background: linear-gradient(135deg, #0a3159, #061b34);
  box-shadow: 0 12px 28px rgba(6, 27, 52, 0.25);
}

@media (max-width: 980px) {
  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-compact-head,
  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-step-featured,
  .coach-step-intro {
    grid-template-columns: 1fr;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-compact-bar {
    background-position: 62% center;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-hero-progress {
    max-width: 560px;
  }
}

@media (max-width: 720px) {
  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-shell {
    width: min(100% - 18px, 1280px);
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-nav {
    min-height: 0;
    padding: 13px;
    align-items: center;
    flex-direction: row;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-brand-copy p {
    display: none;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-brand-badge {
    width: 42px;
    height: 42px;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-nav-links {
    width: auto;
    margin-left: auto;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-nav-links .primary-button {
    width: auto;
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.75rem;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-compact-bar {
    min-height: 0;
    padding: 30px 20px 22px;
    border-radius: 24px;
    background-position: 66% center;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-compact-bar::before {
    right: 13%;
    opacity: 0.55;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-compact-head {
    gap: 28px;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-compact-head h2 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-hero-progress {
    padding: 19px 15px;
  }

  .coach-progress-step strong {
    font-size: 0.58rem;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-live-context {
    grid-template-columns: 1fr;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-compact-strip-slim {
    display: none;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-workspace-switch {
    padding: 22px 16px;
  }

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

  .coach-journey-step strong {
    font-size: 0.66rem;
  }

  .coach-journey-step > span {
    width: 34px;
    height: 34px;
  }

  .coach-journey-step:not(:last-child)::after {
    top: 16px;
    left: calc(50% + 19px);
    right: calc(-50% + 19px);
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-step-featured {
    padding: 16px;
  }

  .coach-step-intro {
    gap: 16px;
    margin-bottom: 18px;
  }

  .coach-step-copy {
    padding: 10px 6px 4px;
  }

  .coach-step-visual {
    min-height: 210px;
    order: -1;
  }

  .coach-step-banner,
  .coach-step-banner-compact {
    min-height: 180px;
    aspect-ratio: 16 / 9;
    margin: 16px 0;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-float-dock {
    right: 12px;
    bottom: 12px;
    left: auto;
    justify-items: end;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-float-toggle {
    width: 60px;
    min-width: 60px;
    min-height: 60px;
    padding: 0 8px;
    font-size: 0.73rem;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-float-panel {
    width: min(420px, calc(100vw - 24px));
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .royalone-dock {
    right: 12px;
    bottom: 82px;
    left: auto;
    justify-items: end;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .royalone-dock-toggle {
    width: auto;
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.72rem;
  }

  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .royalone-dock-panel {
    width: min(360px, calc(100vw - 24px));
  }
}

/* Grabador global: acompana la ruta sin interrumpir el Paso 6 ni el cierre. */
html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-demo-launcher {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 22px;
  align-items: center;
  padding: 18px 20px;
  border-color: rgba(10, 49, 89, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(200, 16, 46, 0.08), transparent 32%),
    linear-gradient(145deg, #ffffff, #f5f8fb);
}

.coach-demo-launcher-copy {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.coach-demo-launcher-copy h3,
.coach-demo-launcher-copy p {
  margin: 0;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-demo-launcher-copy h3 {
  margin-top: 8px;
  color: #071f3b;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-demo-launcher-copy p {
  margin-top: 5px;
  color: #5c6f82;
}

.coach-demo-launcher-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(145deg, #d8193a, #a80b28);
  box-shadow: 0 12px 24px rgba(200, 16, 46, 0.2);
}

.coach-demo-launcher-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coach-demo-launcher-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.coach-demo-launcher-action .coach-demo-consent {
  max-width: 270px;
  font-size: 0.78rem;
}

.coach-demo-launcher-action .primary-button {
  min-width: 180px;
  white-space: nowrap;
}

.coach-demo-launcher .coach-demo-recorder-status,
.coach-demo-launcher-note {
  grid-column: 1 / -1;
}

.coach-demo-launcher .coach-demo-recorder-status {
  margin-top: 0;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-demo-launcher-note {
  margin: -4px 0 0;
}

.coach-demo-recording-dock,
.coach-demo-analysis-notice {
  position: fixed;
  left: 50%;
  z-index: 60;
  width: min(760px, calc(100vw - 28px));
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  color: #ffffff;
  box-shadow: 0 20px 54px rgba(7, 31, 59, 0.28);
  backdrop-filter: blur(16px);
}

.coach-demo-recording-dock[hidden],
.coach-demo-analysis-notice[hidden] {
  display: none;
}

.coach-demo-recording-dock {
  bottom: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(7, 31, 59, 0.97), rgba(10, 49, 89, 0.95));
}

.coach-demo-recording-main {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.coach-demo-recording-main div {
  min-width: 0;
}

.coach-demo-recording-main strong,
.coach-demo-recording-main span {
  display: block;
}

.coach-demo-recording-main span:last-child {
  margin-top: 3px;
  overflow: hidden;
  color: #b9c8d8;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coach-demo-recording-main time {
  margin-left: auto;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.coach-demo-dock-outcome {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d6e0ea;
  font-size: 0.72rem;
  font-weight: 700;
}

.coach-demo-dock-outcome select {
  min-height: 38px;
  padding: 0 30px 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 11px;
  color: #ffffff;
  background: #123b64;
  font: inherit;
}

.coach-demo-recording-dock .coach-demo-stop {
  min-height: 40px;
  padding: 0 16px;
  color: #ffffff;
  background: #c8102e;
  border-color: #e34962;
}

.coach-demo-analysis-notice {
  bottom: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  color: #0a2746;
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(10, 49, 89, 0.16);
}

.coach-demo-analysis-notice strong,
.coach-demo-analysis-notice span {
  display: block;
}

.coach-demo-analysis-notice span {
  margin-top: 3px;
  color: #607287;
  font-size: 0.78rem;
}

.coach-demo-analysis-notice > button {
  min-height: 39px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: #0a3159;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.coach-demo-analysis-notice .coach-demo-notice-close {
  width: 36px;
  min-height: 36px;
  padding: 0;
  color: #5d6e80;
  background: #edf2f6;
  font-size: 1.2rem;
}

.coach-demo-analysis-notice[data-state="processing"]::before {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 50%;
  background: #c8102e;
  animation: coach-demo-pulse 1.4s infinite;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-demo-analysis-center {
  padding: clamp(20px, 3vw, 30px);
}

.coach-demo-analysis-center > .coach-demo-analysis-history-head {
  align-items: center;
}

.coach-demo-analysis-center .coach-demo-analysis-history {
  padding: 0;
  border: 0;
  background: transparent;
}

.coach-demo-analysis-center .coach-demo-analysis-current {
  margin-top: 22px;
}

@media (max-width: 820px) {
  html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .coach-demo-launcher {
    grid-template-columns: 1fr;
  }

  .coach-demo-launcher-action {
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
  }

  .coach-demo-launcher-action .coach-demo-consent {
    max-width: none;
  }

  .coach-demo-launcher-action .primary-button {
    width: 100%;
  }

  .coach-demo-recording-dock {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .coach-demo-dock-outcome {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .coach-demo-dock-outcome select {
    flex: 1;
  }
}

@media (max-width: 560px) {
  .coach-demo-launcher-copy {
    align-items: flex-start;
  }

  .coach-demo-launcher-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .coach-demo-recording-dock,
  .coach-demo-analysis-notice {
    bottom: 10px;
    width: calc(100vw - 20px);
    border-radius: 17px;
  }

  .coach-demo-recording-dock {
    padding: 10px;
  }

  .coach-demo-recording-main > div span {
    display: none;
  }

  .coach-demo-analysis-notice {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .coach-demo-analysis-notice .coach-demo-notice-close {
    position: absolute;
    top: -11px;
    right: -5px;
    border: 2px solid #ffffff;
  }
}

/* Imagenes de orientacion para reconocer las herramientas de la demo. */
.coach-tool-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.72fr);
  align-items: center;
  gap: 26px;
}

.coach-tool-intro-compact {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
}

.coach-tool-copy {
  min-width: 0;
}

.coach-tool-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(15, 43, 75, 0.12);
  background: #e9eef4;
  box-shadow: 0 16px 34px rgba(10, 40, 72, 0.14);
}

.coach-tool-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(10, 49, 89, 0.06), transparent 46%, rgba(196, 18, 48, 0.05));
}

.coach-tool-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html:not([data-coach-portal-mode="telemarketing"]) .coach-app-body .resource-item-water .coach-tool-visual {
  border-color: rgba(15, 43, 75, 0.14);
  box-shadow: 0 14px 30px rgba(10, 40, 72, 0.12);
}

@media (max-width: 820px) {
  .coach-tool-intro,
  .coach-tool-intro-compact {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .coach-tool-visual {
    width: 100%;
    border-radius: 19px;
  }
}

/* Acceso del Coach: misma direccion visual clara, navy y roja del portal. */
body.coach-login-body {
  --login-navy: #071f3b;
  --login-blue: #0a3159;
  --login-red: #c8102e;
  --login-text: #102b4e;
  --login-muted: #65778b;
  min-height: 100vh;
  color: var(--login-text);
  background:
    radial-gradient(circle at 7% 0%, rgba(10, 49, 89, 0.09), transparent 27%),
    radial-gradient(circle at 96% 7%, rgba(200, 16, 46, 0.07), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

body.coach-login-body::before {
  background-image:
    linear-gradient(120deg, rgba(16, 43, 78, 0.035) 0, rgba(16, 43, 78, 0.035) 1px, transparent 1px, transparent 24px),
    linear-gradient(120deg, rgba(200, 16, 46, 0.018) 0, rgba(200, 16, 46, 0.018) 1px, transparent 1px, transparent 48px);
  opacity: 0.45;
}

.coach-login-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(1320px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
}

.coach-login-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  margin-top: 14px;
  padding: 12px 18px;
  color: #ffffff;
  background: linear-gradient(100deg, #061b34 0%, #0a3159 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(6, 27, 52, 0.2);
}

.coach-login-brand,
.coach-login-home-link,
.coach-login-card-head,
.coach-login-input-wrap,
.coach-login-help,
.coach-login-visual-note {
  display: flex;
  align-items: center;
}

.coach-login-brand {
  gap: 12px;
}

.coach-login-brand--tec {
  flex: 0 0 auto;
}

.coach-login-brand-logo-frame {
  width: 186px;
  height: 68px;
  padding: 5px 10px;
  border-radius: 15px;
}

.coach-login-brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.coach-login-brand-mark svg,
.coach-login-lock svg,
.coach-login-input-wrap > svg,
.coach-login-submit svg,
.coach-login-home-link svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coach-login-brand-mark svg {
  width: 27px;
  height: 27px;
  stroke-width: 1.8;
}

.coach-login-brand-copy {
  display: grid;
  gap: 4px;
}

.coach-login-brand-copy strong {
  font-size: 1.03rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coach-login-brand-copy small {
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.76rem;
}

.coach-login-home-link {
  gap: 7px;
  min-height: 42px;
  padding: 0 15px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.coach-login-home-link:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.coach-login-home-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.coach-login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, 0.72fr);
  align-items: stretch;
  gap: 22px;
  min-height: 610px;
  padding: 20px 0;
}

.coach-login-visual,
.coach-login-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 24px 54px rgba(7, 34, 63, 0.16);
}

.coach-login-visual {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  padding: clamp(34px, 5vw, 64px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(5, 25, 49, 0.98) 0%, rgba(5, 25, 49, 0.87) 42%, rgba(5, 25, 49, 0.46) 100%),
    url("/coach/assets/coach-summit-hero.jpg") center / cover no-repeat;
  border: 1px solid rgba(8, 43, 78, 0.22);
}

.coach-login-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -40%;
  right: 24%;
  width: 76px;
  height: 185%;
  background: linear-gradient(180deg, #ed1738, #a90825);
  opacity: 0.9;
  transform: rotate(34deg);
  box-shadow: 0 0 0 18px rgba(200, 16, 46, 0.08);
}

.coach-login-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(2, 15, 30, 0.44) 100%);
}

.coach-login-visual-content {
  position: relative;
  z-index: 1;
  max-width: 670px;
}

.coach-login-kicker,
.coach-login-overline {
  display: inline-flex;
  align-items: center;
  color: var(--login-red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coach-login-kicker {
  gap: 9px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.coach-login-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #ed1738;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(237, 23, 56, 0.18);
}

.coach-login-visual h1 {
  max-width: 10.5ch;
  margin: 24px 0 0;
  color: #ffffff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(3rem, 5.6vw, 5.6rem);
  letter-spacing: -0.05em;
  line-height: 0.92;
  text-shadow: 0 9px 30px rgba(0, 0, 0, 0.3);
}

.coach-login-visual-content > p {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.7;
}

.coach-login-route {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 600px;
  margin-top: 30px;
  padding: 12px;
  background: rgba(3, 20, 39, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  backdrop-filter: blur(14px);
}

.coach-login-route-step {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 10px 5px;
  color: rgba(255, 255, 255, 0.64);
  border-radius: 13px;
  font-size: 0.7rem;
}

.coach-login-route-step span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.coach-login-route-step.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.coach-login-route-step.is-active span {
  background: var(--login-red);
  border-color: var(--login-red);
  box-shadow: 0 8px 18px rgba(200, 16, 46, 0.36);
}

.coach-login-visual-note {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  gap: 12px;
  max-width: 430px;
  margin-top: 34px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 17px;
  backdrop-filter: blur(14px);
}

.coach-login-visual-note > span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  color: #ffffff;
  background: var(--login-red);
  border-radius: 50%;
  font-weight: 800;
}

.coach-login-visual-note p,
.coach-login-visual-note strong {
  display: block;
  margin: 0;
}

.coach-login-visual-note p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  line-height: 1.5;
}

.coach-login-visual-note strong {
  margin-bottom: 2px;
  color: #ffffff;
  font-size: 0.82rem;
}

.coach-login-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 52px);
  background: #ffffff;
  border: 1px solid rgba(15, 43, 75, 0.12);
}

.coach-login-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 132px;
  height: 6px;
  background: linear-gradient(90deg, var(--login-red), #8f1027);
  border-radius: 0 0 0 999px;
}

.coach-login-card-head {
  gap: 15px;
}

.coach-login-lock {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  color: #ffffff;
  background: linear-gradient(145deg, var(--login-blue), var(--login-navy));
  border-radius: 17px;
  box-shadow: 0 12px 26px rgba(10, 49, 89, 0.2);
}

.coach-login-lock svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.8;
}

.coach-login-card h2 {
  margin: 5px 0 0;
  color: var(--login-navy);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  letter-spacing: -0.035em;
}

.coach-login-intro {
  margin: 18px 0 0;
  color: var(--login-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.coach-login-form {
  gap: 17px;
  margin-top: 26px;
}

.coach-login-field label {
  color: #294969;
  font-size: 0.79rem;
  font-weight: 800;
}

.coach-login-input-wrap {
  position: relative;
  margin-top: 8px;
}

.coach-login-input-wrap > svg {
  position: absolute;
  z-index: 1;
  left: 16px;
  width: 20px;
  height: 20px;
  color: #728397;
  stroke-width: 1.7;
  pointer-events: none;
}

.coach-login-form .coach-login-input-wrap input {
  min-height: 54px;
  margin: 0;
  padding: 0 16px 0 48px;
  color: var(--login-text);
  background: #f7f9fc;
  border: 1px solid #d6e0ea;
  border-radius: 15px;
  box-shadow: inset 0 1px 2px rgba(7, 31, 59, 0.02);
}

.coach-login-form .coach-login-input-wrap input::placeholder {
  color: #98a5b4;
}

.coach-login-form .coach-login-input-wrap input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--login-blue);
  box-shadow: 0 0 0 4px rgba(10, 49, 89, 0.1);
}

.coach-login-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 2px;
  color: #ffffff;
  background: linear-gradient(135deg, #d11d3c 0%, #a40f2a 100%);
  box-shadow: 0 13px 28px rgba(196, 18, 48, 0.24);
}

.coach-login-submit svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.coach-login-submit:hover svg {
  transform: translateX(3px);
}

.coach-login-card .form-result {
  color: var(--login-text);
  background: #fff1f3;
  border-color: #f3c0ca;
}

.coach-login-card .form-result[data-state="success"] {
  color: #155a3d;
  background: #eef9f4;
  border-color: #b9dfcf;
}

.coach-login-card .form-result[data-state="info"] {
  color: var(--login-blue);
  background: #eef5fb;
  border-color: #c4d9ec;
}

.coach-login-help {
  gap: 10px;
  margin-top: 22px;
  padding: 13px 14px;
  color: var(--login-muted);
  background: #f2f6fa;
  border: 1px solid #dce5ee;
  border-radius: 15px;
}

.coach-login-help > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: #ffffff;
  background: var(--login-blue);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-weight: 700;
}

.coach-login-help p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.55;
}

.coach-login-help a {
  color: var(--login-red);
  font-weight: 800;
}

.coach-login-footer {
  display: flex;
  justify-content: center;
  gap: 9px;
  padding: 4px 0 18px;
  color: #77879a;
  font-size: 0.72rem;
}

.coach-login-footer a:hover {
  color: var(--login-red);
}

@media (max-width: 980px) {
  .coach-login-layout {
    grid-template-columns: 1fr;
  }

  .coach-login-visual {
    min-height: 520px;
  }

  .coach-login-card {
    min-height: 560px;
  }
}

@media (max-width: 640px) {
  .coach-login-shell {
    width: min(100% - 20px, 1320px);
  }

  .coach-login-nav {
    min-height: 68px;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 17px;
  }

  .coach-login-brand-mark {
    width: 42px;
    height: 42px;
  }

  .coach-login-brand-logo-frame {
    width: 126px;
    height: 48px;
    padding: 3px 6px;
    border-radius: 11px;
  }

  .coach-login-brand-copy strong {
    font-size: 0.78rem;
  }

  .coach-login-brand-copy small {
    display: none;
  }

  .coach-login-home-link {
    width: 42px;
    min-height: 42px;
    padding: 0;
    font-size: 0;
  }

  .coach-login-home-link svg {
    width: 20px;
    height: 20px;
  }

  .coach-login-layout {
    gap: 12px;
    min-height: auto;
    padding: 12px 0;
  }

  .coach-login-visual,
  .coach-login-card {
    border-radius: 22px;
  }

  .coach-login-visual {
    min-height: 460px;
    padding: 28px 22px;
  }

  .coach-login-visual::before {
    right: 8%;
    width: 58px;
  }

  .coach-login-visual h1 {
    margin-top: 20px;
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .coach-login-visual-content > p {
    font-size: 0.88rem;
  }

  .coach-login-route {
    gap: 4px;
    margin-top: 22px;
    padding: 7px;
  }

  .coach-login-route-step {
    padding: 8px 2px;
    font-size: 0.59rem;
  }

  .coach-login-route-step span {
    width: 25px;
    height: 25px;
  }

  .coach-login-visual-note {
    margin-top: 22px;
  }

  .coach-login-card {
    min-height: auto;
    padding: 30px 22px;
  }

  .coach-login-card-head {
    align-items: flex-start;
  }

  .coach-login-lock {
    width: 46px;
    height: 46px;
  }

  .coach-login-footer {
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .coach-brand-logo-frame {
    width: 132px;
    height: 50px;
    padding: 3px 6px;
    border-radius: 11px;
  }
}
