/* Liquiplex Sales Academy — front-end */
.lsa-wrap {
  --lsa-bg: #0b1220;
  --lsa-card: #121a2b;
  --lsa-line: #1e293b;
  --lsa-text: #e5eefc;
  --lsa-muted: #94a3b8;
  --lsa-accent: #38bdf8;
  --lsa-good: #34d399;
  --lsa-warn: #fbbf24;
  --lsa-danger: #f87171;
  --lsa-radius: 14px;
  color: var(--lsa-text);
  background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
  border: 1px solid var(--lsa-line);
  border-radius: 18px;
  padding: 1.25rem 1.25rem 2rem;
  margin: 1rem 0 2rem;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

.lsa-hero {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.lsa-kicker {
  margin: 0 0 0.25rem;
  color: var(--lsa-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  font-weight: 700;
}

.lsa-title {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
  line-height: 1.2;
  color: #fff;
}

.lsa-sub {
  margin: 0;
  color: var(--lsa-muted);
  max-width: 52rem;
}

.lsa-progress-ring {
  min-width: 7.5rem;
  background: var(--lsa-card);
  border: 1px solid var(--lsa-line);
  border-radius: var(--lsa-radius);
  padding: 0.85rem 1rem;
  text-align: center;
}

.lsa-progress-pct {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--lsa-good);
}

.lsa-progress-label {
  font-size: 0.8rem;
  color: var(--lsa-muted);
}

.lsa-compliance {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fde68a;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.lsa-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.lsa-line-step {
  background: var(--lsa-card);
  border: 1px solid var(--lsa-line);
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
  position: relative;
}

.lsa-line-step::after {
  content: "";
  position: absolute;
  right: -0.4rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-top: 2px solid var(--lsa-accent);
  border-right: 2px solid var(--lsa-accent);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.7;
}

.lsa-line-step:last-child::after {
  display: none;
}

.lsa-line-label {
  display: block;
  font-weight: 700;
  font-size: 0.86rem;
  color: #fff;
}

.lsa-line-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--lsa-muted);
  margin-top: 0.15rem;
}

.lsa-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.lsa-nav {
  position: sticky;
  top: 1rem;
  background: var(--lsa-card);
  border: 1px solid var(--lsa-line);
  border-radius: var(--lsa-radius);
  padding: 0.75rem;
}

.lsa-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.lsa-nav-btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  color: var(--lsa-text);
  border-radius: 10px;
  padding: 0.5rem 0.55rem;
  cursor: pointer;
  font: inherit;
}

.lsa-nav-btn:hover {
  border-color: var(--lsa-line);
  background: rgba(56, 189, 248, 0.06);
}

.lsa-nav-btn.is-active {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(56, 189, 248, 0.12);
}

.lsa-nav-btn.is-done .lsa-nav-num {
  background: rgba(52, 211, 153, 0.2);
  color: var(--lsa-good);
}

.lsa-nav-num {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1e293b;
  font-size: 0.75rem;
  font-weight: 700;
}

.lsa-nav-text {
  flex: 1;
  font-size: 0.82rem;
  line-height: 1.3;
}

.lsa-check {
  color: var(--lsa-good);
  font-weight: 800;
}

.lsa-quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--lsa-line);
}

.lsa-main {
  min-width: 0;
}

.lsa-module {
  background: var(--lsa-card);
  border: 1px solid var(--lsa-line);
  border-radius: var(--lsa-radius);
  padding: 1rem 1.1rem 1.25rem;
  margin-bottom: 1rem;
}

.lsa-module[hidden] {
  display: none !important;
}

.lsa-module-head h3 {
  margin: 0.15rem 0 0.35rem;
  color: #fff;
  font-size: 1.25rem;
}

.lsa-line-tag {
  margin: 0;
  color: var(--lsa-accent);
  font-size: 0.92rem;
}

.lsa-video-box {
  margin: 1rem 0;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--lsa-line);
}

.lsa-video {
  display: block;
  width: 100%;
  max-height: 420px;
  background: #000;
}

.lsa-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.lsa-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lsa-video-placeholder {
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--lsa-muted);
}

.lsa-coach-notes {
  background: rgba(56, 189, 248, 0.08);
  border-left: 3px solid var(--lsa-accent);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 0 10px 10px 0;
}

.lsa-goals ul,
.lsa-md ul,
.lsa-md ol {
  margin: 0.4rem 0 0.8rem 1.1rem;
  padding: 0;
}

.lsa-goals h4,
.lsa-script h4,
.lsa-quiz h4,
.lsa-cheat h3 {
  margin: 1rem 0 0.5rem;
  color: #fff;
}

.lsa-md p {
  margin: 0.45rem 0;
  color: #dbe7fb;
}

.lsa-md h4,
.lsa-md h5 {
  margin: 0.9rem 0 0.35rem;
  color: #fff;
}

.lsa-md code,
.lsa-token {
  background: #0b1220;
  border-radius: 4px;
  padding: 0.05rem 0.3rem;
  font-size: 0.9em;
}

.lsa-pre {
  background: #0b1220;
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  overflow: auto;
  font-size: 0.8rem;
  color: var(--lsa-muted);
}

.lsa-quiz-item {
  background: #0b1220;
  border: 1px solid var(--lsa-line);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.4rem;
}

.lsa-quiz-item summary {
  cursor: pointer;
  font-weight: 600;
}

.lsa-module-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--lsa-line);
}

.lsa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.lsa-btn--primary {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff;
}

.lsa-btn--primary:disabled {
  opacity: 0.55;
  cursor: default;
  background: #334155;
}

.lsa-btn--ghost {
  background: transparent;
  border-color: var(--lsa-line);
  color: var(--lsa-text);
}

.lsa-btn--ghost:hover {
  border-color: var(--lsa-accent);
  color: #fff;
}

.lsa-cheat {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--lsa-radius);
  border: 1px dashed rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.65);
}

.lsa-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.lsa-tier-card {
  background: var(--lsa-card);
  border: 1px solid var(--lsa-line);
  border-radius: 12px;
  padding: 0.85rem;
}

.lsa-tier-card h4 {
  margin: 0;
  color: #fff;
}

.lsa-price {
  color: var(--lsa-good);
  font-weight: 800;
  margin: 0.25rem 0 0.5rem;
}

.lsa-tier-card ul {
  margin: 0.5rem 0 0 1rem;
  padding: 0;
  font-size: 0.88rem;
  color: var(--lsa-muted);
}

.lsa-gate {
  padding: 1.25rem;
  border-radius: 12px;
  background: #0f172a;
  border: 1px solid #334155;
  color: #e2e8f0;
}

@media (max-width: 960px) {
  .lsa-layout {
    grid-template-columns: 1fr;
  }
  .lsa-nav {
    position: static;
  }
  .lsa-line {
    grid-template-columns: 1fr 1fr;
  }
  .lsa-line-step::after {
    display: none;
  }
  .lsa-tier-grid {
    grid-template-columns: 1fr;
  }
}

/* Light theme overrides when Saasify body is light */
body.is-style-light .lsa-wrap {
  --lsa-bg: #f8fafc;
  --lsa-card: #ffffff;
  --lsa-line: #e2e8f0;
  --lsa-text: #0f172a;
  --lsa-muted: #64748b;
  background: #f8fafc;
  color: var(--lsa-text);
}

body.is-style-light .lsa-title,
body.is-style-light .lsa-module-head h3,
body.is-style-light .lsa-line-label,
body.is-style-light .lsa-goals h4,
body.is-style-light .lsa-script h4,
body.is-style-light .lsa-md h4,
body.is-style-light .lsa-md h5,
body.is-style-light .lsa-cheat h3,
body.is-style-light .lsa-tier-card h4 {
  color: #0f172a;
}

body.is-style-light .lsa-md p {
  color: #334155;
}

body.is-style-light .lsa-nav-btn {
  color: #0f172a;
}

body.is-style-light .lsa-btn--ghost {
  color: #0f172a;
}


/* ── DEX-style gradient bar + straight-line meter ───────────────────────── */
.lsa-gradient-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9534c6, #0ab4b8);
  margin: 0 0 1rem;
  box-shadow: 0 0 24px rgba(149, 52, 198, 0.35);
}

.lsa-meter {
  --lsa-purple: #9534c6;
  --lsa-teal: #0ab4b8;
  --lsa-soft: #a588e4;
  --lsa-mint: #b7fee0;
  background: var(--lsa-card);
  border: 1px solid var(--lsa-line);
  border-radius: var(--lsa-radius);
  padding: 0.9rem 1rem 1rem;
  margin-bottom: 1.15rem;
}

.lsa-meter-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
}

.lsa-meter-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.lsa-meter-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--lsa-teal);
  box-shadow: 0 0 0 4px rgba(10, 180, 184, 0.2);
  flex-shrink: 0;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.lsa-meter.is-offline .lsa-meter-dot {
  background: #c026d3;
  box-shadow: 0 0 0 4px rgba(192, 38, 211, 0.25);
  animation: lsa-pulse 1.2s ease-in-out infinite;
}

@keyframes lsa-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.75; }
}

.lsa-meter-state {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
  color: var(--lsa-teal);
}

.lsa-meter.is-offline .lsa-meter-state {
  color: #e879f9;
}

.lsa-meter-stage {
  color: var(--lsa-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.lsa-meter-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lsa-meter-hint {
  font-size: 0.75rem;
  color: var(--lsa-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lsa-btn--sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
}

.lsa-meter-track {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: #0b1220;
  border: 1px solid var(--lsa-line);
  overflow: hidden;
}

.lsa-meter-fill {
  height: 100%;
  width: 20%;
  border-radius: 999px;
  background: linear-gradient(90deg, #9534c6 0%, #a588e4 42%, #0ab4b8 100%);
  box-shadow: 0 0 18px rgba(10, 180, 184, 0.45);
  transition: width 0.35s ease, filter 0.25s ease, opacity 0.25s ease;
}

.lsa-meter.is-offline .lsa-meter-fill {
  background: linear-gradient(90deg, #6b21a8 0%, #9333ea 50%, #c026d3 100%);
  box-shadow: 0 0 16px rgba(192, 38, 211, 0.4);
  filter: saturate(0.85);
}

.lsa-meter-stages {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.lsa-meter-chip {
  text-align: left;
  background: #0b1220;
  border: 1px solid var(--lsa-line);
  border-radius: 12px;
  padding: 0.55rem 0.55rem 0.6rem;
  color: var(--lsa-text);
  cursor: pointer;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.lsa-meter-chip:hover {
  border-color: rgba(165, 136, 228, 0.7);
  box-shadow: 0 0 0 1px rgba(165, 136, 228, 0.25);
}

.lsa-meter-chip.is-current {
  border-color: transparent;
  background:
    linear-gradient(#0b1220, #0b1220) padding-box,
    linear-gradient(135deg, #a588e4, #0ab4b8) border-box;
  border: 2px solid transparent;
  box-shadow: 0 0 28px rgba(165, 136, 228, 0.28);
}

.lsa-meter-chip.is-done {
  border-color: rgba(10, 180, 184, 0.45);
}

.lsa-meter-chip.is-done .lsa-meter-chip-label::after {
  content: " ✓";
  color: var(--lsa-teal);
}

.lsa-meter-chip-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
}

.lsa-meter-chip-desc {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--lsa-muted);
  line-height: 1.25;
}

.lsa-meter-help {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  color: var(--lsa-muted);
}

.lsa-line-step.is-current {
  border-color: transparent;
  background:
    linear-gradient(var(--lsa-card), var(--lsa-card)) padding-box,
    linear-gradient(135deg, #a588e4, #0ab4b8) border-box;
  border: 2px solid transparent;
  box-shadow: 0 0 22px rgba(10, 180, 184, 0.18);
}

.lsa-line-step.is-done {
  border-color: rgba(10, 180, 184, 0.4);
}

.lsa-line-step.is-done .lsa-line-label {
  color: #5eead4;
}

@media (max-width: 960px) {
  .lsa-meter-stages {
    grid-template-columns: 1fr 1fr;
  }
}

body.is-style-light .lsa-meter-track,
body.is-style-light .lsa-meter-chip {
  background: #f1f5f9;
}

body.is-style-light .lsa-meter-chip-label,
body.is-style-light .lsa-line-step.is-done .lsa-line-label {
  color: #0f172a;
}

body.is-style-light .lsa-meter-chip.is-current {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #a588e4, #0ab4b8) border-box;
}


.lsa-source-note {
  background: rgba(149, 52, 198, 0.12);
  border: 1px solid rgba(149, 52, 198, 0.35);
  border-left: 3px solid #9534c6;
  border-radius: 0 10px 10px 0;
  padding: 0.75rem 1rem;
  margin: 0.75rem 0 1rem;
}
.lsa-source-note strong { color: #e9d5ff; display: block; margin-bottom: 0.35rem; }
.lsa-source-hint { font-size: 0.8rem; color: var(--lsa-muted); margin: 0.5rem 0 0; }
body.is-style-light .lsa-source-note strong { color: #6b21a8; }


/* ── Live call Yes / No / Maybe board ───────────────────────────────────── */
.lsa-callboard {
  --lsa-purple: #9534c6;
  --lsa-teal: #0ab4b8;
  background: var(--lsa-card);
  border: 1px solid var(--lsa-line);
  border-radius: var(--lsa-radius);
  padding: 1rem 1.1rem 1.15rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 0 0 1px rgba(149, 52, 198, 0.12), 0 12px 40px rgba(0, 0, 0, 0.18);
}

.lsa-callboard.is-offline {
  border-color: rgba(192, 38, 211, 0.45);
}

.lsa-callboard.is-terminal {
  border-color: rgba(10, 180, 184, 0.45);
}

.lsa-callboard-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.lsa-callboard-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lsa-muted);
  font-weight: 700;
}

.lsa-callboard-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--lsa-text);
  line-height: 1.25;
}

.lsa-callboard-tools {
  display: flex;
  gap: 0.4rem;
}

.lsa-callboard-say {
  background: #0b1220;
  border: 1px solid var(--lsa-line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
}

.lsa-callboard-say-label {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lsa-teal);
}

.lsa-callboard-say-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--lsa-text);
  white-space: pre-wrap;
}

.lsa-callboard-prompt {
  margin: 0 0 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--lsa-soft, #a588e4);
}

.lsa-callboard-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.lsa-ynm {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  text-align: left;
  border-radius: 14px;
  border: 1px solid var(--lsa-line);
  background: #0b1220;
  color: var(--lsa-text);
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  font: inherit;
}

.lsa-ynm:hover,
.lsa-ynm:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.lsa-ynm-key {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.lsa-ynm-sub {
  font-size: 0.72rem;
  color: var(--lsa-muted);
  line-height: 1.3;
}

.lsa-ynm--yes {
  border-color: rgba(10, 180, 184, 0.55);
  box-shadow: inset 0 0 0 1px rgba(10, 180, 184, 0.12);
}
.lsa-ynm--yes:hover,
.lsa-ynm--yes:focus-visible {
  box-shadow: 0 0 0 3px rgba(10, 180, 184, 0.22);
  border-color: var(--lsa-teal);
}
.lsa-ynm--yes .lsa-ynm-key { color: var(--lsa-teal); }

.lsa-ynm--no {
  border-color: rgba(244, 63, 94, 0.45);
}
.lsa-ynm--no:hover,
.lsa-ynm--no:focus-visible {
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.18);
  border-color: #fb7185;
}
.lsa-ynm--no .lsa-ynm-key { color: #fb7185; }

.lsa-ynm--maybe {
  border-color: rgba(149, 52, 198, 0.55);
}
.lsa-ynm--maybe:hover,
.lsa-ynm--maybe:focus-visible {
  box-shadow: 0 0 0 3px rgba(149, 52, 198, 0.22);
  border-color: var(--lsa-purple);
}
.lsa-ynm--maybe .lsa-ynm-key { color: #c084fc; }

.lsa-callboard-note {
  min-height: 1.25rem;
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  color: var(--lsa-muted);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.lsa-callboard-note.is-visible {
  opacity: 1;
  color: var(--lsa-mint, #b7fee0);
}

.lsa-callboard-trail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.lsa-callboard-trail li {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--lsa-muted);
  background: #0b1220;
  border: 1px solid var(--lsa-line);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  max-width: 100%;
}
.lsa-callboard-trail li.is-current {
  color: var(--lsa-teal);
  border-color: rgba(10, 180, 184, 0.45);
}
.lsa-callboard-trail li:not(:last-child)::after {
  content: none;
}

body.is-style-light .lsa-callboard-say,
body.is-style-light .lsa-ynm,
body.is-style-light .lsa-callboard-trail li {
  background: #f8fafc;
}

@media (max-width: 720px) {
  .lsa-callboard-actions {
    grid-template-columns: 1fr;
  }
}


/* ── Plex Sales Coach ───────────────────────────────────────────────────── */
.lsa-plex-coach {
  background: var(--lsa-card);
  border: 1px solid rgba(10, 180, 184, 0.35);
  border-radius: var(--lsa-radius);
  padding: 1rem 1.1rem 1.15rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 0 0 1px rgba(10, 180, 184, 0.08), 0 12px 40px rgba(0, 0, 0, 0.16);
}
.lsa-plex-coach-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.lsa-plex-coach-sub {
  margin: 0.35rem 0 0;
  color: var(--lsa-muted);
  font-size: 0.9rem;
  max-width: 52rem;
  line-height: 1.45;
}
.lsa-plex-coach-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0ab4b8;
  border: 1px solid rgba(10, 180, 184, 0.45);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  background: rgba(10, 180, 184, 0.08);
}
.lsa-plex-coach-log {
  background: #0b1220;
  border: 1px solid var(--lsa-line);
  border-radius: 14px;
  min-height: 160px;
  max-height: 340px;
  overflow-y: auto;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.lsa-plex-msg-role {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lsa-muted);
  margin-bottom: 0.2rem;
}
.lsa-plex-msg--assistant .lsa-plex-msg-role { color: #0ab4b8; }
.lsa-plex-msg--user .lsa-plex-msg-role { color: #c084fc; }
.lsa-plex-msg-body {
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: pre-wrap;
  color: var(--lsa-text);
}
.lsa-plex-input {
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid var(--lsa-line);
  background: #0b1220;
  color: var(--lsa-text);
  padding: 0.7rem 0.85rem;
  font: inherit;
  resize: vertical;
  margin-bottom: 0.55rem;
}
.lsa-plex-input:focus {
  outline: none;
  border-color: rgba(10, 180, 184, 0.55);
  box-shadow: 0 0 0 3px rgba(10, 180, 184, 0.15);
}
.lsa-plex-coach-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.lsa-btn--primary {
  background: linear-gradient(90deg, #9534c6, #0ab4b8);
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
}
.lsa-btn--primary:disabled {
  opacity: 0.65;
  cursor: wait;
}
.lsa-plex-coach-foot {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  color: var(--lsa-muted);
}
body.is-style-light .lsa-plex-coach-log,
body.is-style-light .lsa-plex-input {
  background: #f8fafc;
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
